*{
    margin: 0;
    padding: 0;
    font-family: "BBH Sans Hegarty", sans-serif;
    letter-spacing: 0.025em;
}
.header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* full screen height */
    overflow: visible;
    z-index: 10; /* keep it above background */
}
.slideshow-container {
    position: fixed;  /* key: make it fixed, not absolute */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* full viewport height */
    z-index: -1; /* behind everything */
}
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.slide.active {
    opacity: 1;
}

.header::after {
    content: "";
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; 
    background: linear-gradient(rgba(4, 9, 30, 0.5), rgba(4, 9, 30, 0.3));
    z-index: -2; 
    pointer-events: none; 
}
.sticky{
    position: sticky;
}
.logo{
    width: 120px;
    height: auto;
}
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999; 
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0%;
}
.nav-links{
    flex: 1;
    text-align: right;
    margin-top: -75px;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 0px 6px;
    position: relative;
}
.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}
.nav-links ul li::after{
    content: "";
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after{
    width:100%;
}
.text-box {
    width: 90%;
    color: #fff;
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 82px;
    z-index: 100;
}

.text-box h1 { font-size: 82px; }            
.text-box.scrolled h1 { font-size: 35px; } 

.text-box.scrolled {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 0;
    width: 100%;
    z-index: 100;
    font-size: 30px;
}

.description{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 100;
}
.description p{
    margin: 10px 0 40px;
    font-size: 20px;
    color: #fff;
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color:#fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    cursor: pointer;
}
.hero-btn:hover{
    border: 1px solid;
    background: #f44336;
    transition: 1s;
}

.fa-solid{
    display: none;
}

@media(max-width: 700px){
    .text-box h1{
        font-size: 20px;
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: absolute;
        background: #f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    .fa-solid{
        display: block; 
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;

    }
    .nav-links ul{
        padding: 30px;
    }
}
html {
  scroll-behavior: smooth;
}

.socials{
    position: relative;
    z-index: 20;
    margin-top: -100px;
}

.icons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.icons .fa-brands{
    color: #fff3f3;
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
    position: relative;
    z-index: 20;
    display: flex;
    justify-content: center;
    font-size: 48px;
}

.icons a {
  text-decoration: none;
  color: inherit; /* keep the icon color */
  margin: 0 13px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.icons a:hover {
  transform: scale(1.2); /* slight zoom */
  color: #f44336; /* your highlight color */
}

/*cutomise*/

.customise{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
    position: relative;
    z-index: 20;
}
.customise p{
    color: #fff;
    font-size: 28px;
    font-weight: 300;
    line-height: 22px;
    padding: 20px;
}

/*----- about us -----*/
.about_us{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    position: relative;
    z-index: 20;
}
h1{
    font-size: 36px;
    font-weight: 600;
    color:#fff
}
p{
    color: #fff;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

/*reviews*/

.word{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    position: relative;
    z-index: 20;
}
h1{
    font-size: 36px;
    font-weight: 600;
    color:#fff
}

.testimonials{
    width: 80%;
    margin: auto;
    padding-top: 10px;
    text-align: center;
    position: relative;
    z-index: 20;
}
.testimonial-col-1{
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #fff3f3;
    color:rgba(0, 0, 0, 1);
    padding: 25px;
    display: flex;
}
.testimonial-col-1 img{
    height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%
}
.testimonial-col-1 p{
    padding: 0;
    color:rgba(0, 0, 0, 1);
}
.testimonial-col-1 h3{
    margin-top: 15px;
    text-align: left;
}

.testimonial-col-2{
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #fff3f3;
    color:rgba(0, 0, 0, 1);
    padding: 25px;
    display: flex;
}
.testimonial-col-2 img{
    height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%
}
.testimonial-col-2 p{
    padding: 0;
    color:rgba(0, 0, 0, 1);
}
.testimonial-col-2 h3{
    margin-top: 15px;
    text-align: left;
}

/*whykenya*/
.whykenya{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    position: relative;
    z-index: 20;
}
h1{
    font-size: 36px;
    font-weight: 600;
    color:#fff
}
p{
    color: #fff;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

/*what to expect*/

.what_to_expect{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    position: relative;
    z-index: 20;
}
h1{
    font-size: 36px;
    font-weight: 600;
    color:#fff
}
p{
    color: #fff;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

/*who we are*/
.who_we_are{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    position: relative;
    z-index: 20;
}
h1{
    font-size: 36px;
    font-weight: 600;
    color:#fff
}
p{
    color: #fff;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

/*itinerary*/
.itinerary {
    width: 90%;
    margin: 100px auto;
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 10;
}
.itinerary h1 {
    font-size: 36px;
    margin-bottom: 40px;
    text-transform: uppercase;
}
.boxes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; 
}
.itinerary-box {
    background: rgba(19, 4, 58, 0.85);
    border-radius: 15px;
    padding: 30px 20px;
    font-size: 18px;
    line-height: 1.5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.itinerary-box span {
    display: block;
    font-size: 15px;
    margin-top: 10px;
    color: #ccc;
}
.itinerary-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}
.fade-out-section {
    opacity: 1;
    transition: opacity 0.4s ease-out;
    pointer-events: auto;
}
.fade-out-section[style*="opacity: 0"] {
    pointer-events: none; 
}

@media(max-width: 700px){
    .row{
        flex-direction: column;
    }
}

/*cta*/

.cta{
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),url(images/safari_photos/elite_photos/IMG_0227.JPEG);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
    position: relative;
    z-index: 20;
}
.cta h1{
    color: #fff;
    margin-bottom: 40px;
    padding: 0;
}
@media(max-width: 700px){
    .cta h1{
        font-size: 24px;
    }
}

section {
    scroll-margin-top: 20px; /* adjust this to match your fixed nav + fade effect */
}
