/********** Template CSS **********/
:root {
    --primary: #d68b1b;
    --secondary: #FE8800;
    --light: #F5F5F5;
    --dark: #14141F;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 0px;
}


/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Nunito', sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: #FFFFFF !important;
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

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

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        /* border-top: 1px solid #DDDDDD;̣ */
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark) !important;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        /* border-bottom: 1px solid rgba(256, 256, 256, .1); */
        z-index: 999;
    }

    .sticky-top.navbar-light {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: calc(100% - 2px);
        left: 1px;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}


/** Hero Header **/
.vfull{
    height: 100vh;
}
.vfulls{
    height: 60vh;
    position: relative;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-header-hm {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(20, 20, 31, 0.35), rgba(20, 20, 31, 0.35));
}
.hero-header-hm::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 31, 0.45); /* slightly dark overlay */
    z-index: 1;
    pointer-events: none;
}
.hero-header-hm .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-header-hm > .container,
.hero-header-hm > .container-fluid,
.hero-header-hm .container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Common styles for all hero headers */
.hero-header-wildlife,
.hero-header-covid,
.hero-header-packages,
.hero-header-abouttz,
.hero-header-crater,
.hero-header-serengeti,
.hero-header-manyara,
.hero-header-insurance,
.hero-header-season,
.hero-header-book,
.hero-header-trekking,
.hero-header-manyaralake,
.hero-header-contacts {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    position: relative;
    padding: 6rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    height: 60vh;
}

/* Dark overlay for better text visibility */
.hero-header-wildlife::before,
.hero-header-covid::before,
.hero-header-packages::before,
.hero-header-abouttz::before,
.hero-header-crater::before,
.hero-header-serengeti::before,
.hero-header-manyara::before,
.hero-header-insurance::before,
.hero-header-season::before,
.hero-header-book::before,
.hero-header-trekking::before,
.hero-header-manyaralake::before,
.hero-header-contacts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(20, 20, 31, 0.5);
    pointer-events: none;
}

/* Ensure content is above the overlay */
.hero-header-wildlife *,
.hero-header-covid *,
.hero-header-packages *,
.hero-header-abouttz *,
.hero-header-crater *,
.hero-header-serengeti *,
.hero-header-manyara *,
.hero-header-insurance *,
.hero-header-season *,
.hero-header-book *,
.hero-header-trekking *,
.hero-header-manyaralake *,
.hero-header-contacts * {
    position: relative;
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .vfulls,
    .hero-header-wildlife,
    .hero-header-covid,
    .hero-header-packages,
    .hero-header-abouttz,
    .hero-header-crater,
    .hero-header-serengeti,
    .hero-header-manyara,
    .hero-header-insurance,
    .hero-header-season,
    .hero-header-book,
    .hero-header-trekking,
    .hero-header-manyaralake,
    .hero-header-contacts {
        height: 50vh;
        min-height: 300px;
        padding: 4rem 0;
    }
    .hero-header-hm {
        height: 60vh;
    }
    .hero-header-hm .hero-video {
        height: 60vh;
    }
}

.display-3 {
    position: relative;
    color: white;
    text-align: center;
    z-index: 1; /* Ensures content appears above the video */
}

.icon-container {
    margin: 100rem; /* Adds spacing between the icons */
}

.custom-icon {
    width: auto;
    height: 8rem;
    max-width: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .custom-icon {
        height: 6rem; /* Adjust size for smaller screens */
    }

    .icon-container {
        margin: 0.3rem; /* Reduce spacing on smaller screens */
    }
}

@media (max-width: 576px) {
    .custom-icon {
        height: 5rem; /* Further adjust size for extra-small screens */
    }

    .icon-container {
        margin: 0.2rem; /* Further reduce spacing for very small screens */
    }
}

.hero-header-wildlife {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url('../../img/today/pexels-alfred-gf-198265263-26781066.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-header-covid {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url('../../img/today/pexels-amy-chung-209788-672706.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-header-packages {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url('../../img/today/pexels-bruno-almeida-1423946545-269905081.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-header-abouttz {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url('../../img/today/pexels-bruno-almeida-1423946545-26990537.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-header-crater {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url('../../img/today/pexels-caseygeneallen-16066.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-header-serengeti {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url('../../img/today/pexels-denitsa-kireva-2915302-27042661.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-header-manyara {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url('../../img/today/pexels-dick-scholten-420532-1096789.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-header-insurance {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url('../../img/today/pexels-elena-blessing-355784-2674050.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-header-season {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url('../../img/today/pexels-elena-blessing-355784-2674052.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-header-book {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url('../../img/today/pexels-entumoto-26921840.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-header-trekking {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url('../../img/today/pexels-entumoto-26921854.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-header-manyaralake {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url('../../img/today/pexels-followalice-667201.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-header-contacts {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url('../../img/today/pexels-frans-van-heerden-201846-631292.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}




/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}


/*** Destination ***/
.destination img {
    transition: .5s;
}

.destination a:hover img {
    transform: scale(1.1);
}


/*** Package ***/
.package-item {
    background: #FFFFFF;
    transition: .5s;
    margin-bottom: 30px;
}

.package-item .overflow-hidden {
    height: 300px;  /* Fixed height for image container */
}

.img-fluid {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* This will maintain aspect ratio while covering the container */
}

.package-item img {
    transition: .5s;
}

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


/*** Booking ***/
.booking {
    background: linear-gradient(rgba(15, 23, 43, .7), rgba(15, 23, 43, .7)), url(../img/booking.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.team-item img {
    transition: .5s;
}

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

.team-item .btn {
    background: #FFFFFF;
    color: var(--primary);
    border-radius: 20px;
    border-bottom: 1px solid var(--primary);
}

.team-item .btn:hover {
    background: var(--primary);
    color: #FFFFFF;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

.whatsapp-float {
    position: fixed;
    bottom: 20px; /* Distance from the bottom of the screen */
    left: 20px;   /* Distance from the left of the screen */
    z-index: 1000;
    background-color: #25d366; /* WhatsApp green color */
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.whatsapp-float:hover {
    background-color: #1ebd57;
}

.whatsapp-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.whatsapp-float {
    animation: bounce 2s infinite;
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: normal;
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

.container, .container-fluid {
    max-width: 100vw;
    overflow-x: hidden;
}

@media (max-width: 576px) {
    html, body {
        max-width: 100vw;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }

    .container, .container-fluid {
        max-width: 100vw;
        overflow-x: hidden;
        padding-left: 0 !important;  /* Remove container padding */
        padding-right: 0 !important;
        margin-left: 0 !important;   /* Remove container margin */
        margin-right: 0 !important;
        width: 100%;
    }

    .row {
        margin-left: 0 !important;   /* Remove row margin */
        margin-right: 0 !important;
        width: 100%;
    }

    .col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, 
    .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, 
    [class*="col-"] {
        padding-left: 5px;
        padding-right: 5px;
    }
}

/* Desktop container width */
@media (min-width: 577px) {
    .container {
        max-width: 1320px;
        margin: 0 auto;
        padding-right: 15px;
        padding-left: 15px;
    }
}

/* Hero Header Breadcrumb styles */
.hero-header-packages .breadcrumb {
    margin-bottom: 0;
    padding: 0.75rem 1rem;
    background: none;
    display: inline-flex;
}

.hero-header-packages .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.8);
    content: ">";
    font-weight: bold;
}

.hero-header-packages .breadcrumb-item a {
    text-decoration: none;
    transition: color 0.3s;
}

.hero-header-packages .breadcrumb-item a:hover {
    color: #ffffff !important;
}

.hero-header-packages .breadcrumb-item.active {
    color: #ffffff;
}

/* Add dark overlay to hero background */
.hero-header-packages {
    position: relative;
    background-position: center !important;
    background-size: cover !important;
}
