:root {
  --orange: #F37021;
  --dark-orange: #d85c1c;
  --navy: #0d1b2a;
  --gray: #f8f9fa;
  --text-dark: #212529;
  --font: 'Poppins', sans-serif;
}

body {
  font-family: var(--font);
  background-color: #fff;
  color: var(--text-dark);
  line-height: 1.7;
}

img {
  max-width: 100%;
}

.main-navbar {
  /* Properti untuk membuat navbar tetap di atas */
  position: fixed; 
  top: 0; 
  left: 0;
  width: 100%;
  z-index: 1020; /* Nilai tinggi agar navbar selalu di atas konten lain */
  
  /* Properti yang sudah ada */
  background: #fff;
  padding: 0.75rem 0; 
  border-bottom: 1px solid #eaeaea;
}

.navbar-container {
  max-width: 1200px; 
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%; 
  height: 100%;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  background-color: #F37021;
  color: #fff; 
  border-radius: 10px;
  width: 45px; 
  height: 45px; 
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu .close-btn {
  display: none;
}

.nav-menu .menu-item {
  color: var(--text-dark);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex; 
  align-items: center;
  gap: 0.5rem; 
}

.nav-menu .menu-item i {
  display: none;
}

.nav-menu .menu-item:hover,
.nav-menu .menu-item.active {
  color: #F37021;
}

@media (max-width: 991.98px) {
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 180px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    transition: right 0.35s ease-in-out;
    z-index: 10000;
    padding: 0;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu .close-btn {
    display: flex; 
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    background: #F37021;
    color: #fff;
    border-radius: 10px;
    width: 35px;
    height: 35px;
    border: none;
    align-self: flex-start;
    margin: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .nav-menu .menu-item {
    width: 100%; 
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0; 
    justify-content: space-between;
  }
  
  .nav-menu .menu-item:first-of-type {
    border-top: 1px solid #f0f0f0;
  }

  .nav-menu .menu-item:last-child {
    border-bottom: none;
  }
  
  .nav-menu .menu-item i {
    display: inline-block;
    font-size: 1.1rem;
    color: #ccc;
  }
  
  .nav-menu .menu-item:hover {
      color: #F37021;
  }
  .nav-menu .menu-item:hover i {
      color: #F37021;
  }

  .nav-menu .menu-item.active {
    color: #F37021;
    font-weight: 600;     
    border-bottom: 3px solid #F37021; 
    padding-bottom: calc(1rem - 3px); 
  }
  
  .nav-menu .menu-item.active i {
      color: #F37021;
  }
}

.hero-section {
  padding: 5rem 0 4rem;
  background: #fff;
}

.hero-title {
  color: #FD5702;
  font-weight: 700;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-text {
  color: #333333;
  font-size: 1rem;
  max-width: 550px;
}

.form-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.form-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.section-lengkung {
  padding: 60px 20px;
  background: #fff;
  border-top-left-radius: 90px;
  border-top-right-radius: 90px;
  margin-top: -40px; 
  box-shadow: 0 -10px 15px rgba(0, 0, 0, 0.03); 
  position: relative;
  z-index: 5;
}

.layanan-kartu {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  height: 100%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06); 
  transition: all 0.3s ease;
}

.layanan-kartu:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.layanan-logo {
  height: 70px;
  margin-bottom: 1.5rem;
}

.layanan-judul {
  font-weight: 700;
  font-size: 1.25rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.layanan-deskripsi {
  font-size: 0.95rem;
  color: #6c757d;
  min-height: 55px;
  margin-bottom: 1.5rem;
}

.btn-kuning {
  background-color: #ffc107;
  color: #212529;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.8rem;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-kuning:hover {
  background-color: #e6b82b;
  box-shadow: 0 4px 10px rgba(254, 207, 51, 0.4);
}

.section-title {
  font-weight:  700;
  color: #FD5702;
}

.section-desc {
  color: #6c757d;
}

.form-subtitle {
  font-weight: 600;
  color: #FD5702;
}

.form-control {
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  background-color: var(--gray);
  padding: 0.9rem 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #F37021;
  box-shadow: 0 0 0 0.25rem rgba(243, 112, 33, 0.25);
  background-color: #fff;
}

.btn-orange {
  background: #FD5702;
  color: #fff;
  font-weight: 600;
  padding: 0.9rem 2.2rem;
  border: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-orange:hover {
  background: #F37021;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(243, 112, 33, 0.25);
}

.contact {
  background-color: #fff;
}

.contact-img {
  width: 80%;
  max-width: 320px;
}

.main-footer {
  background: #fd5702;
  color: #fff;
  padding: 50px 20px 20px;
  margin-top: 4rem;
  font-family: 'Poppins', sans-serif;
  line-height: 1.7;
}

.footer-logo {
  height: 45px;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}

.footer-about {
  color: rgb(255, 255, 255);
  font-size: 0.95rem;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
  color: #fff;
}

.footer-links {
  padding-left: 0;
}
.footer-links li {
  margin-bottom: 0.75rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-contact-list {
  padding-left: 0;
  color: rgba(255, 255, 255, 0.9);
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.footer-contact-list i {
  font-size: 1.1rem;
  margin-right: 12px;
  margin-top: 5px;
  width: 20px;
  text-align: center;
}
.footer-contact-list span {
  flex: 1;
}

.social-links a {
  color: #fff;
  font-size: 1.1rem;
  margin-right: 1rem;
  transition: all 0.3s ease;
  opacity: 0.8;
}
.social-links a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-divider {
  border: 0;
  border-top: 1px solid rgb(255, 255, 255);
  margin: 2.5rem 0 1.5rem 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-copyright {
  margin: 0;
  font-size: 0.9rem;
  color: rgb(255, 255, 255);
}

.footer-legal-links a {
  color: rgb(255, 255, 255);
  font-size: 0.9rem;
  text-decoration: none;
  margin-left: 1.5rem;
}
.footer-legal-links a:hover {
  color: #fff;
  text-decoration: underline;
}
.form-footer {
    display: flex;         
    align-items: center; 
    justify-content: flex-end; 
    gap: 20px;           
    flex-wrap: wrap;     
}
.parent-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.captcha-wrapper {
    transform: scale(0.85);
    transform-origin: top left;
}
.kirim-data-btn {
    margin-top: 0;
    margin-bottom: 0;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .form-card {
    padding: 1.8rem;
  }

  .btn-orange {
    width: 100%;
  }
}

@media (min-width: 426px) {
    .hero-section {
        margin-top: 40px;
    }
}

/* CSS Tambahan untuk Responsivitas hCaptcha */
.form-footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.captcha-wrapper {
    margin-top: 15px;
}

@media (max-width: 767px) {
    
    .form-footer-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .captcha-container, .captcha-wrapper {
        display: inline-block;
        transform-origin: 0 0;
        transform: scale(0.9);
        margin-top: 10px;
        margin-bottom: 5px;
        margin-left: 0; 
    }
    .captcha-wrapper.mb-3 {
        margin-bottom: 5px !important;
    }
    .kirim-data-btn {
        margin-top: 10px;
    }
}