* {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans', sans-serif;
	font-family: 'Lato', 'Arial', sans-serif;
}

/* ----------------------------------------------------------------*/
/* COLORS */
/* ----------------------------------------------------------------*/

:root {
    --primary-color:#4D281F;
    --secondary-color: #3F3438;
    --tertiary-color: #D3DEE0;
    --quaternary-color: #96855A;
    --quinary-forecolor: #c9e4ca;
    --dark-color: #222;
    --light-color: #f4f4f4;
    --success-color: #5cb85c;
    --error-color: #d9534f;
    --question-color: #F4B400;
}

.app {
    font-family: 'Montserrat Alternates', sans-serif;
}

.header {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,.7), rgba(4,9,30,.7)), url("images/banner.jpg");
    background-position: center;
    background-size: cover;
    position: relative;
}

.desc {
    font-size: 14px;
    color: #adb5bd;
}

.row {
    margin-top: 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
/* ---------------------------------------------- nav ---------------------------------------------- */
nav {
    display: flex;
    padding: 2% 6%;
    justify-content:  space-between;
    align-items: center;
}

nav img {
    width: 150px;
}

.nav-links {
    flex: 1;
    width: 50%;
    text-align: right;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding:  8px 12px;
    position: relative;
}

.nav-links ul li a {
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    font-size: 24px;
}

.nav-links ul li::after {
    content: '';
    width: 0;
    height: 4px;
    background: var(--primary-color);
    display: block;
    margin: auto;
    transition: .5s
}

.nav-links ul li:hover::after {
    width: 100%;
}

nav .fa {
    display: none;
}

/* ---------------------------------------------- viewport ---------------------------------------------- */

.text-box {
    width: 90%;
    color: #fff;
    position: absolute;
    top:  50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-box h1 {
    font-size: 62px;
    text-transform: capitalize;
}

.text-box p {
    margin: 20px 0 40px;
    font-size: 16px;
    line-height: 30px;
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    text-transform: capitalize;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    background-color: transparent;
    position: relative;
    cursor: pointer;
}

.hero-btn:hover {
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
    transition: 1s;
}

.primary-btn {
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
}

.primary-btn:hover {
    color: #fff;
}

/* ---------------------------------------------- course ---------------------------------------------- */
.course {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

.course h1 {
    font-size: 36px;
    font-weight: 600;
    text-transform: capitalize;
}

.course p {
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.course-col {
    flex-basis: 31%;
    border: 1px solid var(--quaternary-color);
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: .5s;
}

.course-col:hover {
    box-shadow: 10px 10px 20px 0px rgba(150, 133, 90, .7);
}

.course-col ul {
    padding:  8px 12px;
}

.course-col ul li {
    /* list-style: none; */
    font-weight: 400;
    text-align: left;
    font-size: 12px;
}

h3{
    color: var(--primary-color);
    font-weight: 600;
    text-align: center;
    margin: 10px 0;
}

/* ---------------------------------------------- campus ---------------------------------------------- */
.campus {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}

.campus h1 {
    font-size: 36px;
    font-weight: 600;
    text-transform: capitalize;
}

.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: .5s;
}

.layer:hover {
    background: rgba(201, 228, 202, .7);
}

.layer h3 {
    width: 100%;
    font-weight: 500;
    color: #fff;
    font-weight: 26px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: .5s;
}

.layer:hover h3 {
    bottom: 49%;
    opacity: 1;
}


/* ---------------------------------------------- facilities ---------------------------------------------- */
.facilities {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

.facilities h1 {
    font-size: 36px;
    font-weight: 600;
    text-transform: capitalize;
}

.facilities-col {
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
}

.facilities-col img {
    width: 100%;
    border-radius: 10px;
}

.facilities-col p {
    padding: 0;
}

.facilities-col h3 {
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: left;
    text-transform: capitalize;
}

/* ---------------------------------------------- testimonials ---------------------------------------------- */
.testimonials {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

.testimonials h1 {
    text-transform: capitalize;
    margin-bottom: 50px;
}

.testimonial-col {
    flex-basis: 20%;
    display: flex;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #fff3f3;
    padding: 25px;
    cursor: pointer;
}

.testimonial-col img {
    height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}

.testimonial-col p {
    padding: 0;
}

.testimonial-col h3 {
    margin-top: 15px;
    text-align: left;
    text-transform: capitalize;
}

.testimonial-col .fa {
    color: var(--primary-color);
}

/* ---------------------------------------------- contact-us ---------------------------------------------- */

.contact-us {
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.7)), url('images/banner3.jpg');
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}

.contact-us h1 {
    color: #fff;
    margin-bottom: 40px;
    padding: 0;
    text-transform: capitalize;
}

/* ---------------------------------------------- footer ---------------------------------------------- */
.footer {
    width: 100%;
    text-align: center;
    padding: 30px 0;
}

.footer h4 {
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
    text-transform: capitalize;
}

.icons .fa {
    color: var(--secondary-color);
    margin: 0 13px;
    padding: 18px 0;
}

.about {
    width: 80%;
    margin: auto;
}
.about p {
    margin-top: 20px;
    margin-bottom: 50px;
    font-style: italic;
}

/* ---------------------------------------------- about page ---------------------------------------------- */
.sub-header {
    min-height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,.7), rgba(4,9,30,.7)), url("images/banner-about.jpg");
    background-position: center;
    background-size: cover;
    text-align: center;
    text-transform: capitalize;
    color: #fff;
}

.sub-header h1 {
    margin-top: 100px;
}

.aboutus {
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}

.aboutus-col {
    flex-basis: 48%;
    padding: 30px 2px;
}

.aboutus-col img {
    width: 100%;
}

.aboutus-col h1 {
    padding-top: 0;
    text-transform: capitalize;
}

.aboutus-col p {
    padding: 15px 0 25px;
}


/* ---------------------------------------------- blog page ---------------------------------------------- */
.blog-content {
    width: 80%;
    margin:  auto;
    padding: 60px 0;
}

.blog-left {
    flex-basis: 65%;
}

.blog-left img {
    width: 100%;
}

.blog-left h2 {
    color: #222;
    font-weight: 600;
    text-transform: capitalize;
    margin: 30px 0;
}

.blog-left p {
    color: #999;
    padding: 0;

}

.blog-right {
    flex-basis: 32%;
}

.blog-right h3 {
    background: var(--quaternary-color);
    color: #fff;
    padding: 7px 0;
    font-size: 16px;
    margin-bottom: 20px;
}

.blog-right 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 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-color: #f0f0f0;
}

.comment-form button {
    margin: 10px 0;
}

/* ---------------------------------------------- contactus page ---------------------------------------------- */
.location {
    width: 80%;
    margin: auto;
    padding: 80px 0;
}

.location iframe {
    width: 100%;
}

.contactus {
    width: 80%;
    margin: auto;
    padding: 0;
}

.contactus-col {
    flex-basis: 100%;
    margin-bottom: 30px;
}

.contact-form {
    width: 50%;
    margin: auto;
}

.contactus-col input, .contactus-col textarea, .contactus select {
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

select:required:invalid {
    color: #666;
  }
  
.residence {
    flex-basis: 32%;
}

.residence h4 {
    color: var(--quaternary-color);
    font-size: 24px;
    margin-bottom: 12px;
}

.residence div {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.residence div .fa {
    font-size: 28px;
    color: var(--quaternary-color);
    margin: 10px;
    margin-right: 30px;
}

.residence div p {
    padding: 0;
}

.residence div h5 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400;
}

.residence iframe {
    width: 100%;
}
/* ---------------------------------------------- message-box ---------------------------------------------- */

#message-box {
    width: 95%;
    margin: 0 auto;
    margin-top: 12px;
    display: none;
    padding: 15px;
    position: relative;
}

#message-box .fa-times {
    right: 2%;
    top: 10%;
    position: absolute;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    padding: 2px;
    text-align: center;
    cursor: pointer;
}

#message-box .msg-title {
    margin: 12px 0 6px 0;
    font-weight: bold;
}

#message-box p {
    font-size: 14px;
}

.message-box-success {
    background: #DEF0D8;
    border: 1px solid #DEF0D8;
}

#message-box-success p {
    color: #4C7146;
}

.fa-times-success .fa-times {
    border: 1px solid #BED6B9;
    background: #BED6B9;
}

.msg-title-success {
    color: #327839;
}

.message-box-error {
    background: #F3DFE0;
    border: 1px solid #F3DFE0;
}

#message-box-error p {
    color: #C86C6D;
}

.fa-times-error .fa-times {
    border: 1px solid #E0BDC1;
    background: #E0BDC1;
}

.msg-title-error {
    color: #AF4444;
}

/* ---------------------------------------------- MEDIA QUERIES ---------------------------------------------- */

@media screen and (max-width: 770px){
    .text-box h1 {
        font-size: 20px;
    }

    .nav-links ul li {
        display: block;
    }

    .nav-links {
        position: absolute;
        background: var(--primary-color);
        height: 100vh;
        width: 50%;
        display: none;
        top: 0;
        right: 0;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }

    .nav-links ul{
        padding: 30px;
    }

    nav .fa {
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 28px;
        cursor: pointer
    }

    .row {
        flex-direction: column;
    }

    .testimonial-col img {
        margin-left: 0px;
        margin-right: 15px;
    }

    .contact-us h1 {
        font-size: 24px;
    }

    .sub-header h1 {
        font-size: 24px;
    }

    .contact-form {
        width: 90%;
    }
}