*{
    
    font-family: Arial, Helvetica, sans-serif;
}
/*Home Page*/

.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(31, 29, 29, 0.333), rgba(121, 90, 36, 0.4)),url(images/LIFETIME_GRAPHICS.ZW_\(533_of_228\)\ \(1\).JPG);
    background-position: center;
    background-size: cover;
    position: relative;
}

nav{
    display: flex;
    flex-direction: row;
    padding-top: 5px;
    padding-right: 2px;
    margin-right: 5px;
    margin-left: 5px;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 120px;
}

.nav-links{
    flex: 1;
    text-align: right;
}

.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 4px 12px;
    position: relative;
}

.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background-color: #e68415;
    display: block;
    margin: auto;
    transition: 0.3s;
}

.nav-links ul li:hover::after{
    width: 100%;
}

.nav-links ul li a{
    text-decoration: none;
    text-shadow: #777;
    color: whitesmoke ;
    font-size: 17px;
    font-weight: 400px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif ;
    text-transform: uppercase;
}
.welcome{
    width: 90%;
    color: white;
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.welcome h1{
    font-size: 30px;
}
.text-box{
    width: 90%;
    color: white;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.text-box h1{
    text-align: center;
    font-size: 55px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 18px;
    color: whitesmoke;
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: white;
    border: 1px solid white;
    padding: 12px 34px;
    font-size: 16px;
    text-transform: uppercase;
    background: transparent;
    position: relative;
    cursor: pointer;
    border-radius: 20px;
}
.hero-btn:hover{
    border: #e68415;
    background: #e68415;
    transition: 0.5s;
}

nav .fa{
    display: none;
}

@media(max-width: 700px){
    .text-box h1{
        font-size: 18px;
        text-align: center;
        margin-left: -40px;
        margin-top: -150px;
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: fixed;
        background: #f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    nav .fa{
        display: block;
        color: white;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 30px;
    }
    .text-box{
        width: 90%;
        
        position: absolute;
        top: 60%;
        
    }
    .text-box p{
        margin: 10px 0 40px;
        font-size: 14px;
        text-align: center;
        margin-left: -60px;
        margin-top: 10px;
       
    }
    .hero-btn{
        margin-left: -40px;
        font-size: 12px;
    }

nav img{
    width: 60px;
}
}


/* ...........course............*/

.course{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

h1{
    font-size: 36px;
    font-weight: 600;
}

p{
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}
.course-col{
    flex-basis: 49%;
    background: rgb(0, 14, 204);
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
    cursor: pointer;
}
.course-col img{
    width: 100%;
}

h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}

.course-col:hover{
    box-shadow: 0 0 20px 0px rgba(221, 4, 4, 0.2);
}

@media(max-width: 700px){
    .row{
        flex-direction: column;
    }
}


/*--------------------Campus---------------*/

.campus{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}

.campus h1{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: rgb(4, 4, 85);
    font-size: 40px;
}
.campus p{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    color: #555;
}
.layer h3{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 25px;
    color: rgb(4, 4, 85);
}

.campus-col{
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.campus-col img{
    width: 100%;
    display: block;
}

.layer{
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    background: rgba(0, 0, 0, 0.6);
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    display: flex;
}

.layer:hover{
    opacity: 1;
}

.layer h3{
    width: 100%;
    font-weight: 500;
    color: white;
    font-size: 26px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
    font-family: Arial, Helvetica, sans-serif;

}

.layer:hover h3{
    bottom: 49%;
    opacity: 1;
}

/* -----------facilities-----------*/

.facilities{
    width: 80%;
    margin: auto;
    text-align: center;
    padding: 100px;
}
.facilities h1{
    font-size: 35px;
    color: rgb(4, 4, 85);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.facilities p{
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    color: #555;
    font-weight: 400;
    text-align: center; 
}

.facilities-col{
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
}

.facilities-col img{
    width: 100%;
    border-radius: 10px;
}

.facilities-col p{
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    color: #555;
    font-weight: 400;
    text-align: center;
}

.facilities-col h3{
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: left;
    color: rgb(4, 4, 85);
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 22px;
}
@media(max-width: 700px){
    .facilities{
        padding: 0;
    }
}



/*-----------------testimonials-----------------*/

.testimonials-container{
    height: auto;
    margin-top: 2rem;
    overflow-x: hidden;
    position: relative;
}
.testimonials-container h2{
    text-align: center;
    font-size: 35px;
    text-decoration:underlin;
    border-bottom: -5px solid rgb(4, 4, 85);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: rgb(14, 25, 75);
    padding-top: 10px;
    margin-bottom: 100px;
}

.testimonials{
    padding: 1rem;
    margin-right: 20px;
    margin-left: 60px;
    margin-bottom: 2rem;
    width: 550px;
}

.avatar1{
    width: 6rem;
    height: 6rem;
    overflow: hidden;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 0.4rem solid rgba(215, 215, 201,0.611);
}
.avatar2{
    width: 6rem;
    height: 6rem;
    overflow: hidden;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 0.4rem solid rgba(215, 215, 201,0.611);
}
.avatar1{
    background-image:url(images/20250122_135342.jpg) ;
    background-size: contain;
}
.avatar2{
    background-image:url(images/20250122_132903.jpg) ;
    background-size: contain;
}

.testimonial-info{
    text-align: center;
    width: 50px;
    height: 60px;
    padding-left: 16.0rem;
}

.testimonial-info h4{
    color: rgb(105, 103, 101);
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 18px;
    text-align: center;
}

.testimonial-info small{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: rgb(14, 25, 75);
    font-size: 14px;
    text-align: center;
}
.testimonial-body p{
    color: rgb(105, 103, 101);
    font-size: 15px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.testimonial-body{
    background: rgba(244, 244, 239, 0.611);
    padding: 2rem;
    margin-top: 1rem;
    position: relative;
}
.testimonial-body::before{
    content: "" ;
    display: block;
    background: rgba(244, 244, 239, 0.611);
    width: 2rem;
    height: 2rem;
    position: absolute;
    left: 48.5%;
    top: -0.5rem;
    transform: rotate(45deg);
}
.swiper{
    display: flex;
    flex-direction: row;
    gap: 1rem;
}
@media(max-width: 700px){
    .swiper{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
    .testimonials-container{
        height: 100vh;
        margin-top: 5rem;
    }
}

/*------------call to action----------*/


.cta{
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.747), rgba(0, 0, 0, 0.692)), url(images/LIFETIME_GRAPHICS.ZW_\(504_of_228\).JPG);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}
.cta h1{
    color: white;
    margin-bottom: 40px;
    padding: 0;
}
@media(max-width: 700px){
    .cta h1{
        font-size: 24px;
    }
}

/*---------------------footer---------------*/

.footer{
    width: 100%;
    margin-top: 30px;
    background-color: rgba(244, 244, 239, 0.611);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}
.footer h5{
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    text-transform: uppercase;
    font-size: 12px;
    color: rgb(105, 103, 101);
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.footer p{
    font-size: 10px;
    line-height: 11px;
    margin-top: 5px;
}
.footer-contact a{
    color: rgb(105, 103, 101);
    font-size: 10px;
    text-decoration: none;
}
.footer div{
    margin-left: 4rem;
    margin-right: 4rem;
    justify-content: center;
}
.footer div ul li {
    text-decoration: none;
    list-style: none;
}
.footer div ul li a{
    font-size: 10px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    color: rgb(105, 103, 101);
}
.footer div ul li a:hover{
    text-decoration: underline;
}

/*-------------------about us page-----------*/

.sub-header{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(20, 40, 68, 0.7), rgba(37, 36, 34, 0.7)),url(images/IMG-20240320-WA0030.jpg);
    background-blend-mode:blur;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    color: white;
}
.sub-header .row{
    width: 90%;
    justify-content: center;
    margin-left: 40px;
    margin-right: 40px;
}
.sub-header h1{
    padding-top: 40px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 40px;
    color: whitesmoke;
}

.about-us{
    width: 80%;
    margin:auto;
    padding-top: 80px;
    padding-bottom: 50px;
}

.about-col{
    flex-basis: 48%;
    padding: 30px 2px;
}
.about-col img{
    width: 100%;
    margin-left: 20px;
    border: 2px solid rgb(187, 184, 184);

}
.about-col h1{
    padding-top: 0;
    color: rgb(4, 4, 85);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 35px;
    text-align: center;
}
.about-col p{
    padding: 15px 0 25px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    line-height: 30px;
    font-weight: 450;
    color: #525252;
}
.about-col a{
    text-align: center;
}

.red-btn{
    border: 1px solid #e68415;
    background: transparent;
    color: #e68415;
    align-items: center;
    margin-left: 170px;
}
.red-btn:hover{
    color: white;
}
/*Curriiculum Page*/
.odinary{
    display: flex;
    flex-direction: row;
    width: 100%;
}
.curr-text{
width: 60%;
padding: 30px 30px;
}
.curr-text h3{
    font-size: 25px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: #777;
    text-align: center;
    text-transform: capitalize;
}
.curr-text {
    padding-left: 30px;
}

.curr-text h4{
    font-size: 18px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: #525252;
    padding: 30px;
} 
.curr-text p{
    font-size: 16px;
    font-weight: 400;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #555;
    padding-top: 0px;
     
}
.currtex-box{
    width: 35%;
    background-color: rgb(43, 45, 54);
    position: relative;
    margin-top: 75px;
    margin-right: 20px;
    margin-bottom: 40px;
    box-shadow: 5px 3px 3px  rgb(209, 206, 206);
}
.currtex-box h4{
    font-size: 22px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: whitesmoke;
    padding-top: 30px;
    padding-left: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgb(201, 124, 10);
}

.currtex-box ul{
    color: whitesmoke;
    padding-top: 10px;
    margin-left: 25px;
    font-size: 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    list-style:decimal; 
    padding-right: 10px; 
    padding-bottom: 40px;
}
.currtex-box ul li{
    padding-top: 34px;
    padding-right: 20px;
}
/*Contact page*/

.location{
    width: 80%;
    margin: auto;
    padding: 80px 0;
}
.location iframe{
    width: 100%;
}
.contact-us{
    width: 80%;
    margin: auto;
}
.contact-col{
    flex-basis: 48%;
    margin-bottom: 30px;
}
.contact-col div{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}
.contact-col div .fa{
    font-size: 28px;
    color: #eba017;
    margin: 10px;
    margin-right: 30px;
}
.contact-col div p{
    padding: 0;
}
.contact-col div h5{
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400;
}
.contact-col input, .contact-col textarea{
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;
}



.admissions-col{
    flex-basis: 48%;
    padding: 30px 2px;
}
#a1 h1{
    text-align: center;
    margin-bottom: 20px;
    padding-top: 60px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 35px;
    color:gray;
}
#a1 p{
    color: #777;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 20px;
    padding: 0px;
    text-align: center;
}
#ad1 h1{
    text-align: left;
    margin-bottom: 10px;
    padding: 0 35px;
    font-size: 30px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color:gray;
}
#ad1 hr{
    margin-left: 30px;
}
#ad1 p{
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    padding-left: 20px;
}
#ad1 h1{
    color: rgb(58, 57, 55);
}
.ad-container ul{
    color: whitesmoke;
    padding-top: 0px;
    margin-left: 25px;
    font-size: 18px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    list-style:disc;
}
.ad-container li{
    padding-top: 20px;
    list-style: disc;
}
#ad2 img{
    width: 100%;
}
#ad3 img{
    row-gap: 1em;
}
#ad3 h1{
    color: lightslategray;
    text-align: center;
}
#ad3 h2{
    text-align: center;
    row-gap: 1em;
}
.ad-container{
    width: 600px;
    height: 350px;
    margin-right: 10px;
    background-color: rgb(43, 45, 54);
    padding: 0px 30px;
    border: 1px solid grey;
    box-shadow: 6px 6px 6px #cccccc3a;
}
.ad-container h3{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 30px;
    color: whitesmoke;
    padding-top: 20px;
    padding-left: 10px;
    text-align: left;
    border-bottom: #e68415 2px solid;
}




.activities-col{
    flex-basis: 100%;
    padding: 50px 20px;
}
.activities h1{
    padding: 20px 20px;
    text-align: center;
}
#act1 h1{
    padding: 40px 10px;
}
.ad-container ul{
    list-style: none;
    padding: 0;
}
.container1{
    display: flex;
    flex-wrap: wrap;
    align-content: space-evenly;
    column-gap: 3em;
    row-gap: 2em;
}
.boxe{
    background-color: #ebebeb;
    width: 350px;
    height: 350px;
    font-size: 2em;
    text-align: center;
}
#act2 h1{
    padding: 40px 10px;
}
.ad-container ul{
    list-style: none;
    padding: 30px 0;
    line-height: 20px;
}

.grow {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
}

.col {
    flex: 1;
    min-width: 300px;
    align-items: center;
}

.box {
    height: max-content;
    background-color: #ebebeb;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
    border-radius: 10px;
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
}

.flayer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: 10px;
}

.flayer h3 {
    color: #fff;
    font-size: 1.5rem;
    text-align: center;
}

/* Hover Effect */
.box:hover .flayer {
    opacity: 1;
}
/* For smaller screens */
@media (max-width: 700px) {
    .grow{
        flex-direction: column;
        align-items: left;
    }

    .col {
        min-width: 100%;
        
    }
}
.about-col img{
    width: 95%;
    margin-left: 10px;
    border: 2px solid rgb(187, 184, 184);

}
    

.more-info{
    height: auto;
    
}
.card_left{
    align-items: center;
    text-align: center;
    margin-right: 6rem;
    margin-top: 3.5rem;
}
.card_left h2{
    margin-right: 4rem;
    color: rgb(228, 142, 14);
    padding-top: 2rem;
    font-size: 35px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    padding-bottom: 10px;
}
hr{
    color: rgb(201, 124, 10);
}
.card_left p{
    padding-top: 10px;
    margin-left: 0;
    font-size: 18px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    line-height: 30px;
    align-self: start;
    color: rgb(75, 73, 72);
}
.card_right{
    background-color: rgba;
}
.container-more-info{
    display: flex;
    flex-direction: column;
}


.card_right p{
    font-size: 12px;
    color: whitesmoke;
    text-align: center;
    font-size: 16px;
}
.card_right h5{
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 18px;
    padding-top: 5px;
    color: whitesmoke;
    text-align: center;
    margin-bottom: 1rem;
}
.card{
    
}
.card:hover{
    box-shadow: 0 1rem 1rem rgb(128, 130, 137);
    z-index: 1;
}
.card-icon{
    background: #e6641eeb;
    padding: 0.5rem;
    border-radius: 0.9rem;
}
.card:nth-child(1) .card-icon{
    background-color: rgb(241, 161, 32);
}
.card:nth-child(5) .card-icon{
    background-color: rgb(106, 185, 21);
}
.card:nth-child(3) .card-icon{
    background-color: rgb(15, 120, 218);
}
/* For smaller screens */
@media (min-width: 600px) {
    .container-more-info {
        display: grid;
        grid-template-columns: 40% 60%;
        gap: 2rem;
    }

    .card_right {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
    
}


/*Home page about us*/

.masinte img{
    width: 620px;
    padding-top: 40px;
    padding-left: 20px;
}
.hometext{
    width: 48%;
    margin-left: 40px;
    margin-top: 40px;
    box-shadow: 5px 5px 5px  rgba(138, 136, 136, 0.233);
}

.masinte p{
    font-size: 16px;
    font-weight: 400;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #555;
    padding-top: 0px;
    margin-top: 40px;
}