@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}
html{
    scroll-behavior: smooth;
}
.max-width{
    max-width: 1300px;
    padding: 0 80px;
    margin: auto;
}
/*nav bar */
.navbar{
    position:fixed;
    width: 100%;
    padding: 15px 0;
    font-family: 'Ubuntu', 'sans-serif';
    transition: all 0.3s ease;
    z-index: 999;
}

.navbar.sticky{
    padding: 5px 0;
    background: white;
}

.navbar .max-width{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .logo a{
    color: white;
    font-size: 35px;
    font-weight: 600;
    display: block;
    margin-left: 5px;
    transition: all 0.3s ease;
}

.navbar .logo .logo-img{
    display: inline-block;
    background: white;
}

.navbar .logo .logo-name{
    display: inline-block;
}

.navbar .logo .logo-name .top a{
    font-size: 10px;
}

.navbar .logo .logo-name .top a span{
    font-size: 10px;
    margin-left: 80px;
}

.navbar .logo .logo-name .bottom a{
    font-size: 15px;
}

.navbar.sticky .logo a{
    color: #138808;
}

.navbar.sticky .logo .logo-img img{
    filter: invert(34%) sepia(95%) saturate(916%) hue-rotate(81deg) brightness(90%) contrast(95%);
}

.navbar .menu li{
    list-style-type: none;
    display: inline-block;
}

.navbar .menu li a{
    color: white;
    font-size: 19px;
    font-weight: 900;
    margin-left: 20px;
    transition: color 0.3s ease;
}
.navbar.sticky .menu li a{
    color: #138808;;
}

.navbar .menu li a:hover{
    color: crimson;
    transform: scale(3.05);
}
.navbar.sticky .menu-btn{
    color: brown;
}

/* ----------------------------btn style -------------------------- */

.menu-btn{
    color: white;
    font-size: 23px;
    cursor: pointer;
    display: none;
}

.scroll-up-btn{
    position: fixed;
    height: 45px;
    width: 42px;
    background: crimson;
    right: 30px;
    bottom: 30px;
    text-align: center;
    line-height: 45px;
    color: #fff;
    z-index: 99999;
    font-size: 30px;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.scroll-up-btn.show{
    opacity: 1;
    pointer-events: auto;
}
/* ----------------------------------home---------------------------------- */

.home{
    font-family: 'Ubuntu', sans-serif;
    display: flex;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url("/schoolweb/resources/media/images/4.jpg");
    background-position: center;
    height: 100vh;
    background-size: cover;
    width: 100%;
    transition: 5s;

    animation-name: animate;
    animation-direction: alternate-reverse;
    animation-duration: 30s;
    animation-fill-mode: forwards;
    animation-iteration-count:infinite ;
    animation-play-state: running;
    animation-timing-function:ease-in-out ;
    color: white;
}

@keyframes animate{
    0%{
        background-image: linear-gradient(rgba(4, 9, 30, 0.527),rgba(4, 9, 30, 0.527)),url("schoolweb/resources/media/images/5.jpg"); 
    }50%{
        background-image: linear-gradient(rgba(4, 9, 30, 0.527),rgba(4, 9, 30, 0.527)),url("/schoolweb/resources/media/images/6.jpg"); 
    }100%{
        background-image: linear-gradient(rgba(4, 9, 30, 0.527),rgba(4, 9, 30, 0.527)),url("/schoolweb/resources/media/images/7.jpg"); 
    }
}

.home .max-width{
  margin-top: 200px;
  text-align: center;
}

.home .home-content .text-1{
    font-size: 45px;
    font-weight: 500;
}
.home .home-content .text-2{
    font-size: 50px;
    font-weight: 600;

}
.home .home-content .text-3{
    font-size: 50px;
    font-weight: 500;

}

.home .home-content .text-3 span{
    color: rgb(22, 219, 15);
    font-weight: 600;
}

.home .home-content a{
    display: inline-block;
    background: #073305;
    color: white;
    font-size: 25px;
    padding: 12px 36px;
    margin-top: 20px ;
    border-radius: 6px;
    border:2px solid #073305;
    transition: all 0.3s ease;
    font-weight: 600;
}

.home .home-content a:hover{
    color: #8cde09;
    background: none;
}
/* -----------------------------------Activity ----------------------------- */

.latestact{
    color: white;
    background: #01B636;
}
.latestact .carousel .card{
    border-radius: 6px;
    padding: 25px 35px;
    background: #222;
    height: 500px;
    width: 300px;
}
.latestact .carousel .card:hover{
    background: crimson;
}
.latestact .carousel .card:hover img{
    transform: scale(1.05);
    border: 5px solid white;
    
}
.latestact .carousel .card .box{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.latestact .carousel .card .text{
    font-size: 20px;
    font-weight: 500;
    margin: 10px 0 7px 0;   
}
.latestact .carousel .card .box p{
    text-align: justify;
}

.latestact .carousel .card .text span{
   display: block;
   font-size:20px ;
}
.latestact .carousel .card img{
    height: 150px;
    width: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid crimson;
}

.owl-dots{
    text-align: center;
    margin-top: 20px;
}

.owl-dot{
    height: 13px;
    width: 13px;
    outline: none!important;
    border-radius: 50%;
    border: 2px solid  #073305!important;
    transition: all 0.3s ease;
}

.owl-dot.active{
    width: 35px;
    border-radius: 14px;
}

.owl-dot.active,
.owl-dot:hover{
    background:  #073305!important;
}

/* -----------------------------------About--------------------------------- */
section{
    padding: 100px 0;
}
.about, .services, .teams, .contact, footer, .latestact, .admission, .affilation{
    font-family: 'Poppins', 'sans-serif';
}

section .title{
    text-align: center;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 60px;
    padding-bottom: 20px;
    font-family: 'Ubuntu', sans-serif;
}


.about .about-content, .services .services-content, .find .find-content,
.contact .contact-content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.about .about-content .left{
    width: 45%;
}
.about .about-content .left img{
    height: 460px;
    width: 400px;
    object-fit: cover;
    border-radius: 6px;
}

.about .about-content .right{
    width: 55%;
}
.about .about-content .right .text{
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 10px;
}

.about .about-content .right p{
    text-align: justify;
    font-weight: 500;
}

.about .about-content .right a{
    display: inline-block;
    background:  #073305;
    color: white;
    font-size: 20px;
    padding: 10px 30px;
    margin-top: 20px ;
    border-radius: 6px;
    border:2px solid  #073305;
    transition: all 0.3s ease;
    font-weight: 600;   
}

.about .about-content .right a:hover{
    color:  #073305;
    background: none;
}

/*---------------- services ----------------------------*/

.services, .teams {
    color: white;
    background: #01B636;
}

.services .services-content .card{
    width: calc(33% - 20px);
    background: #222;
    text-align: center;
    border-radius: 6px;
    padding:20px 25px;
    cursor: pointer;
    height: 85vh;
}

.services .services-content .card:hover{
    background:  #073305;
}

.services .services-content .card .box{
    transition: all 0.3s ease;
}
.services .services-content .card .box .card-img{
    margin-bottom: 10px;
}
.services .services-content .card .box .card-img img{
    width: calc(100% - 22px);
}
.services .services-content .card:hover .box{
    transform:scale(1.05);
}

.services .services-content .card .text{
    font-size: 25px;
    font-weight: 500;
    margin: 10px 0 7px 0;
}
/*------------------------------Find Us-----------------------*/

.find .find-content .left{
    width: 42%;
    border: #073305 10px solid;
    
}

.find .find-content .right{
    width: 45%;
    border: #073305 10px solid;
}

.find .find-content .column iframe{
    height: 300px;
    width: 100%;
}

/* ----------------------------- teams --------------------- */

.teams .carousel .card{
    border-radius: 6px;
    padding: 25px 35px;
    background: #1c3d0f;
}
.teams .carousel .card:hover{
    background: #0f893b;
}
.teams .carousel .card:hover img{
    transform: scale(1.05);
    border: 5px solid white;
    
}
.teams .carousel .card .box{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.teams .carousel .card .text{
    font-size: 25px;
    font-weight: 500;
    margin: 10px 0 7px 0;   
}
.teams .carousel .card .box p{
    text-align: justify;
}

.teams .carousel .card .text span{
   display: block;
   font-size:20px ;
}
.teams .carousel .card img{
    height: 150px;
    width: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #0f893b;;
}

.owl-dots{
    text-align: center;
    margin-top: 20px;
}

.owl-dot{
    height: 13px;
    width: 13px;
    outline: none!important;
    border-radius: 50%;
    border: 2px solid  #073305!important;
    transition: all 0.3s ease;
}

.owl-dot.active{
    width: 35px;
    border-radius: 14px;
}

.owl-dot.active,
.owl-dot:hover{
    background:  #073305!important;
}

/*-------------------------contact --------------------*/

.contact .contact-content .column{
    width: calc(50% - 30px);
}
.contact .contact-content .text{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}
.contact .contact-content .left p{
    text-align: justify;
}

.contact .contact-content .left .icons{
    margin: 10px 0;
}

.contact .contact-content .row{
    display: flex;
    height: 65px;
    align-items: center;
    margin-bottom: 20px;
}

.contact .contact-content .row .info{
    margin-left: 30px;
}

.contact .contact-content .row i{
    font-size: 25px;
    color:  #073305;
}

.contact .contact-content .info .head{
    font-weight: 500;
}

.contact .contact-content .info .sub-title{
    color: #333;
}

.contact .contact-content .info .sub-title a{
    color: #333;
    text-decoration: none;
}

.contact .right form .fields{
    display: flex;
}

.contact .right form .field,
.contact .right form .fields .field{
    height: 45px;
    width: 100%;
    margin-bottom: 15px;
}

.contact .right form .textarea{
    height: 80px;
    width: 100%;
}

.contact .right form .name{
    margin-right: 10px;
}

.contact .right form .email{
    margin-left: 10px;
}

.contact .right form .field input,
.contact .right form .textarea textarea{
    height: 100%;
    width: 100%;
    border: 1px solid lightgrey;
    border-radius: 6px;
    outline: none;
    padding: 0 15px;
    font-size: 17px;
    font-family: 'Poppins', sans-serif;
}

.contact .right form .textarea textarea{
    padding-top: 10px;
    resize: none;
}

.contact .right form .button{
    height: 47px;
    width: 170px;
}

.contact .right form .button button{
    width: 100%;
    height: 100%;
    border: 2px solid #073305;
    background: #073305;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact .right form .button button:hover{
    color: #073305;
    background: none;
}

/*-----------------------footer--------------------------*/

footer{
    background: #073305;
    padding: 20px 23px;
    color:#fff;
    text-align: center;
}

footer span a{
    color:  #418f0d;
    text-decoration: none;
}

footer span a:hover{
    text-decoration: underline;
}

footer .footer-icon i{
    font-size: 20px;
    color:  #418f0d;
    margin-left: 10px;
}
/* --------------------- admission----------------------*/
.navbar{
    background: #073305;
}

.admission-form{
    display: flex;
    justify-content: center;
    align-items: center;
    background:linear-gradient(135deg, #8fce48, #9b59b6); 
}

.admission{
    width: 100%;
    background: #fff;
    padding: 25px 30px;
    border-radius: 5px;

}

.admission .title{
    font-size: 25px;
    font-weight: 500;
}

.admission form .user-details{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 20px 0 12px 0;
}

form .user-details .input-box{
   margin-bottom: 15px;
    width: calc(100% / 2 - 20px);
}
.user-details .input-box  .details{
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
}

form .user-details .input-box input{
    height: 45px;
    width: 100%;
    outline: none;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding-left: 15px;
    font-size: 16px;
    border-bottom-width: 2px;
    transition: all 0.3s ease;
}

.user-details .input-box input:focus,
.user-details .input-box input:valid{
    border-color: #9b59b6;
}

form .gender-details{
     width: calc(100% / 2 - 20px);
 }

form .gender-details .gender-title{
    display: block;
    font-size: 20px;
    font-weight: 500;
}

form .gender-details .category{
    display: flex;
    width: 50%;
    margin:14px 0;
    justify-content: space-between;
}

.gender-details .category label{
    display: flex;
    align-items: center;
}

.gender-details .category .dot{
    height: 18px;
    width: 18px;
    background: #d9d9d9;
    border-radius: 50%;
    margin-right: 10px;
    border: 5px solid transparent;
}

#dot-1:checked ~ .category label .one,
#dot-2:checked ~ .category label .two
{
    border-color: #d9d9d9;
    background: #9b59b6;
}
form input[type="radio"]{
    display: none;
}

form .button{
    height: 45px;
    margin: 45px 0;
}

form .button input{
    height: 100%;
    width: 100%;
    outline: none;
    color: #fff;
    border: none;
    font-size: 18px;
    font-weight: 700;
    border-radius: 5px;
    letter-spacing: 1px;
    background:linear-gradient(135deg, #8fce48, #9b59b6);
}

form .button input:hover{
    background:linear-gradient(-135deg, #8fce48, #9b59b6);
}
/*------------------------------------ Table -------------------------------*/
.affilation{
    display: flex;
    justify-content: center;
    align-items: center;
    background:linear-gradient(135deg, #8fce48, #9b59b6); 
}

.affilation-table{
    background-color: white;
    width: 100%;
    border-radius: 5px;
    margin: 0 110px;
    padding: 20px;

}

.content-table{
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    min-width: 400px;
}

.content-table thead tr{
    background-color: #009879;
    text-align: left;
    color: white;
    font-weight: bold;
}

.content-table th,
.content-table td{
    padding: 12px 15px;
    border-bottom: 1px solid #dddddd;
}

.content-table tbody tr:nth-of-type(even){
    background-color: #f3f3f3;
}

.content-table tbody tr:last-of-type{
    border-bottom: 2px solid #009879;
}
/* ------------------------------------------------------------------responsive --------------------*/
@media(max-width: 1189px){
    .navbar .logo .logo-name .middel {
        font-size: 35px ;
    }

    .navbar .menu li a{
        color: white;
        font-size: 16px;
        font-weight: 600;
        margin-left: 15px;
    }
}
@media(max-width: 1150px){
    .about .about-content .left img{
        height: 400px;
        width: 360px;
        object-fit: cover;
        border-radius: 6px;
    }
}

@media(max-width: 1100px){
    .navbar .logo a{
        font-size: 30px ;
    }
    .navbar .menu li a{
        color: white;
        font-size: 14px;
        font-weight: 500;
        margin-left: 12px;
    }
}
@media(max-width: 991px){

    .max-width{
        padding: 0 50px;
    }    

    .menu-btn{
        color: white;
        display: block;
        z-index: 999;
    }

    .menu-btn i.active::before{
        content: "\f00d";
    }

    .navbar .menu{ 
        position: fixed;
        height: 100vh;
        width: 100%;
        left: -100%;
        top: 0;
        background: black;
        text-align: center;
        padding-top: 80px;
        transition: all 0.3s ease;
    }

    .navbar .menu.active{
        left: 0;
    }

    .navbar .menu li{
        display: block;
    }

    .navbar .menu li a{
        display: inline-block;
        margin: 20px 0;
        font-size: 25px;
    }
    
    .about .about-content .column{
        width: 100%;
    }

    .about .about-content .left{
        display: flex;
        justify-content: center;
        margin: 0 auto 60px;
    }

    .about .about-content .right{
        flex: 100%;
    }

    .about .about-content .left img{
        width: 90%;
    }

    .services .services-content .card{
        width: calc(50% - 10px);
        margin-bottom: 20px;
    }
    
    .contact .contact-content .column,
    .find .find-content .column{
        width: 100%;
        margin-bottom: 35px;
    }

    .find .find-content .left{
        display: flex;
        justify-content: center;
        margin: 0 auto 60px;
    }

    .find .find-content .right{
        flex: 100%;
    }

}

@media(max-width: 600px){
    .navbar .logo .logo-img{
        width: 60px;
    }
    .navbar .logo .logo-img img{
        width: 100%;
    }
    .navbar .logo .logo-name .middel a {
        font-size: 25px ;
    }
    .navbar .logo .logo-name .top a span {
        margin-left: 40px;
    }

    .navbar .logo .logo-name .bottom a{
        font-size: 13px;
    }
    .services .services-content .card{
        width: 100%;
        height: 60vh;
    }
    .home .home-content .text-1{
        font-size:30px;
    }
    .home .home-content .text-2{
        font-size:35px;
    }
    .home .home-content .text-3{
        font-size:35px;
    }
    .admission{
        max-width: 100%;
    }

    form .user-details .input-box{
        margin-bottom: 15px;
        width: 100%;
    }
    form .gender-details .category{
        width: 100%;
    }
    form .gender-details{
        width: calc(100% - 20px);
    }
}

@media(max-width: 495px){
    .navbar .logo .logo-img{
        width: 60px;
    }
    .navbar .logo .logo-img img{
        width: 100%;
    }
    .navbar .logo .logo-name .middel a {
        font-size: 20px ;
    }
    .navbar .logo .logo-name .top a span {
        margin-left: 30px;
    }

    .navbar .logo .logo-name .bottom a{
        font-size: 10px;
    }
    .navbar .logo .logo-name .top a{
        font-size: 8px;
    }
}

@media(max-width: 443px){
    .navbar .logo .logo-img{
        width: 50px;
    }
    .navbar .logo .logo-img img{
        width: 100%;
    }
    .max-width{
        padding: 0 10px;
        margin: auto;
    }

    .navbar .logo .logo-name .middel a {
        font-size: 25px ;
        font-weight: 700;
    }
    .navbar .logo .logo-name .top a span {
        margin-left: 100px;
        font-size: 8px;
    }

    .navbar .logo .logo-name .bottom a{
        font-size: 10px;
    }
    .navbar .logo .logo-name .top a{
        font-size: 8px;
    }
    .about .about-content .right p{
        font-size:14px;
    }
    
}

@media(max-width: 356px){ 
    .navbar .logo .logo-img{
        width: 50px;
    }
    .navbar .logo .logo-img img{
        width: 100%;
    }
    .max-width{
        padding: 0 5px;
        margin: auto;
    }
    .navbar .logo .logo-name .middel a {
        font-size: 20px ;
    }
    .navbar .logo .logo-name .top a span {
        margin-left: 30px;
    }

    .navbar .logo .logo-name .bottom a{
        font-size: 10px;
    }
    .navbar .logo .logo-name .top a{
        font-size: 8px;
    }
    .admission{
        max-width: 100%;
    }

    form .user-details .input-box{
        margin-bottom: 15px;
        width: 100%;
    }
    form .gender-details .category{
        width: 100%;
    }
    form .gender-details{
        width: calc(100% - 20px);
    }
}

