/* ========== PROSES FULL SECTION ========== */
.proses-full {
  padding: 4rem 0 5rem;
  background-color: #ffffff;
  position: relative;
}

.proses-full .container {
  max-width: 900px;
  padding: 0 1rem;
}

/* Langkah Proses - Atur Z-Index Kontainer */
.proses-step {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
  padding-left: 1.5rem;
  /* Tambahkan z-index 0 agar garis berada di dalam kontainer ini */
  z-index: 0;
}

/* Garis penghubung antar langkah - Pindahkan ke Belakang Semua Elemen */
.proses-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 36px;
  top: 70px;
  height: calc(100% + 3rem);
  width: 2px;
  background-color: var(--color-primary-light);
  /* Turunkan z-index menjadi -1 agar berada di belakang semua elemen dalam .proses-step */
  z-index: -1;
  /* Sesuaikan posisi agar tidak menyentuh kartu */
  left: calc(36px - 1px); /* Sesuaikan agar tepat di tengah nomor */
}

.proses-step-number {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.2);
  position: relative;
  /* Z-index tetap 2 agar berada di atas garis */
  z-index: 2;
}

.proses-step-content {
  flex-grow: 1;
  background-color: var(--color-gray-light);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  /* Tambahkan z-index 1 agar kartu berada di atas garis */
  position: relative;
  z-index: 1;
}

.proses-step-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.proses-step-content h3::before {
  content: '';
  width: 4px;
  height: 20px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

.proses-step-content p {
  font-size: 1rem;
  color: var(--color-gray-dark);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.proses-step-content p:last-child {
  margin-bottom: 0;
}

.proses-step-note {
  margin-top: 1.2rem;
  padding: 1rem;
  background-color: #ffffff;
  border-left: 3px solid var(--color-primary);
  border-radius: 4px;
  font-size: 0.95rem;
  color: var(--color-dark);
}


/* ========== FAQ SECTION ========== */
.faq {
  padding: 4rem 0 5rem;
  background-color: var(--color-gray-light);
  text-align: center;
}

.faq .section-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.faq .section-subtitle {
  font-size: 1rem;
  color: var(--color-gray-dark);
  max-width: 700px;
  margin: 0 auto 3rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background-color: transparent;
  border: none;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color var(--transition-base);
}

.faq-question:hover {
  background-color: rgba(var(--color-primary-rgb), 0.05);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 2rem;
  color: var(--color-gray-dark);
  line-height: 1.7;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
  max-height: 200px;
  padding: 0 2rem 1.5rem;
}


/* ========== RESPONSIVE BREAKPOINTS ========== */
@media (min-width: 768px) {
  .proses-full {
    padding: 5rem 0 6rem;
  }

  .proses-step {
    gap: 2.5rem;
    margin-bottom: 4rem;
  }

  .proses-step-number {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
  }

  .proses-step-content {
    padding: 2.5rem;
  }

  .proses-step-content h3 {
    font-size: 1.8rem;
  }

  .faq {
    padding: 5rem 0 6rem;
  }

  .faq .section-title {
    font-size: 2.5rem;
  }

  .faq-grid {
    gap: 1.5rem;
  }

  .faq-question {
    font-size: 1.15rem;
    padding: 1.8rem 2.5rem;
  }

  .faq-answer.active {
    padding: 0 2.5rem 1.8rem;
  }
}

@media (max-width: 576px) {
  .proses-step {
    flex-direction: column;
    gap: 1rem;
    padding-left: 0;
    align-items: center;
    text-align: center;
  }

  .proses-step:not(:last-child)::after {
    left: 50%;
    top: 70px;
    height: calc(100% + 2rem);
    transform: translateX(-50%);
    /* Tetap di belakang di mobile */
    z-index: -1;
  }

  .proses-step-content h3 {
    justify-content: center;
  }

  .proses-step-content h3::before {
    display: none;
  }

  .proses-step-note {
    text-align: left;
  }

  .faq .section-title {
    font-size: 1.8rem;
  }

  .faq-question {
    font-size: 1rem;
    padding: 1.2rem 1.5rem;
  }

  .faq-answer {
    padding: 0 1.5rem;
  }

  .faq-answer.active {
    padding: 0 1.5rem 1.2rem;
  }
}

@media (max-width: 360px) {
  .proses-step-number {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }

  .proses-step-content {
    padding: 1.5rem;
  }

  .proses-step-content h3 {
    font-size: 1.3rem;
  }
}
