/* assets/css/style.css — Express Safaris Premium Design System with Magical Animations */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    /* Reference Palette Colors: #3B6A3A (Forest Green), #FFD700 (Gold), #A8D5BA (Mint), #E6E6A2 (Cream), #B5C99A (Sage) */
    --primary: #3B6A3A;
    --primary-dark: #274A26;
    --primary-light: #A8D5BA;
    --primary-soft: #F3F8F5;

    /* Gold & Accent Palette */
    --gold: #FFD700;
    --gold-light: #E6E6A2;
    --gold-hover: #E6C200;
    --gold-soft: #FFFDE6;
    --sage: #B5C99A;

    /* Dark Palette — Forest Dark */
    --dark: #19261A;
    --dark-surface: #243725;
    --dark-card: #2F4731;

    /* Neutral & Backgrounds */
    --light-bg: #F4F7F4;
    --card-bg: #FFFFFF;
    --text-primary: #1C291D;
    --text-secondary: #435445;
    --text-muted: #6B7F6D;
    --border-color: #CBE0D1;

    /* Radius & Shadows */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-subtle: 0 4px 20px rgba(59, 106, 58, 0.08);
    --shadow-hover: 0 16px 40px rgba(59, 106, 58, 0.20);
    --shadow-gold: 0 10px 30px rgba(255, 215, 0, 0.25);
    --transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

/* =============================================
   RESET & BASE
   ============================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-primary);
    background-color: var(--light-bg);
    line-height: 1.65;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =============================================
   DYNAMIC ANIMATIONS & MICRO-INTERACTIONS
   ============================================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(44, 82, 130, 0.5);
    }

    70% {
        box-shadow: 0 0 0 18px rgba(44, 82, 130, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(44, 82, 130, 0);
    }
}

@keyframes floatAnim {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(1.5deg);
    }
}



@keyframes buttonShimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}



.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

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

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video-bg .hero-media-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-video-bg .hero-media-slide.active {
    opacity: 1;
}


/* Scroll Reveal (JS adds .revealed) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}



/* Ripple Effect Class for Buttons */
.btn {
    position: relative;
    overflow: hidden;
}

.btn .ripple-span {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: rippleEffect 0.6s linear;
    background-color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

.section-pad {
    padding: 80px 0;
}



.text-center {
    text-align: center;
}

.mt-auto {
    margin-top: auto;
}

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
    background: var(--dark);
    color: #CBD5E1;
    font-size: 0.82rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(44, 82, 130, 0.25);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-info {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
}

.top-info span {
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.top-info span:hover {
    color: var(--gold);
    transform: translateY(-1px);
}

.top-info a {
    color: #CBD5E1;
}

.top-info a:hover {
    color: var(--gold);
}



/* =============================================
   NAVBAR & DROPDOWN FIXES
   ============================================= */
.navbar {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    transition: var(--transition);
}

.navbar.scrolled .nav-container {
    padding: 10px 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo img {
    height: 75px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: var(--transition);
}

.brand-logo:hover img {
    transform: scale(1.05) rotate(-2deg);
}

.navbar.scrolled .brand-logo img {
    height: 60px;
}

.brand-text h2 {
    font-size: 1.4rem;
    color: var(--primary);
    line-height: 1.1;
}

.brand-text p {
    font-size: 0.7rem;
    color: var(--gold-hover);
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 22px;
}

/* Dropdown Wrapper & Trigger Area */
.nav-item {
    position: relative;
    padding: 10px 0;
    /* Ensures a continuous hover hit area */
}

/* Hover States for Menu Activation */
.nav-item:hover>.mega-menu,
.nav-item:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-link {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.93rem;
    position: relative;
    padding: 6px 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}

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

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

/* Invisible Hover Safety Bridge */
.mega-menu::before,
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: 12px;
    background: transparent;
}

/* Mega Menu Fixes */
.mega-menu {
    position: absolute;
    top: 100%;
    /* Placed flush against nav-item */
    left: -40px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--gold);
    padding: 28px;
    min-width: 680px;
    z-index: 999;

    /* Smooth transition replacing display toggle */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mega-col h4 {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--gold-hover);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.mega-col a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

.mega-col a:hover {
    background: var(--primary-soft);
    color: var(--primary);
    padding-left: 16px;
}

.mega-col a i {
    color: var(--primary);
    width: 16px;
    transition: transform 0.3s ease;
}

.mega-col a:hover i {
    transform: scale(1.2);
    color: var(--gold-hover);
}

/* Multi-Tier Nested Dropdown Styles (Section -> Country -> Category -> Location) */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.14);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--primary);
    min-width: 230px;
    z-index: 1000;
    padding: 6px 0;
    margin: 0;
    list-style: none;

    /* Transition states */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.dropdown-submenu {
    position: relative;
    list-style: none;
}

.dropdown-item {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 11px 18px;
    font-size: 0.88rem;
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.dropdown-submenu:last-child > .dropdown-item {
    border-bottom: none;
}

.dropdown-item .item-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-item .country-flag {
    font-size: 1.1rem;
    line-height: 1;
}

.dropdown-item .submenu-arrow {
    font-size: 0.68rem;
    color: var(--text-muted);
    transition: transform 0.2s ease;
}

.dropdown-submenu:hover > .dropdown-item {
    background: var(--primary-soft);
    color: var(--primary);
    padding-left: 22px;
}

.dropdown-submenu:hover > .dropdown-item .submenu-arrow {
    transform: translateX(4px);
    color: var(--primary);
}

/* Tier 2 & Tier 3 Submenu Flyouts */
.dropdown-menu.tier-2 {
    top: 0;
    left: 100%;
    margin-left: 2px;
    border-top: 3px solid var(--gold);
    min-width: 220px;
}

.dropdown-menu.tier-3 {
    top: 0;
    left: 100%;
    margin-left: 2px;
    border-top: 3px solid var(--primary-dark);
    min-width: 250px;
}

.dropdown-submenu:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-item.leaf-item {
    padding: 10px 16px !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px;
    border-left: 3px solid transparent;
}

.dropdown-item.leaf-item:hover {
    border-left-color: var(--gold);
    background: var(--light-bg);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
    padding: 8px;
    transition: var(--transition);
}

.mobile-toggle:hover {
    transform: scale(1.15) rotate(90deg);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    z-index: 9000;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    animation: whatsappPulse 2.5s infinite;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(12deg);
    background: #128C7E;
}

/* =============================================
   BUTTONS WITH SHINE & HOVER EFFECTS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.3px;
    background-size: 200% auto;
}

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

.btn:hover i {
    transform: translateX(3px) scale(1.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(27, 54, 93, 0.28);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(27, 54, 93, 0.38);
    color: white;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    color: white;
    box-shadow: 0 4px 15px rgba(44, 82, 130, 0.35);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(44, 82, 130, 0.45);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* =============================================
   HERO SECTION — VIDEO HERO WITH PARALLAX
   ============================================= */
.hero-section {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video-bg .hero-media-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease, transform 6s ease;
    transform: scale(1.05);
}

.hero-video-bg .hero-media-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.45) 0%,
            rgba(0, 0, 0, 0.15) 60%,
            rgba(0, 0, 0, 0.55) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    padding: 80px 0;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(44, 82, 130, 0.18);
    border: 1px solid rgba(44, 82, 130, 0.5);
    padding: 10px 24px;
    border-radius: 20px;
    color: var(--primary-light);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 22px;
    transition: var(--transition);
}

.hero-eyebrow:hover {
    transform: scale(1.04);
    background: rgba(44, 82, 130, 0.3);
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.6rem;
    font-weight: 900;
    line-height: 1.1;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.hero-title em {
    font-style: italic;
    font-family: 'Playfair Display', serif;
    color: var(--primary-light);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 38px;
    max-width: 580px;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-trust-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    transition: var(--transition);
}

.hero-badge:hover {
    color: white;
    transform: translateY(-2px);
}

.hero-badge i {
    color: var(--primary-light);
}

/* Slide Indicators */
.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.hero-dot.active {
    background: var(--primary-light);
    width: 26px;
    border-radius: 4px;
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-header .eyebrow {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.78rem;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.4rem;
    color: var(--primary-dark);
    margin-bottom: 14px;
}

.section-header h2 em {
    font-style: italic;
    font-family: 'Playfair Display', serif;
    color: var(--primary);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.7;
}

.section-header span {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.78rem;
    display: block;
    margin-bottom: 10px;
}

/* =============================================
   SERVICE HIGHLIGHTS BAR
   ============================================= */
.halal-guarantee-bar {
    background: var(--card-bg);
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-hover);
    padding: 24px 36px;
    border: 1px solid rgba(44, 82, 130, 0.3);
    display: flex;
    justify-content: space-around;
    gap: 30px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.halal-guarantee-bar:hover {
    box-shadow: 0 20px 50px rgba(27, 54, 93, 0.15);
    border-color: rgba(44, 82, 130, 0.6);
}

.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.guarantee-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: var(--transition);
}

.guarantee-item:hover {
    transform: translateY(-3px);
}

.guarantee-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    border: 1px solid rgba(27, 54, 93, 0.12);
    transition: var(--transition);
}

.guarantee-item:hover .guarantee-icon {
    background: var(--primary);
    color: white;
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 6px 15px rgba(27, 54, 93, 0.20);
}

.guarantee-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--primary-dark);
}

.guarantee-item p {
    font-size: 0.84rem;
    color: var(--text-secondary);
}

/* =============================================
   THREE PILLARS SECTION (3D TILT HOVER)
   ============================================= */
.pillars-section {
    padding: 80px 0 60px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.pillar-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
}

.pillar-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.28);
}

.pillar-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pillar-card:hover img {
    transform: scale(1.12);
}

.pillar-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.90) 0%, rgba(0, 0, 0, 0.25) 60%, transparent 100%);
    transition: var(--transition);
}

.pillar-card:hover .pillar-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.35) 60%, transparent 100%);
}

.pillar-content {
    position: relative;
    z-index: 2;
    padding: 32px 28px;
    color: white;
}

.pillar-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 14px;
    transition: var(--transition);
}

.pillar-card:hover .pillar-icon {
    transform: scale(1.15) rotate(10deg);
    background: var(--gold-light);
    box-shadow: 0 6px 20px rgba(44, 82, 130, 0.5);
}

.pillar-content h3 {
    font-size: 1.55rem;
    margin-bottom: 8px;
    color: white;
}

.pillar-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
}

.pillar-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--gold-light);
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
}

.pillar-card:hover .pillar-link {
    gap: 14px;
    color: white;
}

/* =============================================
   TOUR CARDS WITH HOVER ELEVATION
   ============================================= */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 28px;
    margin-bottom: 50px;
}

.tour-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: relative;
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(44, 82, 130, 0.6);
}

.tour-image-container {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.tour-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tour-card:hover .tour-image-container img {
    transform: scale(1.12);
}

.badge-category {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 30, 54, 0.92);
    backdrop-filter: blur(6px);
    color: white;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.77rem;
    font-weight: 700;
    transition: var(--transition);
}

.tour-card:hover .badge-category {
    transform: translateY(-2px);
    background: var(--primary);
}



.tour-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tour-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.tour-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tour-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
    line-height: 1.3;
    transition: var(--transition);
}

.tour-card:hover .tour-title {
    color: var(--primary);
}

.tour-description {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tour-photos-mini {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.tour-photos-mini img {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.tour-photos-mini img:hover {
    transform: scale(1.12) rotate(2deg);
    border-color: var(--gold);
}



.tour-footer {
    margin-top: auto;
    display: flex;
    gap: 10px;
}

.tour-card-item {
    display: flex;
}

/* =============================================
   STATS COUNTER WITH POP EFFECT
   ============================================= */
.stats-section {
    background: linear-gradient(135deg, var(--primary-dark), #0B1E3D);
    color: white;
    padding: 70px 0;
    margin: 70px 0;
    border-top: 4px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    transition: var(--transition);
}

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

.stat-item h3 {
    font-size: 3.2rem;
    color: var(--gold-light);
    margin-bottom: 6px;
    transition: var(--transition);
}

.stat-item p {
    font-size: 1rem;
    color: #CBD5E1;
    font-weight: 500;
}

.stat-item .stat-icon {
    font-size: 1.8rem;
    color: rgba(44, 82, 130, 0.4);
    margin-bottom: 10px;
    transition: var(--transition);
}

.stat-item:hover .stat-icon {
    color: var(--gold);
    transform: scale(1.2) rotate(10deg);
}



/* =============================================
   INTERNATIONAL DESTINATIONS
   ============================================= */
.destinations-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.destination-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--border-color);
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.destination-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(44, 82, 130, 0.5);
}

.destination-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.destination-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.destination-card:hover .destination-img img {
    transform: scale(1.12);
}

.destination-flag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
}

.destination-card:hover .destination-flag {
    transform: scale(1.05);
    background: var(--primary);
}

.destination-body {
    padding: 18px;
}

.destination-body h3 {
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
    transition: var(--transition);
}

.destination-card:hover .destination-body h3 {
    color: var(--primary);
}

.destination-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.destination-meta span {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.destination-price {
    font-weight: 800;
    color: var(--gold-hover);
    font-size: 1rem;
}

/* =============================================
   WHY CHOOSE EXPRESS SAFARIS
   ============================================= */
.why-section {
    padding: 80px 0;
    background: white;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.why-card {
    padding: 30px 24px;
    border-radius: var(--radius-md);
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-light);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-left-color 0.4s ease;
}

.why-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-hover);
    border-left-color: var(--primary);
    background: white;
}

.why-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 14px;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    transform: scale(1.2) rotate(12deg);
    color: var(--gold-hover);
}

.why-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.why-card p {
    font-size: 0.87rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =============================================
   TESTIMONIALS CAROUSEL
   ============================================= */
.testimonials-section {
    padding: 80px 0;
    background: var(--primary-soft);
}

.testimonials-track {
    overflow: hidden;
}

.testimonials-wrapper {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--border-color);
    min-width: 380px;
    flex-shrink: 0;
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.testimonial-card::before {
    content: '\201C';
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: var(--gold-light);
    position: absolute;
    top: -10px;
    left: 20px;
    line-height: 1;
}

.testimonial-stars {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 14px;
}

.testimonial-text {
    font-size: 0.96rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.testimonial-card:hover .testimonial-avatar {
    transform: scale(1.1) rotate(5deg);
}

.testimonial-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-dark);
}

.testimonial-origin {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 36px;
}

.testimonials-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.testimonials-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.t-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.t-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

/* =============================================
   PHOTO GALLERY — MASONRY WITH ZOOM ROTATE
   ============================================= */
.gallery-section {
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 14px;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--radius-sm);
    position: relative;
    cursor: pointer;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover img {
    transform: scale(1.12) rotate(1deg);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.0);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.65);
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1.2);
}

/* Lightbox */
.lightbox-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox-backdrop.active {
    display: flex;
    animation: zoomIn 0.3s ease;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: var(--radius-sm);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    background: none;
    border: none;
    transition: var(--transition);
}

.lightbox-close:hover {
    transform: scale(1.2) rotate(90deg);
    color: var(--gold);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.15);
}

/* =============================================
   TRUST BADGES BAR
   ============================================= */
.trust-section {
    background: white;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.trust-item:hover {
    transform: translateY(-2px);
    color: var(--primary-dark);
}

.trust-item i {
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition);
}

.trust-item:hover i {
    transform: scale(1.2) rotate(10deg);
    color: var(--gold-hover);
}

.trust-stat {
    text-align: center;
    border-left: 1px solid var(--border-color);
    padding-left: 40px;
    transition: var(--transition);
}

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

.trust-stat:first-child {
    border-left: none;
    padding-left: 0;
}

.trust-stat .number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-dark);
    display: block;
}

.trust-stat .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* =============================================
   BLOG PREVIEW
   ============================================= */
.blog-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-bottom: 40px;
}

.blog-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--border-color);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block;
    text-decoration: none;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.blog-img {
    height: 200px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.blog-body {
    padding: 22px;
}

.blog-cat {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-hover);
    margin-bottom: 8px;
    display: block;
}

.blog-body h3 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
    line-height: 1.35;
    transition: var(--transition);
}

.blog-card:hover .blog-body h3 {
    color: var(--primary);
}

.blog-body p {
    font-size: 0.87rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 14px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* =============================================
   FILTER BAR (Safaris Page)
   ============================================= */
.filter-container {
    background: var(--card-bg);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-subtle);
    margin-bottom: 40px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    border: 1px solid var(--border-color);
}

.filter-group {
    flex: 1;
    min-width: 180px;
}

.filter-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
    font-family: inherit;
}

.filter-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.28);
}

/* =============================================
   HERO SEARCH BAR
   ============================================= */
.hero-search {
    background: white;
    border-radius: var(--radius-xl);
    padding: 6px 6px 6px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    max-width: 720px;
    margin-bottom: 30px;
    transition: var(--transition);
}

.hero-search:focus-within {
    box-shadow: 0 12px 40px rgba(44, 82, 130, 0.3);
    transform: translateY(-2px);
}

.hero-search input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-primary);
    background: transparent;
}

.hero-search input::placeholder {
    color: var(--text-muted);
}

.hero-search .btn {
    flex-shrink: 0;
}

/* =============================================
   MODAL
   ============================================= */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-backdrop.active {
    display: flex;
}

.modal-card {
    background: white;
    border-radius: var(--radius-md);
    width: 90%;
    max-width: 660px;
    max-height: 92vh;
    overflow-y: auto;
    padding: 32px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    animation: zoomIn 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* =============================================
   FOOTER
   ============================================= */
footer {
    background: var(--dark);
    color: #94A3B8;
    padding: 70px 0 20px;
    border-top: 4px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 18px;
}

.footer-col p {
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer-col ul li {
    margin-bottom: 9px;
}

.footer-col ul li a {
    font-size: 0.87rem;
    color: #64748B;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--gold);
    transform: translateX(4px);
}

.footer-col ul li a i {
    font-size: 0.65rem;
    color: var(--gold);
}

/* Certifications bar */
.footer-cert-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: #64748B;
    font-weight: 600;
    transition: var(--transition);
}

.cert-badge:hover {
    color: white;
    transform: translateY(-2px);
}

.cert-badge i {
    color: var(--gold);
    font-size: 1.3rem;
}

/* Newsletter */
.newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.07);
    color: white;
    font-size: 0.85rem;
    outline: none;
    font-family: inherit;
    transition: var(--transition);
}

.newsletter-form input:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.12);
}

.newsletter-form input::placeholder {
    color: #64748B;
}

.newsletter-form button {
    background: var(--gold);
    color: var(--dark);
    border: none;
    padding: 10px 18px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.newsletter-form button:hover {
    background: var(--gold-hover);
    transform: scale(1.05);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 12px;
    font-size: 1.25rem;
    margin: 16px 0;
}

.social-icons a {
    color: #64748B;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--gold);
    transform: translateY(-4px) rotate(8deg);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* =============================================
   TOUR DETAIL PAGE
   ============================================= */
.tour-detail-hero {
    position: relative;
    height: 65vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: white;
}

.tour-detail-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-detail-hero .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.90) 0%, rgba(0, 0, 0, 0.25) 60%, transparent 100%);
}

.tour-detail-hero .hero-info {
    position: relative;
    z-index: 2;
    padding: 40px 0;
}

.tour-detail-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 36px;
    padding: 50px 0;
    align-items: start;
}

.tour-sidebar {
    position: sticky;
    top: 80px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-hover);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.tour-sidebar-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 24px;
    color: white;
    text-align: center;
}

.tour-sidebar-header .price {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--gold-light);
}

.tour-sidebar-body {
    padding: 24px;
}

.tour-sidebar-body .form-group {
    margin-bottom: 14px;
}

.tour-sidebar-body label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tour-sidebar-body input,
.tour-sidebar-body select,
.tour-sidebar-body textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
    font-family: inherit;
}

.tour-sidebar-body input:focus,
.tour-sidebar-body select:focus,
.tour-sidebar-body textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.28);
}

/* Itinerary Timeline */
.itinerary-timeline {
    margin: 30px 0;
}

.itinerary-day {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
    position: relative;
    transition: var(--transition);
}

.itinerary-day:hover {
    transform: translateX(4px);
}

.itinerary-day::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 46px;
    bottom: -28px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-light), transparent);
}

.itinerary-day:last-child::before {
    display: none;
}

.day-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.9rem;
    z-index: 1;
    transition: var(--transition);
}

.itinerary-day:hover .day-badge {
    transform: scale(1.15) rotate(10deg);
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    color: var(--dark);
}

.day-content {
    flex: 1;
}

.day-content h4 {
    font-size: 1.05rem;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.day-content p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Inclusions/Exclusions */
.inc-exc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 30px 0;
}

.inc-list li,
.exc-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.inc-list li:hover,
.exc-list li:hover {
    transform: translateX(3px);
}

.inc-list li i {
    color: var(--primary-light);
    margin-top: 3px;
}

.exc-list li i {
    color: #dc3545;
    margin-top: 3px;
}

/* FAQ Accordion */
.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-q {
    padding: 16px 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: var(--transition);
    font-size: 0.95rem;
    color: var(--primary-dark);
}

.faq-q:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.faq-q i {
    transition: var(--transition);
    color: var(--gold-hover);
}

.faq-item.open .faq-q {
    background: var(--primary-soft);
}

.faq-item.open .faq-q i {
    transform: rotate(180deg);
}

.faq-a {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.35s ease;
}

.faq-item.open .faq-a {
    padding: 16px 20px;
    max-height: 500px;
}

.faq-a p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* =============================================
   RESPONSIVE — MOBILE FIRST
   ============================================= */
@media (max-width:1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pillars-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .mega-menu {
        min-width: 520px;
    }
}

@media (max-width:1024px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .tour-detail-layout {
        grid-template-columns: 1fr;
    }

    .tour-sidebar {
        position: static;
    }

    .tours-grid {
        grid-template-columns: repeat(2, 1fr);
    }



    .mega-menu {
        min-width: 360px;
    }

    .mega-menu-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width:768px) {
    .hero-section {
        min-height: 100svh;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 24px 30px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1001;
        gap: 8px;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: 12px 0;
        font-size: 1rem;
    }

    .mega-menu,
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-top: 2px solid var(--primary-soft);
        padding: 10px 0 10px 16px;
        display: none !important;
    }

    .mobile-toggle {
        display: block;
        z-index: 1002;
    }

    .mobile-close {
        position: absolute;
        top: 24px;
        right: 24px;
        font-size: 1.4rem;
        cursor: pointer;
        color: var(--text-muted);
        background: none;
        border: none;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pillar-card {
        min-height: 320px;
    }

    .tours-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        min-width: 300px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.wide {
        grid-column: span 1;
    }

    .gallery-item.tall {
        grid-row: span 1;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .trust-bar {
        flex-direction: column;
        gap: 20px;
    }

    .trust-stat {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border-color);
        padding-top: 20px;
    }

    .trust-stat:first-child {
        border-top: none;
        padding-top: 0;
    }

    .mega-menu-grid {
        grid-template-columns: 1fr;
    }

    .mega-menu {
        left: 0;
        min-width: auto;
    }

    .inc-exc-grid {
        grid-template-columns: 1fr;
    }



    .top-info {
        display: none;
    }

    .section-header h2 {
        font-size: 1.85rem;
    }

    .page-banner h1 {
        font-size: 2rem;
    }

    .hero-search {
        flex-direction: column;
        border-radius: var(--radius-md);
        padding: 16px;
    }
}

@media (max-width:480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-item h3 {
        font-size: 2.4rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .destinations-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonials-wrapper {
        padding: 0 16px;
    }

    .testimonial-card {
        min-width: calc(100vw - 64px);
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

/* =============================================
   PAGE BANNER (interior pages)
   ============================================= */
.page-banner {
    background: linear-gradient(135deg, var(--dark-surface) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 70px 0 50px;
    border-bottom: 4px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%2387ceeb' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-banner h1 {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.page-banner p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    max-width: 600px;
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    position: relative;
    z-index: 1;
}

.breadcrumb a {
    color: var(--gold-light);
}

.breadcrumb a:hover {
    color: white;
}

/* =============================================
   ADMIN PORTAL — FULL CSS SYSTEM
   ============================================= */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background: #D3D3D3;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Sidebar */
.admin-sidebar {
    width: 270px;
    background: var(--dark-surface);
    color: white;
    padding: 28px 16px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    z-index: 100;
}

.admin-sidebar::-webkit-scrollbar {
    width: 4px;
}

.admin-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.admin-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* Sidebar nav links */
.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.admin-nav a {
    color: #94A3B8;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    transition: var(--transition);
    white-space: nowrap;
}

.admin-nav a i {
    width: 18px;
    text-align: center;
    font-size: 0.9rem;
}

.admin-nav a:hover {
    background: rgba(255, 255, 255, 0.10);
    color: white;
    padding-left: 18px;
}

.admin-nav a.active,
.admin-nav a:focus {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.30);
}

/* Admin main content area */
.admin-content {
    flex-grow: 1;
    background: #D3D3D3;
    padding: 30px;
    min-height: 100vh;
    overflow-x: hidden;
    max-width: calc(100vw - 270px);
}

/* Top header bar */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 26px;
    flex-wrap: wrap;
    gap: 14px;
}

/* Admin Metric Cards */
.metric-card {
    background: white;
    padding: 26px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--primary);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-left-color: var(--primary);
}

.metric-card h2 {
    font-size: 2.4rem;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.metric-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 600;
}

.metric-card .metric-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    opacity: 0.08;
    color: var(--primary-dark);
    transition: var(--transition);
}

.metric-card:hover .metric-icon {
    opacity: 0.15;
    transform: translateY(-50%) rotate(10deg);
}

/* Admin Tables */
.table-responsive {
    background: white;
    border-radius: var(--radius-md);
    padding: 0;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--border-color);
    overflow-x: auto;
}

table.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

table.admin-table th {
    background: #F8F9FA;
    padding: 14px 18px;
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
}

table.admin-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #E2E8F0;
    vertical-align: middle;
    color: var(--text-primary);
}

table.admin-table tbody tr:last-child td {
    border-bottom: none;
}

table.admin-table tbody tr {
    transition: background 0.2s ease;
}

table.admin-table tbody tr:hover td {
    background: #F8F9FA;
}

/* Admin form inputs */
.admin-content input[type="text"],
.admin-content input[type="email"],
.admin-content input[type="password"],
.admin-content input[type="number"],
.admin-content input[type="date"],
.admin-content input[type="url"],
.admin-content select,
.admin-content textarea {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.admin-content input:focus,
.admin-content select:focus,
.admin-content textarea:focus {
    outline: none;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.28) !important;
}

/* Price tag in table */
.price-tag-edit {
    font-weight: 800;
    color: var(--primary);
    font-size: 0.92rem;
}

/* Role badges */
.role-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.73rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-super {
    background: #FFF3CD;
    color: #856404;
    border: 1px solid #FFDE78;
}

.role-editor {
    background: var(--primary-soft);
    color: var(--primary-dark);
    border: 1px solid var(--border-color);
}

.role-viewer {
    background: var(--primary-soft);
    color: var(--primary-dark);
    border: 1px solid var(--border-color);
}

/* Admin action buttons in table */
.admin-content .btn+.btn {
    margin-left: 6px;
}

/* Admin dashboard quick stat grid */
.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 22px;
    margin-bottom: 32px;
}

/* Admin content section card */
.admin-card {
    background: white;
    padding: 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--border-color);
    margin-bottom: 28px;
}

.admin-card h3 {
    color: var(--primary-dark);
    font-size: 1.15rem;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Admin alert messages */
.admin-alert-success {
    background: var(--primary-soft);
    color: var(--primary-dark);
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 22px;
    font-weight: 700;
    border-left: 5px solid var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-alert-error {
    background: #F8D7DA;
    color: #721C24;
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 22px;
    font-weight: 700;
    border-left: 5px solid #DC3545;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Admin responsive — tablets and mobile */
@media (max-width: 1024px) {
    .admin-sidebar {
        width: 230px;
        padding: 20px 12px;
    }

    .admin-content {
        max-width: calc(100vw - 230px);
        padding: 22px;
    }
}

@media (max-width: 768px) {
    .admin-layout {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        height: auto;
        position: sticky;
        top: 0;
        z-index: 1000;
        border-right: none;
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
        padding: 12px 16px;
        display: flex;
        align-items: center;
        gap: 12px;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
    }
    
    .admin-sidebar::-webkit-scrollbar {
        display: none;
    }

    .admin-sidebar h2 {
        display: none; /* Hide 'Admin Panel' text on mobile to save space */
    }

    .admin-nav {
        display: flex;
        flex-direction: row;
        gap: 8px;
        flex: 1;
    }

    .admin-nav a {
        font-size: 0.82rem;
        padding: 8px 14px;
        border-radius: 20px;
    }

    .admin-nav a i {
        margin-right: 6px;
    }

    .admin-content {
        max-width: 100%;
        padding: 16px;
        padding-top: 20px;
    }

    .admin-stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .admin-stat-grid {
        grid-template-columns: 1fr 1fr;
    }

    table.admin-table th,
    table.admin-table td {
        padding: 10px 12px;
        font-size: 0.82rem;
    }
}

/* =============================================
   MAGICAL & LOVELY ANIMATIONS (Inspired by jed.luxenetworks.co.ke)
   ============================================= */

/* Floating Magical Glow Orbs */
.magical-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
    animation: orbPulse 8s ease-in-out infinite alternate;
}

.magical-orb-1 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--gold) 0%, rgba(212, 175, 55, 0) 70%);
    top: 5%;
    left: -50px;
}

.magical-orb-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #2e7d32 0%, rgba(10, 47, 29, 0) 70%);
    bottom: 10%;
    right: -100px;
    animation-delay: -4s;
}

@keyframes orbPulse {
    0% { transform: scale(1) translate(0, 0); opacity: 0.25; }
    50% { transform: scale(1.15) translate(20px, -20px); opacity: 0.45; }
    100% { transform: scale(0.9) translate(-15px, 15px); opacity: 0.3; }
}

/* Glassmorphism & Shimmer Cards */
.tour-card, .pillar-card, .why-card, .testimonial-card, .destination-card {
    position: relative;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
    overflow: hidden;
}

.tour-card::before, .pillar-card::before, .why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-25deg);
    transition: 0.75s ease;
    pointer-events: none;
    z-index: 3;
}

.tour-card:hover::before, .pillar-card:hover::before, .why-card:hover::before {
    left: 150%;
}

.tour-card:hover, .pillar-card:hover, .why-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 20px 40px rgba(10, 47, 29, 0.18), 0 0 20px rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
}

/* Button Magnetic Sheen & Glow Effect */
.btn-gold, .btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.btn-gold::after, .btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: scale(0.5);
    pointer-events: none;
}

.btn-gold:hover::after, .btn-primary:hover::after {
    opacity: 1;
    transform: scale(1);
}

.btn-gold:hover, .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.35);
}

/* Levitating Badges */
.hero-badge, .hero-eyebrow, .badge-category {
    animation: magicFloat 3.5s ease-in-out infinite alternate;
}

.hero-badge:nth-child(2) { animation-delay: 0.6s; }
.hero-badge:nth-child(3) { animation-delay: 1.2s; }
.hero-badge:nth-child(4) { animation-delay: 1.8s; }

@keyframes magicFloat {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-6px); }
}

/* Smooth Bottom-to-Top Reveal Animations for Featured Safaris */
.reveal, .reveal-up {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.revealed, .reveal.is-visible, 
.reveal-up.revealed, .reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Staggered Rise Effect for Safari Cards in Grid */
.tours-grid .tour-card {
    opacity: 0;
    transform: translateY(65px) scale(0.95);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.tours-grid .tour-card.revealed, 
.tours-grid .tour-card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Upward Lift on Hover */
.tour-card:hover {
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow: 0 25px 50px rgba(10, 47, 29, 0.22), 0 0 25px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.5);
}

/* =============================================
   WHATSAPP FLOATING BUTTON
   ============================================= */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    z-index: 9999;
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 16px 40px rgba(37, 211, 102, 0.55);
}
.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.5);
    animation: whatsappPulse 2s ease-out infinite;
    pointer-events: none;
}
@keyframes whatsappPulse {
    0%   { transform: scale(1);   opacity: 0.7; }
    70%  { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* =============================================
   POPUP / TOAST NOTIFICATION ANIMATIONS
   ============================================= */
.toast-popup {
    position: fixed;
    bottom: 110px;
    right: 28px;
    background: var(--dark);
    color: white;
    padding: 14px 22px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
    z-index: 10001;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 320px;
    border-left: 4px solid var(--gold);
    transform: translateY(30px);
    opacity: 0;
    animation: toastSlideIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards, toastFadeOut 0.4s ease 4.5s forwards;
}
@keyframes toastSlideIn {
    to { transform: translateY(0); opacity: 1; }
}
@keyframes toastFadeOut {
    to { transform: translateY(20px); opacity: 0; pointer-events: none; }
}

/* =============================================
   ENTRANCE POPUP OVERLAY ANIMATION (for modals / special announcements)
   ============================================= */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: overlayIn 0.3s ease forwards;
}
@keyframes overlayIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.popup-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    max-width: 520px;
    width: 92%;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
    animation: popupBounceIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    position: relative;
    overflow: hidden;
}
.popup-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--gold), var(--primary));
}
@keyframes popupBounceIn {
    from { transform: scale(0.7) translateY(40px); opacity: 0; }
    to   { transform: scale(1) translateY(0);     opacity: 1; }
}
.popup-close {
    position: absolute;
    top: 14px; right: 18px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s;
}
.popup-close:hover { color: var(--primary-dark); }

/* =============================================
   SECTION ENTRANCE ANIMATIONS (additional)
   ============================================= */
.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide-in-left.is-visible, .slide-in-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}
.fade-scale-in {
    opacity: 0;
    transform: scale(0.88);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-scale-in.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* =============================================
   HERO MEDIA MANAGER (Admin) STYLES
   ============================================= */
.hero-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 18px;
}
.hero-media-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #f0f0f0;
    aspect-ratio: 16/9;
    border: 2px solid var(--border-color);
    transition: border-color 0.25s;
    cursor: pointer;
}
.hero-media-item:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(59,106,58,0.18);
}
.hero-media-item img,
.hero-media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-media-badge {
    position: absolute;
    top: 8px; left: 8px;
    background: rgba(0,0,0,0.6);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hero-media-delete {
    position: absolute;
    top: 8px; right: 8px;
    background: rgba(220, 50, 50, 0.85);
    color: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    opacity: 0;
    transition: opacity 0.2s;
}
.hero-media-item:hover .hero-media-delete {
    opacity: 1;
}
.hero-upload-drop {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
    background: var(--light-bg);
    cursor: pointer;
    transition: border-color 0.25s, background 0.25s;
}
.hero-upload-drop:hover,
.hero-upload-drop.drag-over {
    border-color: var(--primary);
    background: var(--primary-soft);
}
.hero-upload-drop i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

/* =============================================
   WHATSAPP CHATBOT DRAWER
   ============================================= */
.wa-chatbot-wrapper {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
}
.wa-chat-window {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 340px;
    max-width: 90vw;
    background: white;
    border-radius: 16px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: none;
    flex-direction: column;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
.wa-chat-window.active {
    display: flex;
    transform: scale(1) translateY(0);
    opacity: 1;
}
.wa-chat-header {
    background: linear-gradient(135deg, #075E54, #128C7E);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.wa-chat-body {
    padding: 16px;
    background: #E5DDD5;
    background-image: radial-gradient(#d3c6b8 1px, transparent 1px);
    background-size: 16px 16px;
    max-height: 350px;
    overflow-y: auto;
}
.wa-msg.incoming {
    background: white;
    padding: 12px 14px;
    border-radius: 12px 12px 12px 2px;
    font-size: 0.85rem;
    color: #2c3e50;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    position: relative;
    margin-bottom: 12px;
}
.wa-time {
    display: block;
    font-size: 0.65rem;
    color: #999;
    text-align: right;
    margin-top: 4px;
}
.wa-quick-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}
.wa-opt-btn {
    background: white;
    border: 1px solid rgba(0,0,0,0.1);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s, border-color 0.2s;
}
.wa-opt-btn:hover {
    transform: translateX(4px);
    border-color: #25D366;
}
.wa-chat-footer {
    padding: 10px 12px;
    background: #F0F0F0;
    border-top: 1px solid #DDD;
}
.wa-chat-footer form {
    display: flex;
    gap: 8px;
}
.wa-chat-footer input {
    flex: 1;
    border: 1px solid #CCC;
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 0.82rem;
    outline: none;
}
.wa-chat-footer button {
    background: #128C7E;
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =============================================
   ROARING LION AVATAR & ANIMATION
   ============================================= */
.wa-lion-avatar-box {
    position: relative;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}
.wa-lion-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid var(--gold);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
    animation: lionRoarPop 3s ease-in-out infinite alternate;
}
@keyframes lionRoarPop {
    0%   { transform: scale(1) rotate(0deg); }
    50%  { transform: scale(1.08) rotate(-3deg); }
    100% { transform: scale(1.04) rotate(3deg); }
}
.wa-lion-pulse {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    animation: lionGlow 2.4s ease-out infinite;
    pointer-events: none;
}
@keyframes lionGlow {
    0%   { transform: scale(1);   opacity: 0.8; }
    70%  { transform: scale(1.4); opacity: 0; }
    100% { transform: scale(1.4); opacity: 0; }
}

.wa-float-lion-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    transition: transform 0.3s ease;
}
.whatsapp-float:hover .wa-float-lion-avatar {
    transform: scale(1.1) rotate(4deg);
}
.wa-icon-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #25D366;
    color: white;
    font-size: 0.95rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}