*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Epunda Slab', serif;
}

body{
    background: #f2f2f2;
}


/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 55px;
  height: 55px;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #1ebc57;
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
}

/* ✅ Mobile Optimization */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }

  .whatsapp-float img {
    width: 28px;
    height: 28px;
  }
}

/* ✅ For very small screens (like older phones) */
@media (max-width: 480px) {
  .whatsapp-float {
    width: 45px;
    height: 45px;
    bottom: 12px;
    right: 12px;
  }

  .whatsapp-float img {
    width: 24px;
    height: 24px;
  }
}


.note{
    width: 100%;
    height: 30px;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    position: fixed;
    top: 0;
    z-index: 1002;
}



header{
    position: fixed;
    top: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}



.maincontainer{
    position: relative;
    width: 100%;
    height: 80px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    background-color: rgb(225, 226, 142);
    /* backdrop-filter: blur(10px) saturate(180%) contrast(80%) brightness(90%) ; */
    margin: auto;
    /* border-radius: 50px;*/
    padding: 20px 20px; 
}

.maincontainer .logo{

    font-size: 2em;
    font-weight: bold;
    letter-spacing: 2px;
    background-color: transparent;
}

.menu-toggle{
    display: none;
}

.navbar{
    position: relative;
    right: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 1.2rem;
    color: white;
    padding: 5px 5px;
    background-color: transparent;
    border-radius: 5px;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
    z-index: 1000;

}

.navbar ul{
    display: flex;
    flex-direction: row;
    padding: 10px;
    gap: 20px;
    list-style: none;
    color: whitesmoke;
    font-size: 1.2rem;
    font-weight: bold;
}

.navbar ul li a{
    text-decoration: none;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.navbar ul li a:hover{
    background-color: white;
    color: green;
}

.navbar hr{
    height: 30px;
    border: 1px solid white;
}

.navbar .btnbook{
    padding: 10px 20px;
    background-color: orangered;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

.navbar .btnbook:hover{
    background-color: rgb(224, 157, 112);
    color: whitesmoke;
    border: 2px solid orangered;
    transform: scale(1.1);
}

.hero{
    position: relative;
    top: 70px; /* Height of the header */
    width: 100%;
    height: calc(120vh - 80px); /* Full viewport height minus header height */
    background:linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('../asset/IMG_20230819_132205.jpg') center/cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: black;
    font-weight: bold;
    line-height: 0.9;
}

.container{
    position: absolute;
    bottom: 0;
    width: 100%;
    border-radius: 10px 10px 0 0;
    padding: 30px;
    top: 80%;    
    background: rgba(0, 0, 0, 0.3);
    
}

.container h1{
    font-size: 3rem;
    margin-bottom: 20px;
    color: rgb(250, 246, 241);
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    text-align: center;
}
.container p{
    font-size: 1rem;
    color: rgb(250, 246, 241);
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    text-align: center;
}

.container Button{
    padding: 10px 20px;
    background-color: maroon;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
    text-align: center;
    align-items: center;
}

.booksafaris{
    position: relative;
    top: 80px;
    width: 100%;
    height: max-content;
    margin: auto;
    padding: 20px 50px;
    background-color:rgb(233, 213, 187);
}

.bookcontainer{
    width: 80%;
    height: 100%;
    margin: auto;
    background-color: rgb(225, 226, 142) ;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    padding: 20px ;
}

.bookcontainer h2{
    font-size: 2rem;
    color: rgb(0, 12, 14);
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    text-align: center;
}

.bookcontainer p{
    font-size: 1rem;
    color: rgb(0, 12, 14);
    text-align: center;
    padding: 0 20px;
    line-height: 1.5;
}

.explorebtn{
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
    text-align: center;
    margin: 10px;
}
.expbtn{
    padding: 10px 20px;
    background-color: green;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    transition: background-color 0.3s, color 0.3s;
    text-align: center;
    margin: 10px;
    align-items: center;
    justify-content: center;
}

.expbtn:hover{
    background-color: orange;
    color: green;
}


.cards{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 2% 0;
    background-color: burlywood;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);

}

.safaricard{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    gap: 20px;
    padding: 10px 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    margin-bottom: 20px;
}   

.indexsafari-card{
    width: 100%;
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    padding: 20px 10px;
}

/* .safaricard:hover{
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
} */
.indexsafari-card img{
    width: 200px;
    height: 200px;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 10px;
}
.indexsafari-card h2{
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
    letter-spacing: 1px;
    text-align: left;
    padding: 5px 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    background-color: #228b22;
}
.indexsafari-card p{
    font-size: 1rem;
    color: rgb(0, 12, 14);
    text-align: justify;
    padding: 5px 10px;
    margin-bottom: 10px;

}

.btn{
    display: inline-block;
    padding: 10px 20px;
    background-color: green;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
    text-align: center;
    margin: 10px;
}

.btn:hover{
    background-color: orange;
    color: green;
}

.explore{
    display: inline-block;
    padding: 10px 20px;
    background-color: rgb(238, 228, 139)    ;
    color: rgb(231, 165, 22);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
    text-align: center;
    margin: 10px;
}

.explore:hover{
    background-color: rgb(114, 224, 87);
    color: yellow;
}

.about{
    position: relative;
    top: 80px;
    width: 100%;
    height: max-content;
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 80px 50px;
    background-color: white;
    gap: 20px;
}

.aboutcontainer{
    width: 50%;
    height: 100%;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: top;
    gap: 20px;
    padding: 20px ;
}

.aboutcontainer h2{
    font-size: 3rem;
    color: green;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    text-align: left;
}

.aboutcontainer p{
    font-size: 1.5rem;
    color: rgb(56, 58, 58);
    text-align: justify;
    padding: 0 20px;
    line-height: 1.2;
}

.image{
    width: 50%;
    height: 100%;
    border-radius: 10px;
    display: flex;
    
    padding: 20px ;
}

.image img{
    width: 100%;
    height: 700px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.aboutcards{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 10px;
    margin: 5% 0;
}

.cardabout{
    width: 200px;
    height: 150px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background:rgba(242, 243, 243, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    margin-bottom: 20px;
}   

.maininquiryform{
    position: relative;
    top: 80px;
    width: 100%;
    margin: auto;
    padding: 20px;
    margin-bottom: 20px;
}

form{
    width: 80%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 15px;
    margin: auto;
    padding: 20px;
    background-image: url('../asset/DSC_4007\ \(3\).jpg');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

form h2{
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

form p{
    text-align: center;
    font-size: 1rem;
    margin-bottom: 20px;
    color: blanchedalmond;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

form label{
    font-size: 1.2rem;
    color: rgb(128, 216, 77);
    font-weight: bold;
    padding: 0 10px;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 15px;
    color:white;
    font-size: 1rem;
    font-weight: bold;
    box-sizing: border-box;
    resize: none;
    background: transparent;
    backdrop-filter: blur(10px) saturate(180%) contrast(80%) brightness(90%) ;
}
form select{
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 15px;
    color:white;
    font-size: 1rem;
    font-weight: bold;
    box-sizing: border-box;
    resize: none;
    background:darkgray;
    backdrop-filter: blur(10px) saturate(180%) contrast(80%) brightness(90%) ;
}

.formcontainer{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 50px;
}


.formcontainer .format{
    width: 50%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px;
}

form button{
    width: 250px;
    padding: 10px 20px;
    background-color: green;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    align-self: center;
    margin-top: 10px;
}

form button:hover{
    background-color: orange;
    color: green;
}

.footer{
    position: relative;
    top: 80px;
    width: 100%;
    height: auto;
    background-color: rgb(12, 71, 12);
    padding: 10px 60px;
    justify-content: center;
}

.footer-content {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: top;
    margin: 0 auto;
    flex: 1;
}

.footer-section {
    flex: 1;
    width: 33.33%;
    padding: 20px;
    box-sizing: border-box;
    min-width: 250px;
    margin-bottom: 20px;
}


.footer-section h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
    font-weight: bold;  
    color: orangered;
}

.footer-section p {
    font-size: 1em;
    line-height: 1.5;
    text-align: justify;
    color: whitesmoke;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: whitesmoke;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #a0ec24;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.footer-section i {
    margin-right: 10px;
    color: #a0ec24;
    font-size: 1.2em;
}

.footer-section i:hover {
    color: #fff;
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;    
    margin: 20px 10px 0 10px;
    font-size: 1rem;
}

.footer-bottom p {
    margin: auto 20px;
    color: orangered;
    font-weight: bold;
}

.footer-bottom p a {
    color: orangered;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;

}

.footer-bottom p a:hover {
    color: #a0ec24;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.footer-bottom .ptc ul {
    list-style: none;
    display: flex;
    gap: 15px;
    padding: 0;
    margin: auto 20px;
}

.footer-bottom .ptc ul li a {
    color: whitesmoke;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom .ptc ul li a:hover {
    color: #a0ec24;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}




@media (max-width: 768px) {
/* === Mobile Nav Toggle Defaults === */
.navbar {
  display: none;
}

.navbar.active {
  display: block; /* Or flex, if you want the links aligned properly */
  background-color: #ccc;
  position: absolute;
  top: 80px; /* Adjust based on your header height */
  right: 0;
  width: 100%;
  height: auto;
  padding: 10px 0;
  text-align: center;

}
.navbar hr{
    width: 80%;
    height: auto;
    margin: 10px auto;
    border: 1px solid #7c7979;
}

.menu-toggle.active .bar {
  background: #333; /* Optional: Change color of bars when active */
}
.menu-toggle{
    display: block;
    position: absolute;
    top: 25px;
    right: 20px;
    cursor: pointer;
    z-index: 1001;
}
.menu-toggle .bar{
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px ;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: white;
}
.navbar{
    position: fixed;
    top: 80px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: right 0.3s ease-in-out;
}
    .navbar ul{
        flex-direction: column;
        gap: 30px;
    }
    .navbar ul li a{
        font-size: 1.5rem;
    }
    .navbar .btnbook{
        font-size: 1.5rem;
        padding: 15px 30px;
    }
    .navbar.active{
        right: 0;
    }
    .hero{
        height: calc(100vh - 80px);
    }
    .container{
        width: 100%;
        height: auto;
        border-radius: 0;
        top: 70%;
        padding: 20px;
    }
    .container h2{
        font-size: 2rem;
        margin-bottom: 10px;
    }
    .booksafaris{
        padding: 20px 20px;
    }

    .safaricard{
        flex-direction: column;
        padding: 10px 10px;
    }

    .indexsafari-card{
        height: 600px;
        padding: 10px 10px;
    }

    .bookcontainer{
        width: 100%;
        padding: 10px;
    }
    .about{
        flex-direction: column;
        padding: 20px 20px;
    }
    .aboutcontainer, .image{
        width: 100%;
        height: auto;
        padding: 10px;
    }
    .image img{
        height: auto;
    }
    .aboutcontainer h2{
        font-size: 2.5rem;
        text-align: center;
    }

    form{
        width: 100%;
        padding: 10px;
    }
    .formcontainer{
        flex-direction: row;
        padding: 0 20px;
    }
    .formcontainer .format{
        width: 50%;
        margin-right: 0;
    }
    


    .footer-content {
        flex-direction: column;
        align-items: start;
        text-align: justify;
    }

    .footer-section {
        margin-bottom: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-bottom p, .footer-bottom .ptc ul {
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .inquiryform{
        padding: 10px;
    }
    .formcontainer{
        flex-direction: column;
        padding: 0 10px;
    }
    .formcontainer .format{
        width: 100%;
        margin-right: 0;
    }

}   

