:root {
    --primary-orange: #FF5500;
    --theme-bg: #FFFFFF;
    --theme-bg-secondary: #F9FAFB;
    --theme-bg-translucent: rgba(255, 255, 255, 0.85);
    --theme-text-primary: #111827;
    --theme-text-secondary: #4B5563;
    --theme-text-muted: #9CA3AF;
    --theme-border: #F3F4F6;
    --theme-card-bg: #FFFFFF;
    --theme-glass-bg: rgba(255, 255, 255, 0.5);
    --theme-glass-border: rgba(255, 255, 255, 0.8);
}

.dark {
    --theme-bg: #0A0A0B;
    --theme-bg-secondary: #111112;
    --theme-bg-translucent: rgba(10, 10, 11, 0.85);
    --theme-text-primary: #FFFFFF;
    --theme-text-secondary: #9CA3AF;
    --theme-text-muted: #6B7280;
    --theme-border: #1A1A1B;
    --theme-card-bg: #111112;
    --theme-glass-bg: rgba(255, 255, 255, 0.05);
    --theme-glass-border: rgba(255, 255, 255, 0.1);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

/* Base Styles */

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--theme-text-primary);
    line-height: 1.6;
    background-color: var(--theme-bg);
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* ═══════════════════════════════════════ */
/* GLOBAL STACKING CONTEXT STRATEGY        */
/* Ensures fixed UI (header, WhatsApp,     */
/* modals) always renders ABOVE sections.  */
/* ═══════════════════════════════════════ */
main,
main > section,
body > section {
    position: relative;
    z-index: 1;
}

#sticky-header {
    z-index: 9999 !important;
}

#whatsapp-widget {
    z-index: 999999 !important;
}

#detail-modal,
#booking-modal,
#heritage-modal,
#legal-modal {
    z-index: 1000000 !important;
}

#preloader {
    z-index: 2000000 !important;
}

/* Theme Utility Overrides */
.bg-white, .bg-gray-50, .bg-\[\#FAFAFA\], .bg-\[\#111112\] { background-color: var(--theme-bg) !important; }
.bg-gray-100 { background-color: var(--theme-bg-secondary) !important; }
.text-gray-900, .text-black { color: var(--theme-text-primary) !important; }
.text-gray-600, .text-gray-500 { color: var(--theme-text-secondary) !important; }
.border-gray-100, .border-white\/5, .border-white\/10, .border-\[\#1A1A1B\] { border-color: var(--theme-border) !important; }
.bg-glass { 
    background-color: rgba(0, 0, 0, 0.8) !important; 
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px); 
}

/* Theme Switch Toggle */
.theme-switch {
    width: 52px;
    height: 28px;
    position: relative;
    display: inline-block;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.theme-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--theme-bg-secondary);
    transition: .4s;
    border-radius: 34px;
    border: 1px solid var(--theme-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
}

.theme-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 3px;
    background-color: #FF5500;
    transition: .4s;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 10px rgba(255, 85, 0, 0.3);
}

input:checked + .theme-slider:before {
    left: calc(100% - 24px);
}

.theme-slider .sun-icon, .theme-slider .moon-icon {
    font-size: 12px;
    z-index: 1;
    transition: color 0.3s ease;
}

.theme-slider .sun-icon { color: #FF5500; }
.theme-slider .moon-icon { color: #9CA3AF; }

.dark .theme-slider .sun-icon { color: #4B5563; }
.dark .theme-slider .moon-icon { color: #FF5500; }

/* Dark Mode Specific Overrides */
.dark #hero-contact-btn {
    color: white !important;
}

.dark #hero-contact-btn:hover {
    color: #FF5500 !important;
}

/* Stats Section Dark Mode */
.dark .group .bg-gray-50, 
.dark .group .bg-orange-50 {
    background-color: rgba(255, 255, 255, 0.03) !important;
}

.dark .group:hover .bg-gray-50,
.dark .group:hover .bg-orange-50 {
    background-color: var(--primary-orange) !important;
}

.dark .md\:border-r {
    border-color: rgba(255, 255, 255, 0.05) !important;
}

.dark .image-gallery-slider::before,
.dark .image-gallery-slider::after {
    background: linear-gradient(to right, #0A0A0B, transparent) !important;
}

.dark .image-gallery-slider::after {
    background: linear-gradient(to left, #0A0A0B, transparent) !important;
}

/* Hero Destination Badges - Contrast Force */
.hero-destination-badge {
    transition: all 0.3s ease !important;
}

.dark .hero-destination-badge {
    background-color: white !important;
    color: black !important;
    border: 1px solid white !important;
}

/* Hero Slider Theme Masks */
.hero-slider-mask-left {
    background: linear-gradient(to right, var(--theme-bg), transparent) !important;
}
.hero-slider-mask-right {
    background: linear-gradient(to left, var(--theme-bg), transparent) !important;
}

/* Testimonial Marquee - Theme Aware Shadows */
.testimonial-marquee-container {
    box-shadow: inset 40px 0 40px -20px var(--theme-bg), 
                inset -40px 0 40px -20px var(--theme-bg) !important;
}

/* Sticky Header - Theme Aware */
#sticky-header {
    background: var(--theme-bg);
    box-shadow: none;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--theme-border);
}

.dark #sticky-header {
    background: rgba(0, 0, 0, 0.1) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

#sticky-header.scrolled {
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1600px;
    background: var(--theme-glass-bg);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--theme-glass-border);
    border-radius: 12px;
    padding: 0.25rem 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}




/* Menu Buttons (Professional Senior Look) */
.menu-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.menu-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--primary-orange);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.menu-btn:hover {
    color: var(--primary-orange);
    background: #FFFAF8;
    transform: translateY(-1px);
}

.menu-btn:hover::after, .menu-btn.active::after {
    transform: scaleX(1);
}

.menu-btn.active {
    color: var(--primary-orange);
    background: #FFFAF8;
}

.book-now-btn {
    padding: 0.5rem 1rem;
    background-color: var(--primary-orange);
    color: white !important;
    font-weight: 700;
    font-size: 0.8125rem;
    border-radius: 6px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid var(--primary-orange);
    box-shadow: 0 10px 30px rgba(255, 85, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.book-now-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: white;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.1;
}

.book-now-btn:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.book-now-btn:hover {
    background-color: #E64D00;
    box-shadow: 0 15px 40px rgba(255, 85, 0, 0.25);
    transform: translateY(-2px);
}



/* Hero Section Refinements */
.marquee-wrapper {
    width: 200%;
    overflow: hidden;
    -webkit-user-select: none;
    user-select: none;
}


.marquee-content {
    display: flex;
    gap: 1.5rem;
    animation: slide 60s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
}

.marquee-reverse .marquee-content {
    animation: slide-reverse 60s linear infinite;
}

.slider-card {
    width: 400px;
    height: 250px;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(255, 85, 0, 0.05);
}

.slider-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes slide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes slide-reverse {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

/* Trust Badges - Minimalist */
.trust-badge {
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #F3F4F6;
    text-align: center;
    transition: border-color 0.3s ease;
}

.trust-badge:hover {
    border-color: var(--primary-orange);
}

.icon-circle {
    width: 48px;
    height: 48px;
    background: #FFFAF8;
    color: var(--primary-orange);
    border-radius: 12px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-badge h3 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* Trust Badges - Minimalist */

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Mobile */
@media (max-width: 1024px) {
    .marquee-wrapper { width: 300%; }
    .marquee-reverse { display: none; }
    
    /* About Us - Mobile Overlapping Fix */
    #about .relative {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

/* Utilities */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Mobile Menu Base (Full Screen Overlay) */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #FFFFFF;
    z-index: 2000000 !important; /* Higher than WhatsApp (999,999) */
    padding: 120px 40px 60px; /* Space for headers/footers */
    display: flex;
    flex-direction: column;
    align-items: center; /* Horizontally center */
    justify-content: center; /* Vertically center */
    gap: 3rem;
    transform: translateX(100%); /* Slide from right */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.dark .mobile-menu-overlay {
    background: #0A0A0F !important;
    border: none;
}

.dark .burger-line {
    background-color: white !important;
}

.dark .mobile-link {
    color: white !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}

.dark .mobile-link.active {
    color: #FF5500 !important;
}
.mobile-menu-overlay.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Language Sub-menu Styles */
.mobile-lang-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
}

.dark .mobile-lang-trigger {
    border-color: rgba(255, 255, 255, 0.05);
}

.mobile-lang-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 1rem;
}

.mobile-lang-submenu.active {
    max-height: 300px;
    margin-top: 1rem;
}

/* On Desktop, completely hide the mobile-only overlay */
@media (min-width: 1025px) {
    .mobile-menu-overlay {
        display: none !important;
    }
}
/* Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Custom Scroll Indicator for Modal */
#modal-scroll-container::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 20%;
    bottom: 20%;
    width: 3px;
    background: rgba(0,0,0,0.05);
    border-radius: 10px;
}

#modal-scroll-indicator {
    position: absolute;
    right: 12px;
    top: 0;
    width: 2px;
    background: #FF5500;
    border-radius: 10px;
    z-index: 30;
    transition: top 0.15s cubic-bezier(0.23, 1, 0.32, 1);
}

#modal-stage-num {
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.story-section {
    opacity: 0.3;
    transition: opacity 0.8s ease;
}

.story-section.is-active {
    opacity: 1;
}

#modal-scroll-up:hover, #modal-scroll-down:hover {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.story-section img {
    filter: brightness(0.9);
}

/* Modal States */
#story-modal.invisible {
    opacity: 0;
    pointer-events: none;
}

#story-modal:not(.invisible) {
    opacity: 1;
}

#story-modal:not(.invisible) #story-card {
    transform: scale(1);
    animation: modalEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scroll Prompt Button Refinement */
#scroll-prompt {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#scroll-prompt:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Tours Showcase Utilities */
.tour-tab {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.7rem;
    color: var(--theme-text-primary);
    z-index: 20;
    transition: color 0.3s ease;
}

.tour-tab.active {
    color: white !important;
}

.tour-indicator {
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#modal-scroll-container {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
#modal-scroll-container::-webkit-scrollbar {
    display: none;
}

@keyframes modalEntrance {
    from { 
        opacity: 0;
        transform: scale(0.9) translateY(40px);
    }
    to { 
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.tour-tab {
    position: relative;
    padding: 0.75rem 2rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--theme-text-secondary);
    transition: all 0.3s ease;
    border-radius: 9999px;
    z-index: 10;
}

.tour-tab.active {
    color: white !important;
}

.tour-indicator {
    position: absolute;
    height: calc(100% - 8px);
    top: 4px;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-radius: 9999px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
}

/* Tours Grid Utility */
.tours-grid-hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    position: absolute;
    width: 100%;
}

.tours-grid-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Custom Modal Scrollbar */
#modal-scroll-container::-webkit-scrollbar {
    width: 6px;
}
#modal-scroll-container::-webkit-scrollbar-track {
    background: transparent;
}
#modal-scroll-container::-webkit-scrollbar-thumb {
    background: #E5E7EB;
    border-radius: 10px;
}
#modal-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #FF5500;
}

/* Hover Glow for Cards */
.group:hover img {
    filter: brightness(0.9);
}

@media (max-width: 768px) {
    #story-card {
        height: 95vh;
        border-radius: 2rem;
    }
    #modal-scroll-container {
        padding: 2rem;
    }
    /* Tours Showcase Mobile Fixes */
    .group.h-\[650px\], .group.h-\[500px\], .group.h-\[600px\] {
        height: auto !important;
        min-height: 500px;
    }
}

/* Footer Marquee Animation */
@keyframes footer-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-footer-marquee {
    display: flex;
    width: fit-content;
    animation: footer-marquee 40s linear infinite;
}

/* Testimonials Marquee Animation (LTR) */
@keyframes marquee-ltr {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.animate-marquee-ltr {
    animation: marquee-ltr 100s linear infinite;
    display: flex;
}

.marquee-container-fade {
    position: relative;
    -webkit-mask-image: linear-gradient(to right, 
        transparent, 
        black 10%, 
        black 90%, 
        transparent
    );
    mask-image: linear-gradient(to right, 
        transparent, 
        black 10%, 
        black 90%, 
        transparent
    );
}

.testimonial-card {
    min-width: 280px;
    width: 280px;
    padding: 2rem;
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 8rem;
    font-family: serif;
    opacity: 0.05;
    line-height: 1;
    z-index: 0;
    pointer-events: none;
}

.testimonial-orange {
    background: linear-gradient(135deg, #FF5500, #E64D00);
    color: white;
    box-shadow: 0 40px 100px rgba(255, 85, 0, 0.2);
}

.dark .testimonial-orange {
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6) !important;
}

.testimonial-card img {
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}

.testimonial-white img {
    border-color: rgba(255, 85, 0, 0.1);
}

.testimonial-white {
    background: white;
    border: 1px solid #F3F4F6;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.05);
}

.dark .testimonial-white {
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6) !important;
}

.testimonial-white::before { color: #FF5500; }

.testimonial-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.1);
    z-index: 50;
}

.dark .testimonial-card:hover {
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8) !important;
}

/* Glowing Platform Buttons (Intensified) */
.glowing-tripadvisor {
    border-color: #34E0A1 !important;
    box-shadow: 0 0 15px rgba(52, 224, 161, 0.3), 0 0 30px rgba(52, 224, 161, 0.2), inset 0 0 10px rgba(52, 224, 161, 0.1);
    animation: glow-green-intense 2.5s infinite alternate ease-in-out;
}

.glowing-google {
    border-color: #4285F4 !important;
    box-shadow: 0 0 15px rgba(66, 133, 244, 0.3), 0 0 30px rgba(66, 133, 244, 0.2), inset 0 0 10px rgba(66, 133, 244, 0.1);
    animation: glow-blue-intense 2.5s infinite alternate ease-in-out;
}

.glowing-tripadvisor:hover, .glowing-google:hover {
    animation: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: #F3F4F6 !important;
    transform: translateY(-5px);
}

@keyframes glow-green-intense {
    from { box-shadow: 0 0 15px rgba(52, 224, 161, 0.2), 0 0 30px rgba(52, 224, 161, 0.1); }
    to { box-shadow: 0 0 25px rgba(52, 224, 161, 0.5), 0 0 50px rgba(52, 224, 161, 0.3); }
}

@keyframes glow-blue-intense {
    from { box-shadow: 0 0 15px rgba(66, 133, 244, 0.2), 0 0 30px rgba(66, 133, 244, 0.1); }
    to { box-shadow: 0 0 25px rgba(66, 133, 244, 0.5), 0 0 50px rgba(66, 133, 244, 0.3); }
}

/* Nav Active State (For ScrollSpy) */
.nav-link-active {
    color: #FF5500 !important;
}
.nav-link-active::after {
    width: 100% !important;
}

.pause:hover {
    animation-play-state: paused;
}

/* Section Anchors for Sticky Header */
section[id] {
    scroll-margin-top: 100px;
}

@media (max-width: 768px) {
    .testimonial-card {
        min-width: 320px;
        padding: 2rem;
        border-radius: 2rem;
    }
}

/* ═══════════════════════════════════════ */
/* ELITE EXPEDITION HUB: PRECISE STYLING   */
/* ═══════════════════════════════════════ */

.tour-tab {
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    color: #9CA3AF;
}

.tour-tab.active {
    color: white !important;
}

.tour-indicator {
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px rgba(255, 85, 0, 0.3);
}

.trip-card {
    will-change: transform, opacity;
}

.card-media {
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent);
    mask-image: linear-gradient(to bottom, black 85%, transparent);
}

.slider-track {
    will-change: transform;
}

/* Detail Modal Styles */
#detail-modal-content {
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(40px);
    backdrop-filter: blur(40px);
}

#modal-content-grid {
    scrollbar-width: thin;
    scrollbar-color: #FF5500 transparent;
}
#modal-content-grid::-webkit-scrollbar {
    width: 6px;
}
#modal-content-grid::-webkit-scrollbar-thumb {
    background: #FF5500;
    border-radius: 10px;
}

/* Glassmorphism for Chips */
.backdrop-blur-md {
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 1);
}

/* Animation for indicator pulse */
@keyframes indicatorPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.tour-tab-container {
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.dark .tour-tab-container {
    background: rgba(30, 30, 35, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.tour-tab {
    position: relative;
    z-index: 10;
    cursor: pointer;
    overflow: hidden;
}

.tour-tab .tab-text {
    transition: all 0.4s ease;
}

.tour-tab:not(.active) .tab-text {
    opacity: 0.6;
}

.dark .tour-tab:not(.active) {
    color: rgba(255, 255, 255, 0.4) !important;
}

.dark .tour-tab.active {
    color: white !important;
}

.tour-indicator {
    position: absolute;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 25px rgba(255, 85, 0, 0.3);
    z-index: 5;
}

/* ═══════════════════════════════════════ */
/* COMMON FEATURES SECTION: PREMIUM GRID   */
/* ═══════════════════════════════════════ */

.feature-card {
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-15px);
    border-color: rgba(255, 85, 0, 0.1);
}

.feature-card iconify-icon {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.feature-card:hover iconify-icon {
    transform: scale(1.2) rotate(5deg);
}

#common-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.05), transparent);
}

/* Global Mobile UX Enhancements */
@media (max-width: 768px) {
    /* Horizontal Slider for "Why Choose Gazelle?" */
    .why-choose-scroll {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 1.5rem !important;
        padding-bottom: 2rem !important;
        padding-right: 1.5rem !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }
    .why-choose-scroll::-webkit-scrollbar {
        display: none !important;
    }
    .why-choose-scroll > div {
        scroll-snap-align: center !important;
        min-width: 85% !important;
        flex-shrink: 0 !important;
    }

    /* Sticky Stacking for "Common Features" */
    .features-stack-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }
    .feature-card-stack {
        position: sticky !important;
        top: 100px !important;
        transition: transform 0.4s ease !important;
    }
    .feature-card-stack:nth-child(1) { top: 110px !important; }
    .feature-card-stack:nth-child(2) { top: 130px !important; }
    .feature-card-stack:nth-child(3) { top: 150px !important; }
    .feature-card-stack:nth-child(4) { top: 170px !important; }
    .feature-card-stack:nth-child(5) { top: 190px !important; }
    .feature-card-stack:nth-child(6) { top: 210px !important; }
    .feature-card-stack:nth-child(7) { top: 230px !important; }

    /* Mobile Header/Menu */
    #sticky-header {
        background: rgba(255, 255, 255, 0.98) !important;
        -webkit-backdrop-filter: blur(30px) !important;
        backdrop-filter: blur(30px) !important;
    }
    
    .slider-card {
        width: 85vw !important;
        height: 200px !important;
    }
    .mobile-link {
        font-size: 2.5rem;
        font-weight: 900;
        text-transform: uppercase;
        color: #111;
        letter-spacing: -0.05em;
    }
    .mobile-link.active {
        color: #FF5500;
    }
    
    /* Burger Animation */
    .burger-active .burger-line-1 { transform: translateY(8px) rotate(45deg); }
    .burger-active .burger-line-2 { opacity: 0; }
    .burger-active .burger-line-3 { transform: translateY(-8px) rotate(-45deg); }

    /* Performance Fixes for Sliders */
    /* Performance Fixes for Sliders */
    .slider-track {
        will-change: transform;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    #whatsapp-popup {
        width: calc(100vw - 48px) !important;
        right: 24px !important;
        bottom: 100px !important;
    }
}

/* (First duplicate removed — see bottom of file for canonical #scroll-to-top) */

/* Moved Inline Styles */
.hero-tagline-container {
    text-shadow: 0 0 20px rgba(255, 85, 0, 0.2);
}

.feature-shadow {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

/* Moved Inline Styles */
.hero-tagline {
    text-shadow: 0 0 20px rgba(255, 85, 0, 0.2);
}

.feature-shadow {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

/* ------------------------------- */
/* Heritage Modal Custom Styles */
/* ------------------------------- */
#modal-scroll-container::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 20%;
    bottom: 20%;
    width: 3px;
    background: rgba(0,0,0,0.05);
    border-radius: 10px;
}

#modal-scroll-indicator {
    position: absolute;
    right: 12px;
    top: 0;
    width: 2px;
    background: #FF5500;
    border-radius: 10px;
    z-index: 30;
    transition: top 0.15s cubic-bezier(0.23, 1, 0.32, 1);
}

#modal-stage-num {
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.story-section {
    opacity: 0.3;
    transition: opacity 0.8s ease;
}

.story-section.is-active {
    opacity: 1;
}

#modal-scroll-up:hover, #modal-scroll-down:hover {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.story-section img {
    filter: brightness(0.9);
}

#modal-scroll-container::-webkit-scrollbar {
    width: 6px;
}
#modal-scroll-container::-webkit-scrollbar-track {
    background: transparent;
}
#modal-scroll-container::-webkit-scrollbar-thumb {
    background: #E5E7EB;
    border-radius: 10px;
}
#modal-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #FF5500;
}

@media (max-width: 768px) {
    #story-card-content {
        height: 95vh;
        border-radius: 2rem;
    }
    #modal-scroll-container {
        padding: 2rem;
    }
}

/* .hide-ui removed — was causing WhatsApp widget & header to disappear */

/* Feature Marquee Animations */
@keyframes marquee-ltr {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 12px)); }
}

.animate-marquee-ltr {
    animation: marquee-ltr 40s linear infinite;
}

.hover\:pause:hover {
    animation-play-state: paused !important;
}

/* Feature Marquee & Premium Cards */
.feature-card-premium {
    flex: 0 0 320px;
    background: var(--theme-bg-secondary);
    border: 1px solid var(--theme-border);
    padding: 2rem;
    border-radius: 2rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    text-align: left;
}

.feature-card-premium:hover {
    background: var(--theme-card-bg);
    border-color: #FF5500;
}

.feature-card-premium .title {
    color: var(--theme-text-primary);
}

.feature-card-premium .desc {
    color: var(--theme-text-secondary);
}

.feature-card-premium .icon-box {
    background: rgba(255, 85, 0, 0.05);
}

/* Testimonial Theme Awareness */
.testimonial-white {
    background: var(--theme-bg-secondary);
    border: 1px solid var(--theme-border);
    transition: all 0.5s ease;
}

.testimonial-white h4, .testimonial-white p {
    color: var(--theme-text-primary) !important;
}

.testimonial-white .text-gray-500 {
    color: var(--theme-text-secondary) !important;
}

@media (min-width: 768px) {
    .feature-card-premium {
        flex: 0 0 400px;
        padding: 2.5rem;
    }
}

.feature-card-premium:hover {
    background: var(--theme-card-bg);
    border-color: #FF5500;
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1), 0 0 20px rgba(255, 85, 0, 0.1);
}

.feature-card-premium .icon-box {
    width: 56px;
    height: 56px;
    background: rgba(255, 85, 0, 0.1);
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF5500;
    margin-bottom: 2rem;
    transition: all 0.5s ease;
}

@media (min-width: 768px) {
    .feature-card-premium .icon-box {
        width: 64px;
        height: 64px;
    }
}

.feature-card-premium:hover .icon-box {
    background: #FF5500;
    color: white;
    transform: rotate(10deg) scale(1.1);
}

.feature-card-premium .title {
    font-size: 1.125rem;
    font-weight: 900;
    color: var(--theme-text-primary);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

@media (min-width: 768px) {
    .feature-card-premium .title {
        font-size: 1.35rem;
    }
}

.feature-card-premium .desc {
    font-size: 0.8125rem;
    color: var(--theme-text-secondary);
    line-height: 1.5;
    font-weight: 500;
}

@media (min-width: 768px) {
    .feature-card-premium .desc {
        font-size: 0.9375rem;
    }
}

#scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: #FF5500;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255, 85, 0, 0.3);
    z-index: 999998;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
}

#scroll-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#scroll-to-top:hover {
    background: #000;
    transform: translateY(-5px);
}

/* FAQ Section Styles */
.faq-item.active .faq-content {
    max-height: 500px;
    padding-bottom: 2rem;
}

.faq-item.active .plus-icon {
    display: none;
}

.faq-item.active .minus-icon {
    display: block !important;
}

.faq-item.active {
    border-color: #FF5500 !important;
    box-shadow: 0 20px 40px rgba(255, 85, 0, 0.05) !important;
}

.faq-content {
    transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
}

/* ═══════════════════════════════════════ */
/* Mobile Touch-Activated Hover Effects   */
/* ═══════════════════════════════════════ */

/* Why Choose Cards — tap to activate */
#why-us .group.touch-active {
    transform: translateY(-8px) !important;
    box-shadow: 0 25px 50px rgba(255, 85, 0, 0.15) !important;
    border-color: #FF5500 !important;
}

#why-us .group.touch-active .w-16 {
    background: #FF5500 !important;
    color: white !important;
    transform: scale(1.1) !important;
}

#why-us .group.touch-active h3 {
    color: #FF5500 !important;
}

/* Feature Marquee Cards — tap to activate */
.feature-card-premium.touch-active {
    background: var(--theme-card-bg) !important;
    border-color: #FF5500 !important;
    transform: translateY(-10px) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1), 0 0 20px rgba(255, 85, 0, 0.1) !important;
}

.feature-card-premium.touch-active .icon-box {
    background: #FF5500 !important;
    color: white !important;
    transform: rotate(10deg) scale(1.1) !important;
}

/* Marquee scrollbar hiding on mobile */
.marquee-scroller-ltr::-webkit-scrollbar {
    display: none;
}

.marquee-scroller-ltr {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Tour Card Buttons — enhanced mobile touch feedback */
@media (max-width: 768px) {
    .trip-card button {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        cursor: pointer;
    }

    .trip-card button:active {
        transform: scale(0.95) !important;
        opacity: 0.9;
    }

    .trip-card .card-media {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        cursor: pointer;
    }

    /* Feature cards get active state on touch */
    .feature-card-premium {
        -webkit-tap-highlight-color: transparent;
    }

    /* Why Choose scroll improvements */
    .why-choose-scroll {
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-x !important;
    }

    /* Agency Cards — tap to activate */
    .group\/card.touch-active {
        transform: scale(0.98) !important;
        box-shadow: 0 40px 80px rgba(255, 85, 0, 0.2) !important;
    }

    .group\/card.touch-active img {
        transform: scale(1.1) !important;
    }
}
