@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&family=Inter:wght@300;400;600&family=Bebas+Neue&display=swap');

:root {
    --primary: #0f3d2a;
    /* Deep Zambian Emerald */
    --secondary: #e67e22;
    /* Vibrant Sunset Ochre */
    --accent: #ff9f1c;
    /* Glowing Amber */
    --bg-light: #fffcf0;
    /* Warm Bone Linen */
    --text-dark: #2c2520;
    /* Deep Earth */
    --text-light: #fffcf0;
    --glass: rgba(255, 255, 255, 0.25);
    --glass-dark: rgba(0, 0, 0, 0.45);
    --transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Custom Scrollbar for Firefox */
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
    transition: scrollbar-color 0.3s ease;
}

html:hover {
    scrollbar-color: var(--secondary) transparent;
}

/* Custom Scrollbar for Chrome, Safari, and Opera */
html::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 10px;
    transition: background 0.3s ease;
}

html:hover::-webkit-scrollbar-thumb {
    background: rgba(230, 126, 34, 0.3);
}

html::-webkit-scrollbar-thumb:hover {
    background: var(--secondary) !important;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    scrollbar-width: none;
    -ms-overflow-style: none;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body::-webkit-scrollbar {
    display: none;
}

/* Creative Background Decorations */
.bg-decorations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}





/* African Geometric Elements */
.mudcloth-divider {
    height: 20px;
    width: 100%;
    background-image: url('../images/mudcloth.svg');
    background-repeat: repeat-x;
    background-position: center;
    margin: 30px 0;
    position: relative;
    z-index: 1;
}

h1,
h2,
h3,
.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

#welcome-logo {
    position: relative;
    height: 200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

#welcome-logo img {
    height: 150px;
}

#welcome-reveal {
    font-size: 3em;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(26, 60, 52, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 1px;
    line-height: 1;
}

.logo span:nth-child(1) {
    color: var(--accent);
    /* Sunset Ochre */
}

.logo span:nth-child(2) {
    color: #ffffff;
    /* Pure White for high contrast in the middle */
}

.logo span:nth-child(3) {
    color: var(--accent);
    /* Glowing Amber */
}



/* Footer logo alignment */
footer .logo {
    justify-content: flex-start;
    margin-bottom: 25px;
}

/* Hamburger Menu Button */
.menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 2001;
}

.menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

/* Transform to Close Icon */
.menu-btn.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-btn.open span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-btn.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: var(--transition);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-size: cover;
    background-position: center;
    -webkit-animation: slideShow 40s infinite linear;
    animation: slideShow 40s infinite linear;
}

.slide:nth-child(2) {
    -webkit-animation-delay: 8s;
    animation-delay: 8s;
}

.slide:nth-child(3) {
    -webkit-animation-delay: 16s;
    animation-delay: 16s;
}

.slide:nth-child(4) {
    -webkit-animation-delay: 24s;
    animation-delay: 24s;
}

.slide:nth-child(5) {
    -webkit-animation-delay: 32s;
    animation-delay: 32s;
}

@-webkit-keyframes slideShow {
    0% {
        opacity: 0;
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    3% {
        opacity: 1;
    }

    17% {
        opacity: 1;
    }

    20% {
        opacity: 0;
        -webkit-transform: scale(1.15);
        transform: scale(1.15);
    }

    100% {
        opacity: 0;
    }
}

@keyframes slideShow {
    0% {
        opacity: 0;
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    3% {
        opacity: 1;
    }

    17% {
        opacity: 1;
    }

    20% {
        opacity: 0;
        -webkit-transform: scale(1.15);
        transform: scale(1.15);
    }

    100% {
        opacity: 0;
    }
}

/* Page Hero (Subpages) */
.page-hero {
    height: 40vh;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    text-align: center;
    overflow: hidden;
}

.page-hero-content {
    position: relative;
    z-index: 5;
}

.page-hero-content h1 {
    font-size: clamp(1.8rem, 8vw, 3.5rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0 20px;
}

.hero::after,
.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, rgba(0, 0, 0, 0.4) 100%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent, rgba(0, 0, 0, 0.5));
    z-index: -1;
    pointer-events: none;
}



.hero-content {
    max-width: 1100px;
    width: 90%;
    height: 100%;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

.welcome-content {
    max-width: 1100px;
    width: 100%;
    height: 100%;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

.hero-content .logo {
    justify-content: center;
    margin-bottom: 20px;
}

.hero-welcome {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 8px;
    color: var(--accent);
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--secondary);
    letter-spacing: 6px;
    margin-bottom: 20px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease forwards;
}

/* Animated Titles Sync */
.animated-titles {
    position: relative;
    flex: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

/* Unified Hero Title Style */
.hero h1,
.hero-title {
    position: absolute;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    font-size: clamp(1.2rem, 6vw, 4rem);
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
    padding: 0 5%;
}

.slide-text-1 {
    -webkit-animation: textSlideShow 40s 0s infinite linear;
    animation: textSlideShow 40s 0s infinite linear;
}

.slide-text-2 {
    -webkit-animation: textSlideShow 40s 8s infinite linear;
    animation: textSlideShow 40s 8s infinite linear;
}

.slide-text-3 {
    -webkit-animation: textSlideShow 40s 16s infinite linear;
    animation: textSlideShow 40s 16s infinite linear;
}

.slide-text-4 {
    -webkit-animation: textSlideShow 40s 24s infinite linear;
    animation: textSlideShow 40s 24s infinite linear;
}

.slide-text-5 {
    -webkit-animation: textSlideShow 40s 32s infinite linear;
    animation: textSlideShow 40s 32s infinite linear;
}

@-webkit-keyframes textSlideShow {
    0% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }

    2% {
        opacity: 0;
    }

    6% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    16% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    20% {
        opacity: 0;
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
    }

    100% {
        opacity: 0;
    }
}

@keyframes textSlideShow {
    0% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }

    2% {
        opacity: 0;
    }

    6% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    16% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    20% {
        opacity: 0;
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
    }

    100% {
        opacity: 0;
    }
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
    flex-wrap: wrap;
    max-width: 150px;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    text-align: center;
    font-size: 0.85rem;
}

.btn-primary {
    background: var(--secondary);
    color: white;
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(230, 126, 34, 0.4);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
}

/* Stats Section - Classic & Simple */
.stats-section {
    padding: 60px 0;
    margin: 40px 0;
    background: transparent;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
    background: var(--text-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 15px 40px rgba(230, 126, 34, 0.1);
}

.stat-item:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);

}

.stat-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 25px;
    opacity: 0.9;
    color: var(--primary);
}

.deck {
    width: 200px;
    height: 100px;
    margin-bottom: 25px;
}

.glassy {
    width: 200px;
    height: 100px;
    margin-bottom: 25px;
}

/* @media screen and (max-width: 480px) {
    .stat-icon {
        width: 100px;
        height: 80px;
    }
} */

.stat-item h3 {
    font-size: clamp(2.2rem, 8vw, 3.8rem);
    color: var(--primary);
    margin-bottom: 5px;
    font-family: 'Bebas Neue', sans-serif;
}

.stat-item p {
    font-size: clamp(1em, 2vw, 1.1rem);
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
}

@media screen and (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-item {
        padding: 30px 15px;
    }

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

.section {
    padding: 180px 10%;
}

/* Add extra space for sections that start right under the fixed header */
header+.section,
header+.bg-decorations+.section,
header+.bg-decorations+.hero-slider+.section {
    padding-top: 180px;
}

/* If there is a hero, we don't need the extra padding on the first section */
.hero+.mudcloth-divider+.section,
.page-hero+.section {
    padding-top: 180px;
}

.container {
    max-width: 1200px;
    margin: auto;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .two-column {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .two-column>div iframe {
        height: 350px;
    }
}

.two-column img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.two-column img:hover {
    transform: scale(1.02);
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 30px;
    color: var(--primary);
}


.page-hero-content {
    position: relative;
    z-index: 2;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 5px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Ensure all cards in a row have same height */
}

.card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card:hover {
    transform: translateY(-10px);
    border-bottom: 5px solid var(--secondary);
}

.card h3 {
    margin-bottom: 20px;
    color: var(--primary);
}

.price {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-top: 15px;
    display: block;
}

/* Tour Card Enhancements */
.staggered-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: var(--shadow);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}

.card .card-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /* Allow wrapping when cards get narrow */
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
}

.card .card-actions .btn {
    flex: 1;
    /* Allow buttons to grow and share space */
    min-width: 140px;
    /* Ensure buttons wrap before getting too small */
    padding: 12px 15px;
    /* Slightly tighter padding for better fit */
    font-size: 0.8rem;
}

@media (max-width: 1100px) {
    .card .card-actions {
        flex-direction: column;
        /* Stack earlier to avoid tight fits */
    }

    .card .card-actions .btn {
        width: 100%;
    }

    .logo img {
        height: 100px;
    }
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.8rem;
}

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

.btn-outline:hover {
    background: var(--secondary);
    color: white;
}

/* Section Header Split Layout */
.section-header-split {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    margin-bottom: 80px;
    text-align: left;
}

.section-header-split .section-title {
    flex: 1;
    margin-bottom: 0;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
}

.section-header-split p {
    flex: 1;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-dark);
    opacity: 0.9;
}

@media screen and (max-width: 760px) {
    .section-header-split {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .section-header-split .section-title {
        margin-bottom: 20px;
    }
}

/* Modal Styles */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
}

.modal .modal-content {
    background: white;
    width: 95%;
    max-width: 700px;
    /* Slightly wider for better desktop presentation */
    max-height: 90vh;
    border-radius: 25px;
    padding: 40px;
    position: relative;
    animation: zoomIn 0.3s ease;
    overflow-y: auto;
}

.modal-hero-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 25px;
}

.modal-title {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.modal-description {
    line-height: 1.8;
    color: #555;
    font-size: 1.05rem;
    margin-bottom: 25px;
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    gap: 30px;
    border-top: 1px solid #eee;
    padding-top: 25px;
}

.modal-footer .price {
    margin-top: 0;
}

.modal-footer .card-actions {
    flex-grow: 1;
    padding-top: 0;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary);
}

/* Full-screen modal on mobile */
@media screen and (max-width: 768px) {
    .modal {
        padding: 0;
        align-items: flex-end;
    }

    .modal .modal-content {
        width: 100%;
        max-width: 100%;
        max-height: 95vh;
        border-radius: 25px 25px 0 0;
        padding: 30px 20px;
        animation: slideUpModal 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .modal-hero-image {
        height: 220px;
        border-radius: 15px;
    }

    .modal-title {
        font-size: 1.6rem;
    }

    .modal-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .modal-footer .card-actions {
        flex-direction: column;
    }

    .modal-footer .card-actions .btn {
        width: 100%;
        text-align: center;
    }
}

@keyframes slideUpModal {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

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

/* Booking Summary Table */
.booking-summary {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.booking-summary th,
.booking-summary td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.booking-summary th {
    background-color: var(--primary);
    color: white;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.booking-summary .total-row {
    background-color: #f9f9f9;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
}

.cart-counter {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--secondary);
    color: white;
    padding: 20px 30px;
    border-radius: 50px;
    box-shadow: var(--shadow);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.cart-counter:hover {
    transform: scale(1.05);
    background: var(--accent);
}

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

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

/* Form Reset */
input,
select,
textarea {
    box-sizing: border-box;
    max-width: 100%;
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 80px 5% 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col .logo {
    margin-bottom: 25px;
}

.footer-col h4 {
    color: var(--secondary);
    margin-bottom: 30px;
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
}

.footer-col p {
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.footer-col a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 15px;
    opacity: 0.7;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--secondary);
    transform: translateX(5px);
}

.copyright {
    text-align: center;
    opacity: 0.6;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    letter-spacing: 1px;
}

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

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

/* Mobile Styles */
@media screen and (max-width: 1100px) {
    header {
        padding: 20px 5% !important;
    }

    .menu-btn {
        display: flex !important;
    }

    .logo img {
        height: 100px;
    }

    nav {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        height: 100vh !important;
        width: 100% !important;
        background: rgba(15, 61, 42, 0.98) !important;
        backdrop-filter: blur(15px) !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        transition: 0.6s cubic-bezier(0.77, 0, 0.175, 1) !important;
        z-index: 2000 !important;
    }

    nav.active {
        right: 0 !important;
    }

    nav a {
        font-size: 2rem !important;
        margin: 20px 0 !important;
        font-family: 'Bebas Neue', sans-serif !important;
        letter-spacing: 4px !important;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    nav.active a {
        opacity: 1;
        transform: translateY(0);
    }

    /* Stagger links entry */
    nav.active a:nth-child(1) {
        transition-delay: 0.2s;
    }

    nav.active a:nth-child(2) {
        transition-delay: 0.3s;
    }

    nav.active a:nth-child(3) {
        transition-delay: 0.4s;
    }

    nav.active a:nth-child(4) {
        transition-delay: 0.5s;
    }

    nav.active a:nth-child(5) {
        transition-delay: 0.6s;
    }



    .hero-buttons {
        flex-direction: column !important;
        /* width: 100% !important; */
        padding: 0 5% !important;
    }

    .hero-buttons .btn {
        /* width: 100% !important; */
        margin-bottom: 10px !important;
    }

    .section {
        padding: calc(80px + 5%) 5% 80px 5% !important;
    }

    .card {
        padding: 20px !important;
    }

    .cart-counter {
        bottom: 20px !important;
        right: 20px !important;
        padding: 15px 20px !important;
        font-size: 0.8rem !important;
    }

    footer .logo {
        justify-content: center;
    }

    /* Staggered Section Mobile Support - Total Reset */
    .staggered-section {
        flex-direction: column !important;
        gap: 30px !important;
        margin-bottom: 60px !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .staggered-section:nth-child(even) {
        flex-direction: column !important;
    }

    .staggered-image {
        width: 100% !important;
        height: 350px !important;
        min-height: 350px !important;
        display: block !important;
        overflow: hidden !important;
        position: relative !important;
    }

    .staggered-slider {
        position: relative !important;
        width: 100% !important;
        height: 350px !important;
        display: block !important;
        overflow: hidden !important;
    }

    .slider-track {
        display: flex !important;
        width: 200% !important;
        height: 100% !important;
        transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .slider-track img {
        width: 50% !important;
        /* Half of 200% = 100% */
        height: 100% !important;
        object-fit: cover !important;
        flex-shrink: 0 !important;
        position: relative !important;
        transform: none !important;
        opacity: 1 !important;
        display: block !important;
    }
}

/* About Page Creative Sections */
.staggered-section {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.staggered-section:nth-child(even) {
    flex-direction: row-reverse;
}

.staggered-image {
    flex: 1;
    height: 500px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.staggered-slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slider-track {
    display: flex;
    width: 200%;
    height: 100%;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-track img {
    width: 50%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.staggered-text {
    flex: 1;
}

.staggered-text h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
}

.staggered-text p {
    line-height: 1.8;
    color: #555;
    font-size: 1.1rem;
}

.stat-item p {

    color: var(--secondary)
}



/* Timeline / A Day at Liuwa */
.day-timeline {
    position: relative;
    max-width: 900px;
    margin: 60px auto;
    padding: 40px 0;
}

.day-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #eee;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    margin-bottom: 40px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 30px;
    width: 16px;
    height: 16px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(230, 126, 34, 0.2);
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
}

.timeline-time {
    font-weight: 800;
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: block;
}

.timeline-content h4 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 10px;
}

/* Mobile Adjustments for Creative Sections */
@media screen and (max-width: 992px) {
    .staggered-section {
        flex-direction: column !important;
        gap: 40px;
    }

    .logo img {
        height: 75px;
    }

    .staggered-image {
        width: 100%;
        height: 350px;
    }


}

@media screen and (max-width: 768px) {
    #welcome-logo img {
        height: 120px;
    }



    .logo img {
        height: 65px;
    }

    footer .logo img {
        margin-left: auto;
        margin-right: auto;
        height: 150;
    }

    .day-timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 50px;
    }

    .timeline-dot {
        left: 12px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        text-align: center !important;
    }

    .footer-col a:hover {
        transform: none !important;
    }


}

/* Home Page Creative Sections */

/* Hero Ken Burns Effect */
.hero {
    overflow: hidden;
    position: relative;
    height: 100vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    z-index: -1;
    animation: kenBurns 20s infinite alternate ease-in-out;
}

@keyframes kenBurns {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.15);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
    margin-bottom: 10px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: white;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 25px;
        opacity: 0;
    }
}

/* Adventure Grid (Large Image Tiles) */
.adventure-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}



.adventure-item {
    position: relative;
    height: 450px;
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
}

.adventure-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.adventure-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: white;
    transition: background 0.4s ease;
}

.contained-image {
    width: 100%;
    height: 350px;
    border-radius: 0px;
    overflow: hidden;
    margin: 40px 0;
    box-shadow: var(--shadow);
}

.contained-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 760px) {
    .contained-image {
        height: 250px;
        border-radius: 0px;
    }
}

.adventure-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.adventure-overlay p {
    font-size: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.adventure-item:hover img {
    transform: scale(1.1);
}

.adventure-item:hover .adventure-overlay {
    background: linear-gradient(to top, var(--primary), transparent);
}

.adventure-item:hover .adventure-overlay h3,
.adventure-item:hover .adventure-overlay p {
    transform: translateY(0);
    opacity: 1;
}

/* Tablet: 2 items per row */
@media screen and (max-width: 1200px) {
    .adventure-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: 1 item per row and always show text */
@media screen and (max-width: 760px) {
    .adventure-grid {
        grid-template-columns: 1fr;
    }

    .adventure-overlay h3,
    .adventure-overlay p {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    .adventure-overlay {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent) !important;
    }
}

/* Testimonial Section */
.testimonial-section {
    padding: 10px 5%;
    text-align: center;
    background: #fdfdfd;
}

.testimonial-content {
    max-width: 900px;
    margin: 0 auto;
}

.quote-icon {
    font-size: 4rem;
    color: var(--secondary);
    line-height: 1;
    font-family: serif;
    opacity: 0.3;
}

.testimonial-text {
    font-size: 2.8rem;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    line-height: 1.8;
    margin-bottom: 40px;
    font-weight: 300;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-info h5 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.9rem;
    color: #888;
}

/* Gallery Masonry */
.gallery-section {
    padding: 100px 5%;
}

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

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

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

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

/* Mobile Adjustments for Home */
@media screen and (max-width: 992px) {
    .adventure-item {
        height: 350px;
    }

    .testimonial-text {
        font-size: 1.6rem;
    }

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

@media screen and (max-width: 600px) {


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

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

/* Active Navigation State */
nav a.active {
    color: var(--accent) !important;
    font-weight: 700 !important;
}

nav a.active::after {
    width: 100% !important;
    background-color: var(--accent) !important;
}

/* Beautified Booking Form */
.booking-form-container {
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    max-width: 1000px;
    margin: 0 auto;
}

.booking-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.booking-form .form-group {
    width: 100%;
    min-width: 0;
}

.booking-form .form-group.full-width {
    grid-column: span 2;
}

.booking-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: var(--primary);
}

.booking-form input,
.booking-form textarea {
    width: 100%;
    padding: 18px 25px;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fafafa;
}

.booking-form input:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background: white;
    box-shadow: 0 10px 20px rgba(230, 126, 34, 0.1);
    transform: translateY(-2px);
}

.booking-form button[type="submit"] {
    grid-column: span 2;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 20px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(230, 126, 34, 0.3);
}

.booking-form button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(230, 126, 34, 0.4);
}

/* Responsive Form */
@media screen and (max-width: 768px) {
    .booking-form-container {
        padding: 30px 20px;
        border-radius: 20px;
        width: 100%;
        /* Ensure it doesn't exceed parent */
    }

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

    .booking-form .form-group.full-width {
        grid-column: span 1;
    }

    .booking-form button[type="submit"] {
        grid-column: span 1;
    }

    .booking-form input,
    .booking-form textarea {
        padding: 15px 18px;
        /* Slightly reduced padding for mobile */
    }
}

/* Fix for Summary Table Overflow on Mobile */
#booking-summary-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 30px;
    border-radius: 15px;
}

.booking-summary {
    min-width: 500px;
    /* Ensure table has room for content */
}

@media screen and (max-width: 480px) {
    .booking-form-container {
        padding: 25px 15px;
    }

    .booking-summary {
        min-width: 350px;
    }

    .booking-summary th,
    .booking-summary td {
        padding: 12px 10px;
        font-size: 0.9rem;
    }
}

/* Safari Background Decorations */
.safari-decor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}











/* Animations for scroll triggers */
[data-animate] {
    opacity: 0;
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-animate="fade"].active {
    opacity: 1;
}

[data-animate="slide-up"] {
    transform: translateY(50px);
}

[data-animate="slide-up"].active {
    transform: translateY(0);
    opacity: 1;
}

[data-animate="slide-left"] {
    transform: translateX(50px);
}

[data-animate="slide-left"].active {
    transform: translateX(0);
    opacity: 1;
}

[data-animate="slide-right"] {
    transform: translateX(-50px);
}

[data-animate="slide-right"].active {
    transform: translateX(0);
    opacity: 1;
}

[data-animate="scale"] {
    transform: scale(0.8);
}

[data-animate="scale"].active {
    transform: scale(1);
    opacity: 1;
}

/* Safari Decorative Background Icons */
.parallax-decor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.decor-icon {
    position: absolute;
    opacity: 0.1;
    filter: sepia(1) saturate(5) hue-rotate(-10deg);
    /* Sunset Ochre tint */
    transition: opacity 0.4s ease, transform 0.1s linear;
    will-change: transform, opacity;
}

.decor-icon img {
    width: 100%;
    height: auto;
}

.decor-tent {
    width: 25vw;
    max-width: 350px;
    top: 20%;
    left: 40%;
}

.decor-backpack {
    width: 15vw;
    max-width: 220px;
    top: 30%;
    left: -5%;
}

.decor-fire {
    width: 18vw;
    max-width: 280px;
    top: 20%;
    right: -5%;
}

.decor-canoe {
    width: 30vw;
    max-width: 400px;
    top: 75%;
    left: 0%;
}

.decor-backpack-2 {
    width: 12vw;
    max-width: 180px;
    top: 85%;
    left: 60%;
}

.decor-fire-2 {
    width: 14vw;
    max-width: 200px;
    top: 45%;
    left: 45%;
}

@media screen and (max-width: 760px) {
    .decor-tent {
        width: 70vw;
        top: 2%;
    }

    .decor-icon {
        opacity: 0.06 !important;
    }

    .decor-fire {
        width: 50vw;
        top: 40%;
        opacity: 0.09 !important;
    }

    .decor-fire-2 {
        width: 45vw;
    }

    .decor-canoe {
        width: 50vw;
        top: 90%;
    }
}

/* Footer Section */
footer {
    background: rgba(15, 61, 42, 0.85);
    color: white;
    padding: 80px 5% 40px;
    position: relative;
    margin-top: auto;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 10;
}

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

.footer-col h4 {
    color: var(--accent);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-col p {
    opacity: 0.8;
    margin-bottom: 15px;
    line-height: 1.8;
}

.footer-col a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 12px;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-col a:hover {
    opacity: 1;
    color: var(--accent);
    transform: translateX(5px);
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.5;
    font-size: 0.85rem;
}

@media screen and (max-width: 760px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    footer .logo {
        justify-content: center !important;
    }
}