@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600&display=swap');


:root{
    --green:#00E77F;
    --white:#fff;
    --light-white:#aaa;
    --black:#3d3d3d;
    --light-bg:#4b4b4b;
}

*{
   font-family: 'Rubik', sans-serif;
   text-decoration: none;
   outline: none;
   box-sizing: border-box;
   padding: 0;
   margin: 0;
   border: none;
   transition: .2s linear;
   text-transform: capitalize;
}
*::selection{
   background: var(--white);
   color: var(--black);

}

html{
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: 8rem;
}
html::-webkit-scrollbar{
    width: 1rem;
    height: .5rem;
}
html::-webkit-scrollbar-track{
    background: transparent;
}
html::-webkit-scrollbar-thumb{
    background: var(--green);
    border-radius: .5rem;
}

body{
    background-color: var(--black);
}

section{
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.btn{
    display: inline-block;
    color: var(--white);
    background: var(--light-bg);
    padding: 1rem 3rem;
    border-radius: 5rem;
    font-size: 1.8rem;
    margin-top: 1rem;
    cursor: pointer;
}
.btn:hover{
    background: var(--white);
    color: var(--black);
}
section .heading{
    font-size: 5rem;
    color: var(--white);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 3rem;
}
section .heading span{
  color: var(--green);
  text-transform: uppercase;
}

/* header section */

header{
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    background: var(--light-bg);
}
.flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1000;
}

header .flex .logo{
    font-size: 2.5rem;
    color: var(--white);
}
header .flex .navbar{
    font-size: 1.7rem;
}
header .flex .navbar a{
    margin-left: 1rem;
    color: var(--light-white);
    padding: .5rem 1.5rem;
    border-radius: .5rem;
}
/* header .flex .navbar a{
    margin-left: 2rem;
    color: var(--light-white);
    padding: 2rem .5rem;
    line-height: 3rem;
} */
header .flex .navbar a:hover{
    color: var(--white);
    background: var(--green);
}


header .flex i{
    display: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
}


/* home section */
.home{
    margin-top: 6rem;
}

.home .row{
    display: flex;
    flex-wrap: wrap-reverse;
    gap: 1.5rem;
    align-items: center;
}

.home .row .content{
    flex: 1 1 40rem;
    text-align: center;
}
.home .row .content h3{
    line-height: 1;
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 10rem;
}
.home .row .content h3 span{
    color: var(--green);
    display: block;
}
.home .row .image{
    flex: 1 1 40rem;
}
.home .row .image img{
    width: 100%;
}



/* counter section */

.count .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(27rem, 1fr));
    gap: 1.5rem;
    align-items: flex-start;
}
.count .box-container .box{
    background: var(--light-bg);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    border-radius: .5rem;
}
.count .box-container .box i{
    font-size: 5rem;
    color: var(--green);
}
.count .box-container .box .content{
   display: flex;
   align-items: flex-start;
   justify-content: flex-end;
   flex-direction: column;
   gap: .2rem;
}
.count .box-container .box .content h3{
   font-size: 2rem;
   color: var(--white);
}
.count .box-container .box .content p{
   font-size: 1.6rem;
   color: var(--light-white);
}

/* about section */

.about .row{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.about .row .image{
    flex: 1 1 40rem;
}
.about .row .image img{
    width: 100%;
}
.about .row .content{
    flex: 1 1 40rem;
    text-align: center;
}
.about .row .content h3{
    font-size: 3rem;
    color: var(--white);
}
.about .row .content p{
    font-size: 1.6rem;
    color: var(--light-white);
    line-height: 2;
    padding: 1rem;
}

/* courses section */
.course .slide{
    width: 30rem;
    background: var(--light-bg);
    padding: 2rem;
    text-align: center;
    margin-bottom: 4rem;
    border-radius: .5rem;
}

.course .slide img{
    width: 100%;
    height: 25rem;
}

.course .slide h3{
    color: var(--white);
    margin:1.5rem 0;
    font-size: 2rem;
    text-align: center;
}
.course .slide p{
    text-align: center;
    color: var(--light-white);
    font-size: 1.6rem;
    line-height: 2;
}

.swiper-pagination-bullet{
    background-color: var(--white);
   
}
.swiper-pagination-bullet-active{
    background-color: var(--green);
}

/* teachers section */
.teachers .slide{
    position: relative;
    overflow: hidden;
    margin-bottom: 4rem;
}

.teachers .slide img{
    height: 55rem;
    width: 100%;
    object-fit: cover;
    border-radius: .5rem;
}
.teachers .slide h3{
    margin-top: 1.5rem;
    font-size:2rem ;
    color: var(--white);
    text-align: center;
}
.teachers .slide .share{
    position: absolute;
    top: 1rem;
    left:-10rem;
}
.teachers .slide:hover .share{
    left:2rem;
}
.teachers .slide .share a{
    display: block;
    margin-top: 1rem;
    height: 4.5rem;
    width: 4.5rem;
    line-height: 4.5rem;
    border-radius: .5rem;
    background: var(--white);
    color: var(--black);
    font-size: 2rem;
    text-align: center;
    
}
.teachers .slide .share a:hover{
    color: var(--white);
    background: var(--green);
}

/* review section */
.review .slide{
    background: var(--light-bg);
    padding: 2rem;
    border-radius: .5rem;
    margin-bottom: 4rem;
}
.review .slide p{
    color: var(--light-white);
    line-height: 2;
    margin-bottom: 1rem;
    font-size: 1.7rem;
}
.review .slide .hero{
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: flex-start;
    margin-top: 1.5rem;
}
.review .slide .hero img{
    width: 7rem;
    height: 7rem;
    object-fit: cover;
    border-radius: 50%;
}
.review .slide .hero h3{
   font-size: 2rem;
   color: var(--white);
   margin-bottom: .8rem;
   
}
.review .slide .hero .stars{
   font-size: 2rem;
   color: var(--green);

}

.contact .row{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.contact .row .image{
    flex: 1 1 40rem;
}
.contact .row .image img{
    width: 100%;
}
.contact .row form{
    flex: 1 1 40rem;
}
.contact .row form .box{
    width: 100%;
    background: var(--light-bg);
    margin-top: 1rem;
    margin-bottom: 2rem;
    border-radius: .5rem;
    color: var(--white);
    font-size: 1.8rem;
    padding: 1.4rem;
    text-transform: none;
}
.contact .row form span{
    font-size: 1.6rem;
    color: var(--light-white);
}
.contact .row form .radio{
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.contact .row form .radio label{
    font-size: 1.6rem;
    color: var(--light-white);
    margin-left: .5rem;
    cursor: pointer;
}


.contact .row form .radio #female{
    margin-left: 2rem;
}

.contact .row form .radio input{
    appearance: none;
    height: 2rem;
    width: 2rem;
    background-color: var(--white);
}
.contact .row form .radio input:checked{
    border-radius: 5rem;
    background: var(--green);
   
}

.contact .row form .radio #female:checked ~ label[for = "female"] {
    color: var(--green);
}
.contact .row form .radio #male:checked ~ label[for = "male"] {
    color: var(--green);
}

/* footers section */
.footer{
    background: var(--light-bg);
    padding: 2rem 0;
}
.footer .share{
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 2rem;

}
.footer .share a{
    height: 4.5rem;
    width: 4.5rem;
    line-height: 4.5rem;
    text-align: center;
    color: var(--light-white);
    background: var(--black);
    font-size: 2rem;
    border-radius: 50%;
}
.footer .share a:hover{
    color: var(--white);
    background: var(--green);
}
.footer .credit{
    font-size: 2rem;
    color: var(--light-white);
    text-align: center;
    padding: 1.5rem;
    border-top: .1rem solid var(--light-white);
    padding-top: 2.5rem;
    margin-top: 2.5rem;
    
}
.footer .credit span{
    font-size: 2rem;
    color: var(--green);
}








@media (max-width:991px) {
    html{
        font-size: 55%;
    }
    .home .row .content h3 {
        font-size: 8rem;
    }
}

@media (max-width:768px) {
    html{
        font-size: 55%;
    }
    .home .row .content h3 {
        font-size: 6rem;
    }
    .header .flex i{
        display: inline-block;
    }
    #menu-btn.fa-times{
        transform: rotate(180deg);
    }

    .header .flex .navbar{
        position: absolute;
        right: 0; left: 0;
       top: 99%;
       border-top: .1rem solid var(--light-white);
       border-bottom: .1rem solid var(--light-white);
       background: var(--light-bg);
       padding: 2rem;
       clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }
    .header .flex .navbar.active{
       clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .header .flex .navbar a{
        display: block;
        margin: 2rem;
        text-align: left;
    }
}

@media (max-width:450px) {
    html{
        font-size: 50%;
    }


    .home .row .content h3{
      font-size: 6rem;
    }

    .footer .credit{
        font-size: 1.7rem;
    }
    .footer .credit span{
        font-size: 1.8rem;
    }
}