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

.text-box
{
    width:90%;
    margin:auto;
    text-align:center;
    position:relative;
    top:100px;
    color:white;
}

.text-box h1
{
    line-height:1.5;
    font-size:50px;
    margin-bottom:8px;
}

.text-box p
{
    font-size:15px;
    margin-bottom:35px;
}

.text-box a
{
    text-decoration:none;
    color: white;
    background:red;
    padding:7px 16px;
    font-weight:bold;
    border:2px solid red;
    transition:0.5s;
}

.text-box a:hover 
{
    background:transparent;
    border-color:white;
}

@media screen and (max-width:700px)
{
    .text-box h1
    {
        font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        font-size:30px;
        font-weight:900;
        margin-bottom:20px;
    }
}

/* Courses Section Code */

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

.courses h1
{
    font-size:30px;
    font-weight:600;
}

.courses p
{
    color:#777;
    font-size:14px;
    font-weight:350;
    line-height:22px;
    padding:10px;
}

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

.course
{
    flex-basis:31%;
    background:#faebeb;
    border-radius:10px;
    margin-bottom:5%;
    padding:20px 12px;
    cursor:pointer;
    transition:0.3s;
}

.course h3
{
    font-weight:600;
    margin:10px 0px;
}

.course:hover
{
    box-shadow:0 0 20px 0px rgba(0,0,0,0.4);
    cursor:default;
}

@media screen and (max-width:700px)
{
    .course-container
    {
        flex-direction:column;
    }
}

/* Campus Section Code */

.campuses
{
    width:80%;
    margin:auto;
    text-align:center;
    margin-top:60px;
}

.campuses h1
{
    font-size:30px;
    font-weight:600;
}

.campuses p
{
    color:#777;
    font-size:14px;
    font-weight:300;
    line-height:22px;
    padding:10px;
    margin-bottom:60px;
}

.campus-container
{
    display:flex;
    justify-content:space-between;
}

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

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

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

.layer:hover
{
    background:rgba(226,0,0,0.7);
}

.layer h3
{
    font-size:30px;
    font-weight:400;
    color:white;
    text-align:center;
    position:relative;
    top:110%;
    opacity:0;
    transition:0.5s;
}

.layer:hover h3
{
    top:40%;
    opacity:1;
}

.campus .title
{
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    background:#f44336;
    color:white;
}

@media screen and (max-width:700px)
{
    .campus-container
    {
        flex-direction:column;
    }
}

/* Facilities Section Code */

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

.facilities h1
{
    font-size:30px;
    font-weight:600;
}

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

.facilities-container
{
    margin-top:60px;
    display:flex;
    justify-content:space-between;
}

.facility
{
    flex-basis:32%;
}

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

.facility-overview
{
    margin-top:15px;
    text-align:left;
}

.facility-overview h3
{
    margin-bottom:8px;
    font-weight:600;
}

.facility-overview p
{
    padding:0px;
}

@media screen and (max-width:700px)
{
    .facilities-container
    {
        flex-direction:column;
    }

    .facility
    {
        margin-bottom:40px;
    }
}

/* Reviews Section Code */

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

.testimonials h1
{
    font-size:30px;
    font-weight:600;
}

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

.testimonials-container
{
    margin-top:60px;
    display:flex;
    justify-content:space-between;
}

.testimonial
{
    flex-basis:48%;
    border-radius: 10px;
    text-align:left;
    background:#fdeeee;
    padding:25px;
    display:flex;
}

.testimonial img
{
    height:40px;
    border-radius:50%;
    margin-right:20px;
}

.testimonial p
{
    padding:0px;
}

.testimonial h3
{
    margin:10px 0 5px 0;
    font-weight:600;
}

.review .fas,.far 
{
    font-size:13px;
    color:#f44336;
}

@media screen and (max-width:700px)
{
    .testimonials-container
    {
        flex-direction:column;
    }

    .testimonial
    {
        margin-bottom:20px;
    }

    .testimonial img 
    {
        margin-right:10px;
    }
}

/* Enroll Section Code */

.enroll
{
    width:80%;
    margin: 100px auto;
    text-align: center;
    background:linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(../images/banner2.jpg);
    height:300px;
    background-size:cover;
    background-position:0%;
    border-radius:10px;
    padding:100px 0;
}

.enroll h1
{
    color:white;
    margin-bottom:40px;
}

.enroll a
{
    text-decoration:none;
    background:red;
    padding:10px 20px;
    color:white;
    border:2px solid white;
    transition:0.3s;
    font-weight:bold;
}

.enroll a:hover
{
    background:transparent;
}

@media screen and (max-width:700px)
{
    .enroll h1
    {
        font-size:20px;
    }
}