*{
    padding: 0;
    margin: 0;
    text-transform: capitalize;
    font-family:'Times New Roman', Times, serif
}
body{
    overflow-x: hidden;
}


body,html{
    overflow-x: hidden;
}

.list ul li:hover{
    cursor: pointer;
    border-bottom: 3px solid rgb(253, 119, 119);
}
.container{
    padding: 10px 70px;
}
.logo h1{
    position: relative;
    color: white;
    top: 17px;
    left: -160px;
}
.topbar{
    height: 100vh;
    background-image:linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url(image/school.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.logo{
    display: flex;
}
.navbar{
    padding: 10px 70px;
    display: flex;
    justify-content: space-between;
}
.list{
    position: relative;
    top: 20px;
}
ul{
    display: flex;
    gap: 20px;
    list-style-type: none;
    color: #fff;
}
.insp{
    line-height: 2;
    color: #fff;
    position: absolute;
    top: 40%;
    text-align: center;
    left: 29%;
}
.insp>p{
    left: 10px;
    margin-bottom: 20px;
    text-align: center;
}
.insp button{
    padding: 5px 20px;
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    top: -20px;
}
.insp button:hover{
    background-color:rgb(187, 53, 53);
    transition: all 0.4s;
}


/* section-two */
.sec{
    flex-wrap: wrap;
    justify-content: center;
    display: flex;
    gap: 40px;
}
.degree{
    width: 320px;
    padding: 30px 20px;
    text-align: center;
    background-color: rgb(253, 225, 230);
}
.degree p{
    position: relative;
    left: -10px;
    line-height: 1.7;
}
.one h1,p{
    line-height: 1.7;
}
.one p{
    margin-bottom: 10px;
}
.one{
    padding: 20px 0px;
    text-align: center;
    position: relative;
    top: 100px;
    height: 180vh;
    background-color: #fff;
}

/* our global campus */
.two{
    margin-top: -350px;
    position: relative;
    top: -300px;
}
.two h1,.two>p{
    position: relative;
    line-height: 3;
}
.two>h1{
    text-align: center;
}
.sec2 img{
    margin-bottom: -590px;
    border-radius: 10px;
    margin-right: 20px;
    width: 300px;
    height: 460px;
}
.sec2{
    flex-wrap: wrap;
    justify-content: center;
    display: flex;
    gap: 20px;
}
.layer{
    border-radius: 10px;
    width: 300px;
    height:460px;
    position: relative;
    top: 128px;
    transition: 0.5s;
}
.layer:hover{
    background-color: rgba(66, 63, 63, 0.6);
}
.layer h3{
    color: rgb(255, 255, 255);
    position:relative;
    left: 100px;
    top: -20px;
    transition: 0.5s;
}
.layer:hover h3{
    position:relative;
    top: 210px;
}
/* facilites */
.three{
    padding: 20px 100px;
    position: relative;
    top: 100px;
}
p{
    text-align: center;
}
.three>h1,.three>p{
    margin-bottom: 30px;
    text-align: center;
}
.s1 img{
    border-radius: 10px;
    width: 320px;
    height: 300px;
}
.s1{
    width: 320px;
}
.sport{
    flex-wrap: wrap;
    justify-content: center;
    gap:50px;
    display: flex;
}
.s1 h1{
    font-size: 20px;
}
.s1 p{
    position: relative;
    left: 1px;
    line-height: 1.9;
    text-align: start;
}
.three>p{
    left: -10px;
}
/* student-section */
.four>h1{
    padding: 10px 0px;
    text-align: center;
}
.four p{
    padding: 20px 0px;
}
.four{
    padding: 20px 100px;
    position: relative;
    top: 100px;
}
.box-1 img{
    width: 30px;
    height:30px;
    border-radius: 50%;
}
.h1{
    margin-top: -30px;
    margin-left: -18px;
}
.box{
    justify-content: center;
    flex-wrap: wrap;
    display: flex;
    gap: 50px;
}
.box-1{   
    width: 470px;
    gap: 50px;
    padding: 20px;
    background-color: #f5dee2;
    display: flex;
}
.box{
    margin-left: 0px;
}
.title h1{
    font-size: 20px;
    margin: -20px 0px 10px -20px;
}
.title img{
    width: 120px;
    height: 100px;
}
.title img{
    margin: -30px -50px;
}
.title>p{
    top: -20px;
    left: -20px;
    line-height: 1.5;
    text-align: start;
}
.five{
    padding: 190px 20px;
}
.enroll{
    text-align: center;
    color: #fff;
    background-position: center;
    background-size: cover;
    padding: 120px 20px;
    background-image:linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url(image/group.jpg);
}
.enroll h1,button{
    line-height: 1.5;
    position: relative;
    top:0px;
}
.enroll h1{
    line-height:1.9;
}
.enroll button{
    font-weight: 800;
    color: white;
    border: 1px solid white;
    background-color: transparent;
    padding: 10px 20px;
}
.enroll button:hover{
    background-color: #f86565;
}

/* footer */
footer{
    margin-top: -100px;
    padding:30px;
}
.icon{
    color: rgb(41, 39, 39);
    text-align: center;
}
footer h1{
    text-align: center;
}
.icon i:hover{
    color: rgb(245, 126, 126);
    text-align: center;
}











.checkbtn{
    position: absolute;
    top: 4px;
    right: 20px;
    display: none;
    color: #fff;
}
#check{
    display: none;
}
.logo-1{
    display: none;
}
@media (max-width:890px){
    .checkbtn{
        display: block;
    }
    ul{
        display: block;
        z-index: 100;
        position: fixed;
        width: 50%;
        background-color: #f86565;
        top: 80px;
        left: -100%;
        text-align: center;
        transition: all .7s;
    }
    .sub{
        text-align: center;
        width: 90%;
    }
    .list ul li:hover{
        width: 90%;
    }
    .list{
        height: 50px;
    }
    .list ul li{
        display: block;
        margin: 10px 0;
        line-height: 30px;
    }
    #check:checked~ul{
        left: 0;
    }
    label .logo-1{
        font-size: 22px;
    }
}





@media (max-width:778px){
    .two>h1,.two>p{
        top: 70px;
    }
}






@media (max-width:776px){
    .one{
        margin-bottom: 200px;
    }
}


@media (max-width:1138px) {
    .insp{
        line-height: 2;
        color: #fff;
        position: absolute;
        top: 40%;
        text-align: center;
        left: 22%;
    }
}




@media (max-width:951px){
    .insp{
        line-height: 2;
        color: #fff;
        position: absolute;
        top: 40%;
        text-align: center;
        left: 20%;
    }
}




@media (max-width:876px){
    .insp{
        line-height: 2;
        color: #fff;
        position: absolute;
        top: 40%;
        text-align: center;
        left: 19%;
    }
}




@media (max-width:794px){
    .insp{
        line-height: 2;
        color: #fff;
        position: absolute;
        top: 40%;
        text-align: center;
        left: 17%;
    }
}







@media (max-width:746px){
    .insp{
        line-height: 2;
        color: #fff;
        position: absolute;
        top: 40%;
        text-align: center;
        left: 15%;
    }
}









@media (max-width:684px){
    .insp{
        line-height: 2;
        color: #fff;
        position: absolute;
        top: 40%;
        text-align: center;
        left: 10%;
    }
}


@media (max-width:638px){
    .insp{
        line-height: 2;
        color: #fff;
        position: absolute;
        top: 40%;
        text-align: center;
        left: 6%;
    }
}






@media (max-width:598px){
    .insp{
        line-height: 2;
        color: #fff;
        position: absolute;
        top: 40%;
        text-align: center;
        left: 3%;
    }
}








@media (max-width:542px){
    .insp{
        line-height: 2;
        color: #fff;
        position: absolute;
        top: 40%;
        text-align: center;
        left: 2%;
    }
    .insp>h1{
        font-size: 25px;
    }
}








@media (max-width:552px){
    .box-1{
        padding: 40px;
        flex-direction: column;
    }
    .box{
        margin-left: -50px;
    }
}





@media (max-width:537px){
    .box{
        margin-left: -50px;
    }
}






@media (max-width:1176px){
    .two{
        top: 100px;
        
    }
    .three{
        margin-top: 150px;
    }
}

@media (max-width:473px){
    .navbar{
        position: relative;
        left: -40px;
    }
}








