@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

html,
body {
    height: 100%;
    width: 100%;
}


/* ================================ HEADER ================================ */


.header {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(./assets/images/banner.png);
    background-position: center;
    background-size: cover;
    position: relative;
}

nav {
    display: flex;
    padding: 3% 6%;
    justify-content: space-between;
}

nav img {
    width: 150px;
    margin-top: 3px;
}

.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 {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
}

.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: 62px;
    text-transform: capitalize;
    font-weight: 700;
}

.text-box p {
    margin: 8px 40px;
    text-transform: capitalize;
    font-size: 14;
    line-height: 1.5;
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 24px;
    background: transparent;
    position: relative;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 50px;
    margin-top: 8px;
}

.hero-btn:hover {
    border: 1px solid #f44336;
    background: #f44336;
    transition: 1s;
}

.fa {
    display: none;
    font-size: 18px;
}

@media (max-width:700px) {
    .text-box h1 {
        font-size: 32px;
    }

    .text-box p {
        margin: 10px 20px;
        font-size: 14px;
        width: 95%;
        line-height: 1.3;
    }

    .hero-btn {
        display: inline-block;
        text-decoration: none;
        color: #fff;
        border: 1px solid #fff;
        padding: 10px 24px;
        background: transparent;
        position: relative;
        cursor: pointer;
        text-transform: uppercase;
    }

    .nav-links ul li {
        display: block;
    }

    .nav-links {
        position: absolute;
        background: #f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 1;
        transition: 1s;
    }

    .fa {
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 25px;
        cursor: pointer;
    }

    .nav-links ul {
        padding: 30px;
    }
}


/* ================================ COURSE ================================ */


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

.course h1 {
    font-size: 36px;
    font-weight: 600;
    text-transform: capitalize;
}

.course p {
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
    text-transform: capitalize;
}

.row {
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}

.course-col h3 {
    text-transform: capitalize;
    font-weight: 600;
    margin: 10px 0;
}

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

.course-col:hover {
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
}


@media (max-width: 700px) {
    .row {
        flex-direction: column;
        width: 100%;
    }

    .course {
        width: 100%;
    }

    .course-col {
        height: 20%;
    }
}


/* ================================ CAMPUS ================================ */


.campus {
    width: 80%;
    margin: auto;
    text-align: center;
    padding: 30px;
}

.campus>h1 {
    font-size: 36px;
    text-transform: capitalize;
    margin-bottom: 10px;
    font-weight: 600;
}

.campus p {
    font-size: 14px;
}

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

.campus-col img {
    width: 100%;
    display: block;
}

.layer {
    background: rgba(transparent, 0, 0, 0.7);
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
}

.layer h3 {
    text-transform: uppercase;
    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 {
    background: rgba(226, 0, 0, 0.7);
    ;
}

.layer:hover h3 {
    bottom: 49%;
    opacity: 1;
}


/* ================================ FACILITIES ================================ */


.facilities {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

.facilities .row {
    margin-top: 3%;
}

.facilities h1 {
    text-transform: capitalize;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 10px;
}

.facilities>p {
    font-size: 14px;
}

.facilities-col {
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    transition: 0.5s;
}

.facilities-col:hover {
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
    padding: 10px;
}

.facilities-col img {
    width: 100%;
    border-radius: 10px;
}

.facilities-col p {
    padding: 0;
    font-size: 14px;
}

.facilities-col h3 {
    text-transform: capitalize;
    margin: 10px 0;
}

@media(max-width: 700px) {
    .facilities-col {
        margin: 20px 0;
    }
}


/* ================================ TESTIMONIALS ================================ */


.testimonials {
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
}

.testimonials h1 {
    text-transform: capitalize;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 10px;
}

.testimonials>p {
    font-size: 14px;
}

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

.testimonials-col img {
    height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}

.testimonials-col p {
    padding: 0;
    line-height: 1.4;
    font-size: 15px;
}

.testimonials-col h3 {
    margin: 10px 0px;

    text-transform: capitalize;
}

.ri-star-fill {
    color: #f44336;
}

.ri-star-half-fill {
    color: #f44336;
}

.ri-star-line {
    color: #f44336;
}

.testimonials-col:hover {
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 700px) {
    .testimonials-col img {

        margin-left: 0px;
        margin-right: 15px;

    }
}


/* ================================ 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(./assets/images/banner2.jpg);
    background-size: cover;
    border-radius: 10px;
    padding: 100px 0;
    background-position: center;
    text-align: center;
}

.cta h1 {
    color: #fff;
    text-transform: capitalize;
    margin-bottom: 10px;
    font-size: 30px;
    font-weight: 500;
}

.cta span {
    color: #f44336;
}

@media (max-width: 700px) {
    .cta h1 {
        font-size: 24px;
        /* width: 50%; */
        padding: 0 10px;
    }
}


/* ================================ FOOTER
 ================================ */


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

.footer h4 {
    margin-bottom: 15px;
    margin-top: 20px;
    font-weight: 600;
    text-transform: capitalize;
    font-size: 36px;
}

.icons {
    color: #f44336;
    margin: 0;
    padding: 18px 0;
    cursor: pointer;
    font-size: 22px;
}

.icons i {
    margin: 0 10px;
    display: inline-block;
    transition: all 0.3s ease-in-out;
}

.icons i:hover {
    transform: translateY(-10px);
}

.ri-heart-3-fill {
    color: red;
}

.footer p {
    font-size: 16px;
}

#ftr-quote {
    font-style: italic;
    text-transform: uppercase;
    font-size: 13px;
}

.ri-heart-3-fill {
    color: red;
    font-size: 16px;
    display: inline-block;
    transition: all 0.8s ease-in-out;
}

.ri-heart-3-fill:hover {
    transform: rotate(360deg);
}

@media (max-width: 700px) {
    .footer p {
        width: 80%;
        margin: 0 auto;
    }
}