﻿/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    --primary: #f5a623;       /* Sunset Orange from Logo */
    --primary-hover: #e0910f;
    --dark: #222222;          /* Dark Grey/Black */
    --whatsapp: #25d366;      /* WhatsApp Green */
    --whatsapp-hover: #128c7e;
    --light: #f8f9fa;         /* Light Grey Background */
    --text: #444444;
    --white: #ffffff;
    --navy: #1c1c1c; /* Dark color for footer to match logo */
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    color: var(--primary);
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: underline;
    opacity: 0.85;
}

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

/* Typography Utilities */
.section-title {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 2.5rem;
}

.serif-title {
    font-family: "Playfair Display", serif;
}

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

.text-primary {
    color: var(--primary);
}

.bg-light { background-color: var(--light); }
.bg-white { background-color: var(--white); }
.bg-navy { background-color: var(--navy); }

/* =========================================
   2. NAVIGATION BAR
   ========================================= */
.navbar {
    background-color: rgba(255,255,255,0.10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,0.18);
    padding: 0.5rem 0;
    position: fixed; /* Changed from sticky to fixed for overlay effect */
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allows wrapping on very small screens */
    position: relative; /* For positioning context */
    gap: 1rem;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.871);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-bottom-color: rgba(17,17,17,0.06);
}
.navbar.scrolled .logo, .navbar.scrolled .nav-links a {
    color: var(--dark);
}

.logo-img {
    max-height: 46px;
    width: auto;
    display: block;
    transition: max-height 0.4s ease;
}
/* On the homepage, the logo is large before scrolling */
.navbar:not(.scrolled) .logo-img {
    max-height: 110px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white); /* White text on transparent nav */
    text-decoration: none;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    position: static;
    transform: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--white); /* White text on transparent nav */
    font-weight: 600;
    font-size: 0.92rem;
    transition: var(--transition);
    white-space: nowrap;
}

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

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
    color: var(--primary);
}

body.inner-page .navbar:not(.scrolled) {
    background-color: rgba(17, 17, 17, 0.20);
    border-bottom-color: rgba(255,255,255,0.12);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

body.inner-page .navbar:not(.scrolled) .logo-img {
    max-height: 58px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem; /* Space between nav links and button */
    margin-left: auto;
}

.nav-cta {
    display: flex;
}

.nav-toggle {
    display: none; /* Hidden on desktop */
    z-index: 1001;
    position: relative; /* Ensures the toggle button (and 'X' icon) appears above the slide-out menu */
}

.navbar.scrolled .nav-cta .btn-primary {
    background-color: transparent;
    color: var(--primary);
    box-shadow: inset 0 0 0 2px var(--primary);
}

.navbar.scrolled .nav-cta .btn-primary:hover {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: none;
}

/* =========================================
   3. BUTTONS & HERO SECTION
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

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

.btn-ghost {
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.75);
    background-color: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
}

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

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

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

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 150px; /* Increased offset for taller initial navbar on homepage */
    box-sizing: border-box; /* Include padding in height calculation */
    background-image: url('Images/safari_lion_hero.jpeg'); /* Default for desktop/tablet */
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.78), rgba(0,0,0,0.35) 58%, rgba(0,0,0,0.15));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.hero-brand {
    font-family: "Playfair Display", serif;
    font-size: 1.45rem;
    margin-bottom: 0.25rem;
}

.hero-tagline {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-content h1 {
    font-family: "Playfair Display", serif;
    font-size: 3.2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-content .hero-brand {
    font-family: "Playfair Display", serif;
    font-size: 1.45rem;
    margin-bottom: 0.25rem;
}

.hero-content .hero-tagline {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Inner Page Hero */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    background-color: #1b1d18;
    background-image: url('Images/safari_lion_hero.jpeg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding-top: 90px;
    overflow: hidden;
    isolation: isolate;
    background-attachment: scroll;
}

@media (min-width: 1200px) {
    .page-hero {
        height: 54vh;
        min-height: 470px;
    }
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(9,12,10,0.40) 0%, rgba(9,12,10,0.14) 52%, rgba(9,12,10,0.05) 100%);
    z-index: 0;
}

.page-hero::after {
    display: none;
}

.page-hero .hero-overlay {
    display: none;
}

.page-hero-about { background-image: url('Images/lion_closeup_profile.jpeg'); background-position: center 44%; }
.page-hero-blog { background-image: url('Images/lioness_wildlife_closeup.jpeg'); background-position: center 44%; }
.page-hero-contact { background-image: url('Images/savannah_lion_evening.jpeg'); background-position: center 38%; }
.page-hero-destinations { background-image: url('Images/lion_safari_approach.jpeg'); background-position: center 46%; }
.page-hero-itineraries { background-image: url('Images/lion_male_portrait.jpeg'); background-position: center 42%; }
.page-hero-package { background-image: url('Images/lion_male_portrait.jpeg'); background-position: center 42%; }
.page-hero-mara { background-image: url('Images/masai_mara_lion_hero.jpeg'); background-position: center 48%; }
.page-hero-amboseli { background-image: url('Images/amboseli_elephant_herd.jpeg'); background-position: center 43%; }
.page-hero-tsavo { background-image: url('Images/tsavo_lion_scene.jpeg'); background-position: center 50%; }
.page-hero-diani { background-image: url('Images/diani_coastal_retreat.jpeg'); background-position: center 44%; }

.page-hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin-top: 1rem;
    padding: 1.25rem 1.5rem;
    text-align: left;
    background: rgba(9,12,10,0.42);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 12px;
    box-shadow: 0 10px 26px rgba(9,12,11,0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: hero-content-in 0.7s ease-out both;
}

.page-hero-destinations .hero-content {
    width: min(100%, 980px);
    max-width: 980px;
    margin: 0 auto;
    padding: 1.35rem 1.65rem 1.65rem;
    background: rgba(9,12,10,0.42);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.page-hero-about .hero-content,
.page-hero-blog .hero-content,
.page-hero-contact .hero-content,
.page-hero-destinations .hero-content,
.page-hero-itineraries .hero-content {
    border-radius: 14px;
}

.page-hero {
    animation: none;
}

@keyframes hero-content-in {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-image-drift {
    from { background-position: center center; }
    to { background-position: center center; }
}

.page-hero .hero-content::before {
    content: "";
    display: block;
    width: 54px;
    height: 4px;
    margin-bottom: 1.25rem;
    background: var(--primary);
    border-radius: 999px;
}

.page-hero .hero-content h1 {
    color: var(--white);
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 3.8vw, 3.25rem);
    line-height: 1.05;
    text-shadow: 0 3px 22px rgba(0,0,0,0.62);
}

.page-hero .hero-content p {
    max-width: 580px;
    margin-top: 1rem;
    color: rgba(255,255,255,0.94);
    font-size: 0.92rem;
    font-weight: 500;
}

.page-hero-itineraries { background-image: url('Images/flight_airstrip_scene.jpeg'); }

.package-page-intro {
    max-width: 880px;
    margin-bottom: 4rem;
}

.page-hero .hero-content .serif-title,
.page-hero .hero-content h1,
.page-hero .hero-content p {
    text-shadow: 0 3px 22px rgba(0,0,0,0.62);
}

.package-page-intro .section-title {
    max-width: 780px;
    margin: 0 auto;
    font-family: "Playfair Display", serif;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 700;
    line-height: 1.2;
}

@media (prefers-reduced-motion: reduce) {
    .page-hero,
    .page-hero .hero-content {
        animation: none;
    }
}

/* Left-align hero content on larger screens to reduce cramped centered text */
.hero-left { text-align: left; }
@media(min-width: 992px) {
    .hero-left { margin-left: 4%; }
}

@media(min-width: 768px) {
    .hero-content .hero-brand { font-size: 1.35rem; }
    .hero-content p { font-size: 1.05rem; }
    .page-hero {
        height: 52vh;
        min-height: 430px;
        max-height: 600px;
    }
}

@media(min-width: 1200px) {
    .page-hero {
        background-size: cover;
    }
}

/* =========================================
   4. LAYOUT GRIDS (ABOUT, DESTINATIONS, CONTACT)
   ========================================= */
.section {
    padding: 5rem 0;
}

.grid {
    display: grid;
    gap: 2rem;
}

/* About Layout */
.about-layout {
    display: grid;
    gap: 3rem;
    align-items: center;
    max-width: 1500px;
}

@media(min-width: 768px) {
    .about-layout { grid-template-columns: repeat(2, 1fr); }
}

.about-text h2 {
    color: var(--dark);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.about-text h3 {
    color: var(--dark);
    margin-bottom: 0.75rem;
}

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

.about-list li {
    margin-bottom: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.1rem;
    background-color: var(--light);
    border-radius: var(--border-radius);
    border-left: 3px solid var(--primary);
    transition: var(--transition);
}

.about-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.about-list h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.2rem;
}

.about-list p {
    margin: 0;
    line-height: 1.4;
}

.about-founder-card {
    position: relative;
    margin: 0.5rem 0 0.5rem;
    padding: 1.5rem 1.75rem 1.25rem;
    background: linear-gradient(180deg, #fffdf9 0%, #f7f2e6 100%);
    border: 1px solid #efe4d0;
    border-left: 4px solid var(--primary);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 28px rgba(27, 20, 10, 0.06);
}

.about-founder-quote-icon {
    display: block;
    color: var(--primary);
    font-size: 1.4rem;
    opacity: 0.5;
    margin-bottom: 0.6rem;
}

.about-founder-card p {
    margin-bottom: 0.7rem;
}

.about-founder-card p:last-child {
    margin-bottom: 0;
}

.rounded-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.about-image .rounded-img {
    aspect-ratio: 5 / 6;
    object-position: center top;
}

.about-image-caption {
    margin: 0.85rem 0 0;
    text-align: center;
    font-family: "Playfair Display", serif;
    font-size: 1.1rem;
    color: var(--dark);
}

.about-image-caption span {
    display: block;
    font-family: "Poppins", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary);
    margin-top: 0.2rem;
}

/* Cards (Destinations) */
@media(min-width: 768px) {
    .card-grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden; /* Changed back to hidden to clip image */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card-img {
    position: relative;
    height: 220px;
    background-size: cover;
    background-position: center;
}

.card-body {
    padding: 1.5rem;
}

.card-body h3 {
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.card-link {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}
.card-link:hover {
    color: var(--primary-hover);
    transform: translateX(3px);
    text-decoration: underline;
}

.card-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 5;
}

/* =========================================
   5. REUSABLE COMPONENTS
   ========================================= */
.subtitle-caps {
    color: var(--primary);
    font-size: 0.85rem;
    letter-spacing: 3px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.centered-box {
    max-width: 550px;
    margin: 0 auto;
    text-align: center;
}

.centered-box p {
    justify-content: center;
}
.icon-circle-small {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    background-color: var(--primary); /* A new icon for the updated section */
}

/* =========================================
   6. WHY CHOOSE US SECTION
   ========================================= */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-us-card {
    background: var(--white);
    border: 1px solid #f0f0f0;
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
}

.why-us-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.07);
    border-color: transparent;
}

.why-us-card h3 {
    color: var(--dark);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.icon-circle-large {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    background-color: #fef5e7; /* Lighter shade of primary */
}

/* =========================================
   7. BLOG / TESTIMONIALS SECTION
   ========================================= */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-left: 4px solid var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text);
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin: 0;
    color: var(--dark);
    font-size: 1.1rem;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--text);
}

/* =========================================
   8. CONTACT & MAP SECTION
   ========================================= */
.contact-layout {
    display: grid;
    gap: 2rem;
    align-items: start;
    grid-template-columns: 1fr;
}

@media(min-width: 900px) {
    .contact-layout {
        grid-template-columns: 1.15fr 1fr;
        gap: 2.5rem;
    }

    .contact-form-panel {
        position: sticky;
        top: 110px;
    }
}

.contact-cards-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    margin-bottom: 2rem;
}

.details-box {
    background-color: var(--light);
    padding: 2rem;
    border-radius: var(--border-radius);
    height: 100%;
}

.details-box h2 {
    color: var(--dark);
    margin-bottom: 1rem;
}

.details-box p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mt-2 { margin-top: 2rem; }

/* Styles for Full Contact Page */
.contact-info-panel {
    background: linear-gradient(180deg, #fffdf9 0%, #f7f2e6 100%);
    border: 1px solid #efe4d0;
    border-radius: 22px;
    padding: 2rem;
    box-shadow: 0 12px 35px rgba(27, 20, 10, 0.08);
}

.contact-info-panel h2 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    margin-bottom: 2rem;
    font-size: 1rem;
    max-width: 95%;
}

.contact-card {
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 1.1rem;
    row-gap: 0.35rem;
    align-items: start;
    background-color: var(--white);
    padding: 1.25rem 1.4rem;
    border-radius: var(--border-radius);
    border: 1px solid #f0f0f0;
    border-left-width: 4px;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.07);
}

.contact-card h3 {
    grid-column: 2;
    color: var(--dark);
    margin-bottom: 0;
    font-size: 1.05rem;
}

.contact-card p {
    grid-column: 2;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
}

.contact-card-icon {
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--white);
}

.contact-card .w-100 {
    grid-column: 2;
    width: fit-content;
    justify-content: flex-start;
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
}

/* Icon & Border Colors */
.c-wa { background-color: var(--whatsapp); }
.border-wa { border-left-color: var(--whatsapp); }
.c-email { background-color: #6c757d; }
.border-email { border-left-color: #6c757d; }
.c-phone { background-color: var(--primary); }
.border-phone { border-left-color: var(--primary); }

.w-100 {
    width: 100%;
    justify-content: center;
}

.btn-dark-custom { background-color: #343a40; color: var(--white); }
.btn-dark-custom:hover { background-color: #23272b; }

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

.contact-details-panel {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-details-panel .details-box {
    background: linear-gradient(180deg, #fffaf1 0%, #f7f3eb 100%);
    border: 1px solid #e6dac2;
}

.contact-details-panel h3 {
    color: var(--dark);
    margin-bottom: 1rem;
}

.contact-page-form {
    margin-top: 0;
    max-width: 100%;
    padding: 1.5rem;
    background: rgba(255,255,255,0.9);
    border: 1px solid #eadfc6;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(40, 34, 23, 0.08);
}

.contact-page-form p {
    margin-bottom: 0.9rem;
}

.hp-field {
    display: none;
}

.form-toast {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3000;
    padding: 1rem 1.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--white);
    background-color: var(--whatsapp);
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    transform: translateY(-120%);
    transition: transform 0.4s ease;
}

.form-toast.show {
    transform: translateY(0);
}

.form-toast.form-toast-error {
    background-color: #d9534f;
}
/* =========================================
   9. FOOTER & FLOATING ACTIONS
   ========================================= */
footer {
    background-color: var(--navy);
    color: rgba(255,255,255,0.7);
    margin-top: auto;
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    gap: 2rem 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 2rem;
}

@media(min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media(min-width: 1024px) {
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; }
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-col h4 span {
    color: var(--primary);
}

.footer-links, .footer-contact-list {
    list-style: none;
}

.footer-links li,
.footer-contact-list li {
    margin-bottom: 0.8rem;
}

.footer-links a,
.footer-contact-list a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover,
.footer-contact-list a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.footer-links a:hover {
    padding-left: 5px;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-list i {
    color: var(--primary);
}
.footer-bottom { text-align: center; font-size: 0.85rem; }

.footer-brand {
    margin-bottom: 1rem;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-destinations-list {
    list-style: none;
    display: grid;
    gap: 0.6rem;
}

.footer-destinations-list li,
.footer-contact-list li {
    margin-bottom: 0.8rem;
}

.footer-legal-list {
    list-style: none;
    display: grid;
    gap: 0.7rem;
}

.footer-legal-list li {
    color: rgba(255,255,255,0.7);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.85rem;
}

.powered-by {
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    letter-spacing: 0.04em;
}

.powered-by span {
    color: var(--primary);
    font-weight: 700;
}

/* Floating WhatsApp Button */
.footer-logo {
    max-height: 70px;
    width: auto;
}

.floating-actions {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 2000;
}

.float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.8rem;
    background-color: var(--whatsapp);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: var(--transition);
    text-decoration: none;
}

.float-btn:hover {
    background-color: var(--whatsapp-hover);
    transform: scale(1.1);
}

/* =========================================
   10. LUXURY HOMEPAGE SECTIONS
   ========================================= */
.section-heading {
    max-width: 760px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-heading .section-title {
    margin-bottom: 1rem;
}

.destinations-section {
    background-color: #fbfaf7;
}

.destination-grid,
.itinerary-grid,
.blog-preview {
    display: grid;
    gap: 1.5rem;
}

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

.destinations-teaser-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 2.5rem 0 2.5rem;
}

@media(min-width: 768px) {
    .destinations-teaser-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.teaser-spot {
    position: relative;
    height: 200px;
    border-radius: var(--border-radius);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(0,0,0,0.14);
    transition: var(--transition);
}

.teaser-spot::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.05) 65%);
}

.teaser-spot:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.2);
    text-decoration: none;
}

.teaser-spot span {
    position: relative;
    z-index: 1;
    color: var(--white);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.destination-card {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: var(--border-radius);
    background-size: cover;
    background-position: center center;
    box-shadow: 0 18px 45px rgba(0,0,0,0.16);
}

.destination-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.72), rgba(0,0,0,0.18) 58%, rgba(0,0,0,0.02));
}

.beach-card {
    background-image: url('Images/diani_beach_scene.jpeg');
}

.destination-card-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    padding: 2rem;
    text-shadow: 0 2px 16px rgba(0,0,0,0.48);
}

.destination-card h3,
.itinerary-card h3,
.advantage-card h3,
.blog-preview h3 {
    color: var(--dark);
    line-height: 1.25;
}

.destination-card h3 {
    color: var(--white);
    font-size: 1.65rem;
    margin-bottom: 0.8rem;
}

.card-kicker,
.duration {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.card-kicker {
    color: var(--dark);
    background-color: var(--primary);
    margin-bottom: 1rem;
}

.destination-card .destination-card-content p,
.destination-card .destination-card-content .light-link {
    color: var(--white);
}

.destination-card .light-link {
    color: var(--white);
    margin-top: 1rem;
    text-shadow: 0 2px 16px rgba(0,0,0,0.48);
}

.standout {
    margin-top: 1rem;
}

.light-link {
    color: var(--white);
    margin-top: 1rem;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.light-link:hover {
    color: var(--primary);
    transform: translateX(3px);
    text-decoration: underline;
}

.itinerary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.package-directory {
    display: grid;
    gap: 3.5rem;
    margin-bottom: 3rem;
}

.package-category {
    border-top: 2px solid var(--primary);
    padding-top: 1.5rem;
}

.package-category .section-title {
    margin-bottom: 1.5rem;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.package-card {
    display: flex;
    flex-direction: column;
    min-height: 260px;
    padding: 1.5rem;
    background-color: var(--white);
    border: 1px solid #ece6dc;
    border-top: 4px solid var(--primary);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 28px rgba(0,0,0,0.05);
}

.package-card h3 {
    color: var(--dark);
    margin-bottom: 0.7rem;
}

.package-card p {
    margin-bottom: 1.2rem;
}

.package-card .card-link {
    margin-top: auto;
}

.package-detail {
    background: #fbfaf7;
}

.package-detail .section {
    padding-top: 4.5rem;
}

.package-detail-intro {
    max-width: 820px;
    margin: 0 auto 3rem;
    text-align: center;
}

.package-detail-intro h2 {
    margin: 0.75rem 0 1rem;
    color: var(--dark);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.12;
}

.package-route {
    color: var(--primary-hover);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.package-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
    gap: 2rem;
    align-items: start;
}

.package-panel,
.day-card {
    background: var(--white);
    border: 1px solid #ece6dc;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 28px rgba(0,0,0,0.05);
}

.package-panel {
    padding: 2rem;
}

.package-panel h3,
.day-card h3 {
    color: var(--dark);
    margin-bottom: 1rem;
}

.package-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.package-fact {
    padding: 1rem;
    background: #fff8ea;
    border-left: 3px solid var(--primary);
}

.package-fact strong,
.package-fact span {
    display: block;
}

.package-fact strong {
    color: var(--dark);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.package-fact span {
    margin-top: 0.25rem;
    font-weight: 600;
}

.package-detail .btn {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

.package-detail .package-panel .btn-ghost {
    color: var(--primary);
    border-color: rgba(245,166,35,0.8);
    background-color: rgba(245,166,35,0.08);
    backdrop-filter: none;
}

.package-detail .package-panel .btn-ghost:hover {
    color: var(--white);
    background-color: var(--primary);
}

.day-list {
    display: grid;
    gap: 1rem;
}

.day-card {
    padding: 1.5rem;
}

.day-card h3 {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 1.05rem;
}

.day-card h3 span {
    color: var(--primary-hover);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.day-card ul,
.package-panel ul {
    padding-left: 1.2rem;
}

.day-card li,
.package-panel li {
    margin-bottom: 0.55rem;
}

.itinerary-detailed {
    display: block;
}

.lodge-directory {
    margin: 3.5rem 0;
    padding-top: 2rem;
    border-top: 1px solid #ece6dc;
}

.lodge-directory .section-title {
    margin-bottom: 1.5rem;
}

.lodge-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.destination-detail-page .container {
    max-width: 1180px;
}

.destination-detail-page .container > h3 {
    margin-top: 2.1rem;
    margin-bottom: 0.8rem;
    padding-top: 1rem;
    border-top: 1px solid #ece6dc;
    color: var(--dark);
    font-size: 1.3rem;
}

.destination-detail-page .container > ul {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 1.1rem 1.25rem;
    background: #fffaf0;
    border: 1px solid #f2e5c9;
    border-left: 4px solid var(--primary);
    border-radius: 12px;
}

.destination-detail-page .container > ul li {
    position: relative;
    padding-left: 1.3rem;
    margin-bottom: 0.6rem;
}

.destination-detail-page .container > ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.destination-detail-page .container > a.btn {
    margin-top: 0.5rem;
}

.lodge-card {
    overflow: hidden;
    background-color: var(--white);
    border: 1px solid #ece6dc;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 28px rgba(0,0,0,0.05);
}

.lodge-card img {
    display: block;
    width: 100%;
    height: clamp(190px, 18vw, 260px);
    object-fit: cover;
    object-position: center;
}

.lodge-card div {
    padding: 1.15rem;
}

.lodge-card h3 {
    color: var(--dark);
    font-size: 1.05rem;
    line-height: 1.3;
    margin-bottom: 0.45rem;
}

.lodge-card p {
    font-size: 0.88rem;
}

.itinerary-card,
.advantage-card,
.blog-preview article {
    background-color: rgba(255,255,255,0.94);
    border-radius: var(--border-radius);
    border: 1px solid #ece6dc;
    box-shadow: 0 10px 28px rgba(0,0,0,0.05);
}

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

.featured-itinerary {
    border-top: 4px solid var(--primary);
}

.duration {
    color: var(--primary);
    background-color: #fff3dd;
    margin-bottom: 1.2rem;
}

.route {
    color: var(--primary);
    font-weight: 700;
    margin: 0.4rem 0 1rem;
}

.itinerary-card ul {
    list-style: none;
    margin: 1.2rem 0 1.5rem;
}

.itinerary-card li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.65rem;
}

.itinerary-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--primary);
}

.itinerary-card .card-link {
    margin-top: auto;
}

.custom-note {
    max-width: 820px;
    margin: 2rem auto 0;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.25rem;
}

.advantage-card {
    padding: 1.6rem 1.2rem;
    text-align: center;
}

.advantage-card .icon-circle-large {
    width: 64px;
    height: 64px;
    font-size: 1.45rem;
    margin-bottom: 1rem;
}

.advantage-card h3 {
    font-size: 1rem;
    margin-bottom: 0.65rem;
}

.advantage-card p {
    font-size: 0.9rem;
}

.about-teaser .rounded-img {
    aspect-ratio: 4 / 3;
    box-shadow: 0 20px 55px rgba(0,0,0,0.35);
}

.light-text,
.light-text h2 {
    color: var(--white);
}

.light-text p:not(.subtitle-caps) {
    color: rgba(255,255,255,0.78);
    margin-bottom: 1.2rem;
}

.blog-preview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-preview article {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.blog-preview h3 {
    margin-bottom: 0.2rem;
}

.blog-article {
    margin-top: 2rem;
    background: #fffdf8;
    border: 1px solid #efe4d0;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(31, 22, 8, 0.05);
}

.blog-article h3 {
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.blog-article p {
    margin-bottom: 1rem;
}

.blog-article ul {
    margin: 1rem 0 1.2rem 1.1rem;
    color: var(--text);
}

.blog-article li {
    margin-bottom: 0.5rem;
}

.inquiry-section {
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(0,0,0,0.70), rgba(0,0,0,0.38)),
        url('Images/mara_lion_pride_2.jpeg') center/cover;
}

.inquiry-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 3rem;
    align-items: start;
}

.inquiry-copy h2 {
    color: var(--white);
    font-family: "Playfair Display", serif;
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.inquiry-copy > p:not(.subtitle-caps) {
    max-width: 680px;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.82);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
    max-width: 420px;
}

.contact-grid div {
    padding: 1.2rem;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--border-radius);
    background-color: rgba(255,255,255,0.05);
}

.contact-grid span {
    display: block;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.55rem;
    text-transform: uppercase;
}

.contact-grid a {
    display: block;
    color: var(--white);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-grid a:hover {
    color: var(--primary);
}

.inquiry-form {
    display: grid;
    gap: 0.7rem;
    padding: 1.6rem;
    color: var(--dark);
    background-color: rgba(255,255,255,0.94);
    border-radius: var(--border-radius);
    box-shadow: 0 20px 55px rgba(0,0,0,0.25);
}

.contact-page-form {
    margin-top: 1.5rem;
    max-width: 100%;
}

.inquiry-form p {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.inquiry-form label {
    color: var(--dark);
    font-size: 0.88rem;
    font-weight: 700;
}

.inquiry-form input,
.inquiry-form textarea {
    width: 100%;
    border: 1px solid #ddd5c8;
    border-radius: var(--border-radius);
    padding: 0.8rem 0.9rem;
    color: var(--dark);
    font: inherit;
    background-color: rgba(255,253,248,0.92);
}

.inquiry-form textarea {
    resize: vertical;
}

/* =========================================
   DETAILED ITINERARY STYLES
   ========================================= */

.itinerary-detailed {
    background-color: var(--white);
    border-radius: var(--border-radius);
    border: 1px solid #ece6dc;
    box-shadow: 0 10px 28px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    overflow: hidden;
}

.itinerary-collapsible {
    padding: 0;
}

.itinerary-toggle {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.itinerary-toggle:hover {
    background-color: #fef9f0;
}

.itinerary-preview {
    flex: 1;
    min-width: 0; /* Allow text truncation */
    cursor: pointer;
}

.itinerary-preview h3 {
    font-size: 1.6rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
    word-wrap: break-word;
}

.itinerary-subtitle {
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.itinerary-quick-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text);
}

.itinerary-quick-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.expand-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.8rem;
    font-size: 1.2rem;
    color: var(--primary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    flex-shrink: 0;
    border-radius: 4px;
}

.expand-btn:hover {
    color: var(--primary-hover);
    background-color: rgba(245, 166, 35, 0.1);
}

.expand-btn:active {
    transform: scale(0.95);
}

.expand-btn[aria-expanded="true"] {
    transform: rotate(180deg);
}

.itinerary-content {
    border-top: 1px solid #ece6dc;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 100%;
    }
}

.itinerary-header {
    padding: 1.5rem 2rem;
}

.itinerary-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--light);
    border-radius: 6px;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.meta-value {
    font-size: 0.95rem;
    color: var(--dark);
    line-height: 1.5;
}

.itinerary-days {
    padding: 2rem;
}

.itinerary-days h4 {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary);
}

.day-entry {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9e1d7;
}

.day-entry:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.day-entry h5 {
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.day-date {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.day-entry ul {
    list-style: none;
    margin: 1rem 0 1.2rem;
}

.day-entry li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.day-entry li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.day-entry > p {
    font-size: 0.9rem;
    color: var(--text);
    margin-top: 1rem;
}

.day-entry strong {
    color: var(--dark);
    font-weight: 600;
}

.package-coverage {
    padding: 2rem;
    border-top: 2px solid #e9e1d7;
}

.package-coverage h4 {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary);
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.coverage-col {
    padding: 1.5rem;
    border-radius: 6px;
    background-color: var(--light);
}

.coverage-col.includes {
    border-left: 4px solid #27ae60;
}

.coverage-col.excludes {
    border-left: 4px solid #e74c3c;
}

.coverage-col h5 {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--dark);
}

.coverage-col ul {
    list-style: none;
}

.coverage-col li {
    position: relative;
    padding-left: 1.3rem;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.coverage-col.includes li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.coverage-col.excludes li::before {
    content: "✖";
    position: absolute;
    left: 0;
    color: #e74c3c;
    font-weight: bold;
}

.investment-box {
    background: linear-gradient(135deg, #2c3e3c 0%, #1c2c2a 100%);
    padding: 2rem;
    border-radius: 6px;
    text-align: right;
    color: var(--white);
}

.investment-box h5 {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.investment-note {
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.investment-amount {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
}

.booking-notes {
    margin-top: 0;
    padding: 1.5rem;
    background-color: #fef9f0;
    border-radius: 6px;
    border-left: 4px solid var(--primary);
    border-top: 1px solid #e9e1d7;
}

.booking-notes h5 {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--dark);
}

.booking-notes ul {
    list-style: none;
}

.booking-notes li {
    position: relative;
    padding-left: 1.3rem;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.booking-notes li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.itinerary-highlights {
    padding: 1.5rem 2rem;
    border-top: 1px solid #e9e1d7;
}

.itinerary-highlights h4 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--primary);
}

/* =========================================
   11. RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 992px) {
    .container {
        width: 92%;
    }

    /* --- Navigation --- */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--dark);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        transition: right 0.4s ease-in-out;
        z-index: 999;
        display: flex;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    }

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

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        width: 100%;
        /* Reset positioning for mobile menu */
        position: static;
        transform: none;
    }

    .navbar .nav-menu .nav-links a {
        color: var(--white);
        font-size: 1.2rem;
    }
    .navbar .nav-menu .nav-links a.active, 
    .navbar .nav-menu .nav-links a:hover {
        color: var(--primary);
    }

    .nav-cta {
        margin-top: 2.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255,255,255,0.1);
        width: 100%;
    }
    .nav-cta .btn {
        width: 100%;
        justify-content: center;
        background-color: var(--primary);
        color: var(--white);
        box-shadow: none;
    }

    /* Ensure the button style in the mobile menu is not affected by scroll */
    .navbar.scrolled .nav-cta .btn-primary {
        background-color: var(--primary);
        color: var(--white);
        box-shadow: none;
    }

    /* Hamburger Toggle Button */
    .nav-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
    }

    .hamburger {
        display: block;
        position: relative;
        width: 25px;
        height: 2px;
        background-color: var(--white);
        transition: all 0.3s ease-in-out;
    }
    .navbar.scrolled .hamburger {
        background-color: var(--dark);
    }
    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        left: 0;
        width: 25px;
        height: 2px;
        background-color: var(--white);
        transition: all 0.3s ease-in-out;
    }
    .navbar.scrolled .hamburger::before,
    .navbar.scrolled .hamburger::after {
        background-color: var(--dark);
    }

    .hamburger::before { top: -8px; }
    .hamburger::after { top: 8px; }

    /* Hamburger animation to 'X' */
    .nav-toggle.active .hamburger { background-color: transparent; }
    .nav-toggle.active .hamburger::before { transform: rotate(45deg); top: 0; background-color: var(--white); }
    .nav-toggle.active .hamburger::after { transform: rotate(-45deg); top: 0; background-color: var(--white); }

    /* --- Typography & Spacing --- */
    .hero-content h1 { font-size: 2.8rem; }
    .hero { min-height: 100vh; }
    .page-hero { height: 44vh; }
    .hero .hero-content {
        width: 90%;
        padding: 1.35rem 1.25rem;
    }
    .page-hero .hero-content {
        width: 90%;
        padding: 0.95rem 1.25rem;
    }
    .page-hero .hero-content h1 { font-size: 1.95rem; }
    .section-title { font-size: 1.8rem; margin-bottom: 2rem; }
    .section { padding: 3.5rem 0; }

    .destination-grid,
    .itinerary-grid,
    .package-grid,
    .lodge-grid,
    .blog-preview,
    .package-detail-layout,
    .inquiry-layout {
        grid-template-columns: 1fr;
    }

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

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

    .destination-card {
        min-height: 560px;
    }

    .lodge-card img {
        height: 260px;
    }

    .inquiry-copy h2 {
        font-size: 2.35rem;
    }

    /* On mobile, put image on top for the "Why Travel With Us" section */
    #about .about-layout .about-image {
        order: -1;
    }

    /* Responsive: Detailed Itinerary */
    .itinerary-detailed {
        padding: 1.5rem;
    }

    .itinerary-meta {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }

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

    .day-entry h5 {
        flex-direction: column;
        align-items: flex-start;
    }

    .day-date {
        margin-top: 0.5rem;
    }

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

    /* Responsive: Collapsible Itinerary Cards */
    .itinerary-toggle {
        flex-wrap: wrap;
        padding: 1.2rem;
        gap: 0.8rem;
    }

    .itinerary-preview {
        width: 100%;
        order: 1;
    }

    .itinerary-preview h3 {
        font-size: 1.3rem;
    }

    .itinerary-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }

    .itinerary-quick-meta {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .itinerary-quick-meta span {
        white-space: normal;
    }

    .expand-btn {
        order: 2;
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        align-self: flex-start;
        margin-top: 0.5rem;
    }

    .itinerary-meta {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }

    .meta-label {
        font-size: 0.7rem;
    }

    .meta-value {
        font-size: 0.88rem;
    }

    .itinerary-days {
        padding: 1.2rem;
    }

    .itinerary-days h4 {
        font-size: 1rem;
    }

    .day-entry {
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .day-entry h5 {
        font-size: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .day-date {
        font-size: 0.8rem;
    }

    .day-entry li {
        font-size: 0.9rem;
        padding-left: 1.2rem;
    }

    .day-entry ul {
        margin: 0.8rem 0 1rem;
    }

    .package-coverage {
        padding: 1.2rem;
    }

    .package-coverage h4 {
        font-size: 1rem;
    }

    .coverage-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .coverage-col {
        padding: 1rem;
    }

    .coverage-col h5 {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }

    .coverage-col li {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .investment-box {
        padding: 1.5rem;
        text-align: center;
    }

    .investment-box h5 {
        font-size: 0.8rem;
    }

    .investment-note {
        font-size: 0.75rem;
    }

    .investment-amount {
        font-size: 1.8rem;
    }

    .booking-notes {
        padding: 1rem;
        margin-top: 0;
    }

    .booking-notes h5 {
        font-size: 0.85rem;
    }

    .booking-notes li {
        font-size: 0.85rem;
    }

    .itinerary-highlights {
        padding: 1rem 1.2rem;
    }

    .itinerary-highlights h4 {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }
}

/* Tablet breakpoint for better itinerary display */
@media (min-width: 481px) and (max-width: 768px) {
    .itinerary-toggle {
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem;
    }

    .itinerary-preview {
        flex: 1;
    }

    .itinerary-preview h3 {
        font-size: 1.5rem;
    }

    .itinerary-quick-meta {
        gap: 1.2rem;
        font-size: 0.9rem;
        flex-wrap: wrap;
    }

    .expand-btn {
        width: 46px;
        height: 46px;
        min-width: 46px;
        min-height: 46px;
    }

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

    .day-entry h5 {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .day-date {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .hero {
        background-image: url('Images/tsavo_wildlife_road.jpeg'); /* Specific image for phones */
    }

    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }
    .hero-content .hero-brand { font-size: 1.15rem; }
    .hero-content .hero-tagline { font-size: 0.78rem; letter-spacing: 2px; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .destination-card { min-height: 560px; }
    .destination-card-content,
    .itinerary-card,
    .blog-preview article,
    .inquiry-form {
        padding: 1.3rem;
    }
    .advantage-grid { grid-template-columns: 1fr; }
    .inquiry-copy h2 { font-size: 2rem; }
    .page-hero .hero-content h1 { font-size: 1.7rem; }
    .page-hero .hero-content p { font-size: 0.84rem; }
    .logo-img { max-height: 55px; }
    .floating-actions { bottom: 1rem; right: 1rem; }

    /* On mobile homepage, keep logo large until scroll */
    .navbar:not(.scrolled) .logo-img {
        max-height: 110px;
    }

    /* Center quote button on itineraries page for mobile */
    .custom-note + .btn {
        display: block;
        margin: 1.5rem auto 0;
        width: fit-content;
    }
}

.itineraries-page .itinerary-photo-banner {
    width: 100%;
    overflow: hidden;
}

.itineraries-page .itinerary-photo-banner img {
    display: block;
    width: 100%;
    height: clamp(200px, 27vw, 360px);
    object-fit: cover;
    object-position: center 42%;
}

.itinerary-page-heading {
    padding: 2.5rem 0 2rem;
    color: var(--dark);
    background: #fff;
}

.itinerary-page-heading .subtitle-caps {
    margin-bottom: 0.7rem;
}

.itinerary-page-heading h1 {
    max-width: 820px;
    margin-bottom: 0.65rem;
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    line-height: 1.15;
}

.itinerary-page-heading p:last-child {
    max-width: 680px;
}

.itineraries-page .package-page-intro {
    margin-bottom: 2.5rem;
}

.itinerary-options {
    display: grid;
    gap: 1.75rem;
}

.itinerary-option {
    display: grid;
    grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.35fr);
    background: #fff;
    border: 1px solid #e5e2d9;
    border-radius: 6px;
    box-shadow: 0 12px 30px rgba(26, 35, 28, 0.08);
}

.itineraries-page .itinerary-collapsible {
    overflow: clip;
    border: 1px solid #e5e2d9;
    border-radius: 8px;
}

.itinerary-option-visual {
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin: 0;
    padding: 0;
    background: #e8ebe4;
}

.itinerary-option-visual img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
}

.itinerary-option-body {
    min-width: 0;
    padding: 1.5rem 2rem 2rem;
    color: var(--text);
    background: #fff;
}

.itinerary-option > .itinerary-content {
    grid-column: 1 / -1;
}

.itinerary-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.25rem;
    padding: 0.85rem 0;
    margin-bottom: 1.35rem;
    border-top: 1px solid #e9e6de;
    border-bottom: 1px solid #e9e6de;
    color: #4d584e;
    font-size: 0.88rem;
    font-weight: 600;
}

.itinerary-option-body h4 {
    margin-bottom: 0.55rem;
    color: var(--dark);
    font-size: 0.95rem;
}

.itinerary-option-body ul {
    padding-left: 1.2rem;
    margin: 0;
}

.itinerary-option-body li {
    margin-bottom: 0.48rem;
    line-height: 1.55;
}

.itinerary-option-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 1.35rem 0;
}

.transport-note {
    padding: 0.85rem 1rem;
    margin: 1.25rem 0;
    border-left: 3px solid var(--primary);
    background: #f5f5ef;
    line-height: 1.55;
}

.itinerary-days-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.4rem;
}

.itinerary-day {
    padding: 0.9rem 1rem;
    border-left: 2px solid var(--primary);
    background: #f5f5ef;
}

.itinerary-day h4 {
    margin-bottom: 0.35rem;
    color: #79562b;
}

.itinerary-day p,
.optional-add-on p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.optional-add-on {
    align-self: start;
    padding: 1rem;
    background: #f5f5ef;
}

.honeymoon-inclusions {
    margin: 1.35rem 0;
}

.itinerary-option-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.25rem;
    margin-top: 1.25rem;
    border-top: 1px solid #e9e6de;
}

.itinerary-price {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin: 0;
    color: var(--dark);
}

.itinerary-price strong {
    color: #76562e;
    font-size: 1.65rem;
    line-height: 1.15;
}

.itinerary-price span {
    font-size: 0.86rem;
}

.footer-tagline {
    margin: 0.85rem 0 0.45rem;
    color: var(--primary);
    font-weight: 700;
}

.itineraries-page .footer-contact-list a {
    overflow-wrap: anywhere;
}

.more-itineraries-heading {
    margin-top: 4rem;
}

.itineraries-page .legacy-itinerary {
    padding: 0;
}

.legacy-itinerary-image {
    height: 230px;
    margin: 0;
    overflow: hidden;
    background: #e8ebe4;
}

.legacy-itinerary-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.legacy-itinerary .itinerary-toggle {
    padding: 1.5rem 2rem;
}

@media (max-width: 760px) {
    .itinerary-option {
        grid-template-columns: 1fr;
        overflow: hidden;
    }

    .itineraries-page .legacy-itinerary {
        grid-template-columns: 1fr;
    }

    .itinerary-option-visual {
        min-height: 0;
    }

    .itinerary-option-visual img {
        height: 240px;
    }

    .itinerary-option-body {
        padding: 1.4rem;
    }

    .legacy-itinerary-image {
        height: 210px;
    }

    .legacy-itinerary .itinerary-toggle {
        padding: 1.2rem;
    }
}

@media (max-width: 520px) {
    .itinerary-page-heading {
        padding: 1.75rem 0 1.25rem;
    }

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

    .itinerary-option-columns,
    .itinerary-days-list {
        grid-template-columns: 1fr;
    }

    .itinerary-option-bottom {
        align-items: stretch;
    }

}

@media (min-width: 761px) {
    .itinerary-option-visual {
        position: sticky;
        top: 100px;
        align-self: start;
        height: 260px;
        overflow: hidden;
    }

    .itinerary-option-visual img {
        height: 260px;
        object-fit: cover;
    }

    .itineraries-page .legacy-itinerary {
        display: grid;
        grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.35fr);
    }

    .legacy-itinerary-image {
        align-self: start;
        height: 260px;
    }

    .legacy-itinerary-image img {
        object-fit: cover;
    }

    .legacy-itinerary .itinerary-content {
        grid-column: 1 / -1;
    }
}

.page-hero.page-hero-photo-only {
    display: block;
    height: clamp(260px, 34vw, 420px);
    min-height: 0;
    padding: 0;
    background-size: cover;
    background-repeat: no-repeat;
}

.page-hero.page-hero-photo-only::before {
    display: none;
    content: none;
}

.page-hero.page-hero-photo-only .hero-overlay {
    display: none;
}

.page-hero-copy {
    padding: 1.5rem 0 1.75rem;
    color: var(--dark);
    background: #fff;
}

.page-hero-copy h1 {
    margin: 0 0 0.65rem;
    color: var(--dark);
    font-family: "Playfair Display", serif;
    font-size: 2.35rem;
    line-height: 1.15;
}

.page-hero-copy p {
    max-width: 760px;
    margin: 0;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.55;
}

.page-hero-copy .hero-tagline {
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

@media (max-width: 760px) {
    .page-hero.page-hero-photo-only {
        height: 260px;
    }

    .page-hero-copy {
        padding: 1.25rem 0 1.5rem;
    }

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

/* =========================================
   FAQ SECTION (SEO content block)
   ========================================= */
.faq-section {
    background-color: var(--light);
}

.faq-list {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.faq-item {
    background-color: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item[open] {
    border-color: rgba(245, 166, 35, 0.55);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
}

.faq-item summary {
    position: relative;
    display: block;
    padding: 1.25rem 3.5rem 1.25rem 1.5rem;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::marker {
    content: "";
}

.faq-item summary h3 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--dark);
    transition: var(--transition);
}

.faq-item summary:hover h3 {
    color: var(--primary);
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 1.4rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1;
    color: var(--primary);
}

.faq-item[open] summary::after {
    content: "\2013";
}

.faq-item p {
    margin: 0;
    padding: 0 1.5rem 1.4rem;
    color: var(--text);
    line-height: 1.75;
    font-size: 0.97rem;
}

@media (max-width: 600px) {
    .faq-item summary {
        padding: 1.05rem 3rem 1.05rem 1.15rem;
    }

    .faq-item summary h3 {
        font-size: 0.97rem;
    }

    .faq-item p {
        padding: 0 1.15rem 1.2rem;
        font-size: 0.94rem;
    }
}
