/* HERO & VIDEO */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    z-index: 0;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

/* NAVIGATION */
nav {
    padding: 2vw 4vw;
    width: 100%;
    display: flex;
    position: fixed;
    z-index: 100;
    background: rgba(0, 0, 0, 0.3);
    justify-content: space-evenly;
}

.logo {
    width: 120px;
    height: auto;
}

#nav-part2 {
    display: flex;
    align-items: center;
    gap: 1vw;
}

#nav-part2 h4 {
    padding: 10px 20px;
    border: 1px solid #ffffff3c;
    border-radius: 50px;
    font-weight: 500;
    color: #ffffffd4;
    transition: all ease 0.4s;
    position: relative;
    font-size: 18px;
    overflow: hidden;
    cursor: pointer;
}

#nav-part2 h4::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: #d4a94f;
    left: 0;
    bottom: -100%;
    border-radius: 50%;
    transition: all ease 0.4s;
    z-index: 1;
}

#nav-part2 h4:hover::after {
    bottom: 0;
    border-radius: 0;
}

#nav-part2 h4 a {
    color: #fff;
    text-decoration: none;
    position: relative;
    z-index: 9;
}

.btn-top {
    background-color: #d4a94f;
    padding: 10px 20px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    border-radius: 3px;
}

/* HERO CONTENT */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3em;
    font-weight: bold;
    max-width: 900px;
    margin: auto;
    line-height: 1.3;
    font-family: 'Lagency', serif;
}

.btn-main {
    display: inline-block;
    margin-top: 20px;
    background-color: #d4a94f;
    padding: 15px 30px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
}

/* HAMBURGER 3 DOTS */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 101;
}

.hamburger span {
    width: 39px;
    height: 4px;
    background: #fff;
    display: block;
}

.foo {
    display: flex;
}

/* Global responsive tweaks */
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Common heading and layout adjustments on small screens */
.hero-content h1 {
    margin-top: 0 !important;
     font-size: clamp(1.2rem, 1.6vw + 0.8rem, 2.2rem);  
}

.image-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    grid-auto-rows: minmax(120px, auto);
    gap: 6px;
}

#page-safaris {
    gap: 16px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    nav {
        padding: 2vw 4vw;
        width: 100%;
        display: flex;
        position: fixed;
        z-index: 100;
        background: rgba(0, 0, 0, 0.3);
        flex-direction: row;
        justify-content: space-between;
    }

    .hamburger {
        display: flex;
        /* show dots on mobile */
    }

    #nav-part2 {
        position: fixed;
        top: 0;
        right: -200px;
        width: 180px;
        /* narrow panel */
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 15px 20px;
        gap: 10px;
        transition: right 0.3s ease;
        z-index: 100;
    }

    #nav-part2.active {
        right: 0;
    }

    #nav-part2 h4 {
        width: 100%;
        text-align: left;
        padding: 10px 0;
        border: none;
        font-size: 16px;
    }

    .desktop-btn {
        display: none;
        /* hide big button in nav */
    }

    .mobile-btn {
        display: inline-block;
        margin-top: 20px;
        background-color: #d4a94f;
        padding: 10px 15px;
        text-decoration: none;
        color: white;
        font-weight: bold;
        border-radius: 3px;
        width: 100%;
        text-align: center;
    }
}


/* ///////////////////////////// */

@media (max-width: 480px) {


    .hero {
        position: relative;
        height: 65vh;
        width: 100%;
        overflow: hidden;
        z-index: 0;
    }

}
/* ///////////////////////////// */
@media (max-width: 768px) {
    nav {
          position: relative;
      
    }
}
/* /////////////sadani.html//////////////// */
@media (max-width: 768px) {
    nav {
        position: relative;

    }
    .overlay {
    /* max-width: 700px; */
    /* background: rgba(0, 0, 0, 0.4); */
    padding: 20px;
    /* border-radius: 8px; */
}
.about h3 {
    font-size: 35px;
    /* margin-bottom: 16px; */
    /* margin-top: 11%; */
}
.faq-content {
    /* flex: 1; */
    /* min-width: 400px; */
    /* max-width: 600px; */
    margin-left: 10px;
    /* margin-top: 5%; */
}
h1 {
    font-size: 30px;
   
}
.faq-images {
    display: flex
;
    flex-direction: column;
    gap: 20px;
    margin-right: 20px;
    margin-left: 50px;
    margin-top: 5%;
}
.a h3 {
    font-size: 30px;
    margin-bottom: 16px;
    margin-top: 1%;
    margin-bottom: 10%;
}
.activities-section {
    display: revert;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}
.katavi-hero h1 {
    font-size: 30px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 25px;
}
}
/* /////////////katavi.html//////////////// */
@media (max-width: 480px) {
    #page10 > h1 {
        font-size: 7vw;
        line-height: 3.2;
    }
   
    .faq-images {
        flex-direction: column;
            gap: 20px;
            margin-right: 20px;
            margin-left: 55px;
            margin-top: 5%;
        }
    }
        

    
/* /////////////mahale.html//////////////// */
@media (max-width: 768px) {
    .faq-images {
        /* display: flex
; */
        flex-direction: column;
        gap: 20px;
        margin-right: 20px;
        margin-left: 10px;
        margin-top: 5%;
    }
}
    .a h3 {
        font-size: 30px;
        margin-bottom: 16px;
        margin-top: 10%;
        margin-bottom: 10%;
    }

/* /////////////ngorongoro.html//////////////// */




/* /////////////zanzibare.html//////////////// */





/* /////////////lake.html//////////////// */
@media (max-width: 480px) {
    @media (max-width: 768px) {
        .faq-images {
            /* display: flex
; */
            flex-direction: column;
            gap: 20px;
            margin-right: 20px;
            margin-left: 65px;
            margin-top: 5%;
        }
    }
    @media (max-width: 768px) {
    .katavi-hero h1 {
        font-size: 25px;
        font-weight: bold;
        line-height: 1.4;
        margin-bottom: 25px;
    }
}

}
/* /////////////tarangire.html//////////////// */
@media (max-width: 480px) {
    .about h3 {
        font-size: 25px;
    }
    .faq-content h2 {
    font-size: 25px;
    margin-bottom: 30px;
}
}
/* /////////////nyre.......html//////////////// */
@media (max-width: 480px) {
    @media (max-width: 768px) {
        .faq-images {
            /* display: flex
; */
            flex-direction: column;
            gap: 20px;
            margin-right: 20px;
            margin-left: 20px;
            margin-top: 5%;
        }
    }
}
    
/* /////////////ruaha.html//////////////// */
@media (max-width: 480px) {
    @media (max-width: 768px) {
        .faq-images {
            /* display: flex
; */
            flex-direction: column;
            gap: 20px;
            margin-right: 20px;
            margin-left: 60px;
            margin-top: 5%;
        }
    }
}
@media (max-width: 480px) {
    @media (max-width: 768px) {
        .faq-images {
            /* display: flex
; */
            flex-direction: column;
            gap: 20px;
            margin-right: 20px;
            margin-left: 20px;
            margin-top: 5%;
        }
    }
}
@media (max-width: 480px) {
    .activity img {
        width: 200px;
        height: 200px;
    }
}
@media (max-width: 480px) {
    @media (max-width: 768px) {
        .faq-images {
            /* display
In combination with 'float' and 'position', determines the type of box or boxes that are generated for an element.

Widely available across major browsers (Baseline since January 2018)
Learn more

Don't show
: flex
; */
            flex-direction: column;
            gap: 20px;
            margin-right: 70px;
            margin-left: 60px;
            margin-top: 5%;
        }
    }
}
@media (max-width: 480px) {
    @media (max-width: 768px) {
        .faq-images {
            flex-direction: column;
            gap: 20px;
            margin-right: 70px;
            margin-left: 10px;
            margin-top: 5%;
        }
    }
}
