/* ============================
   TREKKING WEBSITE CSS
   Author: Summit Quest
   Description: Modern mountain adventure website styling with enhanced booking modal
   ============================
   RESPONSIVE: Desktop-first. Base styles target desktop/laptop. Mobile/tablet use
   @media (max-width: 767px), (max-width: 968px), etc. A @media (min-width: 768px)
   block explicitly resets nav and section layout so desktop is never overridden.
   ============================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');
@import url('/booking-modal.css');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===========================================
   CSS-ONLY DROPDOWN FALLBACK (No JS Required)
   Works on cPanel even if JavaScript is blocked
   =========================================== */
@media (min-width: 769px) {
    /* Show dropdown on hover - desktop only */
    .nav-dropdown:hover > .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
    }
    
    /* Rotate caret on hover */
    .nav-dropdown:hover > a .dropdown-caret,
    .nav-dropdown:hover > .nav-dropdown-trigger-wrap .dropdown-caret {
        transform: rotate(180deg) !important;
    }
    
    /* Show nested dropdown on hover */
    .nested-dropdown:hover > .nested-dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 400px !important;
        pointer-events: auto !important;
    }
    
    /* Rotate nested caret on hover */
    .nested-dropdown:hover > .nested-dropdown-trigger .nested-caret {
        transform: rotate(90deg) !important;
    }
}

/* JS-enhanced: .open class (set by JavaScript click) */
.nav-dropdown.open > .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.nav-dropdown.open > a .dropdown-caret,
.nav-dropdown.open > .nav-dropdown-trigger-wrap .dropdown-caret {
    transform: rotate(180deg) !important;
}

.nested-dropdown.open > .nested-dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-height: 400px !important;
    pointer-events: auto !important;
}

.nested-dropdown.open > .nested-dropdown-trigger .nested-caret {
    transform: rotate(90deg) !important;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
    background: var(--page-bg);
    background-attachment: fixed;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.06em;
}

/* Ensure all images are responsive and don't cause overflow */
img {
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
}

/* Ensure all media elements are responsive */
video, iframe, embed, object {
    max-width: 100%;
    box-sizing: border-box;
}

/* Ensure all sections are properly constrained */
section {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow-x: hidden;
    margin: 0;
}

/* Ensure all containers and wrappers are properly constrained */
div, main, article, aside, header, footer {
    box-sizing: border-box;
}

/* Color Variables - Dark Mode Slate */
:root {
    --primary-color: #1a1d21;
    --secondary-color: #C5A059;         /* Muted Gold */
    --accent-color: #C5A059;            /* Muted Gold */
    --dark-color: #0F1113;
    --light-color: #e8e9eb;
    --text-dark: #e8e9eb;
    --text-light: #9ca3af;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.25);
    --page-bg: #0F1113;
    --dropdown-bg: #171614;
    --radius: 16px;
    --radius-sm: 12px;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
    --icon-muted-gold: #C5A059;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 100%;
    min-height: 70px;
    background: var(--page-bg);
    backdrop-filter: blur(10px);
    z-index: 10002;
    transition: all 0.3s ease;
    left: 0;
    right: 0;
    box-sizing: border-box;
    overflow: visible; /* Required on hosted: prevent dropdown menus from being clipped */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px; /* Match navbar; keeps row height fixed */
    padding: 1rem 2rem;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible; /* Required on hosted: allow dropdowns to show outside container */
    flex-wrap: nowrap;
}

.nav-brand {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--light-color);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo {
    height: 2rem;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.nav-logo-svg {
    width: 2rem;
    height: 2rem;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.2));
}

.nav-wordmark {
    display: inline-grid;
    grid-template-columns: auto;
    grid-template-rows: auto auto auto;
    align-items: start;
    gap: 0.12rem;
    line-height: 1;
}

.nav-word-top {
    font-family: 'Cormorant Garamond', var(--font-heading);
    font-size: clamp(1rem, 1.3vw, 1.12rem);
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--light-color);
}

.nav-word-divider {
    width: 92%;
    height: 1px;
    background: linear-gradient(90deg, rgba(201, 169, 98, 0) 0%, rgba(201, 169, 98, 0.9) 50%, rgba(201, 169, 98, 0) 100%);
    margin: 0.08rem 0 0.02rem;
}

.nav-word-bottom {
    font-family: 'Inter', var(--font-body);
    font-size: clamp(0.78rem, 1vw, 0.88rem);
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.nav-nepal-flag {
    font-size: 1rem;
    line-height: 1;
    margin-left: 0.2rem;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.28));
}

@media (max-width: 768px) {
    .nav-brand {
        gap: 0.55rem;
    }

    .nav-wordmark {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
    }

    .nav-word-divider {
        display: none;
    }

    .nav-logo-svg {
        width: 1.8rem;
        height: 1.8rem;
    }

    .nav-word-top {
        font-size: 0.8rem;
        letter-spacing: 0.04em;
    }

    .nav-word-bottom {
        font-size: 0.8rem;
        letter-spacing: 0.04em;
    }

    .nav-nepal-flag {
        font-size: 0.9rem;
        margin-left: 0.1rem;
    }

    .footer-brand-logo .nav-logo-svg {
        width: 1.7rem;
        height: 1.7rem;
    }
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: nowrap; /* Keep all nav links on one row */
    align-items: center;
}

/* Hide "Home" text link; brand/logo still links to home */
.nav-menu > li:first-child {
    display: none;
}

.nav-menu a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    font-family: 'Inter', var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Active nav link */
.nav-menu a.active {
    color: var(--accent-color);
}

.nav-menu a.active::after {
    width: 100%;
}

/* Dropdown menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a,
.nav-dropdown > .nav-dropdown-trigger-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.6rem;
    min-height: 44px;
    box-sizing: border-box;
    cursor: pointer;
}

.nav-dropdown > .nav-dropdown-trigger-wrap {
    gap: 0.25rem;
}

.nav-dropdown > .nav-dropdown-trigger-wrap .nav-link {
    padding: 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown > .nav-dropdown-trigger-wrap .dropdown-toggle-btn {
    padding: 0.35rem;
    min-width: 32px;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    border-radius: 6px;
}

.nav-dropdown > .nav-dropdown-trigger-wrap .dropdown-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-dropdown > .nav-dropdown-trigger-wrap .dropdown-toggle-btn:focus-visible {
    outline: 2px solid rgba(74, 139, 168, 0.6);
    outline-offset: 2px;
}

.nav-dropdown > .nav-dropdown-trigger-wrap:focus-within {
    outline: none;
}

.nav-dropdown > .nav-dropdown-trigger-wrap .nav-link:focus-visible,
.nav-dropdown > .nav-dropdown-trigger-wrap .dropdown-toggle-btn:focus-visible {
    outline: 2px solid rgba(74, 139, 168, 0.6);
    outline-offset: 3px;
    border-radius: 6px;
}

.nav-dropdown > a:focus-visible {
    outline: 2px solid rgba(74, 139, 168, 0.6);
    outline-offset: 3px;
    border-radius: 6px;
}

.dropdown-caret {
    font-size: 0.8rem;
    opacity: 0.9;
    transition: transform 0.2s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 2px;
    min-width: 240px;
    background: var(--dropdown-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 0.4rem;
    list-style: none;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1001;
    display: block; /* Ensure it's in the layout but hidden */
}
/* Bridge gap so hover from trigger to menu doesn't close dropdown */
.dropdown-menu::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 14px;
}

/* Treks & Expeditions mega dropdown - premium look */
.treks-expeditions-dropdown .dropdown-menu.dropdown-mega {
    min-width: 320px;
    padding: 0.85rem;
    border-radius: 18px;
    background: var(--dropdown-bg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 1px 0 0 rgba(255, 255, 255, 0.06),
        0 4px 6px -1px rgba(0, 0, 0, 0.15),
        0 20px 40px -10px rgba(0, 0, 0, 0.35),
        0 32px 56px -12px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
}

.treks-expeditions-dropdown .dropdown-menu.dropdown-mega::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.4), transparent);
    border-radius: 18px 18px 0 0;
    pointer-events: none;
}

.treks-expeditions-dropdown .dropdown-menu > li {
    margin-bottom: 0.35rem;
}

.treks-expeditions-dropdown .dropdown-menu > li:last-child {
    margin-bottom: 0;
}

/* Adventure Trips mega dropdown - same premium look (SEO-friendly main nav) */
.adventure-trips-dropdown .dropdown-menu.dropdown-mega {
    min-width: 320px;
    padding: 0.85rem;
    border-radius: 18px;
    background: var(--dropdown-bg);
    border: 1px solid rgba(197, 160, 89, 0.2);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 1px 0 0 rgba(255, 255, 255, 0.06),
        0 4px 6px -1px rgba(0, 0, 0, 0.15),
        0 20px 40px -10px rgba(0, 0, 0, 0.35),
        0 32px 56px -12px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
}
.adventure-trips-dropdown .dropdown-menu.dropdown-mega::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.4), transparent);
    border-radius: 18px 18px 0 0;
    pointer-events: none;
}
.adventure-trips-dropdown .dropdown-menu > li {
    margin-bottom: 0.35rem;
}
.adventure-trips-dropdown .dropdown-menu > li:last-child {
    margin-bottom: 0;
}

/* Hosted fix: ensure dropdown is above other content and not clipped on case-sensitive hosts */
.nav-dropdown .dropdown-menu {
    z-index: 10005;
}
.navbar,
.nav-container,
.nav-dropdown {
    overflow: visible;
}

/* Base: show dropdown when .open is set (JS click) - works on all viewports and hosted */
.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.nav-dropdown.open .dropdown-caret {
    transform: rotate(180deg);
}
.nested-dropdown.open .nested-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Desktop: Show dropdown on hover */
@media (min-width: 768px) {
    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown:focus-within .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    .nav-dropdown:hover .dropdown-caret,
    .nav-dropdown:focus-within .dropdown-caret {
        transform: rotate(180deg);
    }
    
    /* Show dropdown when .open class is present on desktop (for click support) */
    .nav-dropdown.open .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
    }
    
    .nav-dropdown.open .dropdown-caret {
        transform: rotate(180deg);
    }
    
    /* Nested dropdown content only shows on click (not hover) - user clicks Treks, Expeditions, or Peak Climbing */
    .nested-dropdown.open .nested-dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        margin-top: 0.5rem !important;
    }
    
    .nested-dropdown.open .nested-dropdown-menu.dropdown-list-scroll {
        max-height: 320px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
    
    .nested-dropdown.open .nested-caret {
        transform: rotate(90deg) !important;
    }
}

/* Desktop layout: ensure nav is visible and mobile-only rules do not apply (desktop-first reset) */
@media (min-width: 768px) {
    .hamburger {
        display: none !important;
    }

    .nav-menu {
        display: flex !important;
        position: relative !important;
        left: auto !important;
        top: auto !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 1.5rem;
        padding: 0 !important;
        width: auto !important;
        min-width: 0 !important;
        background: transparent !important;
        text-align: left !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }

    /* Top-level links share one vertical alignment */
    .nav-menu > li {
        display: flex;
        align-items: center;
    }

    .nav-menu > li > a {
        display: inline-flex !important;
        align-items: center;
        min-height: 44px;
        padding: 0.5rem 0.35rem;
        box-sizing: border-box;
    }

    .nav-dropdown > a {
        padding: 0.5rem 0.45rem !important;
    }

    .dropdown-menu {
        position: absolute !important;
        display: block !important;
        min-width: 240px !important;
        width: auto !important;
        transform: translateY(10px) !important;
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding: 0.5rem !important;
        background: rgba(26, 61, 82, 0.98) !important;
        border-radius: 14px !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .nav-dropdown:not(:hover):not(.open) .dropdown-menu,
    .nav-dropdown:not(:focus-within):not(.open) .dropdown-menu {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    /* Desktop section layouts (explicit so they are not overridden by later mobile rules) */
    .about-content {
        grid-template-columns: 1fr 1fr !important;
        gap: 4rem;
    }

    .stats {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr 1fr !important;
        gap: 4rem;
    }

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
        gap: 3rem;
    }

    .expedition-cards:not(.expeditions-grid) {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

/* Medium screens: slightly smaller nav gap so links stay on one row */
@media (min-width: 768px) and (max-width: 992px) {
    .nav-menu {
        gap: 1.25rem !important;
    }
    .nav-container {
        padding: 1rem 1.25rem;
    }
}


.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    min-height: 44px;
    box-sizing: border-box;
    border-radius: 12px;
    white-space: nowrap;
    cursor: pointer;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Mega dropdown: beautiful category items (Treks, Expeditions, Peak Climbing) */
.treks-expeditions-dropdown .dropdown-menu a.nested-dropdown-trigger,
.adventure-trips-dropdown .dropdown-menu a.nested-dropdown-trigger {
    padding: 0.9rem 1rem;
    border-radius: 12px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.treks-expeditions-dropdown .dropdown-menu a.nested-dropdown-trigger:hover,
.adventure-trips-dropdown .dropdown-menu a.nested-dropdown-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
    transform: translateX(4px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.treks-expeditions-dropdown .dropdown-menu a.nested-dropdown-trigger .category-text,
.adventure-trips-dropdown .dropdown-menu a.nested-dropdown-trigger .category-text {
    letter-spacing: 0.02em;
    font-size: 1.02rem;
}

.treks-expeditions-dropdown .dropdown-menu a.nested-dropdown-trigger i:first-child,
.adventure-trips-dropdown .dropdown-menu a.nested-dropdown-trigger i:first-child {
    width: 20px;
    font-size: 1rem;
    opacity: 0.95;
    transition: transform 0.25s ease;
}

.treks-expeditions-dropdown .dropdown-menu a.nested-dropdown-trigger:hover i:first-child,
.adventure-trips-dropdown .dropdown-menu a.nested-dropdown-trigger:hover i:first-child {
    transform: scale(1.08);
}

.treks-expeditions-dropdown .dropdown-menu a.nested-dropdown-trigger .nested-caret,
.adventure-trips-dropdown .dropdown-menu a.nested-dropdown-trigger .nested-caret {
    transition: transform 0.25s ease;
    opacity: 0.9;
}

.dropdown-menu a i {
    width: 18px;
    text-align: center;
    color: var(--secondary-color);
}

.dropdown-menu a::after {
    display: none;
}

/* Nested Dropdown Styles */
.nested-dropdown {
    position: relative;
}

.nested-dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.75rem 0.9rem;
    color: var(--light-color);
    text-decoration: none;
    border-radius: 12px;
    transition: background 0.2s ease, color 0.2s ease;
    cursor: pointer;
    width: 100%;
}

.nested-dropdown-trigger:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--secondary-color);
}

/* Smooth entrance for mega dropdown */
.treks-expeditions-dropdown:hover .dropdown-menu.dropdown-mega,
.treks-expeditions-dropdown.open .dropdown-menu.dropdown-mega,
.treks-expeditions-dropdown:focus-within .dropdown-menu.dropdown-mega,
.adventure-trips-dropdown:hover .dropdown-menu.dropdown-mega,
.adventure-trips-dropdown.open .dropdown-menu.dropdown-mega,
.adventure-trips-dropdown:focus-within .dropdown-menu.dropdown-mega {
    transform: translateY(0) scale(1);
}

.treks-expeditions-dropdown .dropdown-menu.dropdown-mega,
.adventure-trips-dropdown .dropdown-menu.dropdown-mega {
    transform: translateY(8px) scale(0.98);
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.25s ease;
}

.nested-dropdown-trigger:focus {
    outline: 2px solid rgba(197, 160, 89, 0.6);
    outline-offset: 2px;
}

/* Category label (Treks, Expeditions, Peak Climbing) - clear hierarchy */
.dropdown-category-label .category-text {
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nested-dropdown-trigger i:first-child {
    color: var(--secondary-color);
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.nested-caret {
    font-size: 0.7rem;
    opacity: 0.8;
    transition: transform 0.25s ease;
    margin-left: auto;
    flex-shrink: 0;
}

.nested-dropdown.open .nested-caret {
    transform: rotate(90deg);
}

.nested-dropdown-menu {
    list-style: none;
    padding: 0.5rem 0;
    margin: 0.5rem 0 0 0;
    background: rgba(20, 50, 70, 0.95);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.3s ease, opacity 0.25s ease, visibility 0.25s ease, margin 0.25s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Mega dropdown: refined nested panel when Treks/Expeditions/Peak is open */
.treks-expeditions-dropdown .nested-dropdown-menu,
.adventure-trips-dropdown .nested-dropdown-menu {
    background: var(--dropdown-bg);
    border: 1px solid rgba(197, 160, 89, 0.15);
    border-radius: 12px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset, 0 8px 24px rgba(0, 0, 0, 0.2);
}

.nested-dropdown.open .nested-dropdown-menu {
    max-height: 800px;
    opacity: 1;
    visibility: visible;
    margin-top: 0.5rem;
}

/* Scrollable dropdown lists - Treks, Expeditions, Peak Climbing (desktop) */
.dropdown-list-scroll {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(197, 160, 89, 0.5) rgba(255, 255, 255, 0.06);
}

.treks-dropdown.open .nested-dropdown-menu.dropdown-list-scroll,
.expeditions-dropdown.open .nested-dropdown-menu.dropdown-list-scroll,
.peak-climbing-dropdown.open .nested-dropdown-menu.dropdown-list-scroll {
    max-height: 320px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Smooth scrollbar for dropdown lists (WebKit) */
.dropdown-list-scroll::-webkit-scrollbar {
    width: 8px;
}

.dropdown-list-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
}

.dropdown-list-scroll::-webkit-scrollbar-thumb {
    background: rgba(197, 160, 89, 0.5);
    border-radius: 4px;
}

.dropdown-list-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(197, 160, 89, 0.7);
}

.nested-dropdown-menu li {
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nested-dropdown-menu li:last-child {
    border-bottom: none;
}

.nested-dropdown-menu a {
    display: block;
    padding: 0.7rem 1.25rem;
    color: var(--light-color);
    font-size: 0.95rem;
    line-height: 1.4;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
    cursor: pointer;
    border-radius: 8px;
    margin: 0 2px;
    position: relative;
}

.nested-dropdown-menu a:hover {
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.08);
    padding-left: 1.5rem;
}

.nested-dropdown-menu a:active {
    background: rgba(255, 255, 255, 0.12);
}

.nested-dropdown-menu .view-all-link {
    background: rgba(197, 160, 89, 0.12);
    border-top: 1px solid rgba(197, 160, 89, 0.25);
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 0.5rem;
}

.nested-dropdown-menu .view-all-link:hover {
    background: rgba(197, 160, 89, 0.22);
    color: var(--secondary-color);
    padding-left: 1.5rem;
}

.nested-dropdown-menu .view-all-link i {
    margin-left: 0.5rem;
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.nested-dropdown-menu .view-all-link:hover i {
    transform: translateX(3px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    pointer-events: auto;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--light-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section with Slider */
.hero {
    height: 100vh;
    position: relative;
    z-index: 0;
    overflow: hidden;
    background: #0F1113;
    width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;
}

.hero-slider {
    position: relative;
    height: 100%;
    width: 100%;
    max-width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    box-sizing: border-box;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    width: 100%;
    max-width: 100%;
    height: 100%;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    box-sizing: border-box;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 90%;
    padding: 1rem;
    box-sizing: border-box;
}

.slide-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
    animation: slideInUp 1s ease-out;
}

.slide-content p {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 42em;
    line-height: 1.6;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    animation: slideInUp 1s ease-out 0.3s both;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.cta-btn {
    display: inline-block;
    padding: 15px 30px;
    background: transparent;
    color: var(--light-color);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: slideInUp 1s ease-out 0.6s both;
    margin-top: 0.5rem;
    position: relative;
    z-index: 2;
}

.cta-btn:hover {
    border-color: var(--icon-muted-gold);
    color: var(--icon-muted-gold);
    transform: translateY(-2px);
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideInUp 1s ease-out both;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    animation: slideInUp 1s ease-out 0.5s both;
}

.cta-btn.cta-primary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--light-color);
}

.cta-btn.cta-primary:hover {
    border-color: var(--icon-muted-gold);
    color: var(--icon-muted-gold);
}

.cta-btn.cta-secondary {
    background: transparent;
    color: var(--light-color);
    border: 1px solid rgba(255, 255, 255, 0.35);
    text-decoration: none;
}

.cta-btn.cta-secondary:hover {
    border-color: var(--icon-muted-gold);
    color: var(--icon-muted-gold);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    z-index: 2;
    animation: scrollHintBounce 2.5s ease-in-out infinite;
}

.hero-scroll-hint i {
    font-size: 0.75rem;
}

@keyframes scrollHintBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(6px); opacity: 0.8; }
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 3;
    box-sizing: border-box;
    left: 0;
    right: 0;
}

.slider-nav button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slider-nav button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Hero slider: responsive (mobile & tablet) */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        height: 100vh;
        max-height: 100dvh;
    }
    .hero-slider,
    .slide {
        min-height: 100%;
    }
    .slide-bg {
        background-attachment: scroll;
    }
    .slide-content {
        max-width: 92%;
        padding: 1.25rem 1rem;
    }
    .slider-nav {
        padding: 0 0.75rem;
    }
    .slider-nav button {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
        font-size: 1.1rem;
    }
    .slider-dots {
        bottom: max(20px, env(safe-area-inset-bottom));
        gap: 8px;
    }
    .dot {
        width: 10px;
        height: 10px;
        min-width: 12px;
        min-height: 12px;
    }
    .cta-btn {
        min-height: 48px;
        padding: 14px 24px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
        max-height: 100dvh;
    }
    .slide-content {
        padding: 1rem 0.75rem;
        max-width: 95%;
    }
    .slider-nav {
        padding: 0 0.5rem;
    }
    .slider-nav button {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        font-size: 1rem;
    }
    .slider-dots {
        bottom: max(16px, env(safe-area-inset-bottom));
    }
    .cta-btn {
        min-height: 44px;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    .hero-cta-group {
        flex-direction: column;
    }
    .hero-scroll-hint {
        bottom: 55px;
    }
}

/* ===========================================
   ANIMATED HERO THEME (Illustrated landscape)
   =========================================== */
.hero.hero-animated {
    display: flex;
    align-items: center;
    padding: 0;
}

.hero-animated .hero-scene {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

/* Sky layer - gradient with subtle shift */
.hero-layer.hero-sky {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        #1a0a2e 0%,
        #2d1b4e 18%,
        #4a2c6a 35%,
        #6b3a7a 50%,
        #c95a4a 75%,
        #e88b5c 88%,
        #f4b87a 100%
    );
    animation: heroSkyShift 18s ease-in-out infinite alternate;
}

@keyframes heroSkyShift {
    0% { opacity: 1; filter: hue-rotate(0deg) brightness(1); }
    100% { opacity: 1; filter: hue-rotate(5deg) brightness(1.05); }
}

/* Mountain layers - CSS triangles with gradients */
.hero-layer.hero-mountains {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 75%;
    z-index: 1;
}

.hero-mountain {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: bottom center;
}

.hero-mountain-back {
    left: -5%;
    width: 110%;
    height: 70%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        transparent 25%,
        rgba(90, 50, 120, 0.5) 45%,
        rgba(120, 60, 140, 0.85) 70%,
        #3d2a5c 100%
    );
    clip-path: polygon(0 100%, 0 45%, 22% 55%, 40% 35%, 55% 50%, 70% 28%, 85% 42%, 100% 38%, 100% 100%);
    transform-origin: bottom;
    animation: heroParallaxMount 20s ease-in-out infinite alternate;
}

.hero-mountain-mid {
    left: -3%;
    width: 106%;
    height: 58%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        transparent 30%,
        rgba(140, 70, 130, 0.6) 55%,
        rgba(180, 85, 100, 0.9) 80%,
        #5c3a5a 100%
    );
    clip-path: polygon(0 100%, 0 55%, 18% 65%, 35% 48%, 50% 58%, 65% 42%, 82% 52%, 100% 48%, 100% 100%);
    transform-origin: bottom;
    animation: heroParallaxMount 16s ease-in-out infinite alternate reverse;
}

.hero-mountain-front {
    left: -2%;
    width: 104%;
    height: 42%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        transparent 40%,
        rgba(200, 90, 80, 0.5) 65%,
        rgba(220, 120, 70, 0.95) 85%,
        #8b4a45 100%
    );
    clip-path: polygon(0 100%, 0 70%, 25% 78%, 45% 62%, 60% 72%, 78% 58%, 100% 68%, 100% 100%);
    transform-origin: bottom;
    animation: heroParallaxMount 12s ease-in-out infinite alternate;
}

@keyframes heroParallaxMount {
    0% { transform: scale(1) translateY(0); }
    100% { transform: scale(1.02) translateY(-1%); }
}

/* Water strip */
.hero-layer.hero-water {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 22%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(40, 25, 80, 0.4) 30%,
        rgba(50, 30, 90, 0.7) 60%,
        rgba(35, 22, 70, 0.9) 100%
    );
    z-index: 2;
    animation: heroWaterShine 8s ease-in-out infinite;
}

@keyframes heroWaterShine {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.92; }
}

/* Grass / foreground */
.hero-layer.hero-grass {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 12%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(80, 60, 30, 0.3) 40%,
        rgba(90, 70, 25, 0.6) 100%
    );
    z-index: 3;
}

/* Clouds */
.hero-clouds {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.hero-cloud {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(ellipse 100% 50% at 50% 50%, rgba(255,255,255,0.25), rgba(255,255,255,0.08));
    opacity: 0.9;
}

.hero-cloud-1 {
    width: 180px;
    height: 60px;
    top: 12%;
    left: -10%;
    animation: heroCloudDrift 45s linear infinite;
}

.hero-cloud-2 {
    width: 220px;
    height: 70px;
    top: 22%;
    left: 30%;
    animation: heroCloudDrift 55s linear infinite 8s;
}

.hero-cloud-3 {
    width: 150px;
    height: 50px;
    top: 8%;
    right: -5%;
    animation: heroCloudDrift 50s linear infinite 15s reverse;
}

@keyframes heroCloudDrift {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(100vw + 200px)); }
}

/* Birds */
.hero-birds {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

.hero-bird {
    position: absolute;
    width: 24px;
    height: 12px;
    top: 28%;
    left: -30px;
    background: radial-gradient(ellipse 5px 4px at 50% 50%, rgba(255,255,255,0.9), transparent);
    border-radius: 50%;
}

.hero-bird::before,
.hero-bird::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    top: 50%;
    transform-origin: right center;
}

.hero-bird::before {
    left: 0;
    transform: translateY(-50%) rotate(-25deg);
    animation: heroBirdWing 0.4s ease-in-out infinite;
}

.hero-bird::after {
    right: 0;
    transform: translateY(-50%) rotate(25deg);
    animation: heroBirdWing 0.4s ease-in-out infinite 0.2s;
}

.hero-bird-1 { animation: heroBirdFly 22s linear infinite 0s; }
.hero-bird-2 { animation: heroBirdFly 24s linear infinite 3s; top: 26%; }
.hero-bird-3 { animation: heroBirdFly 20s linear infinite 6s; top: 30%; }
.hero-bird-4 { animation: heroBirdFly 26s linear infinite 2s; top: 24%; }
.hero-bird-5 { animation: heroBirdFly 23s linear infinite 9s; top: 32%; }

@keyframes heroBirdFly {
    0% { transform: translateX(0) translateY(0); opacity: 0.9; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { transform: translateX(calc(100vw + 50px)) translateY(-20px); opacity: 0.9; }
}

@keyframes heroBirdWing {
    0%, 100% { transform: translateY(-50%) rotate(-25deg); }
    50% { transform: translateY(-50%) rotate(-45deg); }
}

.hero-bird-2::before,
.hero-bird-2::after { animation-duration: 0.35s; }
.hero-bird-3::before,
.hero-bird-3::after { animation-duration: 0.45s; }

/* Hero content - left aligned */
.hero-animated .hero-content {
    position: relative;
    z-index: 5;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
    text-align: left;
    top: auto;
    left: auto;
    transform: none;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.75rem;
    animation: heroFadeInUp 1s ease-out both;
}

.hero-tagline i {
    font-size: 1rem;
    opacity: 0.9;
}

.hero-animated .hero-title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 12vw, 8.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 0.95;
    color: #fff;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.25);
    margin-bottom: 1.25rem;
    animation: heroFadeInUp 1s ease-out 0.15s both;
}

.hero-desc {
    font-size: 1.1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.95);
    max-width: 32em;
    margin-bottom: 2rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    animation: heroFadeInUp 1s ease-out 0.3s both;
}

.cta-journey {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.75rem;
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a2e;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    animation: heroFadeInUp 1s ease-out 0.5s both;
}

.cta-journey:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    background: #fff;
}

.cta-journey i {
    font-size: 0.75rem;
}

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

.hero-animated .hero-scroll-hint {
    bottom: 2rem;
}

/* Responsive: animated hero */
@media (max-width: 768px) {
    .hero-animated .hero-content {
        padding: 0 1.5rem;
        text-align: center;
    }
    .hero-animated .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-tagline {
        justify-content: center;
    }
    .cta-journey {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-animated .hero-title {
        font-size: clamp(3rem, 14vw, 4.5rem);
    }
}

/* Stats Strip - Homepage */
.stats-strip {
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a4d6b 100%);
    padding: 2.5rem 0;
    margin-top: -1px;
    position: relative;
    z-index: 1;
}

.stats-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: center;
    text-align: center;
}

.stats-strip-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.stats-strip-number {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.stats-strip-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-strip {
        padding: 2rem 0;
    }
    .stats-strip-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .stats-strip-number {
        font-size: 1.75rem;
    }
}

@media (max-width: 400px) {
    .stats-strip-grid {
        grid-template-columns: 1fr;
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--icon-muted-gold);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.7;
    padding: 0 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

/* Treks heading animation */
.treks-heading-animate {
    animation: treksFadeSlide 1s ease-out forwards;
    opacity: 0;
}

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

/* About Section (blended image + dotted path) - dark slate */
.about {
    padding: 72px 0;
    background: #0F1113;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.about::before {
    display: none;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* Blend layout: image left blended into section background (no corner curve) */
.about-content-blend {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    align-items: stretch;
    position: relative;
    min-height: 400px;
}

.about-image-blend {
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.about-image-fade {
    width: 100%;
    height: 100%;
    min-height: 400px;
    position: relative;
}

.about-image-fade img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    object-position: center center;
    -webkit-mask-image: linear-gradient(to right, black 0%, black 30%, rgba(0,0,0,0.85) 55%, rgba(0,0,0,0.4) 75%, transparent 100%);
    mask-image: linear-gradient(to right, black 0%, black 30%, rgba(0,0,0,0.85) 55%, rgba(0,0,0,0.4) 75%, transparent 100%);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    transition: transform 0.5s ease;
}

.about-image-blend:hover .about-image-fade img {
    transform: scale(1.02);
}

/* Dotted path line with waypoint dots */
.about-text-wrap {
    position: relative;
    padding-left: 2.5rem;
    display: flex;
    align-items: center;
}

.about-path-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 12px;
    border-left: 2px dotted rgba(255, 255, 255, 0.35);
    margin-left: 6px;
}

.about-path-line .path-dot {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
}

.path-dot-1 { top: 15%; }
.path-dot-2 { top: 50%; }
.path-dot-3 { top: 85%; }

.about-text {
    text-align: left;
}

.about-text h3 {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.85rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.about-text p {
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.85rem;
    line-height: 1.7;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.about .section-header {
    margin-bottom: 2rem;
}

.about .section-header h2 {
    font-size: 2rem;
    color: #fff;
}

.about .section-header p {
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
}

.about .section-header h2::after {
    background: var(--icon-muted-gold);
}

/* Staggered scroll animations for About section */
.about .section-header.fade-in { transition-delay: 0s; }
.about .about-text h3.fade-in { transition-delay: 0.05s; }
.about .about-text p.fade-in { transition-delay: 0.1s; }
.about .about-highlights li.fade-in:nth-child(1) { transition-delay: 0.15s; }
.about .about-highlights li.fade-in:nth-child(2) { transition-delay: 0.2s; }
.about .about-highlights li.fade-in:nth-child(3) { transition-delay: 0.25s; }
.about .about-highlights li.fade-in:nth-child(4) { transition-delay: 0.3s; }
.about .about-btn.fade-in { transition-delay: 0.35s; }
.about .about-image-blend.fade-in { transition-delay: 0.15s; }

.about-highlights {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.about-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.about-highlights li i {
    color: var(--icon-muted-gold);
    font-size: 0.95rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: #fff;
    background: var(--gradient);
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
    border-radius: var(--radius-sm);
    border: none;
    box-shadow: 0 4px 15px rgba(44, 95, 124, 0.35);
    transition: all 0.3s ease;
}

.about-btn:hover {
    background: linear-gradient(135deg, #3d7a99 0%, var(--accent-color) 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 95, 124, 0.45);
}

.about-btn i {
    transition: transform 0.3s ease;
}

.about-btn:hover i {
    transform: translateX(4px);
}

.about-btn:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat h4 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-dark);
    font-weight: 500;
}

/* Why Choose Us - Homepage */
@keyframes whyFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes whyIconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* Gentle bobble – mountain/exploration theme */
@keyframes gentleBobble {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes softGlowPulse {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 1; }
}

/* Card shimmer – subtle gradient sweep */
@keyframes cardShimmer {
    0% { transform: translateX(-100%) skewX(-12deg); opacity: 0.4; }
    60% { opacity: 0.25; }
    100% { transform: translateX(200%) skewX(-12deg); opacity: 0; }
}

.why-choose {
    padding: 3.6rem 0;
    background: #0F1113;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.why-choose::before {
    display: none;
}

.why-choose .container {
    position: relative;
    z-index: 1;
}

.section-header-light .section-label {
    color: rgba(255, 255, 255, 0.9);
}

.why-choose .section-header-light h2 {
    color: #fff;
}

.why-choose .section-header-light p {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
}

.why-choose .section-header h2::after {
    background: var(--icon-muted-gold);
}

.why-choose-header {
    margin-bottom: 1.75rem;
    animation: whyFadeUp 0.6s ease-out both;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 0;
}

.why-choose-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.06) 50%, rgba(44, 95, 124, 0.12) 100%);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
    animation: whyFadeUp 0.6s cubic-bezier(0.34, 1.2, 0.64, 1) calc(0.15s + var(--stagger, 0) * 0.08s) both;
    backdrop-filter: blur(12px);
}

.why-choose-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    animation: cardShimmer 5s ease-in-out infinite;
    pointer-events: none;
}

.why-choose-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(44, 95, 124, 0.18) 100%);
}

.why-choose-card:hover .why-choose-icon {
    animation: whyIconPulse 0.6s ease;
}

.why-choose-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.why-choose-card h3 {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.98);
    margin-bottom: 0.4rem;
    position: relative;
    z-index: 1;
}

.why-choose-card p {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.55;
    margin: 0;
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .why-choose {
        padding: 2.25rem 0;
    }
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Three Ways Section - Dark slate */
.ways-section {
    position: relative;
    padding: 4.8rem 0;
    overflow: hidden;
    background: #0F1113;
}

.ways-bg-gradient {
    display: none;
}

@keyframes waysGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes waysBgPulse {
    0%, 100% { background-position: 0% 50%; opacity: 1; }
    50% { background-position: 100% 50%; opacity: 0.85; }
}

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

.ways-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.ways-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 1.25rem;
    opacity: 0;
    animation: waysFadeInUp 0.8s ease-out 0.2s forwards;
}

.ways-intro {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: waysFadeInUp 0.8s ease-out 0.4s forwards;
}

.ways-intro strong {
    color: var(--icon-muted-gold);
    font-weight: 600;
}

.ways-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.ways-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 1.75rem;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: waysFadeInUp 0.7s ease-out forwards;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.ways-card:nth-child(1) { animation-delay: 0.5s; }
.ways-card:nth-child(2) { animation-delay: 0.65s; }
.ways-card:nth-child(3) { animation-delay: 0.8s; }

.ways-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    border-color: rgba(197, 160, 89, 0.35);
}

.ways-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--icon-muted-gold);
    font-weight: 300;
    transition: transform 0.35s ease, color 0.35s ease;
}

.ways-card:hover .ways-card-icon {
    transform: scale(1.08);
    color: var(--icon-muted-gold);
}

.ways-card h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.ways-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .ways-section { padding: 3.6rem 1rem; }
    .ways-cards { grid-template-columns: 1fr; gap: 1.25rem; }
    .ways-card:nth-child(1), .ways-card:nth-child(2), .ways-card:nth-child(3) { animation-delay: 0.5s; }
}

/* Expeditions Section */
.expeditions {
    padding: 96px 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.expedition-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Expeditions page specific grid - 3-4 cards per row on desktop */
.expeditions-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

@media (min-width: 1200px) {
    .expeditions-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) and (min-width: 900px) {
    .expedition-cards:not(.expeditions-grid) {
        grid-template-columns: repeat(3, 1fr);
    }
    .expeditions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) and (min-width: 600px) {
    .expedition-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .expeditions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .expedition-cards {
        grid-template-columns: 1fr;
    }
    .expeditions-grid {
        grid-template-columns: 1fr;
    }
}

.card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(15, 45, 61, 0.06);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(44, 95, 124, 0.2);
}

.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

.card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-content h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.card-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: left;
    line-height: 1.7;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.card-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.card-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.card-details i {
    color: var(--secondary-color);
}

.card-buttons {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.5rem;
    flex-shrink: 0;
}

.btn-view-details {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    color: var(--light-color);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-view-details:hover {
    border-color: var(--icon-muted-gold);
    color: var(--icon-muted-gold);
    transform: translateY(-2px);
}

.expeditions-cta {
    text-align: center;
    margin-top: 3rem;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--light-color);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    border-color: var(--icon-muted-gold);
    color: var(--icon-muted-gold);
    transform: translateY(-2px);
}

.btn-view-all i {
    transition: transform 0.3s ease;
}

.btn-view-all:hover i {
    transform: translateX(4px);
}

/* ========== Homepage: Start Your Journey - Bento + Premium UI (dark slate) ========== */
.expeditions-home.expeditions {
    background: #0F1113;
    position: relative;
    overflow: hidden;
}

.expeditions-home.expeditions::before {
    display: none;
}

.expeditions-home .container {
    position: relative;
    z-index: 1;
}

.expeditions-home .section-header h2 {
    color: #fff;
}

.expeditions-home .section-header p {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
}

.expeditions-home .section-header h2::after {
    background: var(--icon-muted-gold);
}

/* Start Your Journey: two-line intro, gentle bobble animation */
.expeditions-home .section-header-journey {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.expeditions-home .section-header-journey h2 {
    animation: gentleBobble 4s ease-in-out infinite;
}

.expeditions-home .section-header-journey .journey-intro {
    animation: softGlowPulse 3s ease-in-out infinite;
}

.expeditions-home .section-header-journey .journey-intro {
    font-size: 1.125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}

.expeditions-home .section-header-journey .journey-tagline {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    margin-top: 0;
}

.expeditions-home .section-header-journey .journey-tagline::before {
    display: none;
}

.expeditions-home .btn-view-all {
    border-color: rgba(255, 255, 255, 0.9);
    color: #fff;
    background: transparent;
}

.expeditions-home .btn-view-all:hover {
    border-color: var(--icon-muted-gold);
    color: var(--icon-muted-gold);
}

/* Advanced grid: named areas, minmax tracks, semantic layout */
.expeditions-home .journey-cards-bento {
    display: grid;
    grid-template-columns: minmax(280px, 1.15fr) minmax(260px, 1fr);
    grid-template-rows: minmax(240px, 1fr) minmax(240px, 1fr) auto;
    grid-template-areas:
        "journey-hero journey-tile-top"
        "journey-hero journey-tile-bottom"
        "journey-wide journey-wide";
    gap: 1.25rem;
    margin-top: 2.5rem;
    min-height: 520px;
    align-items: stretch;
    justify-items: stretch;
}

.journey-card-hero {
    grid-area: journey-hero;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 45%, rgba(197, 160, 89, 0.08) 100%);
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.3s ease, background 0.4s ease;
    animation: journeyCardIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--stagger, 0) * 0.1s) both;
    backdrop-filter: blur(14px);
}

.journey-card-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    animation: cardShimmer 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.journey-card-hero:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 25px 50px -20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(74, 139, 168, 0.5);
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 45%, rgba(44, 95, 124, 0.22) 100%);
}

.journey-card-hero .journey-card-media {
    position: relative;
    min-height: 220px;
    overflow: hidden;
}

.journey-card-hero .journey-card-media img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.journey-card-hero:hover .journey-card-media img {
    transform: scale(1.08);
}

.journey-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 45, 61, 0.2) 0%, transparent 55%);
    pointer-events: none;
}

.journey-card-hero .journey-card-overlay {
    background: linear-gradient(105deg, rgba(15, 45, 61, 0.35) 0%, transparent 55%);
}

.journey-card-shine {
    opacity: 0;
    background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.08) 45%, transparent 70%);
    transition: opacity 0.5s ease;
}

.journey-card-hero:hover .journey-card-shine {
    opacity: 1;
}

.journey-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: rgba(197, 160, 89, 0.2);
    transition: height 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.journey-card-hero:hover .journey-card-accent {
    height: 100%;
}

.journey-card-tag {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0F1113;
    background: rgba(197, 160, 89, 0.25);
    border: 1px solid rgba(197, 160, 89, 0.5);
    padding: 0.45rem 0.9rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.journey-card-tag i {
    font-size: 0.65rem;
}

.journey-card-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--icon-muted-gold);
    margin-bottom: 0.5rem;
}

.journey-card-hero .journey-card-body {
    padding: 2rem 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.journey-card-hero .journey-card-body h3 {
    font-size: 1.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.98);
    margin-bottom: 0.6rem;
    letter-spacing: -0.02em;
}

.journey-card-hero .journey-card-body p {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.journey-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.journey-card-hero .journey-card-meta span {
    color: rgba(255, 255, 255, 0.85);
}

.journey-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.journey-card-meta i {
    color: var(--icon-muted-gold);
}

.journey-card-hero .journey-card-meta i {
    color: var(--icon-muted-gold);
}

.journey-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    transition: gap 0.3s ease, color 0.3s ease;
}

.journey-card-hero:hover .journey-card-link {
    gap: 0.75rem;
    color: var(--icon-muted-gold);
}

.journey-card-link i {
    transition: transform 0.3s ease;
}

.journey-card-hero:hover .journey-card-link i {
    transform: translateX(4px);
}

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

/* Bento tiles (Annapurna, Langtang) – default; home gets glass style below */
.journey-card-tile {
    grid-area: unset;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 4px 6px -1px rgba(15, 45, 61, 0.05),
        0 14px 28px -10px rgba(15, 45, 61, 0.1),
        0 0 0 1px rgba(15, 45, 61, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
    animation: journeyCardIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--stagger, 0) * 0.1s) both;
}

/* Home page: glass animated tiles */
.expeditions-home .journey-card-tile {
    position: relative;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(197, 160, 89, 0.06) 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.expeditions-home .journey-card-tile::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    animation: cardShimmer 5.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.expeditions-home .journey-card-tile .journey-card-body {
    position: relative;
    z-index: 1;
}

.journey-card-tile:nth-child(2) { grid-area: journey-tile-top; }
.journey-card-tile:nth-child(3) { grid-area: journey-tile-bottom; }

.journey-card-tile:hover {
    transform: translateY(-6px) rotate(-0.5deg);
    box-shadow:
        0 20px 40px -15px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(197, 160, 89, 0.2);
}

.expeditions-home .journey-card-tile:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.journey-card-tile .journey-card-media {
    position: relative;
    height: 140px;
    overflow: hidden;
}

.journey-card-tile .journey-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.journey-card-tile:hover .journey-card-media img {
    transform: scale(1.12);
}

.journey-card-tile .journey-card-overlay {
    background: linear-gradient(180deg, transparent 20%, rgba(15, 45, 61, 0.75) 100%);
}

.journey-card-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.25rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
    transform: translateY(4px);
    opacity: 0.95;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.journey-card-tile:hover .journey-card-title-overlay {
    transform: translateY(0);
    opacity: 1;
}

.journey-card-tile .journey-card-body {
    padding: 1.1rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.journey-card-tile .journey-card-body h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.journey-card-tile .journey-card-body h3 a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.expeditions-home .journey-card-tile .journey-card-body h3 a {
    color: rgba(255, 255, 255, 0.98);
}

.journey-card-tile .journey-card-body h3 a:hover {
    color: var(--accent-color);
}

.expeditions-home .journey-card-tile .journey-card-body h3 a:hover {
    color: #a5d8f0;
}

.expeditions-home .journey-card-tile .journey-card-meta span {
    color: rgba(255, 255, 255, 0.85);
}

.expeditions-home .journey-card-tile .journey-card-meta i {
    color: var(--accent-color);
}

.journey-card-tile .journey-card-meta {
    margin-bottom: 0.75rem;
    gap: 0.85rem;
}

.journey-card-tile .journey-card-meta span {
    font-size: 0.8rem;
}

.journey-card-tile .journey-card-actions {
    margin-top: auto;
    padding-top: 0.75rem;
    gap: 0.5rem;
}

.journey-card-tile .btn-view-details,
.journey-card-tile .btn-book-now {
    padding: 0.5rem 0.85rem;
    font-size: 0.85rem;
}

/* Bento wide card (Manaslu) – default; home gets glass style below */
.journey-card-wide {
    grid-area: journey-wide;
    display: grid;
    grid-template-columns: 380px 1fr;
    min-height: 200px;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 4px 6px -1px rgba(15, 45, 61, 0.05),
        0 14px 28px -10px rgba(15, 45, 61, 0.1),
        0 0 0 1px rgba(15, 45, 61, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
    animation: journeyCardIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--stagger, 0) * 0.1s) both;
}

/* Home page: glass animated wide card */
.expeditions-home .journey-card-wide {
    position: relative;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(197, 160, 89, 0.06) 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.expeditions-home .journey-card-wide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    animation: cardShimmer 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.expeditions-home .journey-card-wide .journey-card-body {
    position: relative;
    z-index: 1;
}

.journey-card-wide:hover {
    transform: translateY(-4px);
    box-shadow:
        0 20px 40px -15px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(197, 160, 89, 0.2);
}

.expeditions-home .journey-card-wide:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.expeditions-home .journey-card-wide .journey-card-body h3 a,
.expeditions-home .journey-card-wide .journey-card-body p {
    color: rgba(255, 255, 255, 0.95);
}

.expeditions-home .journey-card-wide .journey-card-body p {
    color: rgba(255, 255, 255, 0.88);
}

.expeditions-home .journey-card-wide .journey-card-meta span {
    color: rgba(255, 255, 255, 0.85);
}

.expeditions-home .journey-card-wide .journey-card-meta i {
    color: var(--icon-muted-gold);
}

.journey-card-wide .journey-card-media {
    height: 100%;
    min-height: 200px;
}

.journey-card-wide .journey-card-media img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.journey-card-wide:hover .journey-card-media img {
    transform: scale(1.05);
}

.journey-card-wide .journey-card-body {
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.journey-card-wide .journey-card-body h3 {
    font-size: 1.35rem;
}

.journey-card-wide .journey-card-body p {
    font-size: 0.95rem;
    font-weight: 400;
    margin-bottom: 0.85rem;
}

.journey-card-wide .journey-card-meta {
    margin-bottom: 1rem;
}

.journey-card-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
}

.journey-card-actions .btn-view-details,
.journey-card-actions .btn-book-now {
    flex: 1;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
}

.journey-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.journey-card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.journey-card-body h3 a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.journey-card-body h3 a:hover {
    color: var(--accent-color);
}

.journey-card-body p {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.journey-card-media {
    position: relative;
    display: block;
    overflow: hidden;
}

.journey-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Responsive: advanced grid → single column with explicit flow */
@media (max-width: 992px) {
    .expeditions-home .journey-cards-bento {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);
        grid-template-areas:
            "journey-hero"
            "journey-tile-top"
            "journey-tile-bottom"
            "journey-wide";
        min-height: 0;
        gap: 1.25rem;
    }

    .journey-card-hero {
        grid-area: journey-hero;
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .journey-card-hero .journey-card-media {
        min-height: 260px;
    }

    .journey-card-hero .journey-card-media img {
        min-height: 260px;
    }

    .journey-card-tile {
        grid-area: unset;
    }

    .journey-card-tile:nth-child(2) {
        grid-area: journey-tile-top;
    }

    .journey-card-tile:nth-child(3) {
        grid-area: journey-tile-bottom;
    }

    .journey-card-tile .journey-card-media {
        height: 180px;
    }

    .journey-card-wide {
        grid-area: journey-wide;
        grid-template-columns: 1fr;
    }

    .journey-card-wide .journey-card-media {
        min-height: 220px;
    }

    .journey-card-wide .journey-card-media img {
        min-height: 220px;
    }
}

@media (max-width: 576px) {
    .journey-card-tile .journey-card-media {
        height: 160px;
    }

    .journey-card-hero .journey-card-body h3 {
        font-size: 1.5rem;
    }

    .journey-card-wide .journey-card-body {
        padding: 1.25rem;
    }
}

.btn-book-now {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    color: var(--light-color);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-book-now:hover {
    border-color: var(--icon-muted-gold);
    color: var(--icon-muted-gold);
    transform: translateY(-2px);
}

/* Tables (Expeditions / Peak Climbing) */
.table-wrap {
    width: 100%;
    overflow-x: auto;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 820px; /* ensures readable columns; scrolls on mobile */
}

.data-table thead th {
    background: var(--dark-color);
    color: white;
    text-align: left;
    padding: 16px 18px;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
}

.data-table tbody td {
    padding: 16px 18px;
    border-top: 1px solid #e5e7eb;
    vertical-align: top;
    color: var(--text-dark);
}

.data-table tbody tr:hover td {
    background: #f8fafc;
}

.table-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 240px;
}

.table-thumb {
    width: 72px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(26, 61, 82, 0.15);
    border: 1px solid rgba(26, 61, 82, 0.08);
    background: var(--light-color);
    flex: 0 0 auto;
}

.table-title {
    font-weight: 800;
    color: var(--dark-color);
    line-height: 1.2;
}

.table-title:link,
.table-title:visited {
    color: var(--dark-color);
    text-decoration: none;
}

.table-title:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.table-subtitle {
    margin-top: 2px;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.35;
}

.table-cta {
    white-space: nowrap;
}

/* Blog-style details under tables */
.blog-section {
    padding-top: 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.blog-post {
    background: white;
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: grid;
    grid-template-columns: 360px 1fr;
    min-height: 240px;
}

.blog-post-media {
    position: relative;
    min-height: 240px;
}

.blog-post-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-post-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26, 61, 82, 0.15), rgba(26, 61, 82, 0));
    pointer-events: none;
}

.blog-post-body {
    padding: 1.75rem 1.75rem 1.5rem;
}

.blog-post-body h3 {
    color: var(--dark-color);
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.75rem 0 1rem;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 0.9rem;
    background: #f1f5f9;
    color: var(--text-dark);
    border: 1px solid rgba(26, 61, 82, 0.08);
}

.meta-pill:link,
.meta-pill:visited {
    text-decoration: none;
    color: var(--text-dark);
}

.meta-pill:hover {
    text-decoration: none;
    background: #e8f0f7;
}

.meta-pill i {
    color: var(--secondary-color);
}

.blog-post-body p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.blog-highlights {
    margin: 0.5rem 0 1.25rem;
    padding-left: 1.15rem;
    color: var(--text-dark);
}

.blog-highlights li {
    margin: 0.35rem 0;
}

.blog-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.blog-actions .btn-view-details {
    flex: 0 0 auto;
    padding: 10px 14px;
}

@media (max-width: 900px) {
    .blog-post {
        grid-template-columns: 1fr;
    }
    .blog-post-media {
        min-height: 220px;
    }
}

.btn-book-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--gradient);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-book-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(26, 61, 82, 0.25);
    background: var(--primary-color);
}

/* Legacy support for old card-btn class */
.card-btn {
    width: 100%;
    padding: 12px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(44, 95, 124, 0.3);
}

/* Gallery Section */
.gallery {
    padding: 96px 0;
    background: #0F1113;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.gallery-slider {
    position: relative;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.gallery-container {
    display: flex;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.gallery-slide {
    min-width: 100%;
    transition: transform 0.5s ease;
}

.gallery-slide img {
    width: 100%;
    max-width: 100%;
    height: 400px;
    object-fit: cover;
    box-sizing: border-box;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    box-sizing: border-box;
    left: 0;
    right: 0;
}

.gallery-nav button {
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.gallery-nav button:hover {
    background: white;
    transform: scale(1.1);
}

/* Contact Section */
.contact {
    padding: 96px 0;
    background: #0F1113;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.contact .section-header h2,
.contact .section-header p {
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.info-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    width: 50px;
    text-align: center;
}

.info-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 1rem;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1rem;
    backdrop-filter: blur(5px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.3);
}

.contact-form button {
    width: 100%;
    padding: 15px;
    background: transparent;
    color: var(--light-color);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    border-color: var(--icon-muted-gold);
    color: var(--icon-muted-gold);
    transform: translateY(-2px);
}

/* ============================
   TRIP ENQUIRY SECTION STYLES
   ============================ */
.trip-enquiry-section {
    padding: 144px 0 96px;
    background: #0F1113;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    margin-top: 70px;
}

.trip-enquiry-section.contact-hero-section {
    background: linear-gradient(rgba(15,17,19,0.85), rgba(15,17,19,0.75)), url("images/slide4.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 180px 0 120px;
    min-height: 60vh;
}

.trip-enquiry-section.contact-hero-section .section-intro {
    margin-bottom: 3rem;
}

.trip-enquiry-section.contact-hero-section .hero-icon-wrapper {
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: transparent;
    transition: transform 0.3s ease;
}

.trip-enquiry-section.contact-hero-section .hero-icon-wrapper:hover {
    transform: scale(1.1) rotate(10deg);
}

.trip-enquiry-section.contact-hero-section .hero-icon-wrapper i {
    font-size: 3rem;
    color: var(--icon-muted-gold);
    font-weight: 300;
}

.trip-enquiry-section.contact-hero-section .trip-enquiry-wrapper {
    background: transparent;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: none;
    backdrop-filter: none;
}

.trip-enquiry-button-wrapper {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

.trip-enquiry-btn {
    padding: 18px 45px;
    background: transparent;
    color: var(--light-color);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(44, 95, 124, 0.3);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.trip-enquiry-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.trip-enquiry-btn:hover::before {
    width: 400px;
    height: 400px;
}

.trip-enquiry-btn:hover {
    border-color: var(--icon-muted-gold);
    color: var(--icon-muted-gold);
    transform: translateY(-2px);
}

.trip-enquiry-btn:active {
    transform: translateY(0);
}

.trip-enquiry-btn.active {
    border-color: var(--icon-muted-gold);
    color: var(--icon-muted-gold);
}

.trip-enquiry-btn i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.trip-enquiry-btn:hover i {
    transform: rotate(15deg) scale(1.1);
}

.trip-enquiry-wrapper {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
    pointer-events: none;
}

.trip-enquiry-wrapper.form-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    max-height: 100vh;
    animation: slideDownFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
}

/* Add overlay background when form is visible */
.trip-enquiry-wrapper.form-visible::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: -1;
}

.trip-enquiry-form-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    max-width: 850px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    animation: formContainerFadeIn 0.8s ease-out 0.2s both;
    z-index: 9999;
}

/* Custom scrollbar for form container */
.trip-enquiry-form-container::-webkit-scrollbar {
    width: 8px;
}

.trip-enquiry-form-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.trip-enquiry-form-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.trip-enquiry-form-container::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.trip-enquiry-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    border-radius: 16px 16px 0 0;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e5e7eb;
    position: relative;
    animation: formHeaderFadeIn 0.7s ease-out 0.1s both;
    opacity: 0;
    transform: translateY(-20px);
}

.form-close-btn {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--text-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.trip-enquiry-section.contact-hero-section .form-close-btn {
    color: white;
    background: rgba(255, 255, 255, 0.2);
}

.form-close-btn:hover {
    background: var(--error-color);
    color: white;
    transform: rotate(90deg) scale(1.1);
}

.form-close-btn:active {
    transform: rotate(90deg) scale(0.95);
}

.trip-enquiry-wrapper.form-visible .form-header {
    animation: formHeaderFadeIn 0.7s ease-out 0.1s forwards;
}

.trip-enquiry-section.contact-hero-section .form-header {
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.form-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gradient);
}

.form-icon {
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.75rem;
    background: transparent;
    transition: transform 0.3s ease;
}

.form-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

.form-icon i {
    font-size: 2rem;
    color: var(--icon-muted-gold);
    font-weight: 300;
}

.trip-enquiry-section.contact-hero-section .form-icon {
    background: transparent;
}

.trip-enquiry-section.contact-hero-section .form-icon i {
    color: var(--icon-muted-gold);
}

.trip-enquiry-form-container h2 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.trip-enquiry-section.contact-hero-section .trip-enquiry-form-container h2 {
    color: white;
}

.form-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.trip-enquiry-section.contact-hero-section .form-description {
    color: rgba(255, 255, 255, 0.9);
}

.trip-enquiry-form .form-row {
    margin-bottom: 1.5rem;
}

.trip-enquiry-form.compact-form .form-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.trip-enquiry-form.compact-form .form-group.full-width {
    grid-column: 1 / -1;
}

.trip-enquiry-form .form-group {
    width: 100%;
    margin-bottom: 0;
    animation: formFieldFadeIn 0.6s ease backwards;
    opacity: 0;
    transform: translateY(20px);
}

.trip-enquiry-wrapper.form-visible .trip-enquiry-form .form-group {
    animation: formFieldFadeIn 0.6s ease forwards;
}

.trip-enquiry-form .form-group:nth-child(1) { animation-delay: 0.3s; }
.trip-enquiry-form .form-group:nth-child(2) { animation-delay: 0.35s; }
.trip-enquiry-form .form-group:nth-child(3) { animation-delay: 0.4s; }
.trip-enquiry-form .form-group:nth-child(4) { animation-delay: 0.45s; }
.trip-enquiry-form .form-group:nth-child(5) { animation-delay: 0.5s; }
.trip-enquiry-form .form-group:nth-child(6) { animation-delay: 0.55s; }
.trip-enquiry-form .form-group:nth-child(7) { animation-delay: 0.6s; }
.trip-enquiry-form .form-group:nth-child(8) { animation-delay: 0.65s; }
.trip-enquiry-form .form-group:nth-child(9) { animation-delay: 0.7s; }
.trip-enquiry-form .form-group:nth-child(10) { animation-delay: 0.75s; }

.trip-enquiry-form .form-row-grid .form-group:nth-child(1) { animation-delay: 0.3s; }
.trip-enquiry-form .form-row-grid .form-group:nth-child(2) { animation-delay: 0.4s; }


.trip-enquiry-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.trip-enquiry-section.contact-hero-section .trip-enquiry-form label {
    color: white;
}

.trip-enquiry-form.booking-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.trip-enquiry-section.contact-hero-section .trip-enquiry-form.booking-form label {
    color: white;
}

.trip-enquiry-form.booking-form label i {
    color: var(--primary-color);
    font-size: 1rem;
}

.trip-enquiry-section.contact-hero-section .trip-enquiry-form.booking-form label i {
    color: var(--secondary-color);
}

.trip-enquiry-form input[type="text"],
.trip-enquiry-form input[type="email"],
.trip-enquiry-form input[type="tel"],
.trip-enquiry-form input[type="number"],
.trip-enquiry-form input[type="date"],
.trip-enquiry-form select,
.trip-enquiry-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    color: var(--text-dark);
    transform: scale(1);
}

.trip-enquiry-section.contact-hero-section .trip-enquiry-form input[type="text"],
.trip-enquiry-section.contact-hero-section .trip-enquiry-form input[type="email"],
.trip-enquiry-section.contact-hero-section .trip-enquiry-form input[type="tel"],
.trip-enquiry-section.contact-hero-section .trip-enquiry-form input[type="number"],
.trip-enquiry-section.contact-hero-section .trip-enquiry-form input[type="date"],
.trip-enquiry-section.contact-hero-section .trip-enquiry-form select,
.trip-enquiry-section.contact-hero-section .trip-enquiry-form textarea {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
}

/* Make select background more opaque when it has a value selected */
.trip-enquiry-section.contact-hero-section .trip-enquiry-form select:not(:invalid):not([value=""]) {
    background: rgba(255, 255, 255, 0.9) !important;
    color: var(--text-dark) !important;
}

.trip-enquiry-section.contact-hero-section .trip-enquiry-form input::placeholder,
.trip-enquiry-section.contact-hero-section .trip-enquiry-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.trip-enquiry-form input:focus,
.trip-enquiry-form select:focus,
.trip-enquiry-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 95, 124, 0.1);
    transform: scale(1.02) translateY(-2px);
    animation: inputPulse 0.3s ease;
}

.trip-enquiry-section.contact-hero-section .trip-enquiry-form input:focus,
.trip-enquiry-section.contact-hero-section .trip-enquiry-form select:focus,
.trip-enquiry-section.contact-hero-section .trip-enquiry-form textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.4);
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.02) translateY(-2px);
}

.trip-enquiry-form input:hover,
.trip-enquiry-form select:hover,
.trip-enquiry-form textarea:hover {
    border-color: var(--accent-color);
}

.trip-enquiry-form input.error,
.trip-enquiry-form select.error,
.trip-enquiry-form textarea.error {
    border-color: var(--error-color);
    animation: shake 0.5s ease;
}

.trip-enquiry-form textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.trip-enquiry-form input::placeholder,
.trip-enquiry-form textarea::placeholder {
    color: #adb5bd;
    opacity: 0.7;
}

.trip-enquiry-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232c5f7c' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

/* Style select dropdown options */
.trip-enquiry-form select option {
    background: white !important;
    color: var(--text-dark) !important;
    padding: 12px 14px;
}

.trip-enquiry-form select option:checked {
    background: var(--primary-color) !important;
    color: white !important;
}

.trip-enquiry-form select option:hover {
    background: var(--accent-color) !important;
    color: white !important;
}

/* For contact hero section - ensure options are visible */
.trip-enquiry-section.contact-hero-section .trip-enquiry-form select option {
    background: white !important;
    color: var(--text-dark) !important;
}

.trip-enquiry-section.contact-hero-section .trip-enquiry-form select option:checked {
    background: var(--secondary-color) !important;
    color: white !important;
}

.trip-enquiry-section.contact-hero-section .trip-enquiry-form select option:hover {
    background: var(--secondary-color) !important;
    color: white !important;
}

/* Ensure select shows dark text when a value is selected (not placeholder) */
.trip-enquiry-section.contact-hero-section .trip-enquiry-form select:not([value=""]) {
    color: var(--text-dark) !important;
}

.trip-enquiry-section.contact-hero-section .trip-enquiry-form select:invalid {
    color: rgba(255, 255, 255, 0.7) !important;
}

.trip-enquiry-form .error-message {
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trip-enquiry-form .error-message.show {
    opacity: 1;
}

.trip-enquiry-form .form-actions {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    animation: formActionsFadeIn 0.8s ease-out 0.9s both;
    opacity: 0;
    transform: translateY(20px);
}

.trip-enquiry-wrapper.form-visible .trip-enquiry-form .form-actions {
    animation: formActionsFadeIn 0.8s ease-out 0.9s forwards;
}

.trip-enquiry-section.contact-hero-section .trip-enquiry-form .form-actions {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.trip-enquiry-form .form-actions .btn-submit {
    padding: 18px 40px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 200px;
    background: transparent;
    color: var(--light-color);
    border: 1px solid rgba(255, 255, 255, 0.35);
    position: relative;
    overflow: hidden;
}

.trip-enquiry-form .form-actions .btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.trip-enquiry-form .form-actions .btn-submit:hover::before {
    width: 300px;
    height: 300px;
}

.trip-enquiry-form .form-actions .btn-submit:hover {
    border-color: var(--icon-muted-gold);
    color: var(--icon-muted-gold);
    transform: translateY(-2px);
}

.trip-enquiry-form .form-actions .btn-submit:active {
    transform: translateY(0);
}

.trip-enquiry-form .form-actions .btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.trip-enquiry-form .form-actions .btn-submit.loading {
    position: relative;
    color: transparent;
}

.trip-enquiry-form .form-actions .btn-submit.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.section-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.section-intro .hero-icon-wrapper {
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--icon-muted-gold);
    border-radius: 2px;
}

.trip-enquiry-section.contact-hero-section .section-title::after {
    display: none;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive styles for trip enquiry */
@media (max-width: 968px) {
    .trip-enquiry-wrapper {
        padding: 1rem;
    }
    
    .trip-enquiry-form-container {
        padding: 2rem;
        max-width: 100%;
        max-height: 95vh;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .trip-enquiry-form.compact-form .form-row-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .trip-enquiry-form .form-actions {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .trip-enquiry-section {
        padding: 72px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .trip-enquiry-form-container {
        padding: 1.5rem;
    }
    
    .form-icon i {
        font-size: 1.5rem;
    }
    
    .trip-enquiry-form-container h2 {
        font-size: 1.5rem;
    }
}

/* ============================
   ENHANCED BOOKING MODAL STYLES
   ============================ */

/* Modal layer above fixed navbar (navbar z-index: 10002) */
.booking-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    z-index: 10100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    -webkit-overflow-scrolling: touch;
}

.booking-modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
    z-index: 10100;
}

.modal-container {
    position: relative;
    background: linear-gradient(180deg, #0d2137 0%, #0a1628 50%, #081a2e 100%);
    width: 90%;
    max-width: 560px;
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    margin: auto;
    border-radius: 24px;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06);
    overflow: hidden;
    animation: modalSlideIn 0.4s ease;
    transform: translateY(0);
    z-index: 10101;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.modal-header {
    background: linear-gradient(135deg, #1a3a52 0%, #0f2d3d 100%);
    color: white;
    padding: 1.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    opacity: 0.9;
}

.modal-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-title h2 {
    font-size: 1.65rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
}

.modal-title i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.95);
    opacity: 0.95;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.5);
}

.modal-body {
    padding: 0;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(74, 139, 168, 0.5) rgba(10, 22, 40, 0.5);
    position: relative;
    -webkit-overflow-scrolling: touch;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(10, 22, 40, 0.5);
}

.modal-body::-webkit-scrollbar-thumb {
    background: rgba(74, 139, 168, 0.5);
    border-radius: 4px;
}

/* Expedition Preview - on dark gradient */
.expedition-preview {
    background: rgba(255, 255, 255, 0.04);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-image {
    width: 100px;
    height: 68px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-image img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    box-sizing: border-box;
}

.expedition-preview:hover .preview-image img {
    transform: scale(1.06);
}

.preview-details {
    text-align: left;
    min-width: 0;
}

.preview-details h3 {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.preview-details p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Booking Form - on dark blue gradient */
.booking-form {
    padding: 2rem 2rem 2.25rem;
}

.booking-form .form-section-title {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 0;
}

.form-group {
    position: relative;
    margin-bottom: 1.25rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group label i {
    color: rgba(166, 218, 240, 0.95);
    font-size: 0.95rem;
    opacity: 0.95;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(74, 139, 168, 0.8);
    box-shadow: 0 0 0 3px rgba(74, 139, 168, 0.2);
}

.form-group input:valid:not(:placeholder-shown),
.form-group select:valid {
    border-color: rgba(255, 255, 255, 0.3);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--error-color);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
    animation: shake 0.5s ease;
}

.error-message {
    color: var(--error-color);
    font-size: 0.8rem;
    margin-top: 0.4rem;
    display: block;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.error-message.show {
    opacity: 1;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Price Summary */
.price-summary {
    background: linear-gradient(135deg, var(--light-color), #f0f9ff);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 1rem;
}

.price-row.total {
    border-top: 2px solid var(--primary-color);
    margin-top: 1rem;
    padding-top: 1rem;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* Form Actions - on dark gradient */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-cancel,
.btn-submit {
    flex: 1;
    padding: 0.95rem 1.25rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-cancel {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.35);
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.btn-submit {
    background: transparent;
    color: var(--light-color);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-submit:hover {
    border-color: var(--icon-muted-gold);
    color: var(--icon-muted-gold);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-submit.loading {
    position: relative;
    color: transparent;
}

.btn-submit.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Success Modal - above navbar */
.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    z-index: 10102;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-sizing: border-box;
    overflow-x: hidden;
}

.success-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
}

.success-container {
    background: #ffffff;
    padding: 3rem;
    border-radius: 24px;
    text-align: center;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(16, 185, 129, 0.3);
    animation: modalSlideIn 0.4s ease;
    position: relative;
    z-index: 10103;
}

.success-icon {
    font-size: 4.5rem;
    color: #059669;
    margin-bottom: 1.5rem;
    animation: successPulse 1.5s ease;
    filter: drop-shadow(0 2px 8px rgba(5, 150, 105, 0.4));
}

.success-container h2 {
    color: #0f172a;
    margin-bottom: 1rem;
    font-size: 1.75rem;
    font-weight: 800;
}

.success-container p {
    color: #334155;
    margin-bottom: 2rem;
    line-height: 1.65;
    font-size: 1.05rem;
}

.booking-reference {
    background: #f0fdf4;
    color: #166534;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 2px solid #86efac;
    font-weight: 600;
}

.booking-reference span {
    color: #166534;
}

.btn-close-success {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 auto;
    box-shadow: 0 4px 16px rgba(44, 95, 124, 0.4);
}

.btn-close-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(44, 95, 124, 0.5);
}

/* Footer Styles */
.footer {
    background: var(--page-bg);
    color: white;
    padding: 72px 0 24px;
    width: 100%;
    padding: 72px 0 24px;
    box-sizing: border-box;
    overflow-x: hidden;
}

.footer .container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: clamp(1.5rem, 5vw, 2.5rem);
    padding-right: clamp(1.5rem, 5vw, 2.5rem);
}

.footer-content {
    display: grid;
    margin-bottom: 2rem;
    gap: clamp(1.5rem, 4vw, 2.5rem);
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section h3.footer-brand {
    color: white;
}

.footer-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    line-height: 1;
}

.footer-brand-logo .nav-logo-svg {
    width: 1.9rem;
    height: 1.9rem;
}

.footer-brand-logo .nav-word-top {
    font-size: 1rem;
}

.footer-brand-logo .nav-word-bottom {
    font-size: 0.72rem;
}

.footer-content .footer-section:first-child {
    padding-left: clamp(1.25rem, 4vw, 2rem);
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-section {
    text-align: left;
}

.footer-section p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Contact / address rows: icon column + text that wraps safely on narrow phones */
.footer-section p:has(> i:first-child) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 0.65rem;
    align-items: start;
    min-width: 0;
    margin-bottom: 1.4rem;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.footer-section:has(a.footer-contact-link[href^="mailto:"]) p:has(> i:first-child):last-of-type {
    margin-bottom: 0.25rem;
}

.footer-section p:has(> i:first-child) > i {
    margin-top: 0.2em;
    line-height: 1.35;
    text-align: center;
    width: 1.2em;
}

a.footer-contact-link {
    color: inherit;
    text-decoration: none;
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.12);
}

a.footer-contact-link:hover {
    text-decoration: underline;
    color: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.footer-section p,
.footer-section ul li a {
    word-wrap: break-word;
    overflow-wrap: break-word;
    color: rgba(255, 255, 255, 0.94);
}
.footer-section ul li a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition:
        background 0.35s ease,
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        filter 0.35s ease;
}

.social-links a:has(.fa-facebook) {
    background: #1877f2;
}

.social-links a:has(.fa-facebook):hover {
    background: #0c63d4;
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 8px 24px rgba(24, 119, 242, 0.42);
}

.social-links a:has(.fa-instagram) {
    background: linear-gradient(
        40deg,
        #f09433 0%,
        #e6683c 22%,
        #dc2743 45%,
        #cc2366 68%,
        #bc1888 100%
    );
}

.social-links a:has(.fa-instagram):hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 8px 26px rgba(220, 39, 67, 0.4);
    filter: brightness(1.08) saturate(1.05);
}

.social-links a[href*="wa.me"] {
    background: #25d366;
}

.social-links a[href*="wa.me"]:hover {
    background: #1ebe57;
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.38);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    padding-left: clamp(1rem, 3vw, 1.5rem);
    padding-right: clamp(1rem, 3vw, 1.5rem);
    text-align: center;
    color: var(--text-light);
}

.footer-bottom p {
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(44, 95, 124, 0.3);
    }
    50% {
        box-shadow: 0 8px 35px rgba(255, 107, 53, 0.5);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 5000px;
    }
}

@keyframes slideDownFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes formContainerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

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

@keyframes inputPulse {
    0% {
        box-shadow: 0 0 0 3px rgba(44, 95, 124, 0.1);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(44, 95, 124, 0.15);
    }
    100% {
        box-shadow: 0 0 0 3px rgba(44, 95, 124, 0.1);
    }
}

@keyframes buttonHoverPulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(44, 95, 124, 0.5);
    }
    50% {
        box-shadow: 0 12px 35px rgba(44, 95, 124, 0.6);
    }
}

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

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

@keyframes iconFloatHover {
    0%, 100% {
        transform: scale(1.1) rotate(5deg) translateY(0);
    }
    50% {
        transform: scale(1.1) rotate(5deg) translateY(-5px);
    }
}

@keyframes iconBounceFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(-5deg);
    }
    50% {
        transform: translateY(-20px) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) rotate(5deg);
    }
}

@keyframes iconBounceFloatHover {
    0%, 100% {
        transform: scale(1.1) translateY(0) rotate(10deg);
    }
    50% {
        transform: scale(1.1) translateY(-10px) rotate(15deg);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Scroll Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design - mobile: hamburger menu */
@media (max-width: 767px) {
    /* Navigation */
    .nav-container {
        padding: 1rem 1rem;
    }
    
    .hamburger {
        display: flex;
        padding: 12px;
        min-width: 48px;
        min-height: 48px;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 10050;
        pointer-events: auto;
        margin-left: auto;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--dark-color);
        width: 100%;
        text-align: left;
        align-items: stretch;
        transition: 0.3s;
        padding: 1.75rem max(1.25rem, env(safe-area-inset-left)) 2rem max(1.25rem, env(safe-area-inset-left));
        box-sizing: border-box;
    }

    .nav-menu > li {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-menu > li > a {
        width: 100%;
        display: flex !important;
        justify-content: flex-start;
        align-items: center;
        text-align: left;
        box-sizing: border-box;
    }

    .nav-dropdown > a {
        justify-content: flex-start;
    }
    
    .nav-menu.active {
        left: 0;
    }

    /* Dropdown on mobile (tap to open) */
    .dropdown-menu {
        position: static !important;
        min-width: 0 !important;
        width: 100% !important;
        transform: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        display: none !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0.5rem 0 0.25rem !important;
        background: transparent !important;
        max-height: 0 !important;
        overflow: hidden !important;
        transition: opacity 0.3s ease, visibility 0.3s ease, max-height 0.3s ease !important;
    }

    .nav-dropdown.open .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        max-height: 1000px !important;
        z-index: 1002 !important;
        position: static !important;
    }
    
    /* Disable hover behavior on mobile - ensure dropdown stays hidden */
    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown:focus-within .dropdown-menu {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        display: none !important;
    }
    
    /* Only show when explicitly opened via .open class */
    .nav-dropdown:not(.open) .dropdown-menu {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
    /* Rotate caret when dropdown is open on mobile */
    .nav-dropdown.open .dropdown-caret {
        transform: rotate(180deg) !important;
    }
    
    /* Ensure dropdown items are visible and clickable when open */
    .nav-dropdown.open .dropdown-menu li {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .nav-dropdown.open .dropdown-menu a {
        display: flex !important;
        visibility: visible !important;
        pointer-events: auto !important;
        opacity: 1 !important;
    }
    
    /* Make sure the dropdown container is visible when open */
    .nav-dropdown.open {
        position: relative !important;
    }
    
    /* Ensure dropdown menu is positioned correctly on mobile */
    .nav-menu.active .nav-dropdown.open .dropdown-menu {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        max-height: 2000px !important;
        overflow: visible !important;
    }

    .dropdown-menu a,
    .nav-dropdown > a.dropdown-trigger {
        justify-content: center;
        padding: 0.75rem 1rem;
        border-radius: 10px;
        min-height: 44px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.12);
    }
    
    /* Mega dropdown on mobile - full width, no overflow */
    .treks-expeditions-dropdown.open .dropdown-menu.dropdown-mega,
    .adventure-trips-dropdown.open .dropdown-menu.dropdown-mega {
        max-height: 85vh;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    
    .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.06);
    }
    
    /* Mobile nested dropdown styles - 44px min touch targets for accessibility */
    .nested-dropdown-trigger {
        min-height: 44px;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.15);
        cursor: pointer;
        justify-content: center;
        touch-action: manipulation; /* Removes 300ms tap delay on some mobile browsers */
    }
    
    .nested-dropdown-menu {
        background: var(--dropdown-bg);
        border: 1px solid rgba(255, 255, 255, 0.08);
        margin-left: 1rem;
        border-radius: 8px;
    }
    
    .nested-dropdown-menu a {
        min-height: 44px;
        display: flex !important;
        align-items: center;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.15);
        padding: 0.75rem 1rem !important;
    }
    
    /* Show nested list when opened on mobile */
    .nested-dropdown.open .nested-dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* All nested lists (Treks, Expeditions, Peak Climbing) on mobile: scrollable, touch-friendly */
    .treks-dropdown.open .nested-dropdown-menu.dropdown-list-scroll,
    .expeditions-dropdown.open .nested-dropdown-menu.dropdown-list-scroll,
    .peak-climbing-dropdown.open .nested-dropdown-menu.dropdown-list-scroll {
        max-height: min(60vh, 320px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    
    /* Ensure parent dropdown can accommodate expanded nested content on mobile */
    .nav-dropdown.open .dropdown-menu {
        overflow: visible !important;
    }
    
    .nested-dropdown-menu .view-all-link {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 2px solid rgba(255, 107, 53, 0.3);
    }
    
    /* Hero Section (home slider) */
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1rem;
        max-width: 100%;
    }
    
    /* Detail page hero (treks, about, contact, etc.) */
    .detail-hero {
        background-attachment: scroll;
        height: 35vh;
        min-height: 220px;
    }
    
    .detail-hero h1 {
        font-size: 1.75rem;
        padding: 0 1rem;
    }
    
    .detail-hero-content {
        padding: 0 1rem;
    }

    .detail-hero-content p {
        max-width: 100%;
        padding: 0 0.25rem;
    }
    
    /* Section Headers */
    .section-header h2 {
        font-size: 2rem;
    }
    
    /* About Section */
    .about {
        padding: 50px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .about-content-blend {
        grid-template-columns: 1fr;
        gap: 2rem;
        min-height: auto;
    }
    
    .about-image-blend {
        border-radius: var(--radius);
        order: -1;
    }
    
    .about-image-fade,
    .about-image-fade img {
        min-height: 320px;
    }
    
    .about-image-fade img {
        -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
        mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    }
    
    .about-text-wrap {
        padding-left: 0;
    }
    
    .about-path-line {
        display: none;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Expeditions Section */
    .expeditions {
        padding: 60px 0;
    }
    
    /* Gallery Section */
    .gallery {
        padding: 60px 0;
    }
    
    /* Contact Section */
    .contact {
        padding: 60px 0;
    }
    
    /* Section Headers */
    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header p {
        padding: 0 0.5rem;
    }

    .about-text,
    .about-text p {
        text-align: left;
    }

    .about .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Cards */
    .expedition-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    @media (max-width: 600px) {
        .expedition-cards {
            grid-template-columns: 1fr;
        }
    }
    
    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Footer */
    .footer {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .footer-content {
        gap: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-content .footer-section:first-child {
        padding-left: 0;
    }
    
    .footer-section h3 {
        font-size: 1.35rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-section p {
        margin-bottom: 0.75rem;
        font-size: 0.95rem;
    }

    /* Contact column: flex rows + minimal gaps (grid was adding uneven space phone→email) */
    .footer-section:has(a.footer-contact-link[href^="mailto:"]) > p:has(> i:first-child) {
        display: flex !important;
        flex-direction: row;
        align-items: flex-start;
        gap: 0.55rem;
        margin-bottom: 0.4rem !important;
        line-height: 1.38;
    }

    .footer-section:has(a.footer-contact-link[href^="mailto:"]) > p:has(> i:first-child) > i {
        margin-top: 0.1em;
        line-height: 1.25;
    }

    .footer-section:has(a.footer-contact-link[href^="mailto:"]) > p:has(.fa-phone),
    .footer-section:has(a.footer-contact-link[href^="mailto:"]) > p:has(a[href^="tel:"]) {
        margin-bottom: 0.08rem !important;
    }

    .footer-section:has(a.footer-contact-link[href^="mailto:"]) > p:has(.fa-envelope),
    .footer-section:has(a.footer-contact-link[href^="mailto:"]) > p:has(a[href^="mailto:"]) {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
    }
    
    .footer-section ul {
        padding: 0;
    }
    
    .footer-section ul li {
        margin-bottom: 0.4rem;
    }
    
    .footer-section ul li a {
        font-size: 0.95rem;
    }
    
    .social-links {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .social-links a {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .footer-bottom p {
        font-size: 0.9rem;
    }
    
    /* Modal Responsive */
    .booking-modal {
        padding: 0.5rem;
        align-items: stretch;
    }
    
    .modal-container {
        width: 100%;
        max-width: 100%;
        max-height: 100%;
        max-height: 100dvh;
        margin: 0;
        border-radius: 0;
        flex: 1;
        min-height: 0;
    }
    
    .modal-header {
        padding: 1rem 1.25rem;
        flex-shrink: 0;
    }
    
    .modal-title h2 {
        font-size: 1.35rem;
    }
    
    .modal-title i {
        font-size: 1.75rem;
    }
    
    .modal-close {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .modal-body {
        flex: 1 1 auto;
        min-height: 0;
    }
    
    .expedition-preview {
        flex-direction: row;
        padding: 1rem 1.25rem;
        gap: 1rem;
        flex-shrink: 0;
    }
    
    .preview-image {
        width: 80px;
        height: 56px;
    }
    
    .preview-details h3 {
        font-size: 1.1rem;
    }
    
    .preview-details p {
        font-size: 0.9rem;
    }

    .preview-details {
        text-align: left;
        min-width: 0;
    }
    
    .booking-form {
        padding: 1.25rem 1.25rem 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-actions {
        flex-direction: column;
        margin-top: 1.5rem;
        gap: 0.75rem;
    }
    
    .form-actions .btn-cancel,
    .form-actions .btn-submit {
        width: 100%;
    }
    
    .success-container {
        padding: 2rem;
    }
    
    .success-icon {
        font-size: 3rem;
    }
    
    .success-container h2 {
        font-size: 1.5rem;
    }
}

.footer-content .footer-section:first-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-content .footer-section:first-child .social-links {
    margin-top: auto;
    padding-top: 1.25rem;
}

/* Footer: 2×2 grid on tablet and mobile (four sections in two rows) */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(1.25rem, 4vw, 2rem);
        align-items: stretch;
    }

    .footer-section {
        text-align: left;
        min-width: 0;
    }

    .footer-section p:has(> i:first-child) {
        font-size: clamp(0.8125rem, 3.2vw, 0.95rem);
    }

    .footer-section:has(a.footer-contact-link[href^="mailto:"]) > p:has(> i:first-child) {
        display: flex !important;
        flex-direction: row;
        align-items: flex-start;
        gap: 0.55rem;
        margin-bottom: 0.45rem !important;
    }

    .footer-section:has(a.footer-contact-link[href^="mailto:"]) > p:has(.fa-phone),
    .footer-section:has(a.footer-contact-link[href^="mailto:"]) > p:has(a[href^="tel:"]) {
        margin-bottom: 0.06rem !important;
    }

    .footer-section:has(a.footer-contact-link[href^="mailto:"]) > p:has(.fa-envelope),
    .footer-section:has(a.footer-contact-link[href^="mailto:"]) > p:has(a[href^="mailto:"]) {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .social-links {
        justify-content: flex-start;
    }
}

/* Footer: single-column stack on narrow phones (wins over index-luxury multi-column) */
@media (max-width: 600px) {
    .footer {
        padding-top: 2.25rem;
        padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
    }

    .footer .container,
    .page-home .footer .container,
    .page-adventure-trips .footer .container,
    .page-treks .footer .container {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }

    .footer-content,
    .page-home .footer-content,
    .page-adventure-trips .footer-content,
    .page-treks .footer-content {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        margin-bottom: 1.25rem;
    }

    .footer-section {
        padding: 1.15rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        min-width: 0;
    }

    .footer-content .footer-section:first-child,
    .page-home .footer-content .footer-section:first-child,
    .page-adventure-trips .footer-content .footer-section:first-child,
    .page-treks .footer-content .footer-section:first-child {
        padding-top: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .footer-content .footer-section:last-child,
    .page-home .footer-content .footer-section:last-child,
    .page-adventure-trips .footer-content .footer-section:last-child,
    .page-treks .footer-content .footer-section:last-child {
        border-bottom: none;
        padding-bottom: 0.35rem;
    }

    .footer-section h3,
    .footer-section h4 {
        margin-bottom: 0.65rem;
    }

    .footer-section ul {
        margin: 0;
    }

    .footer-section ul li {
        margin-bottom: 0.35rem;
    }

    .footer-section p:has(> i:first-child) {
        margin-bottom: 0.85rem;
    }

    .social-links {
        margin-top: 0.75rem;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0.65rem;
    }

    .footer-bottom {
        padding-top: 1.25rem;
        padding-left: max(0.5rem, env(safe-area-inset-left));
        padding-right: max(0.5rem, env(safe-area-inset-right));
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .about {
        padding: 40px 0;
    }
    
    .about-image-fade,
    .about-image-fade img {
        min-height: 280px;
    }
    
    .expeditions {
        padding: 50px 0;
    }
    
    .gallery {
        padding: 50px 0;
    }
    
    .contact {
        padding: 50px 0;
    }
    
    .what-to-expect {
        padding: 50px 0;
    }
    
    .trek-map-section {
        padding: 50px 0;
    }
    
    .testimonials-section {
        padding: 50px 0;
    }
    
    .about-text h3 {
        font-size: 1.45rem;
    }

    .about-text,
    .about-text p {
        text-align: left;
    }

    .section-header p {
        padding: 0 0.25rem;
    }
    
    .card-content {
        padding: 1.5rem;
    }

    .card-content p {
        text-align: left;
    }
    
    .modal-container {
        border-radius: 12px;
        max-height: calc(100dvh - 0.5rem);
    }
    
    .modal-header {
        padding: 0.875rem 1rem;
    }
    
    .modal-title h2 {
        font-size: 1.2rem;
    }
    
    .booking-form {
        padding: 1rem 1rem 1.5rem;
    }
    
    .expedition-preview {
        padding: 0.75rem 1rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Prevent horizontal scroll - ensure body and main containers don't exceed viewport */
body, main {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Detail Page Styles */
.detail-hero {
    height: 40vh;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    margin-top: 70px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    left: 0;
    right: 0;
}

.contact-hero {
    height: 35vh;
}

.detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4));
    pointer-events: none;
}

.detail-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

.detail-hero-content p {
    text-align: center;
    max-width: 36em;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.detail-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

/* Jungle Safari page */
.jungle-safari-hero {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("images/Safari background picture.jpg");
    background-size: cover;
    background-attachment: scroll;
    background-position: center center;
}

.jungle-safari-section {
    padding: 4rem 0;
}

.jungle-safari-section-alt {
    background: var(--light-color);
}

/* Jungle Safari – same background as Treks & Expeditions (layered dark gradient) */
.page-jungle-safari .jungle-te-bg {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: transparent;
}

.page-jungle-safari .jungle-te-bg .jungle-section-content {
    position: relative;
    z-index: 2;
}

/* Trip Overview – light text (background from .te-section-dark-bg) */

.jungle-overview-section .section-header h2 {
    color: rgba(248, 250, 252, 0.98);
}

.jungle-overview-section .section-header h2::after {
    display: none;
}

.jungle-overview-section .jungle-safari-overview,
.jungle-overview-section .jungle-safari-overview p {
    color: rgba(226, 232, 240, 0.92);
}

.jungle-overview-section .jungle-safari-overview strong {
    color: rgba(248, 250, 252, 0.98);
    font-weight: normal;
}

/* Chitwan National Park – description left, image right (background from .te-section-dark-bg) */

.jungle-chitwan-section .section-header h2 {
    color: rgba(248, 250, 252, 0.98);
}

.jungle-chitwan-section .section-header h2::after {
    display: none;
}

.jungle-chitwan-section .jungle-safari-description,
.jungle-chitwan-section .jungle-safari-description p {
    color: rgba(226, 232, 240, 0.92);
}

.jungle-chitwan-section .jungle-safari-description strong {
    color: rgba(248, 250, 252, 0.98);
    font-weight: normal;
}

/* Chitwan: image exactly at the side of description (flush, no gap) */
.jungle-chitwan-section .jungle-safari-content {
    grid-template-columns: 1fr auto;
    gap: 1.25rem;
    align-items: start;
}

.jungle-chitwan-section .jungle-safari-image {
    overflow: hidden;
    border-radius: 12px;
    width: 320px;
    height: 240px;
    flex-shrink: 0;
}

.jungle-chitwan-section .jungle-safari-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Royal Bardiya National Park – description right, image left (background from .te-section-dark-bg) */

.jungle-bardiya-section .section-header h2 {
    color: rgba(248, 250, 252, 0.98);
}

.jungle-bardiya-section .section-header h2::after {
    display: none;
}

.jungle-bardiya-section .jungle-safari-description,
.jungle-bardiya-section .jungle-safari-description p {
    color: rgba(226, 232, 240, 0.92);
}

.jungle-bardiya-section .jungle-safari-description strong {
    color: rgba(248, 250, 252, 0.98);
    font-weight: normal;
}

/* Trip Photos section – same TE background; advanced bento layout */

.jungle-trip-photos-section .section-header h2 {
    color: rgba(248, 250, 252, 0.98);
}

.jungle-trip-photos-section .section-header h2::after {
    display: none;
}

/* Bento-style photo layout: one featured large, two stacked */
.trip-photos-bento {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
    margin-top: 2rem;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.trip-photo-featured {
    grid-row: span 2;
    align-self: stretch;
    min-height: 320px;
}

.trip-photo-stack {
    min-height: 200px;
}

.jungle-trip-photos-section .trip-photo-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.jungle-trip-photos-section .trip-photo-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(125, 211, 252, 0.2), 0 0 40px rgba(125, 211, 252, 0.08);
}

.jungle-trip-photos-section .trip-photo-item img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}

.jungle-trip-photos-section .trip-photo-item:hover img {
    transform: scale(1.08);
    filter: brightness(1.06);
}

.trip-photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.25rem;
    background: linear-gradient(to top, rgba(7, 15, 28, 0.95), transparent);
    color: rgba(248, 250, 252, 0.95);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.jungle-trip-photos-section .trip-photo-item:hover .trip-photo-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Subtle 3D tilt on hover for interactive feel */
.jungle-trip-photos-section .trip-photo-item[data-tilt] {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.jungle-trip-photos-section .trip-photo-item[data-tilt]:hover {
    transform: translateY(-8px) scale(1.02) rotateX(2deg) rotateY(-2deg);
}

/* Jungle Safari – modern scroll animations (Intersection Observer + CSS transitions) */
.page-jungle-safari .jungle-overview-section .section-header.fade-in,
.page-jungle-safari .jungle-chitwan-section .section-header.fade-in,
.page-jungle-safari .jungle-bardiya-section .section-header.fade-in,
.page-jungle-safari .jungle-trip-photos-section .section-header.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-jungle-safari .jungle-overview-section .section-header.fade-in.visible,
.page-jungle-safari .jungle-chitwan-section .section-header.fade-in.visible,
.page-jungle-safari .jungle-bardiya-section .section-header.fade-in.visible,
.page-jungle-safari .jungle-trip-photos-section .section-header.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.page-jungle-safari .jungle-overview-section .jungle-safari-overview.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.1s, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

.page-jungle-safari .jungle-overview-section .jungle-safari-overview.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.page-jungle-safari .jungle-chitwan-section .jungle-safari-content.fade-in,
.page-jungle-safari .jungle-bardiya-section .jungle-safari-content.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.12s, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}

.page-jungle-safari .jungle-chitwan-section .jungle-safari-content.fade-in.visible,
.page-jungle-safari .jungle-bardiya-section .jungle-safari-content.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.page-jungle-safari .jungle-trip-photos-section .trip-photo-item.fade-in {
    opacity: 0;
    transform: translateY(32px) scale(0.96);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-jungle-safari .jungle-trip-photos-section .trip-photo-item.fade-in.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.page-jungle-safari .jungle-trip-photos-section .trip-photo-item:nth-child(1).fade-in { transition-delay: 0.08s; }
.page-jungle-safari .jungle-trip-photos-section .trip-photo-item:nth-child(2).fade-in { transition-delay: 0.18s; }
.page-jungle-safari .jungle-trip-photos-section .trip-photo-item:nth-child(3).fade-in { transition-delay: 0.28s; }

@media (prefers-reduced-motion: reduce) {
    .page-jungle-safari .jungle-overview-section .section-header.fade-in,
    .page-jungle-safari .jungle-chitwan-section .section-header.fade-in,
    .page-jungle-safari .jungle-bardiya-section .section-header.fade-in,
    .page-jungle-safari .jungle-trip-photos-section .section-header.fade-in,
    .page-jungle-safari .jungle-overview-section .jungle-safari-overview.fade-in,
    .page-jungle-safari .jungle-chitwan-section .jungle-safari-content.fade-in,
    .page-jungle-safari .jungle-bardiya-section .jungle-safari-content.fade-in,
    .page-jungle-safari .jungle-trip-photos-section .trip-photo-item.fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.jungle-safari-overview {
    max-width: 48em;
    margin-left: auto;
    margin-right: auto;
}

.jungle-safari-overview p + p {
    margin-top: 1rem;
}

.jungle-safari-overview p:last-child {
    margin-bottom: 0;
}

.jungle-safari-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

/* Reverse layout: image left, text right on desktop */
.jungle-safari-content-reverse .jungle-safari-description {
    order: 2;
}

.jungle-safari-content-reverse .jungle-safari-image {
    order: 1;
}

.jungle-safari-description p + p {
    margin-top: 1rem;
}

.jungle-safari-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    background: var(--gradient);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    margin-top: 1rem;
    border-radius: var(--radius-sm, 8px);
    border: none;
    box-shadow: 0 4px 15px rgba(44, 95, 124, 0.35);
    transition: all 0.3s ease;
}

.jungle-safari-cta:hover {
    background: linear-gradient(135deg, #3d7a99 0%, var(--accent-color) 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 95, 124, 0.45);
}

.jungle-safari-cta:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

.jungle-safari-image img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: block;
}

/* Trip Photos grid – base (desktop) */
.trip-photos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.trip-photo-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
}

.trip-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 968px) {
    .jungle-safari-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .jungle-safari-content-reverse .jungle-safari-description,
    .jungle-safari-content-reverse .jungle-safari-image {
        order: unset;
    }

    .jungle-safari-description {
        padding: 0;
    }

    .jungle-safari-description p,
    .jungle-safari-overview p {
        text-align: left;
    }

    .jungle-safari-image img {
        height: 260px;
    }

    .jungle-chitwan-section .jungle-safari-content {
        grid-template-columns: 1fr;
    }
    .jungle-chitwan-section .jungle-safari-image {
        height: 220px;
        max-width: none;
        justify-self: stretch;
        border-radius: 12px;
    }

    .trip-photos-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .trip-photo-item {
        aspect-ratio: 16 / 10;
    }

    .trip-photos-bento {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1rem;
    }

    .trip-photo-featured {
        grid-row: auto;
        min-height: 280px;
    }

    .trip-photo-stack {
        min-height: 220px;
    }
}

/* Jungle Safari – mobile (768px and below) */
@media (max-width: 768px) {
    .jungle-safari-section {
        padding: 3rem 0;
    }
    .jungle-safari-cta {
        min-height: 44px;
        padding: 0.875rem 1.5rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        -webkit-tap-highlight-color: rgba(255, 107, 53, 0.2);
        touch-action: manipulation;
    }
    .jungle-safari-hero .detail-hero-content p,
    .detail-hero.jungle-safari-hero .detail-hero-content p,
    .cultural-heritage-hero .detail-hero-content p,
    .detail-hero.cultural-heritage-hero .detail-hero-content p {
        font-size: 1.05rem;
    }
    .jungle-safari-image img {
        height: 240px;
    }
    .jungle-chitwan-section .jungle-safari-image {
        height: 200px;
        border-radius: 12px;
    }
}

/* Jungle Safari – small mobile (480px and below) */
@media (max-width: 480px) {
    .jungle-safari-section {
        padding: 2.5rem 0;
    }
    .jungle-safari-overview {
        padding: 0 0.5rem;
    }
    .jungle-safari-cta {
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }
    .jungle-safari-image img {
        height: 200px;
    }
    .jungle-chitwan-section .jungle-safari-image {
        height: 180px;
        border-radius: 12px;
    }
    .trip-photos-grid {
        gap: 0.75rem;
    }
    .trip-photos-bento {
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    .trip-photo-featured {
        min-height: 240px;
    }
    .trip-photo-stack {
        min-height: 180px;
    }
}

/* Cultural Heritage Tours page – animations */
@keyframes culturalFadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cultural-fade-in {
    opacity: 0;
    transform: translateY(28px);
}

.cultural-fade-in.in-view {
    animation: culturalFadeInUp 0.65s ease-out forwards;
}

.detail-hero.cultural-heritage-hero {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("images/Cultural Heritage Sites in Nepal.jpg");
    background-size: cover;
    background-attachment: scroll !important;
    background-position: center center;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Expeditions page */
.detail-hero.expeditions-hero {
    background-image: linear-gradient(rgba(26,61,82,0.6), rgba(0,0,0,0.65)), url('https://images.unsplash.com/photo-1544735716-392fe2489ffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-attachment: scroll;
    background-position: center center;
    height: 45vh;
    min-height: 280px;
}

.page-expeditions .detail-hero h1,
.page-peak-climbing .detail-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    letter-spacing: 0.02em;
    font-weight: 700;
}

.page-expeditions .detail-hero p,
.page-peak-climbing .detail-hero p {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.expeditions-list,
.peak-climbing-list {
    padding: 4rem 0 5rem;
}

.page-expeditions .section-header,
.page-peak-climbing .section-header {
    margin-bottom: 2.5rem;
}

.page-expeditions .section-header h2,
.page-peak-climbing .section-header h2 {
    color: var(--dark-color);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.page-expeditions .section-header p,
.page-peak-climbing .section-header p {
    color: var(--text-light);
    font-size: 1rem;
}

.page-expeditions .blog-post,
.page-peak-climbing .blog-post {
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(26,61,82,0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.page-expeditions .blog-post:hover,
.page-peak-climbing .blog-post:hover {
    box-shadow: 0 12px 40px rgba(26,61,82,0.12);
}

.page-expeditions .blog-actions .btn-view-details,
.page-peak-climbing .blog-actions .btn-view-details {
    font-size: 0.9rem;
    padding: 8px 12px;
}

/* Peak Climbing page */
.detail-hero.peak-climbing-hero {
    background-image: linear-gradient(rgba(26,61,82,0.55), rgba(0,0,0,0.6)), url("images/slide3.jpg");
    background-size: cover;
    background-attachment: scroll;
    background-position: center center;
    height: 45vh;
    min-height: 280px;
}

.cultural-heritage-section {
    padding: 4rem 0;
}

.cultural-heritage-section-alt {
    background: var(--light-color);
}

.cultural-heritage-section .section-header {
    text-align: center;
}

.cultural-heritage-section .section-header p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.cultural-heritage-overview {
    max-width: 900px;
    width: 100%;
    margin: 2rem auto 0;
    padding: 1rem 1.5rem 1.5rem;
    text-align: left;
    box-sizing: border-box;
}

.cultural-heritage-overview p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-light);
    margin: 0 0 1.25rem 0;
    text-align: left;
    padding: 0;
}

.cultural-heritage-overview p:last-child {
    margin-bottom: 0;
}

.cultural-heritage-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.cultural-heritage-card {
    text-align: left;
}

.cultural-heritage-card p {
    text-align: left;
    line-height: 1.85;
}

/* Cultural Heritage – Tabs (Tours Available / What to bring / What's included) */
.cultural-heritage-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(0,0,0,0.08);
}

.cultural-tab-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
}

.cultural-tab-btn:hover {
    color: var(--primary-color);
}

.cultural-tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.cultural-tab-content {
    display: none;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.cultural-tab-content.active {
    display: block;
}

.cultural-tab-content h3 {
    font-size: 1.35rem;
    color: var(--dark-color);
    margin-bottom: 1.25rem;
    text-align: left;
}

.cultural-tour-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cultural-tour-list li {
    padding: 0.5rem 0;
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.7;
    color: var(--text-light);
    text-align: left;
}

.cultural-tour-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.cultural-numbered-list {
    padding-left: 1.5rem;
    margin: 0 0 1rem;
    color: var(--text-light);
    line-height: 1.85;
    text-align: left;
}

.cultural-numbered-list li {
    margin-bottom: 0.5rem;
}

.cultural-note {
    margin-top: 1.25rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 107, 53, 0.08);
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
    font-size: 0.95rem;
    color: var(--text-light);
    text-align: left;
}

.cultural-heritage-cta-wrap {
    text-align: center;
}

.cultural-heritage-cta-btn {
    display: inline-flex;
}

/* Cultural Heritage – Trip Photos */
.cultural-trip-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.cultural-trip-photo-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
}

.cultural-trip-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 968px) {
    .cultural-heritage-overview {
        padding: 0 1rem;
    }

    .cultural-heritage-overview p,
    .cultural-heritage-card p {
        text-align: left;
    }

    .cultural-heritage-cards {
        gap: 1.5rem;
    }

    .cultural-heritage-tabs {
        flex-direction: column;
        gap: 0.5rem;
        border-bottom: none;
    }

    .cultural-tab-btn {
        width: 100%;
        min-height: 44px;
        padding: 1rem 1.25rem;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-bottom: 2px solid rgba(0,0,0,0.06);
        -webkit-tap-highlight-color: rgba(255, 107, 53, 0.15);
        touch-action: manipulation;
    }

    .cultural-tab-btn.active {
        border-bottom: 2px solid var(--primary-color);
        background: rgba(255, 107, 53, 0.06);
    }

    .cultural-trip-photos-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cultural-trip-photo-item {
        aspect-ratio: 16 / 10;
    }
}

/* Cultural Heritage – mobile (768px and below) */
@media (max-width: 768px) {
    .cultural-heritage-section {
        padding: 3rem 0;
    }
    .cultural-heritage-overview {
        padding: 0 0.75rem;
    }
    .cultural-tab-content {
        padding: 0 0.5rem;
    }
    .cultural-tab-content h3 {
        font-size: 1.2rem;
    }
    .cultural-tour-list li,
    .cultural-numbered-list li {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .jungle-safari-cta.cultural-heritage-cta-btn {
        min-height: 44px;
        width: 100%;
        max-width: 320px;
        justify-content: center;
        -webkit-tap-highlight-color: rgba(255, 107, 53, 0.2);
        touch-action: manipulation;
    }
}

/* Cultural Heritage – small mobile (480px and below) */
@media (max-width: 480px) {
    .cultural-heritage-section {
        padding: 2.5rem 0;
    }
    .cultural-heritage-overview {
        padding: 0 0.5rem;
    }
    .cultural-tab-btn {
        font-size: 0.95rem;
        padding: 0.875rem 1rem;
    }
    .cultural-tab-content h3 {
        font-size: 1.1rem;
    }
    .cultural-trip-photos-grid {
        gap: 0.75rem;
    }
}

.detail-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 2rem;
    background: var(--light-color);
    border-radius: 15px;
    margin: -50px auto 3rem;
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: calc(100% - 40px);
    box-shadow: var(--shadow);
    box-sizing: border-box;
}

.overview-item {
    text-align: center;
}

.overview-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.overview-item h4 {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.overview-item p {
    color: var(--dark-color);
    font-size: 1.2rem;
    font-weight: bold;
}

/* ============================
   TREK DETAIL PAGE - Centered, Sectioned Layout
   ============================ */
.trek-detail-page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.trek-detail-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Overview strip: centered card with better spacing */
.trek-detail-content .detail-overview {
    margin-top: -3rem;
    margin-bottom: 4rem;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(26, 61, 82, 0.12);
    gap: 2.5rem;
    max-width: 100%;
}

.trek-detail-content .overview-item {
    padding: 0.5rem 0;
}

.trek-detail-content .overview-item i {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

/* Section layout: alternating backgrounds, centered titles */
.trek-detail-content .detail-section {
    padding: 5rem 0;
    margin: 0 -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.trek-detail-content .detail-section:nth-of-type(odd) {
    background: #fff;
}

.trek-detail-content .detail-section:nth-of-type(even) {
    background: #f5f7f9;
}

.trek-detail-content .detail-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--secondary-color);
    display: block;
    max-width: 100%;
}

/* About / description: narrow column, centered */
.trek-detail-content .detail-description {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.85;
}

.trek-detail-content .detail-description h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.trek-detail-content .detail-description p {
    margin-bottom: 1.25rem;
}

.trek-detail-content .detail-description p:last-child {
    margin-bottom: 0;
}

/* Itinerary: centered list with readable width */
.trek-detail-content .itinerary-list {
    max-width: 820px;
    margin: 0 auto;
}

.trek-detail-content .itinerary-item {
    padding: 1.75rem 2rem;
    margin-bottom: 1.25rem;
    border-radius: 12px;
    border-left-width: 5px;
}

.trek-detail-content .itinerary-day {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
}

.trek-detail-content .itinerary-content {
    line-height: 1.7;
    padding-left: 0;
}

/* What to Bring: centered grid */
.trek-detail-content .includes-excludes {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
    margin-bottom: 0;
    gap: 2rem;
}

.trek-detail-content .includes-card {
    padding: 2rem 2.25rem;
    border-radius: 18px;
}

/* What to Expect: centered section */
.trek-detail-page .what-to-expect {
    padding: 5rem 0;
}

.trek-detail-page .what-to-expect .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.trek-detail-page .what-to-expect h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.trek-detail-page .expect-grid {
    margin-top: 2.5rem;
    gap: 2rem;
}

.trek-detail-page .expect-item {
    padding: 2rem 2.25rem;
    border-radius: 18px;
}

/* Map section: centered */
.trek-detail-page .trek-map-section {
    padding: 5rem 0;
}

.trek-detail-page .trek-map-section .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.trek-detail-page .trek-map-section h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.trek-detail-page .map-route-info {
    margin-top: 2.5rem;
    padding: 2.25rem;
    border-radius: 18px;
}

/* Testimonials: centered */
.trek-detail-page .testimonials-section {
    padding: 5rem 0;
}

.trek-detail-page .testimonials-section .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.trek-detail-page .testimonials-section h2 {
    text-align: center;
}

/* Booking CTA: full width, centered text */
.trek-detail-page .book-adventure-section {
    padding: 5rem 2rem;
}

.trek-detail-page .book-adventure-section .container {
    max-width: 720px;
    margin: 0 auto;
}

.trek-detail-page .book-adventure-section h2 {
    text-align: center;
}

.trek-detail-page .book-adventure-section p {
    text-align: center;
}

@media (max-width: 768px) {
    .trek-detail-content {
        padding: 0 1rem;
    }
    .trek-detail-content .detail-section {
        margin: 0 -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }
    .trek-detail-content .detail-overview {
        padding: 1.75rem 1.25rem;
        gap: 1.5rem;
    }
    .trek-detail-content .detail-section h2 {
        font-size: 1.65rem;
    }
    .trek-detail-page .what-to-expect,
    .trek-detail-page .trek-map-section,
    .trek-detail-page .testimonials-section {
        padding: 3.5rem 0;
    }
}

/* ============================
   HIMALAYAN QUESTS STYLE - Trek Detail Page
   Hero + Stats Strip + Tabs (Itinerary, Detailed, What to bring, What's included)
   ============================ */
.hq-trek-page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding-top: 70px;
}

/* Hero: full-width image, centered title */
.hq-trek-hero {
    min-height: 50vh;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    width: 100%;
}

.hq-trek-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.5));
}

.hq-trek-hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 1rem;
}

.hq-trek-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
    margin-bottom: 0.5rem;
}

.hq-trek-hero .hq-trek-subtitle {
    font-size: 1.15rem;
    opacity: 0.95;
}

/* Stats strip: DAYS | DIFFICULTY | MAX ALTITUDE | ACCOMMODATION + INQUIRE */
.hq-stats-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    max-width: 1100px;
    margin: -3rem auto 0;
    position: relative;
    z-index: 10;
    padding: 0 1rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.hq-stat-box {
    flex: 1;
    min-width: 140px;
    padding: 1.5rem 1rem;
    text-align: center;
    border-right: 1px solid #e5e7eb;
}

.hq-stat-box:last-of-type {
    border-right: none;
}

/* Optional icon (used on EBC and any page that adds .hq-stat-icon) */
.hq-stat-box .hq-stat-icon {
    display: none;
}

.hq-stat-box .hq-stat-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-light);
    margin-bottom: 0.35rem;
}

.hq-stat-box .hq-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.3;
}

.hq-inquire-wrap {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--dark-color);
}

.hq-inquire-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: var(--secondary-color);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.hq-inquire-btn .hq-inquire-icon {
    margin-right: 8px;
}

.hq-inquire-btn .hq-inquire-text {
    display: inline;
}

.hq-inquire-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
    color: #fff;
}

/* Trip Overview section */
.hq-trek-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem 2rem;
}

.hq-trip-overview h2 {
    font-size: 1.75rem;
    color: var(--dark-color);
    margin-bottom: 1.25rem;
}

.hq-trip-overview p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: justify;
    text-justify: inter-word;
}

/* Tabs: Itinerary | Detailed Itinerary | What to bring | What's included */
.hq-tabs-wrap {
    max-width: 1000px;
    margin: 2rem auto 0;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

.hq-tabs-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 0;
    align-items: stretch;
}

.hq-tab-btn {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    background: transparent;
    border: none;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hq-tab-btn:hover {
    color: var(--primary-color);
}

.hq-tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--secondary-color);
}

.hq-tab-panel {
    display: none;
    padding: 2rem 0;
    animation: fadeIn 0.3s ease;
    overflow: hidden;
}

.hq-tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Itinerary list (short) */
.hq-itinerary-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hq-itinerary-list li {
    padding: 0.85rem 0;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
    color: var(--text-dark);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hq-itinerary-list li:last-child {
    border-bottom: none;
}

/* Detailed itinerary: day blocks */
.hq-detailed-day {
    margin-bottom: 2rem;
}

.hq-detailed-day h4 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.hq-detailed-day p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-dark);
}

/* What to bring: gear tables */
.hq-gear-section {
    margin-bottom: 2rem;
}

.hq-gear-section h3 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.hq-gear-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.hq-gear-table th,
.hq-gear-table td {
    padding: 10px 14px;
    text-align: left;
    border: 1px solid #e5e7eb;
}

.hq-gear-table th {
    background: #f8fafc;
    font-weight: 600;
    color: var(--dark-color);
}

.hq-gear-table tbody tr:nth-child(even) {
    background: #fafbfc;
}

/* What's included / excluded - two columns */
.hq-included-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.hq-included-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
}

.hq-included-card h3 {
    font-size: 1.15rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hq-included-card h3 .icon-include {
    color: var(--success-color);
}

.hq-included-card h3 .icon-exclude {
    color: var(--error-color);
}

.hq-included-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hq-included-card li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.hq-included-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-light);
}

.hq-included-card.included li::before {
    color: var(--success-color);
}

/* Similar Trips section */
.hq-similar-trips {
    background: #f5f7f9;
    padding: 4rem 1.5rem;
    margin-top: 3rem;
}

.hq-similar-trips h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
}

.hq-similar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.hq-similar-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hq-similar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.hq-similar-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.hq-similar-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.hq-similar-card-body {
    padding: 1.25rem;
}

.hq-similar-card-body h3 {
    font-size: 1.15rem;
    color: var(--dark-color);
    margin-bottom: 0.35rem;
}

.hq-similar-card-body .hq-similar-days {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ============================
   EVEREST BASE CAMP PAGE - Dark Blue Gradient Theme
   Animated background, modern UI/UX, glassmorphism
   ============================ */
@keyframes ebc-gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes ebc-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.02); }
}
@keyframes ebc-fade-in-up {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes ebc-glow-pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

body.page-everest-base-camp,
body.page-trek-detail {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a1628 0%, #0d2137 25%, #132f4c 50%, #0a1628 75%, #0d2137 100%);
    background-size: 400% 400%;
    animation: ebc-gradient-shift 12s ease infinite;
    color: #e8eef4;
    /* Replace orange with blue for all lines/accents on dark blue theme */
    --secondary-color: #60a5fa;
}

body.page-everest-base-camp .hq-trek-page,
body.page-trek-detail .hq-trek-page {
    background: transparent;
    padding-bottom: 4rem;
}

/* Back to Treks button (trek detail pages) */
.hq-back-to-treks {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    margin: 0.75rem 1.5rem 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-color);
    text-decoration: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.hq-back-to-treks:hover {
    background: #fff;
    color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateX(-2px);
}
.hq-back-to-treks i {
    font-size: 0.9rem;
}
body.page-everest-base-camp .hq-back-to-treks,
body.page-trek-detail .hq-back-to-treks {
    color: rgba(232, 238, 244, 0.95);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
body.page-everest-base-camp .hq-back-to-treks:hover,
body.page-trek-detail .hq-back-to-treks:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

/* Back to Treks: centered at end (testimonials section on EBC / Annapurna) */
body.page-everest-base-camp .testimonials-back-wrap,
body.page-trek-detail .testimonials-back-wrap {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 0.5rem;
}
body.page-everest-base-camp .testimonials-back-wrap .hq-back-to-treks,
body.page-trek-detail .testimonials-back-wrap .hq-back-to-treks {
    margin-left: 0;
    margin-right: 0;
}

/* Back to Treks: centered on remaining trek pages (trek-back-wrap) */
.trek-back-wrap {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 0.5rem;
}
.trek-back-wrap .hq-back-to-treks {
    margin-left: 0;
    margin-right: 0;
}

/* Hero: dark blue overlay + image blend, animated title */
body.page-everest-base-camp .hq-trek-hero,
body.page-trek-detail .hq-trek-hero {
    min-height: 55vh;
    background-blend-mode: overlay;
    background-color: rgba(10, 22, 40, 0.75);
    position: relative;
    overflow: hidden;
}
body.page-everest-base-camp .hq-trek-hero::before,
body.page-trek-detail .hq-trek-hero::before {
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.85) 0%, rgba(19, 47, 76, 0.7) 50%, rgba(10, 22, 40, 0.9) 100%);
    animation: ebc-glow-pulse 8s ease-in-out infinite;
}
body.page-everest-base-camp .hq-trek-hero::after,
body.page-trek-detail .hq-trek-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(19, 47, 76, 0.5) 0%, transparent 60%);
    pointer-events: none;
}
body.page-everest-base-camp .hq-trek-hero-content,
body.page-trek-detail .hq-trek-hero-content {
    animation: ebc-fade-in-up 0.8s ease-out;
}
body.page-everest-base-camp .hq-trek-hero h1,
body.page-trek-detail .hq-trek-hero h1 {
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5), 0 0 40px rgba(19, 47, 76, 0.4);
    letter-spacing: -0.02em;
}
body.page-everest-base-camp .hq-trek-hero .hq-trek-subtitle,
body.page-trek-detail .hq-trek-hero .hq-trek-subtitle {
    color: rgba(255,255,255,0.92);
    font-size: 1.2rem;
    letter-spacing: 0.04em;
}

/* Stats strip: card layout, icons, staggered animation, hover (EBC) */
@keyframes hq-stat-pop {
    from {
        opacity: 0;
        transform: scale(0.88) translateY(12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
@keyframes hq-inquire-glow {
    0%, 100% { box-shadow: 0 4px 24px rgba(37, 99, 235, 0.4), 0 0 0 0 rgba(255, 255, 255, 0.15); }
    50% { box-shadow: 0 6px 32px rgba(37, 99, 235, 0.55), 0 0 0 8px rgba(255, 255, 255, 0); }
}
@keyframes hq-btn-shine {
    0% { background-position: -120% 0; }
    100% { background-position: 220% 0; }
}

body.page-everest-base-camp .hq-stats-strip,
body.page-trek-detail .hq-stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 0.6rem;
    max-width: 1000px;
    margin: -1.75rem auto 0;
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    animation: ebc-fade-in-up 0.5s ease-out 0.15s both;
}

body.page-everest-base-camp .hq-stat-box,
body.page-trek-detail .hq-stat-box {
    min-width: 0;
    padding: 0.85rem 0.65rem;
    text-align: center;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.3s ease;
    animation: hq-stat-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
body.page-everest-base-camp .hq-stat-box:nth-child(1),
body.page-trek-detail .hq-stat-box:nth-child(1) { animation-delay: 0.2s; }
body.page-everest-base-camp .hq-stat-box:nth-child(2),
body.page-trek-detail .hq-stat-box:nth-child(2) { animation-delay: 0.28s; }
body.page-everest-base-camp .hq-stat-box:nth-child(3),
body.page-trek-detail .hq-stat-box:nth-child(3) { animation-delay: 0.36s; }
body.page-everest-base-camp .hq-stat-box:nth-child(4),
body.page-trek-detail .hq-stat-box:nth-child(4) { animation-delay: 0.44s; }

body.page-everest-base-camp .hq-stat-box:hover,
body.page-trek-detail .hq-stat-box:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.15);
}

body.page-everest-base-camp .hq-stat-box .hq-stat-icon,
body.page-trek-detail .hq-stat-box .hq-stat-icon {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 0.35rem;
    color: rgba(96, 165, 250, 0.95);
    transition: transform 0.35s ease, color 0.3s ease;
}
body.page-everest-base-camp .hq-stat-box:hover .hq-stat-icon,
body.page-trek-detail .hq-stat-box:hover .hq-stat-icon {
    transform: scale(1.12);
    color: #93c5fd;
}

body.page-everest-base-camp .hq-stat-box .hq-stat-label,
body.page-trek-detail .hq-stat-box .hq-stat-label {
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 1.2px;
    font-size: 0.65rem;
    margin-bottom: 0.2rem;
}
body.page-everest-base-camp .hq-stat-box .hq-stat-value,
body.page-trek-detail .hq-stat-box .hq-stat-value {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.3;
}

body.page-everest-base-camp .hq-inquire-wrap,
body.page-trek-detail .hq-inquire-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: none;
    animation: hq-stat-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.52s both;
}

body.page-everest-base-camp .hq-inquire-btn {
    position: relative;
    overflow: hidden;
    padding: 0.7rem 1.35rem;
    font-size: 0.95rem;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #2563eb 100%);
    background-size: 200% 100%;
    box-shadow: 0 3px 18px rgba(37, 99, 235, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: hq-inquire-glow 3s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
body.page-everest-base-camp .hq-inquire-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}
body.page-everest-base-camp .hq-inquire-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.55);
    animation: none;
}
body.page-everest-base-camp .hq-inquire-btn:hover::before {
    left: 120%;
}
body.page-everest-base-camp .hq-inquire-btn .hq-inquire-icon {
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}
body.page-everest-base-camp .hq-inquire-btn:hover .hq-inquire-icon {
    transform: translateX(3px);
}

/* Gallery grid inside Trip Overview */
.hq-trip-overview .hq-trek-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    margin-top: 1.75rem;
    border-radius: 14px;
    overflow: hidden;
}
.hq-trek-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4/3;
    background: rgba(0, 0, 0, 0.2);
}
.hq-trek-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.hq-trek-gallery-item:hover img {
    transform: scale(1.05);
}
body.page-everest-base-camp .hq-trip-overview .hq-trek-gallery-grid {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
body.page-everest-base-camp .hq-trek-gallery-item {
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Trip overview: glass card */
body.page-everest-base-camp .hq-trek-content {
    animation: ebc-fade-in-up 0.6s ease-out 0.3s both;
}
body.page-everest-base-camp .hq-trip-overview {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
body.page-everest-base-camp .hq-trip-overview h2 {
    color: #bfdbfe;
    border-bottom-color: rgba(37, 99, 235, 0.6);
    padding-bottom: 0.75rem;
}
body.page-everest-base-camp .hq-trip-overview p {
    color: rgba(232, 238, 244, 0.92);
    line-height: 1.9;
}

/* Trip Overview: readable text on dark trek/peak detail pages */
body.page-trek-detail .hq-trek-content {
    animation: ebc-fade-in-up 0.6s ease-out 0.3s both;
}
body.page-trek-detail .hq-trip-overview {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
body.page-trek-detail .hq-trip-overview h2 {
    color: #bfdbfe;
    border-bottom: 1px solid rgba(37, 99, 235, 0.6);
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
}
body.page-trek-detail .hq-trip-overview p {
    color: rgba(232, 238, 244, 0.92);
    line-height: 1.9;
}
body.page-trek-detail .hq-trip-overview ul,
body.page-trek-detail .hq-trip-overview li {
    color: rgba(232, 238, 244, 0.92);
}

/* Tabs: modern pill-style */
body.page-everest-base-camp .hq-tabs-wrap {
    animation: ebc-fade-in-up 0.6s ease-out 0.4s both;
}
body.page-everest-base-camp .hq-tabs-nav {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 6px;
    gap: 4px;
    border-bottom: none;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
body.page-everest-base-camp .hq-tab-btn {
    color: rgba(255, 255, 255, 0.75);
    border-radius: 12px;
    border-bottom: none;
    margin-bottom: 0;
    transition: all 0.3s ease;
}
body.page-everest-base-camp .hq-tab-btn:hover {
    color: #bfdbfe;
    background: rgba(255, 255, 255, 0.08);
}
body.page-everest-base-camp .hq-tab-btn.active {
    color: #bfdbfe;
    background: rgba(37, 99, 235, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.25);
}
body.page-everest-base-camp .hq-tab-panel {
    color: rgba(232, 238, 244, 0.95);
}
body.page-everest-base-camp .hq-itinerary-list li {
    border-bottom-color: rgba(255, 255, 255, 0.08);
    color: rgba(232, 238, 244, 0.95);
}
body.page-everest-base-camp .hq-detailed-day h4 {
    color: #bfdbfe;
}
body.page-everest-base-camp .hq-detailed-day p {
    color: rgba(232, 238, 244, 0.9);
}
body.page-everest-base-camp .hq-gear-section h3 {
    color: #bfdbfe;
}
body.page-everest-base-camp .hq-gear-table th,
body.page-everest-base-camp .hq-gear-table td {
    border-color: rgba(255, 255, 255, 0.12);
}
body.page-everest-base-camp .hq-gear-table th {
    background: rgba(255, 255, 255, 0.08);
    color: #bfdbfe;
}
body.page-everest-base-camp .hq-gear-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.04);
}
body.page-everest-base-camp .hq-gear-table td {
    color: rgba(232, 238, 244, 0.9);
}
body.page-everest-base-camp .hq-included-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}
body.page-everest-base-camp .hq-included-card h3 {
    color: #bfdbfe;
}
body.page-everest-base-camp .hq-included-card li {
    color: rgba(232, 238, 244, 0.9);
}

/* Itinerary, Detailed Itinerary, What to bring, What's included: readable on trek/peak detail pages */
body.page-trek-detail .hq-tabs-wrap {
    animation: ebc-fade-in-up 0.6s ease-out 0.4s both;
}
body.page-trek-detail .hq-tabs-nav {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 6px;
    gap: 4px;
    border-bottom: none;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
body.page-trek-detail .hq-tab-btn {
    color: rgba(255, 255, 255, 0.75);
    border-radius: 12px;
    border-bottom: none;
    margin-bottom: 0;
    transition: all 0.3s ease;
}
body.page-trek-detail .hq-tab-btn:hover {
    color: #bfdbfe;
    background: rgba(255, 255, 255, 0.08);
}
body.page-trek-detail .hq-tab-btn.active {
    color: #bfdbfe;
    background: rgba(37, 99, 235, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.25);
}
body.page-trek-detail .hq-tab-panel {
    color: rgba(232, 238, 244, 0.95);
}
body.page-trek-detail .hq-itinerary-list li {
    border-bottom-color: rgba(255, 255, 255, 0.08);
    color: rgba(232, 238, 244, 0.95);
}
body.page-trek-detail .hq-detailed-day h4 {
    color: #bfdbfe;
}
body.page-trek-detail .hq-detailed-day p {
    color: rgba(232, 238, 244, 0.9);
}
body.page-trek-detail .hq-gear-section h3 {
    color: #bfdbfe;
}
body.page-trek-detail .hq-gear-table th,
body.page-trek-detail .hq-gear-table td {
    border-color: rgba(255, 255, 255, 0.12);
}
body.page-trek-detail .hq-gear-table th {
    background: rgba(255, 255, 255, 0.08);
    color: #bfdbfe;
}
body.page-trek-detail .hq-gear-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.04);
}
body.page-trek-detail .hq-gear-table td {
    color: rgba(232, 238, 244, 0.9);
}
body.page-trek-detail .hq-included-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}
body.page-trek-detail .hq-included-card h3 {
    color: #bfdbfe;
}
body.page-trek-detail .hq-included-card li {
    color: rgba(232, 238, 244, 0.9);
}

/* Similar trips: background and card styling on trek/peak detail pages */
body.page-everest-base-camp .hq-similar-trips,
body.page-trek-detail .hq-similar-trips {
    background: rgba(15, 45, 75, 0.75);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4rem 1.5rem;
    margin-top: 3rem;
}
body.page-everest-base-camp .hq-similar-trips h2,
body.page-trek-detail .hq-similar-trips h2 {
    color: #93c5fd;
}
body.page-everest-base-camp .hq-similar-card,
body.page-trek-detail .hq-similar-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}
body.page-everest-base-camp .hq-similar-card:hover,
body.page-trek-detail .hq-similar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
}
body.page-everest-base-camp .hq-similar-card-body h3,
body.page-trek-detail .hq-similar-card-body h3 {
    color: #bfdbfe;
}
body.page-everest-base-camp .hq-similar-card-body .hq-similar-days,
body.page-trek-detail .hq-similar-card-body .hq-similar-days {
    color: rgba(203, 213, 225, 0.9);
}

/* Testimonials & other sections on EBC page */
body.page-everest-base-camp .hq-trek-content .detail-section h2,
body.page-everest-base-camp .detail-section h2 {
    color: #fff;
    border-bottom-color: rgba(37, 99, 235, 0.6);
}
body.page-everest-base-camp .detail-description,
body.page-everest-base-camp .testimonial-text {
    color: rgba(232, 238, 244, 0.9);
}
body.page-everest-base-camp .map-route-info {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(232, 238, 244, 0.95);
}
body.page-everest-base-camp .route-info-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: rgba(232, 238, 244, 0.95);
}
body.page-everest-base-camp .route-info-item i {
    color: #60a5fa;
}
body.page-everest-base-camp .route-info-item strong {
    color: #fff;
}
body.page-everest-base-camp .route-info-item span {
    color: rgba(232, 238, 244, 0.9);
}
/* Testimonials section: compact, background on trek/peak detail pages. Single inner wrapper = no double container on mobile. */
body.page-everest-base-camp .testimonials-section,
body.page-trek-detail .testimonials-section {
    padding: 2rem 1.25rem;
    background: rgba(15, 45, 75, 0.75);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    box-sizing: border-box;
}
body.page-everest-base-camp .testimonials-section .testimonials-section-inner,
body.page-trek-detail .testimonials-section .testimonials-section-inner {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}
body.page-everest-base-camp .testimonials-section h2,
body.page-trek-detail .testimonials-section h2 {
    color: #93c5fd;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}
body.page-everest-base-camp .testimonials-section h2::after,
body.page-trek-detail .testimonials-section h2::after {
    content: '';
    display: block;
    width: 100px;
    max-width: 50%;
    height: 2px;
    margin: 0 auto;
    margin-top: 0.5rem;
    background: linear-gradient(90deg, transparent, #93c5fd, transparent);
    border-radius: 1px;
}
body.page-everest-base-camp .testimonials-container,
body.page-trek-detail .testimonials-container {
    padding: 0.4rem 0 1rem;
    overflow: visible;
    max-width: 100%;
    box-sizing: border-box;
}
body.page-everest-base-camp .testimonials-carousel,
body.page-trek-detail .testimonials-carousel {
    overflow: hidden;
    border-radius: 14px;
    max-width: 100%;
}
body.page-everest-base-camp .testimonial-item,
body.page-trek-detail .testimonial-item {
    min-width: 100%;
    padding: 0 0.5rem;
    box-sizing: border-box;
}
body.page-everest-base-camp .testimonial-card,
body.page-trek-detail .testimonial-card {
    background: rgba(15, 45, 75, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1.65rem 1.75rem;
    border-radius: 2rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}
body.page-everest-base-camp .testimonial-card::before,
body.page-trek-detail .testimonial-card::before {
    color: rgba(255, 255, 255, 0.35);
    font-size: 2.75rem;
    top: 12px;
    left: 20px;
}
body.page-everest-base-camp .testimonial-rating,
body.page-trek-detail .testimonial-rating {
    justify-content: center;
    margin-bottom: 0.75rem;
}
body.page-everest-base-camp .testimonial-rating i,
body.page-trek-detail .testimonial-rating i {
    color: #fbbf24;
    font-size: 0.9rem;
}
body.page-everest-base-camp .testimonial-text,
body.page-trek-detail .testimonial-text {
    color: rgba(232, 238, 244, 0.95);
    font-size: 0.95rem;
    line-height: 1.65;
    font-style: italic;
    margin-bottom: 1.25rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}
body.page-everest-base-camp .testimonial-author,
body.page-trek-detail .testimonial-author {
    justify-content: center;
    flex-wrap: wrap;
}
body.page-everest-base-camp .testimonial-author-name,
body.page-trek-detail .testimonial-author-name {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}
body.page-everest-base-camp .testimonial-author-location,
body.page-trek-detail .testimonial-author-location {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}
body.page-everest-base-camp .testimonial-avatar,
body.page-trek-detail .testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}
body.page-everest-base-camp .testimonial-author-info,
body.page-trek-detail .testimonial-author-info {
    text-align: left;
}
body.page-everest-base-camp .testimonials-controls,
body.page-trek-detail .testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}
body.page-everest-base-camp .testimonial-nav-btn,
body.page-trek-detail .testimonial-nav-btn {
    background: rgba(15, 45, 75, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.85);
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
}
body.page-everest-base-camp .testimonial-nav-btn:hover:not(:disabled) {
    background: rgba(37, 99, 235, 0.5);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}
body.page-everest-base-camp .testimonial-nav-btn:disabled,
body.page-trek-detail .testimonial-nav-btn:disabled {
    opacity: 0.5;
    color: rgba(255, 255, 255, 0.5);
}
body.page-everest-base-camp .testimonial-dot,
body.page-trek-detail .testimonial-dot {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.2);
}
body.page-everest-base-camp .testimonial-dot.active,
body.page-trek-detail .testimonial-dot.active {
    background: #60a5fa;
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}
body.page-everest-base-camp .testimonial-nav-btn:hover:not(:disabled),
body.page-trek-detail .testimonial-nav-btn:hover:not(:disabled) {
    background: rgba(37, 99, 235, 0.5);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}
body.page-everest-base-camp .map-info-overlay h3 {
    color: #fff;
}
/* Map / Route section: compact, background on trek/peak detail pages */
body.page-everest-base-camp .trek-map-section,
body.page-trek-detail .trek-map-section {
    background: rgba(15, 45, 75, 0.75);
    padding: 2.5rem 1.5rem;
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
body.page-everest-base-camp .trek-map-section h2,
body.page-trek-detail .trek-map-section h2 {
    color: #93c5fd;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}
/* Slightly smaller map on desktop for trek/peak pages */
body.page-everest-base-camp .trek-map-section .map-container,
body.page-trek-detail .trek-map-section .map-container {
    height: 380px;
    margin-top: 1rem;
}
body.page-everest-base-camp .map-route-info,
body.page-trek-detail .map-route-info {
    margin-top: 1.25rem;
    padding: 1.25rem 1.5rem;
}
body.page-trek-detail .map-route-info {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(232, 238, 244, 0.95);
}
body.page-trek-detail .route-info-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: rgba(232, 238, 244, 0.95);
}
body.page-trek-detail .route-info-item i {
    color: #60a5fa;
}
body.page-trek-detail .route-info-item strong {
    color: #bfdbfe;
}
body.page-trek-detail .route-info-item span {
    color: rgba(232, 238, 244, 0.9);
}
body.page-trek-detail .map-info-overlay h3 {
    color: #bfdbfe;
}

@media (max-width: 768px) {
    body.page-everest-base-camp,
    body.page-trek-detail {
        overflow-x: hidden;
    }
    body.page-everest-base-camp .hq-trek-page,
    body.page-trek-detail .hq-trek-page {
        padding-left: 0;
        padding-right: 0;
        overflow-x: hidden;
    }
    /* Outer container wrapping Map + Testimonials */
    body.page-everest-base-camp .hq-trek-page + .container,
    body.page-trek-detail .hq-trek-page + .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        max-width: 100%;
        box-sizing: border-box;
    }
    body.page-everest-base-camp .hq-back-to-treks,
    body.page-trek-detail .hq-back-to-treks {
        margin-left: 0.75rem;
        margin-right: 0.75rem;
        padding: 0.6rem 0.9rem;
        font-size: 0.9rem;
    }
    body.page-everest-base-camp .hq-trek-hero,
    body.page-trek-detail .hq-trek-hero {
        min-height: 45vh;
    }
    body.page-everest-base-camp .hq-trek-hero-content,
    body.page-trek-detail .hq-trek-hero-content {
        padding: 1.5rem 1rem;
    }
    body.page-everest-base-camp .hq-trek-hero h1,
    body.page-trek-detail .hq-trek-hero h1 {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }
    body.page-everest-base-camp .hq-trek-hero .hq-trek-subtitle,
    body.page-trek-detail .hq-trek-hero .hq-trek-subtitle {
        font-size: 1rem;
    }
    .hq-stats-strip {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-top: -2rem;
        padding: 0 0.75rem;
        gap: 0;
        border-radius: 10px;
    }
    .hq-stat-box {
        min-width: 0;
        padding: 1rem 0.75rem;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }
    .hq-stat-box:nth-child(odd) {
        border-right: 1px solid #e5e7eb;
    }
    .hq-stat-box .hq-stat-label {
        font-size: 0.7rem;
        letter-spacing: 0.8px;
    }
    .hq-stat-box .hq-stat-value {
        font-size: 1rem;
        font-weight: 700;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .hq-inquire-wrap {
        grid-column: 1 / -1;
        justify-content: stretch;
        padding: 1rem 0.75rem;
    }
    .hq-inquire-btn {
        width: 100%;
        min-height: 48px;
        padding: 14px 20px;
        font-size: 1rem;
    }
    /* Trek/peak detail stats strip: 2x2 grid + full-width Inquire on tablet/mobile */
    body.page-everest-base-camp .hq-stats-strip,
    body.page-trek-detail .hq-stats-strip {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        margin-top: -1.5rem;
        padding: 0.7rem;
    }
    body.page-everest-base-camp .hq-stat-box,
    body.page-trek-detail .hq-stat-box {
        margin: 0;
        padding: 0.75rem 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-right: none;
    }
    body.page-everest-base-camp .hq-stat-box:nth-child(odd),
    body.page-trek-detail .hq-stat-box:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
    body.page-everest-base-camp .hq-stat-box:nth-child(1),
    body.page-trek-detail .hq-stat-box:nth-child(1) { animation-delay: 0.2s; }
    body.page-everest-base-camp .hq-stat-box:nth-child(2),
    body.page-trek-detail .hq-stat-box:nth-child(2) { animation-delay: 0.28s; }
    body.page-everest-base-camp .hq-stat-box:nth-child(3),
    body.page-trek-detail .hq-stat-box:nth-child(3) { animation-delay: 0.36s; }
    body.page-everest-base-camp .hq-stat-box:nth-child(4),
    body.page-trek-detail .hq-stat-box:nth-child(4) { animation-delay: 0.44s; }
    body.page-everest-base-camp .hq-stat-box .hq-stat-icon,
    body.page-trek-detail .hq-stat-box .hq-stat-icon {
        font-size: 1.15rem;
        margin-bottom: 0.25rem;
    }
    body.page-everest-base-camp .hq-stat-box .hq-stat-value,
    body.page-trek-detail .hq-stat-box .hq-stat-value {
        font-size: 0.9rem;
    }
    body.page-everest-base-camp .hq-inquire-wrap,
    body.page-trek-detail .hq-inquire-wrap {
        grid-column: 1 / -1;
        width: 100%;
        padding: 0;
        animation-delay: 0.52s;
    }
    body.page-everest-base-camp .hq-inquire-btn,
    body.page-trek-detail .hq-inquire-btn {
        width: 100%;
        min-height: 44px;
        padding: 0.7rem 1.25rem;
        font-size: 0.9rem;
    }
    body.page-everest-base-camp .hq-stat-box,
    body.page-trek-detail .hq-stat-box {
        border-bottom: none;
    }
    body.page-everest-base-camp .hq-stat-box:nth-child(odd),
    body.page-trek-detail .hq-stat-box:nth-child(odd) {
        border-right: none;
    }
    .hq-trip-overview .hq-trek-gallery-grid {
        margin-top: 1.5rem;
        gap: 0.5rem;
    }
    .hq-trek-content {
        padding: 2rem 1rem 1.5rem;
    }
    .hq-tabs-wrap {
        padding: 0 1rem;
        margin-top: 1.5rem;
    }
    .hq-tabs-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        overflow-x: visible;
        padding-bottom: 0;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        border-bottom: 2px solid #e5e7eb;
    }
    body.page-everest-base-camp .hq-tabs-nav,
    body.page-trek-detail .hq-tabs-nav {
        border-bottom: none;
    }
    .hq-tab-btn {
        white-space: normal;
        text-align: center;
        padding: 0.875rem 0.5rem;
        font-size: 0.85rem;
        min-height: 44px;
        border-bottom: 3px solid transparent;
        margin-bottom: -2px;
        border-radius: 6px;
        background: #f8fafc;
    }
    body.page-everest-base-camp .hq-tab-btn,
    body.page-trek-detail .hq-tab-btn {
        background: rgba(255, 255, 255, 0.05);
        color: rgba(255, 255, 255, 0.85);
    }
    .hq-tab-btn.active {
        background: #fff;
        box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    }
    body.page-everest-base-camp .hq-tab-btn.active,
    body.page-trek-detail .hq-tab-btn.active {
        background: rgba(37, 99, 235, 0.4);
        color: #bfdbfe;
        box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
    }
    .hq-tab-panel {
        padding: 1.25rem 0;
    }
    .hq-itinerary-list li {
        padding: 0.75rem 0;
        font-size: 0.95rem;
    }
    .hq-detailed-day {
        margin-bottom: 1.5rem;
    }
    .hq-detailed-day h4 {
        font-size: 1.05rem;
    }
    .hq-detailed-day p {
        font-size: 0.95rem;
    }
    .hq-gear-section {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-left: -0.25rem;
        margin-right: -0.25rem;
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
    .hq-gear-table {
        min-width: 380px;
    }
    .hq-gear-table th,
    .hq-gear-table td {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
    .hq-included-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .hq-included-card {
        padding: 1.25rem;
    }
    .hq-included-card h3 {
        font-size: 1.05rem;
    }
    .hq-included-card li {
        font-size: 0.9rem;
    }
    /* Similar Trips, Map/Route, Testimonials: mobile-friendly on trek/peak pages */
    body.page-everest-base-camp .hq-similar-trips,
    body.page-trek-detail .hq-similar-trips {
        padding: 2.5rem 1rem;
    }
    body.page-everest-base-camp .hq-similar-grid,
    body.page-trek-detail .hq-similar-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        max-width: 100%;
    }
    body.page-everest-base-camp .trek-map-section,
    body.page-trek-detail .trek-map-section {
        padding: 2.5rem 1rem;
    }
    body.page-everest-base-camp .trek-map-section .container,
    body.page-trek-detail .trek-map-section .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        max-width: 100%;
        box-sizing: border-box;
    }
    body.page-everest-base-camp .testimonials-section,
    body.page-trek-detail .testimonials-section {
        padding: 1.75rem 1rem;
    }
    body.page-everest-base-camp .testimonials-section .testimonials-section-inner,
    body.page-trek-detail .testimonials-section .testimonials-section-inner {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    body.page-everest-base-camp .testimonials-section h2,
    body.page-trek-detail .testimonials-section h2 {
        font-size: 1.35rem;
    }
    body.page-everest-base-camp .testimonial-item,
    body.page-trek-detail .testimonial-item {
        padding: 0 0.25rem;
    }
    body.page-everest-base-camp .testimonial-card,
    body.page-trek-detail .testimonial-card {
        padding: 1.35rem 1rem;
        max-width: 100%;
        border-radius: 1.5rem;
    }
    body.page-everest-base-camp .testimonial-card::before,
    body.page-trek-detail .testimonial-card::before {
        font-size: 2.25rem;
        top: 10px;
        left: 16px;
    }
    body.page-everest-base-camp .testimonial-text,
    body.page-trek-detail .testimonial-text {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    body.page-everest-base-camp .testimonial-avatar,
    body.page-trek-detail .testimonial-avatar {
        width: 38px;
        height: 38px;
    }
    body.page-everest-base-camp .testimonials-back-wrap,
    body.page-trek-detail .testimonials-back-wrap {
        margin-top: 1.25rem;
    }
    body.page-everest-base-camp .testimonials-controls,
    body.page-trek-detail .testimonials-controls {
        gap: 0.75rem;
        margin-top: 1rem;
    }
    body.page-everest-base-camp .testimonial-nav-btn,
    body.page-trek-detail .testimonial-nav-btn {
        min-width: 44px;
        min-height: 44px;
        width: 44px;
        height: 44px;
    }
    body.page-everest-base-camp .testimonial-dot,
    body.page-trek-detail .testimonial-dot {
        width: 10px;
        height: 10px;
    }
    body.page-everest-base-camp .hq-trip-overview,
    body.page-trek-detail .hq-trip-overview {
        padding: 1.5rem 1.25rem;
    }
    body.page-everest-base-camp .hq-trek-content,
    body.page-trek-detail .hq-trek-content {
        padding-left: 1rem;
        padding-right: 1rem;
        box-sizing: border-box;
    }
    /* Prevent horizontal overflow in tab content and overview */
    body.page-everest-base-camp .hq-tab-panel,
    body.page-trek-detail .hq-tab-panel,
    body.page-everest-base-camp .hq-trip-overview,
    body.page-trek-detail .hq-trip-overview {
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: break-word;
    }
    body.page-everest-base-camp .hq-tab-panel *,
    body.page-trek-detail .hq-tab-panel * {
        max-width: 100%;
    }
    /* Map container: fixed height on tablet/mobile */
    body.page-everest-base-camp .trek-map-section .map-container,
    body.page-trek-detail .trek-map-section .map-container {
        height: 320px;
        min-height: 280px;
    }
}

@media (max-width: 480px) {
    .hq-stats-strip {
        padding: 0 0.5rem;
    }
    .hq-stat-box {
        padding: 0.875rem 0.5rem;
    }
    .hq-stat-box .hq-stat-label {
        font-size: 0.65rem;
    }
    .hq-stat-box .hq-stat-value {
        font-size: 0.9rem;
    }
    .hq-inquire-wrap {
        padding: 0.875rem 0.5rem;
    }
    .hq-inquire-btn {
        min-height: 44px;
        font-size: 0.95rem;
    }
    /* Trek/peak detail stats: compact on small phones */
    body.page-everest-base-camp .hq-stats-strip,
    body.page-trek-detail .hq-stats-strip {
        padding: 0.6rem;
        gap: 0.4rem;
    }
    body.page-everest-base-camp .hq-stat-box,
    body.page-trek-detail .hq-stat-box {
        padding: 0.65rem 0.4rem;
    }
    body.page-everest-base-camp .hq-stat-box .hq-stat-icon,
    body.page-trek-detail .hq-stat-box .hq-stat-icon {
        font-size: 1.05rem;
        margin-bottom: 0.2rem;
    }
    body.page-everest-base-camp .hq-stat-box .hq-stat-label,
    body.page-trek-detail .hq-stat-box .hq-stat-label {
        font-size: 0.6rem;
    }
    body.page-everest-base-camp .hq-stat-box .hq-stat-value,
    body.page-trek-detail .hq-stat-box .hq-stat-value {
        font-size: 0.85rem;
    }
    body.page-everest-base-camp .hq-inquire-btn,
    body.page-trek-detail .hq-inquire-btn {
        min-height: 42px;
        font-size: 0.9rem;
    }
    .hq-tabs-wrap {
        padding: 0 0.75rem;
    }
    .hq-tab-btn {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }
    .hq-tab-panel {
        padding: 1rem 0;
    }
    .hq-itinerary-list li {
        font-size: 0.9rem;
    }
    .hq-gear-table {
        min-width: 340px;
    }
    .map-route-info {
        padding: 1rem 0.75rem;
        gap: 0.75rem;
    }
    .route-info-item {
        padding: 0.875rem 0.5rem;
    }
    body.page-everest-base-camp .hq-similar-trips,
    body.page-trek-detail .hq-similar-trips {
        padding: 2rem 0.75rem;
    }
    body.page-everest-base-camp .hq-similar-card-body h3,
    body.page-trek-detail .hq-similar-card-body h3 {
        font-size: 1.05rem;
    }
    body.page-everest-base-camp .trek-map-section,
    body.page-trek-detail .trek-map-section {
        padding: 2rem 0.75rem;
    }
    body.page-everest-base-camp .testimonials-section,
    body.page-trek-detail .testimonials-section {
        padding: 1.5rem 0.75rem;
    }
    body.page-everest-base-camp .testimonial-item,
    body.page-trek-detail .testimonial-item {
        padding: 0 0.15rem;
    }
    body.page-everest-base-camp .testimonial-card,
    body.page-trek-detail .testimonial-card {
        padding: 1.15rem 0.875rem;
        border-radius: 1.35rem;
    }
    body.page-everest-base-camp .testimonial-card::before,
    body.page-trek-detail .testimonial-card::before {
        font-size: 2rem;
        top: 8px;
        left: 14px;
    }
    body.page-everest-base-camp .testimonial-text,
    body.page-trek-detail .testimonial-text {
        font-size: 0.875rem;
        margin-bottom: 0.875rem;
    }
    body.page-everest-base-camp .testimonial-author-name,
    body.page-trek-detail .testimonial-author-name {
        font-size: 0.95rem;
    }
    body.page-everest-base-camp .testimonial-author-location,
    body.page-trek-detail .testimonial-author-location {
        font-size: 0.8rem;
    }
    body.page-everest-base-camp .testimonial-avatar,
    body.page-trek-detail .testimonial-avatar {
        width: 36px;
        height: 36px;
    }
    body.page-everest-base-camp .testimonials-controls,
    body.page-trek-detail .testimonials-controls {
        margin-top: 0.875rem;
        gap: 0.65rem;
    }
    body.page-everest-base-camp .testimonials-section h2,
    body.page-trek-detail .testimonials-section h2,
    body.page-everest-base-camp .trek-map-section h2,
    body.page-trek-detail .trek-map-section h2 {
        font-size: 1.35rem;
    }
    .route-info-item i {
        font-size: 1.35rem;
    }
    .route-info-item strong {
        font-size: 0.8rem;
    }
    .route-info-item span {
        font-size: 0.8rem;
    }
    /* Map container: smaller height on small phones */
    body.page-everest-base-camp .trek-map-section .map-container,
    body.page-trek-detail .trek-map-section .map-container {
        height: 280px;
        min-height: 240px;
    }
    /* Hero: compact on small phones */
    body.page-everest-base-camp .hq-trek-hero,
    body.page-trek-detail .hq-trek-hero {
        min-height: 40vh;
    }
    body.page-everest-base-camp .hq-trek-hero h1,
    body.page-trek-detail .hq-trek-hero h1 {
        font-size: clamp(1.35rem, 5.5vw, 2rem);
    }
    /* Outer container: tighter padding on small phones */
    body.page-everest-base-camp .hq-trek-page + .container,
    body.page-trek-detail .hq-trek-page + .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    /* Trip overview gallery: single column on small phones */
    .hq-trip-overview .hq-trek-gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
    
    .footer-section h4 {
        font-size: 1rem;
    }
    
    .footer-section p,
    .footer-section ul li a {
        font-size: 0.9rem;
    }
    
    .footer-content {
        gap: 1.5rem;
        margin-bottom: 1.25rem;
    }
    
    .social-links a {
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
    }
    
    .footer-bottom {
        padding-top: 1.25rem;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
    }
}

@media (min-width: 769px) {
    .hq-tab-btn {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }
}

.detail-section {
    padding: 4rem 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.detail-section h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 1rem;
}

.detail-section h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin: 2rem 0 1rem;
}

.detail-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.itinerary-list {
    list-style: none;
    padding: 0;
}

.itinerary-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: var(--light-color);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.itinerary-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

/* Collapsible itinerary for mobile */
.itinerary-item.collapsible {
    cursor: pointer;
}

.itinerary-item.collapsible .itinerary-day {
    position: relative;
    padding-right: 30px;
}

.itinerary-item.collapsible .itinerary-day .expand-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.itinerary-item.collapsible.expanded .itinerary-day .expand-icon {
    transform: translateY(-50%) rotate(180deg);
}

.itinerary-item.collapsible .itinerary-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, margin 0.3s ease;
    padding: 0;
    margin: 0;
}

.itinerary-item.collapsible.expanded .itinerary-content {
    max-height: 1000px;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}

@media (min-width: 769px) {
    .itinerary-item.collapsible .itinerary-content {
        max-height: none !important;
        padding: 0 !important;
        margin: 0 !important;
        display: block !important;
    }
    
    .itinerary-item.collapsible .itinerary-day .expand-icon {
        display: none;
    }
}

.itinerary-day {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.itinerary-content {
    color: var(--text-dark);
    line-height: 1.6;
}

.includes-excludes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.includes-card, .excludes-card {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.includes-card h3 {
    color: var(--success-color);
    margin-top: 0;
}

.excludes-card h3 {
    color: var(--error-color);
    margin-top: 0;
}

.includes-list, .excludes-list {
    list-style: none;
    padding: 0;
}

.includes-list li, .excludes-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.includes-list li:last-child, .excludes-list li:last-child {
    border-bottom: none;
}

.includes-list li i {
    color: var(--success-color);
}

.excludes-list li i {
    color: var(--error-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.faq-list {
    margin: 3rem 0;
}

.faq-item {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--light-color);
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #e5e7eb;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Default collapsed state – overridden by .faq-section .faq-answer below so answers show when [hidden] is removed */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer,
.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.book-adventure-btn {
    display: inline-block;
    padding: 18px 40px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    text-decoration: none;
    margin: 3rem auto;
    text-align: center;
}

.book-adventure-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(44, 95, 124, 0.3);
}

.book-adventure-section {
    text-align: center;
    padding: 4rem 0;
    background: var(--gradient);
    color: white;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.book-adventure-section h2 {
    color: white;
    border-bottom: 3px solid white;
}

.book-adventure-section .book-adventure-btn {
    background: white;
    color: var(--primary-color);
}

.book-adventure-section .book-adventure-btn:hover {
    background: var(--secondary-color);
    color: white;
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }
.hidden { display: none; }
.visible { display: block; }

/* ============================
   WHAT TO EXPECT SECTION
   ============================ */
.what-to-expect {
    padding: 4rem 0;
    background: var(--light-color);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.what-to-expect h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 1rem;
}

.expect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.expect-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.expect-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.expect-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(44, 95, 124, 0.2);
}

.expect-item:hover::before {
    transform: scaleX(1);
}

.expect-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.expect-item:hover .expect-icon {
    transform: scale(1.1) rotate(5deg);
}

.expect-item h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.expect-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

/* ============================
   MAP / ROUTE SECTION
   ============================ */
.trek-map-section {
    padding: 4rem 0;
    background: white;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.trek-map-section h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 1rem;
}

.map-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 2rem;
    background: #e8f4f8;
}

#trekMap, #homepageMap {
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.map-info-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-width: 300px;
    backdrop-filter: blur(10px);
}

.map-info-overlay h3 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.map-info-overlay p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.map-route-info {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--light-color);
    border-radius: 15px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.route-info-item {
    text-align: center;
    padding: 1rem;
}

.route-info-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.route-info-item strong {
    display: block;
    color: var(--dark-color);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.route-info-item span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Map marker popup styles */
.leaflet-popup-content-wrapper {
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.leaflet-popup-content {
    margin: 1rem;
    font-family: inherit;
}

.map-popup-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.map-popup-title {
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.map-popup-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ============================
   TESTIMONIALS / REVIEWS SECTION
   ============================ */
.testimonials-section {
    padding: 4rem 0;
    background: var(--light-color);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.testimonials-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    color: inherit;
}

/* Carousel layout for "What Our Trekkers Say" */
.testimonials-container {
    padding: 0.5rem 0 1.5rem;
    overflow: visible;
}
.testimonials-carousel {
    overflow: hidden;
    border-radius: 16px;
}
.testimonials-track {
    display: flex;
    transition: transform 0.4s ease;
}
.testimonial-item {
    min-width: 100%;
    padding: 0 0.5rem;
    box-sizing: border-box;
    flex-shrink: 0;
}
.testimonial-card {
    position: relative;
    padding: 1.5rem 1.75rem;
    border-radius: 16px;
    box-sizing: border-box;
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 12px;
    left: 20px;
    font-family: Georgia, serif;
    font-size: 3rem;
    line-height: 1;
    opacity: 0.25;
}
.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}
.testimonial-text {
    font-size: 1rem;
    line-height: 1.75;
    margin: 0 0 1.25rem;
    color: inherit;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author-name {
    font-weight: bold;
    color: var(--dark-color);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.testimonial-author-location {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Controls row: prev button | dots | next button */
.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1.75rem;
    flex-wrap: wrap;
}
.testimonials-controls .testimonials-dots {
    margin-top: 0;
}

.testimonial-nav-btn {
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.testimonial-nav-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.testimonial-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.testimonial-dot.active {
    background: var(--secondary-color);
    transform: scale(1.2);
    border-color: var(--primary-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Responsive adjustments for testimonials */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-card::before {
        font-size: 4rem;
        top: 15px;
        left: 20px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-author-info {
        text-align: center;
    }
    
    .map-container {
        height: 400px;
    }
    
    .map-info-overlay {
        position: relative;
        top: auto;
        right: auto;
        margin-bottom: 1rem;
        max-width: 100%;
    }
    
    .expect-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .what-to-expect {
        padding: 3rem 0;
    }
    
    .what-to-expect h2 {
        font-size: 2rem;
    }
    
    .trek-map-section {
        padding: 3rem 0;
    }
    
    .trek-map-section h2 {
        font-size: 2rem;
    }
    
    .map-route-info {
        margin-top: 1.5rem;
        padding: 1.25rem 1rem;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .route-info-item {
        padding: 1rem 0.75rem;
        min-width: 0;
    }
    
    .route-info-item i {
        font-size: 1.5rem;
        margin-bottom: 0.35rem;
    }
    
    .route-info-item strong {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .route-info-item span {
        font-size: 0.85rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .testimonials-section {
        padding: 3rem 0;
    }
    
    .testimonials-section h2 {
        font-size: 2rem;
    }
}
/* Add these CSS fixes to prevent blur persistence */

/* Ensure modals are properly hidden */
.booking-modal:not(.active) {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.booking-modal.active {
    pointer-events: auto;
}

.success-modal:not(.active) {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Fix modal overlay transitions */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Lock background scroll when modal is open (covers full viewport including navbar) */
html.modal-open,
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

body:not(.modal-open) {
    overflow: auto;
}

/* Fix for webkit/safari blur issues */
.modal-overlay {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

/* Alternative: If backdrop-filter causes issues, use this instead */
/*
.modal-overlay {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
*/

/* ============================
   TOAST NOTIFICATION STYLES
   ============================ */
.toast-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    padding: 1.25rem 1.75rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 300px;
    max-width: 400px;
    border-left: 4px solid var(--success-color);
    pointer-events: none;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.toast-content i {
    font-size: 1.5rem;
    color: var(--success-color);
    animation: successPulse 1.5s ease infinite;
}

.toast-message {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .toast-notification {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: calc(100% - 20px);
        transform: translateY(-100px);
    }
    
    .toast-notification.show {
        transform: translateY(0);
        animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .trip-enquiry-btn {
        padding: 15px 35px;
        font-size: 1.1rem;
    }
}

/* ============================
   GLOBAL MOBILE UI/UX
   Ensures site works properly on mobile: no overflow, touch-friendly, readable
   ============================ */
@media (max-width: 768px) {
    html {
        -webkit-text-size-adjust: 100%;
        overflow-x: hidden;
    }
    
    body {
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    main {
        overflow-x: hidden;
        max-width: 100%;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
        max-width: 100%;
    }
    
    /* Tables: constrain width; wide tables get horizontal scroll from their wrapper (e.g. .hq-gear-section) */
    table {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    td, th {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Buttons and links: adequate touch targets */
    button:not(.hamburger span),
    .cta-btn,
    .hq-inquire-btn,
    a.btn-book-now {
        min-height: 44px;
        min-width: 44px;
    }
    .jungle-safari-cta,
    .cultural-heritage-cta-btn {
        min-height: 44px;
    }
    
    /* Prevent long words from causing horizontal scroll */
    p, li, td, th, .slide-content h1, .slide-content p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .nav-container {
        padding: 0.75rem 0.75rem;
    }
    
    .detail-hero {
        height: 30vh;
        min-height: 180px;
    }
    
    .detail-hero h1 {
        font-size: 1.5rem;
    }
}

/* ============================
   TREKS & EXPEDITIONS LANDING PAGE
   ============================ */
.te-intro {
    padding: 3.5rem 0;
    background: #fff;
}
.te-intro-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.te-intro-lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-weight: 400;
    text-align: center;
}

/* ============================
   DARK GRADIENT INTRO - Advanced CSS, presentable UI/UX
   Meander Himalaya: Himalayan slate/navy gradient with depth & motion
   ============================ */
.te-intro-gradient {
    position: relative;
    padding: clamp(3.5rem, 8vw, 5.5rem) 0;
    background: transparent;
    overflow: hidden;
    isolation: isolate;
}
/* Smooth transition from hero into intro */
.te-intro-gradient::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(7, 15, 28, 0.4));
    pointer-events: none;
    z-index: 1;
}
.te-intro-gradient .container {
    position: relative;
    z-index: 2;
}
/* Base dark gradient: deep Himalayan palette (slate → navy → indigo) */
.te-intro-gradient-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(160deg, #070f1c 0%, #0c1628 18%, #0f1a2e 35%, #0d1525 50%, #0a1220 70%, #070f1c 100%);
    background-size: 100% 100%;
}
/* Animated gradient layer for subtle movement */
.te-intro-gradient-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.97) 0%,
        rgba(30, 41, 59, 0.4) 25%,
        rgba(15, 51, 82, 0.35) 50%,
        rgba(30, 58, 95, 0.25) 75%,
        rgba(15, 23, 42, 0.9) 100%
    );
    background-size: 400% 400%;
    animation: te-intro-gradient-shift 14s ease-in-out infinite;
    pointer-events: none;
}
/* Radial orbs for depth (sky/peak feel) */
.te-intro-gradient-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 100% 60% at 50% -20%, rgba(56, 132, 189, 0.15) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 90% 80%, rgba(30, 58, 95, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 60% 45% at 10% 90%, rgba(15, 41, 70, 0.2) 0%, transparent 45%);
    pointer-events: none;
}
/* Subtle noise texture for premium feel */
.te-intro-noise {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
}
.te-intro-shine {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        105deg,
        transparent 0%,
        transparent 38%,
        rgba(255, 255, 255, 0.02) 50%,
        transparent 62%,
        transparent 100%
    );
    background-size: 220% 100%;
    animation: te-intro-shine 10s ease-in-out infinite;
    pointer-events: none;
}
@keyframes te-intro-gradient-shift {
    0%, 100% { background-position: 0% 50%; opacity: 1; }
    50% { background-position: 100% 50%; opacity: 0.95; }
}
@keyframes te-intro-shine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
@keyframes te-intro-fade-up {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.te-intro-gradient .te-intro-inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}
/* Staggered intro reveal */
.te-intro-gradient .te-intro-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(125, 211, 252, 0.85);
    margin-bottom: 1rem;
    margin-top: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: te-intro-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}
.te-intro-gradient .te-intro-lead {
    opacity: 0;
    transform: translateY(24px);
    animation: te-intro-fade-up 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}
.te-intro-gradient .te-intro-accent-line {
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
    animation: te-intro-accent-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
}
@keyframes te-intro-accent-in {
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}
/* Main lead text - readable, premium typography */
.te-intro-gradient .te-intro-lead {
    color: rgba(248, 250, 252, 0.96);
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    line-height: 1.9;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    margin-bottom: 1.5rem;
}
.te-intro-gradient .te-intro-highlight {
    color: #93c5fd;
    font-weight: 600;
    position: relative;
    display: inline-block;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}
.te-intro-gradient .te-intro-highlight:hover {
    color: #bfdbfe;
    text-shadow: 0 0 20px rgba(147, 197, 253, 0.25);
}
/* Decorative accent line */
.te-intro-accent-line {
    width: 64px;
    height: 3px;
    margin: 0 auto;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.7), transparent);
    box-shadow: 0 0 12px rgba(125, 211, 252, 0.2);
}
@media (prefers-reduced-motion: reduce) {
    .te-intro-gradient-bg::before,
    .te-intro-shine {
        animation: none;
    }
    .te-intro-gradient .te-intro-eyebrow,
    .te-intro-gradient .te-intro-lead,
    .te-intro-gradient .te-intro-accent-line {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .page-treks-expeditions .detail-hero.te-landing-hero::before,
    .page-treks-expeditions .detail-hero-content h1,
    .page-treks-expeditions .detail-hero-content .te-hero-tagline {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

.te-section {
    padding: 4rem 0;
}
.te-section:nth-child(odd) {
    background: #fff;
}
.te-section:nth-child(even) {
    background: #f8fafb;
}
.te-section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.te-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #5b9bd5;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.te-section-header h2 {
    font-size: 2rem;
    color: #1e3a4d;
    margin-bottom: 0.75rem;
    text-align: center;
}
.te-section-header p {
    font-size: 1.05rem;
    color: #5a7184;
    line-height: 1.65;
    text-align: center;
    font-weight: 400;
}
.te-image-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.te-image-grid-treks,
.te-image-grid-peaks,
.te-image-grid-expeditions {
    grid-template-columns: repeat(3, 1fr);
}
.te-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.te-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}
.te-card-img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.te-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.te-card:hover .te-card-img-wrap img {
    transform: scale(1.06);
}
.te-card-overlay .te-card-overlay-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 55%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1.25rem 1.5rem 1.75rem;
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}
.te-card-overlay:hover .te-card-overlay-content {
    transform: translateY(-8px);
}
.te-card-overlay .te-card-overlay-content span {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    transition: transform 0.35s ease;
}
.te-card-overlay .te-card-overlay-content .te-card-desc,
.te-card-overlay .te-card-overlay-content .te-card-tagline {
    display: block;
    line-height: 1.5;
    margin-top: 0.35rem;
    transform: translateY(4px);
    opacity: 0.9;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.05s, opacity 0.35s;
}
.te-card-overlay:hover .te-card-overlay-content .te-card-desc,
.te-card-overlay:hover .te-card-overlay-content .te-card-tagline {
    transform: translateY(0);
    opacity: 1;
}
.te-card-overlay-content .te-card-cta-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    transition: gap 0.2s ease, opacity 0.2s ease;
}
.te-card-overlay:hover .te-card-overlay-content .te-card-cta-inline {
    gap: 0.5rem;
}

/* Adventure Trips page: prevent overlay text clipping */
.page-adventure-trips .te-card-overlay .te-card-overlay-content .te-card-desc,
.page-adventure-trips .te-card-overlay .te-card-overlay-content .te-card-tagline {
    transform: none;
}
.page-adventure-trips .te-card-overlay:hover .te-card-overlay-content .te-card-desc,
.page-adventure-trips .te-card-overlay:hover .te-card-overlay-content .te-card-tagline {
    transform: none;
}

.te-card-featured .te-card-caption {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, transparent 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.75rem;
    color: #fff;
}
.te-card-featured .te-card-caption h3 {
    font-size: 1.35rem;
    margin-bottom: 0.35rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.te-card-featured .te-card-caption p {
    font-size: 0.95rem;
    opacity: 0.95;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}
.te-explore-btn:hover {
    transform: translateY(-2px);
    background: #1d4ed8;
}
.te-explore-btn::after {
    display: none !important;
}

/* Treks & Expeditions page – hero and sections match reference design */
.page-treks-expeditions {
    font-family: 'Inter', var(--font-body);
}
/* Keep nav and Beyond Trails dropdown above page content on Treks & Expeditions */
.page-treks-expeditions .navbar {
    z-index: 10002;
}
.page-treks-expeditions .nav-dropdown .dropdown-menu {
    z-index: 10005;
}
.page-treks-expeditions .nav-menu > li {
    position: relative;
}
.page-treks-expeditions .nav-dropdown {
    position: relative;
    z-index: 1;
}
/* Mobile: ensure nav menu and Beyond Trails dropdown are tappable and visible */
@media (max-width: 767px) {
    .page-treks-expeditions .nav-menu.active {
        z-index: 10010;
        pointer-events: auto;
    }
    .page-treks-expeditions .nav-menu.active .nav-dropdown > a {
        pointer-events: auto;
        cursor: pointer;
    }
    .page-treks-expeditions .nav-dropdown.open .dropdown-menu {
        pointer-events: auto !important;
    }
}
.page-treks-expeditions h1,
.page-treks-expeditions h2,
.page-treks-expeditions h3 {
    font-family: 'Inter', var(--font-heading);
}
.page-treks-expeditions .detail-hero.te-landing-hero {
    height: 50vh;
    min-height: 320px;
    background-attachment: scroll;
    overflow: hidden;
}
.page-treks-expeditions .detail-hero.te-landing-hero::before {
    background: rgba(0, 0, 0, 0.5);
    animation: te-hero-overlay-in 1.2s ease-out forwards;
}
@keyframes te-hero-overlay-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
.page-treks-expeditions .detail-hero-content h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(32px) scale(0.96);
    animation: te-hero-reveal 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}
.page-treks-expeditions .detail-hero-content .te-hero-tagline {
    opacity: 0;
    transform: translateY(24px);
    animation: te-hero-reveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards;
}
@keyframes te-hero-reveal {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.te-hero-tagline {
    font-size: 1.2rem;
    margin-top: 1rem;
    line-height: 1.6;
    opacity: 0.95;
}
.te-hero-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    transition: color 0.2s ease, transform 0.2s ease;
}
.te-hero-back-link:hover {
    color: #fff;
    transform: translateX(-4px);
}
.te-hero-back-link i {
    font-size: 0.85rem;
}
.te-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.75rem;
}
.te-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.te-hero-btn-primary {
    background: #2563eb;
    color: #fff !important;
    border: 2px solid #2563eb;
}
.te-hero-btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-2px);
    color: #fff !important;
}
.te-hero-btn-secondary {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.9);
}
.te-hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    transform: translateY(-2px);
    color: #fff !important;
}
/* All sections white / light grey (Treks overridden when .te-section-dark) */
.page-treks-expeditions .te-section-treks {
    background: #fff;
}

/* ============================
   TREKS SECTION – Dark gradient + animation (same vibe as intro)
   ============================ */
.page-treks-expeditions .te-section-treks.te-section-dark {
    background: transparent;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(6rem, 12vw, 8rem) 0;
}
/* Fade from intro (dark) into this section */
.page-treks-expeditions .te-section-treks.te-section-dark::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, rgba(7, 15, 28, 0.5), transparent);
    pointer-events: none;
    z-index: 1;
}
.page-treks-expeditions .te-section-dark-content {
    position: relative;
    z-index: 2;
}
/* Background layers */
.te-section-dark-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(165deg, #070f1c 0%, #0c1628 20%, #0f1a2e 40%, #0d1525 60%, #0a1220 80%, #070f1c 100%);
}
.te-section-dark-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(138deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.35) 30%, rgba(15, 51, 82, 0.3) 60%, rgba(15, 23, 42, 0.85) 100%);
    background-size: 400% 400%;
    animation: te-section-dark-gradient 16s ease-in-out infinite;
    pointer-events: none;
}
.te-section-dark-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 90% 50% at 50% -10%, rgba(56, 132, 189, 0.12) 0%, transparent 50%),
                radial-gradient(ellipse 60% 40% at 85% 100%, rgba(30, 58, 95, 0.2) 0%, transparent 45%),
                radial-gradient(ellipse 55% 40% at 15% 100%, rgba(15, 41, 70, 0.18) 0%, transparent 45%);
    pointer-events: none;
}
@keyframes te-section-dark-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.te-section-dark-shine {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(110deg, transparent 0%, transparent 40%, rgba(255, 255, 255, 0.02) 50%, transparent 60%, transparent 100%);
    background-size: 220% 100%;
    animation: te-section-dark-shine 11s ease-in-out infinite;
    pointer-events: none;
}
@keyframes te-section-dark-shine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.te-section-dark-noise {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
}
/* Header: light text + icon + entrance animations (triggered when section is in view) */
@keyframes te-section-dark-header-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes te-section-dark-icon-pulse {
    0%, 100% { box-shadow: 0 0 24px rgba(125, 211, 252, 0.15); }
    50% { box-shadow: 0 0 36px rgba(125, 211, 252, 0.3); }
}
/* Initial state: hidden until in view */
.page-treks-expeditions .te-section-dark .te-section-dark-header .te-section-dark-icon,
.page-treks-expeditions .te-section-dark .te-section-dark-header h2,
.page-treks-expeditions .te-section-dark .te-section-dark-header p,
.page-treks-expeditions .te-section-dark .te-section-dark-cta,
.page-treks-expeditions .te-section-dark .te-section-dark-card {
    opacity: 0;
}
.page-treks-expeditions .te-section-dark .te-section-dark-header .te-section-dark-icon {
    transform: translateY(20px);
}
.page-treks-expeditions .te-section-dark .te-section-dark-card {
    transform: translateY(24px);
}
/* When section scrolls into view: run entrance animations */
.page-treks-expeditions .te-section-dark.te-section-in-view .te-section-dark-header .te-section-dark-icon {
    background: rgba(125, 211, 252, 0.2);
    color: #93c5fd;
    border: 1px solid rgba(125, 211, 252, 0.35);
    box-shadow: 0 0 24px rgba(125, 211, 252, 0.15);
    transition: background 0.3s ease, transform 0.3s ease;
    animation: te-section-dark-header-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards, te-section-dark-icon-pulse 3s ease-in-out infinite 1.2s;
}
.page-treks-expeditions .te-section-dark.te-section-in-view .te-section-dark-header h2 {
    color: rgba(248, 250, 252, 0.98);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    animation: te-section-dark-header-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
}
.page-treks-expeditions .te-section-dark.te-section-in-view .te-section-dark-header p {
    color: rgba(226, 232, 240, 0.9);
    font-size: clamp(1rem, 1.8vw, 1.08rem);
    animation: te-section-dark-header-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.24s forwards;
}
.page-treks-expeditions .te-section-dark.te-section-in-view .te-section-dark-cta {
    animation: te-section-dark-header-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}
.page-treks-expeditions .te-section-dark .te-section-dark-header .te-section-dark-icon:hover {
    background: rgba(125, 211, 252, 0.3);
    box-shadow: 0 0 32px rgba(125, 211, 252, 0.25);
    transform: scale(1.05);
}
/* Cards: fade-in when in view + hover glow */
.page-treks-expeditions .te-section-dark .te-section-dark-card {
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.page-treks-expeditions .te-section-dark.te-section-in-view .te-section-dark-card {
    animation: te-section-dark-card-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(0.08s + var(--stagger, 0) * 0.12s);
}
.page-treks-expeditions .te-section-dark .te-section-dark-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(125, 211, 252, 0.25), 0 0 40px rgba(125, 211, 252, 0.12);
}
.page-treks-expeditions .te-section-dark .te-section-dark-card {
    position: relative;
    overflow: hidden;
}
.page-treks-expeditions .te-section-dark .te-section-dark-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.06) 45%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.06) 55%, transparent 100%);
    background-size: 200% 100%;
    background-position: 200% 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease, background-position 0.6s ease;
    z-index: 1;
    border-radius: 14px;
}
.page-treks-expeditions .te-section-dark .te-section-dark-card:hover::after {
    opacity: 1;
    background-position: -100% 0;
}
.page-treks-expeditions .te-section-dark .te-section-dark-card .te-card-img-wrap img {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}
.page-treks-expeditions .te-section-dark .te-section-dark-card:hover .te-card-img-wrap img {
    transform: scale(1.08);
    filter: brightness(1.05);
}
@keyframes te-section-dark-card-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* CTA button: solid style for dark bg – high-contrast white text */
.page-treks-expeditions .te-section-dark .te-explore-btn-dark {
    background: #2563eb;
    color: #fff !important;
    border: 2px solid #3b82f6;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.page-treks-expeditions .te-section-dark .te-explore-btn-dark i {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.page-treks-expeditions .te-section-dark .te-explore-btn-dark:hover i {
    transform: translateX(5px);
}
.page-treks-expeditions .te-section-dark .te-explore-btn-dark:hover {
    background: #1d4ed8;
    color: #fff !important;
    border-color: #2563eb;
    box-shadow: 0 6px 28px rgba(37, 99, 235, 0.5);
    transform: translateY(-3px);
}

/* Treks, Expeditions & Peak Climbing: same theme button (primary/accent), dark gradient on hover */
.page-treks-expeditions .te-section-treks.te-section-dark .te-explore-btn-dark,
.page-treks-expeditions .te-section-expeditions.te-section-dark .te-explore-btn-dark,
.page-treks-expeditions .te-section-peaks.te-section-dark .te-explore-btn-dark {
    background: var(--primary-color);
    color: #fff !important;
    border: 2px solid var(--accent-color);
    box-shadow: 0 4px 20px rgba(44, 95, 124, 0.4);
}
.page-treks-expeditions .te-section-treks.te-section-dark .te-explore-btn-dark:hover,
.page-treks-expeditions .te-section-expeditions.te-section-dark .te-explore-btn-dark:hover,
.page-treks-expeditions .te-section-peaks.te-section-dark .te-explore-btn-dark:hover {
    background: linear-gradient(145deg, #0f1a2e 0%, #0c1628 50%, #070f1c 100%);
    color: #e2e8f0 !important;
    border-color: rgba(125, 211, 252, 0.4);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.4), 0 0 24px rgba(125, 211, 252, 0.12);
}

@media (prefers-reduced-motion: reduce) {
    .te-section-dark-bg::before,
    .te-section-dark-shine {
        animation: none;
    }
    .page-treks-expeditions .te-section-dark .te-section-dark-card {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .page-treks-expeditions .te-section-dark .te-section-dark-header .te-section-dark-icon,
    .page-treks-expeditions .te-section-dark .te-section-dark-header h2,
    .page-treks-expeditions .te-section-dark .te-section-dark-header p,
    .page-treks-expeditions .te-section-dark .te-section-dark-cta {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

.page-treks-expeditions .te-section-expeditions {
    background: #f8fafb;
}
.page-treks-expeditions .te-section-peaks {
    background: #fff;
}

/* Expeditions & Peak Climbing: same dark gradient + animation as Treks */
.page-treks-expeditions .te-section-expeditions.te-section-dark,
.page-treks-expeditions .te-section-peaks.te-section-dark {
    background: transparent;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(3.5rem, 8vw, 5rem) 0;
}
.page-treks-expeditions .te-section-expeditions.te-section-dark::before,
.page-treks-expeditions .te-section-peaks.te-section-dark::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, rgba(7, 15, 28, 0.5), transparent);
    pointer-events: none;
    z-index: 1;
}

/* Expeditions: text block (icon, h2, p, cards, CTA) – light text + entrance animations */
.page-treks-expeditions .te-section-dark-exp-text .te-section-dark-icon {
    background: rgba(125, 211, 252, 0.2);
    color: #93c5fd;
    border: 1px solid rgba(125, 211, 252, 0.35);
    box-shadow: 0 0 24px rgba(125, 211, 252, 0.15);
    transition: background 0.3s ease, transform 0.3s ease;
    opacity: 0;
    animation: te-section-dark-header-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards, te-section-dark-icon-pulse 3s ease-in-out infinite;
    animation-delay: 0s, 1.2s;
}
.page-treks-expeditions .te-section-dark-exp-text .te-section-dark-icon:hover {
    background: rgba(125, 211, 252, 0.3);
    box-shadow: 0 0 32px rgba(125, 211, 252, 0.25);
    transform: scale(1.05);
}
.page-treks-expeditions .te-section-dark-exp-text h2 {
    color: rgba(248, 250, 252, 0.98);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: te-section-dark-header-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.12s;
}
.page-treks-expeditions .te-section-dark-exp-text .te-expeditions-lead {
    color: rgba(226, 232, 240, 0.9);
    font-size: clamp(1rem, 1.8vw, 1.08rem);
    opacity: 0;
    animation: te-section-dark-header-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.24s;
}
.page-treks-expeditions .te-section-dark-exp-text .te-section-dark-cta {
    opacity: 0;
    animation: te-section-dark-header-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.55s;
}
/* Expeditions: link cards (dark theme + stagger) */
/* Baruntse & High-Altitude buttons: background #0f1a2e, text white */
.page-treks-expeditions .te-exp-card-dark {
    background: #0f1a2e;
    color: #fff !important;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(16px);
    animation: te-section-dark-card-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(0.35s + var(--stagger, 0) * 0.1s);
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, color 0.25s ease;
}
.page-treks-expeditions .te-exp-card-dark:hover {
    background: #152a42;
    color: #fff !important;
    border-color: var(--accent-color);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4), 0 0 20px rgba(44, 95, 124, 0.2);
    transform: translateY(-3px);
}
.page-treks-expeditions .te-exp-card-dark i {
    color: #fff;
}
.page-treks-expeditions .te-exp-card-dark:hover i {
    color: #fff;
}
/* Expeditions: featured image card (stagger) */
.page-treks-expeditions .te-expeditions-image .te-section-dark-card {
    opacity: 0;
    transform: translateY(24px);
    animation: te-section-dark-card-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(0.08s + var(--stagger, 2) * 0.12s);
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.page-treks-expeditions .te-expeditions-image .te-section-dark-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(125, 211, 252, 0.25), 0 0 40px rgba(125, 211, 252, 0.12);
}
.page-treks-expeditions .te-expeditions-image .te-section-dark-card .te-card-img-wrap img {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.page-treks-expeditions .te-expeditions-image .te-section-dark-card:hover .te-card-img-wrap img {
    transform: scale(1.08);
}

/* Peak Climbing uses same .te-section-dark-header, .te-section-dark-card, .te-section-dark-cta, .te-explore-btn-dark as Treks – already styled above */

@media (prefers-reduced-motion: reduce) {
    .page-treks-expeditions .te-section-dark-exp-text .te-section-dark-icon,
    .page-treks-expeditions .te-section-dark-exp-text h2,
    .page-treks-expeditions .te-section-dark-exp-text .te-expeditions-lead,
    .page-treks-expeditions .te-section-dark-exp-text .te-section-dark-cta,
    .page-treks-expeditions .te-exp-card-dark,
    .page-treks-expeditions .te-expeditions-image .te-section-dark-card {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* Expeditions split layout: text left, large image right */
.page-treks-expeditions .te-expeditions-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.page-treks-expeditions .te-expeditions-text {
    text-align: left;
}
.page-treks-expeditions .te-expeditions-text .te-section-icon {
    margin-bottom: 1rem;
}
.page-treks-expeditions .te-expeditions-text h2 {
    text-align: left;
    margin-bottom: 1rem;
}
.page-treks-expeditions .te-expeditions-lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}
.page-treks-expeditions .te-expedition-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.page-treks-expeditions .te-exp-card {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
/* Base light style only when NOT dark (e.g. other sections) */
.page-treks-expeditions .te-exp-card:not(.te-exp-card-dark) {
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    color: var(--text-dark);
    border: 1px solid rgba(0, 0, 0, 0.06);
}
.page-treks-expeditions .te-exp-card:not(.te-exp-card-dark):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.page-treks-expeditions .te-exp-card:not(.te-exp-card-dark) i {
    color: #2563eb;
    font-size: 1.1rem;
}
.page-treks-expeditions .te-expeditions-image .te-card-img-wrap {
    min-height: 340px;
    aspect-ratio: 4/3;
}
@media (max-width: 968px) {
    .page-treks-expeditions .te-expeditions-split {
        grid-template-columns: 1fr;
    }
    .page-treks-expeditions .te-expeditions-image {
        order: -1;
    }
}
/* Card overlays: dark gradient at bottom for text readability */
.page-treks-expeditions .te-card-overlay .te-card-overlay-content {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 50%);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
}
.page-treks-expeditions .te-card-overlay .te-card-overlay-content .te-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}
.page-treks-expeditions .te-card-overlay .te-card-overlay-content .te-card-desc,
.page-treks-expeditions .te-card-overlay .te-card-overlay-content .te-card-tagline {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.4;
    display: block;
}
.page-treks-expeditions .te-card-featured .te-card-caption {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 70%);
}
/* Fade-in stagger for TE cards and headers (same animation as homepage) */
.page-treks-expeditions .te-section-header.fade-in { transition-delay: 0.05s; }
.page-treks-expeditions .te-card.fade-in { transition-delay: calc(0.1s + var(--stagger, 0) * 0.1s); }
.page-treks-expeditions .te-cta-wrap.fade-in { transition-delay: 0.35s; }
.page-treks-expeditions .te-intro-lead.fade-in { transition-delay: 0.08s; }
/* Hero content animate on load */
.page-treks-expeditions .te-landing-hero .detail-hero-content.fade-in {
    transition-delay: 0.15s;
}

@media (max-width: 968px) {
    .te-image-grid-treks,
    .te-image-grid-peaks,
    .te-image-grid-expeditions {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .te-hero-cta {
        flex-direction: column;
        margin-top: 1.25rem;
    }
    .te-hero-btn {
        width: 100%;
        justify-content: center;
    }
    .te-intro {
        padding: 2rem 0;
    }
    .te-intro-gradient {
        padding: 3rem 0;
    }
    .te-intro-gradient .te-intro-lead {
        font-size: 1.05rem;
    }
    .te-intro-lead {
        font-size: 1rem;
    }
    .te-section {
        padding: 2.5rem 0;
    }
    .te-section-header h2 {
        font-size: 1.6rem;
    }
    .te-section-header p {
        font-size: 1rem;
    }
    .te-image-grid-treks,
    .te-image-grid-peaks,
    .te-image-grid-expeditions {
        grid-template-columns: 1fr;
    }
    .te-card-img-wrap {
        aspect-ratio: 16/10;
    }
    .te-explore-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* ============================
   FAQ PAGE – Accordion & Layout
   ============================ */
.faq-hero,
.policy-hero,
.sustainability-hero {
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    min-height: 35vh;
}

.faq-section {
    padding: 4rem 0 5rem;
    background: linear-gradient(180deg, var(--light-color) 0%, #fff 100%);
}

.faq-intro {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

.faq-intro a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid var(--accent-color);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.faq-intro a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(44, 95, 124, 0.08);
    border: 1px solid rgba(44, 95, 124, 0.08);
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 28px rgba(44, 95, 124, 0.12);
    border-color: rgba(44, 95, 124, 0.12);
}

.faq-item.open {
    border-color: var(--accent-color);
    box-shadow: 0 8px 28px rgba(74, 139, 168, 0.18);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark-color);
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.faq-question:hover {
    background: rgba(74, 139, 168, 0.06);
    color: var(--primary-color);
}

.faq-question:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.faq-question span {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.faq-question span i:first-child {
    color: var(--accent-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.faq-icon {
    flex-shrink: 0;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
    color: var(--primary-color);
}

/* Override earlier .faq-answer { max-height: 0 } so answers are visible when open */
.faq-section .faq-answer {
    max-height: none;
    overflow: visible;
    padding: 0;
    border-top: 1px solid rgba(44, 95, 124, 0.1);
}

.faq-answer[hidden] {
    display: none !important;
}

.faq-section .faq-answer:not([hidden]) {
    display: block !important;
    visibility: visible;
    opacity: 1;
    background: linear-gradient(180deg, #f8fbfd 0%, #fff 100%);
    padding: 1.25rem 1.5rem 1.5rem;
}

/* Light background: dark text for readability */
.faq-answer p,
.faq-answer .faq-answer-content {
    margin: 0;
    padding-left: 1.85rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #1a1d21;
    font-weight: 400;
}

.faq-answer a {
    color: #C5A059;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(197, 160, 89, 0.4);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.faq-answer a:hover {
    color: #b8924a;
}

.faq-answer a:hover .faq-answer p {
    padding-left: 0;
}

/* ============================
   FAQ / Terms / Privacy / Sustainability
   – Theme match: dark #0F1113 + gold #C5A059
   ============================ */
.policy-pages-hero.detail-hero::before {
    background: transparent;
}

/* FAQ page – dark section + card style matching why-choose */
.page-faq .faq-section {
    background: var(--page-bg);
    padding: 4rem 0 5rem;
}

/* Force FAQ answers to show when expanded (override earlier max-height: 0) */
.page-faq .faq-section .faq-answer {
    max-height: none !important;
    overflow: visible !important;
}

.page-faq .faq-intro {
    color: rgba(255, 255, 255, 0.85);
}

.page-faq .faq-intro a,
.page-faq .faq-intro p a {
    color: #D7A84B !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(215, 168, 75, 0.5);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.page-faq .faq-intro a:hover,
.page-faq .faq-intro p a:hover {
    color: #e0c078 !important;
    border-bottom-color: #e0c078;
}

.page-faq .faq-item {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 50%, rgba(197, 160, 89, 0.08) 100%);
    border: 1px solid rgba(197, 160, 89, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-faq .faq-item:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
    border-color: rgba(197, 160, 89, 0.35);
}

.page-faq .faq-item.open {
    border-color: #D7A84B;
    box-shadow: 0 8px 28px rgba(215, 168, 75, 0.25);
}

.page-faq .faq-question {
    color: rgba(255, 255, 255, 0.95);
}

.page-faq .faq-question:hover {
    background: rgba(197, 160, 89, 0.1);
    color: #fff;
}

.page-faq .faq-question:focus-visible {
    outline-color: var(--accent-color);
}

.page-faq .faq-question span i:first-child {
    color: #D7A84B;
}

.page-faq .faq-icon {
    color: rgba(255, 255, 255, 0.7);
}

.page-faq .faq-item.open .faq-icon {
    color: #D7A84B;
}

.page-faq .faq-section .faq-answer:not([hidden]) {
    display: block !important;
    visibility: visible !important;
    opacity: 1;
    overflow: visible !important;
    max-height: none !important;
    background: linear-gradient(180deg, rgba(26, 29, 33, 0.95) 0%, rgba(15, 17, 19, 0.98) 100%);
    border-top: 1px solid rgba(215, 168, 75, 0.3);
    padding: 1.25rem 1.5rem 1.5rem;
}

/* FAQ answer text – theme: dark background, warm gold-tinted text, gold links */
.page-faq .faq-answer,
.page-faq .faq-answer p {
    color: #e2dccf;
}

.page-faq .faq-answer p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #e2dccf !important;
}

.page-faq .faq-answer strong {
    color: #e8e2d4;
    font-weight: 600;
}

.page-faq .faq-answer a {
    color: #D7A84B;
    border-bottom: 1px solid rgba(215, 168, 75, 0.5);
}

.page-faq .faq-answer a:hover {
    color: #e0c078;
}

.page-faq .book-adventure-section {
    background: var(--page-bg);
    padding: 4rem 0;
}

.page-faq .book-adventure-section h2 {
    color: #fff;
    border-bottom-color: var(--accent-color);
}

.page-faq .book-adventure-section p,
.page-faq .book-adventure-section .book-adventure-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin: 1.5rem 0 2.5rem;
}

.page-faq .book-adventure-section .book-adventure-btn {
    background: var(--accent-color);
    color: var(--dark-color);
}

.page-faq .book-adventure-section .book-adventure-btn:hover {
    background: #e0c078;
    color: var(--dark-color);
    box-shadow: 0 15px 35px rgba(197, 160, 89, 0.35);
}

/* Policy pages (Terms & Privacy) – dark content area */
.page-terms .policy-page,
.page-privacy .policy-page {
    background: var(--page-bg);
    padding: 4rem 0 5rem;
}

.page-terms .policy-content,
.page-privacy .policy-content {
    max-width: 820px;
    margin: 0 auto;
}

.page-terms .policy-updated,
.page-privacy .policy-updated {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.page-terms .policy-section,
.page-privacy .policy-section {
    margin-bottom: 2.5rem;
}

.page-terms .policy-section h2,
.page-privacy .policy-section h2 {
    color: #fff;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.page-terms .policy-section h2 i,
.page-privacy .policy-section h2 i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.page-terms .policy-section p,
.page-privacy .policy-section p,
.page-terms .policy-section li,
.page-privacy .policy-section li {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.75;
}

.page-terms .policy-section a,
.page-privacy .policy-section a {
    color: var(--accent-color);
    text-decoration: none;
}

.page-terms .policy-section a:hover,
.page-privacy .policy-section a:hover {
    color: #e0c078;
    text-decoration: underline;
}

/* Policy page redesign – card layout (Terms & Privacy) */
.page-terms .policy-page.policy-page-redesign,
.page-privacy .policy-page.policy-page-redesign {
    padding: 3rem 0 5rem;
}

.page-terms .policy-page.policy-page-redesign .policy-content,
.page-privacy .policy-page.policy-page-redesign .policy-content {
    max-width: 780px;
    margin: 0 auto;
}

.page-terms .policy-page.policy-page-redesign .policy-header,
.page-privacy .policy-page.policy-page-redesign .policy-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.page-terms .policy-page.policy-page-redesign .policy-intro,
.page-privacy .policy-page.policy-page-redesign .policy-intro {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 2rem;
    padding: 0 0.25rem;
}

.page-terms .policy-updated-badge,
.page-privacy .policy-updated-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(197, 160, 89, 0.15);
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.page-terms .policy-updated-badge i,
.page-privacy .policy-updated-badge i {
    color: var(--accent-color);
}

.page-terms .policy-page.policy-page-redesign .policy-card,
.page-privacy .policy-page.policy-page-redesign .policy-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(197, 160, 89, 0.06) 100%);
    border: 1px solid rgba(197, 160, 89, 0.22);
    border-radius: var(--radius);
    padding: 0;
    margin-bottom: 1.25rem;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-terms .policy-page.policy-page-redesign .policy-card:hover,
.page-privacy .policy-page.policy-page-redesign .policy-card:hover {
    border-color: rgba(197, 160, 89, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.page-terms .policy-page.policy-page-redesign .policy-card-header,
.page-privacy .policy-page.policy-page-redesign .policy-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(197, 160, 89, 0.15);
}

.page-terms .policy-page.policy-page-redesign .policy-card-num,
.page-privacy .policy-page.policy-page-redesign .policy-card-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(197, 160, 89, 0.25);
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50%;
}

.page-terms .policy-page.policy-page-redesign .policy-card-header h2,
.page-privacy .policy-page.policy-page-redesign .policy-card-header h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-terms .policy-page.policy-page-redesign .policy-card-header h2 i,
.page-privacy .policy-page.policy-page-redesign .policy-card-header h2 i {
    color: var(--accent-color);
    font-size: 1rem;
}

.page-terms .policy-page.policy-page-redesign .policy-card-body,
.page-privacy .policy-page.policy-page-redesign .policy-card-body {
    padding: 1.5rem 1.5rem 1.5rem calc(1.5rem + 36px + 1rem);
}

@media (max-width: 600px) {
    .page-terms .policy-page.policy-page-redesign .policy-card-body,
    .page-privacy .policy-page.policy-page-redesign .policy-card-body {
        padding-left: 1.5rem;
    }
}

.page-terms .policy-page.policy-page-redesign .policy-card-body p,
.page-privacy .policy-page.policy-page-redesign .policy-card-body p {
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.75;
    font-size: 1rem;
}

.page-terms .policy-page.policy-page-redesign .policy-card-body p:last-child,
.page-privacy .policy-page.policy-page-redesign .policy-card-body p:last-child {
    margin-bottom: 0;
}

.page-terms .policy-page.policy-page-redesign .policy-list,
.page-privacy .policy-page.policy-page-redesign .policy-list {
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
}

.page-terms .policy-page.policy-page-redesign .policy-list li,
.page-privacy .policy-page.policy-page-redesign .policy-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.65rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
}

.page-terms .policy-page.policy-page-redesign .policy-list li::before,
.page-privacy .policy-page.policy-page-redesign .policy-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
}

.page-terms .policy-page.policy-page-redesign .policy-list li:last-child,
.page-privacy .policy-page.policy-page-redesign .policy-list li:last-child {
    margin-bottom: 0;
}

.page-terms .policy-page.policy-page-redesign .policy-list-nested,
.page-privacy .policy-page.policy-page-redesign .policy-list-nested {
    margin: 0.5rem 0 0.75rem 1.25rem;
    padding-left: 0.5rem;
}

.page-terms .policy-page.policy-page-redesign .policy-list-nested li,
.page-privacy .policy-page.policy-page-redesign .policy-list-nested li {
    margin-bottom: 0.35rem;
}

.page-terms .policy-page.policy-page-redesign .policy-list-nested li::before,
.page-privacy .policy-page.policy-page-redesign .policy-list-nested li::before {
    content: none;
}

.page-terms .policy-page.policy-page-redesign .policy-contact-details,
.page-privacy .policy-page.policy-page-redesign .policy-contact-details {
    margin: 1rem 0 0;
    padding: 1rem 0 0;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
}

.page-terms .policy-page.policy-page-redesign .policy-signoff,
.page-privacy .policy-page.policy-page-redesign .policy-signoff {
    margin-top: 1rem;
    font-style: italic;
    color: var(--accent-color);
}

.page-terms .policy-page.policy-page-redesign .policy-card-body a,
.page-privacy .policy-page.policy-page-redesign .policy-card-body a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.page-terms .policy-page.policy-page-redesign .policy-card-body a:hover,
.page-privacy .policy-page.policy-page-redesign .policy-card-body a:hover {
    color: #e0c078;
    text-decoration: underline;
}

.page-terms .policy-page.policy-page-redesign .policy-card-contact,
.page-privacy .policy-page.policy-page-redesign .policy-card-contact {
    border-color: rgba(197, 160, 89, 0.3);
}

/* Sustainability page – dark intro, cards, CTA */
.page-sustainability .sustainability-intro {
    background: var(--page-bg);
    padding: 4rem 0 3rem;
}

.page-sustainability .sustainability-intro .section-header h2 {
    color: #fff;
}

.page-sustainability .sustainability-intro .section-header h2::after {
    background: var(--accent-color);
}

.page-sustainability .sustainability-intro .section-header p {
    color: rgba(255, 255, 255, 0.85);
}

.page-sustainability .sustainability-cards {
    background: var(--page-bg);
    padding: 2rem 0 4rem;
}

.page-sustainability .pledge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.page-sustainability .pledge-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 50%, rgba(197, 160, 89, 0.08) 100%);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.page-sustainability .pledge-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    border-color: rgba(197, 160, 89, 0.4);
}

.page-sustainability .pledge-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.2);
    color: var(--accent-color);
    font-size: 1.35rem;
}

.page-sustainability .pledge-card h3 {
    color: rgba(255, 255, 255, 0.98);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.page-sustainability .pledge-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.65;
}

.page-sustainability .sustainability-cta {
    background: var(--page-bg);
    padding: 4rem 0;
    text-align: center;
}

.page-sustainability .sustainability-cta-inner h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.page-sustainability .sustainability-cta-inner p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 36em;
    margin: 0 auto 1.5rem;
    line-height: 1.7;
}

.page-sustainability .sustainability-cta .book-adventure-btn {
    background: var(--accent-color);
    color: var(--dark-color);
}

.page-sustainability .sustainability-cta .book-adventure-btn:hover {
    background: #e0c078;
    color: var(--dark-color);
    box-shadow: 0 15px 35px rgba(197, 160, 89, 0.35);
}

/* ============================================
   TREKS PAGE – Modern Heritage (with adventure-trips / index)
   Deep obsidian, warm bone, brushed bronze
   ============================================ */
.page-treks {
    --at-obsidian: #0a0d14;
    --at-content-rail: min(1040px, 100%);
    --at-warm-bone: #f5f5f0;
    --at-bone-muted: rgba(245, 245, 240, 0.78);
    --at-bone-soft: rgba(245, 245, 240, 0.58);
    --at-bronze: #b8860b;
    --at-bronze-line: rgba(184, 134, 11, 0.5);
    --at-bronze-subtle: rgba(184, 134, 11, 0.12);
    --font-serif: "Cormorant Garamond", Georgia, serif;
    --font-sans: "Montserrat", system-ui, sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --treks-accent: var(--at-bronze);
    --treks-accent-soft: var(--at-bronze-subtle);
    font-family: var(--font-sans);
    background: var(--at-obsidian);
    color: var(--at-warm-bone);
    letter-spacing: 0.06em;
}

.page-treks .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
    width: 100%;
    box-sizing: border-box;
}

/* Editorial hero — same language as adventure-trips .at-hero */
.page-treks .detail-hero.at-hero {
    margin-top: 0;
    min-height: min(78vh, 680px);
    height: auto;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--at-bronze-line);
    padding-top: clamp(5.25rem, 12vh, 7rem);
    padding-bottom: clamp(1.25rem, 3vw, 1.75rem);
    box-sizing: border-box;
    text-align: left;
}

.page-treks .detail-hero.at-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 10, 10, 0.25) 0%, rgba(10, 10, 10, 0.45) 38%, rgba(10, 10, 10, 0.82) 88%, rgba(10, 10, 10, 0.92) 100%),
        radial-gradient(ellipse 90% 70% at 50% 0%, rgba(184, 134, 11, 0.09) 0%, transparent 58%);
    z-index: 1;
    pointer-events: none;
}

.page-treks .detail-hero.at-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.012) 0px,
        transparent 1px,
        transparent 4px
    );
    opacity: 0.45;
    mix-blend-mode: overlay;
    z-index: 2;
    pointer-events: none;
}

.page-treks .detail-hero.at-hero .detail-hero-content.at-hero-editorial {
    position: relative;
    z-index: 3;
    width: min(920px, 92%);
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    text-align: left;
    letter-spacing: normal;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.page-treks .detail-hero.at-hero .detail-hero-content.at-hero-editorial p,
.page-treks .detail-hero.at-hero .detail-hero-content.at-hero-editorial h1 {
    text-align: left;
}

.page-treks .detail-hero.at-hero .detail-hero-content.at-hero-editorial p.at-hero-eyebrow {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    padding-top: 0;
}

.page-treks .at-hero-eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: clamp(0.65rem, 1.2vw, 0.78rem);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff7d6 !important;
    margin: 0 0 0.85rem 0;
    padding: 0.55rem 1.35rem;
    border: 1.5px solid rgba(212, 175, 55, 0.88);
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.28) 0%, rgba(201, 169, 98, 0.1) 100%);
    background-clip: padding-box;
    box-shadow:
        0 0 0 1px rgba(8, 8, 8, 0.35) inset,
        0 4px 14px rgba(0, 0, 0, 0.35),
        0 0 20px rgba(212, 175, 55, 0.12);
    align-self: flex-start;
    box-sizing: border-box;
    line-height: 1.35;
    -webkit-font-smoothing: antialiased;
}

.page-treks .at-hero-headline {
    font-family: var(--font-serif);
    margin: 0 0 1rem 0;
    font-size: clamp(2.15rem, 5.2vw, 3.65rem);
    line-height: 1.04;
    letter-spacing: 0.02em;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    gap: 0.06em;
    width: 100%;
    max-width: 100%;
    text-align: left;
}

.page-treks .at-hero-headline-line {
    display: block;
    color: #f7f6f2;
    text-shadow: 0 2px 32px rgba(0, 0, 0, 0.55);
    font-weight: 500;
}

.page-treks .at-hero-headline-line--accent {
    font-weight: 700;
    color: #efe6d4;
    background: linear-gradient(105deg, #fffefb 0%, #d8c9a4 45%, #b8860b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 3px 20px rgba(0, 0, 0, 0.35));
}

@supports not (background-clip: text) {
    .page-treks .at-hero-headline-line--accent {
        color: #e8dcc8;
        -webkit-text-fill-color: #e8dcc8;
        background: none;
    }
}

.page-treks .detail-hero.at-hero .at-dek {
    font-family: var(--font-sans);
    font-size: clamp(0.95rem, 1.35vw, 1.08rem);
    font-weight: 400;
    line-height: 1.75;
    max-width: min(52ch, 100%);
    width: 100%;
    margin: 0 0 1.125rem 0;
    letter-spacing: 0.035em;
    color: rgba(245, 245, 240, 0.92);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    text-align: left;
    align-self: stretch;
}

.page-treks .at-hero-actions {
    margin-top: 0;
    margin-bottom: 0;
    align-self: flex-start;
}

.page-treks .at-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.85rem;
    background: linear-gradient(145deg, rgba(184, 134, 11, 0.22) 0%, rgba(10, 10, 10, 0.5) 100%);
    border: 1px solid rgba(184, 134, 11, 0.65);
    color: #fffefb;
    font-family: var(--font-sans);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    box-shadow: 0 4px 28px rgba(0, 0, 0, 0.35);
    transition: box-shadow 0.4s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.page-treks .at-hero-cta:hover {
    background: linear-gradient(145deg, rgba(184, 134, 11, 0.35) 0%, rgba(10, 10, 10, 0.45) 100%);
    border-color: #c9a030;
    color: #fffefb;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(184, 134, 11, 0.25);
}

.page-treks .at-hero-cta:focus-visible {
    outline: 2px solid var(--at-bronze);
    outline-offset: 3px;
}

.page-treks .at-hero-cta i {
    font-size: 0.68em;
    opacity: 0.95;
    transition: transform 0.3s var(--ease);
}

.page-treks .at-hero-cta:hover i {
    transform: translateY(3px);
}

@keyframes treks-hero-fade-in {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes treks-hero-seq-in {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-treks .at-fade-in {
    animation: treks-hero-fade-in 0.85s var(--ease) forwards;
}

.page-treks .at-hero-eyebrow.at-fade-in { animation-delay: 0.05s; opacity: 0; }
.page-treks .at-hero-headline.at-fade-in { animation-delay: 0.14s; opacity: 0; }
.page-treks .at-dek.at-fade-in { animation-delay: 0.28s; opacity: 0; }
.page-treks .at-hero-actions.at-fade-in { animation-delay: 0.42s; opacity: 0; }
.page-treks #treks-cards {
    scroll-margin-top: 88px;
}

.page-treks #expeditions-grid {
    scroll-margin-top: 88px;
}

.page-treks #expeditions-list-head {
    scroll-margin-top: 88px;
}

/* Expeditions listing: same content rail as treks + mobile bento paging */
.page-treks .treks-cards-section .container.treks-container .bento-container {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.page-expeditions.page-treks .expeditions-bento.treks-cards-section {
    padding-left: 0;
    padding-right: 0;
}

@media (max-width: 768px) {
    .page-treks .bento-container.is-mobile-pages .bento-card--page-hide {
        display: none !important;
    }
}

.page-treks .meander-load-error {
    color: var(--at-bone-muted) !important;
}

.page-treks .at-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.page-treks .at-reveal.is-in-view {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .page-treks .at-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .page-treks .at-fade-in {
        animation: none;
        opacity: 1;
    }

    .page-treks .treks-hero-seq {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .page-treks .treks-svg-climbers {
        opacity: 0.35;
    }
}

@media (min-width: 621px) {
    .page-treks .detail-hero.at-hero .detail-hero-content.at-hero-editorial {
        width: min(1000px, 92%);
    }
}

@media (max-width: 980px) {
    .page-treks .detail-hero.at-hero {
        min-height: min(72vh, 520px);
    }
}

@media (max-width: 620px) {
    .page-treks .detail-hero.at-hero {
        align-items: flex-start;
        justify-content: center;
        height: auto;
        min-height: min(70vh, 560px);
        padding-top: calc(70px + 0.85rem + env(safe-area-inset-top, 0px));
        padding-bottom: clamp(0.85rem, 3vw, 1.25rem);
        text-align: center;
        background-attachment: scroll;
    }
    .page-treks .detail-hero.at-hero .detail-hero-content.at-hero-editorial {
        text-align: center;
        align-items: center;
    }
    .page-treks .detail-hero.at-hero .detail-hero-content.at-hero-editorial p,
    .page-treks .detail-hero.at-hero .detail-hero-content.at-hero-editorial h1 {
        text-align: center;
    }
    .page-treks .at-hero-eyebrow {
        align-self: center;
    }
    .page-treks .detail-hero.at-hero .at-dek {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    .page-treks .at-hero-headline {
        align-items: center;
        text-align: center;
        align-self: center;
    }
    .page-treks .at-hero-actions {
        align-self: center;
    }
}

/* Treks mock landing — SVG mountains, staggered reveal (bottom → top), no filters */
.page-treks .detail-hero.at-hero.treks-mock-hero {
    background-image: none;
    background-color: #0a0d14;
    background-attachment: scroll;
    isolation: isolate;
    border-bottom-color: rgba(197, 160, 89, 0.22);
}

.page-treks .treks-hero-svg-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.page-treks .treks-hero-svg {
    width: 100%;
    height: 100%;
    display: block;
    min-height: 100%;
}

.page-treks .treks-mock-hero.detail-hero.at-hero::before {
    background:
        linear-gradient(180deg, rgba(7, 9, 15, 0.72) 0%, rgba(7, 9, 15, 0.38) 38%, rgba(7, 9, 15, 0.52) 72%, rgba(7, 9, 15, 0.82) 100%),
        radial-gradient(ellipse 90% 55% at 50% 0%, rgba(197, 160, 89, 0.08) 0%, transparent 55%);
    z-index: 1;
}

.page-treks .treks-mock-hero.detail-hero.at-hero::after {
    z-index: 2;
}

.page-treks .treks-mock-hero.detail-hero.at-hero .detail-hero-content.at-hero-editorial {
    z-index: 3;
}

.page-treks .treks-hero-seq {
    opacity: 0;
    animation: treks-hero-seq-in 0.55s var(--ease) forwards;
    animation-delay: calc(var(--treks-seq, 0) * 0.085s);
}

.page-treks .treks-hero-pill {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.5rem;
    align-self: flex-start;
    margin: 0 0 1.1rem;
    padding: 0.45rem 1.1rem 0.45rem 0.85rem;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(245, 243, 236, 0.92);
    border: 1px solid rgba(197, 160, 89, 0.42);
    border-radius: 999px;
    background: rgba(10, 13, 20, 0.45);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35) inset;
    line-height: 1.45;
}

.page-treks .treks-hero-pill__dot {
    flex: 0 0 1em;
    width: 1em;
    text-align: center;
    color: #c5a059;
    transform: translateY(0.04em);
}

.page-treks .treks-hero-pill__text {
    letter-spacing: 0.22em;
}

.page-treks .treks-hero-title {
    font-family: "Playfair Display", var(--font-serif);
    margin: 0 0 1.15rem;
    font-weight: 600;
    font-size: clamp(2.35rem, 5.8vw, 3.85rem);
    line-height: 1.05;
    letter-spacing: 0.02em;
    color: #f6f4ef;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.45);
}

.page-treks .treks-hero-title__line1 {
    display: block;
}

.page-treks .treks-hero-title__line2 {
    display: block;
    margin-top: 0.06em;
    font-weight: 500;
}

.page-treks .treks-hero-title__line2 em {
    font-style: italic;
    font-weight: 500;
    color: #e8dcc4;
}

.page-treks .treks-hero-dek {
    font-family: var(--font-sans);
    font-size: clamp(0.95rem, 1.25vw, 1.05rem);
    line-height: 1.75;
    max-width: min(54ch, 100%);
    margin: 0 0 1.65rem;
    color: rgba(232, 230, 222, 0.88);
    letter-spacing: 0.04em;
}

.page-treks .treks-hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin-bottom: clamp(2rem, 5vw, 2.75rem);
}

.page-treks .treks-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.65rem 1.35rem;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}

.page-treks .treks-btn--primary {
    background: #c5a059;
    color: #0a0d14;
    border: 1px solid transparent;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.page-treks .treks-btn--primary:hover {
    background: #d4b06a;
    transform: translateY(-2px);
}

.page-treks .treks-btn--ghost {
    background: transparent;
    color: rgba(245, 243, 236, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.page-treks .treks-btn--ghost:hover {
    border-color: rgba(197, 160, 89, 0.55);
    color: #fff;
}

/* Tablet + phone: keep both hero CTAs on one row */
@media (max-width: 1024px) {
    .page-treks .treks-hero-cta-row {
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 0.5rem 0.65rem;
        width: 100%;
        max-width: 100%;
    }

    .page-treks .treks-hero-cta-row .treks-btn {
        flex: 1 1 0;
        min-width: 0;
        min-height: 46px;
        padding: 0.5rem 0.45rem;
        font-size: clamp(0.56rem, 1.85vw, 0.72rem);
        letter-spacing: clamp(0.06em, 0.35vw, 0.14em);
        line-height: 1.25;
        text-align: center;
        white-space: normal;
    }
}

.page-treks .treks-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem 1.5rem;
    margin: 0;
    padding: clamp(1.25rem, 3vw, 1.75rem) 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 100%;
    align-items: start;
    justify-items: stretch;
}

.page-treks .treks-hero-stats__item {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    text-align: left;
}

.page-treks .treks-hero-stats__value {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #faf8f4;
    margin: 0 0 0.35rem;
    min-height: 1.35em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.page-treks .treks-hero-stats__icon {
    color: #c5a059;
    font-size: 0.82em;
    opacity: 0.95;
    width: 1.1em;
    text-align: center;
    flex-shrink: 0;
}

.page-treks .treks-hero-stats__icon-spacer {
    display: inline-block;
    width: 1.1em;
    flex-shrink: 0;
}

.page-treks .treks-hero-stats__star {
    color: #c5a059;
    font-size: 0.95em;
}

.page-treks .treks-hero-stats__label {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: none;
    color: rgba(220, 216, 206, 0.72);
}

.page-treks .treks-trust-strip--in-hero {
    margin-top: clamp(1.25rem, 3vw, 1.75rem);
    padding-top: clamp(1rem, 2.5vw, 1.35rem);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    border-bottom: none;
}

.page-treks .treks-trust-strip__inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem 1.5rem;
    align-items: start;
    text-align: left;
    font-family: var(--font-sans);
    font-size: clamp(0.72rem, 1.15vw, 0.82rem);
    font-weight: 600;
    letter-spacing: 0.03em;
}

.page-treks .treks-trust-strip__item {
    text-transform: none;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.12rem 0.35rem;
    text-align: left;
}

.page-treks .treks-trust-strip__accent {
    color: #c5a059;
    margin-right: 0.25rem;
    font-weight: 700;
}

.page-treks .treks-trust-strip__muted {
    color: rgba(235, 231, 220, 0.88);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.page-treks .treks-list-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(197, 160, 89, 0.12);
}

.page-treks .treks-list-head__title {
    font-family: "Playfair Display", var(--font-serif);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 600;
    margin: 0;
    color: #f3f0e6;
    letter-spacing: 0.02em;
}

.page-treks .treks-list-head__meta {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(200, 196, 186, 0.65);
}

.page-treks .treks-list-head__meta span {
    color: #c5a059;
    font-weight: 700;
}

.page-treks #treks-list-head {
    scroll-margin-top: 88px;
}

.page-treks .treks-mobile-pager {
    display: none;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.65rem;
    margin: 1.35rem auto 0.25rem;
    padding: 0 0.5rem;
    max-width: 100%;
    box-sizing: border-box;
}

.page-treks .treks-mobile-pager__btn {
    min-width: 2.65rem;
    height: 2.65rem;
    padding: 0 0.45rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(10, 13, 20, 0.45);
    color: rgba(245, 242, 232, 0.95);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s var(--ease);
}

.page-treks .treks-mobile-pager__btn.is-active {
    background: #c5a059;
    border-color: transparent;
    color: #0a0d14;
}

.page-treks .treks-mobile-pager__btn:hover:not(.is-active) {
    border-color: rgba(197, 160, 89, 0.55);
    color: #c5a059;
}

.page-treks .treks-mobile-pager__btn:focus-visible {
    outline: 2px solid #c5a059;
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .page-treks .treks-mobile-pager:not([hidden]) {
        display: flex;
    }

    .page-treks .treks-cards-grid.is-mobile-pages .treks-card--mobile-hide {
        display: none !important;
    }
}

@media (max-width: 900px) {
    .page-treks .treks-hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-treks .treks-trust-strip__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .page-treks .detail-hero.at-hero.treks-mock-hero {
        text-align: left;
        align-items: flex-start;
    }

    .page-treks .detail-hero.at-hero.treks-mock-hero .detail-hero-content.at-hero-editorial {
        text-align: left;
        align-items: stretch;
    }

    .page-treks .detail-hero.at-hero.treks-mock-hero .detail-hero-content.at-hero-editorial .treks-hero-title,
    .page-treks .detail-hero.at-hero.treks-mock-hero .detail-hero-content.at-hero-editorial .treks-hero-dek {
        text-align: left;
    }

    .page-treks .detail-hero.at-hero.treks-mock-hero .treks-hero-pill {
        align-self: flex-start;
    }

    .page-treks .detail-hero.at-hero.treks-mock-hero .treks-hero-cta-row {
        justify-content: flex-start;
    }

    .page-treks .treks-trust-strip__inner {
        text-align: left;
    }
}

/* Treks cards section: obsidian + bronze wash */
.page-treks .treks-cards-section {
    padding: 3rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.page-treks .treks-section-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(197, 160, 89, 0.07) 0%, #0a0d14 18%, #0d1018 50%, #0a0d14 82%, #07090f 100%);
    z-index: 0;
}

.page-treks .treks-section-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

.page-treks .treks-glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.14) 0%, transparent 70%);
    top: -150px;
    right: -100px;
}

.page-treks .treks-glow-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    bottom: -100px;
    left: -80px;
}

.page-treks .treks-cards-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--treks-accent-soft) 0%, transparent 65%);
    bottom: 10%;
    right: 5%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.page-treks .treks-container {
    position: relative;
    z-index: 1;
}

/* Match hero editorial column so "All Treks" lines up with hero copy */
.page-treks .treks-cards-section .container.treks-container {
    max-width: none;
    width: min(920px, 92%);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

@media (min-width: 621px) {
    .page-treks .treks-cards-section .container.treks-container {
        width: min(1000px, 92%);
    }
}

.page-treks .treks-cards-section .container.treks-container .treks-cards-grid {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* Section header on dark background */
.page-treks .treks-section-header {
    margin-bottom: 3.5rem;
    position: relative;
}

.page-treks .treks-section-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--treks-accent);
    margin-bottom: 0.75rem;
}

.page-treks .treks-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(184, 134, 11, 0.18), rgba(10, 10, 10, 0.5));
    color: rgba(245, 245, 240, 0.95);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(184, 134, 11, 0.35);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.page-treks .treks-section-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    color: var(--at-warm-bone);
    margin-bottom: 0.5rem;
}

.page-treks .treks-section-header h2::after {
    display: none;
}

.page-treks .treks-section-line {
    width: 48px;
    height: 2px;
    margin: 0 auto 1rem;
    background: linear-gradient(90deg, var(--treks-accent), transparent);
    border-radius: 2px;
}

.page-treks .treks-section-header p {
    color: var(--at-bone-muted);
    font-size: 1.1rem;
    max-width: 36em;
    margin: 0 auto;
}

/* Treks grid: 3 columns on all breakpoints (tablet + mobile) */
.page-treks .treks-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.35rem, 1.5vw, 1.35rem);
    max-width: var(--at-content-rail);
    margin-left: auto;
    margin-right: auto;
    counter-reset: trek-num;
}

.page-treks .treks-card .card-content::before {
    content: counter(trek-num, decimal-leading-zero);
    position: absolute;
    bottom: 0.75rem;
    right: 1rem;
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 600;
    color: rgba(245, 245, 240, 0.04);
    line-height: 1;
    pointer-events: none;
}

.page-treks .treks-card-featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 320px;
}

.page-treks .treks-card-featured .card-image {
    height: 100%;
    min-height: 320px;
    position: relative;
}

.page-treks .treks-card-featured .card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-treks .treks-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.82) 0%, transparent 45%, rgba(10, 10, 10, 0.55) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem 1.75rem;
    z-index: 1;
}

.page-treks .treks-card-badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #0a0a0a;
    background: linear-gradient(135deg, #d4af37 0%, var(--at-bronze) 100%);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 12px rgba(184, 134, 11, 0.25);
}

.page-treks .treks-card-image-overlay h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: #e8d4a8;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7), 0 0 18px rgba(184, 134, 11, 0.2);
    margin: 0 0 0.35rem 0;
}

.page-treks .treks-card-meta {
    font-size: 0.9rem;
    color: var(--at-bone-muted);
    margin: 0;
}

.page-treks .treks-card-meta i {
    opacity: 0.9;
    margin-right: 0.2rem;
}

.page-treks .treks-card-featured .card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.75rem 2rem;
}

.page-treks .treks-card-featured .card-content .card-details {
    display: none;
}

.page-treks .treks-card-featured .card-content::before {
    display: none;
}

/* Individual card: glass + bronze hairline */
.page-treks .treks-card {
    counter-increment: trek-num;
    background: var(--at-obsidian);
    border: 1px solid rgba(184, 134, 11, 0.28);
    border-radius: 18px;
    overflow: hidden;
    backdrop-filter: blur(14px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.3s ease;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    position: relative;
}

.page-treks .treks-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 36px 36px 0;
    border-color: transparent var(--treks-accent-soft) transparent transparent;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page-treks .treks-card:hover {
    transform: translateY(-8px);
    border-color: rgba(184, 134, 11, 0.55);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(184, 134, 11, 0.12), 0 0 48px rgba(184, 134, 11, 0.08);
}

.page-treks .treks-card:hover::before {
    opacity: 1;
}

.page-treks .treks-card-featured:hover {
    transform: translateY(-4px);
}

.page-treks .treks-card .card-image {
    height: 200px;
    border-radius: 0;
    overflow: hidden;
    position: relative;
}

.page-treks .treks-card-featured .card-image {
    border-radius: 16px 0 0 16px;
}

.page-treks .treks-card .card-image img {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.page-treks .treks-card:hover .card-image img {
    transform: scale(1.06);
}

.page-treks .treks-card .card-content {
    position: relative;
    padding: 1.35rem 1.4rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 100%);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.page-treks .treks-card .card-content h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--at-warm-bone);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.page-treks .treks-card .card-content p {
    color: var(--at-bone-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    flex: 1;
}

/* Pill-style details for non-featured cards */
.page-treks .treks-card .card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.page-treks .treks-card .card-details span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--at-bone-muted);
    background: rgba(10, 10, 10, 0.45);
    border: 1px solid rgba(184, 134, 11, 0.28);
    padding: 0.4rem 0.75rem;
    border-radius: 100px;
}

.page-treks .treks-card .card-details i {
    color: rgba(212, 175, 55, 0.9);
    font-size: 0.75rem;
}

.page-treks .treks-card .card-buttons {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.page-treks .treks-card .btn-view-details {
    color: rgba(245, 245, 240, 0.95);
    border: 1px solid rgba(184, 134, 11, 0.55);
    background: rgba(184, 134, 11, 0.1);
    border-radius: 10px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.55rem 1.1rem;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.page-treks .treks-card .btn-view-details:hover {
    background: rgba(184, 134, 11, 0.22);
    color: #fffefb;
    border-color: var(--at-bronze);
}

.page-treks .treks-card .btn-book-now {
    background: transparent;
    color: var(--light-color);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.55rem 1.1rem;
    transition: transform 0.2s ease, border-color 0.25s ease, color 0.25s ease;
}

.page-treks .treks-card .btn-book-now:hover {
    border-color: var(--icon-muted-gold);
    color: var(--icon-muted-gold);
    transform: translateY(-2px);
}

/* Scroll-in animation for cards (stagger) */
.page-treks .treks-card.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.page-treks .treks-card.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.page-treks .treks-card:nth-child(1).fade-in.visible { transition-delay: 0.05s; }
.page-treks .treks-card:nth-child(2).fade-in.visible { transition-delay: 0.1s; }
.page-treks .treks-card:nth-child(3).fade-in.visible { transition-delay: 0.15s; }
.page-treks .treks-card:nth-child(4).fade-in.visible { transition-delay: 0.2s; }
.page-treks .treks-card:nth-child(5).fade-in.visible { transition-delay: 0.25s; }
.page-treks .treks-card:nth-child(6).fade-in.visible { transition-delay: 0.3s; }
.page-treks .treks-card:nth-child(7).fade-in.visible { transition-delay: 0.35s; }
.page-treks .treks-card:nth-child(8).fade-in.visible { transition-delay: 0.4s; }
.page-treks .treks-card:nth-child(9).fade-in.visible { transition-delay: 0.45s; }
.page-treks .treks-card:nth-child(10).fade-in.visible { transition-delay: 0.5s; }

.page-treks .treks-section-header.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.page-treks .treks-section-header.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer on Treks page: subtle dark tint */
.page-treks .footer {
    background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
    border-top: 1px solid rgba(184, 134, 11, 0.22);
}

.page-treks .footer .footer-brand,
.page-treks .footer h4 {
    color: var(--at-warm-bone);
}

.page-treks .footer p,
.page-treks .footer li a {
    color: var(--at-bone-muted);
}

.page-treks .footer .footer-bottom p {
    color: var(--at-bone-soft);
}

.page-treks .footer .social-links a {
    color: rgba(245, 245, 240, 0.82);
}

.page-treks .footer .social-links a:hover {
    color: #d4af37;
}

/* Treks grid: compact cards so 3 columns stay usable on tablet / phone */
@media (max-width: 900px) {
    .page-treks .treks-cards-grid {
        gap: clamp(0.3rem, 1.2vw, 0.65rem);
    }
    .page-treks .treks-card .card-image {
        height: clamp(100px, 22vw, 160px);
    }
    .page-treks .treks-card .card-content {
        padding: 0.65rem 0.5rem;
    }
    .page-treks .treks-card .card-content h3 {
        font-size: clamp(0.72rem, 2.4vw, 0.95rem);
    }
    .page-treks .treks-card .card-content p {
        font-size: clamp(0.62rem, 1.8vw, 0.75rem);
        margin-bottom: 0.5rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .page-treks .treks-card .card-details span {
        font-size: clamp(0.55rem, 1.6vw, 0.68rem);
        padding: 0.2rem 0.4rem;
    }
    .page-treks .treks-card .card-buttons {
        gap: 0.35rem;
        margin-top: 0.5rem;
    }
    .page-treks .treks-card .btn-view-details,
    .page-treks .treks-card .btn-book-now {
        font-size: clamp(0.55rem, 1.5vw, 0.65rem);
        padding: 0.35rem 0.45rem;
        letter-spacing: 0.04em;
    }
    .page-treks .treks-card-featured {
        grid-column: span 2;
        grid-template-columns: 1fr 1fr;
        min-height: 0;
    }
    .page-treks .treks-card-featured .card-image {
        min-height: 0;
        height: clamp(120px, 28vw, 200px);
    }
    .page-treks .treks-card-featured .card-image img {
        position: absolute;
        inset: 0;
    }
    .page-treks .treks-card-image-overlay h3 {
        font-size: clamp(0.85rem, 2.8vw, 1.25rem);
    }
    .page-treks .treks-card-image-overlay {
        padding: 0.65rem 0.5rem;
    }
    .page-treks .treks-card-badge {
        font-size: clamp(0.5rem, 1.4vw, 0.62rem);
        padding: 0.2rem 0.45rem;
    }
    .page-treks .treks-card-meta {
        font-size: clamp(0.58rem, 1.6vw, 0.72rem);
    }
}

/* Treks grid: 2 columns on phone (2×2 style) */
@media (max-width: 640px) {
    .page-treks .treks-list-head {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        width: 100%;
        text-align: left;
    }

    .page-treks .treks-list-head__meta {
        align-self: flex-start;
    }

    .page-treks .treks-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(0.5rem, 2.5vw, 0.95rem);
    }
    .page-treks .treks-card-featured {
        grid-column: span 2;
    }
    .page-treks .treks-card .card-image {
        height: clamp(118px, 30vw, 170px);
    }
    .page-treks .treks-card .card-content h3 {
        font-size: clamp(0.78rem, 2.8vw, 1rem);
    }
    .page-treks .treks-card .card-content p {
        font-size: clamp(0.68rem, 2.2vw, 0.82rem);
    }
    .page-treks .treks-card .btn-view-details,
    .page-treks .treks-card .btn-book-now {
        font-size: clamp(0.58rem, 1.8vw, 0.72rem);
        padding: 0.4rem 0.55rem;
    }
}

@media (max-width: 480px) {
    .page-treks .treks-cards-section {
        padding: 2.25rem 0 3.5rem;
    }
    .page-treks .treks-card .card-content::before {
        font-size: clamp(1.5rem, 8vw, 2.25rem);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .page-treks .detail-hero.at-hero {
        background-attachment: scroll;
    }
}
