*{
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}

.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(119, 118, 114, 0.3), rgba(17, 11, 105, 0.7)), url(images/banner.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}



nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;

}

nav img{
    height: 75px;
    width: 170px;
    /* border-radius: 50%; */
    /* src: url(images/1.png); */
}

.nav-links{
    flex: 1;
    text-align: right;
}

.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    
}

.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #f3344f;
    transition: 0.5s;
    display: block;
    margin: auto;

}

.nav-links ul li:hover::after{
    width: 100%;
}

.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-box h1{
    font-size: 32px;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 14px;
    color: #fff;
}

.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    position: relative;
    cursor: pointer;
    border: 1px solid #fff;
    border-radius: 10px;
    padding: 12px 34px;
    font-size:13px ;
    background: transparent;
}

.hero-btn:hover{
    border: 1px solid #f4433f;
    background: #f4433f;;
    transition: 1s;
}

nav .fa{
    display: none;
}

@media (max-width:700px){
    .text-box h1{
        font-size: 20px;
    }

    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: fixed;
        background: #f3344f;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }

    nav .fa{
        display: block;
        color: #fff;
        cursor: pointer;
        font-size: 22px;
        margin: 10px;


    }
        
    .nav-links ul{
        padding: 30px;
    }

    .contact-col .hero-btn-red2{
        margin-left: 0%
      }

}




/* course */

.course{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 30px;

}

.history{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 60px;
}
.missionvision{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 20px;
}

h1{
    font-size: 28px;
    font-weight: 550;
    text-align: center;
}
p{
    color: #777;
    font-size: 14px;
    font-weight: 300px;
    padding: 5px;
    text-align: center;
}

.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}

.row_blog{
    margin-top: 0;
    display: flex;
    justify-content: space-between;
}

.course-col{
    flex-basis: 31%;
    background:  #d1dff5;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s
}

.statement-col h3{
    padding-top: 20px;
}

.statement-col{
    flex-basis: 49%;
    background:  #fbfbfb;
    border-radius: 10px;
    border: 2px solid #050fcf;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
    padding-bottom: 80px;
}

/* for Staff page */
.course-col2{
    flex-basis: 31%;
    border: solid #d1dff5;
    border-radius: 10px;
    margin-bottom: 2%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s
}

.course-col2 img{
    padding-top: 20px;
    height: 300px;
    width: 200px;

}

h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}

.course-col:hover{
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);

}

.statement-col:hover{
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);
}

@media(max-width: 700px){
    .row{
        flex-direction: column;
        
    }
    .row_blog{
        flex-direction: column;
        
    }

}


/* campus */
.campus{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}

.campus-col{
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.campus-col img{
    display: block;
    width: 100%;
    height: 215px;
}

.layer{
    background: transparent;
    transition: 0.5s;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;

}

.layer:hover{
    background: rgba(225, 225, 252, 0.7);
}

.layer h3{
    width: 100%;
    font-weight: 500;
    font-size: 26px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    position: absolute;
    opacity: 0;
    transition: 0.5s;

}

.layer:hover h3{
    bottom: 49%;
    opacity: 1;
}


.testimonials{
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
}

.testimonial-col{
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 5%;
    margin-left: 5%;
    text-align: left;
    background: #d1dff5;
    padding: 25px;
    cursor: pointer;
    display: flex;
}

.testimonial-col img{
    height: 40px;
    
   
    margin-left: 5px;
    margin-right: 10px;
    border-radius: 50%;

}

.testimonial-col p{
    padding: 0;
}

.testimonial-col h3{
    margin-top: 15px;
    text-align: left;
}


.cta{
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(34, 32, 32, 0.3), rgba(151, 148, 148, 0.3)), url(images/banner2.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}

.cta h1{
    color: #fff;
    margin-bottom: 40px;
    padding: 0;

}

@media (max-width: 700px){
    .cta h1{
        font-size: 16px;
    }
}

/* footer */

.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
}

.footer h4{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
}

.icons .fa{
    color: rgb(15, 31, 173);
    margin: 0 13px;
    cursor: pointer;
    padding:18px 0;
}

.sub-header{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.5), rgba(4,9,30,0.5)), url(images/aboutus_banner.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;

}

/* for Contact page */
.contact-header{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.5), rgba(4,9,30,0.5)), url(images/banner6.png);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;

}
/* for courses */
.sub-header2{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.5), rgba(4,9,30,0.4)), url(images/our_staff_banner1.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;

}

/* for blog */
.blog_header{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.5), rgba(4,9,30,0.2)), url(images/banner5.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;

}

.blog-content{
    width: 80%;
    margin: auto;
   
    padding: 10px 0;
}


.blog-left{
    flex-basis: 50%;
}

.blog-right img{
   width: 600px;
   
}

.blog-left h2{
    color: #222;
    font-weight: 600;
    margin: 30px 0;
}

.blog-left p{
    text-align: left;
}

.blog-right{
    margin-left: 20px;
    margin-top: 25px;
}
.comment-box{
border: 1px solid #ccc;
margin:  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;

}

.hero-btn-red{
    display: inline-block;
    text-decoration: none;
    color: #f70202;
    position: relative;
    cursor: pointer;
    border: 1px solid #fc0303;
    border-radius: 10px;
    padding: 12px 34px;
    font-size:13px ;
    background: transparent;
}

.hero-btn-red:hover{
    border: 1px solid #f4433f;
    background: #f4433f;;
    color: #fff;
    transition: 1s;
}

.hero-btn-red2{
    display: inline-block;
    text-decoration: none;
    color: #f70202;
    position: relative;
    margin-left: 320px;
    cursor: pointer;
    border: 1px solid #fc0303;
    border-radius: 10px;
    padding: 12px 34px;
    font-size:13px ;
    background: transparent;
}

.hero-btn-red2:hover{
    border: 1px solid #f4433f;
    background: #f4433f;;
    color: #fff;
    transition: 1s;
}

.comment-form button{
    margin-bottom: 10px;

}
hr{
    width: 70%;
    margin: 0% auto;
    border: #f4433f solid 2px;
}

@media(max-width:700px){
     .footer{
        width: 90%;
        margin-left: 20px;
        
    }
   
    .contact-col{
        width: 90%;
        font-size: 12px;
    }
    .contact-col div span .myh5{
        font-size: small;
    }
    
    nav img{
        margin-top: 20px;
        width: 80px;
        height: auto;

    }
   

    .blog-right{
        padding: 0px;
        margin: 0px;
    }
    .blog-right img{
        width: 300px;
        
        
     }
    
}



/* contact us */

.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: #f3344f;
    margin: 10px;
    margin-right: 30px;
}

.contact-col div p{
    padding: 0;
    padding-left: 10px;
    text-align: left;
}

.contact-col div h5{
    font-size: 20px;
    font-weight: 400;
    padding-left: 10px;
    margin-bottom: 5px;
    color: #555;
}

.contact-col input, .contact-col textarea{
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;

}

