
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all .2s linear;
}
body{
    font-family: 'Source Sans Pro', sans-serif;
}
html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 6rem;
    scroll-behavior: smooth;
}


/* ***************GENERAL**************** */


li{
    list-style: none;
}
a{
    text-decoration: none;
}
img{
    width: 100%;
}
.btn{
    color: #fff;
    background-color: #a12c2f;
    font-size: 1.4rem;
    text-transform: uppercase;
    padding: 1.5rem 2.7rem;
    border-radius: 3rem;
    /* margin-top: 7rem; */
}


/* *****************Header section************* */


.header .container
{
    max-width: 1150px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header{
    background-color: #1f272b;
    padding: 1rem 0;
    
}
.fab{
    color: #fff;
    margin-left: 2rem;
    font-size: 1.5rem;
}
.header p{
    color: #fff;
    font-size: 1.3rem;
}
.header p span a{
    color: #f5a425;
}


/* ****************HERO************************ */


.upper{
    position: relative;
}
.upper video{
    width: 100%;
    object-fit: cover;
    height: 60rem;
}
.upper .content{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color:  rgba(31,39,43,0.75);
}
.upper img {
    width: 5rem;
    height: 5rem;
}
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1150px;
    margin: 0 auto;
    
}
.nav{
    background: rgba(250,250,250,0.15);
    padding: 1rem 0;
}
.logos{
    width: 22rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: #fff;}
.logos h1{
    font-size: 1.5rem;    
}
.logos h1 span {
    background-color: #f5a425;
    border-radius: 50%;
    width: 5rem;
    height: 5rem;
    padding: .4rem .6rem;
    margin-right: -.4rem;
}

nav ul{
    display: flex;
    gap: 2rem;
}
nav ul li a{
    color: #fff;
    font-size: 1.5rem;
}
.upper .text{
    /* margin-top: 5rem; */
    max-width: 1150px;
    margin: 5rem auto;   
}
.upper .text .para{
    color: #fff;
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
}
.upper .text h2{
    color: #fff;
    font-size: 4rem;
    text-transform: uppercase;
}
.upper .text .second{
    color: #fff;    
    width: 55rem;
    font-size: 1.5rem;
    line-height: 1.7;
    margin-top: 2rem;
    margin-bottom: 4rem;
}
.upper .text .second a{
    color: #3CF;
    /* #ffc107 */
}
.upper .text .second a:hover{
    color: #f5a425;
}

/* *********************BODY SECTION****************** */


.meetings{
    position: relative;
    /* padding-bottom: 10rem; */
    
}
.meetings .image img{
    position: fixed;
    top: 0rem;
    height: 100%;
    z-index: -1;
}
.meetings .cards{
    position: absolute;
    top: -11rem;
    /* left: 8%; */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;    
}
.meetings .cards .card{
    background-image: url('./assets/service-item-bg.jpg');
    width: 35rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    border-radius: 1rem;
}
.meetings .icon img{
    width: 50px;
    height: 50px;
    /* position: fixed; */
}
.meetings .cards .card h2{
    color: #fff;
    font-size: 1.9rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.meetings .cards .card p{
    color: #fff;
    font-size: 1.5rem;
    line-height: 1.7;
    text-align: center;
}


.meetings .container{
    max-width: 1150px;
    margin: 0 auto;
}


/* *******************School terms section************** */


.meetings .meeting{
    position: absolute;
    top: 30rem;
}
.meetings .meeting h1{
    color: #fff;
    text-align: center;
    font-size: 2.5rem;
    text-transform: uppercase;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgb(82, 80, 80);
    display: block;
    /* width: 110rem; */
    margin-bottom: 4rem;
}
.meetings .meeting .testimonials{
    max-width: 1150px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5rem;
    padding-bottom: 10rem;
}
.meetings .meeting .testimonials .first{    
    background-color: #fff;
    /* width: 10rem; */
    height: 45rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 3rem;
    border-radius: 3rem;
}
.fir {
    position: relative;
}
.fir::after {
    content: '';
    position: absolute;
    bottom: -2rem;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #a12c2f;
}
.meetings .meeting .testimonials .first h2{
    font-size: 2rem;
}
.meetings .meeting .testimonials .first ul li a{
    font-size: 1.5rem;
    color: #000;
}
.meetings .meeting .testimonials .first ul li{
    padding: 1rem 0;
}

.meetings .meeting .testimonials .second{
    flex: 1 1 60%;
    display: grid;
    justify-content: center;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.meetings .meeting .testimonials .second .test{
    background-color: #fff;
    border-radius: 1.5rem;
    position: relative;
    
}
.meetings .meeting .testimonials .second .test img{
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
}

.inner{
    display: flex;
    padding: 3rem;
    gap: 2rem;
    /* #a12c2f */
}
.inner .date h2{
    color: #a12c2f;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.inner .date p{
    font-size: 2rem;
    font-weight: bold;

}

.inner .text h2{
    font-size: 1.9rem;
    margin-bottom: 1rem;
}
.inner .text p{
    font-size: 1.5rem;
}



/* ********************TEACHERS COLUMN*************** */

.teach {
    position: relative;
    top: 130rem;
    width: 90vw;
}
.cover {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: 10vw;
}
.cover h1 {
    color: #fff;
    text-align: center;
    font-size: 3rem;
    text-transform: uppercase;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgb(82, 80, 80);
    display: block;
    width: 90%;
    margin-bottom: 4rem;
}
.con{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    margin: 40px 0;
    z-index: 1;
}
.con .cardd{
    position: relative;
    width: 300px;
    height: 400px;
    margin: 20px;
    box-shadow: 0px 15px 35px rgba(0, 0, 0, .2);
    border-radius: 15px;
    background: rgba(255, 255, 255, .07);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, .5);
    border-left: 1px solid rgba(255, 255, 255, .5);
    backdrop-filter: blur(10px);
    /* transform-style: preserve-3d;
    transform: perspective(5000px); */
}
.con .cardd .cont {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;   
    opacity: 0.7;
    transition: .5s;
   
}
.con .cardd:hover .cont{
    opacity: 1;
    transform: translateY(-20px);
}
.con .cardd .cont .boxx{
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 10px solid rgba(0, 0, 0, .25);
}
.con .cardd .cont .boxx img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* transform: translateZ(1000px); */
}

.con .cardd .cont .boxcontent h3 {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    font-size: 18px;
    text-align: center;
    margin: 20px 0 10px;
    line-height: 2rem;
}
.con .cardd .cont .boxcontent h3 span {
    font-size: 12px;
    font-weight: 500;
    text-transform: initial;
}
.con .cardd .sci{
    position: absolute;
    bottom: 50px;
    display: flex;
}
.con .cardd .sci li {
    list-style: none;
    margin: 0 10px;
    transform: translateY(40px);
    transition: .5s;
    opacity: 0;
    transition-delay: calc(0.1s * var(--i));
}
.con .cardd:hover .sci li {
    transform: translateY(0px);
    opacity: 1;
}
.con .cardd .sci li a {
    color: #fff;
    font-size: 24px;
}



/* ****************APPLY AND INTRO**************** */


.middle{
    position: relative;
    top: 140rem;
    background-image: url('./assets/a.jpg');
    object-fit: cover;
}
.middle .container{
    max-width: 1150px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5rem;
    padding: 10rem 0;   
}
.middle .container .right{
    display: flex;
    flex-direction: column;
    gap: 4rem;
    flex: 1 1 40%;
}
.middle .container .right .box{
    background-color: #1f272b9f;
    padding: 5rem 3.5rem;
    border-radius: 1rem;
}
.middle .container .right .box h1{
    color: #fff;
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 2rem;
    line-height: 1.7;
}
.middle .container .right .box p{
    color: #fff;
    font-size: 1.3rem;
    line-height: 1.5;
    margin-bottom: 4rem;
    
}
.middle .container .left{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #1f272b9f;
    color: #fff;
    padding: 4rem;
    flex: 1 1 40%;
    width: 60%;
    border-radius: 2rem;
}
.left .content{
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.left .content h2{
    font-size: 2.2rem;
    margin-bottom: 2rem;    
}
.intro {
    position: relative;
}
.intro::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 3px;
    background-color: #a12c2f;
}
.middle .container .left .content p{
    font-size: 1.7rem;
    line-height: 2.5rem;
    text-align: center;
}
.left span {
    color: #f5a425;
}
a.btn.primary{
    background-color: #f5a425;
}


/* *****************COURSES**************** */



.courses .container{
    position: relative;
    top: 150rem;
    max-width: 1150px;
    margin: 0 auto;
    padding-bottom: 10rem;
}
.courses .container .head h2{
    color: #fff;
    font-size: 2.5rem;
    padding-bottom: 2rem;

}
.courses .container .head{
    border-bottom: 1px solid rgb(78, 78, 78);
    margin-bottom: 5rem;
    text-transform: uppercase;
}
.courses .container .slider{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 3rem;
    flex-wrap: wrap;
}
.courses .container .slider .slide{
    flex : 1 1 20rem;
    background-color: #fff;
}
.courses .container .slider .slide p{
    font-size: 1.7rem;
    text-align: center;
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgb(214, 211, 211);
}
.courses .container .slider .slide .lower{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    /* width: 100%; */
}
.courses .container .slider .slide .lower .stars i{
    color: #f5a425;
    font-size: 1.3rem;
    /* #a12c2f */
}
.courses .container .slider .slide .lower .price p{
    color: #a12c2f;
    font-weight: bold;
}
.courses .container .btn {
    position: absolute;
    bottom: 0;
    left: 0;
}


/* ****************FACTS**************** */



.facts{
    position: relative;
    top: 160rem;
    background-image: url('./assets/f.jpg');
}
.facts .container{
    /* position: relative; */
    max-width: 1150px;
    margin: 0 auto;
    padding-top: 10rem;
    padding-bottom: 10rem;
    
}
.facts .container .head h1{
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 7rem;
}
.facts .container .about{
     display: flex;
     flex-wrap: wrap;
     gap: 10rem;
     align-items: center;
     justify-content: center;

}
.facts .container .about .scores{
    display: flex;
    /* gap: 20rem; */
    gap: 2rem;
    flex: 1 1 35rem;
    margin-bottom: 5rem;
}
.percent{
    background-color: rgba(250,250,250,0.15);
    margin-bottom: 2rem;
    padding: 2.5rem 3rem;
    border-radius: 1rem;
}
.percent p{
    color: #f5a425;
    font-size: 2.9rem;
    margin-bottom: 1rem;
}
.percent span{
    font-size: 1.9rem;
    color: #fff;
}
.facts .container .about .scores .left{
    transform: translateY(4rem);
}
.facts .container .about .image img{
    /* width: 70%; */
    /* transform: translateX(15rem); */
    transform: translateY(-8rem);
    border-radius: 2rem;
    
}
.facts .container .about .image{
    flex: 1 1 40%;
    position: relative;
    width: 70%;
}

.play {
    position: absolute;
    width: 8rem;
    left: calc(50% - 3rem);
    top: calc(30% - 3rem);
    z-index: 10;    
    transition: .5s;
    cursor: pointer; 
}
.play .vid {
    position: relative;
    width: 8rem;
    height: 8rem;
    background: #1f272b;
    border-radius: 50%;
    display: flex;  
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 25px #161c20;
    transition: .5s;
}
.play .vid::before{
    content: '';
    position: absolute;
    border: 25px solid #fff;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 0px solid transparent;
    transform: translateX(5px);
}
.play.active .vid {
    box-shadow: 0 0 0 150vh #1f272b;
}
.clip {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: .5s;
}
.clip.active {
    transition-delay: .5s;
    transform: translate(-50%, -50%) scale(1);
}
.clip video {
    max-width: 900px;
    outline: none;
    border: 10px solid #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .25);
}
.clip .close {
    position: absolute;
    top: 30px;
    right: 30px;
    cursor: pointer;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
}


@media (max-width: 991px){
    .clip video {
        max-width: 90%;
    } 
}


/* *********************CONTACT******************* */


.contact{
    position: relative;
    top: 170rem;
}
.contact .container{
    max-width: 1150px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    padding-bottom: 10rem;
}
.form{
    background-color: #fff;
    flex: 1 1 60%;
    padding: 3rem;
    border-radius: 2rem;
}
.address{
    background-color: #a12c2f;
    flex: 1 1 20%;
}
.form form h1{
    font-size: 2.5rem;
    margin-bottom: 5rem;
    text-transform: uppercase;
    color: #1f272b;
}
.form form .input input{
    padding: .5rem 1.2rem;
    background-color: #e2dfdf;
    outline: none;
    border: none;
    width: 35%;
    height: 5rem;
    text-transform: uppercase;
    font-size: 1.3rem;
    border-radius: 4rem;
}
.form form .input{
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}
.textarea textarea{
    padding: 1rem 2rem;
    width: 100%;
    height: 17rem;
    border: none;
    resize: none;
    background-color: #e2dfdf;
    text-transform: uppercase;
    font-size: 1.5rem;
    border-radius: 2rem;
    margin-bottom: 5rem;
}

.contact .container .address{
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 5rem;
    border-radius: 2rem;
}

.contact .container .address .info p{
    color: #fff;
    font-size: 1.7rem;
    margin-bottom: 1rem;
}
.contact .container .address .info{
    border-bottom: 1px solid rgb(219, 213, 213);
}

.copyright{
    color: #fff;
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.5;
    padding-top: 3rem;
    padding-bottom: 5rem;
}
.copyright a {
    color: #f5a425;
}

/* *****BACK TO TOP****** */

.back-top-btn {
    position: fixed;
    bottom: 20px;
    right: 30px;
    width: 5rem;
    height: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5a425;
    color: #fff;
    font-size: 2rem;
    padding: 12px;
    border-radius: 50%;
    z-index: 3;
    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease;
}
  
.back-top-btn.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(-10px);
}
  


/* Media queries */
@media(max-width:1200px){
    .padding{
        padding-left: 3rem;
        padding-right: 3rem;
    }
}
@media(max-width:1140px){
    .meeting{
        transform: translateY(20rem);
    }
    .meetings{
        margin-right: 10rem;
        padding-bottom: 20rem;
    }
    .middle .container{
        margin-right: 10rem;
        margin-left: 10rem;
    }
    .courses .container{
        margin-right: 10rem;
        margin-left: 10rem;
    }
    .facts .container{
        margin-right: 10rem;
        margin-left: 10rem;
    }
    .contact .container{
        margin-right: 10rem;
        margin-left: 10rem;
    }
    
}

@media(max-width:1033px){
    .teach {        
        top: 185rem;
        width: 100%;
    }
}



@media(max-width:900px){
    .meetings .meeting .testimonials{
        flex-direction: column;
    }
    .meetings{
        padding-bottom: 70rem;
        
    }
}


@media(max-width:895px){

    .meetings .cards{        
        top: -9rem;
        left: 10vw;
        
    }
    .meetings .cards .card{        
        width: 80vw;        
        padding: 1.7rem;
       
    }
    .meetings .icon img{
        width: 40px;
        height: 40px;
       
    }
    .meetings .cards .card h2{        
        font-size: 1.9rem;
        margin: 1.5rem 0;
    }
    .meetings .cards .card p{        
        font-size: 1.5rem;        
    }
    
    .meetings .meeting{        
        top: 45rem;
        left: 10vw;
    }
    .meetings .meeting .testimonials{        
        width: 80vw;
    }
    .meetings .meeting .testimonials .first{        
        padding: 3rem;
        
    }

    /* ***Teachers**** */

    .teach {        
        top: 140rem;
        width: 100%;
    }
    

    /* ***Apply*** */

    .middle .container{  
        flex-direction: column;      
        align-items: center;
        justify-content: center;
        margin: 0;
        width: 100vw;   
    }
    .middle .container .right {
        width: 90%;
        margin-left: 3%;  
    }
    .middle .container .left{        
        padding: 1rem;
        width: 90%;
        margin-left: 3%;       
    }

    /* ****Courses*** */

    .contact .container{       
        width: 90%;
        margin-left: 5%;
    }


    /* ******Facts**** */

    .facts .container{        
        width: 90%;
        margin: 0;
        margin-left: 5%;
    }

    .play {        
        left: calc(50% - 3rem);
        top: 6%;        
    }

    /* ***contact*** */

    .contact .container{       
        width: 90%;
        margin-left: 5%;
    }
    .form form .input input{
        font-size: 1.17rem;
    }

    .courses .container .slider{
        grid-template-columns: 1fr 1fr;
    }

}

@media(max-width:833px){
    .play {        
        left: calc(50% - 3rem);
        top: 25%;        
    } 
}


@media(max-width:761px){

    .upper .text .second{          
        width: 90vw;
        font-size: 1.3rem;
    }
    
    .meetings .meeting .testimonials .second{
        grid-template-columns: 1fr;
    }
    
    .middle{
        transform: translateY(140rem);
    }
    .middle .container{
        flex-direction: column;
        margin-bottom: 108rem;
    }

    /* ***Teachers**** */

    .teach {        
        top: 262rem;        
    }
    .con{        
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));      
    }
    .con .cardd{
        
        width: 250px;
        height: 300px;
        margin: 20px;
        
    }

    /* ***COURSES*** */
    .courses .container{
        top: 185rem;
    }

    /* **FACTS*** */

    .facts {
        top: 200rem;
    }

    .play {        
        left: calc(50% - 3rem);
        top: 25%;        
    }

    .contact {
        top: 215rem;
    }

}
@media(max-width:756px){
    .teach {        
        top: 270rem;        
    }
}

@media(max-width:677px){
    .upper .container .content nav{
        flex-direction: column;
        gap: 1rem;
    }
    header.header .container{
        flex-direction: column;
        gap: 1rem;
    }

    .teach {        
        top: 255rem;        
    }

    .middle{
        transform: translateY(130rem);
    }
    .courses .container{
        top: 175rem;
    }

    .courses .container .slider{
        grid-template-columns: 1fr;
    }

    .facts {
        top: 190rem;
    }
    .contact {
        top: 205rem;
    }
}

@media(max-width:640px){
    .teach {        
        top: 245rem;        
    }
    .middle{
        transform: translateY(120rem);
    }
    .courses .container{
        top: 165rem;
    }

}

@media(max-width:580px){
    .teach {        
        top: 235rem;        
    }
    .middle{
        transform: translateY(105rem);
    }
    .courses .container{
        top: 155rem;
    }
    .facts {
        top: 170rem;
    }
    .contact {
        top: 190rem;
    }

}
@media(max-width:525px){
    nav ul{        
        gap: 1.2rem;
    }
    nav ul li a{        
        font-size: 1.2rem;
    }
    .teach {        
        top: 225rem;        
    }
    .middle{
        transform: translateY(95rem);
    }
    .courses .container{
        top: 145rem;
    }

}
