/* @import url("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/css/fontawesome.min.css"); */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}
body {
    background-color: rgb(247, 243, 243);
}
/* -------------navbar section   -------- */
.header {
   background:linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)), url("./img/banner.png");
   height: 100vh;
   background-position: center;
   background-repeat:no-repeat;
   width: 100%;
   position: relative;
   overflow: hidden;
  
}
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px;
    position: relative;
}
nav .logo img {
    width: 150px;
}
nav ul li {
    display: inline-block;
    margin: 0px 15px;
}

nav ul li a {
    text-decoration: none;
    color: rgb(210, 203, 203);
    font-size: 12px;
    transition: all 1s;
}

ul li a::after{
    content: '';
    width: 0%;
    display: block;
    background-color:red;
    height: 2px;
    transition: all 1s;
    margin-top:5px;
}
ul li a:hover {
    color:rgb(226, 5, 112);
}
ul li a:hover::after {
    width:100%;
    
}
.bi-x-circle{
    display: none;
}
.bi-list {
    display: none;
}
/* ------------header-content -------------- */

.header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.header-content h1 {
    color: rgb(210, 203, 203);
    font-size: 39px;
}

.header-content p {
    color: rgb(210, 203, 203);
    font-size: 12px;
    margin: 35px 0px;
}

.btn {
    display: inline-block;
    border: 1px solid rgb(192, 189, 189);
    padding: 10px 20px;
    margin-top: 5px;
    transition: all 1s;
}
.btn a {
    color: rgb(210, 203, 203);
    text-decoration: none;
    font-size: 11px;
    transition: all 1s;
}
.btn a:hover {
    color:white;
}
.btn:hover {
    background-color: rgba(251, 8, 101, 0.863);
    border: none;
    cursor: pointer;   
}


/* ------------- course section starts -------------- */


.section-title {
    text-align: center;
    margin: 80px 0px;
}
.section-title h1 {
    font-weight: bolder;
    font-size: 35px;
    margin: 10px auto;
}

.course-row {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-evenly;
}

.box {
    width: 25%;
    text-align: center;
    padding: 24px 15px;
    background-color:rgb(241 227 220 / 78%);
    margin: 40px 0px;
    border-radius: 12px;
}
.box h2 {
    font-size: 18px;
    margin: 5px 0px;
}

.box p {
    font-size: 12px;
    color: #958b8b;
}



/* ------------------ campus section start ---------------- */


.campus-title {
    text-align: center;
    margin: 40px auto;
}
.campus-title h1 {
    font-size: 35px;
    margin: 10px auto;
}
.campus-row {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin: 75px auto;
}

.img-box {
    width: 25%;
    height: 100%;
    position: relative;
}

.img-box img {
    width: 100%;
}

.layer {
    /* text-align: center; */
    background:transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    left:0;
    top:0;
    transition: 0.5s;
}

.layer h1 {
    color: white;
    font-weight: 100;
    font-size: 15px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: 0.5s;
}

.layer:hover {
    background:rgba(266,0,0,0.7);  
}

.layer:hover h1 {
    bottom: 49%;
    opacity: 1;
}


/* --------------- facilites section start ------------- */

.facilites-title {
    text-align :center;
    margin: 80px 0px;
}
.facilites-title h1 {
    font-size: 35px;
}
.facilites-title p {
    font-size :12px;
}


.facilites-row {
    display:flex;
    width: 80%;
    align-items: center;
    justify-content: space-between;
    margin: 20px auto;
}

.facilites-box {
    width: 30%;
}
.facilites-box img {
    width: 100%;
    border-radius: 15px;
}
.facilites-content h3 {
    /* text-align: center; */
    margin-top: 10px;

}
.facilites-content p {
    font-size:12px;
    margin:10px 0px;
    /* text-align: center;*/
}


/* -------------- student section -------------- */
.stu-title {
    text-align: center;
    margin: 50px 0px;
}
.stu-row {
    display: flex;
    width: 70%;
    align-items: center;
    justify-content: space-between;
    margin: 50px auto;
    margin-bottom: 100px;
    
}
.stu-box {
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(251, 233, 236);
}
.stu-box-left {
    width: 20%;
}

.stu-box-right {
    width: 70%;
}
.stu-box img {
    width: 45px;
    border-radius: 150px;
}

.stu-box-right p {
    font-size: 12px;
    line-height: 15px;
    margin-top: 20px;
}

.stu-box-right h3 {
    margin: 20px 0px;
}

.bi-star-fill,.bi-star-half {
    color: red;
}

 /* -------------------enroll banner -------------   */


.banner {
    background:linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)), url("./img/banner2.jpg");
    background-position: center;
    background-size: cover;
    width: 80%;
    height: 250px;
    margin: 50px auto;
    text-align: center;
    padding-top: 8%;

}

.banner h1 {
    color: white;
    margin-bottom: 10px;
}



/* ---------- media queries --------------  */

@media (max-width:750px) {
    .header-content h1 {
        font-size: 30px;
    }
    nav .logo img {
        margin: 20px;
    }
    nav {
        align-items: normal;
        padding: 0px;
    }

    nav ul {
        position: absolute;
        width: 200px;
        background-color: rgb(253 112 112);
        z-index: 2;
        top: 0;
        right: -200px;
        height: 100vh;
        transition: all 1s;
    }
    nav ul li{
        display: block;
        margin: 25px 35px;
    }
    nav ul li a {
        color :white;
        font-size:15px;
    }
    .bi-list {
        display: block;
        color: white;
        margin: 20px;
    }
    .bi-x-circle {
        display: block;
        color:white;
        margin: 20px;
    }


    /* --- ----- course section ----- -  */


    .course-row {
        flex-direction: column;
    }
    .box{
        width: 60%;
    }

    /* --------- campus section ---------  */
    .campus-row {
        flex-direction: column;
    }

    .img-box {
        width :70%;
        margin:10px 0px;
    }

    /* --------- facilites section -------  */

    .facilites-row {
        flex-direction: column;
    }
    .facilites-box {
        width :80%;
    }

    /* --------- student section --------------  */
    .stu-row {
        flex-direction: column;
    }

    .stu-box {
        width: 100%;
        margin:10px 0px;
    }

    .banner h1 {
       
        font-size: 18px;
    }
}