
/*---Sauti Yetu Foundation Website By KamboyCEO---*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    font-family: "Poppins" sans-serif;
}

body{
    background-color: #fff;
}

html{
    scroll-behavior: smooth;
}

/*---Navigation Bar---*/
.navbar{
    background-color: white;
    height: 80px;
}

.navbar-brand{
    height: 48;
    width: 60;
}
.Subscribe {
    background-color: #1085E4;
    color: white;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s background-color;
    margin-left: 50px;
    border: solid;
}

.Subscribe:hover{
    background-color: #fff;
    color: #1085E4;
    border-color: #1085E4;
}

.navbar-toggler{
    border: none;
    font-size: 1.25s;
}

.navbar-toggler:focus, btn-close:focus{
    box-shadow: none;
    outline: none;
}

.nav-link{
    color: #1085E4;
    font-weight: 500;
    font-size: 18px;
    position: relative;
}

.nav-link:hover, .nav-link.active{
    color: black;
}



/*----Slider----*/
.carousel-item{
    height: 100vh;
    min-height: 300px;
    background: no-repeat scroll center scroll;
    -webkit-background-size: cover;
    background-size: cover;
}

.carousel-item::before{
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0.3;
}

.carousel-caption{
    bottom: 80px;
    padding-left: 100px;
    padding-right: 100px;
}

.carousel-caption h5{
    font-size: 30px;
    font-weight: 700;
}

.carousel-caption p{
    font-size: 18px;
    top: 2rem;
}

.carousel-indicators{
    visibility: hidden;
}

.slider-btn .btn{
    background-color: #1085E4;
    color: white;
    border-radius: 5px;
    margin-top: 50px;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: 700;
    margin-right: 15px;
    transition: 0.2s ease;
}

.slider-btn .btn-2{
    color: white;
    background-color: transparent;
    border: solid;
    border-width: 1px;
}

.slider-btn .btn:hover{
    color: #1085E4;
    background-color: white;
    transform: scale(0.9);
}

/*---Responsive CSS---*/
@media only screen and (min-width:768px) and (max-width:991px){
    .carousel-item{
        height: 45vh;
    }
    .carousel-caption{
        bottom: 50px;
    }
    .carousel-caption p{
        width: 100%;
    }
    .carousel-caption h5{
        font-size: 20px;
    }
    .carousel-indicators{
        bottom: 320px;
        visibility: hidden;
    }
    .slider-btn .btn{
        font-size: 19px;
        margin-right: 10px;
    }
    .Subscribe{
        font-size: 13px;
    }
}

@media only screen and (max-width: 767px){
    .navbar{
        text-align: left;
    }
    .carousel-item{
        top: 80px;
        height: 10px;
    }
    .carousel-caption{
        height: 100px;
        top: 30px;
        padding-left: 5px;
        padding-right: 5px;
    }
    .carousel-caption h5{
        font-size: 13px;
    }
    .carousel-caption p{
        line-height: 1.6;
        font-size: 12px;
    }
    .slider-btn .btn{
        padding: 5px;
        margin-top: 20px;
        font-size: 12px;
    }
    .carousel-indicators{
        bottom: 320px;
        visibility: hidden;
    }
    .carousel-control-prev{
        bottom: 1px;
        visibility: hidden;
    }
    .carousel-control-next{
        bottom: 1px;
        visibility: hidden;
    }
    .Subscribe{
        font-size: 14px;
    }
}


/*---About Us Section CSS---*/
.About{
    overflow: hidden;
    height: 450px;
}

.heading h1{
    color: #1085E4;
    font-size: 35px;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.container{
    display: flex;
    width: 100%;
    margin-top: 10px;
}

.About-content{
    flex: 1;
    width: 600px;
    margin: 0px 25px;
}

.About-content h2{
    font-size: 38px;
    margin-bottom: 20px;
    color: #333;
}

.About-content p{
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: justify;
    text-transform: capitalize;
}
.Learn-More {
    display: inline-block;
    text-align: center;
    padding: 10px 20px;
    background-color: #007BFF; /* adjust color as needed */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin: 10px auto;
  }

.About-content a{
    display: inline-block;
    background-color: #1085E4;
    color: #fff;
    padding: 10px 20px;
    font-size: 19px;
    font-weight: 500;
    border: solid;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.2s ease;
    text-decoration: none;
}

.About-content a:hover{
    background-color: #fff;
    color: #1085E4;
    transform: scale(0.9);
}

.About-image{
    flex: 1;
    width: 600px;
    margin: auto;
}

.about-img{
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.mission{
    width: 1100px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-left: 80px;
    margin-top: 100px;
}

.mission .mission-box{
    position: relative;
    border-radius: 10px;
    width: 345px;
    background: #ffffff;
    padding: 20px 40px 10px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, .1);
}

.mission .mission-box::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1085E4;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s;
    border-radius: 10px;
}

.mission .mission-box:hover::before{
    transform: scaleY(1);
    transform-origin: bottom;
    transition: transform 0.5s;
    border-radius: 10px;
}

.mission-img{
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    transition: 0.8s;
}

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

.mission .mission-box h3{
    position: relative;
    text-align: center;
    z-index: 2;
    transition: 0.5s;
    font-size: 30px;
    color: #1085E4;
    font-weight: 700;
    margin-bottom: 20px;
}

.mission .mission-box:hover h3{
    color: #fff;
}

.mission .mission-box p{
    position: relative;
    z-index: 2;
    color: #000;
    transition: 0.5s;
    font-weight: 400;
    text-align: center;
    text-transform: capitalize;
}

.mission .mission-box:hover p{
    color: #fff;
}

/*---Responsive CSS---*/
@media only screen and (min-width:768px) and (max-width:991px){
    .heading h1{
        font-size: 40px;
    }
    .About-content h2{
        font-size: 30px;
    }
    .About-content p{
        font-size: 15px;
        margin-bottom: 20px;
    }
    .About-image{
        width: 100%;
        margin-top: 60px;
    }
    .About-content button{
        font-size: 20px;
        padding: 8px 16px;
    }
}

@media only screen and (max-width: 767px){
    .heading h1{
        font-size: 30px;
        margin-top: 30px;
    }
    .About{
        height: 730px;
        width: 100%;
    }
    .container{
        width: 100%;
        flex-direction: column;
        margin:0px;
        margin-top: 10px;
        padding: 0px 10px;
    }
    .About-content{
        width: 100%;
        margin-top: 30px;
        margin-bottom: 10px;
        text-align: center;
        margin: 0px 0px;
    }
    .About-content h2{
        margin-top: 10px;
        font-size: 25px;
        text-align: center;
    }
    .About-content p{
        font-size: 17px;
        font-weight: 400;
        margin-bottom: 20px;
        margin-left: 15px;
        margin-right: 15px;
    }
    .About-content a{
        font-size: 15px;
        margin-bottom: 20px;
    }
    .Learn-More{
        display: inline-block;
    }
    .About-image{
        width: 100%;
        margin-bottom: 20px;
        padding: 10px;
    }
    .mission{
        width: 100%;
        padding: 20px;
        margin-left:auto;
        margin-top: 30px;
    }
    .mission .mission-box{
        margin-top: 30px;
    }
    .mission .mission-box h3{
        font-size: 25px;
    }
    .container{
        height: 450px;
    }
}

/*---Counters Section Page CSS---*/
.counters{
    padding: 3em 2em;
    background: #1085E4;
    color: #fff;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4em 2em;
}
.counter{
    position: relative;
}
.counter h1{
    font-size: 40px;
    margin-bottom: 10px;
}
.counter:not(:last-child)::before{
    content: '';
    background-color: #fff;
    position: absolute;
    width: 2px;
    height: 3em;
    top: 50%;
    transform: translateY(-50%);
    right: 1em;
}

/*---Responsive CSS---*/
@media screen and 
(max-width: 900px) and (min-width: 501px){
    .counters{
        grid-template-columns: 1fr 1fr;
    }
    .counter:nth-child(2)::before{
        display: none;
    }
}

@media screen and (max-width: 500px){
    .counters {
        grid-template-columns: 1fr;
        row-gap: 3em;
        padding: 2em 1em;
    }
    .counter h1 {
        font-size: 35px; /* smaller counter number */
    }
    .counter h3 {
        font-size: 25px; /* smaller label */
    }
    .counter:not(:last-child)::before{
        width: 90%;
        height: 2px;
        top: initial;
        right: initial;
        bottom: -1.5em;
        left: 50%;
        transform: translateX(-50%);
    }
}

/*---Services Page CSS---*/
.service-section{
    height: 900px;
    width: 100%;
    display: grid;
    place-items: center;
}

.section-heading{
    font-size: 35px;
    color: #1085E4;
    margin-top: 32px;
}

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

.column{
    width: 100%;
    padding: 0 1em 1em 1em;
    text-align: center;
}

.card{
    border: 1px solid #fff;
    width: 100%;
    height: 100%;
    padding: 2em 1.5em;
    background: linear-gradient(#ffffff 50%, #1085E4 50%);
    background-size: 100% 200%;
    background-position: 0 2.5%;
    border-radius: 5px;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: 0.5s;
}

.service-h3{
    font-size: 20px;
    font-weight: 600;
    color: #1085E4;
    margin: 1em 0;
}

.service-p{
    color: #000;
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 0.03em;
    text-transform: capitalize;
}

.icon-wrapper{
    background-color: #1085E4;
    position: relative;
    margin: auto;
    font-size: 30px;
    height: 2.5em;
    width: 2.5em;
    color: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: 0.5s;
}

.card:hover{
    background-position: 0 100%;
}

.card:hover .icon-wrapper{
    background-color: #ffffff;
    color: #1085E4;
}

.card:hover .service-h3{
    color: #fff;
}

.card:hover .service-p{
    color: #fff;
}

/*---Responsive CSS---*/
@media screen and (min-width:768px){
    .service-section{
        padding: 0 2em;
    }
    .column{
        flex: 0 50%;
        max-width: 50%;
    }
}

@media screen and (min-width: 992px){
    .service-section{
        padding: 1em 3em;
    }
    .column{
        flex: 0 0 33.3%;
        max-width: 33.33%;
    }
    
}

@media (max-width: 600px){
    .service-section{
        padding: 20px;
        height: 2400px;
    }
    .section-heading{
        font-size: 25px;
        margin-top: 2px;
    }
    .column{
        margin-top: 30px;
    }
}


/*-----Gallery 2-----*/
.Gallery2{
    width: 100%;
    padding: 50px;
    padding-top: 70px;
}

.Gallery2 .section-head{
    max-width: 700px;
    margin: 0px auto 25px;
    text-align: center;
}

.section-head h1{
    position: relative;
    font-size: 35px;
    margin: 10px 0px 30px;
    color: #1085E4;
    margin-top: 40px;
}

.btn-group{
    text-align: center;
    margin-bottom: 40px;
    margin-left: 350px;
}

.btn-group .button-g{
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    background-color: #BFECFF;
    color: #1085E4;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    transition: all 0.4s;
    letter-spacing: 1px;
    border: none;
    border-radius: 25px;
    outline: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-group .button-g.active{
    background-color: #1085E4;
    color: #fff;
}

.btn-group .button-g:hover{
    background-color: #1085E4;
    color: #fff;
}

.GalleryTwo{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.GalleryTwo .item{
    position: relative;
    margin: 4px;
    width: calc(33.33% - 8px);
    overflow: hidden;
    cursor: pointer;
}

.item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.3s;
}

.GalleryTwo .item:hover img{
    transform: scale(1.15);
}


@media (max-width: 1024px){
    .GalleryTwo .item{
        width: calc(50% - 8px);
    }
}

@media (max-width: 600px){
    .Gallery2{
        width: 100%;
        padding: 20px;
        padding-top: 20px;
        margin-top: 1250px;
    }
    .section-head h1{
        font-size: 30px;
    }
    .section-head{
        margin-bottom: 10px;
    }
    .GalleryTwo .item{
        width: 100%;
        margin: 4px 0px;
        margin-top: 10px;
    }
    .btn-group{
        margin-left: 1px;
        display: grid ;
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }
    .button-g {
        font-size: 15px; 
      }
    
  
}


/*-----Our Team-----*/
.Our-Team{
    height: 350px;
    padding-top: 25px;
}

.Team-Top h1{
    margin-top: 50px;
    color: #1085E4;
    text-align: center;
    font-size: 35px;
}

.Team-Top p{
    margin: 0px 70px;
    margin-top: 30px;
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    text-transform: capitalize;
}

.Team{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}

.profile-card{
    position: relative;
    width: 220px;
    height: 220px;
    background-color: #fff;
    padding: 25px;
    border-radius: 50%;
    border: solid;
    border-color: transparent;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.12);
    transition: .3s;
    margin: 0 20px;
    margin-top: 70px;
}

.profile-card:hover{
    border-radius: 10px;
    height: 260px;
    border-color: #1085E4;
    border-width: 1px;
}

.profile-card .Team-img{
    position: relative;
    width: 100%;
    height: 100%;
    transition: .3s;
    z-index: 99;
}

.profile-card:hover .Team-img{
    transform: translateY(-60px);
}

.Team-img img{
    width: 100%;
    border-radius: 50%;
}

.Team-img:hover img{
    border-radius: 10px;
}

.caption{
    text-align: center;
    transform: translateY(-80px);
    opacity: 0;
    transition: .3s;
}

.profile-card:hover .caption{
    opacity: 1;
}

.caption p{
    font-size: 15px;
    color: #1085E4;
    margin: 2px 0 6px 0;
}

.caption h3{
    font-size: 19px;
}

.caption .social-links a{
    color: #333;
    margin-right: 8px;
    font-size: 18px;
    transition: .6s;
}

.social-links a:hover{
    color: #1085E4;
}

/*---Responsive CSS---*/
@media (max-width: 1024px){

}

@media (max-width: 600px){
    .Our-Team{
        height: 480px;
        padding-top: 10px;
    }
    .Team-Top h1{
        font-size: 30px;
    }
    .Team-Top p{
        font-size: 15px;
        font-weight: 400;
        margin: 0px 30px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .Team{
        height: 100px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .profile-card{
        width: 150px;
        height: 150px;
        padding: 16px;
        margin: 0 15px;
        margin-top: 55px;
    }
    .profile-card:hover{
        height: 180px;
    }
    .caption h3{
        font-size: 16px;
    }
    .caption p{
        font-size: 11px;
        margin: 2px 0 6px 0;
    }
}


/*-----Contact Form-----*/
.Contact-section{
    position: relative;
    justify-content: center;
    align-items: center;
    height: 990px;
    padding-top: 50px;
}

.contact{
    text-align: center;
}

.contact h1{
    margin-top: 50px;
    color: #1085E4;
    font-size: 35px;
    text-transform: capitalize;
}

.contact p{
    margin: 0px 70px;
    margin-top: 30px;
    font-size: 18px;
    font-weight: 400;
    text-transform: capitalize;
}

.Contact-section .Contact-container{
    position: relative;
    min-width: 1100px;
    min-height: 550px;
    display: flex;
    z-index: 1000;
    margin-top: 100px;
    margin-left: 55px;
}
.Contact-section .Contact-container .Contactinfo{
    position: absolute;
    top: 40px;
    width: 380px;
    height: calc(1005 - 80px);
    margin-top: 50px;
    margin-left: 20px;
    background: #1085E4;
    border-radius: 10px;
    z-index: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.12);
}

.Contact-section .Contact-container .Contactinfo h2{
    color: white;
    font-size: 24px;
    font-weight: 500;
}

.Contact-section .Contact-container .Contactinfo .info{
    position: relative;
    margin: 10px 0;
}

.Contact-section .Contact-container .Contactinfo .info li{
    position: relative;
    list-style: none;
    display: flex;
    margin: 20px 0;
    cursor: pointer;
}

.Contact-section .Contact-container .Contactinfo .info li span:nth-child(1){
    width: 30px;
    min-width: 30px;
}

.Contact-section .Contact-container .Contactinfo .info li span:nth-child(1) i{
    font-size: 20px;
}

.Contact-section .Contact-container .Contactinfo .info li span:nth-child(2){
    color: #fff;
    font-weight: 500;
}

.Contact-section .Contact-container .Contactinfo .sci{
    position: relative;
    display: flex;
}

.Contact-section .Contact-container .Contactinfo .sci i{
    list-style: none;
    margin-right: 15px;
    color: #fff;
    font-size: 20px;
}

.Contact-container .ContactForm{
    position: absolute;
    padding: 70px 50px;
    background: #fff;
    margin-left: 120px;
    padding-left: 320px;
    width: 1010px;
    height: 500px;
    border-radius: 10px;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.12);
}

.ContactForm h2{
    color: #1085E4;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
}

.ContactForm .formBox{
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.ContactForm .formBox .inputBox{
    position: relative;
    margin: 0 0 35px 0;
}

.ContactForm .formBox .inputBox.w50{
    width: 47%;
}

.ContactForm .formBox .inputBox.w100{
    width: 100%;
}

.ContactForm .formBox .inputBox input,
.ContactForm .formBox .inputBox textarea{
    width: 100%;
    padding: 5px 0;
    resize: none;
    font-size: 15px;
    font-weight: 400;
    color: #333;
    border: none;
    border-bottom: 1px solid #1085E4;
    outline: none;
    letter-spacing: 1px;
}

.ContactForm .formBox .inputBox span{
    position: absolute;
    left: 0;
    padding: 5px 0;
    font-size: 15px;
    color: #333;
    transition: 0.5s;
    pointer-events: none;
}

.ContactForm .formBox .inputBox input:focus ~ span,
.ContactForm .formBox .inputBox input:valid ~ span,
.ContactForm .formBox .inputBox textarea:focus ~ span,
.ContactForm .formBox .inputBox textarea:valid ~ span{
    transform: translateY(-15px);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    color: red;
}

.ContactForm .formBox .inputBox input[type="submit"]{
    position: relative;
    cursor: pointer;
    background: #1085E4;
    color: #fff;
    border: solid;
    border-color: transparent;
    max-width: 150px;
    padding: 10px;
    font-size: 20px;
    font-weight: 500;
    transition: 0.2s ease;
    margin-left: 350px;
}

.ContactForm .formBox .inputBox input[type="submit"]:hover{
    background-color: #fff;
    color: #1085E4;
    border-color: #1085E4;
    transform: scale(0.9);
}

/*---Responsive CSS---*/
@media (max-width: 1024px){

}

@media (max-width: 600px){
    .hidden-on-mobile{
        display: none;
        margin-bottom: 10px;
    }
    .Contact-section{
        padding-top: 50px;
    }
    .contact h1{
        font-size: 30px;
        margin-left: 30px;
        margin-right: 30px;
    }
    .contact p{
        margin: 0px 40px;
        margin-top: 20px;
        font-size: 19px;
    }
}


/*-----Mobile Contact Form-----*/
.contact{
    text-align: center;
}

.contact h1{
    color: #1085E4;
    font-size: 35px;
    text-transform: capitalize;
}

.contact p{
    margin: 0px 70px;
    margin-top: 30px;
    margin-bottom: 50px;
    font-size: 18px;
    font-weight: 400;
}

.m-contact{
    margin-bottom: 100px;
    padding-top: 30px;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    justify-content: center;
    min-height: 500px;
    width: 100%;
}

.m-container{
    position: relative;
    z-index: 1000;
    width: 100%;
    max-width: 1000px;
    padding: 50px;
    background: #fff;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.12);
    border-radius: 10px;
}

/*---Responsive CSS---*/
@media (max-width: 600px){
    .ContactForm h2{
        text-align: center;
        margin-bottom: 30px;
    }
    .m-contact{
        padding-top: 10px;
        padding-left: 10px;
        padding-right: 10px;
        display: flex;
        justify-content: center;
        min-height: 700px;
        width: 100%;
        margin-bottom: 20px;
    }
    .contact h1{
        color: #1085E4;
        font-size: 25px;
        text-transform: capitalize;
    }
    .contact p{
        margin-top: 20px;
        margin-bottom: 50px;
        font-size: 15px;
        font-weight: 400;
    }
    .ContactForm .formBox .inputBox input[type="submit"]{
        margin-left: 50px;
    }
}


/*---Footer Starts
.main-footer{
    background: #1085E4;
    color: #fff;
    position: absolute;
    bottom: o;
    width: 100%;
    padding: 0 50px;
    border-radius: 60px 0 0 0;
}

.top-footer{
    display: flex;
    padding: 40px 0;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.logo-box{
    max-width: 250px;
}

.logo-box p{
    font-weight: 600;
    text-transform: capitalize;
}

.logo-title{
    font-size: 24px;
    font-weight: 700;
    color: #001A6E;
}

.label-menu{
    color: #001A6E;
    font-size: 24px;
    font-weight: 700;
    position: relative;
    max-width: 150px;
}

.label-menu::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
}

.E-mail{
    color: #fff;
    text-decoration: none;
    left: 0;
    bottom: 0;
    transition: 0.25s;
}

.E-mail:hover{
    left: 4px;
    bottom: 1px;
    color: #001A6E;
}

.menu-box{
    display: flex;
    flex-direction: column;
    list-style: none;
    max-width: 190px;
}

.menu-box a{
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    position: relative;
    left: 0;
    bottom: 0;
    transition: 0.25s;
}

.menu-box a:hover{
    left: 4px;
    bottom: 1px;
    color: #001A6E;
}

.newsletter-box{
    max-width: 300px;
}

.newsletter-message{
    color: #fff;
    font-weight: 600;
    text-transform: capitalize;
}

.input-box{
    display: flex;
    margin-top: 16px;
}

.email-input{
    width: 100%;
    padding: 7px;
    border-radius: 10px 0 0 10px;
    border: none;
    outline: none;
    color: #000;
    font-weight: 500;
}

.send-btn{
    background: #001A6E;
    width: 55px;
    border: none;
    border-radius: 0 12px 12px 0;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    transition: o.25s;
}

.send-btn i{
    position: relative;
    left: 0;
    bottom: 0;
    transition: 0.25s;
}

.send-btn i:hover{
    left: 2px;
    bottom: 1px;
}

.send-btn:hover{
    background-color:#000;
}

.rounded{
    border-top: 1px  solid #fff;
    opacity: 5;
    border-radius: 5px;
}

.bottom-footer{
    display: flex;
    justify-content: space-between;
}

.copyright-txt{
    color: #fff;
    margin-bottom: 30px;
}

.copyright-txt a{
    color: #001A6E;
    font-weight: 700;
    text-decoration: none;
}

.social-media{
    display: flex;
    gap: 24px;
}

.social-media i{
    font-size: 22px;
    color: #fff;
    position: relative;
    bottom: 0;
    transition: 0.25s;
}

.social-media i:hover{
    bottom: 3px;
    color: #001A6E;
}

/*---Responsive CSS
@media (max-width: 1024px) {
    .main-footer{
        padding: 0 50px;
    }
    .logo-box{
        width: 100%;
    }
}

@media (max-width: 768px) {
    .main-footer{
        padding: 0 25px;
    }
    .bottom-footer{
        flex-direction: column;
        gap: 25px;
    }
    .copyright-txt{
        font-size: 12px;
        text-align: center;
    }
    .social-media i{
        font-size: 20px;
        margin-bottom: 50px;
        margin-left: 50px;
    }
    .newsletter-message{
        text-align: center;
    }
    .label-menu{
        position: relative;
        margin-left: 80px;
    }
    .logo-title{
        font-size: 20px;
        margin-left: 60px;
        width: 100%;
    }
    .logo-box p{
        text-align: center;
        width: 300px;
        margin-left: 10px;
    }
    .label-menu{
        font-size: 20px;
    }
    .menu-box a{
        text-decoration: none;
    }
    .menu-box li{
        width: 250px;
        text-align: center;
    }
    .label-menu-box{
        text-align: center;
    }
    .email-input{
        margin-left: 20px;
    }
    .newsletter-message{
        margin-left: 10px;
    }
}---*/
/*---New Footer CSS Code---*/
/* Base Footer Styling */
.main-footer {
    background-color: #1085E4;
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
    padding: 2em 1em;
  }
  
  .top-footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2em;
    margin-bottom: 2em;
  }

  .f-logo .logo-title {
    font-size: 24px;
    font-weight: 700;
    color: #001A6E;
  }
  .f-logo p {
    font-size: 0.95em;
    font-weight: 600;
    text-transform: capitalize;
  }
  
  .label-menu-box {
    font-size: 0.95em;
  }
  
  .label-menu {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 0.5em;
    color: #001A6E;
    position: relative;
  }
  .label-menu::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    }
  
  .menu-box {
    max-width: 190px;
    display: flex;
    flex-direction: column;
    list-style: none;
  }
  
  .menu-box li {
    margin-bottom: 0.5em;
  }
  
  .menu-box a {
    text-decoration: none;
    color: #fff;
    transition: 0.25s;
    font-weight: 600;
    position: relative;
    left: 0;
    bottom: 0;
  }
  
  .menu-box a:hover {
    color: #001A6E;
    left: 4px;
    bottom: 1px;
  }
  
  .E-mail {
    position: relative;
    color: #fff;
    text-decoration: none;
    left: 0;
    bottom: 0;
    transition: 0.25s;
  }
  
  .E-mail:hover {
    left: 4px;
    bottom: 1px;
    color: #001A6E;
  }
  
  .newsletter-message {
    font-size: 0.95em;
    margin-bottom: 1em;
    color: #fff;
    font-weight: 600;
    text-transform: capitalize;
  }
  
  .input-box {
    display: flex;
    max-width: 100%;
    border-radius: 5px;
    overflow: hidden;
  }
  
  .email-input {
    flex: 1;
    padding: 0.5em;
    border: none;
    outline: none;
    border-radius: 10px 0 0 10px;
    color: #000;
    font-weight: 500;

  }
  
  .send-btn {
    background-color: #001A6E;
    border: none;
    color: #fff;
    font-size: 18px;
    width: 55px;
    cursor: pointer;
    cursor: pointer;
    transition: o.25s;
    border-radius: 0 12px 12px 0;
  }
  .send-btn i{
    position: relative;
    left: 0;
    bottom: 0;
    transition: 0.25s;
}
    .send-btn i:hover{
    left: 2px;
    bottom: 1px;
}
  
  .send-btn:hover {
    background-color: #009acf;
    left: 2px;
    bottom: 1px;
  }
  
  /* Divider */
  .rounded {
    opacity: 5;
    border-top: 1px  solid #fff;
    border-radius: 5px;
  }
  
  /* Bottom Footer */
  .bottom-footer {
    display: flex;
    justify-content: space-between;
  }
  
  .bottom-footer .CEO {
    text-decoration: none;
    color: #001A6E;
    font-weight: 700;
  }
  
  .social-media {
    display: flex;
    gap: 10px;
  }
  
  .social-media i {
    margin: 0 0.5em;
    position: relative;
    color: #fff;
    font-size: 22px;
    transition: 0.25s;
  }
  
  .social-media i:hover {
    color: #001A6E;
    bottom: 3px;
  }
  
  /* Media Queries */
  @media screen and (max-width: 768px) {
    .top-footer {
      grid-template-columns: 1fr 1fr;
    }
  
    .email-input {
      font-size: 0.9em;
    }
  
    .send-btn i {
      font-size: 1.1em;
    }
  }
  
  @media screen and (max-width: 500px) {
    .top-footer {
      grid-template-columns: 1fr;
    }
  
    .logo-title {
      font-size: 1.3em;
    }
  
    .label-menu,
    .newsletter-message {
      font-size: 1em;
    }
  
    .email-input,
    .send-btn {
      font-size: 0.9em;
    }
    .copyright-txt{
        font-size: 12px;
        text-align: center;
        margin-bottom: 1px;
        }
.social-media i{
    font-size: 20px;
    margin-bottom: 5px;
    }
    .bottom-footer{
      flex-direction: column;
      gap: 20px;
      align-items: center;
    }
    .menu-box {
        list-style: none;
        padding: 0;
        margin: 0;
    }
  }
  


/*---About SautiYetu Page CSS---*/
/*---About SautiYetu Page CSS---*/
/*---About SautiYetu Page CSS---*/
/*---About SautiYetu Page CSS---*/
/*---About SautiYetu Page CSS---*/
/*---About SautiYetu Page CSS---*/
/*---About SautiYetu Page CSS---*/
.header-background {
    margin-top: 70px;
    background-image: url('panashe.jpg');
    background-position: center; 
    background-size: cover; 
    background-repeat: no-repeat; 
    height: 300px; 
    color: white; 
    display: flex;
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    position: relative; 
    z-index: 1;
}

.header-background::after {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #000;
    opacity: 0.6;
}

.header-background h1 {
    font-family: Playfair;
    font-weight: 900;
    font-size: 50px;
    color: #fff;
    margin: 0;
    z-index: 2;
}

.A-heading{
    padding-left: 50px;
    padding-right: 50px;
}

.A-heading h1{
    text-align: center;
    color: #1085E4;
    margin-top: 50px;
    font-size: 25px;
}

.A-heading p{
    margin-top: 30px;
    margin-bottom: 40px;
    text-align: justify;
    font-size: 17px;
    font-weight: 400;
}

.header-background2{
    margin-top: 70px;
    background-image: url('bosa.jpg');
    background-position: center; 
    background-size: cover; 
    background-repeat: no-repeat; 
    height: 450px; 
    color: white; 
    display: flex;
    flex-direction: column; 
    align-items: center; 
    text-align: center;
    margin-bottom: 5px;
}

.header-background2::after {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.header-background2 h1 {
    font-family: Playfair;
    font-weight: 900;
    font-size: 55px;
    text-transform: capitalize;
    color: #fff;
    margin: 0;
    margin-bottom: 30px;
    margin-top: 10px;
}

.header-background2 h2{
    text-transform: uppercase;
    margin-top: 90px;
    font-size: 23px;
    font-weight: 700;
    color: #1085E4;
}

.A-btn {
    background-color: #1085E4;
    color: white; 
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    padding-left: 35px;
    padding-right: 35px;
    padding-top: 14px;
    padding-bottom: 14px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.2s ease;
}

.A-btn:hover{
    background-color: #fff;
    border-color: #fff;
    color: #1085E4;
    transform: scale(0.9);
}

.A-btn i{
    position: relative;
    left: 8px;
    transition: 0.25s;
}

/*---Responsive CSS---*/
@media (max-width: 1024px){

}

@media (max-width: 768px){
    .A-heading{
        padding-left: 25px;
        padding-right: 25px;
    }
    .A-heading h1{
        margin-top: 30px;
        font-size: 27px;
    }
    .header-background{
        height: 120px;
        margin-bottom: 5px;
    }
    .header-background h1 {
        font-size: 25px;
    }
    .header-background2{
        padding-left: 27px;
        padding-right: 27px;
        margin-top: 30px; 
        height: 300px;
        margin-bottom: 5px;
    }
    .header-background2 h1 {
        font-size: 25px;
        margin-bottom: 30px;
        margin-top: 10px;
    }
    .header-background2 h2{
        margin-top: 50px;
        font-size: 15px;
    }
}

/*---Donation Page CSS---*/
/*---Donation Page CSS---*/
/*---Donation Page CSS---*/
/*---Donation Page CSS---*/
/*---Donation Page CSS---*/
/*---Donation Page CSS---*/
.d-container{
    display: flex;
    margin-bottom: 20px;
    margin-top: 20px;
}

.box-1{
    height: 200px;
    width: 100%;
    padding: 30px;
}

.box-1 img{
    width: 37%;
    margin-left: 65%;
}

.box-2{
    height: 200px;
    width: 100%;
    padding: 30px;
}

.box-2 h2{
    color: #F46C23;
    font-weight: 700;
    text-align: center;
    font-size: 27px;
    margin-right: 250px;
}

.box-2 p{
    color: #045BAC;
    font-weight: 700;
    text-align: center;
    font-size: 18px;
    margin-right: 250px;
}

.d-heading{
    padding-left: 30px;
    padding-right: 30px;
    margin-top: 50px;
}

.d-heading h1{
    font-size: 20px;
    text-transform: capitalize;
    text-align: center;
    color: #1085E4;
    font-weight: 700;
    margin-bottom: 30px;
}

.d-heading{
    font-size: 17px;
    font-weight: 400;
    text-align: center;
    text-transform: capitalize;
}

.d-cont{
    width: 100%;
    min-height: 430px;
    display: flex;
    padding-left: 30px;
    padding-top: 10px;
    margin-bottom: 40px;
}

.d-card{
    width: 260px;
    height: 300px;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 20px;
    perspective: 1000px;
}

.d-card-inner{
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 1s;
    transform-style: preserve-3d;
}

.d-card:hover .d-card-inner{
    transform: rotateY(180deg);
}



.d-front, .d-back{
    width: 100%;
    height: 100%;
    border-radius: 15px;
    position: absolute;
    backface-visibility: hidden;
}

.d-front1, .d-back{
    width: 100%;
    height: 100%;
    border-radius: 15px;
    position: absolute;
    backface-visibility: hidden;
}

.d-front2, .d-back{
    width: 100%;
    height: 100%;
    border-radius: 15px;
    position: absolute;
    backface-visibility: hidden;
}

.d-front3, .d-back{
    width: 100%;
    height: 100%;
    border-radius: 15px;
    position: absolute;
    backface-visibility: hidden;
}



.d-front{
    background: url(smile.jpg);
    background-size: cover;
    background-position: center;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center; 
    z-index: 1;
}

.d-front1{
    background: url(teach.jpg);
    background-size: cover;
    background-position: center;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center; 
    z-index: 1;
}

.d-front2{
    background: url(nana.jpg);
    background-size: cover;
    background-position: center;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center; 
    z-index: 1;
}

.d-front3{
    background: url(bino.jpg);
    background-size: cover;
    background-position: center;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center; 
    z-index: 1;
}



.d-front::after {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #000;
    opacity: 0.7;
    border-radius: 15px;
}

.d-front1::after {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #000;
    opacity: 0.7;
    border-radius: 15px;
}

.d-front2::after {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #000;
    opacity: 0.7;
    border-radius: 15px;
}

.d-front3::after {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #000;
    opacity: 0.7;
    border-radius: 15px;
}


.d-front h2{
    font-size: 30px;
    font-weight: 500;
    z-index: 2;
}

.d-front1 h2{
    font-size: 30px;
    font-weight: 500;
    z-index: 2;
}

.d-front2 h2{
    font-size: 30px;
    font-weight: 500;
    z-index: 2;
}

.d-front3 h2{
    font-size: 30px;
    font-weight: 500;
    z-index: 2;
}



.d-front p{
    color: #ccc;
    font-size: 15px;
    font-weight: 500;
    z-index: 2;
}

.d-front1 p{
    color: #ccc;
    font-size: 15px;
    font-weight: 500;
    z-index: 2;
}

.d-front2 p{
    color: #ccc;
    font-size: 15px;
    font-weight: 500;
    z-index: 2;
}

.d-front3 p{
    color: #ccc;
    font-size: 15px;
    font-weight: 500;
    z-index: 2;
}



.d-front button{
    width: 120px;
    background: transparent;
    border: 2px solid #e31c24;
    border-radius: 50px;
    padding-bottom: 5px;
    cursor: pointer;
    margin-top: 5px;
    color: #fff;
    font-weight: 500;
    font-size: 17px;
    z-index: 2;
}

.d-front1 button{
    width: 120px;
    background: transparent;
    border: 2px solid #1085E4;
    border-radius: 50px;
    padding-bottom: 5px;
    cursor: pointer;
    margin-top: 5px;
    color: #fff;
    font-weight: 500;
    font-size: 17px;
    z-index: 2;
}

.d-front2 button{
    width: 120px;
    background: transparent;
    border: 2px solid #f35424;
    border-radius: 50px;
    padding-bottom: 5px;
    cursor: pointer;
    margin-top: 5px;
    color: #fff;
    font-weight: 500;
    font-size: 17px;
    z-index: 2;
}

.d-front3 button{
    width: 120px;
    background: transparent;
    border: 2px solid #ec1c24;
    border-radius: 50px;
    padding-bottom: 5px;
    cursor: pointer;
    margin-top: 5px;
    color: #fff;
    font-weight: 500;
    font-size: 17px;
    z-index: 2;
}

/*--Lipa Kwa Simu--*/
.m-pesa{
    color: #e31c24;
}
.yas{
    color: #1085E4;
}
.halo{
    color: #f35424;
}
.airtel{
    color: #ec1c24;
}
/*--Lipa Kwa Simu Ends--*/

.d-back{
    background: #fff;
    color: #333;
    padding-top: 30px;
    transform: rotateY(180deg);
    border: 1px solid #000;
}

.d-back h2{
    text-align: center;
    font-weight: 500;
    font-size: 20px;
    margin-bottom: 20px;
}

.d-back li{
    font-weight: 500;
    font-size: 15px;
    margin-left: 10px;
    margin-right: 10px;
}

.d-back p{
    font-size: 18px;
    text-align: center;
    font-weight: 500;
}

.lipa-namba{
    margin-top: 40px;
}

.lipa-namba h1{
    text-align: center;
    color: #1085E4;
    font-size: 70px;
    font-weight: 800;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.lipa-namba h2{
    text-align: center;
    color: #1085E4;
    font-weight: 700;
    font-size: 20px;
}

/*---Responsive CSS---*/
@media (max-width: 768px){
    .d-heading{
        padding: 10px;
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 5px;
        margin-bottom: 5px;
    }
    .d-heading h1{
        font-size: 20px;
    }
    .d-heading p{
        font-size: 16px;
        font-weight: 400;
        text-align: justify;
    }
    .d-container{
        flex-direction: column;
    }
    .box-1{
        height: 80px;
        padding: 0px;
    } 
    .box-1 img{
        width: 30%;
        margin-left: 36%;
    }
    .box-2{
        height: 160px;
        padding: 0px;
        text-align: center;
    }
    .box-2 h2{
        margin-top: 10px;
        font-size: 25px;
        margin-right: 0px;
    }
    .box-2 p{
        font-size: 20px;
        margin-right: 0px;
    }
    .lipa-namba h2{
        font-size: 17px;
        font-weight: 700;
    }
    .lipa-namba h1{
        font-size: 40px;
    }

    .d-cont{
        flex-direction: column;
        align-items: center;
        padding-left: 0px;
    }
    .d-card{
        width: 80%;
        margin-bottom: 20px;
    }
    .d-card{
        width: 80%;
        height: 280px;
        margin-left: 0px;
        margin-right: 00px;
        margin-top: 20px;
    }
    .d-back h2{
        margin-bottom: 10px;
    }
    .d-front button{
        font-size: 18px;
        padding-left: 1px;
        padding-right: 1px;
        padding-bottom: 2px;
        padding-top: 1px;
    }
    .d-front1 button{
        font-size: 18px;
        padding-left: 1px;
        padding-right: 1px;
        padding-bottom: 2px;
        padding-top: 1px;
    }
    .d-front2 button{
        font-size: 18px;
        padding-left: 1px;
        padding-right: 1px;
        padding-bottom: 2px;
        padding-top: 1px;
    }
    .d-front3 button{
        font-size: 18px;
        padding-left: 1px;
        padding-right: 1px;
        padding-bottom: 2px;
        padding-top: 1px;
    }

}

/*---Gallery Page CSS---*/
/*---Gallery Page CSS

.g-heading{
    padding-left: 30px;
    margin-right: 30px;
    margin-top: 50px;
}

.g-heading h1{
    font-size: 25px;
    text-transform: capitalize;
    text-align: center;
    color: #1085E4;
    margin-bottom: 20px;
}

.g-heading p{
    font-size: 17px;
    font-weight: 400;
    text-align: center;
    text-transform: capitalize;
}

.g-cont{
    width: 100%;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 50px;
    padding-right: 50px;
}

.g-gallery{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 20px;
}

.g-gallery img{
    width: 100%;
}

Responsive CSS
@media (max-width: 768px){
  .g-cont{
    height: 2800px;
    padding-left: 30px;
    padding-right: 30px;
  }
  .g-heading{
    margin-top: 20px;
  }
  .g-heading h1{
    font-size: 20px;
    margin-bottom: 20px;
  }

  .g-heading p{
    text-align: justify;
    font-size: 15px;
    margin-bottom: 10px;
  }
}---*/

/*---New Gallery CSS Code-----*/
/* Base styles */
.g-heading {
    padding: 20px;
    text-align: center;
  }
  
  .g-heading h1 {
    color: #1085E4;
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  .g-heading p{
    font-size: 17px;
    font-weight: 400;
    text-align: center;
    text-transform: capitalize;
}
  
  /* Gallery styles */
  .g-cont {
    padding: 20px;
  }
  .g-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 20px;
  }
  
  .g-gallery img {
    width: 100%;
  }
  
  /* Responsive adjustments for small screens */
  @media (max-width: 768px) {
    .g-heading h1 {
      font-size: 1.25rem;
    }
  
    .g-heading p {
      text-align: justify;
      font-size: 15px;
    }
  
    .g-gallery a {
      flex: 1 1 100%;
      max-width: 100%;
    }
  }
   

/*---Programs And Services Page CSS---*/
/*---Programs And Services Page CSS---*/
/*---Programs And Services Page CSS---*/
/*---Programs And Services Page CSS---*/
/*---Programs And Services Page CSS---*/
/*---Programs And Services Page CSS---*/
/*---Programs And Services Page CSS---*/

.p-heading{
    padding-left: 30px;
    margin-right: 30px;
    margin-top: 50px;
}

.p-heading h1{
    font-size: 25px;
    text-transform: capitalize;
    text-align: center;
    color: #1085E4;
    margin-bottom: 20px;
}

.p-heading p{
    font-size: 17px;
    font-weight: 400;
    text-align: center;
    text-transform: capitalize;
}

/*---Responsive CSS---*/
@media (max-width: 768px){
    .p-heading{
        padding-left: 20px;
        margin-right: 20px;
        margin-top: 20px;
    }
    .p-heading h1{
      font-size: 20px;
      margin-bottom: 20px;
    }
  
    .p-heading p{
      text-align: justify;
      font-size: 15px;
      margin-bottom: 40px;
    }
  }

  /*---Our Blog CSS---*/
  /*---Our Blog CSS---*/
  /*---Our Blog CSS---*/
  /*---Our Blog CSS---*/
  /*---Our Blog CSS---*/
  /*---Our Blog CSS---*/
  #blog{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  .b-heading{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .b-heading h3{
    margin-top: 50px;
    color: #1085E4;
    text-align: center;
    font-size: 35px;
  }
  .b-cont{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0px;
    flex-wrap: wrap;
  }
  .b-box{
    width: 350px;
    background-color: #ffffff;
    border: 1px solid #ececec;
    margin: 20px;
  }
  .b-img{
    width: 100%;
    height: auto;
  }
  .b-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .b-text{
    padding: 30px;
    display: flex;
    flex-direction: column;
  }
  .b-text span{
    color: #000;
    font-size: 0.9rem;
  }
  .b-text .b-title{
    text-transform: capitalize;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1085E4;
  }
  .b-text .b-title:hover{
    color: #f33c3c;
    transition: all ease 0.3s;
  }
  .b-text p{
    text-transform: capitalize;
    color: #9b9b9b;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 10px 0px;
  }
  .b-text a{
    color: #0f0f0f;
  }
  .b-text a:hover{
    color: #f33c3c;
    transition: all ease 0.3s;
  }

  /*---Responsive CSS---*/
  @media(max-width:1250px){
    .b-box{
        width: 300px;
    }
  }
  @media(max-width:11oopx){
    .b-box{
        width: 70%;
    }
  }
  @media(max-width:550px){
    .b-box{
        width: 100%;
    }
    .b-heading h3{
        font-size: 25px;
    }
    #blog{
        padding: 20px;
    }
  }


/*---Our Team CSS---*/
/*---Our Team CSS---*/
/*---Our Team CSS---*/
/*---Our Team CSS---*/
/*---Our Team CSS---*/
/*---Our Team CSS---*/

.T-heading{
    padding-left: 30px;
    margin-right: 30px;
    margin-top: 50px;
}

.T-heading h1{
    font-size: 25px;
    text-transform: capitalize;
    text-align: center;
    color: #1085E4;
    margin-bottom: 20px;
}

.T-heading p{
    font-size: 17px;
    font-weight: 400;
    text-align: center;
    text-transform: capitalize;
}

.Map{
    width: 100%;
    height: 330px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 20px;
}
iframe{
    width: 97%;
    height: 350px;
}

/*---Responsive CSS---*/
@media (max-width: 768px){
    .T-heading{
      margin-top: 20px;
      padding: 20px;
      margin-right: 0px;
    }
    .T-heading h1{
      font-size: 20px;
      margin-bottom: 20px;
    }
  
    .T-heading p{
      text-align: justify;
      font-size: 15px;
      margin-bottom: 25px;
    }
  }

/*---Sauti Yetu Foundation Website By KamboyCEO---*/