@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Open+Sans:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
}

body, html {
  margin: 0;
  padding: 0;
  width:100%;
  max-width:100vw;
  min-height:100vh;
  background:#ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  text-align:center;
  overflow-x: clip; /* clip instead of hidden to allow position: sticky to work */
  overscroll-behavior-x: none; /* strictly prevent horizontal scroll bounce on mobile */
}

/* div { position:absolute; } removed because it breaks footer and navbar layout */

main {
  position:relative;
  background:#fff;
  width:100%;
  height:100vh;
  overflow: hidden;
}

.white-spacer {
  width: 100%;
  height: 25vh;
  background: #fff;
  position: relative;
  z-index: 5;
}

@media (max-width: 768px) {
  body, html {
    font-size: 50px;
  }
}

@media (max-width: 480px) {
  body, html {
    font-size: 40px;
  }
}

/* Navbar Styling (Solid Theme Synced, Non-Glassy) */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--nav-bg, linear-gradient(135deg, #0284c7, #0d9488)) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  z-index: 999999;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--nav-border, rgba(255, 255, 255, 0.2)) !important;
}

.navbar.scrolled {
  background: var(--nav-bg, linear-gradient(135deg, #0284c7, #0d9488)) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
  border-bottom: 1px solid var(--nav-border, rgba(255, 255, 255, 0.2)) !important;
}

.navbar.scrolled .nav-left a, 
.navbar.scrolled .nav-right a {
  color: #0f172a;
  text-shadow: none;
  font-weight: 600;
}

.navbar.scrolled .nav-left a:hover, 
.navbar.scrolled .nav-right a:hover {
  color: #10b981;
}

.navbar.scrolled .logo-img {
  filter: brightness(0) invert(1) drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2)) !important;
  -webkit-filter: brightness(0) invert(1) drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2)) !important;
  height: 85px !important;
  transform: translateY(-15px) !important;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.navbar.scrolled .logo-img:hover,
.logo-img:hover {
  transform: translateY(-15px) scale(1.1) !important;
  filter: brightness(0) invert(1) drop-shadow(0 6px 14px var(--map-active-glow, rgba(16, 185, 129, 0.5))) !important;
}

.navbar.scrolled .hamburger span {
  background: #0f172a;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 60px;
  padding: 0 40px;
  position: relative;
}

.mini-nav {
  display: flex; 
  width: 100%;
  justify-content: space-between;
  align-items: center;
  
  /* Collapsed State (Hidden on hero) */
  max-height: 0;
  opacity: 0;
  padding: 0 40px;
  overflow: hidden;
  border-bottom: 0px solid transparent;
  background: rgba(0, 0, 0, 0.15) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.navbar.scrolled .mini-nav {
  /* Expanded State */
  max-height: 50px;
  opacity: 1;
  padding: 8px 40px;
  background: rgba(0, 0, 0, 0.15) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid var(--nav-border, rgba(255, 255, 255, 0.15)) !important;
}

.mini-nav-left {
  display: flex;
  gap: 20px;
}

.mini-nav-left a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--nav-text, #ffffff) !important;
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;
}

.mini-nav-left a svg {
  stroke: var(--nav-text, #ffffff) !important;
}

.navbar.scrolled .mini-nav-left a,
.mini-nav-left a {
  color: var(--nav-text, #ffffff) !important;
}

.navbar.scrolled .mini-nav-left a:hover,
.mini-nav-left a:hover {
  color: var(--map-hover-fill, #fef08a) !important;
  transform: translateY(-1px);
}

.mini-nav-right {
  display: flex;
  gap: 15px;
}

.mini-nav-right a {
  color: var(--nav-text, #ffffff) !important;
  display: flex;
  align-items: center;
  transition: color 0.3s, transform 0.3s;
}

.mini-nav-right a svg {
  stroke: var(--nav-text, #ffffff) !important;
  fill: none;
}

.navbar.scrolled .mini-nav-right a,
.mini-nav-right a {
  color: var(--nav-text, #ffffff) !important;
}

.navbar.scrolled .mini-nav-right a:hover,
.mini-nav-right a:hover {
  color: var(--map-hover-fill, #fef08a) !important;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .mini-nav {
    display: none !important;
  }
  .nav-container {
    padding: 0 20px;
  }
  .navbar.scrolled .logo-img {
    height: 45px !important;
    transform: none !important;
    margin-top: 0 !important;
  }
}

.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
}

.nav-right {
  justify-content: flex-end;
}

.nav-left {
  justify-content: flex-start;
}

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  z-index: 10;
}

.logo-link {
  display: block;
}

.logo-img {
  height: 45px;
  -webkit-filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) !important;
  filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) !important;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  display: block;
}

.logo-img:hover {
  transform: scale(1.05);
}

.nav-left a, .nav-right a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s, text-shadow 0.3s;
}

.nav-left a:hover, .nav-right a:hover {
  color: var(--map-hover-fill, #fef08a) !important;
}

/* --- NAV DROPDOWN STYLES --- */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown .dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  color: var(--nav-text, #ffffff) !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 0;
  transition: color 0.3s;
}

.nav-dropdown:hover .dropdown-trigger,
.nav-dropdown .dropdown-trigger:hover {
  color: var(--map-hover-fill, #fef08a) !important;
}

.nav-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background: var(--nav-bg, linear-gradient(135deg, #0284c7, #0d9488)) !important;
  border: 1px solid var(--nav-border, rgba(255, 255, 255, 0.2)) !important;
  border-radius: 12px;
  padding: 8px 0;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25) !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 100000;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown .dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--nav-text, #ffffff) !important;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-dropdown .dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: var(--map-hover-fill, #fef08a) !important;
  padding-left: 24px;
}

.nav-right .btn-book {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
  transition: transform 0.3s, box-shadow 0.3s !important;
}

.nav-right .btn-book:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
  color: #fff !important;
  text-shadow: none !important;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  z-index: 10000;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu (Solid Theme Synced, Non-Glassy) */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  width: 300px;
  max-width: 100vw;
  height: 100vh;
  background: var(--sidebar-bg, #0284c7) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 100px 30px 40px 30px;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0), background 0.5s ease;
  box-shadow: -15px 0 40px rgba(0,0,0,0.3);
  border-left: 1px solid var(--nav-border, rgba(255, 255, 255, 0.2)) !important;
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu.scrolled {
  background: var(--sidebar-bg, #0284c7) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-left: 1px solid var(--nav-border, rgba(255, 255, 255, 0.2)) !important;
}

.mobile-menu.scrolled .mobile-nav > a {
  color: var(--sidebar-text, #ffffff) !important;
}

.mobile-menu.scrolled .mobile-nav > a:hover,
.mobile-menu.scrolled .mobile-nav > a:active {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.sidebar-contact {
  margin-top: 10px;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-menu.scrolled .sidebar-contact {
  border-top-color: rgba(0,0,0,0.1);
}
.sidebar-contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.sidebar-contact-info a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;
  word-break: break-all;
}
.mobile-menu.scrolled .sidebar-contact-info a {
  color: #334155;
}
.sidebar-socials {
  display: flex;
  gap: 15px;
}
.sidebar-socials a {
  color: rgba(255,255,255,0.8);
  transition: color 0.3s;
}
.mobile-menu.scrolled .sidebar-socials a {
  color: #334155;
}
.sidebar-socials a:hover {
  color: #10b981;
}

.mobile-nav > a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 15px;
  border-radius: 12px;
  transition: all 0.3s ease;
  width: 100%;
  display: block;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.mobile-nav > a:hover,
.mobile-nav > a:active {
  background: rgba(255, 255, 255, 0.08);
  color: #10b981;
  padding-left: 20px;
}

.mobile-nav > .mobile-book-btn {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff !important;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.mobile-nav > .mobile-book-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(16, 185, 129, 0.4);
  padding-left: 30px;
}

@media (max-width: 992px) {
  .nav-left, .nav-right {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .nav-center {
    flex: 1;
    justify-content: flex-start;
  }
  .navbar {
    padding: 15px 20px;
  }
  .navbar.scrolled {
    width: 95%;
  }
}

/* Dark Navbar Clone for Wipe Effect */
.nav-dark-clone {
  pointer-events: none; /* Let clicks pass to the real navbar beneath */
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  z-index: 10001; /* Above the real navbar */
  clip-path: inset(100% 0px 0px 0px); /* Hidden by default, animated by GSAP */
  -webkit-clip-path: inset(100% 0px 0px 0px);
}

.nav-dark-clone .logo,
.nav-dark-clone .nav-left a,
.nav-dark-clone .nav-right a {
  color: #162a43 !important;
}

.nav-dark-clone .hamburger span {
  background: #162a43 !important;
}



/* Interactive Map Styles */
#sri-lanka-map path {
  fill: #dadada;
  stroke: #fff;
  stroke-width: 0.5;
  cursor: pointer;
  transition: fill 0.3s ease, transform 0.3s ease;
}

#sri-lanka-map path:hover {
  fill: #10b981;
}

#sri-lanka-map path.active {
  fill: #059669;
}

/* District Details HTML Overlay */
.district-info {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  font-family: 'Open Sans', sans-serif;
  color: #162a43;
  margin: 20px;
  height: calc(100% - 40px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.district-info h2 {
  font-size: 36px;
  margin: 0 0 15px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  color: #059669;
}

.district-info p {
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
}


/* Footer Styling */
.site-footer {
  background: var(--footer-bg, linear-gradient(to bottom, #111b29, #0a0f18)) !important;
  color: var(--footer-text, #e0e6ed) !important;
  padding: 80px 40px 20px;
  font-family: 'Open Sans', sans-serif;
  position: relative;
  z-index: 10;
  font-size: 15px;
  line-height: 1.6;
  transition: background 0.5s ease, color 0.5s ease !important;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 60px;
  text-align: left;
}

.footer-col h3 {
  color: var(--footer-heading, #fff) !important;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 3px;
  background: var(--footer-accent, #10b981) !important;
  border-radius: 2px;
  transition: background 0.5s ease !important;
}

.brand-col .footer-logo {
  height: 60px;
  margin-bottom: 20px;
}

.brand-col p {
  color: var(--footer-text, #e0e6ed) !important;
  opacity: 0.9;
}

.links-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.links-col ul li {
  margin-bottom: 15px;
}

.links-col ul li a {
  color: var(--footer-link, #a8c0ff) !important;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}

.links-col ul li a:hover {
  color: var(--footer-link-hover, #10b981) !important;
  transform: translateX(5px);
}

.contact-col p {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  color: var(--footer-text, #e0e6ed) !important;
}

.contact-col strong {
  color: var(--footer-accent, #10b981) !important;
  margin-bottom: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--card-bg, rgba(255, 255, 255, 0.1)) !important;
  color: var(--footer-heading, #fff) !important;
  border: 1px solid var(--card-border, rgba(255, 255, 255, 0.2)) !important;
  border-radius: 50%;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s;
}

.social-icon:hover {
  background: var(--footer-accent, #059669) !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--map-active-glow, rgba(5, 150, 105, 0.4)) !important;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--card-border, rgba(255, 255, 255, 0.1)) !important;
  padding-top: 25px;
  font-size: 14px;
  color: var(--footer-text, #e0e6ed) !important;
  opacity: 0.8;
}

@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* Responsive SVG Text */
.hero-main-text { font-size: 50px; font-weight: 800; }
.sri-lanka-text { font-size: 38px; font-weight: 700; }
@media (max-width: 992px) {
  .hero-main-text { font-size: 38px; }
  .sri-lanka-text { font-size: 26px; }
}
@media (max-width: 576px) {
  .hero-main-text { font-size: 26px; }
  .sri-lanka-text { font-size: 18px; }
}

/* Interactive Map Section */
.interactive-map-section {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  background: transparent;
  gap: 50px;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  box-sizing: border-box;
}

.map-decoration-image {
  position: absolute;
  top: -20px;
  right: -50px;
  width: 450px;
  height: auto;
  z-index: 0;
  opacity: 0.8;
  pointer-events: none;
}

.map-container {
  flex: 1.2;
  min-width: 300px;
  position: relative;
}

.map-container svg {
  width: 100%;
  height: 100%;
  max-height: 75vh;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.08));
}

.map-container path {
  transition: fill 0.35s ease, stroke 0.35s ease, transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.35s ease !important;
  transform-origin: center;
  cursor: pointer;
  stroke: var(--map-path-stroke, rgba(15, 23, 42, 0.4)) !important;
  stroke-width: 1px !important;
  fill: var(--map-path-fill, rgba(255, 255, 255, 0.75)) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.map-container path:hover {
  fill: var(--map-hover-fill, #34d399) !important;
  stroke: var(--map-active-stroke, #ffffff) !important;
  transform: scale(1.025);
  z-index: 5;
}

.map-container path.active {
  fill: var(--map-active-fill, #10b981) !important;
  stroke: var(--map-active-stroke, #ffffff) !important;
  stroke-width: 1.5px !important;
  filter: drop-shadow(0 0 14px var(--map-active-glow, rgba(16, 185, 129, 0.8))) !important;
  transform: scale(1.03);
  z-index: 10;
}

.map-details {
  flex: 1.8;
  min-width: 300px;
  max-width: 650px;
  aspect-ratio: 1 / 1;
  background: rgba(10, 15, 24, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

@media (max-width: 768px) {
  .map-details {
    aspect-ratio: auto;
    min-height: 450px;
    height: auto;
  }
}

.details-content {
  padding: 40px;
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.map-details h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.map-details p {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #eee;
  margin-bottom: 25px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.map-details h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.detail-places-list {
  list-style: none;
  padding: 0;
  margin-bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.detail-places-list li {
  position: relative;
  padding: 12px 15px;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, background 0.2s ease;
  cursor: default;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
  text-align: center;
}

.detail-places-list li:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.25);
}


#detail-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#detail-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 24, 0.5);
  pointer-events: none;
  z-index: 1;
}

#detail-image-blur {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(8px);
  transform: scale(1.1);
  transition: opacity 0.5s ease;
  opacity: 1;
}

#detail-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#detail-image:hover {
  transform: scale(1.04);
}

/* Tooltip */
.district-tooltip {
  position: absolute;
  background: rgba(10, 15, 24, 0.95);
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.1s ease;
  z-index: 1000;
  transform: translate(-50%, -150%);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
}

/* --- Why Choose Us Section Styles --- */
#why-choose-us {
  padding: 100px 20px;
  font-family: 'Montserrat', sans-serif;
  color: #1e293b;
  position: relative;
  overflow: hidden;
}

#why-choose-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

#why-choose-us .wcu-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

#why-choose-us .wcu-header {
  text-align: center;
  margin-bottom: 60px;
}

#why-choose-us .wcu-header h2 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 15px;
  color: #111b29;
}

#why-choose-us .wcu-header p {
  color: #64748b;
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* 4-card grid */
#why-choose-us .wcu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

/* Clean glassmorphic backdrops */
#why-choose-us .wcu-card, .fleet-card, .testimonial-card, .calculator-box, .calc-map-box, .info-box {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 40px 30px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Glowing emerald outlines on hover */
#why-choose-us .wcu-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), inset 0 0 20px rgba(16, 185, 129, 0.1);
}

#why-choose-us .icon-placeholder {
  width: 60px;
  height: 60px;
  background: var(--map-active-fill, #10b981);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: #ffffff;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px var(--map-active-glow, rgba(16, 185, 129, 0.25));
}

#why-choose-us .wcu-card:hover .icon-placeholder {
  background: var(--map-hover-fill, #34d399);
  color: #ffffff;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 20px var(--map-active-glow, rgba(16, 185, 129, 0.4));
}

#why-choose-us .icon-placeholder svg {
  width: 30px;
  height: 30px;
}

#why-choose-us .wcu-card h3, .fleet-card h3, .testimonial-card h3, .testimonial-card h4, .calculator-box h3, .calc-map-box h3, .info-box h3 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 15px;
  color: #111b29;
  letter-spacing: 0.5px;
}

#why-choose-us .wcu-card p, .fleet-card p, .testimonial-card p, .calculator-box p, .calc-map-box p, .info-box p {
  color: #64748b;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  font-weight: 400;
}

/* --- Budget Packages Section Styles --- */
#budget-packages {
  padding: 80px 20px;
  font-family: 'Montserrat', sans-serif;
  color: #1e293b;
  position: relative;
  overflow: hidden;
}

#budget-packages .packages-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

#budget-packages .section-header {
  text-align: center;
  margin-bottom: 60px;
}

#budget-packages .section-header h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 15px;
  color: #111b29;
}

#budget-packages .section-header p {
  color: #64748b;
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Grid Layout */
#budget-packages .packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

/* Card Design */
#budget-packages .package-card {
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

#budget-packages .package-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Image & Hover Zoom */
#budget-packages .card-image-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

#budget-packages .card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

#budget-packages .package-card:hover .card-image {
  transform: scale(1.1);
}

/* Emerald Green Badge */
#budget-packages .badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

/* Content Area */
#budget-packages .card-content {
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

#budget-packages .card-title {
  color: #111b29;
  font-size: 22px;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 20px;
  line-height: 1.3;
}

/* Bulleted Highlights */
#budget-packages .card-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 35px 0;
  flex-grow: 1;
}

#budget-packages .card-highlights li {
  color: #555555;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
  text-align: left;
}

#budget-packages .card-highlights li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  color: #10b981;
  font-weight: 900;
  font-size: 16px;
}

/* Glass Pill CTA Button */
#budget-packages .btn-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--btn-bg, linear-gradient(135deg, #10b981, #059669)) !important;
  color: var(--btn-text, #ffffff) !important;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  backdrop-filter: blur(5px);
  margin-top: auto;
  box-shadow: 0 4px 15px var(--map-active-glow, rgba(16, 185, 129, 0.3)) !important;
}

#budget-packages .btn-pill:hover {
  background: var(--btn-bg, linear-gradient(135deg, #059669, #10b981)) !important;
  color: var(--btn-text, #ffffff) !important;
  filter: brightness(1.1) !important;
  transform: scale(1.05);
  box-shadow: 0 8px 25px var(--map-active-glow, rgba(16, 185, 129, 0.45)) !important;
  border-color: transparent !important;
}

/* --- Premium Fleet Section Styles --- */
#premium-fleet {
  padding: 100px 20px;
  font-family: 'Montserrat', sans-serif;
  color: #1e293b;
  position: relative;
  overflow: hidden;
}

#premium-fleet .fleet-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

#premium-fleet .section-header {
  text-align: center;
  margin-bottom: 60px;
}

#premium-fleet .section-header h2 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 15px;
  color: #111b29;
}

#premium-fleet .section-header p {
  color: #64748b;
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto;
}

#premium-fleet .fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

#premium-fleet .fleet-card {
  background: #ffffff;
  border: 1px solid rgba(16, 185, 129, 0.3); /* Transparent emerald outline */
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  height: 100%;
}

#premium-fleet .fleet-card:hover {
  transform: translateY(-5px);
  border-color: var(--map-active-fill, #10b981) !important;
  box-shadow: 0 15px 35px var(--map-active-glow, rgba(16, 185, 129, 0.25)) !important;
}

#premium-fleet .fleet-silhouette {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  color: #ffffff;
  background: var(--map-active-fill, #10b981);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 8px 20px var(--map-active-glow, rgba(16, 185, 129, 0.3));
  transition: all 0.3s ease;
}

#premium-fleet .fleet-silhouette svg {
  width: 45px;
  height: 45px;
  stroke: #ffffff;
}

#premium-fleet .fleet-info {
  margin-bottom: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

#premium-fleet .fleet-info h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary, #111b29);
  margin-bottom: 15px;
}

#premium-fleet .capacity {
  display: inline-block;
  background: var(--card-bg, #111b29);
  border: 1px solid var(--card-border, rgba(255, 255, 255, 0.1));
  color: var(--text-primary, #ffffff);
  padding: 8px 16px;
  border-radius: 8px;
  margin-bottom: 15px;
}

#premium-fleet .cap-number {
  font-size: 16px;
  font-weight: 700;
  color: var(--map-active-fill, #10b981);
}

#premium-fleet .cap-label {
  font-size: 13px;
  font-weight: 500;
  margin-left: 4px;
}

#premium-fleet .fleet-info p {
  font-size: 14px;
  color: var(--text-secondary, #64748b);
  line-height: 1.6;
}

#premium-fleet .btn-outline {
  display: block;
  width: 100%;
  padding: 14px 20px;
  border: 2px solid var(--map-active-fill, #10b981);
  color: var(--map-active-fill, #10b981);
  background: transparent;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

#premium-fleet .btn-outline:hover {
  background: var(--btn-bg, linear-gradient(135deg, #10b981, #059669));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 20px var(--map-active-glow, rgba(16, 185, 129, 0.3));
}

/* --- Testimonials Section Styles --- */
#testimonials {
  padding: 80px 20px;
  font-family: 'Montserrat', sans-serif;
  color: #1e293b;
  position: relative;
  overflow: hidden;
}

#testimonials .testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

#testimonials .section-header {
  text-align: center;
  margin-bottom: 60px;
}

#testimonials .section-header h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 15px;
  color: #0f172a;
}

#testimonials .section-header p {
  color: #64748b;
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

#testimonials .testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 350px));
  justify-content: center;
  gap: 30px;
}

/* Glassmorphic Card Setup */
#testimonials .testimonial-card {
  position: relative;
  background: #f8fafc;
  border-radius: 20px;
  padding: 40px 35px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  overflow: hidden;
  
  /* Initial state for GSAP Fade Up */
  opacity: 0;
  transform: translateY(30px);
}

#testimonials .testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 150px;
  color: rgba(16, 185, 129, 0.08); /* Emerald green faint */
  font-family: Georgia, serif;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
}

#testimonials .card-content {
  position: relative;
  z-index: 1;
}

/* Hover translating 5px up with depth shadow */
#testimonials .testimonial-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.8);
}

#testimonials .reviewer-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

#testimonials .avatar {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 18px;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

#testimonials .reviewer-info h4 {
  margin: 0 0 5px 0;
  font-size: 18px;
  font-weight: 800;
  color: #1e293b;
}

#testimonials .country-badge {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}

#testimonials .stars {
  color: #fbbf24;
  font-size: 22px;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

#testimonials .quote {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #334155;
  font-style: italic;
  font-weight: 500;
  overflow-wrap: anywhere;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Alternating Decorative Images --- */
.section-decor-img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: auto;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}
.decor-left {
  left: -80px;
}
.decor-right {
  right: -80px;
}

/* =========================================
   PACKAGES PAGE STYLES
   ========================================= */

/* Hero Section */
#packages-hero {
  padding-top: 240px;
  padding-bottom: 180px;
  text-align: center;
  color: #1e293b;
  position: -webkit-sticky; position: sticky;
  top: 0;
  z-index: 0;
  background: url('../asspts/hero/packages/packages_day.png') center/cover no-repeat;
  transition: background-image 0.5s ease;
}
#packages-hero .hero-content {
  position: relative;
  z-index: 2;
  /* Optional: Add a subtle glass effect behind the text just in case the background is too busy */
  display: inline-block;
  padding: 30px 50px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
#packages-hero .hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #10b981;
}
#packages-hero .hero-content p {
  font-size: 20px;
  color: #475569;
  max-width: 700px;
  margin: 0 auto;
}

/* Tour Categories (Pills) */
#tour-categories {
  padding: 30px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  position: relative;
  z-index: 2;
  background: #ffffff; /* Must be solid white so it covers the sticky hero when scrolling */
}

/* White shade gradient over the cloud overlay to seamlessly blend it into the section */
#tour-categories::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, #ffffff 5%, rgba(255, 255, 255, 0) 100%);
  z-index: 4;
  pointer-events: none;
}

.cloud-overlay {
  position: absolute;
  bottom: 100%; /* Sits exactly on top of the tour-categories section */
  left: 0;
  width: 100%;
  height: auto;
  min-height: 120px;
  object-fit: cover;
  object-position: bottom;
  pointer-events: none;
  z-index: 3;
}

.categories-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.pill {
  background: var(--card-bg, #f1f5f9) !important;
  color: var(--text-secondary, #475569) !important;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--card-border, rgba(0, 0, 0, 0.1)) !important;
}
.pill:hover, .pill.active {
  background: var(--map-active-fill, #10b981) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 15px var(--map-active-glow, rgba(16, 185, 129, 0.3)) !important;
}

/* Packages Grid */
#packages-grid {
  padding: 80px 20px;
  position: relative;
  background: #ffffff;
  z-index: 2;
}
#packages-grid .grid-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 2;
}
.tour-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0,0,0,0.02);
  position: relative;
}
.tour-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}
.card-image-wrapper {
  height: 260px;
  position: relative;
  overflow: hidden;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  margin-bottom: -15px;
  z-index: 1;
}
.card-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 40%, rgba(255, 255, 255, 0) 100%);
  z-index: 2;
  pointer-events: none;
}
.card-badges {
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  display: flex;
  justify-content: space-between;
  z-index: 3;
}
.duration-badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.card-title-overlay {
  position: absolute;
  bottom: 25px;
  left: 20px;
  right: 20px;
  z-index: 3;
  text-align: left;
}
.card-title-overlay h3 {
  margin: 0 0 5px 0;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
}
.price-tag {
  color: #ffffff !important;
  font-weight: 800;
  font-size: 20px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85) !important;
}
.price-tag span {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85) !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85) !important;
}
.card-body {
  padding: 35px 25px 20px;
  flex-grow: 1;
  color: var(--text-secondary, #475569);
  font-size: 14px;
  background: transparent !important;
  position: relative;
  z-index: 2;
}
.info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  text-align: left;
}
.info-icon {
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-text {
  line-height: 1.5;
}
.info-text strong {
  color: #1e293b;
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}
.highlights-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed rgba(0,0,0,0.1);
  text-align: left;
}
.highlights-section strong {
  color: #1e293b;
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}
.highlights-section ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
.highlights-section li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
  color: #64748b;
  font-size: 14px;
}
.highlights-section li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}
.card-footer {
  padding: 0 25px 25px;
  background: var(--dynamic-color-lighter, #ffffff);
  z-index: 2;
  position: relative;
}
.btn-book-tour {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--btn-bg, linear-gradient(135deg, #10b981, #059669)) !important;
  color: var(--btn-text, #ffffff) !important;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent !important;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 4px 15px var(--map-active-glow, rgba(16, 185, 129, 0.3)) !important;
}
.btn-book-tour:hover {
  background: var(--btn-bg, linear-gradient(135deg, #059669, #10b981)) !important;
  color: var(--btn-text, #ffffff) !important;
  filter: brightness(1.1) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--map-active-glow, rgba(16, 185, 129, 0.45)) !important;
  border-color: transparent !important;
}
.btn-book-tour svg {
  transition: transform 0.3s ease;
}
.btn-book-tour:hover svg {
  transform: translateX(4px);
}

/* Booking Form Section */
#booking-form-section {
  padding: 100px 20px;
  position: relative;
  background: #ffffff;
  z-index: 2;
}
#booking-form-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(16,185,129,0.05), transparent 50%);
  pointer-events: none;
}
.booking-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.form-header {
  text-align: center;
  color: #1e293b;
  margin-bottom: 40px;
}
.form-header h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #10b981;
}
.form-header p {
  color: #64748b;
  font-size: 16px;
}
.glass-form {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(0,0,0,0.05);
  padding: 40px;
  border-radius: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}
.form-group {
  display: flex;
  flex-direction: column;
  width: calc(50% - 10px);
}
.form-group.full-width {
  width: 100%;
}
@media (max-width: 768px) {
  .form-group { width: 100%; }
}
.form-group label {
  color: #475569;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.5);
  padding: 14px 25px;
  border-radius: 50px; /* Fully round theme */
  font-family: inherit;
  font-size: 15px;
  color: #1e293b;
  outline: none;
  transition: box-shadow 0.3s, border 0.3s;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.form-group textarea {
  border-radius: 20px; /* Slightly less round for the large text box */
  padding: 20px 25px;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  background: #ffffff;
  border-color: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

/* Custom Select Dropdown UI */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  background: var(--card-bg, rgba(255, 255, 255, 0.9)) !important;
  color: var(--text-primary, #1e293b) !important;
  border: 1px solid var(--card-border, rgba(16, 185, 129, 0.2)) !important;
  padding: 14px 25px;
  border-radius: 50px;
  font-family: inherit;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: box-shadow 0.3s, border 0.3s, background 0.3s;
}

.custom-select-trigger span {
  color: var(--text-primary, #1e293b) !important;
}

.calc-start .custom-select-trigger {
  border-left: 5px solid var(--map-active-fill, #10b981) !important;
}

.calc-end .custom-select-trigger {
  border-left: 5px solid var(--map-hover-fill, #34d399) !important;
}

.custom-select-trigger.active {
  background: var(--card-bg, #ffffff) !important;
  border-color: var(--map-active-fill, #10b981) !important;
  box-shadow: 0 0 0 4px var(--map-active-glow, rgba(16, 185, 129, 0.2)) !important;
  border-radius: 25px 25px 0 0;
}

.custom-select-trigger .arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--map-active-fill, #10b981) !important;
  border-bottom: 2px solid var(--map-active-fill, #10b981) !important;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.custom-select-trigger.active .arrow {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.custom-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--card-bg, rgba(255, 255, 255, 0.95)) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--card-border, rgba(16, 185, 129, 0.2)) !important;
  border-top: none;
  border-radius: 0 0 25px 25px;
  box-shadow: var(--card-shadow, 0 10px 30px rgba(0,0,0,0.1)) !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
  max-height: 250px;
  overflow-y: auto;
}

.custom-select-wrapper.open {
  z-index: 999;
}

.custom-select-wrapper.open .custom-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-search {
  padding: 12px;
  position: -webkit-sticky; position: sticky;
  top: 0;
  background: var(--card-bg, #ffffff) !important;
  z-index: 101;
  border-bottom: 1px solid var(--card-border, rgba(0, 0, 0, 0.05)) !important;
}

.location-search-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--card-border, #e2e8f0) !important;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
  background: var(--bg-global, #f8fafc) !important;
  color: var(--text-primary, #0f172a) !important;
}

.location-search-input:focus {
  border-color: var(--map-active-fill, #3b82f6) !important;
  background: var(--card-bg, #ffffff) !important;
}

.custom-option {
  padding: 12px 25px;
  color: var(--text-primary, #475569) !important;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}

.custom-option:hover {
  background: var(--map-active-glow, rgba(16, 185, 129, 0.15)) !important;
  color: var(--map-active-fill, #10b981) !important;
}

.custom-option.selected {
  background: var(--map-active-fill, #10b981) !important;
  color: #ffffff !important;
}

/* Flatpickr Custom Theme Overrides */
.flatpickr-calendar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  border: 1px solid rgba(16, 185, 129, 0.2) !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
  font-family: 'Montserrat', sans-serif !important;
}

.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange, .flatpickr-day.selected.inRange, .flatpickr-day.startRange.inRange, .flatpickr-day.endRange.inRange, .flatpickr-day.selected:focus, .flatpickr-day.startRange:focus, .flatpickr-day.endRange:focus, .flatpickr-day.selected:hover, .flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover, .flatpickr-day.selected.prevMonthDay, .flatpickr-day.startRange.prevMonthDay, .flatpickr-day.endRange.prevMonthDay, .flatpickr-day.selected.nextMonthDay, .flatpickr-day.startRange.nextMonthDay, .flatpickr-day.endRange.nextMonthDay {
  background: #10b981 !important;
  border-color: #10b981 !important;
}

.form-group input::placeholder, .form-group textarea::placeholder {
  color: #94a3b8;
}
.textarea-wrapper {
  position: relative;
}
.textarea-wrapper textarea {
  width: 100%;
  resize: vertical;
  box-sizing: border-box;
}
.char-counter {
  position: absolute;
  bottom: 10px;
  right: 15px;
  font-size: 12px;
  color: #94a3b8;
  pointer-events: none;
}
.form-footer {
  margin-top: 20px;
  align-items: center;
}
.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  border: none;
  padding: 16px 30px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp svg {
  width: 24px;
  height: 24px;
}
.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
  background: #22bf5b;
}
.secure-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
  color: #94a3b8;
  font-size: 13px;
}
.lock-icon {
  width: 14px;
  height: 14px;
}

/* =========================================
   ABOUT PAGE STYLES
   ========================================= */

/* 1. Hero Section */
#about-hero {
  padding-top: 240px;
  padding-bottom: 180px;
  text-align: center;
  color: #1e293b;
  position: -webkit-sticky; position: sticky;
  top: 0;
  z-index: 0;
  background: url('../asspts/hero/about/about_day.png') center/cover no-repeat;
  transition: background-image 0.5s ease;
}
.hero-overlay {
  display: none;
}
#about-hero .hero-content {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 30px 50px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  max-width: 800px;
  margin: 0 auto;
}
#about-hero h1 {
  font-size: 48px;
  font-weight: 800;
  color: #10b981;
  margin-bottom: 20px;
  text-shadow: none;
}
#about-hero p {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  color: #64748b;
}

/* 2. Company Introduction */
#company-intro {
  padding: 100px 20px;
  background: #ffffff;
  text-align: center;
}
#company-intro .container {
  max-width: 1000px;
  margin: 0 auto;
}
.about-story-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px;
  text-align: left;
  position: relative;
  z-index: 2;
  border-left: 5px solid #10b981;
}
.about-story-card p {
  font-size: 18px;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 20px;
}
.about-story-card p:last-child {
  margin-bottom: 0;
}

/* 3. Vision & Mission */
#vision-mission {
  padding: 80px 20px;
  background: #ffffff;
  position: relative;
}
#vision-mission .container {
  max-width: 1200px;
  margin: 0 auto;
}
.vm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}
.glass-card {
  background: transparent;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}
.glass-card:hover {
  transform: translateY(-5px);
}
.glass-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: #10b981;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}
.glass-card h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: #10b981;
  border-radius: 2px;
}
.glass-card p {
  color: #475569;
  line-height: 1.7;
  font-size: 16px;
}
.experience-banner {
  background: #111b29;
  color: #ffffff;
  padding: 30px;
  text-align: center;
  border-radius: 16px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 15px 30px rgba(16, 185, 129, 0.1);
}
.experience-banner h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #10b981;
}

/* 4. Comprehensive Why Choose Us */
#comprehensive-wcu {
  padding: 100px 20px;
  background: #ffffff;
  position: relative;
}
#comprehensive-wcu .container {
  max-width: 1200px;
  margin: 0 auto;
}
#comprehensive-wcu h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  color: #111b29;
  margin-bottom: 60px;
}
.wcu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.wcu-item {
  background: transparent;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.wcu-item:hover {
  background: #ffffff;
  box-shadow: 0 15px 30px rgba(0,0,0,0.05);
  border-color: rgba(16, 185, 129, 0.2);
}
.wcu-icon {
  width: 60px;
  height: 60px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.wcu-item h4 {
  font-size: 20px;
  font-weight: 700;
  color: #111b29;
  margin-bottom: 15px;
}
.wcu-item p {
  color: #64748b;
  font-size: 15px;
  line-height: 1.6;
}

/* 5. CTA Section */
#about-cta {
  background: #ffffff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
}
#about-cta .container {
  max-width: 800px;
  margin: 0 auto;
}
#about-cta h2 {
  color: #10b981;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 40px;
}
.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-primary {
  background: #10b981;
  color: #ffffff;
  border: 2px solid #10b981;
}
.btn-primary:hover {
  background: transparent;
  color: #10b981;
}
.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.2);
}
.btn-secondary:hover {
  border-color: #ffffff;
}

/* Responsive Overrides */
@media (max-width: 768px) {
  #about-hero h1 { font-size: 32px; }
  #about-hero p { font-size: 16px; }
  .vm-grid { grid-template-columns: 1fr; }
  .experience-banner h2 { font-size: 22px; }
  #comprehensive-wcu h2 { font-size: 28px; }
  #about-cta h2 { font-size: 28px; }
}

/* =========================================
   GALLERY PAGE STYLES
   ========================================= */

/* Gallery Hero */
#gallery-hero {
  padding-top: 240px;
  padding-bottom: 180px;
  text-align: center;
  color: #1e293b;
  position: -webkit-sticky; position: sticky;
  top: 0;
  z-index: 0;
  background: url('../asspts/hero/gallery/gallery_day.png') center/cover no-repeat;
  transition: background-image 0.5s ease;
}
#gallery-hero .hero-content {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 30px 50px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  max-width: 800px;
  margin: 0 auto;
}
#gallery-hero h1 {
  font-size: 48px;
  font-weight: 800;
  color: #10b981;
  margin-bottom: 20px;
}
#gallery-hero p {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  color: #64748b;
}

/* Gallery Grid Section */
#gallery-grid-section {
  padding: 60px 20px 100px;
  background: #ffffff;
  position: relative;
}
#gallery-grid-section .container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  background: transparent;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.05);
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
}
.gallery-item:hover img {
  transform: scale(1.05);
}

/* =========================================
   NEWS PAGE STYLES
   ========================================= */

#news-hero {
  padding-top: 240px;
  padding-bottom: 180px;
  text-align: center;
  color: #1e293b;
  position: -webkit-sticky; position: sticky;
  top: 0;
  z-index: 0;
  background: url('../asspts/hero/news/news_day.png') center/cover no-repeat;
  transition: background-image 0.5s ease;
}
#news-hero .hero-content {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 30px 50px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  max-width: 800px;
  margin: 0 auto;
}
#news-hero h1 {
  font-size: 48px;
  font-weight: 800;
  color: #10b981;
  margin-bottom: 20px;
}
#news-hero p {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  color: #64748b;
}

#news-grid-section {
  padding: 60px 20px 100px;
  background: #ffffff;
  position: relative;
}
#news-grid-section .container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Featured News Card */
.news-featured-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .news-featured-card {
    flex-direction: row;
  }
  .news-featured-card .news-img-wrapper {
    width: 50%;
    height: auto;
  }
  .news-featured-card .news-content {
    width: 50%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.news-img-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
}
.news-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.glass-card:hover .news-img-wrapper img {
  transform: scale(1.05);
}
.news-category {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #10b981;
  color: #fff;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  z-index: 2;
}

.news-content {
  padding: 30px;
}
.news-meta {
  color: #94a3b8;
  font-size: 14px;
  margin-bottom: 15px;
  font-weight: 600;
}
.news-content h2 {
  font-size: 28px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 15px;
  line-height: 1.3;
}
.news-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 15px;
  line-height: 1.3;
}
.news-content p {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 25px;
}
.btn-read-more {
  display: inline-block;
  color: #10b981;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
}
.btn-read-more span {
  display: inline-block;
  transition: transform 0.3s ease;
}
.btn-read-more:hover {
  color: #0d9668;
}
.btn-read-more:hover span {
  transform: translateX(5px);
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}
.news-card {
  padding: 0;
  display: flex;
  flex-direction: column;
}
.news-card .news-img-wrapper {
  height: 220px;
}

/* =========================================
   BLOG PAGE STYLES
   ========================================= */

#blog-hero {
  padding-top: 240px;
  padding-bottom: 180px;
  text-align: center;
  color: #1e293b;
  position: -webkit-sticky; position: sticky;
  top: 0;
  z-index: 0;
  background: url('../asspts/hero/blog/blog_day.png') center/cover no-repeat;
  transition: background-image 0.5s ease;
}
#blog-hero .hero-content {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 30px 50px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  max-width: 800px;
  margin: 0 auto;
}
#blog-hero h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--map-active-fill, #10b981) !important;
  margin-bottom: 20px;
}
#blog-hero p {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  color: #64748b;
}

#blog-grid-section {
  padding: 60px 20px 100px;
  background: #ffffff;
  position: relative;
}
#blog-grid-section .container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.blog-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.blog-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.blog-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.glass-card:hover .blog-img-wrapper img {
  transform: scale(1.05);
}
.blog-category {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--map-active-fill, #10b981) !important;
  color: #ffffff !important;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 4px 10px var(--map-active-glow, rgba(16, 185, 129, 0.3)) !important;
}

.blog-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
  line-height: 1.4;
  cursor: pointer;
  transition: color 0.3s ease;
}
.blog-content h3:hover {
  color: var(--map-hover-fill, #34d399) !important;
}

.blog-content p {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0,0,0,0.05);
  padding-top: 20px;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.author-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
}
.blog-date {
  display: block;
  font-size: 12px;
  color: #94a3b8;
}
.read-time {
  font-size: 13px;
  color: var(--map-active-fill, #10b981) !important;
  font-weight: 600;
}

/* =========================================
   CONTACT PAGE STYLES
   ========================================= */

#contact-hero {
  padding-top: 240px;
  padding-bottom: 180px;
  text-align: center;
  color: #1e293b;
  position: -webkit-sticky; position: sticky;
  top: 0;
  z-index: 0;
  background: url('../asspts/hero/contact/contact_day.png') center/cover no-repeat;
  transition: background-image 0.5s ease;
}
#contact-hero .hero-content {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 30px 50px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  max-width: 800px;
  margin: 0 auto;
}
#contact-hero h1 {
  font-size: 48px;
  font-weight: 800;
  color: #10b981;
  margin-bottom: 20px;
}
#contact-hero p {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  color: #64748b;
}

#contact-main {
  padding: 40px 20px 100px;
  background: #ffffff;
  position: relative;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  position: relative;
  z-index: 2;
}
@media (min-width: 992px) {
  .contact-container {
    grid-template-columns: 5fr 7fr;
  }
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-block h2 {
  font-size: 24px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 25px;
  border-bottom: 2px solid rgba(16, 185, 129, 0.2);
  padding-bottom: 15px;
}

.info-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
@media (min-width: 576px) {
  .info-item {
    flex-direction: row;
    align-items: flex-start;
  }
  .info-label {
    width: 140px;
    flex-shrink: 0;
  }
}
.info-label {
  font-weight: 700;
  color: #10b981;
  font-size: 15px;
  margin-bottom: 5px;
}
.info-value {
  color: #475569;
  font-size: 16px;
  line-height: 1.5;
}
.info-value a {
  color: #1e293b;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}
.info-value a:hover {
  color: #10b981;
}

.social-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
}
.social-btn {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  transition: all 0.3s ease;
}
.social-btn:hover {
  background: #10b981;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(16, 185, 129, 0.2);
}

.botim-section {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  padding: 20px;
  border: 1px dashed rgba(16, 185, 129, 0.4);
}
.botim-section h3 {
  font-size: 16px;
  color: #1e293b;
  margin-bottom: 15px;
  font-weight: 700;
}
.botim-qr {
  display: flex;
  align-items: center;
  gap: 20px;
}
.botim-qr img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  border: 2px solid #10b981;
  padding: 5px;
  background: #fff;
}
.botim-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.scan-label {
  font-size: 14px;
  color: #64748b;
  font-weight: 600;
}
.scan-name {
  font-size: 18px;
  color: #10b981;
  font-weight: 800;
}

/* Custom Form inside Contact */
.custom-form .w-100 {
  width: 100%;
}

/* =========================================
   RANDOM FLOATING BACKGROUND ICONS
   ========================================= */

.random-bg-icon {
  position: absolute;
  z-index: 1; /* Sits behind z-index: 2 content */
  opacity: 0.2; /* Increased visibility per user request */
  pointer-events: none; /* User cannot click or drag them */
}

/* Ensure all page content sections sit cleanly above the icons */
section > .container, 
section > .hero-content, 
.page-content > section > div {
  position: relative;
  z-index: 2;
}

/* =========================================
   GLOBAL PARALLAX HERO SUPPORT
   ========================================= */

/* Base styles for the sliding content sections below the heroes */
#company-intro, 
#gallery-grid-section,
#news-grid-section,
#blog-grid-section,
#contact-main {
  background: #ffffff;
  position: relative;
  z-index: 2;
}

/* White shade gradients over the clouds for a seamless transition */
#company-intro::before,
#gallery-grid-section::before,
#news-grid-section::before,
#blog-grid-section::before,
#contact-main::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, #ffffff 5%, rgba(255, 255, 255, 0) 100%);
  z-index: 4;
  pointer-events: none;
}

/* =========================================
   MOBILE RESPONSIVENESS OVERRIDES
   ========================================= */
@media (max-width: 768px) {
  /* Prevent horizontal overflow strictly on mobile */
  html, body {
    overflow-x: clip !important;
    max-width: 100%;
    width: 100%;
  }

  /* Fix white gap on the right by forcing full viewport width */
  main, .pin-spacer {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  
  /* Ensure navbar does not stretch past screen bounds */
  .navbar {
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    left: 0 !important;
  }
  
  /* Bring the About text into the visible 400-800 center slice on mobile */
  .content-group .about-text-container {
    transform: translateX(330px) translateY(200px) !important;
    width: 350px !important; 
  }
  
  /* Increase font size inside the SVG for mobile readability */
  .content-group .about-text-container div {
    font-size: 12px !important;
    line-height: 1.4 !important;
    text-align: center !important;
  }

  /* Show and position the about image below the text */
  .content-group .about-img {
    display: block !important;
    transform-origin: 0 0 !important;
    transform: translateX(120px) translateY(100px) scale(0.55) !important;
  }
  
  /* Position the decorative background blob */
  .content-group .about-bg {
    display: block !important;
    transform-origin: 0 0 !important;
    transform: translateX(400px) translateY(-100px) scale(0.8) !important;
  }
  
  /* Adjust the map text to avoid overlapping */
  .sri-lanka-text {
    font-size: 15px !important;
  }

  /* General padding adjustments for smaller screens */
  #why-choose-us,
  #budget-packages,
  #premium-fleet,
  #testimonials,
  #company-intro,
  #vision-mission,
  #comprehensive-wcu,
  #about-cta,
  #gallery-grid-section,
  #news-grid-section,
  #blog-grid-section,
  #contact-main,
  #booking-form-section {
    padding: 60px 15px !important;
  }
  
  /* Form elements should be full width */
  .form-group {
    width: 100% !important;
  }
  
  /* Make sure grids don't force too much width */
  .wcu-grid, 
  .packages-grid, 
  .fleet-grid, 
  .testimonials-grid, 
  .gallery-grid, 
  .news-grid, 
  .blog-grid {
    grid-template-columns: 1fr !important;
  }

  /* Typography adjustments for mobile */
  .section-header h2,
  #why-choose-us .wcu-header h2,
  #budget-packages .section-header h2,
  #premium-fleet .section-header h2,
  #testimonials .section-header h2,
  #packages-hero h1,
  #about-hero h1,
  #gallery-hero h1,
  #news-hero h1,
  #blog-hero h1,
  #contact-hero h1 {
    font-size: 28px !important;
  }
  
  .section-header p,
  #packages-hero p,
  #about-hero p,
  #gallery-hero p,
  #news-hero p,
  #blog-hero p,
  #contact-hero p {
    font-size: 15px !important;
    padding: 0 10px;
  }

  /* Interactive Map adjustments */
  .interactive-map-section {
    flex-direction: column !important;
    gap: 20px;
  }
  
  .map-container {
    transform: none !important;
    width: 100% !important;
    order: -1; /* Ensure map is above details */
  }
  
  .map-details {
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  /* Footer adjustments */
  .footer-container {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    gap: 30px;
  }
  
  .footer-col h3::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
  
  .social-links {
    justify-content: center !important;
  }
  
  .nav-left, .nav-right {
    display: none !important;
  }
  
  .nav-center {
    justify-content: flex-start !important;
  }
  
  .hamburger {
    display: flex !important;
  }
  
  /* Fix spacing for the navbar */
  .navbar {
    padding: 10px 20px !important;
  }

  /* Remove excessive gap between Hero/About and Interactive Map on mobile */
  .white-spacer {
    display: none !important;
  }
}

@media (min-width: 769px) {
  /* Scale down the massive flag image on desktop and center it vertically */
  .content-group .about-img {
    transform-origin: center !important;
    transform: scale(0.8) translateY(-40px) !important;
  }
  
  /* Shift the text down slightly on desktop so it isn't clipped by widescreen monitors */
  .content-group .about-text-container {
    transform: translateY(20px) !important;
  }
}

/* --- Rate Calculator Section --- */
#rate-calculator {
  padding: 100px 20px;
  font-family: 'Montserrat', sans-serif;
  color: #1e293b;
  position: relative;
  overflow-x: clip;
  /* Removed overflow: hidden to allow dropdowns to overlap next section */
  background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%);
}

.calculator-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.calculator-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  margin-top: 30px;
  position: relative;
  /* Removed overflow: hidden so custom dropdowns can overflow the box */
}

.calc-step {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateY(15px);
}

.calc-step.active {
  display: block;
}

.calc-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.form-group {
  margin-bottom: 25px;
  text-align: left;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row .half {
  flex: 1;
}

.form-group label {
  display: block;
  font-size: 14px;
  color: #64748b;
  margin-bottom: 8px;
  font-weight: 600;
}

.calc-select, .calc-input {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 16px;
  color: #1e293b;
  font-family: inherit;
  background: #f8fafc;
  transition: all 0.3s ease;
}

.calc-select:focus, .calc-input:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
  background: #ffffff;
}

.input-with-icon {
  position: relative;
}

.input-with-icon .calc-input {
  padding-right: 45px;
  cursor: pointer;
}

.input-with-icon .input-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  stroke: #94a3b8;
  pointer-events: none;
}

.btn-calculate {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  border: none;
  padding: 16px 30px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-calculate:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(16, 185, 129, 0.4);
}

.calc-summary, .selected-vehicle-summary {
  background: #f1f5f9;
  padding: 15px 20px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  font-weight: 600;
  color: #1e293b;
}

.btn-text {
  background: transparent;
  border: 2px solid #e2e8f0;
  color: #64748b;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  transition: all 0.3s ease;
}

.btn-text:hover {
  border-color: #10b981;
  color: #10b981;
  background: rgba(16, 185, 129, 0.05);
}

.calculator-box .info-box {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
  width: 100% !important;
  text-align: center !important;
}

.map-and-info {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 20px !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.calc-map-box {
  width: 100% !important;
  max-width: 650px !important;
  height: 260px !important;
  border-radius: 16px !important;
  background: var(--bg-global, #e2e8f0) !important;
  overflow: hidden !important;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.05) !important;
  border: 1px solid var(--card-border, rgba(0,0,0,0.1)) !important;
  margin: 0 auto !important;
  z-index: 1;
}

.distance-row {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  padding: 10px 24px !important;
  background: var(--bg-global, #f8fafc) !important;
  border-radius: 30px !important;
  margin: 0 auto 20px auto !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  border: 1px solid var(--card-border, #e2e8f0) !important;
  color: var(--text-primary, #0f172a) !important;
}

.distance-row .label {
  color: var(--text-secondary, #64748b) !important;
}

.distance-row .value {
  color: var(--map-active-fill, #10b981) !important;
  font-weight: 800 !important;
}

.vehicle-options {
  display: flex !important;
  flex-direction: column !important;
  gap: 15px !important;
  width: 100% !important;
  max-width: 650px !important;
  margin: 0 auto !important;
}

.vehicle-option-card {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 16px 24px !important;
  border: 2px solid var(--card-border, rgba(0, 0, 0, 0.1)) !important;
  border-radius: 16px !important;
  background: var(--card-bg, #ffffff) !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.vehicle-option-card:hover, .vehicle-option-card.selected {
  border-color: var(--map-active-fill, #10b981) !important;
  background: var(--map-active-glow, rgba(16, 185, 129, 0.08)) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px var(--map-active-glow, rgba(16, 185, 129, 0.2)) !important;
}

.vehicle-option-card .v-icon {
  width: 50px !important;
  height: 50px !important;
  object-fit: contain !important;
}

.vehicle-option-card .v-details {
  flex: 1 !important;
  padding: 0 20px !important;
  text-align: left !important;
}

.vehicle-option-card .v-name {
  display: block !important;
  font-weight: 700 !important;
  color: var(--text-primary, #1e293b) !important;
  font-size: 16px !important;
}

.vehicle-option-card .v-pax {
  display: block !important;
  font-size: 13px !important;
  color: var(--text-secondary, #64748b) !important;
  margin-top: 3px !important;
}

.vehicle-option-card .v-price {
  font-weight: 800 !important;
  color: var(--map-active-fill, #10b981) !important;
  font-size: 17px !important;
}

.vehicle-option-card .v-price.v-price-quote {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  color: #f59e0b !important;
  background: rgba(245, 158, 11, 0.12);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  white-space: nowrap;
}

.success-message {
  text-align: center;
  padding: 30px 0;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.success-message h3 {
  color: #1e293b;
  font-size: 24px;
  margin-bottom: 15px;
}

.success-message p {
  color: #64748b;
  margin-bottom: 30px;
}

@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  .calculator-box {
    padding: 25px 15px;
  }
  .calc-summary, .selected-vehicle-summary {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .vehicle-option-card {
    padding: 12px 10px;
    gap: 10px;
  }
  .vehicle-option-card .v-icon {
    width: 40px;
    height: 40px;
  }
  .vehicle-option-card .v-name {
    font-size: 14px;
  }
  .vehicle-option-card .v-price {
    font-size: 14px;
  }
  .btn-calculate {
    font-size: 14px;
    padding: 14px 20px;
  }
  .distance-row {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    font-size: 14px !important;
  }
  .distance-row .value {
    font-size: 18px !important;
  }
  .calc-select, .calc-input {
    padding: 12px 15px;
    font-size: 15px;
  }
}

/* Calculator Specific Global Typography Fixes */
.calc-main-title {
  color: #1e3a8a !important; 
  font-size: 38px !important;
  font-weight: 900 !important; 
  margin-top: 5px;
  line-height: 1.1;
  letter-spacing: 2px;
}
@media (max-width: 600px) {
  .calc-main-title {
    font-size: 26px !important;
    letter-spacing: 1px !important;
  }
}
.calc-summary, .selected-vehicle-summary {
  font-size: 16px;
}
.distance-row {
  font-size: 16px;
}
.distance-row .value {
  font-size: 20px;
}

/* Custom Dropdown Colors */
.calc-start .custom-select-trigger {
  border-left: 4px solid #000000;
}
.calc-start .custom-option:hover, .calc-start .custom-option.selected {
  background: rgba(0, 0, 0, 0.05);
  color: #000000;
}

.calc-end .custom-select-trigger {
  border-left: 4px solid #94a3b8; /* slightly darker than white so it's visible */
}
.calc-end .custom-option:hover, .calc-end .custom-option.selected {
  background: rgba(148, 163, 184, 0.1);
  color: #64748b;
}

/* Map Line SVG Animation & B&W Map Filter */
.calc-map-box .leaflet-tile-pane {
  filter: grayscale(100%) contrast(1.15) brightness(0.9);
}

.leaflet-routing-container {
  display: none !important; /* Force hide LRM instruction box */
}

/* Fix massive Leaflet copyright on mobile */
.leaflet-control-attribution {
  font-size: 9px !important;
  transform-origin: bottom right;
}
@media (max-width: 600px) {
  .leaflet-control-attribution {
    font-size: 8px !important;
    transform: scale(0.85);
  }
}

path.solid-gradient-route-line {
  stroke: url(#route-gradient) !important;
  stroke-linejoin: round;
  stroke-linecap: round;
}

path.white-wave-route-line {
  /* Dash is the pulse width (40px), Gap is huge (3000px) so only one pulse exists */
  stroke-dasharray: 40, 3000;
  animation: uberPulse 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9));
}

@keyframes uberPulse {
  0% { stroke-dashoffset: 40; }
  100% { stroke-dashoffset: -3000; }
}

@keyframes popIn {
  0% { opacity: 0; transform: translateY(20px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Blur-up Loading Technique */
.blur-load {
  position: relative;
  background-size: cover;
  background-position: center;
}
.blur-load::before {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(20px);
  background: inherit;
  filter: blur(10px);
  transform: scale(1.1);
  z-index: 1;
  transition: opacity 0.5s ease-in-out;
}
.blur-load.loaded::before {
  opacity: 0;
  pointer-events: none;
}
.blur-load img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
.blur-load.loaded img {
  opacity: 1;
}


/* Gallery Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 25, 0.95);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.gallery-lightbox.active {
  opacity: 1;
  pointer-events: all;
}
.gallery-lightbox img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  border-radius: 10px;
  transition: transform 0.3s ease;
  transform: scale(0.95);
}
.gallery-lightbox.active img {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.3s;
  line-height: 1;
}
.lightbox-close:hover {
  color: var(--accent-emerald);
}
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 50px;
  cursor: pointer;
  z-index: 10000;
  padding: 20px;
  transition: color 0.3s, transform 0.3s;
  user-select: none;
}
.lightbox-prev {
  left: 20px;
}
.lightbox-next {
  right: 20px;
}
.lightbox-prev:hover {
  color: var(--accent-emerald);
  transform: translateY(-50%) translateX(-5px);
}
.lightbox-next:hover {
  color: var(--accent-emerald);
  transform: translateY(-50%) translateX(5px);
}
.lightbox-counter {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
}


/* Gallery Like Button */
.gallery-like-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 6px 14px;
  color: #f1f5f9;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.gallery-like-btn:hover {
  background: rgba(15, 23, 42, 0.7);
  transform: translateY(-3px) scale(1.05);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.gallery-like-btn:active {
  transform: translateY(0) scale(0.95);
}
.gallery-like-btn svg {
  width: 18px;
  height: 18px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.gallery-like-btn.liked {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.2);
}
.gallery-like-btn.liked:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.6);
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}
@keyframes popHeart {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1.2); }
}
.gallery-like-btn.liked svg {
  fill: #ef4444;
  color: #ef4444;
  filter: drop-shadow(0 0 4px rgba(239, 68, 68, 0.5));
  animation: popHeart 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Lightbox specific like button */
#lightbox-like-btn {
  top: 30px;
  left: 30px;
  bottom: auto;
  right: auto;
  padding: 10px 24px;
  font-size: 16px;
  gap: 12px;
  border-radius: 50px;
  background: rgba(15, 23, 42, 0.6);
  z-index: 10001;
  position: absolute;
}
#lightbox-like-btn:hover {
  transform: translateY(-3px) scale(1.05);
}
#lightbox-like-btn:active {
  transform: translateY(0) scale(0.95);
}
#lightbox-like-btn svg {
  width: 22px;
  height: 22px;
}


/* Home Gallery Section Styles */
.home-gallery-slide {
  height: 350px !important;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
  transition: transform 0.4s ease;
  position: relative;
  background: #0f172a;
}
.home-gallery-slide:hover {
  transform: translateY(-10px);
}
.gallery-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-backdrop {
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: center;
  filter: blur(20px);
  opacity: 0.5;
  z-index: 1;
}
.gallery-img-contained {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  transition: transform 0.6s ease;
}
.home-gallery-slide:hover .gallery-img-contained {
  transform: scale(1.05);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0) 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  z-index: 3;
}
.likes-badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 30px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.likes-badge svg {
  color: #f43f5e;
}
.swiper-pagination-bullet-active {
  background: #10b981 !important;
}

/* Featured Packages Grid */
#featured-packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 2;
}

/* Premium Article Cards (News & Blogs) */
.premium-article-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.03);
}
.premium-article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.article-img-wrapper {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
}
.article-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.premium-article-card:hover .article-img {
  transform: scale(1.05);
}
.article-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--map-active-fill, #10b981) !important;
  color: #ffffff !important;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
  box-shadow: 0 4px 12px var(--map-active-glow, rgba(16, 185, 129, 0.4)) !important;
}
.article-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.article-meta {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 10px;
  font-weight: 600;
}
.article-title {
  font-size: 1.25rem;
  color: #0f172a;
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.article-excerpt {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-footer {
  margin-top: auto;
  border-top: 1px solid #f1f5f9;
  padding-top: 15px;
}
.article-read-more {
  color: var(--map-active-fill, #10b981) !important;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  transition: color 0.3s ease !important;
}
.article-read-more:hover {
  color: var(--map-hover-fill, #34d399) !important;
}
.article-read-more svg {
  transition: transform 0.3s ease;
}
.premium-article-card:hover .article-read-more svg {
  transform: translateX(4px);
}

/* Featured Article Card */
.featured-article-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  margin-bottom: 40px;
  position: relative;
  transition: all 0.4s ease;
}
.featured-article-card:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  transform: translateY(-5px);
}
.featured-img-wrapper {
  height: 400px;
  position: relative;
  overflow: hidden;
}
.featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 20px;
  align-self: flex-start;
}
.featured-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 15px;
}
.featured-excerpt {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 30px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 900px) {
  .featured-article-card {
    grid-template-columns: 1fr;
  }
  .featured-img-wrapper {
    height: 300px;
  }
  .featured-content {
    padding: 30px 20px;
  }
  .featured-title {
    font-size: 1.8rem;
  }
}

/* Beautiful Read Page Headers */
.read-hero-section {
  width: 100%;
  min-height: 500px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 60px 20px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.read-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,23,42,0.2) 0%, rgba(15,23,42,0.9) 100%);
  z-index: 1;
}
.read-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  color: #fff;
}
.read-hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 20px;
}
.read-hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  font-family: 'Outfit', sans-serif;
}
.read-hero-meta {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  gap: 15px;
}
.read-content-section {
  padding: 80px 20px;
  background: #fff;
  position: relative;
  z-index: 3;
}
.read-content-container {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.9;
  color: #334155;
}
.read-content-container p {
  margin-bottom: 25px;
}
@media (max-width: 768px) {
  .read-hero-title {
    font-size: 2.2rem;
  }
  .read-hero-section {
    min-height: 400px;
  }
}

/* --- Floating Contact Button --- */
.floating-contact-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}
.fab-menu {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  transform-origin: bottom center;
}
.floating-contact-container.active .fab-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.fab-item {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.fab-item:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.fab-wa {
  background: #25D366;
}
.fab-msg {
  background: #3b82f6;
}
.fab-label {
  position: absolute;
  right: 65px;
  background: rgba(15, 23, 42, 0.9);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s;
  transform: translateX(10px);
  pointer-events: none;
  font-family: 'Open Sans', sans-serif;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.fab-label::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  border-width: 5px 0 5px 5px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(15, 23, 42, 0.9);
}
.fab-item:hover .fab-label {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.fab-main {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #059669, #10b981);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(16, 185, 129, 0.4);
  transition: all 0.3s ease;
  pointer-events: auto;
}
.fab-main:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}
.floating-contact-container.active .fab-main {
  background: #0f172a;
  box-shadow: 0 5px 20px rgba(15, 23, 42, 0.4);
  transform: rotate(90deg);
}
.fab-icon-open, .fab-icon-close {
  width: 28px;
  height: 28px;
}
@media (max-width: 768px) {
  .floating-contact-container {
    bottom: 20px;
    right: 20px;
  }
  .fab-main {
    width: 56px;
    height: 56px;
  }
  .fab-label {
    display: none;
  }
}

/* Contact Page Mobile Ordering Fix */
@media (max-width: 991px) {
  .contact-info-col {
    display: contents;
  }
  .contact-container {
    display: flex;
    flex-direction: column;
  }
  .contact-info-col > .contact-block:first-child {
    order: 1;
  }
  .contact-form-col {
    order: 2;
  }
  .contact-info-col > .contact-block:last-child {
    order: 3;
    margin-top: -10px;
  }
}

/* --- Force Compact Mobile Dropdown for intlTelInput --- */
@media (max-width: 768px) {
  .iti {
    position: relative !important;
  }
  .iti--fullscreen-popup .iti__dropdown-content {
    position: absolute !important;
    top: 100% !important;
    bottom: auto !important;
    left: 0 !important;
    right: auto !important;
    width: 320px !important;
    max-width: 90vw !important;
    max-height: 250px !important;
    transform: none !important;
    border-radius: 8px !important;
    padding: 0 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    background: #fff !important;
    z-index: 99999 !important;
  }
  .iti--fullscreen-popup .iti__country-list {
    max-height: 200px !important;
    overflow-y: auto !important;
  }
  .iti__country {
    padding: 8px 12px !important;
  }
  .iti__country-name, .iti__dial-code {
    font-size: 13px !important;
    line-height: 1.2 !important;
  }
  .iti__search-input {
    font-size: 13px !important;
    padding: 8px !important;
    margin: 5px !important;
    width: calc(100% - 10px) !important;
  }
}



#form-cover-image {
  width: calc(100% + 80px);
  height: 0px;
  margin: -40px -40px 0 -40px;
  border-radius: 20px 20px 0 0;
  background-size: cover;
  background-position: center;
  transition: opacity 0.8s ease, height 0.5s ease, margin 0.5s ease;
  filter: blur(2px);
  transform: scale(1.02);
  transform-origin: top center;
  opacity: 0;
}
#form-cover-image.active {
  height: 200px;
  margin-bottom: 20px;
  opacity: 1;
}
@media (max-width: 768px) {
  #form-cover-image {
    width: calc(100% + 50px);
    margin: -25px -25px 0 -25px;
  }
  #form-cover-image.active {
    margin-bottom: 20px;
  }
}

/* Floating Side Social Links */
.floating-side-links {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: rgba(255, 255, 255, 0.35); /* More transparent for glass effect */
  padding: 15px 12px 15px 15px;
  border-top-left-radius: 24px;
  border-bottom-left-radius: 24px;
  box-shadow: -2px 5px 20px rgba(0,0,0,0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.6), inset 0 0 10px rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-right: none;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.floating-side-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #f8fafc;
  color: #334155;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.floating-side-links a:hover {
  background: #10b981;
  color: #fff;
  transform: scale(1.15) translateX(-5px);
  box-shadow: 0 8px 15px rgba(16, 185, 129, 0.3);
}

.floating-side-links svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 768px) {
  .floating-side-links {
  opacity: 0;
  pointer-events: none;
    bottom: 20px;
    top: auto;
    right: 50%;
    transform: translateX(50%);
    flex-direction: row;
    border-radius: 30px;
    padding: 10px 20px;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
    gap: 20px;
  }
  
  .floating-side-links a:hover {
    transform: scale(1.15) translateY(-5px);
  }
}


.floating-side-links.show-links {
  opacity: 1;
  pointer-events: auto;
}

/* --- TIME-BASED DYNAMIC THEME --- */

/* Hero Image Theme Maps (Instant CSS Render) */
html[data-time-theme="morning"] {
  --packages-hero-img: url('../asspts/hero/packages/packages_morning.png');
  --gallery-hero-img: url('../asspts/hero/gallery/gallery_morning.png');
  --about-hero-img: url('../asspts/hero/about/about_morning.png');
  --blog-hero-img: url('../asspts/hero/blog/blog_morning.png');
  --news-hero-img: url('../asspts/hero/news/news_morning.png');
  --contact-hero-img: url('../asspts/hero/contact/contact_morning.png');
}

html[data-time-theme="day"] {
  --packages-hero-img: url('../asspts/hero/packages/packages_day.png');
  --gallery-hero-img: url('../asspts/hero/gallery/gallery_day.png');
  --about-hero-img: url('../asspts/hero/about/about_day.png');
  --blog-hero-img: url('../asspts/hero/blog/blog_day.png');
  --news-hero-img: url('../asspts/hero/news/news_day.png');
  --contact-hero-img: url('../asspts/hero/contact/contact_day.png');
}

html[data-time-theme="sunset"] {
  --packages-hero-img: url('../asspts/hero/packages/packages_sunset.png');
  --gallery-hero-img: url('../asspts/hero/gallery/gallery_sunset.png');
  --about-hero-img: url('../asspts/hero/about/about_sunset.png');
  --blog-hero-img: url('../asspts/hero/blog/blog_sunset.png');
  --news-hero-img: url('../asspts/hero/news/news_sunset.png');
  --contact-hero-img: url('../asspts/hero/contact/contact_sunset.png');
}

html[data-time-theme="night"] {
  --packages-hero-img: url('../asspts/hero/packages/packages_night.png');
  --gallery-hero-img: url('../asspts/hero/gallery/gallery_night.png');
  --about-hero-img: url('../asspts/hero/about/about_night.png');
  --blog-hero-img: url('../asspts/hero/blog/blog_night.png');
  --news-hero-img: url('../asspts/hero/news/news_night.png');
  --contact-hero-img: url('../asspts/hero/contact/contact_night.png');
}

#packages-hero {
  background-image: var(--packages-hero-img, url('../asspts/hero/packages/packages_day.png')) !important;
}

#gallery-hero {
  background-image: var(--gallery-hero-img, url('../asspts/hero/gallery/gallery_day.png')) !important;
}

#about-hero {
  background-image: var(--about-hero-img, url('../asspts/hero/about/about_day.png')) !important;
}

#blog-hero {
  background-image: var(--blog-hero-img, url('../asspts/hero/blog/blog_day.png')) !important;
}

#news-hero {
  background-image: var(--news-hero-img, url('../asspts/hero/news/news_day.png')) !important;
}

#contact-hero {
  background-image: var(--contact-hero-img, url('../asspts/hero/contact/contact_day.png')) !important;
}

/* 1. Global Background */
body, html {
  background: var(--bg-global) !important;
  background-attachment: fixed !important;
  color: var(--text-primary) !important;
  transition: background 1s ease, color 0.5s ease;
}

main, section, .white-spacer, .interactive-map-section, #featured-packages, #why-choose-us, #rate-calculator, #budget-packages, #premium-fleet, #testimonials, #home-gallery {
  background-color: transparent !important;
}

/* 2. Navbar & Mobile Sidebar (Solid Non-Glassy) */
.navbar, header {
  background: var(--nav-bg) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: background 0.5s ease;
}

.navbar a, .navbar span, .navbar .nav-link, .nav-link, header a, .navbar-brand {
  color: var(--nav-text, #ffffff) !important;
}
.mobile-menu, .mobile-menu.scrolled {
  background: var(--sidebar-bg, #0284c7) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.mobile-menu a, .mobile-nav a, .sidebar-contact a {
  color: var(--sidebar-text, #ffffff) !important;
}
.hamburger span {
  background: var(--nav-text, #ffffff) !important;
}
.navbar svg, header svg {
  stroke: var(--nav-text, #ffffff) !important;
  fill: none;
}
.mobile-nav svg, .sidebar-contact svg {
  stroke: var(--sidebar-text, #ffffff) !important;
  fill: none;
}
header svg path[fill="currentColor"], .navbar svg path[fill="currentColor"] {
    fill: var(--nav-text, #ffffff) !important;
}

/* 3. Cards */
.package-card, .blog-card, .news-card, .gallery-item, .contact-card, .form-container, .contact-info, .wcu-card, .fleet-card, .testimonial-card, .calculator-box, .calc-map-box, .info-box {
  background-color: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  box-shadow: var(--card-shadow) !important;
  
  /* Keep the subtle dynamic color from the image JS if it exists */
  background-image: linear-gradient(180deg, var(--dynamic-color-light, rgba(0,0,0,0)), transparent 100%) !important;
  
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  transition: background-color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

/* Fix calculator flex layout */
.calculator-box, .calc-map-box {
  display: block !important;
  width: 100% !important;
}

/* Transfer Rate Calculator Theme Styling & Map Route Line */
.calculator-box {
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  box-shadow: var(--card-shadow) !important;
  color: var(--text-primary) !important;
}

.calc-summary, .selected-vehicle-summary {
  background: var(--bg-global) !important;
  border: 1px solid var(--card-border) !important;
  color: var(--text-primary) !important;
  border-radius: 14px !important;
  padding: 14px 20px !important;
}

#route-summary-text, #selected-vehicle-name, #selected-vehicle-price {
  color: var(--text-primary) !important;
  font-weight: 700 !important;
}

#btn-edit-route, #btn-change-vehicle, .btn-text {
  color: var(--map-active-fill) !important;
  background: var(--card-bg) !important;
  border: 1px solid var(--map-active-fill) !important;
  padding: 6px 16px !important;
  border-radius: 20px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}

#btn-edit-route:hover, #btn-change-vehicle:hover, .btn-text:hover {
  background: var(--map-active-fill) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px var(--map-active-glow, rgba(16, 185, 129, 0.4)) !important;
}

path.solid-gradient-route-line {
  stroke: url(#route-gradient) !important;
  stroke-width: 6px !important;
  stroke-linejoin: round;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px var(--map-active-glow, rgba(16, 185, 129, 0.8)));
  transition: all 0.5s ease;
}

path.white-wave-route-line {
  stroke: #ffffff !important;
}
.calc-step .form-row {
  width: 100% !important;
  display: flex;
  gap: 20px;
}
.calc-step .form-group.half {
  flex: 1;
}
.calculator-box label, .calculator-box span {
  color: var(--text-primary) !important;
}

/* 4. Text Colors inside Cards */
.package-card h3, .blog-card h3, .news-card h3, .contact-info h3, .wcu-card h3, .fleet-card h3, .testimonial-card h3, .testimonial-card h4, .calculator-box h3, .calc-map-box h3, .info-box h3,
.package-card p, .blog-card p, .news-card p, .contact-info p, .wcu-card p, .fleet-card p, .testimonial-card p, .calculator-box p, .calc-map-box p, .info-box p {
  transition: color 0.5s ease;
}

.package-card h3, .blog-card h3, .news-card h3, .contact-info h3, .wcu-card h3, .fleet-card h3, .testimonial-card h3, .testimonial-card h4, .calculator-box h3, .calc-map-box h3, .info-box h3 {
  color: var(--text-primary) !important;
}

.package-card p, .blog-card p, .news-card p, .contact-info p, .wcu-card p, .fleet-card p, .testimonial-card p, .calculator-box p, .calc-map-box p, .info-box p, .card-content p {
  color: var(--text-secondary) !important;
}

/* Global headings and SVG text */
h1, h2, h3, h4, .section-title, .section-header p, .sri-lanka-text, .about-text-content, .about-text-container div, .about-text-container p {
  color: var(--text-primary) !important;
  fill: var(--text-primary) !important;
  text-shadow: none !important;
  transition: color 0.5s ease, fill 0.5s ease;
}

/* 5. Buttons */
.btn, .btn-book, .primary-btn, .submit-btn, .book-btn, .btn-calculate, .btn-book-tour, .btn-pill {
  background: var(--btn-bg) !important;
  color: var(--btn-text) !important;
  border: none !important;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.btn:hover, .btn-book:hover, .primary-btn:hover, .submit-btn:hover, .book-btn:hover, .btn-calculate:hover, .btn-book-tour:hover, .btn-pill:hover {
  transform: translateY(-2px) !important;
  filter: brightness(1.1) !important;
}

/* 6. Hero Specific Rules based on data-time-theme */
html[data-time-theme="morning"] #home-gallery, html[data-time-theme="morning"] main svg {
  filter: brightness(1.1); /* Morning hero brightness +10% */
}

html[data-time-theme="sunset"] #home-gallery, html[data-time-theme="sunset"] main svg {
  filter: sepia(0.3) saturate(1.2); /* Sunset warm overlay */
}
/* No filter for day */

/* --- PARALLAX SCROLL-OVER HERO EFFECT (INNER PAGES) --- */
.page-content > section:first-child, 
.page-content > header:first-child,
#blog-hero, #news-hero, #contact-hero, #about-hero, #gallery-hero, #packages-hero {
  position: sticky !important;
  top: 0 !important;
  z-index: 0 !important;
}

.page-content {
  position: relative;
  z-index: 1;
}

.page-content > section:not(:first-child), 
.page-content > div:not(:first-child),
#blog-grid-section, #news-grid-section, #contact-main, #gallery-grid-section {
  position: relative !important;
  z-index: 2 !important;
  background: var(--bg-global) !important;
  background-attachment: fixed !important;
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.15) !important;
}


/* --- SEAMLESS CLOUD MASK WITH GLOW --- */
/* Hide the original img to prevent edge clashing, but keep it in DOM */
img.cloud-overlay {
  display: none !important;
}

/* Recreate the cloud using a pseudo-element on the parent section. 
   Because the parent has background-attachment: fixed, this pseudo-element 
   will perfectly align the gradient with ZERO hard edge! */
section:has(.cloud-overlay)::before, div:has(> .cloud-overlay)::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 15vw; /* Maintain cloud aspect ratio */
  min-height: 120px;
  background: var(--bg-global) !important;
  background-attachment: fixed !important;
  -webkit-mask-image: url('../asspts/UI/cloud-hero-overlay.png');
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: bottom;
  pointer-events: none;
  z-index: 3;
  /* Add dynamic glow based on time of day */
  filter: drop-shadow(0px -10px 15px var(--cloud-glow, rgba(255,255,255,0.5)));
}


/* --- DYNAMIC THEME: NAVBAR SCROLLED & FLOATING ICONS --- */

/* Force navbar to respect theme colors even when scrolled */
.navbar.scrolled {
  background: var(--nav-bg) !important;
}
.navbar.scrolled a, .navbar.scrolled span, .navbar.scrolled .nav-link, .navbar.scrolled .navbar-brand {
  color: var(--nav-text) !important;
}
.navbar.scrolled svg {
  stroke: var(--nav-text) !important;
}
.navbar.scrolled svg path[fill="currentColor"] {
  fill: var(--nav-text) !important;
}

/* Floating Side Links (TripAdvisor, Google Review, etc.) */
.floating-side-links {
  background: var(--nav-bg) !important;
  border-color: var(--card-border) !important;
}
.floating-side-links a svg {
  fill: var(--nav-text) !important;
  color: var(--nav-text) !important;
}

/* Floating Contact Icon / WhatsApp */
.floating-contact-container a, .floating-contact-container .contact-btn, .floating-contact-container button {
  background: var(--btn-bg) !important;
  color: var(--btn-text) !important;
}
.floating-contact-container svg {
  fill: var(--btn-text) !important;
  /* If it relies on stroke: */
  /* stroke: var(--btn-text) !important; */
}
/* Ensure any specific paths inside contact SVG inherit text color */
.floating-contact-container svg path {
  fill: currentColor !important;
}

/* Scroll to top button (if any) */
.scroll-top, #scroll-top, .back-to-top {
  background: var(--btn-bg) !important;
  color: var(--btn-text) !important;
}


/* Fix hardcoded green hover state on side links */
.floating-side-links a:hover {
  background: var(--btn-bg) !important;
  color: var(--btn-text) !important;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2) !important;
}
.floating-side-links a:hover svg {
  fill: var(--btn-text) !important;
  color: var(--btn-text) !important;
}


/* Force sections that had hardcoded backgrounds to be transparent for the time theme */
#why-choose-us, #rate-calculator, #featured-packages, #budget-packages, #premium-fleet, #testimonials, #home-gallery, .interactive-map-section, .white-spacer {
  background: transparent !important;
}

/* Also ensure any inner containers in rate calculator that might be white are transparent or glass */
.calc-map-box {
  background: rgba(255, 255, 255, 0.4) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.wcu-card, .calc-form-container, .rate-calculator-form {
  background: rgba(255, 255, 255, 0.4) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}


/* --- BUG FIXES: DROPDOWN CLIPPING & DYNAMIC MAP --- */

/* 1. Fix Rate Calculator Dropdown Clipping */
#rate-calculator {
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
}

/* Ensure the custom dropdown has a very high z-index and doesn't get clipped by any parent containers */
.calc-step {
  overflow: visible !important;
}
.calculator-box {
  overflow: visible !important;
}
.calc-map-box {
  /* This map box can keep overflow: hidden for the leaflet map, but the form isn't inside it */
}
.custom-options {
  z-index: 99999 !important;
}

/* 2. Dynamic SVG Map Styling & Details Card Text White Fix */
.map-details h1, .map-details h2, .map-details h3, .map-details h4, .map-details p, .map-details span {
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}
.detail-places-list li {
  color: #ffffff !important;
  background: rgba(15, 23, 42, 0.6) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9) !important;
}
.detail-places-list li:hover {
  background: var(--map-active-fill, #10b981) !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
}


/* --- BUG FIXES: NIGHT MODE IMAGES & CARD TYPOGRAPHY --- */

/* Ensure text inside cards properly inherits the time theme colors (light text at night, dark in day) */
.package-card *, .tour-category-card *, .review-card *, .news-card *, .gallery-item *, .wcu-card *, .calc-form-container *, .rate-calculator-form *, .calculator-box * {
  /* Only apply to text elements to avoid overriding icons unexpectedly */
}
.package-card h1, .package-card h2, .package-card h3, .package-card h4, .package-card p, .package-card span, .package-card .price,
.tour-category-card h3, .tour-category-card p,
.review-card h3, .review-card p, .review-card span,
.news-card h3, .news-card p, .news-card span,
.wcu-card h3, .wcu-card p,
.calc-form-container label, .calc-form-container span, .calculator-box label, .calculator-box h2, .calculator-box p {
  color: var(--text-primary) !important;
}

.package-card p, .review-card p, .news-card p, .wcu-card p {
  color: var(--text-secondary) !important;
}

/* Force specific package card elements to dark glass at night */
.package-card, .tour-category-card, .news-card, .review-card, .wcu-card {
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
}
/* Ensure the inner content wrappers don't have hardcoded white backgrounds */
.package-content, .tour-content, .news-content, .review-content {
  background: transparent !important;
}


/* Invert decorative background images (B1, B2, B3, B4) to white in night mode */
html[data-time-theme="night"] img[src*="B1"], 
html[data-time-theme="night"] img[src*="B2"], 
html[data-time-theme="night"] img[src*="B3"], 
html[data-time-theme="night"] img[src*="B4"],
html[data-time-theme="night"] image[href*="B1"],
html[data-time-theme="night"] image[href*="B2"],
html[data-time-theme="night"] image[href*="B3"],
html[data-time-theme="night"] image[href*="B4"],
html[data-time-theme="night"] .section-decor-img,
html[data-time-theme="night"] .map-decoration-image,
html[data-time-theme="night"] .about-bg {
  filter: brightness(0) invert(1) opacity(0.3) !important;
}


/* --- BUG FIX: FLOATING SIDEBAR ICONS --- */
/* Make the circular backgrounds of the sidebar icons adapt to the theme so the icon doesn't disappear in night mode */
.floating-side-links a {
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
}
.floating-side-links a svg {
  fill: var(--text-primary) !important;
  color: var(--text-primary) !important;
}


/* --- DYNAMIC TIME THEME TOUR CARDS --- */
.tour-card {
  background: var(--card-bg, #ffffff) !important;
  border: 1px solid var(--card-border, rgba(0, 0, 0, 0.08)) !important;
  box-shadow: var(--card-shadow, 0 10px 30px rgba(0, 0, 0, 0.08)) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.4s ease, border 0.4s ease, box-shadow 0.4s ease !important;
}

.tour-card .card-body,
.tour-card .card-footer,
.tour-card .tour-content {
  background: transparent !important;
}

/* Force title and price on image overlay to ALWAYS be white */
.card-title-overlay h1,
.card-title-overlay h2,
.card-title-overlay h3,
.card-title-overlay h4,
.card-title-overlay p,
.card-title-overlay span,
.card-title-overlay .price-tag,
.card-title-overlay .price-tag span,
.tour-card .card-title-overlay * {
  color: #ffffff !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85) !important;
}

/* Card body text inherits dynamic time theme colors */
.card-body strong, 
.card-body .info-text strong, 
.card-body .highlights-section strong {
  color: var(--text-primary, #0f172a) !important;
}

.card-body .info-text, 
.card-body .highlights-section li {
  color: var(--text-secondary, #475569) !important;
}


/* --- BUG FIX: BUTTON TEXT VISIBILITY --- */
/* Ensure the text inside buttons doesn't accidentally inherit the card's light-text variables in night mode */
.btn-book-tour span, .btn-book-tour svg, .btn-pill span, .btn-pill svg {
  color: var(--btn-text, #ffffff) !important;
  fill: none !important;
}

/* --- DYNAMIC TIME THEME BLOG & NEWS CARDS & SECTIONS --- */
#blog-hero-section, #news-hero-section {
  background: transparent !important;
}

.premium-article-card, .featured-article-card, .blog-card, .news-card {
  background: var(--card-bg, #ffffff) !important;
  border: 1px solid var(--card-border, rgba(0, 0, 0, 0.08)) !important;
  box-shadow: var(--card-shadow, 0 10px 30px rgba(0, 0, 0, 0.08)) !important;
  transition: transform 0.4s ease, background 0.4s ease, border 0.4s ease, box-shadow 0.4s ease !important;
}

.premium-article-card .article-content, 
.featured-article-card .featured-content, 
.blog-card .blog-content, 
.news-card .news-content {
  background: transparent !important;
}

.premium-article-card .article-title, 
.featured-article-card .featured-title, 
.blog-card h3, 
.news-card h3,
.premium-article-card h3,
.featured-article-card h3 {
  color: var(--text-primary, #0f172a) !important;
  transition: color 0.3s ease !important;
}

.premium-article-card:hover .article-title,
.featured-article-card:hover .featured-title,
.blog-card h3:hover,
.news-card h3:hover {
  color: var(--map-active-fill, #10b981) !important;
}

.premium-article-card .article-excerpt, 
.premium-article-card .article-meta, 
.featured-article-card .featured-excerpt, 
.featured-article-card .featured-meta, 
.blog-card p, 
.news-card p,
.article-meta span,
.featured-meta span {
  color: var(--text-secondary, #475569) !important;
}

.article-badge, .blog-category, .news-category, .news-date-badge {
  background: var(--map-active-fill, #10b981) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 10px var(--map-active-glow, rgba(16, 185, 129, 0.3)) !important;
}

.article-read-more, .btn-read-more, .read-more-btn {
  color: var(--map-active-fill, #10b981) !important;
  transition: color 0.3s ease !important;
}

.article-read-more:hover, .btn-read-more:hover, .read-more-btn:hover {
  color: var(--map-hover-fill, #34d399) !important;
}

.article-footer, .blog-footer, .featured-footer {
  border-top: 1px solid var(--card-border, rgba(255, 255, 255, 0.1)) !important;
}

#blog-hero .hero-content, #news-hero .hero-content, #contact-hero .hero-content, #about-hero .hero-content, #gallery-hero .hero-content, #packages-hero .hero-content {
  background: var(--card-bg, rgba(255, 255, 255, 0.85)) !important;
  border: 1px solid var(--card-border, rgba(255, 255, 255, 0.3)) !important;
  box-shadow: var(--card-shadow, 0 10px 30px rgba(0, 0, 0, 0.08)) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

#blog-hero h1, #news-hero h1, #contact-hero h1, #about-hero h1, #gallery-hero h1, #packages-hero h1 {
  color: var(--map-active-fill, #10b981) !important;
}

#blog-hero p, #news-hero p, #contact-hero p, #about-hero p, #gallery-hero p, #packages-hero p {
  color: var(--text-secondary, #64748b) !important;
}

/* --- NIGHT MODE FIREFLIES EFFECT --- */
.firefly-container {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  pointer-events: none !important;
  z-index: 1 !important;
  opacity: 0;
  transition: opacity 1s ease;
}

html[data-time-theme="night"] .firefly-container {
  opacity: 1 !important;
}

.firefly {
  position: absolute !important;
  width: 4px;
  height: 4px;
  border-radius: 50% !important;
  background: #fef08a !important;
  box-shadow: 0 0 8px #fde047, 0 0 16px #06b6d4, 0 0 24px rgba(6, 182, 212, 0.9) !important;
  pointer-events: none !important;
  animation: fireflyFloat 10s infinite ease-in-out, fireflyGlow 2.5s infinite ease-in-out;
}

@keyframes fireflyFloat {
  0% {
    transform: translate(0, 0) scale(0.8);
  }
  25% {
    transform: translate(35px, -45px) scale(1.2);
  }
  50% {
    transform: translate(-30px, -90px) scale(0.9);
  }
  75% {
    transform: translate(40px, -50px) scale(1.3);
  }
  100% {
    transform: translate(0, 0) scale(0.8);
  }
}

@keyframes fireflyGlow {
  0%, 100% {
    opacity: 0.3;
    box-shadow: 0 0 4px #fde047, 0 0 8px #06b6d4;
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 10px #fde047, 0 0 20px #06b6d4, 0 0 30px rgba(6, 182, 212, 0.9);
  }
}
