:root {
    --primary-color: #1B5E20;
    /* Deep Green - Navigation, headings, primary buttons, footer */
    --secondary-color: #263F9B;
    /* Royal Blue - Adventure sections, icons, highlights, secondary buttons */
    --accent-color: #C6AE70;
    /* Gold - Decorative lines, premium badges, subtle details */
    --light-bg: #F1F8F4;
    /* Light green-tinted - Services section background */
    --dark-text: #1A1A2E;
    --light-text: #fff;
    --transition: all 0.3s ease;
}

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

html,
body {
    max-width: 100%;
    overflow-x: clip;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

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

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

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

.btn-block {
    display: block;
    width: 100%;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

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

.divider {
    height: 4px;
    width: 80px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

/* Navigation */
.navbar {
    background-color: rgba(27, 94, 32, 0.95);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--light-text);
}

.logo-img {
    height: 80px;
    /* Adjust based on preference */
    width: auto;
    border-radius: 50%;
    /* Optional: if the logo is circular */
    border: 2px solid var(--primary-color);
}

.site-title {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.site-title-main,
.site-title-sub {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
}

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

.nav-link {
    color: var(--light-text);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
}

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

.btn-book {
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
}

.btn-book:hover {
    background-color: var(--accent-color);
    color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--light-text);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    margin-top: 0;
    /* Override if needed */
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.lead {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.mission-vision {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.mv-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-reach {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 30px 0 0;
    padding: 14px 18px;
    border-radius: 10px;
    background: rgba(25, 118, 74, 0.08);
    color: var(--secondary-color);
    font-size: 0.95rem;
    font-weight: 500;
}

.about-reach i {
    color: var(--primary-color);
    margin-top: 2px;
}

.core-values {
    margin-top: 45px;
}

.core-values .section-header {
    margin-bottom: 24px;
}

.core-values .section-header h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: 14px;
}

.value-card {
    background: #fff;
    padding: 18px 14px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.value-card i {
    font-size: 1.7rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.value-card h4 {
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.value-card p {
    font-size: 0.82rem;
    line-height: 1.45;
    color: #666;
    margin: 0;
}

/* Services Section */
.services {
    background-color: var(--light-bg);
}

.services .section-header {
    margin-bottom: 30px;
}

/* Services scroll without arrows; hide any controls left by cached HTML. */
.services-controls,
.services-nav {
    display: none !important;
}

.services-grid {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding: 4px;
    padding: 4px 4px 14px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
    -webkit-overflow-scrolling: touch;
}

.services-grid::-webkit-scrollbar {
    height: 6px;
}

.services-grid::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 999px;
}

.services-grid::-webkit-scrollbar-track {
    background: transparent;
}

.services-grid:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 3px;
    border-radius: 8px;
}

.services-grid.dragging {
    scroll-snap-type: none;
    cursor: grabbing;
    user-select: none;
}

.service-card {
    flex: 0 0 clamp(220px, 26vw, 280px);
    scroll-snap-align: start;
    background: #fff;
    padding: 20px 18px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.service-card h3 {
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.service-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Safari Packages */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 30px;
}

.package-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    background: #fff;
}

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

.package-img {
    height: 320px;
    position: relative;
    background: #eef2ee;
}

.package-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 700;
}

.package-info {
    padding: 20px;
}

.package-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 15px 0;
}

/* Destinations */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 20px;
}

.dest-card {
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.dest-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    transform: translateY(0);
    transition: var(--transition);
}

.dest-card:hover .dest-content {
    padding-bottom: 30px;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    height: 320px;
    object-fit: contain;
    background: #eef2ee;
    border-radius: 5px;
    transition: var(--transition);
}

.gallery-grid img:hover {
    transform: scale(1.02);
}

/* Booking */
.booking {
    background-color: var(--primary-color);
    color: #fff;
}

.booking .section-header h2 {
    color: var(--accent-color);
}

.booking-container {
    max-width: 800px;
    margin: 0 auto;
}

.booking-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

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

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.9);
    font-family: inherit;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr));
    gap: 10px;
    min-width: 0;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 5px;
    color: var(--dark-text);
}

.checkbox-group label {
    min-width: 0;
    overflow-wrap: anywhere;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 30px;
}

.testimonial-card {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-card h4 {
    color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: #1B5E20;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

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

.footer-col a {
    color: #ccc;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-icons a:hover {
    background: var(--accent-color);
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

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

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

/* Keep the booking form inside its container on tablets and small laptops. */
@media (max-width: 900px) {
    .booking-form {
        grid-template-columns: 1fr;
        padding: 28px;
    }

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar .container {
        padding: 0 20px;
    }

    .logo-img {
        height: 55px;
    }

    .site-title-main,
    .site-title-sub {
        font-size: 1.1rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(27, 94, 32, 0.98);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: 0.3s;
        padding-top: 50px;
    }

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

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-content {
        flex-direction: column;
    }

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

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

    .checkbox-group {
        grid-template-columns: 1fr 1fr;
    }
}

/* Gallery page */
.gallery-hero {
    background: linear-gradient(135deg, var(--primary-color), #04311f);
    color: #fff;
    padding: 150px 0 70px;
}

.gallery-hero .lux-eyebrow {
    color: var(--accent-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.gallery-hero h1 {
    font-size: 2.8rem;
    line-height: 1.15;
    margin-bottom: 12px;
}

.gallery-hero p:not(.lux-eyebrow) {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.85);
}

.gallery-page .gallery-grid {
    margin-top: 10px;
}

/* Compact homepage: less vertical space before the safari packages. */
.home .hero {
    height: 78vh;
    min-height: 560px;
}

.home .section {
    padding: 36px 0;
}

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

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

.home .about-content {
    align-items: flex-start;
    gap: 24px;
}

.home .about-text {
    flex: 1.15;
}

.home .about-image {
    flex: 0.85;
}

.home .about-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.home .lead {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.home #about-lead,
.home #about-body,
.home .mv-item p,
.home .value-card p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home .mission-vision {
    gap: 12px;
    margin-top: 14px;
}

.home .mv-item h3 {
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.home .mv-item p {
    font-size: 0.82rem;
    line-height: 1.4;
}

.home .about-reach {
    margin-top: 12px;
    padding: 8px 12px;
    font-size: 0.82rem;
}

.home .core-values {
    margin-top: 22px;
}

.home .core-values .section-header {
    margin-bottom: 12px;
}

.home .core-values .section-header h3 {
    font-size: 1.25rem;
}

.home .values-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(155px, 100%), 1fr));
    gap: 8px;
}

.home .value-card {
    padding: 10px 8px;
}

.home .value-card i {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.home .value-card h4 {
    font-size: 0.82rem;
    margin-bottom: 4px;
}

.home .value-card p {
    font-size: 0.72rem;
    line-height: 1.35;
}

.home .services {
    padding: 24px 0;
}

.home .services .section-header {
    margin-bottom: 8px;
}

.home .services-grid {
    gap: 10px;
    padding: 2px 2px 8px;
}

.home .service-card {
    flex: 0 0 clamp(180px, 18vw, 210px);
    display: grid;
    grid-template-columns: 22px 1fr;
    column-gap: 8px;
    align-items: center;
    min-height: 58px;
    padding: 8px 10px;
    text-align: left;
}

.home .service-card i {
    grid-row: span 2;
    align-self: center;
    font-size: 1rem;
    margin: 0;
}

.home .service-card h3 {
    font-size: 0.78rem;
    line-height: 1.15;
    margin: 0 0 2px;
}

.home .service-card p {
    margin: 0;
    font-size: 0.68rem;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home .destinations-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
    gap: 12px;
}

.home .dest-card {
    height: 150px;
}

.home .dest-content {
    padding: 10px 12px;
}

.home #destinations-note {
    margin-top: 12px;
    font-size: 0.82rem;
}

@media (max-width: 768px) {
    .home .hero {
        height: 62vh;
        min-height: 440px;
    }

    .home .section {
        padding: 28px 0;
    }

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

    .home .about-image {
        display: none;
    }

    .home #about-destinations-text,
    .home #destinations-note-text {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .home .value-card {
        padding: 8px 6px;
    }

    .home .value-card i {
        font-size: 1rem;
        margin-bottom: 2px;
    }

    .home .value-card h4 {
        font-size: 0.76rem;
    }

    .home .value-card p {
        font-size: 0.68rem;
        -webkit-line-clamp: 1;
    }

    .home .hero-content p {
        font-size: 1rem;
        margin-bottom: 18px;
    }

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

    .home .dest-card {
        height: 120px;
    }
}