*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', 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(img/Novarix-University.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

nav img{
    width: 200px;
}

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

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

.nav-link ul li a{
    color: darkgray;
    text-decoration: none;
    font-size: 15px;
}

.nav-link ul li::after{
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: maroon;
    bottom: -3px;
    left: 0;
    transition: ease .40s;
}

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

.text-box{
    width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

.text-box h1{
    font-size: 75px;
    color: black;
}

.text-box h2{
    font-size: 50px;
    color: aquamarine;
}

.text-box p{
    margin: 10px 0 40px;
    font-size: 25px;
    color: white;
}

.main-btn{
    display: inline-block;
    text-decoration: none;
    color: aqua;
    border: 1px solid blue;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.main-btn:hover{
    border: 1px solid maroon;
    background: maroon;
    transition: 1s;
}


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

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

h3{
    color: black;
    font-size: 20px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.course-col p{
    text-align: justify;
}

.row{
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.course-col{
    flex-basis: 31%;
    background: #fff3f3;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}

.course-col h3{
    color: navy;
}

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);
}


/*--------Institute--------*/
.institute{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 130px;
}

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

.institute-col img{
    width: 100%;
    height: 80%;
}

.institute-col h3{
    color: green;
}


/*--------Facilities--------*/
.facilities{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 150px;
}

.facilities img{
    width: 100%;
}

.facilities-col{
    flex-basis: 33%;
    padding-top: 15px;
    padding-bottom: 5px;
}

.facilities p{
    text-align: justify;
    margin-top: 25px;
    margin-bottom: 25px;
}


/*--------Testimonial--------*/
.testimonial{
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
}

.testimonial-col{
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    margin-top: 25px;
    text-align: left;
    background: #fff3f3;
    padding: 25px;
    cursor: pointer;
    
}

.testimonial-col img{
    width: 75%;
    border-radius: 50%;
    margin-left: 12.5%;
    margin-top: 15px;
    margin-bottom: 15px;
}

.testimonial-col p{
    padding: 0;
    text-align: justify;
}

.testimonial-col h3{
    margin-top: 15px;
    text-align: left;
}

.testimonial-col .fa{
    color: blue;
    margin-top: 10px;
}


/*--------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(img/banner2.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;
}


/*--------Footer--------*/
.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
}


.footer h1{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
}

.icons .fa{
    color: red;
    margin: 0 20px;
    cursor: pointer;
    padding-bottom: 150px;
    padding-top: 50px;
}

.icons .fa:hover{
    color: blue;
}

.footer h5{
    font-size: 20px;
    font-weight: 500;
}


/*--------About Us Page--------*/
.sub-header{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(img/group-diverse-grads-throwing-caps-up-sky.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: white;
}

.sub-header h1{
    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-top: 80px;
}

.about-col h1{
    padding-top: 0;
}

.about-col p{
    padding: 15px 0 25px;
    text-align: justify;
}

.sec-btn{
    border: 1px solid blue;
    background: transparent;
    color: maroon;
}

.sec-btn:hover{
    border: 1px solid aqua;
    background: aqua;
}


/*--------Course List--------*/
.course-list{
    flex-basis: 32%;
    border: 1px solid blue;
    margin-top: 10px;
    margin-bottom: 150px;
}

.course-list h3{
    background: honeydew;
    color: lawngreen;
    padding: 7px 0;
    font-size: 16px;
    margin-bottom: 20px;
}

.course-list div{
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: brown;
    padding: 8px;
    box-sizing: border-box;
}


/*--------Blog Content--------*/
.blog-content{
    width: 80%;
    margin: auto;
    padding: 60px 0;
}

.blog img{
    width: 50%;
}

.blog h1{
    margin: 30px 0;
}

.blog p{
    text-align: justify;
    padding-top: 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{
    margin: 10px 0;
}


/*--------Contact Us Page--------*/
.location{
    width: 80%;
    margin: auto;
    padding: 80px 0;
}

.location iframe{
    width: 100%;
}

.location h1{
    text-align: center;
    padding: 15px;
}

.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: maroon;
    margin: 10px;
    margin-right: 30px;
}

.contact-col input, .contact-col textarea{
    width: 95%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
}


/*--------College List--------*/
.college-list{
    flex-basis: 32%;
    border: 1px solid blue;
    margin-bottom: 150px;
}

.college-list h3{
    background: honeydew;
    color: lawngreen;
    padding: 7px 0;
    font-size: 16px;
    margin-bottom: 20px;
}

.college-list div{
    display: flex;
    align-items: left;
    justify-content: space-between;
    color: brown;
    padding: 8px;
    box-sizing: border-box;
}

.college-list li{
    text-align: left;
}