:root {
  --va-primary: #3ac45d;
  --va-green: #99cc33;
  --va-light: #ffffff;
  --va-dark: #1a1a1a;
}

body {
  color: rgb(0 0 0);
}

.edupay-section {
  display: block;
  padding: 30px 0;
  scroll-margin-top: 80px;
  overflow: clip;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.bg-va-hero {
  width: 100%;
  min-height: 100vh;
  padding: 120px 0 60px 0;
  align-items: center;
  background: url(images/bg-hero.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  opacity: 1;
  position: absolute;
  overflow: hidden;
  z-index: -1;
}

.bg-va-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.section-header {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-top: 0px !important;
  margin-bottom: 0px !important;
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}

.section-header .logo {
  max-width: 200px;
}

.section-header .hp {
  max-width: 800px;
}

.section-header h1 {
  color: var(--va-primary);
  text-shadow: 2px 2px #2e2e2e;
}

.section-about .card {
  z-index: 1;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25) !important;
}

.section-about .effect {
  position: relative;
  display: inline-block;
}

.section-about .effect::after {
  content: "";
  position: absolute;
  top: 44%;
  left: 20%;
  transform: translate(-50%, -50%);
  z-index: 0;
  width: 50%;
  height: 50%;
  border-radius: 50%;
  background-color: var(--va-primary);
  box-shadow: 0 0 60px 60px var(--va-primary);
  opacity: 0.2;
}

.section-about .va-card-header {
  background-color: var(--va-primary);
  color: #ffffff;
}

.edupay-diagram-container {
  position: relative;
  min-height: 400px; /* Berikan tinggi minimum */
  margin: 0 auto;
  padding: 20px 0;
}

.edupay-lightbulb-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg) !important; /* Pastikan rotasi 0 */
  z-index: 10;
  width: 150px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.edupay-bulb-icon {
  height: 150px;
  width: auto; /* Lebar otomatis sesuai aspek rasio */
  max-width: 100%;
  object-fit: contain;
  transform: rotate(0deg); /* Pastikan tidak ada rotasi */
}

.edupay-feature-box {
  position: relative;
  padding: 1rem 2rem;
  margin: 1.5rem 0;
  min-height: 120px;
  line-height: 1.5;
  z-index: 1;
}

.edupay-line-d,
.edupay-line-h,
.edupay-dot {
  position: absolute;
  background-color: var(--va-primary);
  z-index: 5;
}

@media (min-width: 992px) {
  .edupay-line-h {
    top: 50%;
    width: 50px;
    height: 3px;
    margin-top: -1px;
  }

  .edupay-feature-top-right .edupay-line-h,
  .edupay-feature-bottom-right .edupay-line-h {
    left: -30px;
  }

  .edupay-feature-top-left .edupay-line-h,
  .edupay-feature-bottom-left .edupay-line-h {
    right: -30px;
  }

  .edupay-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    top: 50%;
    margin-top: -4px;
  }

  .edupay-feature-top-right .edupay-dot,
  .edupay-feature-bottom-right .edupay-dot {
    left: 15px;
  }

  .edupay-feature-top-left .edupay-dot,
  .edupay-feature-bottom-left .edupay-dot {
    right: 15px;
  }

  .edupay-line-d {
    width: 51px;
    height: 3px;
  }

  .edupay-feature-top-right .edupay-line-d {
    left: -80px;
    top: 50%;
    transform: rotate(-55deg);
    transform-origin: 100% 50%;
  }

  .edupay-feature-top-left .edupay-line-d {
    right: -80px;
    top: 50%;
    transform: rotate(55deg);
    transform-origin: 0% 50%;
  }

  .edupay-feature-bottom-right .edupay-line-d {
    left: -80px;
    top: 50%;
    transform: rotate(55deg);
    transform-origin: 100% 50%;
  }

  .edupay-feature-bottom-left .edupay-line-d {
    right: -80px;
    top: 50%;
    transform: rotate(-55deg);
    transform-origin: 0% 50%;
  }
}

@media (max-width: 991.98px) {
  .edupay-line-d,
  .edupay-line-h,
  .edupay-dot {
    display: none;
  }

  .edupay-diagram-container {
    min-height: 0;
  }

  .edupay-lightbulb-center {
    position: static;
    transform: none;
    margin-bottom: 20px;
  }
}

.section-function .effect {
  position: relative;
  display: inline-block;
}

.section-function .effect::after {
  content: "";
  position: absolute;
  top: 14%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  width: 20%;
  height: 20%;
  border-radius: 50%;
  background-color: #1ae51a6c;
  box-shadow: 0 0 120px 90px #1ae51a8c;
  opacity: 0.2;
}

.section-function .feature-icon {
  width: 100px;
  height: 100px;
  color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  transform: translateX(-50%);
}

.section-function .amazing-features-row {
  margin-top: 40px;
  margin-bottom: 40px;
}

.section-function .feature-icon-wrapper-minimal {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.section-function .section-title {
  text-align: center;
  color: #4caf50;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 50px;
  margin-top: 50px;
}

.section-function .title {
  color: var(--va-primary);
}

.section-benefit .bg-fitur {
  background: linear-gradient(135deg, #ebebeb, var(--va-primary));
  border-radius: 25px;
}

.section-benefit .card {
  position: relative;
  border-radius: 1.2rem;
}

.section-benefit .card .feature-icon {
  width: 100px;
  height: 100px;
  position: absolute;
  top: -50px;
  left: 50%;
  background: var(--va-green);
  color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s ease;
  flex-shrink: 0;
  transform: translateX(-50%);
}

.section-benefit .card .card-body {
  align-items: center;
  color: var(--va-primary);
  border-radius: 35px;
}

.section-benefit img {
  max-height: 350px;
}

.section-benefit h4 {
  color: var(--va-primary);
}

.edupay-manfaat .title {
  color: var(--va-primary);
}

.edupay-manfaat .card-title {
  display: block;
  line-height: 1.5;
  color: #fff;
  background-color: #3ac45d;
  border-color: #3ac45d;
  margin: 0.25rem 0.125rem;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.5rem;
  width: 200px;
}

.edupay-manfaat .edupay-manfaat-card {
  border: none;
  background: transparent;
}

.edupay-manfaat .global-card {
  background-color: white;
}

.edupay-manfaat .effect {
  position: relative;
  display: inline-block;
}

.edupay-manfaat .effect::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 80%;
  transform: translate(-50%, -50%);
  z-index: -1;
  width: 300px;
  height: 200px;
  border-radius: 50%;
  background-color: var(--va-primary);
  box-shadow: 0 0 60px 60px var(--va-primary);
  opacity: 0.2;
}

.edupay-manfaat .effect2 {
  position: relative;
  display: inline-block;
}

.edupay-manfaat .effect2::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 20%;
  transform: translate(-50%, -50%);
  z-index: -1;
  width: 300px;
  height: 200px;
  border-radius: 50%;
  background-color: var(--va-green);
  box-shadow: 0 0 60px 60px var(--va-green);
  opacity: 0.2;
}

.section-type .title {
  color: var(--va-primary);
}

.section-type .card,
.section-type .card-header {
  border: none;
  z-index: 1;
}

.section-type .card-header {
  background: linear-gradient(to right, #ffffffde 0%, var(--va-green) 100%);
  border-radius: 15px;
}

.section-type .effect {
  position: relative;
  display: inline-block;
}

.section-type .effect::after {
  content: "";
  position: absolute;
  top: 14%;
  left: 70%;
  transform: translate(-50%, -50%);
  z-index: -1;
  width: 50%;
  height: 20%;
  border-radius: 50%;
  background-color: var(--va-primary);
  box-shadow: 0 0 60px 60px var(--va-primary);
  opacity: 0.2;
}

.section-type .card-body p {
  margin-right: 3rem;
  margin-left: 3rem;
}

.section-nomor {
}

.section-nomor .title {
  color: var(--va-primary);
}

.section-nomor .card,
.section-nomor .card-header {
  border: none;
  z-index: 1;
}

.section-nomor .card-header {
  background: transparent;
  border-radius: 15px;
}

.section-nomor .effect {
  position: relative;
  display: inline-block;
}

.section-nomor .effect::after {
  content: "";
  position: absolute;
  top: 24%;
  left: 40%;
  transform: translate(-50%, -50%);
  z-index: -1;
  width: 50%;
  height: 20%;
  border-radius: 50%;
  background-color: var(--va-green);
  box-shadow: 0 0 60px 60px var(--va-green);
  opacity: 0.2;
}

.section-nomor .effect2 {
  position: relative;
  display: inline-block;
}

.section-nomor .effect2::after {
  content: "";
  position: absolute;
  top: 24%;
  left: 90%;
  transform: translate(-50%, -50%);
  z-index: -1;
  width: 20%;
  height: 20%;
  border-radius: 50%;
  background-color: var(--va-green);
  box-shadow: 0 0 60px 60px var(--va-green);
  opacity: 0.2;
}

.section-nomor .box {
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #ffffffde;
}

.section-nomor .box.box-effect {
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25) !important;
  border-radius: 10px;
}

.section-nomor .box .green {
  color: var(--va-green);
}

.section-nomor .box .blue {
  color: var(--va-primary);
}

.section-arch {
}

.section-arch .green {
  color: var(--va-green);
}

.section-arch .blue {
  color: var(--va-primary);
}

.section-under-type .blue {
  color: var(--va-primary);
}

.section-under-type .card,
.section-under-type .card-header {
  background: transparent;
  border: none;
  z-index: 1;
}

.section-under-type .card-header .blue {
  background: var(--va-primary);
  border-radius: 15px;
  color: #f9f9f9;
  display: inline-block;
  padding: 0.375rem 3.75rem;
}

.section-under-type .card-header .green {
  background: var(--va-green);
  border-radius: 15px;
  color: #f9f9f9;
  display: inline-block;
  padding: 0.375rem 3.75rem;
}

.transfer-flow-container {
  max-width: 600px;
  border-radius: 8px;
}

.numbered-list-flow {
  counter-reset: flow-step;
  list-style: none;
  padding: 0;
}

.numbered-list-flow li {
  margin-bottom: 15px;
  padding-left: 50px;
  position: relative;
  line-height: 1.6;
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 6px;
  text-align: left;
  padding-left: 50px;
}

.numbered-list-flow li::before {
  counter-increment: flow-step;
  content: counter(flow-step);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 50%;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-left: 10px;
}

.numbered-list-flow.blue li {
  border-left: 4px solid var(--va-primary);
}

.numbered-list-flow.blue li::before {
  background-color: var(--va-primary);
}

.numbered-list-flow.green li {
  border-left: 4px solid var(--va-green);
}

.numbered-list-flow.green li::before {
  background-color: var(--va-green);
}

.va-timeline-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
}

.va-timeline-title {
  text-align: center;
  color: #003366;
  margin-bottom: 40px;
  font-size: 2em;
}

.va-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

.va-timeline::before {
  content: "";
  position: absolute;
  top: 82px;
  bottom: 82px;
  left: 50%;
  width: 2px;
  background: var(--va-primary);
  transform: translateX(-50%);
  width: 3px;
}

.va-timeline-item {
  display: flex;
  position: relative;
  padding: 20px 0;
}

.va-timeline-item::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 2px;
  width: 50%;
  background: var(--va-primary);
  z-index: 1;
  height: 3px;
}

.va-timeline-item:nth-child(odd)::after {
  right: 50%;
  width: 20%;
  margin-right: 22px;
}

.va-timeline-item:nth-child(even)::after {
  left: 50%;
  width: 20%;
  margin-left: 22px;
}

.va-timeline-item:nth-child(odd) {
  padding-right: 55%;
  justify-content: flex-start;
}

.va-timeline-item:nth-child(even) {
  padding-left: 55%;
  justify-content: flex-end;
}

.va-timeline-content {
  width: 100%;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
}

.va-box-blue {
  background-color: var(--va-primary);
  color: white;
}

.va-box-green {
  background-color: #7bb701;
  color: white;
}

.va-timeline-content h2 {
  margin-top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 5px;
  margin-bottom: 10px;
  font-size: 1.2em;
}

.va-timeline-content p,
.va-timeline-content ol {
  margin: 5px 0;
  font-size: 0.9em;
}

.va-timeline-content ol {
  padding-left: 20px;
}

.va-timeline-step {
  width: 40px;
  height: 40px;
  background: var(--va-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  border: 3px solid #fff;
}

/* Note tambahan */
.va-timeline-note {
  position: absolute;
  width: 30%;
  font-size: 0.8em;
  padding: 5px;
  background: #f0f0f0;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-align: center;
  z-index: 4;
}

.va-timeline-item:nth-child(2) .va-timeline-note {
  position: absolute;
  top: 100%;
  right: 15%;
  left: auto;
}

.va-timeline-item:nth-child(odd) .va-timeline-note {
  left: 105%;
  right: auto;
  top: 50%;
  transform: translateY(-50%);
}

/* Mobile */
@media (max-width: 768px) {
  .va-timeline::before {
    left: 30px;
    transform: translateX(0);
  }

  .va-timeline-item {
    justify-content: flex-start;
    padding-left: 80px;
    padding-right: 0;
  }

  .va-timeline-item:nth-child(odd),
  .va-timeline-item:nth-child(even) {
    padding-left: 80px;
    padding-right: 0;
  }

  .va-timeline-content {
    width: 100%;
  }

  .va-timeline-step {
    left: 30px;
    transform: translate(-50%, -50%);
  }

  .va-timeline-item::after {
    content: none;
  }

  .va-timeline-note {
    position: relative;
    width: 60%;
    margin-top: 10px;
    left: 15% !important;
    right: auto !important;
    top: 90% !important;
    transform: none !important;
    text-align: left;
    margin-left: -5px;
  }

  .va-timeline-item::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    width: 50%;
    background: var(--va-primary);
    z-index: 1;
    height: 3px;
  }

  .va-timeline-item:nth-child(odd)::after {
    right: 40%;
    width: 50%;
    margin-right: 22px;
  }

  .va-timeline-item:nth-child(even)::after {
    left: 0%;
    width: 50%;
    margin-left: 22px;
  }
}

.va-list {
  list-style: none;
  padding-left: 0;
}

.va-list li {
  font-size: 16px;
  margin-bottom: 15px;
  position: relative;
  padding-left: 25px;
  line-height: 1.5;
  font-weight: 400;
}

.va-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: var(--va-primary);
  border-radius: 50%;
}

.va-list.top li::before {
  top: 13px !important;
}

.g-6,
.gy-6 {
  --bs-gutter-y: 4rem;
}

.bg-flowchart {
  background: #e1e1e1;
  padding: 30px;
  border-radius: 25px;
}

/* Untuk tampilan mobile */
@media (max-width: 991.98px) {
  .edupay-diagram-container {
    min-height: 300px; /* Kurangi tinggi untuk mobile */
  }

  .edupay-lightbulb-center {
    position: absolute; /* Tetap absolute */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    margin-bottom: 0; /* Hapus margin bottom */
  }

  .edupay-bulb-icon {
    height: 120px; /* Sedikit lebih kecil untuk mobile */
  }

  .edupay-content-row {
    margin-top: 20px;
  }
}
