/* Start Of Variables Section */
:root {
    --first-font-color: #777;
}
/* End Of Variables Section */

/* Start Of Component Section */
.heading {
    margin-bottom: 50px;
    padding: 0 10px;
    text-align: center;
}
.heading h1 {
    margin: 0;
}
.heading p {
    padding: 0 10%;
    line-height: 1.5;
    color: var(--first-font-color);
}
@media (max-width: 600px){
    .heading p {
        padding: 0 5%;
    }
}
.section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
}
.btn {
    padding: 15px 35px;
    border: 1px solid #FFF;
    outline: none;
    color: inherit;
    background-color: transparent;
    cursor: pointer;
    position: relative;
}
.btn:hover {
    background-image: linear-gradient(rgb(255 0 0 / 0.5), rgb(0 0 0 / 0.5));
}
.btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -15px;
    width: 30px;
    height: 1px;
    background-color: #FFF;
}
.btn::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -15px;
    width: 30px;
    height: 1px;
    background-color: #FFF;
}
/* End Of Component Section */

/* Start Of Global Rules Section */
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Work Sans', sans-serif;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
/* End Of Global Rules Section */

/* Start Of Landing Section */
.landing {
    width: 100%;
    min-height: 100vb;
    background-image: linear-gradient(rgb(0 0 0 / 0.7), rgb(0 0 0 / 0.7)), url("../images/banner.png");
    background-size: cover;
    background-position: bottom;
    position: relative;
    overflow: hidden;
}
.landing header {
    padding: 20px 50px;
    display: flex;
    align-items: center;
    position: relative;
}
.landing header .logo img {
    width: 150px;
}
.landing header .links {
    flex: 1;
    text-align: right;
}
.landing header i {
    display: none;
}
.landing header .links i {
    
}
.landing header .links ul li {
    padding: 10px;
    display: inline-block;
    list-style: none;
}
.landing header .links ul li a {
    color: #FFF;
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
}
.landing header .links ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background-image: linear-gradient(to right, rgb(255 0 0 / 0.6), rgb(0 0 0));
    transition: 0.5s;
}
.landing header .links ul li a:hover::after {
    width: 100%;
}
.landing .info {
    margin: 100px auto;
    text-align: center;
    color: #FFF;
    width: 90%;
}
.landing .info h1 {
    margin: 0;
    font-size: 50px;
}
@media (max-width: 810px){
    .landing .info h1 {
        font-size: 40px;
    }
}
@media (max-width: 750px){
    .landing .info {
        margin-top: 30px;
    }
    .landing .info h1 {
        font-size: 20px;
    }
    .landing header .links {
        position: absolute;
        top: 0;
        right: -100%;
        height: 100vb;
        width: 100%;
        background-image: linear-gradient(to right, rgb(255 0 0 / 0.6), rgb(0 0 0));
        z-index: 1;
        position: fixed;
        transition: 1s;
    }
    .landing header .links ul {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }
    .landing header .links ul li {
        display: block;
        padding: 20px;
        font-size: 25px;
    }
    .landing header i {
        width: fit-content;
        font-size: 30px;
        color: #FFF;
        cursor: pointer;
        display: block;
    }
    .landing header .links i {
        position: absolute;
        top: 20px;
        right: 20px;
    }
    .landing header .fa-bars {
        position: absolute;
        right: 20px;
        top: 20px;
        font-size: 25px;
    }
}
.landing .info p {
    margin: 20px 0 40px;
    padding: 0 50px;
    font-size: 13px;
    line-height: 1.3;
}
/* End Of Landing Section */

/* Start Of Course Section */
.course .content {
    margin: 0 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.course .content .box {
    margin: 15px;
    padding: 20px 15px 15px;
    width: 400px;
    text-align: center;
    border-radius: 10px;
    background-color: #FFF3F3;
    transition: box-shadow 0.7s;
}
.course .content .box:hover {
    box-shadow: 0 0 10px 0 rgb(255 0 0 / 0.5), 
                0 0 20px 0 rgb(0 0 0 / 0.5);
}
.course .content .box p {
    margin-top: 15px;
    line-height: 1.5;
    color: var(--first-font-color);
}
/* End Of Course Section */
/* Start Of Campus Section */
.campus .content {
    margin: 0 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.campus .content .box {
    margin: 15px;
    width: 350px;
    height: 600px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
.campus .content .box img {
    width: 100%;
    height: 100%;
}
.campus .content .box .info {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    font-weight: 600;
    background-image: linear-gradient(rgb(255 0 0 / 0.5), rgb(0 0 0 / 0.9));
    color: #FFF;
    transition: top 0.5s;
}
.campus .content .box:hover > .info {
    top: 0;
}
/* End Of Campus Section */

/* Start Of Facilities Section */
.facilities .content {
    margin: 0 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.facilities .content .box {
    margin: 15px;
    width: 400px;
}
.facilities .content .box img {
    width: 100%;
    border-radius: 10px;
}
.facilities .content .box h3 {
    margin: 10px 0 5px;
    font-weight: 600;
}
.facilities .content .box p {
    color: var(--first-font-color);
}
/* End Of Facilities Section */

/* Start Of Reviews Section */
.reviews .content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.reviews .content .box {
    margin: 20px;
    padding: 20px 10px;
    width: 650px;
    border-radius: 10px;
    background-color: #FFF3F3;
    display: flex;
}
.reviews .content .box img {
    height: 80px;
    border-radius: 50%;
}
.reviews .content .box .info {
    margin-left: 20px;
}
.reviews .content .box .info p {
    line-height: 1.5;
}
.reviews .content .box .info h3 {
    margin: 15px 0;
}
.reviews .content .box .info .rat i {
    font-size: 20px;
    font-weight: bold;
    color: orange;
}
/* End Of Reviews Section */

/* Start Of Contact Section */
.contact {
    padding: 50px;
    margin: 50px 10%;
    background-image: linear-gradient(rgb(0 0 0 / 0.6), rgb(0 0 0 / 0.6));
    text-align: center;
    color: #FFF;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}
.contact img {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -5;
}
.contact h1 {
    margin: 0 0 50px;
    font-size: 35px;
}
.contact button {
    font-size: 30px;
}
@media (max-width: 600px){
    .contact {
        padding: 30px 25px;
        margin: 0 5%;
    }
    .contact h1 {
        margin-bottom: 30px;
        font-size: 18px;
    }
    .contact button {
        font-size: 15px;
    }
}
/* End Of Contact Section */

/* Start Of About Section */
.about {
    text-align: center;

}
@media (max-width: 600px){
    .about .links {
        margin-top: -20px;
    }
}
.about .links a {
    color: rgb(255 0 0 / 0.9);
    text-decoration: none;
}
.about .links a i {
    margin: 0 20px;
    font-size: 20px;
}
.about footer {
    margin-top: 30px;
    margin-bottom: -40px;
    color: #777;
    font-size: 20px;
}
/* End Of About Section */
