*{
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    list-style-type: none;
    text-decoration: none;
}
.header{
    min-height: 100vh;
    width: 100%;
    background-image:linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/banner2.jpg);
    background-position: center;
    background-size: cover ;
    position: relative;

}
nav{
    height: 80px;
    background: #2c3e50;
}
nav img{
    width: 50px;
    position: absolute;
    top: 17px;
    left: 12%;
}
nav ul{
    float: right;
    margin-right: 25px;
}
nav ul li{
    display: inline-block;
    line-height: 80px;
    margin: 0 15px;
}
nav ul li a{
    position: relative;
    color: white;
    font-size: 18px;
    padding: 5px 0;
    text-transform: uppercase;
}
nav ul li a:before{
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: #f44336;
    transform: scaleX(0);
    transform-origin: right;
    transition: 1s;

}
nav ul li a:hover:before{
    transform: scaleX(1);
    transform-origin: left;
}
label{
     color: white;
     font-size: 20px;
     float: right;
     line-height: 80px;
     margin-right: 40px;
     cursor: pointer;
     display: none;
    
}
#check{
    display: none;
}
@media (max-width: 944px){
    nav img{
        left: 6%;
        top: 20px;
        width: 50px;
    }
    na ul li a{
        font-size: 10px;
    }
}
@media (max-width: 860px){
    label {
        display: block;
    }
    ul{
        position: absolute;
        width: 100%;
        height: 100vh;
        background: #34495e;
        top: 80px;
        left: -100%;
        text-align: center;
        transition:all .5s;
    }
    nav ul li{
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }
    nav ul li a{
        font-size: 20px;
    }
    #check:checked ~ ul{
        left: 0;
    }
    #check:checked ~ label #btn{
        display: none;

    }
    #check:checked ~ label #cancel{
        display: block;
    }
}


.navbar a{
    color: white;
    text-decoration: none;
    padding: 15px;
    display: inline-block;
}

.navbar li{
    float: left;
}
.navbar  ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.navbar ul li:hover::after{
    width: 100%;
}
.text-box{
    width: 90%;
    color: white;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    
}
.text-box h1{
    font-size: 62px;
}
.text-box p{
    font-size: 14px;
    margin: 10px 0 40px;
    color: #fff;
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.hero-btn:hover{
    border: 1px solid #f44336;
    background: #f44336;
    transition: 0.5s;
}
.navbar .fa{
    display: none;
}

@media(max-width: 700px){
    .text-box h1{
        font-size: 20px;
    }
    .navbar ul{
        display: block;
    }
.navbar{
        position: absolute;
        background: #f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: 0;
        text-align: left;
        z-index: 2;
    }
    .row{
        flex-direction: column;
    }
    .cta h1{
        font-size: 10px;
    }
    .footerNav ul{
        flex-direction: column;
    }
    .footerNav ul li{
        width: 100%;
        text-align: center;
        margin: 10px;
    }

}
/*-About Us--*/
.about{
        width: 90%;
        margin: auto;
        text-align: center;
        padding-top: 100px;
        padding-bottom: 70px;
        }
.about h3{
    text-align: left;
    color: black;
}
.about ol li{
    padding-left: 30px;
    color: #777;
    
}
/*-Academic--*/
.academic{
    width: 90%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 70px;
    color: black;
}
h1{
    font-size: 36px;
    font-weight: 600;
}
p{
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
    padding: 20px;
    
}
.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;

}
.academic-col{
    flex-basis: 18%;
    background: #fff3f3;
    border-radius: 10%;
    margin-bottom: 5%;
    margin-left: -10px;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}
h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}
.academic-col:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}
/*------The school---*/
.school{
width: 90%;
text-align: center;
margin: auto;
padding-top: 20px;
font-size: larger;
color: black;
}
.school p{
    color: #777;
    font-size: 15px;
    line-height: 30px;
}
.school h4{
    color: grey;
    font-size: 15px;
}
.school ul li{
    color: grey;
    font-size: medium;
}
.school h5{
    float: left;
}
.school b{
    font-size: medium;
}
.school-col{
    flex-basis: 32%;
    border-radius: 50px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 50%
}
.school-col img{
    width: 100%;
    
}
.layer{
    background:transparent;
    height: 100%;
    width: 100%;
    position: relative;
    top: 0%;
    left: 0%;
} 
layer:hover{
    background: rgba(226,0,0,0.7);
}
.offer h3{
    text-align: center;
    font-size: large;
}
.offer h5{
    text-align: left;
    font-size: small;
}
.offer  li{
    color: grey;
    font-size: medium;
}
/*----Co-curricular--*/
.curricular{
    width: 95%;
    margin: auto;
    color: black;
    text-align: center;
    padding-top: 100px ;
}
h3{
    text-align: center;
    color: black;
}
.curriculum-col{
    flex-basis: 50%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
}
.curriculum-col img{
    width: 90%;
    border-radius: 10px;
    margin-left: 10px;
}
.testimonials{
    width: 100%;
    margin: auto;
    padding-top: 10px;
    text-align: center;
}

.testimonial-col{
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #fff3f3;
    padding: 20px;
    cursor: pointer;
    display: flex;
}
.testimonial-col img{
    height: 40px;
    margin-left: 5px;
    margin-right:30px;
    border-radius:50%;
}
.testimonials p{
    font-size: small;
    padding: 14px;
    text-align: left;
}
.testimonials h4{
    margin-top: 15px;
    text-align: right;
}
.testimonial-col .fa{
    color: #f44336;
}
/*-----Call To Action---*/
.cta{
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(images/cta.png);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}
.cta h1{
    color: #fff;
    margin-bottom: 40px;
    padding: 0;
}
/*-----Footer---*/
.footer{
    width: 100%;
    padding: 70px 30px 20px;
    background-color: #fff3f3;
    margin-top: 5px;
}
.icons{
    display: flex;
    justify-content: center;
} 
.icons a {
    text-decoration: none;
    padding: 10px;
    margin: 10px;
    background-color: white;
    border-radius: 50%;

} 
.icons a i{
    font-size: 2em;
    color: black;
    opacity: 0.9;
}
.icons a:hover{
    background-color: #f44336;
    transition: 0.5s;
}
.footerNav{
    margin: 30px 0;
    }
.footerNav ul{
    display: flex;
    justify-content: center;
    list-style-type: none;
}
.footerNav ul li a{
    color: black;
    margin: 20px;
    text-decoration: none;
    font-size: 1.3em;
    opacity: 0.7;
    transition: 0.5s;

}
.footerNav ul li a:hover{
    opacity: 1;
}
.footerBottom{
    text-align: center;

}
.footerBottom p{
    color: black;
}
.designer{
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    margin: 0px 5px;
}
.sub-header{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/about.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
}
.sub-header h1{
    color: #fff;
    margin-top: 100px;
}
.about-us{
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}
.about-col{
    flex-basis: 48%;
    border-radius: 50px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 50%

}
.about-col ol li{
    margin-left: 30px;
    color: grey;
    font-size: medium;
}
.about-col p{
    padding: 15px 0 25px;

}
.blog-content{
    width: 95%;
    margin: auto;
    color: black;
    text-align: center;
    padding-top: 100px ;
}
.blog-col{
    flex-basis: 50%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;

}

.blog-col img{
    width: 90%;
    border-radius: 10px;
    margin-left: 10px;
}
.comment-box{
    border: 1px solid #ccc;
    margin: 50px 0;
    padding: 10px 20px;
}
.comment-box h3{
    text-align: left;
}
.comment-form input, .comment-form textarea{
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    box-sizing: border-box;
    border: none;
    outline: none;
    background: #f0f0f0;
}
.comment-form button{
    color: black;
    font-size: large;
}
.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: 30%;
}
.contact-col div{
    display: flex;
    align-items: center;
    margin-bottom:20px;
}
.contact-col div .fa{
    font-size: 28px;
    color: #f44336;
    margin: 10px;
    margin-right:38px;
}
.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;
}
.contact-col button{
    color: black;
    font-size: large;
}