/* -----------------------------------
   Animasi Judul dan Langkah Alur
----------------------------------- */
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alur-title {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUpFade 0.6s ease-out forwards;
  animation-delay: 0.1s;
  text-align: center;
  font-weight: 700;
  font-size: 35px;
  margin-bottom: 4rem;
}

.alur-step {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUpFade 0.6s ease-out forwards;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
}

/* Delay agar muncul satu per satu */
.alur-step:nth-child(1) { animation-delay: 0.2s; }
.alur-step:nth-child(2) { animation-delay: 0.4s; }
.alur-step:nth-child(3) { animation-delay: 0.6s; }
.alur-step:nth-child(4) { animation-delay: 0.8s; }
.alur-step:nth-child(5) { animation-delay: 1s; }
.alur-step:nth-child(6) { animation-delay: 1.2s; }
.alur-step:nth-child(7) { animation-delay: 1.4s; }
.alur-step:nth-child(8) { animation-delay: 1.6s; }

.alur-container {
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 1rem;
}

.alur-steps {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.alur-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background-color: #0D3B70;
  flex-shrink: 0;
}

.alur-text {
  font-weight: 700;
  font-size: 22px;
  text-align: left;
  width: 100%;
}

.custom-font {
  font-family: 'Poppins', sans-serif;
}

/* -----------------------------------
   Checklist Section
----------------------------------- */
.checklist-section {
  background-color: #0D3B70;
  margin-top: 5rem;
}

.checklist-section h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0 auto;
  max-width: 22rem;
  min-height: 3.5rem;
}

.checklist-icon {
  flex-shrink: 0;
  width: 2.8rem;
  height: 2.8rem;
  background-color: white;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checklist-text {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 16rem;
  margin: 0;
  line-height: 1.2;
}

.checklist-text p {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

/* -----------------------------------
   Tombol Scroll ke Atas
----------------------------------- */
#scrollToTopBtn {
  display: none;
  position: fixed;
  bottom: 40px;
  left: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: white;
  color: #333333;
  cursor: pointer;
  padding: 14px 18px;
  border-radius: 50%;
  font-size: 18px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease;
}

#scrollToTopBtn:hover {
  background-color: #d1d5db;
}

/* -----------------------------------
   Form Konsultasi Styles
----------------------------------- */
:root {
  --navy: #0D3B70;
  --light-slate: #333333;
  --green: #10b490;
  --transition: all 0.3s ease;
}

.form-container {
  background-color: #0D3B70;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 40px 20px;
  width: 100%;
  box-sizing: border-box;
}

.form-container > form {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  margin-top: 60px;
}

.form-container h1 {
  text-align: center;
  color: var(--navy);
  margin-bottom: 25px;
  font-size: 2em;
}

.form-section {
  margin-bottom: 25px;
}

.form-container label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333333;
}

.required-label::after {
  content: " *";
  color: #e74c3c;
  margin-left: 4px;
}

.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="number"],
.form-container textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--light-slate);
  border-radius: 5px;
  font-size: 1em;
  color: #333333;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.form-container input[type="number"]::-webkit-outer-spin-button,
.form-container input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.form-container input[type="text"]:focus,
.form-container input[type="email"]:focus,
.form-container input[type="number"]:focus,
.form-container textarea:focus {
  border-color: #333333;
  outline: none;
  box-shadow: 0 0 0 3px rgba(16, 180, 144, 0.25);
}

.form-container textarea {
  resize: vertical;
  min-height: 100px;
}

.radio-group,
.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  gap: 10px;
}

.radio-group input[type="radio"],
.checkbox-group input[type="checkbox"] {
  margin: 0;
}

.whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px 20px;
  background-color: var(--green);
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  gap: 10px;
  text-decoration: none;
}

.whatsapp-button:hover {
  background-color: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(16, 180, 144, 0.3);
}

.whatsapp-button i {
  font-size: 1.3em;
}

@media (max-width: 768px) {
  .alur-title,
  .checklist-section h1 {
    font-size: 24px;
    padding: 0 1rem;
  }

  .alur-container,
  .alur-steps,
  .checklist-item {
    max-width: 100%;
    padding: 0 1rem;
    box-sizing: border-box; 
  }

  /* Bagian Alur */
  .alur-title {
    margin-bottom: 2rem;
  }

  .alur-container {
    padding: 2rem 1rem;
  }

  .alur-steps {
    gap: 2rem;
  }

  .alur-step {
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
  }

  .alur-icon {
    width: 2.2rem;
    height: 2.2rem;
  }

  .alur-text {
    font-size: 16px;
    text-align: left;
    width: auto;
  }

  /* Bagian Checklist */
  .checklist-item {
    gap: 1rem;
    margin-top: -30px;
  }

  .checklist-icon {
    width: 2.2rem;
    height: 2.2rem
  }

  .checklist-text p {
    font-size: 16px;
    white-space: normal;
  }

  .bg-white h1 {
    font-size: 20px !important;  
    padding: 0 1px;              
  }

  /* Bagian Form */
  .form-container {
    max-width: 100%;
    padding: 0 rem;
    min-height: auto;
  }

  .form-container > form {
    padding: 20px;
    max-width: 100%;
    margin-top: 30px;
  }

  .form-container h1 {
    font-size: 0.8em;
  }

  .form-container input,
  .form-container textarea {
    font-size: 0.8em;
    padding: 10px 12px;
  }
  
  .form-container input::placeholder,
  .form-container textarea::placeholder {
    font-size: 0.8em;
  }

  .form-container label {
    font-size: 0.6em; 
    margin-top: 8px;    
  }

  .checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px; 
}

 .radio-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.whatsapp-button {
    font-size: 0.8rem;
  }

  /* Tombol Scroll to Top */
  #scrollToTopBtn {
    bottom: 19px;
    right: 15px;
    left: auto;
    padding: 10px 14px;
    font-size: 16px;
  }

  .info-item img {
    width: 16px;  
    height: 16px; 
    margin-left: 0.125rem; 
    margin-right: 0.25rem; 
  }

  .info-item a {
    font-size: 0.80rem; 
  }

  .mt-20 {
    margin-top: 50px !important;
    margin-bottom: 20px;
  }
  }