@import url('../css/fonts.css');

html, body{
    margin: 0%;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    
}

:root{

    /* Theme colors        */
    --text-gray: #3f4954;
    --text-light : #686666da;
    --bg-color: #0f0f0f;
    --white: #ffffff;
    --midnight: #104f55;

    /* gradient color   */
    --sky: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);

    /* theme font-family   */
    --Abel: 'Abel', cursive;
    --Anton: 'Anton', cursive;
    --Josefin : 'Josefin', cursive;
    --Lexend: 'Lexend', cursive;
    --Livvic : 'Livvic', cursive;
}


/* ---------------- Global Classes ---------------*/

a{
    text-decoration: none;
    color: var(--text-gray);
}

.flex-row{
    display: flex;
    flex-direction: row;    
    flex-wrap: wrap;
}

ul{
    list-style-type: none;
}

h1{
    font-family: var(--Lexend);
    font-size: 3.5rem; /* Desktop: Increased font size */
}

h2{
    font-family: var(--Lexend);
    font-size: 2rem; /* Desktop: Set explicit font size */
}

h3{
    font-family: var(--Abel);
    font-size: 1.5rem; /* Desktop: Increased font size */
}

button.btn{
    border: none;
    border-radius: 2rem;
    padding: 1rem 3rem;
    font-size: 1rem;
    font-family: var(--Livvic);
    cursor: pointer;
}

span{
    font-family: var(--Abel);
}

.container{
    margin: 0 5vw;
}

.text-gray{
    color: var(--text-gray);
}

p{
    font-family: var(--Lexend);
    color: var(--text-light);
    font-size: 1.1rem; /* Desktop: Set explicit font size */
}

/* ------x------- Global Classes -------x-------*/

/* --------------- navbar ----------------- */

.nav{
    background: linear-gradient(to right, rgb(195, 195, 194), #c1c1cd);
    height: 0rem;
    padding: 0 10px;
    color: lightgray;
    min-height: 12vh;
    overflow: hidden;
    transition: height 1s ease-in-out;    
}

.nav .nav-menu{    
    justify-content: space-between;   
    background: linear-gradient(to right, rgb(195, 195, 194), #c1c1cd);
    color: #fff;
    
}

.nav .toggle-collapse{
    position: absolute;
    top: 0%;
    width: 90%;
    cursor: pointer;
    display: none;
}

.nav .toggle-collapse .toggle-icons{
    display: flex;
    justify-content: flex-end;
    padding: 1.7rem 0;
}

.nav .toggle-collapse .toggle-icons i{
    font-size: 1.4rem;
    color: var(--text-gray);
}

.collapse{
    height: 30rem;
}

.nav .nav-items{
    display: flex;
    margin: 0;
    
}

.nav .nav-items .nav-link{
    padding: 1.6rem 1rem;
    font-size: 1.2rem; /* Desktop: Increased font size */
    position: relative;
    font-family: var(--Abel);
}

.nav .nav-items .nav-link div{
    background-color: var(--midnight);
    color: #fff;
    padding: 12px;
     padding: 1rem 1rem;
    font-size: 1.2rem; /* Desktop: Increased font size */
    position: relative;
    font-family: var(--Abel);
    

}
.nav .nav-items .nav-link div a{
    color: white;
}

.nav .nav-items .nav-link:hover{
    background-color: var(--midnight);
}

.nav .nav-items .nav-link:hover a{
    color: var(--white);
}

.nav .nav-brand a{
    font-size: 2rem; /* Desktop: Increased font size */
    padding: 1rem 0;
    display: block;
    font-family: var(--Lexend);
   
}
.nav .nav-brand a img{
    font-size: 10px;
    width: 100px;
    margin-bottom: 20px;
    height: 50px;
}

.nav .social{
    padding: 1.4rem 0
}

.nav .social i{
    padding: 0 .2rem;
}

.nav .social i:hover{
    color: #a1c4cf;
}

/* -------x------- navbar ---------x------- */


/* ----------------- Main Content----------- */

/* --------------- Site title ---------------- */

/* Background slider container */
main .site-title {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
}

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

.background-slider .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out; /* Fade ya smooth kidogo haraka */
  filter: brightness(0.4); /* Hii inapunguza mwanga kidogo */
}

.background-slider .slide1 {
  background-image: url('../assets/IMG/zebra2.jpg');
}

.background-slider .slide2 {
  background-image: url('../assets/IMG/climblion2.jpg');
}

.background-slider .slide3 {
  background-image: url('../assets/IMG/maasai5.jpeg');
}

.background-slider .slide4 {
  background-image: url('../assets/IMG/tembo4.jpeg');
}


main .site-title .site-background {
  padding-top: 10rem;
  text-align: center;
  color: var(--white);
}
main .site-title .site-background button{
  margin: 1.8rem;
  background: linear-gradient(120deg, #032c4a 0%, #009acd 150%);
  border: none;
  padding: 1rem 2rem;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  border-radius: 30px;  
}

main .site-title h2 {
  background: linear-gradient(to right, gold, #111);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* Firefox */
  text-fill-color: transparent;
  font-size: 4rem; /* Desktop: Set explicit font size */
}

main .site-title h1 {
  background: linear-gradient(to right, blue, #111);
  font-family: 'Montserrat', sans-serif;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* Firefox */
  text-fill-color: transparent;
  font-size: 3.5rem; /* Desktop: Increased font size */
}

main .site-title .btn {
  margin: 1.8rem;
  background: var(--sky);
  border: none;
  padding: 1rem 2rem;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
}

main .site-title .btn:hover {
  background: transparent;
  border: 1px solid var(--white);
  color: var(--white);
}


/* --------x------ Site title --------x------- */

/* --------------- Blog Carousel ------------ */


main .blog{
    background: url('../assets/Abract01.png');
    background-repeat: no-repeat;
    background-position: right;
    height: 100vh;
    width: 100%;
    background-size: 65%;
}

main .blog .blog-post{
    padding-top: 6rem;
}

main .blog-post .blog-content{
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 80%;
    margin: 3rem 2rem;
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.2);
}

main .blog-content .blog-title{
    padding: 2rem 0;
}

main .blog-content .btn-blog{
    padding: .7rem 2rem;
    background: var(--sky);
    margin: .5rem;
}

main .blog-content span{
    display: block;
}

section .container .owl-nav{
    position: absolute;
    top: 7%;
    margin: 0 auto;
    width: 100%;
}

.owl-nav .owl-prev .owl-nav-prev,
.owl-nav .owl-next .owl-nav-next{
    color: var(--text-gray);
    background: transparent;
    font-size: 2rem;
}

.owl-theme .owl-nav [class*='owl-']:hover{
    background: transparent;
    color: var(--midnight);
}

.owl-theme .owl-nav [class*='owl-']{
    outline: none;
}


/* -------x------- Blog Carousel -----x------ */

/* ---------------- Site Content ----------------*/

main .site-content{
    display: grid;
    grid-template-columns: 70% 30%;
    margin-top: 40px;
}

main .post-content{
    width: 100%;
    
}

main .site-content .post-content > .post-image, .post-title{
    padding: 1rem 2rem;
    position: relative;
    font-size: 20px;

}

main .site-content .post-content > .post-image, .post-title p{
    font-size: 21px;
}

main .site-content .post-content .post-image1 .img img{
    border-radius: 15px;
    max-height: 450px;
}

#serengeti .img,
#ngorongoro .img,
#tarangile .img,
#manyara .img,
#nyerere .img,
#mikumi .img,
#zanziba .img {
  border-radius: 10px;
}


#maasai .img,
#chemka .img,
#chui .img,
#hadzabe .img,
#flamingo .img,
#bagamoyo .img,
#mtoni .img,
#nyani .img,
#kijiwe .img,
#zebra .img,
#lake .img {
  border-radius: 12px;
}



main .site-content .post-content > .post-image .post-info{
    background: var(--sky);
    padding: 1rem ;
    position: absolute;
    bottom: 12px;
    left: 2.2vw;
    border-radius: 15px;
}

main .site-content .post-content > .post-image > div{
    overflow: hidden;
}

main .site-content .post-content > .post-image .img{
    width: 100%;
    transition: all 1s ease;
}

main .site-content .post-content > .post-image .img:hover{
    transform: scale(1.3);
}

main .site-content .post-content > .post-image .post-info span{
    margin: 0.2rem 0;
    left: 0;
}

main .post-content .post-title a{
    font-family: var(--Anton);
    font-size: 2rem; /* Desktop: Increased font size */
}

.site-content .post-content .post-title .post-btn{
    border-radius: 0;
    padding: .7rem 1.5rem;
    background: var(--sky);
}

.site-content .pagination{
    justify-content: center;
    color: var(--text-gray);
    margin: 4rem 0 4rem 13rem;
}

.container .pagination .book-now-btn {
   background: linear-gradient(135deg, #8e2de2, #4a00e0, #0f2027);
  color: #fff;
  margin: 6rem 30rem ;
  font-size: 22px; /* Maandishi makubwa kidogo */
  padding: 20px 50px; /* Upana na urefu wa button */
  border: none;
  border-radius: 8px; /* Kona laini */
  cursor: pointer;
  transition: background-color 0.3s ease;
}


.container .pagination .book-now-btn  a{
    color: #fff;
}
.site-content .pagination a{
    padding: .6rem .9rem;
    border-radius: 2rem;
    margin: 0 .3rem;
    font-family: var(--Lexend);
}

.site-content .pagination .pages{
    background: var(--text-gray);
    color: var(--white);
}

/* -------x-------- Site Content --------x-------*/


/* --------------- Sidebar ----------------------- */

.site-content > .sidebar .category-list{
    font-family: var(--Livvic);   
}

.site-content > .sidebar .category-list .list-items{
    background: var(--sky);
    padding: .4rem 1.8rem;
    margin: .8rem 0;
    border-radius: 3rem;
    font-size: 20px;
    width: 70%;
    display: flex;
    justify-content: space-between;
}

.site-content > .sidebar .category-list .list-items a{
    color:  black;
}

.site-content .sidebar .popular-post .post-content{
    padding: 1rem 0;
}

.site-content .sidebar .popular-post h2{
    padding-top: 8rem;
}

.site-content .sidebar .popular-post .post-info{
    padding: .4rem .1rem !important;
    bottom: 0rem !important;
    left: 1.5rem !important;
    border-radius: 0rem !important;
    background: white !important;
}

.site-content .sidebar .popular-post .post-title a{
    font-size: 1.3rem;
}

.site-content .sidebar .newsletter {
  padding-top: 3rem; /* Punguza kidogo */
}

.site-content .sidebar .newsletter .form-element {
  padding: 0.5rem 0;
}

.site-content .sidebar .newsletter .input-element,
.site-content .sidebar .newsletter .textarea-element {
  width: 90%;
  padding: 0.6rem 0.8rem;
  margin: 0.5rem 0;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-family: var(--Lexend);
  font-size: 1.2rem; /* Desktop: Increased font size */
  outline: none;
}

.site-content .sidebar .newsletter .textarea-element {
  height: 120px;
  resize: vertical;
}

.site-content .sidebar .newsletter .form-btn {
  display: inline-block;
  border-radius: 7px;
  padding: 0.8rem 2rem;
  margin: 1rem 0;
  background: #039def;
  color: white;
  font-size: 21px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.site-content .sidebar .newsletter .form-btn:hover {
  background: #0077b6; /* Badilisha kama unataka hover color */
}


.site-content .sidebar .popular-tags{
    padding: 5rem 0;
}

.site-content .sidebar .popular-tags .tags .tag{
    background: var(--sky);
    padding: .4rem 1rem;
    border-radius: 3rem;
    margin: .6rem .6rem;
    font-size: 21px;
}

/* ====== Reduce Read More button size and font ====== */
.site-content .post-content .post-title .post-btn {
    font-size: 0.3rem;    /* Punguza font size */
    padding: 0.4rem 1rem; /* Punguza padding ya button */
    border-radius: 50px;
    background: #0077b6;
    color: #111;
}

.site-content .post-content .post-title .post-btn:hover{
    background: #044371;
}
.site-content .post-content .post-title .post-btn:hover a{
   color: #fff;

}

.site-content .post-content .post-title .post-btn a {
    font-size: 1rem; /* Hakikisha link ndani ya btn ina font ndogo pia */

}



/* -------x------- Sidebar -----------x----------- */

/* ---------x------- Main Content -----x----- */


/* ----------------- Footer --------------------- */

footer.footer{
    height: 70%;
    background: url('../assets/IMG/wonder2.png');
    position: relative;
    background-repeat: no-repeat; /* Add this line */
    background-size: cover; /* This is the key property to make it cover the entire element */
    background-position: center center; /* This will center the image within the element */
}

footer.footer .container{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

footer.footer .container > div{
    flex-grow: 1;
    flex-basis: 0;
    padding: 3rem .9rem;
}

footer.footer .container h2, h3{
    color: blue;
}
footer.footer .container p{
    color: rgb(61, 60, 60);
    font-size: 22px; /* Desktop: Set explicit font size */
}

footer.footer .newsletter .form-element{
    background: black;
    display: inline-block;
}
 #formMessage {
  display: none;  /* Hii inaficha div kabisa mwanzo */
  margin-top: 25px;
  padding: 22px 20px;
  background-color: #fdecea;
  border: 1px solid #f5c6cb;
  color: #721c24;
  border-radius: 5px;
  font-size: 17px;
  font-weight: bold;
  max-width: 200px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

#formMessage.error {
    background-color: #fdecea;
    border: 1px solid #f5c6cb;
    color: #721c24;
  }

  #formMessage.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
  }


footer.footer .newsletter .form-element input{
    padding: .5rem .7rem;
    border: none;
    background: transparent;
    color: white;
    font-family: var(--Josefin);
    font-size: 1rem;
    width: 74%;
}

footer.footer .newsletter .form-element span{
    background: var(--sky);
    padding: .5rem .7rem;
    cursor: pointer;
}



footer.footer .follow div i{
    color: var(--white);
    padding: 0 .4rem;
    font-size: 35px;
    cursor: pointer;
}
footer.footer .follow div i:hover {
    transform: translateY(-3px) scale(1.3);
    transition: transform 0.3s ease;
}


footer.footer .rights{
    justify-content: center;
    font-family: var(--Josefin);
}

footer.footer .rights h4 {
    font-size: 25px;
    color: black;
}

footer.footer .rights h4 a{
    color: var(--white);
}

footer.footer .move-up{
    position: fixed;
    right: 6%;
    top: 85%;
    z-index: 999;
}

footer.footer .move-up span{
    color: var(--midnight);
}

footer.footer .move-up span:hover{
    color: darkblue;
    cursor: pointer;
}








#contact {
    padding: 80px 0;
}

.contact-left {
    flex-basis: 35%;
    padding-right: 30px;
}

.contact-left p {
    margin-top: 25px; /* Adjusted margin */
    font-size: 18px; /* Standard font size for contact info */
    display: flex; /* For icon alignment */
    align-items: center;
    gap: 10px; /* Space between icon and text */
}

.contact-left p i {
    color: #FF2E63;
    font-size: 22px; /* Icon size */
}

.social-icon {
    margin-top: 35px; /* More space above social icons */
    margin-bottom: 30px; /* Space below social icons */
}

.social-icon a {
    text-decoration: none;
    color: #BBBBBB; /* Softer color for icons */
    font-size: 32px; /* Slightly larger icon size */
    margin-right: 20px; /* More space between icons */
    display: inline-block;
    transition: color 0.4s ease, transform 0.3s ease;
}

.social-icon a:hover {
    color: #FF2E63;
    transform: translateY(-5px) scale(1.1); /* Lift and slight scale */
}

.btn.btn2 {
    background: #E0E0E0; /* Lighter background on hover for contact button */
    color: #FF2E63; /* Red text on hover */
    border: 2px solid #FF2E63; /* Ensure consistent border */
    border-radius: 10px;
    padding: 5px;
}

.btn.btn2:hover {
    background: #E0E0E0; /* Lighter background on hover for contact button */
    color: #FF2E63; /* Red text on hover */
}

.contact-right {
    flex-basis: 60%;
}

#emailForm {
 width: 50%;
display: flex;
flex-direction: column; /* Stack form elements */
gap: 15px; /* Space between form fields */
}



#emailForm input{

width: 100%;
border: 0;
outline: none;
background: #1A1A1A; /* Lighter background for form fields */
padding: 18px; /* More padding */
color: #FFFFFF;
font-size: 17px;
border-radius: 8px; /* Consistent border-radius */
resize: vertical; /* Allow textarea to be resized vertically */
}



#emailForm button{
width: 50%;
cursor: pointer;
border: 0;
outline: none;
background: #5619b2; /* Lighter background for form fields */
padding: 25px; /* More padding */
color: #FFFFFF;
font-size: 20px;
padding: 12px 7px;
margin-left: 0;
margin-top: .5rem;
border-radius: 8px; /* Consistent border-radius */
resize: vertical; /* Allow textarea to be resized vertically */

}



.sending {
 color: #007bff; /* Rangi ya bluu */
}

form input,
form textarea {
    width: 100%;
    border: 0;
    outline: none;
    background: #1A1A1A; /* Lighter background for form fields */
    padding: 18px; /* More padding */
    color: #FFFFFF;
    font-size: 17px;
    border-radius: 8px; /* Consistent border-radius */
    resize: vertical; /* Allow textarea to be resized vertically */
}

form input::placeholder,
form textarea::placeholder {
    color: #888888; /* Lighter placeholder text */
}

form .btn2 {
    padding: 16px 60px;
    font-size: 19px; /* Larger font for submit button */
    margin-top: 15px; /* Adjusted margin */
    cursor: pointer;
    align-self: flex-start; /* Align button to the left */
}

/* Copyright Section */
.copy-right {
    width: 100%;
    margin-top: 50px; /* More space above copyright */
    background: #1A1A1A; /* Match service card background */
    padding: 10px 0;
    text-align: center;
    font-weight: 300;
    font-size: 15px;
    color: #BBBBBB;
}

/* Mobile Navigation Icons */
nav .fas { /* Assuming you're using Font Awesome for these */
    display: none; /* Hidden on large screens */
    color: #FFFFFF; /* White icon color */
}

/* ---------x------- Footer ----------x---------- */


/* Media Queries */

/* Tablet View: Less than or equal to 768px
@media (hover: none) and (pointer: coarse){
    .container .pagination .book-now-btn{
        transform: none;
        background: inherit;
    }

}
 */    

@media only screen and (max-width: 768px){
    html, body{
    margin: 0%;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    max-width: 100%;
    
}
.nav{
    max-height: 24rem;
}

  
    .nav .nav-menu, .nav .nav-items{
        flex-direction: column;
              
    }

    .nav .toggle-collapse{
        display: block;
    }

   

    .nav .nav-items .nav-link{
        display: flex;
        flex-direction: column;
        font-size: 1rem; /* Adjusted for tablets */
        align-items: center;
    }


    .nav .nav-items .nav-link div{}
    
    .nav .nav-brand{
        max-height: 3.5rem;
    }

    .nav .nav-brand a{
        font-size: 1.8rem; /* Adjusted for tablets */
    }

    h1 {
        font-size: 2.8rem; /* Adjusted for tablets */
    }

    h2 {
        font-size: 1.8rem; /* Adjusted for tablets */
    }

    h3 {
        font-size: 1.2rem; /* Adjusted for tablets */
    }

    p {
        font-size: 1rem; /* Adjusted for tablets */
    }

    main .site-title h2 {
        font-size: 2.5rem; /* Adjusted for tablets */
    }

    main .site-title h1 {
        font-size: 3.5rem; /* Adjusted for tablets */
    }

    main .site-content{
        grid-template-columns: 100%; /* Single column layout for tablets */
    }

    main .site-content .post-content{
        margin: 50px 0;
    }

    main .site-content .post-content > .post-image .post-info{
        left: 2rem !important;
        bottom: 1.2rem !important;
        border-radius: 0% !important;
    }

    .site-content .sidebar .popular-post .post-info{
        display: none !important; /* Hide post info in popular posts for tablets */
    }

    footer.footer .container{
        grid-template-columns: repeat(1, 1fr); /* Single column for footer on tablets */
    }
}


/* Mobile View: Less than or equal to 480px */
@media only screen and (max-width: 480px){
    .nav{
        min-height: 7vh;
        padding: 0 5px; /* Reduced padding */
    }

    .nav .nav-brand a img{
    font-size: 10px;
    width: 70px;
    margin-bottom: 20px;
    height: 35px;
}


    .nav .nav-items .nav-link{
        padding: 0.8rem 0.5rem; /* Reduced padding for smaller screens */
        font-size: 1.1rem; /* Reduced font size for smaller screens */
    }

    .nav .nav-brand a{
        font-size: 1.4rem; /* Reduced font size for smaller screens */
    }
     nav .toggle-collapse{
        width: 80% !important; /* Adjusted width */
        display: block;
    }


    nav .fas { /* Assuming you're using Font Awesome for these */
    display: block; /* Hidden on large screens */
    color: #FFFFFF; /* White icon color */
}

    h1 {
        font-size: 2rem; /* Adjusted for mobiles */
    }

    h2 {
        font-size: 1.5rem; /* Adjusted for mobiles */
    }

    h3 {
        font-size: 1rem; /* Adjusted for mobiles */
    }

    p {
        font-size: 0.9rem; /* Adjusted for mobiles */
    }

    main .site-title {
        height: 40vh; /* Reduced height for mobiles */
    }

    main .site-title .site-background {
        padding-top: 4.5rem;
    }

    main .site-title .site-background h2 {
        font-size: 1.5rem; /* Reduced font size for mobiles */
        margin-bottom: 3rem; /* Adjusted margin */
    }

    main .site-title .site-background h1 {
        font-size: 1.4rem; /* Reduced font size for mobiles */
    }

    main .site-title .site-background button{
        margin: 1.5rem 0; /* Adjusted margin */
        padding: 0.8rem 1.5rem; /* Reduced padding */
        font-size: 12px; /* Reduced font size */
    }

    main .blog{
        height: auto; /* Allow content to dictate height */
        padding-bottom: 40px; /* Add some space at the bottom */
        margin-bottom: 20px;
        background-size: 100%; /* Adjust background size for smaller screens */
        background-position: center bottom; /* Adjust background position */
    }

    main .blog-post .blog-content {
        width: 90%; /* Adjusted width */
        margin: .6rem auto; /* Center content */
    }

    main .site-content .post-content > .post-image .post-info{
        display: none; /* Hide post info completely on small screens */
    }

    main .site-content .post-content > .post-image, .post-title {
        padding: 0.5rem 1rem; /* Reduced padding */
        font-size: 13px; /* Reduced font size */
    }

    main .site-content .post-content .post-image .post-title p{
        padding: 0.5rem 1rem;
        font-size: 13px;
    }

    main .post-content .post-title a{
        font-size: 1.2rem; /* Adjusted font size for mobiles */
    }

    main .site-content .post-content > .post-image, .post-title{
    padding: 1rem 2rem;
    position: relative;
    font-size: 14px;

}

main .site-content .post-content > .post-image, .post-title p{
    font-size: 14px;
}

main .site-content .post-content > .post-image, .post-title a{
    font-size: 14px;
}

main .site-content .post-content h2{
    font-size: 18px;
    margin-bottom: 23px;
}

    .site-content .post-content .post-title .post-btn{
        padding: 0.3rem 0.6rem; /* Reduced padding */
        font-size: 12px; /* Reduced font size */
        margin-top: 5px;
    }

    .container .pagination .book-now-btn{
        position: fixed;
        bottom: 10px;
        margin-left: 11rem;
        margin-bottom: 2.9rem;
        margin-top: 2rem;
        transform: translatex(-50%);
        top: auto;
        font-size: 16px; /* Reduced font size */
        padding: 15px 25px; /* Reduced padding */
        z-index: 999;
    }

    .site-content > .sidebar .category h2{
    padding: .4rem 5.5rem  1rem 5.5rem;
    margin: .8rem 0;
    font-size: 10px;
    width: 850%;
}

.site-content > .sidebar .category-list .list-items{
    background: var(--sky);
    padding: .3rem 1rem;
    margin: .8rem 0;
    border-radius: 3rem;
    font-size: 20px;
    width: 70%;
    display: flex;
    justify-content: space-between;
}

.site-content .sidebar .popular-post h2{
    padding-top: 8rem;
    font-size: 8px;
}


    .site-content > .sidebar .category h2{
        font-size: 1.5rem; /* Adjusted font size */
        margin-bottom: 10px; /* Adjusted margin */
    }

    .site-content > .sidebar .category-list .list-items{
        padding: 0.3rem 0.8rem; /* Reduced padding */
        font-size: 0.9rem; /* Reduced font size */
        width: 85%; /* Adjusted width */
    }

    .site-content .sidebar .popular-post h2{
        padding-top: 4rem ; /* Adjusted padding */
        font-size: 1.3rem; /* Adjusted font size */
        text-align: center;
    }
    
.site-content .sidebar .popular-post .post-title a{
    font-size: 16px;
}

.site-content .sidebar .newsletter  h2{
    font-size: 25px;
    margin-right: 10rem;
}

.site-content .sidebar .newsletter .input-element,
.site-content .sidebar .newsletter .textarea-element {
  width: 65%;
  padding: 0.3rem 0.8rem;
  margin: 2px 0;
  border-radius: 7px;
  border: 1px solid #ccc;
  font-family: var(--Lexend);
  font-size: 15px; /* Desktop: Increased font size */
  outline: none;
}

.site-content .sidebar .newsletter .textarea-element {
  height: 90px;
}

.site-content .sidebar .newsletter .form-btn {
  display: inline-block;
  border-radius: 7px;
  padding: 0.5rem 1.2rem;
  margin: 1rem 0;
  background: #039def;
  color: white;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

    .site-content .sidebar .popular-tags{
        padding: 3rem 0; /* Adjusted padding */
    }

    .site-content .sidebar .popular-tags h2{
        font-size: 20px; /* Adjusted font size */
    }

    .site-content .sidebar .popular-tags .tags .tag{
    background: var(--sky);
    padding: .4rem 1rem;
    border-radius: 3rem;
    margin: .8rem 1rem;
    font-size: 14px;
}


 footer.footer {
        height: auto; /* Allow height to adjust based on content */
        background: url('../assets/IMG/wonder2.png');
        background-size: cover; /* Maintain background image coverage */
        background-position: center center;
        max-height: 5000px;
        overflow-x: hidden;
        background-repeat: no-repeat;
    }

    footer.footer .container {
        grid-template-columns: 1fr; /* Stack columns vertically */
        gap: 1rem; /* Add spacing between stacked sections */
    }

    footer.footer .container > div {
        padding: 1.5rem 0.5rem; /* Reduce padding for smaller screens */
        margin-top: 10PX;
    }

    footer.footer .container h2 {
        font-size: 1.5rem; /* Smaller heading size */
        color: blue;
    }

    footer.footer .container h3 {
        font-size: 1.2rem; /* Smaller subheading size */
        color: blue;
    }

    footer.footer .container p {
        font-size: 17px; /* Reduce font size for paragraphs */
        color: rgb(3, 41, 116);
        
    }

       footer.footer .container .p1 {
        font-size: 16px; /* Reduce font size for paragraphs */
        color: rgb(32, 61, 222);
        text-shadow: #1A1A1A;
        
    }

    footer.footer .follow div a i{
    color: rgb(222, 222, 240);
    padding: 0 .4rem;
    font-size: 2rem;
    cursor: pointer;
}

    footer.footer .newsletter .form-element {
        width: 100%; /* Full width for form */
        text-align: center; /* Center form elements */
        background: black;
        display: inline-block;
    }

    footer.footer .newsletter .form-element input {
        width: 80%; /* Slightly narrower input field */
        font-size: 0.9rem; /* Smaller font size for input */
        padding: 0.7rem 0.6rem;
        border: none;
        background: transparent;
        color: white;
        font-family: var(--Josefin);
    }

    footer.footer .newsletter .form-element span {
        background: var(--sky);
        padding: 0.4rem 0.6rem; /* Adjust padding for button */
        cursor: pointer;
    }

     footer.footer .newsletter h2{
        margin-bottom: 1rem;
     }

    #formMessage {
        display: block; /* Hidden by default, as in original */
        max-width: 100%; /* Allow alert to take full width */
        font-size: 15px; /* Smaller font for alerts */
        padding: 15px 10px; /* Adjust padding */
        margin-top: 25px;
        background-color: #fdecea;
        border: 1px solid #f5c6cb;
        color: #721c24;
        border-radius: 5px;
        font-weight: 500;
        box-shadow: 0 0 5px rgba(0,0,0,0.1);
    }

    #formMessage.error {
        background-color: #fdecea;
        border: 1px solid #f5c6cb;
        color: #721c24;
    }

    #formMessage.success {
        background-color: #d4edda;
        border: 1px solid #c3e6cb;
        color: #155724;
    }

    footer.footer .follow  h2{
        margin-bottom: 2rem;
    }

    footer.footer .follow div i {
        font-size: 1.2rem; /* Smaller social icons */
        padding: 0 0.3rem; /* Adjust spacing between icons */
        color: var(--white);
        cursor: pointer;
        margin: .8rem;
    }

    footer.footer .follow div i:hover {
        transform: translateY(-2px) scale(1.3); /* Subtler hover effect */
        transition: transform 0.3s ease;
    }

    footer.footer .rights {
        justify-content: center; /* Center copyright text */
        text-align: center; /* Ensure text alignment */
        padding: 1rem 0; /* Add padding for spacing */
        font-family: var(--Josefin);
    }

    footer.footer .rights h4 {
        margin-top: 4rem;
        font-size: 2rem; /* Smaller font for copyright */
        color: var(--white);
    }

    footer.footer .rights h4 a {
        color: var(--white);
    }

    footer.footer .move-up {
        position: fixed;
        right: 30px; /* Adjust position for smaller screens */
        top: 90%; /* Move slightly lower */
        z-index: 999;
    }

    footer.footer .move-up span {
        font-size: 1.5rem; /* Smaller arrow icon */
        color: var(--midnight);
    }

    footer.footer .move-up span:hover {
        color: darkblue;
        cursor: pointer;
    }



    /* Contact Section Mobile */
    .contact-left, .contact-right {
        flex-basis: 100%;
        padding-right: 0;
        padding: 0 5%; /* Add padding to contact columns */
    }
    .contact-left {
        margin-bottom: 40px;
    }
    .contact-left p {
        font-size: 16px;
    }

    .social-icon {
        text-align: center; /* Center social icons */
    }
    .social-icon a {
        font-size: 28px;
        margin: 0 10px; /* Adjust spacing */
    }
#emailForm {
    width: 70%;
    display: flex;
    flex-direction: column; /* Stack form elements */
    gap: 15px; /* Space between form fields */
}

#emailForm input{
     width: 100%;
    border: 0;
    margin-left: 0;
    margin-bottom: 1rem;
    margin-top: 1rem;
    outline: none;
    background: #3d065a; /* Lighter background for form fields */
    padding: .8rem; /* More padding */
    color: #FFFFFF;
    font-size: 14px;
    border-radius: 8px; /* Consistent border-radius */
    resize: vertical; /* Allow textarea to be resized vertically */
}

#emailForm button{
  
    width: 50%;
    border: 0;
    outline: none;
    background: #070743; /* Lighter background for form fields */
    padding: 25px; /* More padding */
    color: #FFFFFF;
    font-weight: bold;
    font-size: 17px;
    padding: 8px;
    margin-left: 0;
    margin-top: .1rem;
    border-radius: 8px; /* Consistent border-radius */
    resize: vertical; /* Allow textarea to be resized vertically */
}

    form .btn2 {
        align-self: center; /* Center submit button */
    }
     footer.footer  .copy-right {
        font-size: 13px;
        padding: 20px 5%;
    }

    .container .pagination .book-now-btn {
   position: sticky;
        bottom: 10px;
        margin-left: 11rem;
        margin-bottom: 2.9rem;
        margin-top: 2rem;
        transform: translatex(-50%);
        top: auto;
        font-size: 16px; /* Reduced font size */
        padding: 10px 55px; /* Reduced padding */
        z-index: 999;
}

  
}












@media only screen and (max-width: 768px) {
    footer.footer {
        height: auto; /* Allow height to adjust based on content */
        background: url('../assets/IMG/wonder2.png');
        background-size: cover; /* Maintain background image coverage */
        background-position: center center;
        max-height: 5000px;
        overflow-x: hidden;
        background-repeat: no-repeat;
    }

    footer.footer .container {
        grid-template-columns: 1fr; /* Stack columns vertically */
        gap: 1rem; /* Add spacing between stacked sections */
    }

    footer.footer .container > div {
        padding: 1.5rem 0.5rem; /* Reduce padding for smaller screens */
        margin-top: 10PX;
    }

    footer.footer .container h2 {
        font-size: 1.5rem; /* Smaller heading size */
        color: blue;
    }

    footer.footer .container h3 {
        font-size: 1.2rem; /* Smaller subheading size */
        color: blue;
    }

    footer.footer .container p {
        font-size: 16px; /* Reduce font size for paragraphs */
        color: rgb(3, 41, 116);
        
    }

       footer.footer .container .p1 {
        font-size: 16px; /* Reduce font size for paragraphs */
        color: rgb(32, 61, 222);
        text-shadow: #1A1A1A;
        
    }

    footer.footer .follow div a i{
    color: rgb(222, 222, 240);
    padding: 0 .4rem;
    font-size: 2rem;
    cursor: pointer;
}

    footer.footer .newsletter .form-element {
        width: 100%; /* Full width for form */
        text-align: center; /* Center form elements */
        background: black;
        display: inline-block;
    }

    footer.footer .newsletter .form-element input {
        width: 80%; /* Slightly narrower input field */
        font-size: 0.9rem; /* Smaller font size for input */
        padding: 0.4rem 0.6rem;
        border: none;
        background: transparent;
        color: white;
        font-family: var(--Josefin);
    }

    footer.footer .newsletter .form-element span {
        background: var(--sky);
        padding: 0.4rem 0.6rem; /* Adjust padding for button */
        cursor: pointer;
    }

    #formMessage {
        display: none; /* Hidden by default, as in original */
        max-width: 100%; /* Allow alert to take full width */
        font-size: 15px; /* Smaller font for alerts */
        padding: 15px 10px; /* Adjust padding */
        margin-top: 25px;
        background-color: #fdecea;
        border: 1px solid #f5c6cb;
        color: #721c24;
        border-radius: 5px;
        font-weight: 500;
        box-shadow: 0 0 5px rgba(0,0,0,0.1);
    }

    #formMessage.error {
        background-color: #fdecea;
        border: 1px solid #f5c6cb;
        color: #721c24;
    }

    #formMessage.success {
        background-color: #d4edda;
        border: 1px solid #c3e6cb;
        color: #155724;
    }

    footer.footer .follow div i {
        font-size: 1.2rem; /* Smaller social icons */
        padding: 0 0.3rem; /* Adjust spacing between icons */
        color: var(--white);
        cursor: pointer;
    }

    footer.footer .follow div i:hover {
        transform: translateY(-2px) scale(1.3); /* Subtler hover effect */
        transition: transform 0.3s ease;
    }

    footer.footer .rights {
        justify-content: center; /* Center copyright text */
        text-align: center; /* Ensure text alignment */
        padding: 1rem 0; /* Add padding for spacing */
        font-family: var(--Josefin);
    }

    footer.footer .rights h4 {
        font-size: 0.9rem; /* Smaller font for copyright */
        color: var(--white);
    }

    footer.footer .rights h4 a {
        color: var(--white);
    }

    footer.footer .move-up {
        position: fixed;
        right: 30px; /* Adjust position for smaller screens */
        top: 90%; /* Move slightly lower */
        z-index: 999;
    }

    footer.footer .move-up span {
        font-size: 1.5rem; /* Smaller arrow icon */
        color: var(--midnight);
    }

    footer.footer .move-up span:hover {
        color: darkblue;
        cursor: pointer;
    }



    /* Contact Section Mobile */
    .contact-left, .contact-right {
        flex-basis: 100%;
        padding-right: 0;
        padding: 0 5%; /* Add padding to contact columns */
    }
    .contact-left {
        margin-bottom: 40px;
    }
    .contact-left p {
        font-size: 16px;
    }

    .social-icon {
        text-align: center; /* Center social icons */
    }
    .social-icon a {
        font-size: 28px;
        margin: 0 10px; /* Adjust spacing */
    }
#emailForm {
    width: 60%;
    display: flex;
    flex-direction: column; /* Stack form elements */
    gap: 15px; /* Space between form fields */
}

#emailForm input{
     width: 100%;
    border: 0;
    margin-left: 0;
    outline: none;
    background: #3d065a; /* Lighter background for form fields */
    padding: .8rem; /* More padding */
    color: #FFFFFF;
    font-size: 14px;
    border-radius: 8px; /* Consistent border-radius */
    resize: vertical; /* Allow textarea to be resized vertically */
}

#emailForm button{
  
    width: 50%;
    border: 0;
    outline: none;
    background: #070743; /* Lighter background for form fields */
    padding: 25px; /* More padding */
    color: #FFFFFF;
    font-weight: bold;
    font-size: 14px;
    padding: 8px;
    margin-left: 0;
    margin-top: .1rem;
    border-radius: 8px; /* Consistent border-radius */
    resize: vertical; /* Allow textarea to be resized vertically */
}

    form .btn2 {
        align-self: center; /* Center submit button */
    }
    .copy-right {
        font-size: 13px;
        padding: 20px 5%;
    }

    .container .pagination .book-now-btn {
   position: sticky;
        bottom: 10px;
        margin-left: 11rem;
        margin-bottom: 2.9rem;
        margin-top: 2rem;
        transform: translatex(-50%);
        top: auto;
        font-size: 16px; /* Reduced font size */
        padding: 10px 55px; /* Reduced padding */
        z-index: 999;
}

  
}






/* move-up button fix */


/* book-now fix kwa simu */



   

 
