/* ==================================================
   1. GLOBAL VARIABLES & RESET
   ================================================== */
:root {
  /* Color System */
  --color-primary: #00695c;
  --color-secondary: #4a148c;
  --color-accent: #ff6f00;

  /* Neutrals */
  --color-white: #ffffff;
  --color-light: #f8f9fa;
  --color-dark: #212529;
  --color-gray: #6c757d;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* Base Reset (Gabungan dengan Patch Fix) */
html,
body {
  font-family: var(--font-body);
  color: var(--color-dark);
  max-width: 100%;
  overflow-x: hidden !important; /* Mencegah scroll samping */
  position: relative;
  padding-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
}

a {
  text-decoration: none;
}

/* Global Utilities & Fixes */
.row {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

/* Fix Nomor HP Biru di iOS */
a[href^='tel'] {
  color: inherit !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

/* Fix Email/Teks Panjang (Agar tidak tembus kanan) */
a[href^='mailto'],
.email-text,
.text-break-word {
  word-break: break-all;
  white-space: normal;
}

/* Horizontal Scroll Hiding (General) */
div[style*='overflow-x: auto']::-webkit-scrollbar {
  display: none;
}

/* Utilities Helper */
.text-primary-narmada {
  color: var(--color-primary) !important;
}
.text-accent {
  color: var(--color-accent) !important;
}
.text-secondary {
  color: #6c757d !important;
}
.fw-extra-bold {
  font-weight: 800;
}
.fw-black {
  font-weight: 900;
}
.tracking-wide {
  letter-spacing: 2px;
}
.font-small {
  font-size: 0.85rem;
}
.extra-small {
  font-size: 0.75rem;
}
.font-heading {
  font-family: var(--font-heading);
}
.border-dashed {
  border: 2px dashed #e0e0e0;
}

.text-underline-accent {
  border-bottom: 3px solid var(--color-accent);
  display: inline-block;
  line-height: 1.2;
}

.transition-hover {
  transition: background-color 0.2s;
}
.transition-hover:hover {
  background-color: #e9ecef !important;
}

.hover-green:hover {
  color: var(--color-primary) !important;
}

/* ==================================================
   2. HEADER LAYOUT & Z-INDEX STRATEGY
   ================================================== */
#main-header {
  position: relative;
  z-index: 9999;
}
.top-bar {
  position: relative;
  z-index: 1031;
}
.navbar {
  z-index: 1030;
  transition: all 0.3s ease;
}
.offcanvas-backdrop.show {
  opacity: 0.5;
  z-index: 1040 !important;
}

/* Desktop Navigation Styling */
.navbar-nav .nav-link {
  color: var(--color-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: none !important;
  position: relative;
  transition: color 0.2s ease-in-out;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show,
.navbar-nav .nav-link:focus {
  color: var(--color-primary);
  box-shadow: none;
}

/* Desktop Dropdown */
@media (min-width: 992px) {
  .dropdown-hover:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
  .dropdown-menu {
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    z-index: 1035;
  }
  .dropdown-item {
    font-size: 0.95rem;
    padding: 0.7rem 1.5rem;
    color: var(--color-dark);
    transition: background-color 0.2s, color 0.2s;
  }
  .dropdown-item:hover {
    background-color: var(--color-light);
    color: var(--color-primary);
  }
}

/* Mobile Navigation (Slide Only) */
@media (max-width: 991.98px) {
  .offcanvas {
    position: fixed !important;
    top: 0;
    bottom: 0;
    z-index: 1050 !important;
    height: 100vh;
    width: 300px;
    background-color: var(--color-white);
    border-left: none;
    transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out;
    visibility: hidden;
  }
  .offcanvas-end {
    right: 0;
    left: auto;
    transform: translateX(100%);
  }
  .offcanvas.show {
    transform: translateX(0);
    visibility: visible;
  }
  .offcanvas.showing,
  .offcanvas.hiding {
    visibility: visible;
  }
  .offcanvas-header {
    background-color: var(--color-light);
  }
  .mobile-contact-info {
    margin-top: auto;
  }
  .navbar-toggler:focus {
    box-shadow: none;
  }

  /* Scrollable Menu Fix */
  .navbar-collapse {
    max-height: 80vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Mobile Dropdown */
  .offcanvas .dropdown-menu {
    position: static !important;
    transform: none !important;
    display: none;
    width: 100%;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0.5rem 0 0.5rem 1.5rem;
    margin-top: 0;
  }
  .offcanvas .dropdown-menu.show {
    display: block;
    animation: slideSmall 0.3s ease;
  }
  .offcanvas .dropdown-item {
    color: var(--color-dark);
    opacity: 0.8;
    padding: 0.8rem 0;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.2s;
  }
  .offcanvas .dropdown-item:hover,
  .offcanvas .dropdown-item:active {
    background-color: transparent;
    color: var(--color-accent);
    padding-left: 5px;
  }
}

@keyframes slideSmall {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================================================
   3. COMPONENTS (BUTTONS & CARDS)
   ================================================== */
/* Buttons */
.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-white);
  border: none;
  font-weight: 600;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s, box-shadow 0.2s;
}
.btn-accent:hover {
  background-color: #e65100;
  color: var(--color-white);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.btn-outline-white {
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: var(--color-white);
  transition: all 0.3s ease;
}
.btn-outline-white:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

/* Horizontal Scrollable Menu (Nav Pills) */
.nav-pills-scroll {
  display: flex;
  flex-wrap: nowrap !important; /* Wajib satu baris */
  overflow-x: auto; /* Scroll samping aktif */
  white-space: nowrap;
  -webkit-overflow-scrolling: touch; /* Smooth scroll iOS */
  padding-top: 5px;
  padding-bottom: 15px !important;
  align-items: center;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nav-pills-scroll::-webkit-scrollbar {
  display: none;
}

/* ==================================================
   4. SECTION STYLES
   ================================================== */
/* Hero Section */
#hero-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 50px;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
}
.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 105, 92, 0.95) 0%,
    rgba(0, 105, 92, 0.85) 40%,
    rgba(0, 105, 92, 0.2) 100%
  );
  z-index: 1;
}
.glass-panel {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

@media (max-width: 767.98px) {
  .border-end-md {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 1rem;
  }
  #hero-section {
    min-height: auto;
    padding-bottom: 3rem;
  }
  .hero-bg {
    background-attachment: scroll;
  }
}

/* Trusted By (Clients) */
.client-logo-wrapper {
  padding: 1rem;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.client-logo {
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.4s ease;
  max-height: 60px;
  width: auto;
  object-fit: contain;
}
.client-logo-wrapper:hover .client-logo {
  filter: grayscale(0%);
  opacity: 1;
}
.client-logo-wrapper:hover {
  transform: scale(1.1);
}

/* Story & Philosophy */
.custom-shape-divider-top-1700000000 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 1;
}
.custom-shape-divider-top-1700000000 svg {
  position: relative;
  display: block;
  width: calc(137% + 1.3px);
  height: 60px;
}
@media (min-width: 768px) {
  .custom-shape-divider-top-1700000000 svg {
    height: 100px;
  }
}
.story-text {
  line-height: 1.8;
  font-size: 1.05rem;
}
.image-composition {
  padding: 2rem;
}
.watermark-n {
  position: absolute;
  top: -10%;
  right: -5%;
  font-family: var(--font-heading);
  font-size: 20rem;
  font-weight: 900;
  color: var(--color-primary);
  opacity: 0.05;
  z-index: 0;
  line-height: 1;
  pointer-events: none;
}
.fluid-blob {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 150px;
  height: 150px;
  background-color: var(--color-primary);
  opacity: 0.1;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  z-index: 1;
  animation: morphBlob 8s ease-in-out infinite;
}
@keyframes morphBlob {
  0%,
  100% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }
  34% {
    border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
  }
  67% {
    border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
  }
}
.card-hover-lift {
  background-color: var(--color-white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
  border-color: transparent !important;
}

/* Service Categories */
.service-card {
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.4s ease, border-bottom-color 0.3s ease;
  border-bottom: 0px solid transparent;
}
.card-img-wrapper {
  height: 250px;
  width: 100%;
  overflow: hidden;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}
.card-img-wrapper img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.12) !important;
}
.service-card:hover .card-img-wrapper img {
  transform: scale(1.05);
}
.card-school:hover {
  border-bottom: 4px solid var(--color-accent);
}
.card-corp:hover {
  border-bottom: 4px solid var(--color-primary);
}

.btn-outline-school,
.btn-outline-corp {
  display: inline-block;
  width: 100%;
  padding: 10px 20px;
  text-align: center;
  border: 2px solid;
  font-weight: 700;
  background: transparent;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-outline-school {
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn-outline-corp {
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline-school:hover,
.service-card:hover .btn-outline-school {
  background-color: var(--color-accent);
  color: white;
}
.btn-outline-corp:hover,
.service-card:hover .btn-outline-corp {
  background-color: var(--color-primary);
  color: white;
}

/* Featured Packages */
.nav-pills .nav-link {
  color: var(--color-gray);
  background-color: transparent;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-weight: 500;
  transition: all 0.3s ease;
}
.nav-pills .nav-link.active,
.nav-pills .nav-link:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.package-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.package-img-wrapper {
  height: 220px;
  width: 100%;
  overflow: hidden;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}
.package-img-wrapper img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.badge-royal {
  background-color: var(--color-secondary) !important;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 0.75rem;
}
.package-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1) !important;
}
.package-card:hover .package-img-wrapper img {
  transform: scale(1.1);
}
.price-tag {
  transition: text-shadow 0.3s ease;
}
.package-card:hover .price-tag {
  text-shadow: 0 0 10px rgba(255, 111, 0, 0.3);
}

.btn-outline-primary-narmada {
  display: inline-block !important;
  padding: 6px 24px;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 1 !important;
  visibility: visible !important;
}
.btn-outline-primary-narmada:hover,
.package-card:hover .btn-outline-primary-narmada {
  background-color: var(--color-primary);
  color: var(--color-white);
}
.link-narmada-arrow {
  color: var(--color-primary);
  transition: padding 0.3s ease;
}
.link-narmada-arrow:hover {
  color: var(--color-secondary);
  padding-left: 10px;
}
/* Paket Wisata Filter Button Mobile */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
}
.btn-filter {
  flex: 0 1 auto;
  white-space: nowrap;
  margin-bottom: 5px;
  font-size: 0.85rem;
  color: var(--color-gray);
  font-weight: 600;
  border: none;
  transition: all 0.3s;
}
.btn-filter.active {
  background-color: var(--color-primary) !important;
  color: white !important;
  box-shadow: 0 4px 15px rgba(0, 105, 92, 0.3);
}

/* Why Choose Us */
#why-choose-us {
  background-color: var(--color-secondary);
}
.texture-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.1) 1px,
    transparent 1px
  );
  background-size: 20px 20px;
  opacity: 0.3;
  pointer-events: none;
}
.feature-box {
  transition: transform 0.3s ease;
}
.icon-glow {
  font-size: 2.5rem;
  color: var(--color-accent);
  filter: drop-shadow(0 0 8px rgba(255, 111, 0, 0.4));
  transition: transform 0.3s ease;
}
.big-number {
  position: absolute;
  top: -10px;
  right: 10px;
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-white);
  opacity: 0.05;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.feature-box:hover .big-number {
  opacity: 0.15;
  transform: scale(1.1);
}
.feature-box:hover .icon-glow {
  transform: scale(1.1) rotate(5deg);
}
@media (max-width: 767.98px) {
  .icon-glow {
    font-size: 2rem;
  }
  .big-number {
    font-size: 3.5rem;
  }
}

/* Final CTA */
#final-cta {
  min-height: 450px;
}
.cta-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
}
.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 105, 92, 0.9);
  z-index: 1;
}
.cta-ornament {
  position: absolute;
  top: 10%;
  right: 5%;
  font-size: 10rem;
  color: var(--color-white);
  opacity: 0.05;
  transform: rotate(-20deg);
  z-index: 1;
  pointer-events: none;
}
.btn-cta-primary {
  background-color: var(--color-accent);
  border: 2px solid var(--color-accent);
  color: var(--color-white);
  transition: all 0.3s ease;
}
.btn-cta-primary:hover {
  background-color: #e65100;
  border-color: #e65100;
  transform: translateY(-3px);
}
.btn-pulse {
  animation: pulse-orange 3s infinite;
}
@keyframes pulse-orange {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 111, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 111, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 111, 0, 0);
  }
}
@media (max-width: 767.98px) {
  .cta-ornament {
    font-size: 6rem;
    top: 5%;
    right: 0;
  }
}

/* ==================================================
   5. FOOTER & BACK TO TOP
   ================================================== */
#main-footer {
  background-color: #004d40;
  color: var(--color-light);
  border-top: 5px solid var(--color-primary);
}
.footer-text {
  color: #e0e0e0;
  font-size: 0.95rem;
  line-height: 1.6;
}
.footer-link {
  color: #e0e0e0;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}
.footer-link:hover {
  color: var(--color-accent);
  transform: translateX(5px);
}
.social-btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: all 0.3s ease;
  text-decoration: none;
}
.social-btn:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-3px);
}
.copyright-bar {
  background-color: #00332a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1060;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--color-accent) !important;
  color: var(--color-white) !important;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
}
#back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#back-to-top:hover {
  background-color: #e65100 !important;
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

@media (max-width: 767.98px) {
  .footer-text,
  .footer-link {
    font-size: 0.9rem;
  }
}

/* ==================================================
   6. PAGE SPECIFIC STYLES
   ================================================== */
/* Tentang Kami */
#about-hero {
  position: relative;
  min-height: 60vh;
  overflow: hidden;
  margin-top: -80px;
  padding-top: 100px;
}
.about-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  animation: kenBurns 20s ease-in-out infinite alternate;
}
.about-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 105, 92, 0.9) 0%,
    rgba(0, 77, 64, 0.95) 100%
  );
  z-index: 1;
}
@keyframes kenBurns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}
.icon-box-lg {
  font-size: 3rem;
  transition: transform 0.3s ease;
}
.philosophy-card:hover .icon-box-lg {
  transform: translateY(-10px);
}

/* Marquee Clients */
.marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
}
.marquee-track {
  display: flex;
  gap: 4rem;
  padding-left: 4rem;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.client-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.3s ease;
  cursor: pointer;
}
/* .marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
} */
.client-img:hover {
  filter: grayscale(0%);
  opacity: 1;
  /* transform: scale(1.1); */
}
.scroll-left {
  animation-name: scrollLeft;
  animation-duration: 50s;
}
.scroll-right {
  animation-name: scrollRight;
  animation-duration: 45s;
}
@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes scrollRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}
@media (max-width: 768px) {
  .marquee-track {
    gap: 2rem;
    padding-left: 2rem;
  }
  .client-img {
    height: 35px;
  }
}
.team-card img {
  border: 4px solid var(--color-light);
  transition: all 0.3s ease;
}
.team-card:hover img {
  border-color: var(--color-primary);
  transform: scale(1.05);
}

/* Kontak */
#contact-hero {
  position: relative;
  height: 40vh;
  min-height: 350px;
  margin-top: -80px;
  padding-top: 80px;
  background-color: var(--color-primary);
}
.contact-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  mix-blend-mode: overlay;
}
.contact-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 105, 92, 0.9) 0%,
    rgba(0, 105, 92, 0.7) 100%
  );
}
.contact-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
  border-color: transparent;
}
.contact-card:hover i {
  transform: scale(1.1);
  transition: transform 0.2s;
}
.btn-outline-accent {
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  transition: all 0.3s ease;
}
.btn-outline-accent:hover {
  background-color: var(--color-accent);
  color: white;
}
.btn-primary-narmada {
  background-color: var(--color-primary);
  color: white;
  border: none;
  transition: all 0.3s ease;
}
.btn-primary-narmada:hover {
  background-color: var(--color-primary-dark, #004d40);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 105, 92, 0.3) !important;
}
.accordion-button:not(.collapsed) {
  background-color: rgba(0, 105, 92, 0.05);
  color: var(--color-primary);
  box-shadow: none;
}
.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0, 0, 0, 0.1);
}

/* Galeri */
.separator-line {
  width: 60px;
  height: 4px;
  background-color: var(--color-accent);
  border-radius: 2px;
}
.sticky-filter-wrapper {
  position: relative;
  z-index: 10;
  padding: 10px 0;
  margin-bottom: 2rem;
}
#gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.filter-btn {
  border: 1px solid #e0e0e0;
  background: white;
  color: var(--color-gray, #6c757d);
  transition: all 0.2s ease;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 50px;
  padding: 8px 24px;
}
.filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: #f8f9fa;
}
.filter-btn.active {
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  box-shadow: 0 4px 10px rgba(0, 105, 92, 0.25);
}
.masonry-grid {
  column-count: 3;
  column-gap: 1.5rem;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  animation: fadeIn 0.6s ease;
}
.hidden-item {
  display: none;
}
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  background-color: #f0f0f0;
  width: 100%;
}
.gallery-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
}
.gallery-overlay h6 {
  transform: translateY(10px);
  transition: transform 0.3s ease;
}
.gallery-card:hover img {
  transform: scale(1.1);
}
.gallery-card:hover .gallery-overlay {
  opacity: 1;
}
.gallery-card:hover .gallery-overlay h6 {
  transform: translateY(0);
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#load-more-btn.disabled {
  opacity: 0.6;
  pointer-events: none;
  cursor: default;
  background-color: #e9ecef;
  border-color: #e9ecef;
  color: #6c757d;
}

@media (max-width: 991px) {
  .masonry-grid {
    column-count: 2;
  }
}
@media (max-width: 576px) {
  #gallery-filters {
    gap: 8px !important;
  }
  .filter-btn {
    font-size: 0.85rem;
    padding: 6px 16px;
    flex-grow: 0;
  }
  .masonry-grid {
    column-count: 2;
    column-gap: 10px;
  }
  .masonry-item {
    margin-bottom: 10px;
  }
  #load-more-btn {
    padding: 8px 20px !important;
    font-size: 0.85rem !important;
    width: 90%;
    margin: 0 auto;
    display: block;
  }
  section[style*='#FF6F00'] {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
  section[style*='#FF6F00'] h2 {
    font-size: 1.25rem !important;
    margin-bottom: 1rem !important;
  }
  section[style*='#FF6F00'] .btn-lg {
    padding: 8px 20px !important;
    font-size: 0.9rem !important;
    width: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
  }
}

/* Destinasi Wisata */
#destinasi-hero {
  height: 60vh;
  position: relative;
}
.hero-parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 105, 92, 0.4) 100%
  );
  z-index: 2;
}
.desti-clean-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #eee;
  height: 100%;
}
.desti-clean-card .card-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.desti-clean-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--color-primary);
}
.desti-clean-card:hover img {
  transform: scale(1.1);
}
.card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--color-accent);
  color: white;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  z-index: 2;
}
.marquee-desti {
  white-space: nowrap;
  display: flex;
}
.marquee-content {
  display: inline-block;
  animation: marqueeScroll 125s linear infinite;
}
.marquee-content span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  padding: 0 2rem;
}
@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 576px) {
  #destinasi-hero {
    height: 40vh;
  }
  .hero-parallax-bg {
    background-attachment: scroll;
  }
}
section[style*='var(--color-secondary)'] {
  position: relative;
  border-top: 5px solid var(--color-accent);
}
.cta-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.1) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
  opacity: 0.5;
  z-index: 1;
}
@media (max-width: 576px) {
  section[style*='var(--color-secondary)'] h2 {
    font-size: 1.8rem;
  }
  section[style*='var(--color-secondary)'] .btn-lg {
    width: 100%;
    font-size: 1rem;
  }
}

/* Paket Wisata (Specifics) */
#paket-hero {
  height: 40vh;
  min-height: 350px;
  margin-top: -80px;
  padding-top: 80px;
}
.hero-overlay-green {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 105, 92, 0.7);
  z-index: 2;
}
.ticket-card {
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #eee;
}
.ticket-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.ticket-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.ticket-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}
.ticket-card:hover img {
  transform: scale(1.1);
}
.badge-duration {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--color-secondary);
  color: white;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 3;
}
.badge-category {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--color-accent);
  color: white;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 3;
}
.custom-trip-box {
  border: 2px dashed #ddd;
  border-radius: 30px;
  background-color: #fcfcfc;
  transition: border-color 0.3s;
}
.custom-trip-box:hover {
  border-color: var(--color-primary);
}
.btn-whatsapp-narmada {
  background-color: #25d366;
  color: white;
  border: none;
  font-weight: 700;
  animation: pulse-wa 2s infinite;
}
.btn-whatsapp-narmada:hover {
  background-color: #128c7e;
  color: white;
}
@keyframes pulse-wa {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1.02);
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Sewa Transportasi */
#fleet-hero {
  height: 35vh;
  min-height: 300px;
  margin-top: -80px;
  padding-top: 80px;
}
.hero-overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}
.fleet-card {
  transition: all 0.3s ease;
  background-color: #fff;
}
.fleet-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary) !important;
}
.fleet-img-wrapper {
  overflow: hidden;
}
.interior-preview {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #333;
}
.transition-hover:hover .interior-preview {
  background: var(--color-primary);
  color: #fff;
}
/* Styling tombol scroll agar manis */
.nav-scroll-btn {
  opacity: 0.7;
  transition: all 0.3s ease;
  border: 1px solid #eee;
}
.nav-scroll-btn:hover {
  opacity: 1;
  background-color: var(--color-primary); /* Sesuaikan warnamu */
  color: white;
  transform: translateY(-50%) scale(1.1) !important; /* Keep centered vertically + scale */
}

/* Antar Jemput */
#shuttle-hero {
  position: relative;
  z-index: 1;
}
.connection-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 1px,
    transparent 1px
  );
  background-size: 40px 40px;
  z-index: -1;
}
.service-point-card {
  transition: all 0.3s ease;
  background: #fff;
}
.service-point-card:hover {
  border-color: var(--color-primary) !important;
  transform: translateY(-5px);
}
.table thead th {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
  border-bottom: none;
}
.table tbody td {
  font-size: 0.95rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  color: #444;
}
.btn-outline-secondary {
  border-color: #ddd;
  color: #666;
}
.btn-outline-secondary:hover {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
  color: #fff;
}
@media (max-width: 768px) {
  .table-responsive {
    border-radius: 10px;
  }
  .table {
    min-width: 600px;
  }
}

/* 404 Error */
.spinning-compass {
  display: inline-block;
  font-size: 0.8em;
  animation: rotateCompass 6s ease-in-out infinite;
}
@keyframes rotateCompass {
  0% {
    transform: rotate(0deg);
  }
  20% {
    transform: rotate(45deg);
  }
  40% {
    transform: rotate(-30deg);
  }
  60% {
    transform: rotate(180deg);
  }
  80% {
    transform: rotate(100deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
.surprise-box .confetti-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  z-index: 1;
}
.dot-1 {
  top: 10px;
  left: 10px;
  background: var(--color-accent);
}
.dot-2 {
  bottom: 10px;
  right: 20px;
  background: var(--color-primary);
}
@keyframes waveMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.display-1 span {
  font-size: 1.2em;
  line-height: 1;
}
@media (max-width: 576px) {
  .display-1 span {
    font-size: 0.8em;
  }
  .display-1 .bi-compass-fill {
    font-size: 0.8em;
  }
}

/* ==================================================
   7. RESPONSIVE OVERRIDES (SPECIFIC FIXES)
   ================================================== */

/* Fix Hero Padding (Mobile) - Agar judul tidak ketabrak Navbar */
#destinasi-hero,
#fleet-hero,
#shuttle-hero,
#paket-hero {
  padding-top: 100px !important;
  height: auto !important; /* Jangan kunci tinggi */
  min-height: 60vh;
  padding-bottom: 100px !important;
  margin-bottom: 0 !important;
  overflow: visible !important;
}

/* Desktop Adjustment untuk Hero */
@media (min-width: 992px) {
  #destinasi-hero,
  #fleet-hero,
  #paket-hero {
    padding-top: 180px !important;
    padding-bottom: 120px !important;
  }
}

@media (min-width: 992px) {
  #shuttle-hero {
    padding-bottom: 120px !important;
  }
}

/* Horizontal Scroll Menu (Fix Potongan Kiri) */
/* Di Tablet & HP (<= 991px), tombol mulai dari kiri agar bisa discroll */
@media (max-width: 991px) {
  .nav-pills-scroll {
    justify-content: flex-start !important;
    padding-left: 0;
  }
}

/* ==================================================
   8. MEDIA QUERIES (ULTRA-SMALL & TABLET)
   ================================================== */

/* TABLET & SMALL LAPTOP FIX (1024px) */
@media (max-width: 1024px) {
  /* Final CTA Adjustments */
  #final-cta h2 {
    font-size: 2.2rem !important;
  }
  #final-cta .lead {
    font-size: 1.1rem !important;
    margin-bottom: 2rem !important;
  }
  #final-cta .btn-lg {
    padding: 12px 30px !important;
    font-size: 1rem !important;
    width: auto;
  }
  #final-cta .bi {
    font-size: 1.1rem !important;
  }
}

/* ULTRA-SMALL MOBILE PATCH (380px Safe Zone) */
/* Target: iPhone 5, SE, Fold Cover, etc. */
@media (max-width: 380px) {
  /* --- A. PACKAGE CARD (Paket Wisata) --- */
  .package-card h5 {
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
  }
  .package-card ul li {
    font-size: 0.8rem !important;
    white-space: nowrap;
    line-height: 1.2;
  }
  .package-card .price-tag {
    font-size: 1rem !important;
    white-space: nowrap !important;
  }
  .package-card .btn-sm {
    font-size: 0.75rem !important;
    padding: 5px 10px !important;
  }
  .package-card .bi-check2 {
    font-size: 0.9rem !important;
    margin-right: 4px !important;
  }
  .package-card small.text-muted {
    font-size: 0.7rem !important;
  }
  /* Pastikan wadah harga & tombol tidak maksa turun */
  .package-card .d-flex.justify-content-between.align-items-end {
    align-items: center !important;
  }

  /* --- B. FINAL CTA BUTTONS --- */
  #final-cta .btn-lg {
    padding: 10px 15px !important;
    font-size: 0.85rem !important;
    white-space: nowrap !important;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #final-cta .bi {
    font-size: 1rem !important;
  }
  #final-cta h2 {
    font-size: 1.6rem !important;
  }
}
