*{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}
/*header*/
.header {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(banner.png);
    background-position: center;
    background-size: cover;
    position: relative;
}

nav img{
    width: 150px;
}

nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

.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{
    font-size: 13px;
    color: #fff;
    text-decoration: none;
}

.nav_links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.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: 68px;
    margin-top: 65px;
    margin-bottom: 24px;
}

.text_box p{
    font-size: 17px;
    margin: 0 0 24px;
}

.text_box button{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    background-color: transparent;
    border: 2px solid #fff;
    padding: 12px 36px;
}

.text_box button:hover{
    border: 2px solid rgb(78, 133, 151);
    background: rgb(78, 133, 151);
    transition: 1s;

}

nav .fa-solid{
    display: none;
}

@media(max-width:700px){
    .text_box h1{
        font-size: 51px;
        margin-top: 65px;
        margin-bottom: 24px;
    }
    .text_box p{
        font-size: 15px;
        margin: 0 0 40px;
    }
    .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-solid{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    } 
    .nav_links ul{
        padding:30px;
    }
}

/*courses*/
.course{
    text-align: center;
}
.course h1{
    font-size: 45px;
    font-weight: 600;
    margin-top: 150px;
    margin-bottom: 50px;
}

.course p{
    font-size: 17px;
    color: #777;
}

.row{
    margin: 5%;
    display: flex;
    justify-content: space-between;
}

.course-col {
    flex-basis: 31%; 
    background: #fff3f3;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 20px 12px;
    box-sizing: border-box;
}

.course-col 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);
    transition: 1s;
}

@media(max-width:700px){
    .row{
        flex-direction: column;
    }
}

/*campus*/
.campus{
    text-align: center;
}

.campus h1{
    font-size: 45px;
    font-weight: 600;
    margin-top: 150px;
    margin-bottom: 50px;
}

.campus p{
    font-size: 17px;
    color: #777;
}

.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;
    left: 0;
    transition: 1s;
}

.layer:hover{
    background: rgba(184, 62, 62, 0.7);
}

.layer h3{
    width: 100%;
    font-weight: 500;
    color: #fff;
    font-size: 26px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
}

.layer:hover h3{
    bottom: 49%;
    opacity: 1;
}

/*facilities*/
.facilities{
    text-align: center;
}

.facilities h1{
    font-size: 45px;
    font-weight: 600;
    padding-top: 50px;
    padding-bottom: 30px;
}

.facilities p{
    color: #777;
    font-size: 17px;
}

.facilities-col{
    flex-basis: 30%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
}

.facilities-col img{
    width: 100%;
    display: block;
    border-radius: 10px;
    padding-bottom: 50px;
}

.facilities-col h3{
    text-align: left;
    font-size: 30px;
    font-weight: 600;
    padding-bottom: 30px;
}

.facilities-col p{
    color: #777;
    font-size: 20px;
    text-align: left;
}

/*students*/
.students{
    text-align: center;
}

.students h1{
    font-size: 45px;
    font-weight: 600;
    padding-top: 50px;
    padding-bottom: 30px;
}

.students p{
    color: #777;
    font-size: 17px;
}

.students-col {
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #fff3f3;
    padding: 25px;    
    cursor: pointer;
    display: flex;
}

.students-col img {
    height: 40px;
    margin-left: 5px;
    margin-right: 30px; 
    border-radius: 50%;
}

/*contact*/
.contact {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(banner2.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
    border-radius: 10px;
}

.contact-col{
    width:90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

.contact-col h1{
    font-size: 68px;
    margin-top: 65px;
    margin-bottom: 24px;
}

.contact-col button{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    font-size: 23px;
    background-color: transparent;
    border: 2px solid #fff;
    padding: 12px 36px;
    margin-top: 16px;
}

.contact-col button:hover{
    border: 2px solid rgb(78, 133, 151);
    background: rgb(78, 133, 151);
    transition: 1s;

}

@media(max-width: 700px){
    .contact-col h1{
        font-size: 45px;
        margin-top: 65px;
        margin-bottom: 24px;
    }    
}

/*about us*/
.about {
    text-align: center;
    margin-bottom: 50px;
}

.about h1{
    font-size: 45px;
    font-weight: 550;
    margin-top: 50px;
    margin-bottom: 50px;
}

.about p{
    color: #777;
    font-size: 20px;
}

.about a{
    text-decoration: none;
    color:blue;
}

@media(max-width:700px){
    .about h1{
        font-size: 30px;
        font-weight: 500;
        margin-top: 150px;
        margin-bottom: 50px;
    }
    
    .about p{
        color: #777;
        font-size: 15px;
        margin-right: 20px;
        margin-left: 20px;
    }
}

/*--------------about us ----------------*/

.sub-header{
    min-height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(background.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

.sub-header h1{
    margin-top: 100px;
    font-size: 60px;
}

.about-us{
    width:80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}

.about-col{
    flex-basis: 48%;
    padding: 30px 2px;
}

.about-col h1{
    font-size: 50px;
    font-weight: 600;
    padding-bottom: 40px;
}

.about-col p{
    font-size: 22px;
    color: #777;
    padding-bottom: 42px;
}

.about-col a{
    color: rgb(94, 177, 204);
    font-size: 20px;
    text-decoration: none;
    background: transparent;
    border: 2px solid rgb(170, 52, 52);
    padding: 17px;
}

.about-col a:hover{
    color: #fff;
    border: 2px solid rgb(78, 133, 151);
    background: rgb(78, 133, 151);
    transition: 1s;
}

.about-col img{
    width: 100%;
}

@media(max-width: 700px){
    .sub-header h1{
        margin-top: 100px;
        font-size: 30px;
    }
    .about-col h1{
        font-size: 30px;
        font-weight: 600;
        padding-bottom: 40px;
    }
    
    .about-col p{
        font-size: 19px;
        color: #777;
        padding-bottom: 42px;
    }
    .about-col a{
        color: rgb(94, 177, 204);
        font-size: 15px;
        text-decoration: none;
        background: transparent;
        border: 2px solid rgb(170, 52, 52);
        padding: 17px;
    }
    
    .about-col a:hover{
        color: #fff;
        border: 2px solid rgb(78, 133, 151);
        background: rgb(78, 133, 151);
        transition: 1s;
    }
    
}

/*-------------course-------------*/
.course-head{
    min-height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(background.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

.course-head h1{
    margin-top: 100px;
    font-size: 60px;
}

/*-------------blog-------------*/
.blog-head{
    min-height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(background.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

.blog-head h1{
    margin-top: 100px;
    font-size: 50px;
}

.blog-col img{
    width: 100%;
}

.blog-col{
    flex-basis: 65%;
}

.blog-col h1{
    color: #222;
    font-weight: 600;
    margin: 30px 0;
}

.blog-col p{
    color: #999;
    padding: 0;
}

.blog-row {
    flex-basis: 32%;
}

.blog-row h2{
    color: #fff;
    background: #f44336;
    padding: 7px 0;
    font-size: 16px;
    text-align: center;
    margin-bottom: 20px;
}

.blog-row div{
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #555;
    padding: 8px;
    box-sizing: border-box;
}

.comment-box{
    border: 1px solid #ccc;
    margin: 50px 0;
    padding: 10px 20px ;
}

.comment-box h2{
    text-align: left;
}

.comment-form input,.comment-form textarea{
    width: 100%;
    padding: 10px;
    margin: 16px 0;
    box-sizing: border-box;
    border: none;
    outline: none;
    background: #f0f0f0;
}

.comment-btn{
    display: inline-block;
    text-decoration: none;
    color: rgb(78, 133, 151);
    font-size: 23px;
    background-color: transparent;
    border: 2px solid rgb(78, 133, 151);
    padding: 12px 36px;
    margin-top: 16px;
}

.comment-btn:hover{
    color: #fff;
    border: 2px solid rgb(78, 133, 151);
    background: rgb(78, 133, 151);
    transition: 1s;
}

@media(max-width:700px){
    .blog-head h1{
        margin-top: 100px;
        font-size: 30px;
    }
}

/*-----------contact us ------------*/
.map{
    width: 80%;
    margin: auto;
    padding: 80px 0;
}

.map iframe{
    width: 100%;
}

.info {
    width: 80%;
    margin: auto;
}

.uni-info{
    flex-basis: 48%;
    margin-bottom: 30px;
    margin-top: 55px;
}

.uni-info div{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.uni-info div .fa-solid{
    font-size: 35px;
    color: #f44336;
    margin: 10px;
    margin-right: 30px;
}

.uni-info div p{
    padding: 0;
    color: #555;
}

.uni-info div h3{
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 5px;
}

.contact-box{
    flex-basis: 40%;
    border: 1px solid #ccc;
    margin: 50px 0;
    padding: 8px 20px ;
}

@media(max-width:700px){
    .comment-box{
        border: 1px solid #ccc;
        margin: 30px 0;
        padding: 10px 20px ;
    }
    .contact-box{
        flex-basis: 40%;
        border: none;
        margin: 50px 0;
        padding: 8px 20px ;
    }
}