/* Custom Styles for Star Plus Travels */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Sinhala:wght@400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

/* Global Viewport Containment & Smooth Scrolling */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.lang-si, html.lang-si body, html.lang-si button, html.lang-si input, html.lang-si select, html.lang-si textarea {
  font-family: 'Noto Sans Sinhala', 'Plus Jakarta Sans', sans-serif !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

html.lang-si {
  overflow-x: clip;
  max-width: 100vw;
}

/* Header Nav Rules in Sinhala (Desktop Navbar: Balanced character width & smooth spacing) */
html.lang-si header nav.hidden.lg\:flex {
  gap: 0.4rem !important;
}

html.lang-si header nav.hidden.lg\:flex a {
  letter-spacing: -0.02em !important;
  font-size: 0.775rem !important;
  padding-left: 0.3rem !important;
  padding-right: 0.3rem !important;
  white-space: nowrap !important;
}

@media (min-width: 1280px) {
  html.lang-si header nav.hidden.lg\:flex {
    gap: 0.85rem !important;
  }
  html.lang-si header nav.hidden.lg\:flex a {
    font-size: 0.825rem !important;
    padding-left: 0.4rem !important;
    padding-right: 0.4rem !important;
  }
}

@media (min-width: 1536px) {
  html.lang-si header nav.hidden.lg\:flex {
    gap: 1.25rem !important;
  }
  html.lang-si header nav.hidden.lg\:flex a {
    font-size: 0.875rem !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
}

/* Mobile Menu Drawer Layout (Full responsiveness, safe-area inset & Sinhala harmony) */
#mobileMenu {
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: max(5.5rem, calc(4.5rem + env(safe-area-inset-bottom, 2rem))) !important;
}

#mobileMenu nav {
  gap: 0 !important;
}

#mobileMenu nav a {
  display: flex !important;
  align-items: center !important;
  white-space: normal !important;
  font-size: 0.95rem !important;
  line-height: 1.4 !important;
  letter-spacing: normal !important;
}

#mobileMenu .grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

#mobileMenu .grid a {
  display: flex !important;
  align-items: center !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  font-size: 0.8125rem !important;
  padding: 0.35rem 0.25rem !important;
}

/* Specific Sinhala typography and flex alignment inside Mobile Menu */
html.lang-si #mobileMenu nav a {
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

html.lang-si #mobileMenu .grid a {
  font-size: 0.775rem !important;
  line-height: 1.35 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Compact & Non-Shrinking Language Toggle Button (Single Unified Component) */
.lang-toggle-btn {
  min-width: 82px !important;
  height: 36px !important;
  padding: 0.35rem 0.65rem !important;
  font-size: 0.75rem !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  border-radius: 0.75rem !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.lang-toggle-btn i {
  font-size: 0.75rem !important;
}

.lang-toggle-btn .desktop-lang-text {
  font-size: 0.75rem !important;
  line-height: 1 !important;
}

/* Top Announcement / Contact Bar Single-Line Strict Rules & Pure Seamless Transparency */
.top-announcement-bar,
.top-bar-container {
  white-space: nowrap !important;
  flex-wrap: nowrap !important;
}

.top-announcement-bar {
  background: transparent !important;
  border: none !important;
  border-bottom: none !important;
  border-top: none !important;
  box-shadow: none !important;
}

html.lang-si .top-announcement-bar,
html.lang-si .top-announcement-bar * {
  letter-spacing: -0.015em !important;
}

html.lang-si [data-i18n="topAnnouncementText"],
html.lang-si [data-i18n="topLocation"],
html.lang-si [data-i18n="topBarHiring"],
html.lang-si [data-i18n="whatsappConcierge"] {
  font-size: 0.725rem !important;
  white-space: nowrap !important;
}

/* Hero Section Headline Formatting & Balance */
#heroHeadline {
  text-wrap: balance;
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65), 0 1px 3px rgba(0, 0, 0, 0.40);
}

#heroHeadline .text-amber-400,
#heroHeadline .text-amber-500,
#heroHeadline .gold-accent {
  color: #fbbf24 !important;
  -webkit-text-fill-color: #fbbf24 !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  opacity: 1 !important;
  font-weight: inherit;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.70), 0 1px 3px rgba(0, 0, 0, 0.50);
}

#heroSubHeadline {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.70), 0 1px 3px rgba(0, 0, 0, 0.50);
}

html.lang-si #heroHeadline {
  font-size: clamp(1.65rem, 3.8vw, 3.1rem) !important;
  line-height: 1.32 !important;
  letter-spacing: -0.01em !important;
  max-width: 48rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-wrap: balance !important;
}

html.lang-si #heroSubHeadline {
  font-size: clamp(0.875rem, 1.3vw, 1.05rem) !important;
  line-height: 1.65 !important;
  max-width: 44rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ==========================================================================
   Design System & Theme CSS Variables
   ========================================================================== */

/* 1. Default Tokens: Light Mode */
:root {
  --primary-dark: #070e17;
  --ocean-deep: #0b192c;
  --ocean-blue: #1e3e62;
  --ocean-light: #2e5a88;
  --accent-gold: #f59e0b;
  --accent-gold-hover: #d97706;
  --accent-coral: #ff6b6b;

  /* Semantic Theme Tokens: Light Mode */
  --theme-bg-base: #f8fafc;
  --theme-bg-surface: #ffffff;
  --theme-bg-surface-elevated: #f1f5f9;
  --theme-bg-nav: rgba(255, 255, 255, 0.92);
  --theme-bg-card: rgba(255, 255, 255, 0.96);
  --theme-bg-card-hover: #ffffff;
  --theme-bg-input: #ffffff;
  --theme-border-subtle: rgba(15, 23, 42, 0.08);
  --theme-border-card: rgba(226, 232, 240, 0.95);
  --theme-border-input: rgba(15, 23, 42, 0.16);
  --theme-text-primary: #0f172a;
  --theme-text-secondary: #334155;
  --theme-text-muted: #64748b;
  --theme-card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --theme-card-shadow-hover: 0 20px 30px -10px rgba(0, 0, 0, 0.12), 0 0 20px rgba(245, 158, 11, 0.15);
  --theme-scrollbar-track: #f1f5f9;
  --theme-scrollbar-thumb: #cbd5e1;
  --theme-glow-opacity: 0.12;
  --theme-modal-backdrop: rgba(15, 23, 42, 0.75);
}

/* 2. Automatic OS System Preference: Dark Mode */
@media (prefers-color-scheme: dark) {
  :root:not(.light) {
    color-scheme: dark;
    --theme-bg-base: #060e1a;
    --theme-bg-surface: #0f1d36;
    --theme-bg-surface-elevated: #152744;
    --theme-bg-nav: rgba(6, 14, 26, 0.82);
    --theme-bg-card: rgba(15, 23, 42, 0.45);
    --theme-bg-card-hover: rgba(26, 38, 64, 0.60);
    --theme-bg-input: rgba(11, 21, 40, 0.50);
    --theme-border-subtle: rgba(255, 255, 255, 0.08);
    --theme-border-card: rgba(255, 255, 255, 0.12);
    --theme-border-input: rgba(255, 255, 255, 0.18);
    --theme-text-primary: #f8fafc;
    --theme-text-secondary: #cbd5e1;
    --theme-text-muted: #94a3b8;
    --theme-card-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.50), 0 0 1px 1px rgba(255, 255, 255, 0.06);
    --theme-card-shadow-hover: 0 20px 45px -10px rgba(0, 0, 0, 0.60), 0 0 25px rgba(245, 158, 11, 0.22);
    --theme-scrollbar-track: #060e1a;
    --theme-scrollbar-thumb: #1e3a5f;
    --theme-glow-opacity: 0.48;
    --theme-modal-backdrop: rgba(3, 7, 18, 0.85);
  }
}

/* 3. Explicit Dark Mode Class Override */
html.dark {
  color-scheme: dark;
  --theme-bg-base: #060e1a;
  --theme-bg-surface: #0f1d36;
  --theme-bg-surface-elevated: #152744;
  --theme-bg-nav: rgba(6, 14, 26, 0.82);
  --theme-bg-card: rgba(15, 23, 42, 0.45);
  --theme-bg-card-hover: rgba(26, 38, 64, 0.60);
  --theme-bg-input: rgba(11, 21, 40, 0.50);
  --theme-border-subtle: rgba(255, 255, 255, 0.08);
  --theme-border-card: rgba(255, 255, 255, 0.12);
  --theme-border-input: rgba(255, 255, 255, 0.18);
  --theme-text-primary: #f8fafc;
  --theme-text-secondary: #cbd5e1;
  --theme-text-muted: #94a3b8;
  --theme-card-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.50), 0 0 1px 1px rgba(255, 255, 255, 0.06);
  --theme-card-shadow-hover: 0 20px 45px -10px rgba(0, 0, 0, 0.60), 0 0 25px rgba(245, 158, 11, 0.22);
  --theme-scrollbar-track: #060e1a;
  --theme-scrollbar-thumb: #1e3a5f;
  --theme-glow-opacity: 0.48;
  --theme-modal-backdrop: rgba(3, 7, 18, 0.85);
}

/* 4. Explicit Light Mode Class Override */
html.light {
  color-scheme: light;
  --theme-bg-base: #f8fafc;
  --theme-bg-surface: #ffffff;
  --theme-bg-surface-elevated: #f1f5f9;
  --theme-bg-nav: rgba(255, 255, 255, 0.92);
  --theme-bg-card: rgba(255, 255, 255, 0.96);
  --theme-bg-card-hover: #ffffff;
  --theme-bg-input: #ffffff;
  --theme-border-subtle: rgba(15, 23, 42, 0.08);
  --theme-border-card: rgba(226, 232, 240, 0.95);
  --theme-border-input: rgba(15, 23, 42, 0.16);
  --theme-text-primary: #0f172a;
  --theme-text-secondary: #334155;
  --theme-text-muted: #64748b;
  --theme-card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --theme-card-shadow-hover: 0 20px 30px -10px rgba(0, 0, 0, 0.12), 0 0 20px rgba(245, 158, 11, 0.15);
  --theme-scrollbar-track: #f1f5f9;
  --theme-scrollbar-thumb: #cbd5e1;
  --theme-glow-opacity: 0.12;
  --theme-modal-backdrop: rgba(15, 23, 42, 0.75);
}

html {
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--theme-bg-base);
  color: var(--theme-text-primary);
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
  position: relative;
  box-sizing: border-box;
  transition: background-color 0.3s ease, color 0.3s ease;
}

img, svg, video, canvas, audio, iframe, embed, object {
  max-width: 100%;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Outfit', sans-serif;
}

.font-serif-heading {
  font-family: 'Playfair Display', serif;
}

/* Glassmorphism Classes & Floating / Seamless Sticky Header */
header.glass-nav,
#mainHeader,
.glass-nav {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-bottom: none !important;
  border-top: none !important;
  box-shadow: none !important;
  transition: background 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              backdrop-filter 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              -webkit-backdrop-filter 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Pure transparency when not scrolled: Zero dividers, zero boxes, sits directly over continuous hero background */
header.glass-nav:not(.header-scrolled):not(.menu-open),
#mainHeader:not(.header-scrolled):not(.menu-open) {
  background: transparent !important;
  border: none !important;
  border-bottom: none !important;
  border-top: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Scrolled elevation state: Modern Luxury Frosted Glass */
header.glass-nav.header-scrolled,
#mainHeader.header-scrolled {
  background: var(--theme-bg-nav) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid var(--theme-border-subtle) !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.3) !important;
}

html.light header.glass-nav.header-scrolled,
:root:not(.dark) header.glass-nav.header-scrolled,
html.light #mainHeader.header-scrolled,
:root:not(.dark) #mainHeader.header-scrolled {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06), 0 8px 10px -6px rgba(0, 0, 0, 0.04) !important;
}

/* When Mobile Menu is Active: Seamless Translucent Frosted Glass Header */
html.light header.glass-nav.menu-open,
:root:not(.dark) header.glass-nav.menu-open,
html.light #mainHeader.menu-open,
:root:not(.dark) #mainHeader.menu-open,
html.light header:has(#mobileMenu:not(.hidden)),
:root:not(.dark) header:has(#mobileMenu:not(.hidden)),
html.light #mainHeader:has(#mobileMenu:not(.hidden)),
:root:not(.dark) #mainHeader:has(#mobileMenu:not(.hidden)) {
  background: rgba(255, 255, 255, 0.80) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6) !important;
}

html.dark header.glass-nav.menu-open,
:root.dark header.glass-nav.menu-open,
html.dark #mainHeader.menu-open,
:root.dark #mainHeader.menu-open,
html.dark header:has(#mobileMenu:not(.hidden)),
:root.dark header:has(#mobileMenu:not(.hidden)),
html.dark #mainHeader:has(#mobileMenu:not(.hidden)),
:root.dark #mainHeader:has(#mobileMenu:not(.hidden)) {
  background: rgba(7, 14, 23, 0.80) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Floating Hero Navigation Typography & Controls */
body:has(#hero) #mainHeader:not(.header-scrolled):not(.menu-open) .nav-link:not(.active),
body:has(#hero) header.glass-nav:not(.header-scrolled):not(.menu-open) .nav-link:not(.active),
.hero-floating-nav:not(.header-scrolled):not(.menu-open) .nav-link:not(.active) {
  color: rgba(255, 255, 255, 0.92) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

body:has(#hero) #mainHeader:not(.header-scrolled):not(.menu-open) .nav-link:hover,
body:has(#hero) header.glass-nav:not(.header-scrolled):not(.menu-open) .nav-link:hover,
.hero-floating-nav:not(.header-scrolled):not(.menu-open) .nav-link:hover {
  color: #fbbf24 !important;
}

body:has(#hero) #mainHeader:not(.header-scrolled):not(.menu-open) .nav-link.active,
body:has(#hero) header.glass-nav:not(.header-scrolled):not(.menu-open) .nav-link.active,
.hero-floating-nav:not(.header-scrolled):not(.menu-open) .nav-link.active {
  color: #f59e0b !important;
}

body:has(#hero) #mainHeader:not(.header-scrolled):not(.menu-open) .nav-dropdown-trigger,
.hero-floating-nav:not(.header-scrolled):not(.menu-open) .nav-dropdown-trigger {
  color: rgba(255, 255, 255, 0.92) !important;
}

body:has(#hero) #mainHeader:not(.header-scrolled):not(.menu-open) #mainLangToggleBtn,
body:has(#hero) #mainHeader:not(.header-scrolled):not(.menu-open) #mobileMenuBtn,
.hero-floating-nav:not(.header-scrolled):not(.menu-open) #mainLangToggleBtn,
.hero-floating-nav:not(.header-scrolled):not(.menu-open) #mobileMenuBtn {
  background-color: rgba(15, 23, 42, 0.55) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  backdrop-filter: blur(8px);
}

/* Star Plus Travels Brand Logo: Floating Directly on Header Background (Zero Box Plate) */
header a[aria-label="Star Plus Travel & Tourism LLC Home"],
.header-brand-wrap,
footer a[aria-label="Star Plus Travel & Tourism LLC Home"],
#brandFooterLogo,
.footer-brand-logo,
.mobile-brand-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.25rem;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

/* Ensure no background plate in light mode */
html.light header a[aria-label="Star Plus Travel & Tourism LLC Home"],
:root:not(.dark) header a[aria-label="Star Plus Travel & Tourism LLC Home"],
html.light .header-brand-wrap,
:root:not(.dark) .header-brand-wrap {
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Ensure no background plate in dark mode */
html.dark header a[aria-label="Star Plus Travel & Tourism LLC Home"],
:root.dark header a[aria-label="Star Plus Travel & Tourism LLC Home"],
html.dark .header-brand-wrap,
:root.dark .header-brand-wrap {
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Ensure no background plate over hero before scrolling */
body:has(#hero) #mainHeader:not(.header-scrolled) a[aria-label="Star Plus Travel & Tourism LLC Home"],
body:has(#hero) .hero-floating-nav:not(.header-scrolled) a[aria-label="Star Plus Travel & Tourism LLC Home"],
body:has(#hero) #mainHeader:not(.header-scrolled) .header-brand-wrap,
body:has(#hero) .hero-floating-nav:not(.header-scrolled) .header-brand-wrap {
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Clean Hover: No bounding box or border glow */
header a[aria-label="Star Plus Travel & Tourism LLC Home"]:hover,
.header-brand-wrap:hover {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  transform: translateY(-0.5px);
}

/* Star Plus Travels Brand Logo: Precise Soft-Focus Drop-Shadow Directly on Logo Elements */
#brandHeaderLogo,
.header-brand-logo {
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.22));
  transition: filter 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: headerLogoReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: filter, transform, opacity;
}

@keyframes headerLogoReveal {
  0% {
    opacity: 0.85;
    transform: scale(0.98);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

#brandHeaderLogo:hover,
.header-brand-logo:hover,
.header-brand-wrap:hover #brandHeaderLogo,
.header-brand-wrap:hover .header-brand-logo {
  filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.32));
  transform: scale(1.02);
}

/* Light Mode: Soft navy/slate shadow providing crisp contrast against light backgrounds */
html.light #brandHeaderLogo,
:root:not(.dark) #brandHeaderLogo,
html.light .header-brand-logo,
:root:not(.dark) .header-brand-logo {
  filter: drop-shadow(2px 2px 4px rgba(15, 23, 42, 0.18));
}

html.light header.glass-nav.header-scrolled #brandHeaderLogo,
:root:not(.dark) header.glass-nav.header-scrolled #brandHeaderLogo,
html.light #mainHeader.header-scrolled #brandHeaderLogo,
:root:not(.dark) #mainHeader.header-scrolled #brandHeaderLogo {
  filter: drop-shadow(2px 2px 4px rgba(15, 23, 42, 0.18));
}

/* Dark Mode: Soft-focus depth shadow */
html.dark #brandHeaderLogo,
:root.dark #brandHeaderLogo,
html.dark .header-brand-logo,
:root.dark .header-brand-logo {
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.35));
}

/* Floating Over Dark Hero Section */
body:has(#hero) #mainHeader:not(.header-scrolled) #brandHeaderLogo,
body:has(#hero) .hero-floating-nav:not(.header-scrolled) #brandHeaderLogo {
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.45));
}

/* Mobile Drawer Brand Logo */
.mobile-brand-logo {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.2));
  transition: filter 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: filter, transform;
}
html.light .mobile-brand-logo,
:root:not(.dark) .mobile-brand-logo {
  filter: drop-shadow(1px 1px 3px rgba(15, 23, 42, 0.18));
}
html.dark .mobile-brand-logo,
:root.dark .mobile-brand-logo {
  filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.35));
}
.mobile-brand-logo:hover {
  transform: scale(1.02);
}

/* Footer Brand Logo */
#brandFooterLogo,
.footer-brand-logo {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.45));
  transition: filter 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: filter, transform;
}
#brandFooterLogo:hover,
.footer-brand-logo:hover {
  filter: drop-shadow(1px 1px 5px rgba(245, 158, 11, 0.3));
  transform: scale(1.02);
}

/* Dynamic Subtitle Color for Star Plus Travels ("TRAVEL AND TOURISM LLC") */
.logo-subtitle,
.brand-subtitle,
.header-brand-subtitle,
[data-brand-subtitle],
.travel-tourism-subtitle {
  color: #0b192c !important; /* Dark charcoal/navy in light mode */
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

html.dark .logo-subtitle,
html.dark .brand-subtitle,
html.dark .header-brand-subtitle,
html.dark [data-brand-subtitle],
html.dark .travel-tourism-subtitle,
:root.dark .logo-subtitle,
:root.dark .brand-subtitle,
:root.dark .header-brand-subtitle,
:root.dark [data-brand-subtitle],
:root.dark .travel-tourism-subtitle {
  color: #f8fafc !important; /* Crisp white/light gray in dark mode */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Over Hero section before scrolling, subtitle must always be crisp white */
body:has(#hero) #mainHeader:not(.header-scrolled) .logo-subtitle,
body:has(#hero) #mainHeader:not(.header-scrolled) .brand-subtitle,
body:has(#hero) #mainHeader:not(.header-scrolled) .header-brand-subtitle,
body:has(#hero) #mainHeader:not(.header-scrolled) [data-brand-subtitle],
body:has(#hero) #mainHeader:not(.header-scrolled) .travel-tourism-subtitle,
body:has(#hero) .hero-floating-nav:not(.header-scrolled) .logo-subtitle,
body:has(#hero) .hero-floating-nav:not(.header-scrolled) .brand-subtitle,
body:has(#hero) .hero-floating-nav:not(.header-scrolled) .header-brand-subtitle,
body:has(#hero) .hero-floating-nav:not(.header-scrolled) [data-brand-subtitle],
body:has(#hero) .hero-floating-nav:not(.header-scrolled) .travel-tourism-subtitle {
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}


/* Desktop Navigation Track (Clean, Direct on Header without Outer Pill Wrapper) */
.nav-pill-track {
  position: relative;
  background: transparent !important;
  border: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  gap: 0.25rem;
}

@media (min-width: 1280px) {
  .nav-pill-track {
    gap: 0.45rem;
  }
}

html.light .nav-pill-track,
:root:not(.dark) .nav-pill-track,
body:has(#hero) .hero-floating-nav:not(.header-scrolled) .nav-pill-track {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Floating Animated Glass Pill Indicator (Glides behind hovered / active tab) */
.nav-pill-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-radius: 9999px;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2),
              width 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2),
              height 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2),
              opacity 0.25s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.3), inset 0 1px 0 0 rgba(255, 255, 255, 0.18);
}

html.dark .nav-pill-indicator,
:root.dark .nav-pill-indicator {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.3), inset 0 1px 0 0 rgba(255, 255, 255, 0.18);
}

html.light .nav-pill-indicator,
:root:not(.dark) .nav-pill-indicator {
  background: rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.06), inset 0 1px 0 0 rgba(255, 255, 255, 0.5);
}

body:has(#hero) .hero-floating-nav:not(.header-scrolled) .nav-pill-indicator {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.30) !important;
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.35), inset 0 1px 0 0 rgba(255, 255, 255, 0.25) !important;
}

/* Glass Pill Navigation Link Buttons */
.nav-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.85rem;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s ease;
  user-select: none;
  cursor: pointer;
}

@media (min-width: 1280px) {
  .nav-link {
    padding: 0.42rem 1.05rem;
    font-size: 14px;
  }
}

/* Remove old underline bar pseudo-element */
.nav-link::after {
  display: none !important;
}

/* Light Theme Navigation Link Typography */
html.light .nav-link,
:root:not(.dark) .nav-link {
  color: #1e293b;
  text-shadow: none;
}

/* Light mode floating over hero */
html.light body:has(#hero) .hero-floating-nav:not(.header-scrolled) .nav-link,
:root:not(.dark) body:has(#hero) .hero-floating-nav:not(.header-scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) !important;
}

/* Active & Hover States */
.nav-link.active {
  color: #f59e0b !important;
  font-weight: 700;
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
}

html.light .nav-link.active,
:root:not(.dark) .nav-link.active {
  color: #b45309 !important;
  text-shadow: none;
}

html.light body:has(#hero) .hero-floating-nav:not(.header-scrolled) .nav-link.active,
:root:not(.dark) body:has(#hero) .hero-floating-nav:not(.header-scrolled) .nav-link.active {
  color: #fbbf24 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7) !important;
}

.nav-link:hover {
  color: #ffffff;
}

html.light .nav-link:hover,
:root:not(.dark) .nav-link:hover {
  color: #0f172a;
}

html.light body:has(#hero) .hero-floating-nav:not(.header-scrolled) .nav-link:hover,
:root:not(.dark) body:has(#hero) .hero-floating-nav:not(.header-scrolled) .nav-link:hover {
  color: #ffffff !important;
}

/* Navigation Dropdown Menu (Explore / More) */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.nav-dropdown-trigger i.chevron {
  font-size: 0.65rem;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  color: #f59e0b;
}

.nav-dropdown:hover .nav-dropdown-trigger i.chevron,
.nav-dropdown.is-open .nav-dropdown-trigger i.chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: rgba(11, 25, 44, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 1rem;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(245, 158, 11, 0.15);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.25s;
  z-index: 60;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.85rem;
  border-radius: 0.65rem;
  color: #e2e8f0;
  font-size: 0.825rem;
  font-weight: 600;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.nav-dropdown-item i {
  color: #f59e0b;
  font-size: 0.85rem;
  width: 16px;
  text-align: center;
  transition: transform 0.2s ease;
}

.nav-dropdown-item:hover {
  background: rgba(245, 158, 11, 0.14);
  color: #ffffff;
  transform: translateX(4px);
}

.nav-dropdown-item:hover i {
  transform: scale(1.15);
}

/* Light Theme Navigation Dropdowns, Language Toggle & Mobile Menu */
html.light .nav-dropdown-trigger i.chevron,
:root:not(.dark) .nav-dropdown-trigger i.chevron {
  color: #d97706;
}

html.light .nav-dropdown-menu,
:root:not(.dark) .nav-dropdown-menu {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(245, 158, 11, 0.2);
}

html.light .nav-dropdown-item,
:root:not(.dark) .nav-dropdown-item {
  color: #334155;
}

html.light .nav-dropdown-item i,
:root:not(.dark) .nav-dropdown-item i {
  color: #d97706;
}

html.light .nav-dropdown-item:hover,
:root:not(.dark) .nav-dropdown-item:hover {
  background: rgba(245, 158, 11, 0.12);
  color: #0f172a;
  transform: translateX(4px);
}

/* Language Toggle & Mobile Hamburger Adaptation in Light Theme */
html.light .lang-toggle-btn,
:root:not(.dark) .lang-toggle-btn {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #1e293b !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

html.light .lang-toggle-btn:hover,
:root:not(.dark) .lang-toggle-btn:hover {
  background: #f8fafc !important;
  border-color: #f59e0b !important;
  color: #0f172a !important;
}

html.light #mobileMenuBtn,
:root:not(.dark) #mobileMenuBtn {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #1e293b !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

html.light #mobileMenuBtn:hover,
:root:not(.dark) #mobileMenuBtn:hover {
  background: #f8fafc !important;
  border-color: #f59e0b !important;
  color: #0f172a !important;
}

/* Mobile Menu Frosted Glass Container & Dynamic Theme Adaptability */
#mobileMenu {
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

html.light #mobileMenu,
:root:not(.dark) #mobileMenu {
  background: rgba(255, 255, 255, 0.80) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7) !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03) !important;
}

html.dark #mobileMenu,
:root.dark #mobileMenu {
  background: rgba(7, 14, 23, 0.80) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4) !important;
}

html.light #mobileMenu nav,
:root:not(.dark) #mobileMenu nav {
  color: #0f172a !important;
}

html.light #mobileMenu nav a,
:root:not(.dark) #mobileMenu nav a {
  color: #1e293b !important;
  border-bottom-color: rgba(226, 232, 240, 0.8) !important;
}

html.light #mobileMenu nav a:hover,
:root:not(.dark) #mobileMenu nav a:hover {
  color: #d97706 !important;
}

html.light #mobileMenu nav a.active,
html.light #mobileMenu nav a.text-amber-400,
html.light #mobileMenu nav a.text-amber-500,
:root:not(.dark) #mobileMenu nav a.active,
:root:not(.dark) #mobileMenu nav a.text-amber-400,
:root:not(.dark) #mobileMenu nav a.text-amber-500 {
  color: #b45309 !important;
}

html.light #mobileMenu .text-slate-300,
:root:not(.dark) #mobileMenu .text-slate-300 {
  color: #334155 !important;
}

html.light #mobileMenu .text-slate-400,
:root:not(.dark) #mobileMenu .text-slate-400 {
  color: #64748b !important;
}

html.light #mobileMenu .bg-slate-900,
html.light #mobileMenu .bg-slate-900\/80,
:root:not(.dark) #mobileMenu .bg-slate-900,
:root:not(.dark) #mobileMenu .bg-slate-900\/80 {
  background: rgba(241, 245, 249, 0.9) !important;
  border-color: rgba(203, 213, 225, 0.8) !important;
  color: #334155 !important;
}

html.light #mobileMenu .bg-slate-950,
:root:not(.dark) #mobileMenu .bg-slate-950 {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: #cbd5e1 !important;
}

.glass-card {
  background: var(--theme-bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--theme-border-card);
  box-shadow: var(--theme-card-shadow);
  color: var(--theme-text-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Dark Mode Glassmorphism & High-End Depth */
html.dark .glass-card,
:root:not(.light) .glass-card {
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.50), inset 0 1px 0 0 rgba(255, 255, 255, 0.10);
}

html.dark .glass-card-hover:hover,
:root:not(.light) .glass-card-hover:hover {
  background: rgba(26, 38, 64, 0.60);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.60), 0 0 25px rgba(245, 158, 11, 0.22), inset 0 1px 0 0 rgba(255, 255, 255, 0.14);
}

/* Light Mode Glass Card Styling & Text Contrast Guarantees */
html.light .glass-card,
:root:not(.dark) .glass-card {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(226, 232, 240, 0.95);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  color: #0f172a;
}

html.light .glass-card-hover:hover,
:root:not(.dark) .glass-card-hover:hover {
  background: #ffffff;
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.10), 0 0 20px rgba(245, 158, 11, 0.12);
}

/* Headings inside cards */
html.light .glass-card:not([class*="from-"]) h1:not(.banner-overlay-title):not(.hero-banner-title),
html.light .glass-card:not([class*="from-"]) h2:not(.banner-overlay-title):not(.hero-banner-title),
html.light .glass-card:not([class*="from-"]) h3:not(.banner-overlay-title):not(.hero-banner-title),
html.light .glass-card:not([class*="from-"]) h4:not(.banner-overlay-title):not(.hero-banner-title),
html.light .glass-card:not([class*="from-"]) h5:not(.banner-overlay-title):not(.hero-banner-title),
html.light .glass-card:not([class*="from-"]) h6:not(.banner-overlay-title):not(.hero-banner-title),
:root:not(.dark) .glass-card:not([class*="from-"]) h1:not(.banner-overlay-title):not(.hero-banner-title),
:root:not(.dark) .glass-card:not([class*="from-"]) h2:not(.banner-overlay-title):not(.hero-banner-title),
:root:not(.dark) .glass-card:not([class*="from-"]) h3:not(.banner-overlay-title):not(.hero-banner-title),
:root:not(.dark) .glass-card:not([class*="from-"]) h4:not(.banner-overlay-title):not(.hero-banner-title),
:root:not(.dark) .glass-card:not([class*="from-"]) h5:not(.banner-overlay-title):not(.hero-banner-title),
:root:not(.dark) .glass-card:not([class*="from-"]) h6:not(.banner-overlay-title):not(.hero-banner-title) {
  color: #0f172a;
}

/* Paragraphs and copy inside cards */
html.light .glass-card:not([class*="from-"]) p:not([class*="text-amber"]):not([class*="text-emerald"]):not([class*="text-red"]):not(.badge):not(.banner-overlay-text),
:root:not(.dark) .glass-card:not([class*="from-"]) p:not([class*="text-amber"]):not([class*="text-emerald"]):not([class*="text-red"]):not(.badge):not(.banner-overlay-text) {
  color: #334155;
}

/* Text utility overrides inside light cards */
html.light .glass-card:not([class*="from-"]) .text-slate-300:not(.banner-overlay-text),
:root:not(.dark) .glass-card:not([class*="from-"]) .text-slate-300:not(.banner-overlay-text) {
  color: #334155 !important;
}

html.light .glass-card:not([class*="from-"]) .text-slate-400:not(.banner-overlay-text),
:root:not(.dark) .glass-card:not([class*="from-"]) .text-slate-400:not(.banner-overlay-text) {
  color: #475569 !important;
}

html.light .glass-card .text-white:not(button):not(.btn):not([class*="bg-"]):not(.badge):not([class*="gradient"]):not([class*="from-"]):not([class*="to-"]):not(.banner-overlay-title):not(.hero-banner-title):not([class*="overlay"]),
:root:not(.dark) .glass-card .text-white:not(button):not(.btn):not([class*="bg-"]):not(.badge):not([class*="gradient"]):not([class*="from-"]):not([class*="to-"]):not(.banner-overlay-title):not(.hero-banner-title):not([class*="overlay"]) {
  color: #0f172a !important;
}

/* Ensure banner overlay titles and elements over dark image gradients always stay pure crisp white */
.banner-overlay-title,
.hero-banner-title,
.glass-card .banner-overlay-title,
.glass-card [class*="absolute bottom"] h3,
.glass-card .relative.h-64 h3,
.glass-card .relative.h-44 h3 {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* Filter / Category Pill Buttons in Light Mode */
html.light .cat-pill:not(.active),
html.light .category-pill:not(.active),
:root:not(.dark) .cat-pill:not(.active),
:root:not(.dark) .category-pill:not(.active) {
  background-color: #f1f5f9 !important;
  color: #334155 !important;
  border-color: #cbd5e1 !important;
}

html.light .cat-pill.active,
html.light .category-pill.active,
:root:not(.dark) .cat-pill.active,
:root:not(.dark) .category-pill.active {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  border-color: #d97706 !important;
}

/* Badges & Meta chips in Light Mode */
html.light .badge-soft-amber,
:root:not(.dark) .badge-soft-amber {
  background: rgba(245, 158, 11, 0.14) !important;
  color: #b45309 !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
}

/* Warm Luxury Accents & Refined Badge Glows in Dark Mode */
html.dark .badge-soft-amber,
:root:not(.light) .badge-soft-amber,
html.dark [class*="bg-amber-500/10"][class*="border-amber-500/20"],
html.dark [class*="bg-amber-500/15"][class*="border-amber-500/30"] {
  background: rgba(245, 158, 11, 0.12) !important;
  border-color: rgba(245, 158, 11, 0.32) !important;
  color: #fcd34d !important;
  box-shadow: 0 0 16px -3px rgba(245, 158, 11, 0.20);
}

/* Warning & Alert Banner Components in Light Mode */
html.light .warning-banner-box,
:root:not(.dark) .warning-banner-box,
html.light [class*="bg-amber-500/10"][class*="border-amber-500/30"],
:root:not(.dark) [class*="bg-amber-500/10"][class*="border-amber-500/30"] {
  background-color: #fef8ee !important;
  border-color: #f59e0b !important;
  box-shadow: 0 4px 12px -2px rgba(245, 158, 11, 0.12);
}

html.light .warning-banner-box h1,
html.light .warning-banner-box h2,
html.light .warning-banner-box h3,
html.light .warning-banner-box h4,
html.light .warning-banner-box h5,
html.light .warning-banner-box strong,
:root:not(.dark) .warning-banner-box h1,
:root:not(.dark) .warning-banner-box h2,
:root:not(.dark) .warning-banner-box h3,
:root:not(.dark) .warning-banner-box h4,
:root:not(.dark) .warning-banner-box h5,
:root:not(.dark) .warning-banner-box strong {
  color: #0f172a !important;
}

html.light .warning-banner-box p,
:root:not(.dark) .warning-banner-box p {
  color: #334155 !important;
}

.glass-card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-hover:hover {
  transform: translateY(-6px);
  background: var(--theme-bg-card-hover);
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: var(--theme-card-shadow-hover);
}

.glass-input {
  background: var(--theme-bg-input);
  border: 1px solid var(--theme-border-input);
  color: var(--theme-text-primary);
  transition: all 0.2s ease;
  box-sizing: border-box;
  max-width: 100%;
}

.glass-input:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
  outline: none;
}

.glass-input::placeholder {
  color: var(--theme-text-muted);
}

/* Date input constraints on mobile and webkit browsers */
input[type="date"] {
  -webkit-box-sizing: border-box !important;
  box-sizing: border-box !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

input[type="date"].glass-input,
#heroDateInput {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  display: block !important;
  margin: 0 !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

/* Fix iOS Safari date input intrinsic blowout and align text */
input[type="date"]::-webkit-date-and-time-value {
  text-align: left !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 1.25rem !important;
  line-height: 1.25rem !important;
  width: 100% !important;
}

/* Ensure Destination, Travel Date, and Travelers share matching heights, padding & alignment */
#heroSearchForm .glass-input {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 46px !important;
  height: 46px !important;
  margin: 0 !important;
}

#heroSearchForm button[type="submit"] {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 46px !important;
  height: 46px !important;
}

/* Strict grid column minmax(0, 1fr) constraint to prevent blowout on mobile */
#heroSearchForm {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 640px) {
  #heroSearchForm {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  #heroSearchForm {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: var(--theme-scrollbar-track);
}
::-webkit-scrollbar-thumb {
  background: var(--theme-scrollbar-thumb);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #f59e0b;
}

/* Hide scrollbar for clean horizontal tabs */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Gold Gradient Text */
.gold-gradient-text {
  background: linear-gradient(135deg, #fffbeb 0%, #fde68a 25%, #f59e0b 60%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(245, 158, 11, 0.25));
}

.ocean-gradient-text {
  background: linear-gradient(135deg, #e0f2fe 0%, #7dd3fc 35%, #38bdf8 70%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glowing Background Effects */
.ambient-glow {
  position: absolute;
  width: min(600px, 92vw);
  height: min(600px, 92vw);
  max-width: 100%;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  opacity: 0.48;
  z-index: 1;
}

.glow-blue {
  background: radial-gradient(circle, rgba(14, 165, 233, 0.45) 0%, rgba(3, 105, 161, 0.22) 45%, transparent 70%);
}

.glow-gold {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.45) 0%, rgba(217, 119, 6, 0.22) 45%, transparent 70%);
}

.glow-warm {
  background: radial-gradient(circle, rgba(251, 146, 60, 0.42) 0%, rgba(234, 88, 12, 0.18) 45%, transparent 70%);
}

.glow-cyan {
  background: radial-gradient(circle, rgba(6, 182, 212, 0.42) 0%, rgba(14, 116, 144, 0.18) 45%, transparent 70%);
}

/* Video Hero Styles & Gradient Overlays */
.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-video-element {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  transition: opacity 1s ease-in-out;
}

.hero-video-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 14, 26, 0.42) 0%,
    rgba(6, 14, 26, 0.18) 30%,
    rgba(10, 22, 40, 0.28) 70%,
    rgba(6, 14, 26, 0.68) 100%
  );
  z-index: 2;
}

.hero-video-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 48%, rgba(6, 14, 26, 0.42) 100%);
  z-index: 3;
}

/* Dynamic Hero Banner Slideshow Styles */
.hero-slideshow-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: scale(1);
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1), transform 9s cubic-bezier(0.25, 1, 0.5, 1), visibility 1.4s;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1.08);
  z-index: 2;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slideshow-indicators {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 20;
}

@media (min-width: 640px) {
  .hero-slideshow-indicators {
    bottom: 1.5rem;
  }
}

.hero-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-indicator-dot.active {
  width: 28px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  border-color: #f59e0b;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
}

/* Tour Packages Interactive Carousel Track & Cards */
.packages-carousel-track {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.packages-carousel-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.packages-carousel-track .package-card {
  flex-shrink: 0;
  width: 320px;
  max-width: 85vw;
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .packages-carousel-track .package-card {
    width: 360px;
  }
}

@media (min-width: 1024px) {
  .packages-carousel-track .package-card {
    width: 380px;
  }
}

/* Floating Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.6);
  }
}

.glow-pulse {
  animation: pulseGlow 2.5s infinite;
}

/* Package Image Zoom & Luxury Gold Glow on Hover */
.package-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
}

.package-card:hover {
  transform: translateY(-6px);
}

html.dark .package-card:hover,
:root:not(.light) .package-card:hover {
  border-color: rgba(245, 158, 11, 0.55) !important;
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.5), 0 0 25px rgba(245, 158, 11, 0.22) !important;
}

html.light .package-card:hover,
:root:not(.dark) .package-card:hover {
  border-color: rgba(217, 119, 6, 0.45) !important;
  box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.12), 0 0 22px rgba(245, 158, 11, 0.2) !important;
}

.package-card .img-container img {
  transition: transform 0.7s cubic-bezier(0.2, 1, 0.3, 1);
}

.package-card:hover .img-container img {
  transform: scale(1.08);
}

/* Interactive Package Filter Track & Buttons */
.package-filter-track {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.package-filter-track::-webkit-scrollbar {
  display: none;
}

html.light .package-filter-track,
:root:not(.dark) .package-filter-track {
  background: rgba(241, 245, 249, 0.95);
  border-color: rgba(203, 213, 225, 0.8);
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.08);
}

.package-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1.125rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: 1px solid transparent;
  color: #94a3b8;
  background: transparent;
}

.package-filter-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.package-filter-btn.active {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0b1320 !important;
  border-color: #f59e0b;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

html.light .package-filter-btn {
  color: #475569;
}

html.light .package-filter-btn:hover {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.65);
}

html.light .package-filter-btn.active {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0f172a !important;
  border-color: #d97706;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

/* Quick Destination Chips */
.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.35rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(11, 25, 44, 0.6);
  color: #cbd5e1;
}

.cat-chip:hover {
  border-color: rgba(245, 158, 11, 0.4);
  color: #f8fafc;
  background: rgba(11, 25, 44, 0.9);
}

.cat-chip.active {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-color: #f59e0b;
  color: #0b1320 !important;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.cat-chip.active i {
  color: #0b1320 !important;
}

html.light .cat-chip {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #475569;
}

html.light .cat-chip:hover {
  border-color: #cbd5e1;
  color: #0f172a;
  background: #ffffff;
}

html.light .cat-chip.active {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-color: #d97706;
  color: #0f172a !important;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

html.light .cat-chip.active i {
  color: #0f172a !important;
}

/* Testimonial slider transitions & continuous marquee */
.testimonial-slide {
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
  will-change: transform;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .animate-marquee {
    animation-play-state: paused;
  }
}

/* Strict Compact Review Track Ticker */
@keyframes scrollTrack {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.review-track {
  display: flex !important;
  flex-direction: row !important;
  gap: 24px !important;
  width: max-content !important;
  white-space: normal !important;
  animation: scrollTrack 30s linear infinite;
  will-change: transform;
}

.review-track > div {
  width: 340px !important;
  min-width: 340px !important;
  max-width: 340px !important;
  flex: 0 0 340px !important;
  white-space: normal !important;
  word-break: break-word !important;
}

.review-track p {
  white-space: normal !important;
  word-break: break-word !important;
}

.review-track:hover {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .review-track {
    animation-play-state: paused;
  }
}

/* Review SVG strict boundary safeguards */
.review-track svg,
#testimonialMarqueeTrack svg,
#reviewsMarqueeTrack svg,
#reviewsGrid svg,
.review-card svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  min-height: 16px !important;
  max-height: 16px !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}

/* Modal styles */
.modal-backdrop {
  background-color: var(--theme-modal-backdrop);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@keyframes modalSlideUp {
  0% {
    opacity: 0;
    transform: scale(0.96) translateY(16px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-content-animate {
  animation: modalSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Regional Tour Cards styling & hover effects */
.regional-tour-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.regional-tour-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.45);
}

/* ==========================================================================
   Roxaval-style Interactive Destinations Showcase Slider
   ========================================================================== */
/* Country Showcase Modal Overlay (Strictly hidden by default, fixed overlay on click) */
.showcase-modal-overlay,
#destinationsModal,
#countryShowcaseModal,
.destinations-showcase-wrapper {
  display: none !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  background: rgba(5, 10, 18, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
}

.showcase-modal-overlay.active,
#destinationsModal.active,
#countryShowcaseModal.active,
.destinations-showcase-wrapper.active {
  display: flex !important;
}

.dest-showcase-container {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background-color: #070e17;
  border-radius: 32px;
  border: 1px solid rgba(245, 158, 11, 0.25);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.dest-showcase-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1.04);
}

.dest-showcase-bg.zoom {
  transform: scale(1.08);
}

.dest-showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #070e17 0%, rgba(7, 14, 23, 0.94) 40%, rgba(7, 14, 23, 0.7) 65%, rgba(7, 14, 23, 0.4) 100%);
  pointer-events: none;
}

@media (max-width: 1023px) {
  .dest-showcase-overlay {
    background: linear-gradient(to bottom, rgba(7, 14, 23, 0.96) 0%, rgba(7, 14, 23, 0.88) 50%, rgba(7, 14, 23, 0.96) 100%);
  }
}

.dest-cards-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 1rem 40px 1.75rem 1rem;
  scroll-padding-right: 40px;
  scroll-padding-left: 1rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.dest-cards-track::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.dest-preview-card {
  width: 250px;
  min-width: 250px;
  height: 360px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, opacity 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0.82;
}

@media (min-width: 640px) {
  .dest-preview-card {
    width: 270px;
    min-width: 270px;
    height: 380px;
  }
}

.dest-preview-card:hover {
  opacity: 1;
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.6), 0 0 20px rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.45);
}

.dest-preview-card.active {
  opacity: 1;
  border-color: #f59e0b !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 158, 11, 0.4);
  transform: translateY(-8px) scale(1.04);
}

/* Modal Showcase Floating Preview Cards (Compact ~205px x 275px) */
.showcase-preview-card {
  flex: 0 0 205px;
  width: 205px;
  min-width: 205px;
  height: 275px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, opacity 0.25s ease;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  opacity: 0.88;
  background-color: #0b1523;
}

@media (min-width: 640px) {
  .showcase-preview-card {
    flex: 0 0 210px;
    width: 210px;
    min-width: 210px;
    height: 280px;
    border-radius: 18px;
  }
}

.showcase-preview-card:hover {
  opacity: 1;
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 14px 28px -6px rgba(0, 0, 0, 0.7), 0 0 18px rgba(245, 158, 11, 0.25);
  border-color: rgba(245, 158, 11, 0.5);
}

.showcase-preview-card.active {
  opacity: 1;
  border-color: #f59e0b !important;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.85), 0 0 26px rgba(245, 158, 11, 0.45);
  transform: translateY(-6px) scale(1.03);
}

.showcase-preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Card Gradient Overlay */
.showcase-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.65) 45%, rgba(7, 14, 23, 0.15) 70%, transparent 100%);
  pointer-events: none;
  z-index: 2;
  transition: background 0.3s ease;
}

.showcase-preview-card:hover .showcase-card-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.72) 45%, rgba(7, 14, 23, 0.2) 70%, transparent 100%);
}

/* Category Badge with whitespace-nowrap and compact 3px 8px padding */
.showcase-category-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 10;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.3rem;
  padding: 3px 8px !important;
  border-radius: 9999px !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(7, 14, 23, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #fbbf24 !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  max-width: calc(100% - 1.3rem);
  user-select: none;
}

.showcase-category-badge span {
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Compact Card Typography */
.showcase-card-title {
  font-size: 1.025rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: #ffffff;
  margin-top: 0.15rem;
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.showcase-card-meta {
  font-size: 0.75rem !important;
  line-height: 1.2 !important;
}

.showcase-card-price {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
}

/* Visited Stops Badge Row on Preview Card */
.showcase-card-stops {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 4px 8px;
  margin: 6px 0;
  font-size: 0.72rem;
  color: #e2e8f0;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.showcase-card-stops .truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Active Route Highlights Pills in Detail Panel */
.showcase-route-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 3px 9px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.showcase-route-pill:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.45);
}

/* Mobile Touch Carousel & Responsive Showcase Modal (under 768px) */
@media (max-width: 767px) {
  #countryShowcaseModal {
    padding: 0 !important;
  }

  #countryShowcaseModal > div {
    width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .dest-cards-track {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 12px !important;
    padding: 8px 16px 14px 16px !important;
    scroll-padding: 0 16px !important;
    scrollbar-width: none !important;
  }

  .dest-cards-track::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .showcase-preview-card {
    flex: 0 0 175px !important;
    width: 175px !important;
    min-width: 175px !important;
    height: 252px !important;
    scroll-snap-align: center !important;
    border-radius: 16px !important;
  }

  .showcase-preview-card .showcase-card-title {
    font-size: 0.88rem !important;
    line-height: 1.2 !important;
  }

  .showcase-preview-card .showcase-category-badge {
    font-size: 0.65rem !important;
    padding: 2px 6px !important;
  }

  .showcase-card-stops {
    font-size: 0.67rem !important;
    padding: 3px 6px !important;
    margin: 4px 0 5px 0 !important;
  }

  #showcaseActiveTitle {
    font-size: 1.6rem !important;
    line-height: 1.2 !important;
  }

  #showcaseActiveDesc {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    line-height: 1.4 !important;
  }

  .showcase-mobile-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .showcase-mobile-actions button,
  .showcase-mobile-actions a {
    width: 100% !important;
    padding: 12px !important;
    justify-content: center !important;
  }
}

.dest-text-fade {
  animation: destTextFadeIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes destTextFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dest-nav-arrow {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  transition: all 0.25s ease;
  cursor: pointer;
}

.dest-nav-arrow:hover {
  background: #f59e0b;
  color: #070e17;
  border-color: #f59e0b;
  transform: scale(1.06);
  box-shadow: 0 8px 20px -4px rgba(245, 158, 11, 0.4);
}

.dest-nav-arrow:active {
  transform: scale(0.95);
}

.dest-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
  cursor: pointer;
}

.dest-dot.active {
  width: 24px;
  background: #f59e0b;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

select option {
  padding: 10px;
}

html.dark select option,
:root:not(.light) select option {
  background-color: #0b192c;
  color: #f8fafc;
}

html.light select option {
  background-color: #ffffff;
  color: #0f172a;
}

/* Toast container */
#toastContainer {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Audio wave animation */
@keyframes audioWave {
  0%, 100% { height: 4px; }
  50% { height: 16px; }
}

.wave-bar {
  display: inline-block;
  width: 3px;
  background-color: #f59e0b;
  border-radius: 2px;
}

.wave-bar:nth-child(1) { animation: audioWave 1.2s infinite ease-in-out; }
.wave-bar:nth-child(2) { animation: audioWave 0.8s infinite ease-in-out 0.2s; }
.wave-bar:nth-child(3) { animation: audioWave 1.4s infinite ease-in-out 0.4s; }

/* ==========================================================================
   Continuous Smooth Marquee Animation (Our Clients)
   ========================================================================== */
@keyframes marqueeScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

.marquee-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  position: relative;
  width: 100%;
}

.marquee-group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem; /* 24px gap on mobile (gap-6) */
  padding-right: 1.5rem; /* 24px seamless loop spacing (pr-6) */
  min-width: 100%;
  animation: marqueeScroll 28s linear infinite;
  will-change: transform;
}

@media (min-width: 640px) {
  .marquee-group {
    gap: 2rem; /* 32px gap on desktop (sm:gap-8) */
    padding-right: 2rem; /* 32px seamless loop spacing (sm:pr-8) */
  }
}

/* Pause on Marquee Hover */
.marquee-container:hover .marquee-group {
  animation-play-state: paused;
}

/* Client Logo Card */
.client-logo-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-logo-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: var(--theme-card-shadow-hover);
}

/* Gradient Fade Masks */
.marquee-mask-left {
  background: linear-gradient(to right, var(--theme-bg-base), transparent);
}

.marquee-mask-right {
  background: linear-gradient(to left, var(--theme-bg-base), transparent);
}

/* ==========================================================================
   Seasonal Themes & Festive Accent Enhancements
   ========================================================================== */

/* Active Holiday Global Indicator */
html.season-active {
  transition: background-color 0.5s ease, color 0.5s ease;
}

/* 1. Christmas Accent */
html.season-christmas .gold-gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #fbbf24 45%, #ef4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html.dark.season-christmas .glass-card:hover {
  border-color: rgba(254, 240, 138, 0.45);
  box-shadow: 0 10px 30px -10px rgba(56, 189, 248, 0.25);
}

/* 2. Valentine's Day Accent */
html.season-valentine .gold-gradient-text {
  background: linear-gradient(135deg, #fb7185 0%, #f43f5e 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html.dark.season-valentine .glass-card:hover {
  border-color: rgba(244, 114, 182, 0.4);
  box-shadow: 0 10px 30px -10px rgba(244, 63, 94, 0.25);
}

/* 3. New Year Celebrations Accent */
html.season-newyear .gold-gradient-text {
  background: linear-gradient(135deg, #fef08a 0%, #fbbf24 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html.season-newyear .theme-badge {
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.3);
}

/* 4. Ramadan Kareem Accent */
html.season-ramadan .gold-gradient-text {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html.dark.season-ramadan .glass-card:hover {
  border-color: rgba(251, 191, 36, 0.5);
  box-shadow: 0 10px 30px -10px rgba(245, 158, 11, 0.3);
}

/* 5. Eid Mubarak Celebrations Accent */
html.season-eid .gold-gradient-text {
  background: linear-gradient(135deg, #34d399 0%, #fbbf24 50%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html.dark.season-eid .glass-card:hover {
  border-color: rgba(52, 211, 153, 0.5);
  box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.3);
}

/* Holiday Canvas Particle Layer */
#holidayThemeCanvas,
#seasonalThemeCanvas {
  pointer-events: none;
  animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Fallback: ensure festival components remain strictly hidden and inert when outside festival periods */
:root:not(.season-active) #holidayThemeCanvas,
:root:not(.season-active) #seasonalThemeCanvas,
:root:not(.season-active) #holidayBannerTrack,
html:not(.season-active) #holidayThemeCanvas,
html:not(.season-active) #seasonalThemeCanvas,
html:not(.season-active) #holidayBannerTrack {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* ==========================================================================
/* ==========================================================================
   Elegant Luxury Preloader (Star Plus Midnight & Amber Horizon)
   ========================================================================== */
/* Preloader Overlay */
#starplus-preloader,
.luxury-preloader,
#sitePreloader,
.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #070B14; /* Deep midnight navy */
  gap: 1.75rem;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxury-preloader.fade-out,
.luxury-preloader.preloader-exit,
#starplus-preloader.fade-out,
#starplus-preloader.preloader-exit,
#sitePreloader.fade-out,
#sitePreloader.preloader-exit,
.site-preloader.fade-out,
.site-preloader.preloader-exit {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Orbit & Logo Container */
.preloader-orbit-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Rotating Neon Orbit Line */
.neon-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.06); /* subtle track */
  border-top-color: #F59E0B; /* Star Plus Brand Gold */
  border-right-color: #F59E0B;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.45);
  animation: neonSpin 1.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Center Circle Holding the Logo */
.logo-core {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: radial-gradient(circle, #0F172A 0%, #070B14 100%);
  border: 1px solid rgba(245, 158, 11, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

/* Brand Logo (Preserving original colors and ratio) */
.preloader-brand-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Text Underneath */
.preloader-tagline {
  color: #94A3B8;
  font-size: 0.75rem; /* text-xs */
  letter-spacing: 0.25em; /* tracking-[0.25em] */
  font-weight: 600;
  text-transform: uppercase;
  margin: 0;
  font-family: inherit;
}

/* Smooth Infinite Spin */
@keyframes neonSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes neonRingSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Minimalist Progress Line (180px wide, 2px height, subtle runway track) */
.runway-progress-track {
  width: 180px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}

.runway-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 9999px;
  background-color: #F59E0B;
  animation: runwayProgressFill 1.0s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes runwayProgressFill {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

.preloader-subtitle {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #94A3B8;
  text-transform: uppercase;
  font-family: inherit;
  margin-top: 0.75rem;
}

/* ==========================================================================
   Exclusive Happy New Year Celebratory Luxury Loading Screen
   (Strictly Time-Gated: January 1st, 12:00 AM - 12:00 PM)
   ========================================================================== */
#sitePreloader.ny-celebration-active {
  background-color: #050b14 !important;
  background-image: 
    radial-gradient(ellipse at 50% 35%, rgba(245, 158, 11, 0.15) 0%, transparent 65%),
    radial-gradient(circle at 50% 50%, #0c182b 0%, #050b14 90%) !important;
}

.ny-loader-canvas {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.ny-loader-card {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  max-width: 680px !important;
  width: 90vw !important;
  margin: 0 auto !important;
  padding: 24px 20px !important;
  animation: nyFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes nyFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.ny-logo-container {
  margin-bottom: 20px !important;
  position: relative;
}

.ny-brand-logo {
  display: block !important;
  width: 230px !important;
  max-width: 72vw !important;
  height: auto !important;
  max-height: 72px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.ny-badge-container {
  margin-bottom: 16px !important;
}

.ny-festive-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 18px !important;
  border-radius: 9999px !important;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(251, 191, 36, 0.12) 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.45) !important;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.2), inset 0 0 12px rgba(245, 158, 11, 0.1) !important;
  color: #fbbf24 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  animation: nyBadgePulse 2.4s ease-in-out infinite;
}

@keyframes nyBadgePulse {
  0%, 100% {
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.2), inset 0 0 12px rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.45);
  }
  50% {
    box-shadow: 0 0 24px rgba(245, 158, 11, 0.4), inset 0 0 16px rgba(245, 158, 11, 0.2);
    border-color: rgba(251, 191, 36, 0.75);
  }
}

.ny-star-icon {
  width: 13px !important;
  height: 13px !important;
  color: #f59e0b !important;
  animation: nyStarSpin 4s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

@keyframes nyStarSpin {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.15); }
  100% { transform: rotate(360deg) scale(1); }
}

.ny-celebration-heading {
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif !important;
  font-size: clamp(1.4rem, 4.5vw, 2.3rem) !important;
  font-weight: 700 !important;
  line-height: 1.22 !important;
  color: #ffffff !important;
  margin: 0 0 12px 0 !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8), 0 0 24px rgba(245, 158, 11, 0.25);
  letter-spacing: -0.01em !important;
}

.ny-gold-year {
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #d97706 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: 900 !important;
  filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.4));
  display: inline-block;
}

.ny-celebration-subheading {
  font-size: clamp(0.85rem, 2.2vw, 1rem) !important;
  line-height: 1.55 !important;
  color: #e2e8f0 !important;
  max-width: 520px !important;
  margin: 0 auto 24px auto !important;
  font-weight: 400 !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.ny-progress-wrapper {
  width: 100% !important;
  max-width: 320px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 10px !important;
}

.ny-progress-bar-track {
  width: 100% !important;
  height: 4px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border-radius: 9999px !important;
  overflow: hidden !important;
  position: relative !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

.ny-progress-bar-fill {
  height: 100% !important;
  width: 0% !important;
  background: linear-gradient(90deg, #f59e0b, #fbbf24, #fff, #f59e0b) !important;
  background-size: 200% 100% !important;
  border-radius: 9999px !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.8) !important;
  animation: nyProgressFill 2.3s cubic-bezier(0.22, 1, 0.36, 1) forwards, nyProgressShimmer 1.2s linear infinite !important;
}

@keyframes nyProgressFill {
  0% { width: 0%; }
  30% { width: 45%; }
  75% { width: 85%; }
  100% { width: 100%; }
}

@keyframes nyProgressShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.ny-progress-status-text {
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: #fbbf24 !important;
  opacity: 0.9 !important;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

/* Language Toggle Button Styling */
.lang-toggle-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  cursor: pointer;
  line-height: 1 !important;
}

.lang-toggle-btn:hover {
  border-color: #f59e0b !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25) !important;
}

.lang-toggle-btn:active {
  transform: scale(0.97) !important;
}

.lang-badge {
  letter-spacing: 0.05em;
  font-feature-settings: "tnum";
}

/* ==========================================================================
   Hero Section Responsiveness, Scaling & Mobile Safeguards
   ========================================================================== */

/* 1. Mobile Visibility Guarantee: Never display:none or hidden across any viewport */
#hero,
.subpage-hero,
.page-hero,
.contact-hero,
[data-hero],
main > section:first-of-type {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 2. Subpage Hero Standardized Flex Container & Spacing */
.subpage-hero {
  position: relative;
  width: 100%;
  min-height: 320px;
  min-height: 38dvh;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

/* 3. Hero Background Imagery: Responsive Scaling, Stretches Cleanly Without Awkward Cropping */
.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-bg-image,
.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.8s ease-out;
  transform: translateZ(0);
  image-rendering: auto;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* 4. Mobile & Small Screen Optimization (< 640px) */
@media (max-width: 639.98px) {
  #hero {
    min-height: 80vh !important;
    min-height: 80dvh !important;
    padding-top: max(140px, calc(112px + 1.75rem)) !important;
    padding-bottom: 2.75rem !important;
  }

  .subpage-hero {
    min-height: 310px !important;
    min-height: 40dvh !important;
    padding-top: max(136px, calc(112px + 1.5rem)) !important;
    padding-bottom: 2.25rem !important;
  }

  /* Optimized focal point alignment preventing awkward mobile vertical cropping */
  .hero-slide-img,
  .hero-bg-image {
    object-fit: cover !important;
    object-position: center 36% !important;
  }

  /* Title & Subtitle mobile legibility and balance */
  .subpage-hero h1,
  #heroHeadline {
    text-wrap: balance !important;
    word-break: break-word;
  }

  .subpage-hero p,
  #heroSubHeadline {
    text-wrap: pretty !important;
  }
}

/* Tablet screens (640px - 1023px) */
@media (min-width: 640px) and (max-width: 1023.98px) {
  .subpage-hero {
    min-height: 360px;
    padding-top: 10.5rem;
    padding-bottom: 3.5rem;
  }
}

/* Desktop screens (1024px+) */
@media (min-width: 1024px) {
  .subpage-hero {
    min-height: 400px;
    padding-top: 11.5rem;
    padding-bottom: 4.5rem;
  }
}

/* ==========================================================================
   Hero Headline Typography Hierarchy (Brand Entity Name Scaling)
   ========================================================================== */
.brand-primary {
  font-size: 1em;
  font-weight: 800;
  color: #F59E0B;
  display: inline;
}

.brand-secondary {
  font-size: 0.65em;
  font-weight: 600;
  color: #F59E0B;
  letter-spacing: 1px;
  vertical-align: baseline;
  display: inline;
  margin-left: 0.25rem;
  white-space: nowrap;
}

/* ==========================================================================
   Packages Page Mobile Viewport & Responsiveness Hardening
   ========================================================================== */
/* Container containment and fluid widths */
.package-card,
.packages-carousel-track,
#packages-grid,
.packages-container,
#packagesGrid {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Single column on mobile screens (<768px) to prevent 320px blowout */
@media (max-width: 767.98px) {
  #packages-grid,
  .packages-container,
  #packagesGrid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

/* Flex child & grid item overflow containment */
.package-card,
.package-card * {
  box-sizing: border-box;
}

.package-card .flex,
.package-card .grid,
.package-card div {
  min-width: 0;
}

/* Enforce word breaking and flexible titles/pricing on small screens */
.package-card h3 {
  word-break: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 480px) {
  .package-card .font-heading.text-2xl {
    font-size: 1.25rem !important;
    line-height: 1.2 !important;
  }
  .package-card .p-6 {
    padding: 1rem !important;
  }
  .package-card .img-container {
    height: 12rem !important;
  }
}

/* Package filter track horizontal scroll containment */
.package-filter-track {
  width: auto;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Comparison tables and inclusion lists horizontal scroll wrapper */
.table-responsive-wrapper,
.inclusions-table-wrapper,
.pricing-table-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

/* Tour Packages Search Reset Button Styling */
.reset-search-btn {
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.2s ease,
              background-color 0.2s ease !important;
}

.reset-search-btn:active {
  transform: scale(0.96);
}

/* ==========================================================================
   SHOWCASE ITINERARY & DESTINATION DRAWER / FULL PANEL STYLES
   ========================================================================== */

/* Full Panel Overlay inside countryShowcaseModal (Level 3 Details) */
.showcase-details-panel {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 70 !important;
  background: #070B14 !important;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.showcase-details-panel.active {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.showcase-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(5, 10, 18, 0.9) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: flex !important;
  justify-content: flex-end;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-drawer-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.showcase-drawer-panel {
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.85);
  will-change: transform;
}

.showcase-drawer-overlay.active .showcase-drawer-panel {
  transform: translateX(0) !important;
}

/* Drawer Header and Footer */
.showcase-drawer-header,
.showcase-drawer-footer {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Visual Gallery Styles */
.showcase-gallery-container {
  position: relative;
}

.showcase-gallery-thumb {
  position: relative;
  flex-shrink: 0;
  width: 90px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.65;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  background: #0f172a;
}

@media (min-width: 640px) {
  .showcase-gallery-thumb {
    width: 110px;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
  }
}

.showcase-gallery-thumb:hover {
  opacity: 0.95;
  border-color: rgba(245, 158, 11, 0.6);
  transform: translateY(-2px);
}

.showcase-gallery-thumb.active {
  opacity: 1;
  border-color: #F59E0B !important;
  box-shadow: 0 0 0 2px #F59E0B !important;
  transform: translateY(-2px);
}

.showcase-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Day-by-Day Journey Breakdown Cards & Milestones */
.itinerary-day-card {
  position: relative;
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.2s ease;
}

.itinerary-day-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(15, 23, 42, 0.9);
  transform: translateY(-1px);
}

.itinerary-milestone-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Custom Scrollbar for Drawer Body */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(7, 14, 23, 0.8);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(245, 158, 11, 0.3);
  border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(245, 158, 11, 0.6);
}

/* International Telephone Input (intl-tel-input) Theme Integration */
.iti {
  width: 100% !important;
  display: block !important;
  position: relative;
}

.iti__country-list {
  background-color: #0f172a !important;
  border: 1px solid #334155 !important;
  color: #f8fafc !important;
  border-radius: 0.75rem !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5) !important;
  max-height: 220px !important;
  z-index: 99999 !important;
  scrollbar-width: thin;
}

html.light .iti__country-list {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15) !important;
}

.iti__country.iti__highlight {
  background-color: rgba(245, 158, 11, 0.2) !important;
}

.iti__selected-dial-code {
  color: inherit !important;
  font-size: 0.875rem;
  font-weight: 500;
}

.iti__country-name {
  color: inherit !important;
}

.iti__dial-code {
  color: #94a3b8 !important;
}

html.light .iti__dial-code {
  color: #64748b !important;
}

.iti input[type="tel"].glass-input {
  width: 100% !important;
}

/* Phone Input Error Highlight & Inline Message */
.phone-input-error,
input.phone-input-error {
  border-color: #f43f5e !important;
  box-shadow: 0 0 0 2.5px rgba(244, 63, 94, 0.25) !important;
}

.phone-error-msg {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fb7185;
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 0.25rem;
  line-height: 1.25rem;
}

/* Star Plus Golden Amber Brand Button */
.bg-\[\#F59E0B\] {
  background-color: #F59E0B !important;
}

.hover\:bg-\[\#D97706\]:hover {
  background-color: #D97706 !important;
}

.text-\[\#070B14\] {
  color: #070B14 !important;
}

.active\:scale-95:active {
  transform: scale(0.95) !important;
}

/* ==========================================================================
   Custom Luxury Inline Form Validation & Error States
   ========================================================================== */
@keyframes inputShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}

.input-shake {
  animation: inputShake 0.3s ease-in-out !important;
}

.border-rose-500\/80 {
  border-color: rgba(244, 63, 94, 0.8) !important;
}

.focus\:border-rose-500:focus {
  border-color: rgb(244, 63, 94) !important;
}

.focus\:ring-rose-500\/40:focus {
  --tw-ring-color: rgba(244, 63, 94, 0.4) !important;
  box-shadow: 0 0 0 1px rgba(244, 63, 94, 0.4) !important;
}

.field-error-border,
.phone-input-error,
input.field-error-border,
textarea.field-error-border,
select.field-error-border {
  border-color: rgba(244, 63, 94, 0.8) !important;
  box-shadow: 0 0 0 1px rgba(244, 63, 94, 0.4) !important;
}

.custom-inline-error {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #fb7185;
  margin-top: 0.25rem;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.custom-inline-error svg,
.custom-inline-error img,
.custom-inline-error i,
.phone-error-msg svg,
.phone-error-msg img,
.phone-error-msg i {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
}

.custom-inline-error.error-fade-out {
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
}

/* ==========================================================================
   Destination Spotlight & Interactive Cards Showcase (210px x 320px)
   ========================================================================== */
.dest-spotlight-section {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  background-color: #070B14;
}

.dest-spotlight-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.dest-spotlight-backdrop.is-transitioning {
  opacity: 0.25 !important;
  transform: scale(1.05) !important;
}

.dest-spotlight-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 12px 4px 20px 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 158, 11, 0.3) transparent;
}

.dest-spotlight-track::-webkit-scrollbar {
  height: 6px;
}

.dest-spotlight-track::-webkit-scrollbar-track {
  background: transparent;
}

.dest-spotlight-track::-webkit-scrollbar-thumb {
  background: rgba(245, 158, 11, 0.3);
  border-radius: 9999px;
}

.dest-spotlight-track::-webkit-scrollbar-thumb:hover {
  background: rgba(245, 158, 11, 0.6);
}

.dest-spotlight-card {
  width: 210px !important;
  min-width: 210px !important;
  max-width: 210px !important;
  height: 320px !important;
  min-height: 320px !important;
  max-height: 320px !important;
  flex: 0 0 210px !important;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.dest-spotlight-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(245, 158, 11, 0.6) !important;
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.6), 0 0 20px rgba(245, 158, 11, 0.15);
}

.dest-spotlight-card.active {
  border-color: #F59E0B !important;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.8), 0 0 24px rgba(245, 158, 11, 0.3);
}

.dest-spotlight-card.active .dest-card-indicator {
  opacity: 1;
  transform: scale(1);
}

.dest-card-indicator {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.25s ease;
}

/* ==========================================================================
   Modal Step 2: Places Covered Showcase Panel & Cards (190px x 280px)
   ========================================================================== */
.showcase-places-panel {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 75 !important;
  background: #070B14 !important;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.showcase-places-panel.active {
  opacity: 1 !important;
  transform: scale(1) !important;
}

/* Horizontal Scrolling Dock for Places Covered */
.places-covered-track {
  display: flex !important;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 16px 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 158, 11, 0.4) rgba(15, 23, 42, 0.6);
}

.places-covered-track::-webkit-scrollbar {
  height: 6px;
}

.places-covered-track::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 9999px;
}

.places-covered-track::-webkit-scrollbar-thumb {
  background: rgba(245, 158, 11, 0.4);
  border-radius: 9999px;
}

.places-covered-track::-webkit-scrollbar-thumb:hover {
  background: rgba(245, 158, 11, 0.8);
}

/* Compact Vertical Cards strictly 190px x 280px */
.places-covered-card {
  width: 190px !important;
  min-width: 190px !important;
  max-width: 190px !important;
  height: 280px !important;
  min-height: 280px !important;
  max-height: 280px !important;
  flex: 0 0 190px !important;
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  background: #0B1120;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  scroll-snap-align: start;
  user-select: none;
}

.places-covered-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(245, 158, 11, 0.7) !important;
  box-shadow: 0 12px 25px -5px rgba(0, 0, 0, 0.6), 0 0 15px rgba(245, 158, 11, 0.25);
}

.places-covered-card.active {
  border-color: #F59E0B !important;
  box-shadow: 0 12px 30px -5px rgba(245, 158, 11, 0.35), 0 0 0 2px rgba(245, 158, 11, 0.85) !important;
  transform: translateY(-4px) scale(1.03);
}

.places-covered-card.active .places-card-indicator {
  opacity: 1;
  transform: scale(1);
}

.places-card-indicator {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.95);
  color: #070B14;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.25s ease;
  z-index: 20;
}
