@media (max-width: 768px) {
  #heroVideo {
    object-fit: contain;
    margin-top: -40px;
    background-color: #0b08a5; /* biar tidak aneh di luar area */
  }
}
@keyframes bounceIn {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}


.video-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0b08a5; /* warna brand utama */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  transition: opacity 0.4s ease;
}

.loader-content {
  text-align: center;
  animation: fadeIn 0.8s ease-in-out;
}

.loader-logo {
  width: 100px;
  height: auto;
  margin-bottom: 15px;
  animation: pulse 2s infinite;
}

#loaderPercent {
  font-size: 18px;
  font-weight: 600;
  color: #FFD700; /* warna kuning brand */
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.85; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.partner-logo {
    filter: brightness(0.95) saturate(1.2);
    transition: transform 0.3s ease, filter 0.3s ease;
}
.partner-logo:hover {
    transform: scale(1.1);
    filter: brightness(1.1) saturate(1.5);
}
footer {
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 10px rgba(255, 255, 255, 0.05);
}



@font-face {
  font-family: 'Batangas';
  src: url('../fonts/Batangas.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}






#preloader {
  position: fixed;
  inset: 0;
  background: #0b08a5;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: 'Segoe UI', sans-serif;
  color: white;
  transition: opacity 0.4s ease;
}

.loader-container {
  text-align: center;
}

.loader-logo {
  width: 100px;
  margin-bottom: 25px;
  animation: pulse 1.5s infinite;
}

.loader-bar {
  width: 280px;
  height: 12px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  overflow: hidden;
}

.loader-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ffe600, #ff9900);
  border-radius: 10px;
  transition: width 0.4s ease;
}

.loader-text {
  margin-top: 10px;
  font-size: 14px;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}








body {
  background-color: #0b08a5 !important;
  color: white;
}


section[id]::before {
  content: "";
  display: block;
  height: 0px;
  margin-top: 50px;
  visibility: hidden;
}

.hero-fullscreen {
  position: relative;
  min-height: 100vh;
  padding-top: 20px; /* Sama dengan tinggi navbar */
  margin: 0;
  overflow: hidden;
}

.hero-slide {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.hero-content {
  max-width: 900px;
}

.card:hover { transform: translateY(-5px); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; } .captcha-box { display: flex; align-items: center; gap: 10px; } 
.container-paket .paket-card { transition: transform 0.3s ease, box-shadow 0.3s ease; border-radius: 12px; overflow: hidden; } .container-paket .paket-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.15); } .paket-icon { animation: floatIcon 2.5s ease-in-out infinite; } @keyframes floatIcon { 0% { transform: translateY(0); } 50% { transform: translateY(-8px); } 100% { transform: translateY(0); } } /* Ribbon */ .ribbon { position: absolute; top: 0.75rem; right: -1.25rem; background: #ff6f00; color: white; padding: 5px 15px; transform: rotate(45deg); font-size: 0.75rem; font-weight: bold; z-index: 1; box-shadow: 0 2px 6px rgba(0,0,0,0.2); } .ribbon-primary { background-color: #062e99; } .ribbon-secondary { background-color: #0071ce; } .ribbon-warning { background-color: #fbc02d; }




#areaList .accordion-button {
    background-color: #0b08a5;
    color: #ffffff;
    font-weight: bold;
}

#areaList .accordion-button:hover {
    background-color: #e49d30;
}

#areaList .accordion-body {
    background-color: #f8f9fa;
}

#areaList .accordion-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#areaList .btn-outline-primary {
    font-size: 14px;
    color: #0b08a5;
    border-color: #0b08a5;
    text-align: left;
}

#areaList .btn-outline-primary:hover {
    background-color: #0b08a5;
    color: white;
}

#whatsappButton {
    background-color: #25D366;
    color: black;
}

#whatsappButton:hover {
    background-color: #128C7E;
    color: white;
}



/* --- COVERAGE MAP STYLES (Sidebar + Map + Responsiveness) --- */

#coverage .map-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

@media (max-width: 768px) {
  #coverage .map-wrapper {
    flex-direction: column;
  }
}

#sidebar {
  width: 300px;
  background: white;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  overflow-y: auto;
  padding: 20px;
  transition: all 0.3s ease;
  z-index: 10;
  position: relative;
  height: auto;
  max-height: 100%;
  color: black;
}

#sidebar.hidden {
  display: none;
}

#map-container {
  flex: 1;
  min-height: 600px;
  position: relative;
  transition: all 0.3s ease;
  width: 100%;
}

#map-container.fullwidth {
  margin-left: 0 !important;
}

#map {
  width: 100%;
  height: 100%;
  min-height: 600px;
}

#top-controls {
  position: absolute;
  top: 10px;
  left: 320px;
  right: 10px;
  z-index: 1001;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.leaflet-control-layers {
  margin-top: 60px !important; /* default: 10px, jadi turun sedikit */
}

@media (max-width: 768px) {
  #top-controls {
    position: static;
    flex-direction: column;
    padding: 10px;
  }
}

.cluster-item {
  background: #f0f4ff;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cluster-item:hover {
  background: #e2e6ff;
  color: #0b08a5;
}

.btn-sm {
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
}

.btn-wuzz {
  background: #ffc107;
  color: #000;
}

.btn-primary {
  background: #0b08a5;
  color: #fff;
}

.btn-success {
  background: #25d366;
  color: white;
}

.form-modern {
  flex: 1;
  padding: 12px 18px;
  font-size: 15px;
  border: 2px solid #0b08a5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  min-width: 320px;
}

.form-modern:focus {
  outline: none;
  border-color: #ffc107;
  box-shadow: 0 0 0 3px rgba(255,193,7,0.25);
}

@media (max-width: 768px) {
  .form-modern {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  #map {
    height: 50vh;
  }

  #sidebar {
    width: 100%;
    height: auto;
    border-right: none;
  }
}




.btn-warning {
  background-color: #ffc107;
  border: none;
  color: #000;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: 0.3s ease;
}

.btn-warning:hover {
  background-color: #ffb300;
  color: #fff;
}

.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 16px;
  backdrop-filter: blur(4px);
  max-width: 90%;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}




/* Untuk desktop */
@media (min-width: 992px) {
  .navbar {
    background-color: rgba(3, 40, 152, 0.95);
  }
}

/* Untuk mobile: navbar transparan sebelum menu dibuka */
@media (max-width: 991.98px) {
  .navbar {
    background-color: transparent !important;
    box-shadow: none !important;
  }

  .mobile-menu-bg.show {
    background-color: rgba(6, 46, 153, 0.95);
    padding: 20px;
    border-radius: 0 0 10px 10px;
  }
}

  .transition-navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    z-index: 1030;
  }

  .navbar.scrolled {
    background-color: rgba(3, 40, 152, 0.95) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .nav-link {
    position: relative;
    color: #ffffff !important;
    transition: color 0.2s ease-in-out;
    margin-left: 15px;
    margin-right: 15px;
  }

  .nav-link.nav-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: #6EC6FF;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
  }

  .nav-link.nav-underline:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }

  .navbar-brand img {
    transition: transform 0.3s ease-in-out;
  }

  .navbar.scrolled .navbar-brand img {
    transform: scale(0.95);
  }

  @media (max-width: 991.98px) {
    /* Jangan tampilkan background penuh di awal */
    .mobile-menu-bg.collapse:not(.show) {
      background-color: transparent !important;
      padding: 0 !important;
    }

    .mobile-menu-bg.show {
      background-color: rgba(6, 46, 153, 0.95);
      padding: 20px;
      border-radius: 0 0 10px 10px;
    }

    .nav-link {
      margin: 10px 0;
      text-align: center;
    }
  }


/* WhatsApp Floating Button */



.leaflet-top.leaflet-right {
  display: flex;
  flex-direction: column;
}
.leaflet-control-zoom {
  margin-top: 5px; /* jarak biar rapi */
}