:root{
    --gradient:linear-gradient(90deg, #f1c40f, #f39c12);
}

*{
    font-family: 'Open Sans', sans-serif;
    margin:0; padding:0;
    box-sizing: border-box;
    border:none; outline: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: all .2s linear;
}

*::selection{
    background:#f39c12;
    color:#fff;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
}

html::-webkit-scrollbar{
    width:1.5rem;
}

html::-webkit-scrollbar-track{
    background:#333;
}

html::-webkit-scrollbar-thumb{
    background:linear-gradient(#f1c40f, #f39c12);
}

section{
    padding:1rem 7%;
    padding-top:6rem;
}
#paglu:active {
    color: #111;

}

.btn{
    padding:.7rem 3rem;
    font-size: 2rem;
    color:#fff;
    background:var(--gradient);
    border-radius: 5rem;
    margin-top: 1rem;
    cursor: pointer;
    box-shadow: 0 .1rem .3rem rgba(0,0,0,.3);
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.btn::before{
    content: '';
    position: absolute;
    top:-1rem; left:-100%;
    background:#fff9;
    height:150%;
    width:20%;
    transform: rotate(25deg);
    z-index: -1;
}

.btn:hover::before{
    transition: .3s linear;
    left: 120%;
}

.heading{
    color:#444;
    padding:1rem;
    font-size: 4rem;
    text-align: center;
}
#topoffer {
    text-align: center;
    background:var(--gradient);  
    width: 100%;
    position: fixed;
    top:0px; left: 0;
    z-index: 1000;
    padding:1.5rem 7%;
    font-size:22px;
    font-family: cursive;

}
#topoffer1 {
    text-align: center;
    background-color:white; 
    display: flex;
    width: 100%;
    position: fixed;
    top:50px; left: 0;
    z-index: 1000;
    padding:1.5rem 7%;
    font-size:22px;
    font-family: cursive;

}
.fa{
    z-index: auto;
    padding: 5px;
    padding-right: 20px;
    font-size: 20px;
    width: 10px;
    text-align: center;
    text-decoration: none;
    margin-left: 12px;
   
}

  
.fa:hover{
    opacity: 0.7;
}

.fa-facebook{
    background: #3B5998;
    color: white;
}  
.fa-youtube {
    background: #bb0000;
    color: white;
}
.fa-linkedin {
    background: #007bb5;
    color: white;
}
.fa-instagram {
    background: #bb0000;
    color: white;
}




header{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top:0px; left: 0;
    z-index: 1000;
    padding:1.5rem 7%;
    background:var(--gradient);
    box-shadow: 0 .1rem .3rem rgba(0,0,0,.3);
}

header .logo{
    color:#fff;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

header .navbar ul{
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
}

header .navbar ul li{
    margin:0 1rem;
}

header .navbar ul li a{
    font-size: 2rem;
    color:#fff;
}

header .navbar ul li a.active,
header .navbar ul li a:hover{
    color:#444;
}

header #login{
    font-size: 3rem;
    color:#fff;
    cursor: pointer;
}

header #login:hover{
    color:#444;
}

header #menu{
    font-size: 3rem;
    color:#fff;
    cursor: pointer;
    display: none;
}

.login-form{
    height:100%;
    width:100%;
    position: fixed;
    top:-120%; left: 0;
    z-index: 1000;
    background:rgba(0,0,0,.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-form.popup{
    top:0;
}

.login-form form{
    width:35rem;
    background:#fff;
    margin:0 2rem;
    padding:1rem 3rem;
    border-radius: .5rem;
    box-shadow: 0 .1rem .3rem #333;
    position: relative;
}

.login-form form h3{
    font-size: 3rem;
    color:#f39c12;
    padding:1rem 0;
}

.login-form form .box{
    width:100%;
    padding:1rem 0;
    margin:1rem 0;
    border-bottom: .2rem solid #666;
    font-size: 1.6rem;
    color:#333;
    text-transform: none;
}

.login-form form .box::placeholder{
    text-transform: capitalize;
}

.login-form form .box:focus{
    border-color: #f39c12;
}

.login-form form .box:nth-child(3){
    margin-bottom: 5rem;
}

.login-form form p{
    font-size: 1.4rem;
    color:#666;
    padding:.5rem 0;
}

.login-form form p a{
    color:#f39c12;
}

.login-form form .btn{
    width: 100%;
    margin:2rem 0;
}

.login-form form .btn:hover{
    background:#444;
}

.login-form form .fa-times{
    position: absolute;
    top:1.5rem; right:2rem;
    font-size: 2.5rem;
    cursor: pointer;
    color:#999;
}

.login-form form .fa-times:hover{
    color:#444;
}

.home{
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    background:url(../images/juniormatrix.gif) no-repeat ;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    text-align: center;
    
}

.home h1{
    font-size: 6rem;
    color:rgb(32, 32, 32);
}
.home p{
    font-size: 1.9rem;
    color:rgb(12, 8, 8);
    padding:1rem 0;
    width:70rem;
}

.home .shape{
    position: absolute;
    bottom:-.2rem; left: 0;
    height:15rem;
    width:100%;
    background:url(../images/shape.png);
    block-size: 100rem 15rem;
    filter: drop-shadow(0 -.1rem .1rem rgba(0,0,0,.2));
    animation: animate 15s linear infinite;
}






@keyframes animate{

    0%{
        background-position-x: 0rem;
    }

    100%{
        background-position-x: 100rem;
    }

}
.aboutt{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    
    padding:1rem 7%;
    padding-top:1rem;
}

.aboutt .image{
    flex:1 1 40rem;
}

.aboutt .image img{
    
    width:100%;
}
.aboutt .image video{
    
    height: 35rem;
    width: 65rem;
    border: 3px solid #f39c12 ;
}

.aboutt .content{
    flex:1 1 40rem;
}

.aboutt .content h3{
    font-size: 5rem;
    color:rgb(253, 116, 4);
    padding-left: 3.5rem;
}



.faq {
    background: linear-gradient(#f1c40f, #f39c12);
  }
  
  .faq .accordion-container {
    margin: 1rem auto;
    max-width: 70rem;
  }
  
  .faq .accordion-container .accordion {
    margin: 1rem 0;
    background-color: #fff;
    border-radius: .5rem;
  }
  
  .faq .accordion-container .accordion.active .accordion-heading i {
    -webkit-transform: rotate(180deg);
            transform: rotate(180deg);
  }
  
  .faq .accordion-container .accordion.active .accordion-content {
    display: block;
  }
  
  .faq .accordion-container .accordion .accordion-heading {
    padding: 2rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
  }
  
  .faq .accordion-container .accordion .accordion-heading h3 {
    font-size: 2.2rem;
    line-height: 1.5;
  }
  
  .faq .accordion-container .accordion .accordion-heading i {
    font-size: 2rem;
    -webkit-transition: .2s linear;
    transition: .2s linear;
  }
  
  .faq .accordion-container .accordion .accordion-content {
    padding: 2rem;
    padding-top: 0;
    line-height: 2;
    font-size: 1.7rem;
    display: none;
    -webkit-animation: fadeUp .2s linear backwards;
            animation: fadeUp .2s linear backwards;
  }














.about{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    
    padding:1rem 7%;
    padding-top:1rem;
}

.about .image{
    flex:1 1 40rem;
}

.about .image img{
    
    width:100%;
}
.about .image video{
    
    height: 30rem;
    width: 55rem;
    border: 3px solid #f39c12 ;
}

.about .content{
    flex:1 1 40rem;
}

.about .content h3{
    font-size: 3.5rem;
    color:#666;
    padding-left: 1rem;
}

.about .content p{
    font-size: 1.5rem;
    color:#666;
    padding:1rem 0;
    padding-left: 1rem;
}

.course .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.course .box-container .box{
    width:35rem;
    border:.1rem solid rgba(0,0,0,.3);
    position: relative;
    margin:1.5rem;  
}

.course .box-container .box img{
    height:20rem;
    width: 100%;
    object-fit: cover;
}

.course .box-container .box .content{
    padding:1rem;
}

.course .box-container .box .content .stars i{
    color:#f39c12;
    font-size: 1.7rem;
    padding:1rem .1rem;
}

.course .box-container .box .content .title{
    color:#444;
    font-size: 2.1rem;
}

.course .box-container .box .content .title:hover{
    text-decoration: underline;
}

.course .box-container .box .content p{
    padding:1rem 0;
    color:#666;
    font-size: 1.5rem;
}

.course .box-container .box .content .info{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: .5rem;
    border-top: .1rem solid rgba(0,0,0,.3);
}

.course .box-container .box .content .info h3{
    font-size: 1.5rem;
    padding:1rem;
    color:#666;
}

.course .box-container .box .content .info h3 i{
    color:#f39c12;
}

.course .box-container .box .price{
    position: absolute;
    top:16rem; right:1rem;
    height:8rem;
    width:8rem;
    line-height: 8rem;
    text-align: center;
    border-radius: 50%;
    background:var(--gradient);
    color:#fff;
    font-size: 2rem;
}

.teacher .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.teacher .box-container .box{
    width:35rem;
    border:.1rem solid rgba(0,0,0,.3);
    position: relative;
    margin:1.5rem;  
}

.teacher .box-container .box img{
    height:20rem;
    width: 100%;
    object-fit: cover;
}

.teacher .box-container .box .content{
    padding:1rem;
}

.teacher .box-container .box .content .stars i{
    color:#f39c12;
    font-size: 1.7rem;
    padding:1rem .1rem;
}

.teacher .box-container .box .content .title{
    color:#444;
    font-size: 2.1rem;
}

.teacher .box-container .box .content .title:hover{
    text-decoration: underline;
}

.teacher .box-container .box .content p{
    padding:1rem 0;
    color:#666;
    font-size: 1.5rem;
}

.teacher .box-container .box .content .info{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: .5rem;
    border-top: .1rem solid rgba(0,0,0,.3);
}

.teacher .box-container .box .content .info h3{
    font-size: 1.5rem;
    padding:1rem;
    color:#666;
}

.teacher .box-container .box .content .info h3 i{
    color:#f39c12;
}

.teacher .box-container .box .price{
    position: absolute;
    top:16rem; right:1rem;
    height:8rem;
    width:8rem;
    line-height: 8rem;
    text-align: center;
    border-radius: 50%;
    background:var(--gradient);
    color:#fff;
    font-size: 2rem;
}

.contact{
    background:#111;
}

.contact .heading{
    color:#fff;
}

.contact .row{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
}

.contact .row form{
    flex:1 1 50rem;
    background:#222;
    padding:2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 3rem;
    align-items: flex-start;
}

.contact .row form .box{
    height:5rem;
    width:49%;
    border:.1rem solid #eee;
    padding:0 1rem;
    margin:1rem 0;
    font-size: 1.7rem;
    color:#fff;
    background:none;
    text-transform: none;
}

.contact .row form .box:focus{
    border-color: #f39c12;
}

.contact .row form .box::placeholder{
    text-transform: capitalize;
}

.contact .row form .address{
    height:15rem;
    padding:1rem;
    resize: none;
    width:100%;
}

.contact .row form .btn:hover{
    background:#fff;
    color:#333;
}

.contact .row .image img{
    height: 80vh;
    margin-top: 2rem;
}

.footer{
    background:#333;
}

.footer .box-container{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer .box-container .box{
    margin:1.5rem;
    text-align: center;
    flex:1 1 25rem;
}

.footer .box-container .box h3{
    font-size: 2.5rem;
    color:#fff;
    padding:1rem 0;
}

.footer .box-container .box p{
    font-size: 1.7rem;
    color:#eee;
    padding:.7rem 0;
}

.footer .box-container .box p i{
    padding-right: .5rem;
    color:#f39c12;
}
.footer .box-container .box div a{
    padding: 15px;
    padding-right: 25px;
    
}
#icon5{
    padding-right: 30px;
    font-size: 20px;
}
#icon6{
    padding-right: 30px;
    font-size: 20px;
}
#icon7{
    padding-right: 30px;
    font-size: 20px;
}


.footer .box-container .box a{
    font-size: 1.8rem;
    display: block;
    padding:.5rem 0;
    color:#eee;
}

.footer .box-container .box a:hover{
    text-decoration: underline;
}

.footer .credit{
    padding:2rem 1rem;
    font-size: 2rem;
    color:#fff;
    background:#111;
    text-align: center;
    font-weight: normal;
    padding-bottom: 9rem;
}

.footer .credit a{
    color:#f39c12
}


/* blog  */
.cont{
    height: 80vh;
    width: 100vw;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cont h1{
    color: var(--dark);
    font-size: 50px;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.blogs__container{
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    height: 60%;
    padding: 1rem;
}

.post{
    background-color: white;
    height: 100%;
    width: 25%;
    display: flex;
    flex-direction: column;
    margin: 0 2rem;
    padding: 1rem;
    text-decoration: none;
    color: var(--dark)
}

.post:hover{
    transform: scale(1.05);
    box-shadow: 0 10px 5px rgba(0, 0, 0, 0.3);
}

.post img{
    height: 50%;
    width: 100%;
    object-fit: cover;
    border: 1px solid #ddd
}

.post small{
    margin: 10px 0;
    padding: 3px 10px;
    background-color: var(--dark);
    border-radius: 10px;
    color: white;
    width: fit-content;
}

.post .description{
   
    margin: 10px 0;
    height: 30%;
}

.post .more{
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: cornflowerblue;
}

.more p{
    font-size: 16px;
    text-transform: uppercase;
}

.more i{
    font-size: 25px;
}
@media (max-width:1280px){
    .home{
        min-height: 60vh;
    }
    .post{
        height: 80%;
    }
}
@media (max-width:570px){
    .post{
        height: 50%;
        width: 45%;
        padding: 0.5;
    }
    .cont h1{
        font-size: 25px;
        margin-bottom: 15px;
    }
    .cont{
        height: 70vh;
    }
    .post .description{
        display: none;
    }
    
}




/* blog end */
/* tution start */
.pricing {
    background: #f1c40f;
    text-align: center;
  }
  
  .pricing .price-toggler {
    display: inline-block;
    border-radius: .5rem;
    padding: .5rem;
    margin-bottom: 3rem;
    background: #fff;
    border: 0.2rem solid #000;
  }
  
  .pricing .price-toggler span {
    display: inline-block;
    font-weight: bolder;
    padding: 1rem 3rem;
    font-size: 1.7rem;
    cursor: pointer;
    color: #000;
    border-radius: .5rem;
  }
  
  .pricing .price-toggler span.active {
    background: #000;
    color: #fff;
  }
  
  .pricing .box-container {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (minmax(32rem, 1fr))[auto-fit];
        grid-template-columns: repeat(auto-fit, minmax(32rem, 1fr));
    gap: 1.5rem;
  }
  
  .pricing .box-container .box {
    padding: 3rem 2rem;
    border-radius: .5rem;
    background: #fff;
  }
  
  .pricing .box-container .box:nth-child(2) {
    border: 0.2rem solid #000;
  }
  
  .pricing .box-container .box:nth-child(2) h3 {
    background: #f6e4d5;
  }
  
  .pricing .box-container .box h3 {
    font-size: 2rem;
    display: inline-block;
    border-radius: .5rem;
    padding: .5rem 1.5rem;
    background: #cae8e3;
    margin-bottom: 1rem;
  }
  
  .pricing .box-container .box .price {
    padding: 2rem 0;
  }
  
  .pricing .box-container .box .price .month,
  .pricing .box-container .box .price .year {
    font-size: 5rem;
    -webkit-animation: fadeUp .2s linear backwards;
            animation: fadeUp .2s linear backwards;
  }
  
  .pricing .box-container .box .price .month span,
  .pricing .box-container .box .price .year span {
    font-size: 3rem;
  }
  
  .pricing .box-container .box .price .year {
    display: none;
  }
  
  .pricing .box-container .box .list {
    padding: 1rem 0;
  }
  
  .pricing .box-container .box .list p {
    padding: 1.5rem 0;
    font-size: 1.7rem;
  }
  
  .pricing .box-container .box .list p i {
    padding-right: .5rem;
  }
  
/* tution end */
/* testomonial start */
.reviews .slide-container .slide {
    text-align: center;
    max-width: 60rem;
    margin: 1rem auto;
    display: none;
  }
  
  .reviews .slide-container .slide.active {
    display: block;
  }
  
  .reviews .slide-container .slide img {
    height: 10rem;
    width: 10rem;
    border-radius: 50%;
    -o-object-fit: cover;
       object-fit: cover;
    -webkit-animation: fadeUp .2s linear backwards;
            animation: fadeUp .2s linear backwards;
  }
  
  .reviews .slide-container .slide P {
    padding: 1.5rem 0;
    font-size: 2rem;
    line-height: 2;
    -webkit-animation: fadeUp .2s linear .4s backwards;
            animation: fadeUp .2s linear .4s backwards;
  }
  
  .reviews .slide-container .slide h3 {
    padding-bottom: .7rem;
    font-size: 2rem;
    -webkit-animation: fadeUp .2s linear .6s backwards;
            animation: fadeUp .2s linear .6s backwards;
  }
  
  .reviews .slide-container .slide span {
    display: block;
    font-size: 1.7rem;
    -webkit-animation: fadeUp .2s linear .8s backwards;
            animation: fadeUp .2s linear .8s backwards;
  }
  
  .reviews .controls {
    text-align: center;
    margin-top: 2rem;
  }
  
  .reviews .controls div {
    font-size: 5rem;
    cursor: pointer;
    margin: 0 1rem;
  }
  
  .reviews .controls div:hover {
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
  }
/* testomonial end */
















/* media queries  */

@media (max-width:768px){

    html{
        font-size: 55%;
    }

    header #menu{
        display: block;
    }

    header .navbar{
        position: fixed;
        top:-120%; left:0;
        width:100%;
        background:#444;
    }

    header .navbar ul{
        flex-flow: column;
        padding:2rem 0;
    }

    header .navbar ul li{
        margin:1.5rem 0;
        text-align: center;
        width:100%;
    }

    header .navbar ul li a{
        font-size: 2.5rem;
        display: block;
    }

    header .navbar ul li a.active,
    header .navbar ul li a:hover{
        color:#f39c12;
    }

    .fa-times{
        transform: rotate(180deg);
    }

    header .navbar.nav-toggle{
        top:6.4rem;
    }
    #topoffer a{
        font-size: 15px;
    }
    

    .home h1{
        font-size: 4rem;
    }

    .home p{
        width: auto;
    }

    .teacher p{
        width:auto;
    }

    .contact .row .image{
        display: none;
    }
    
    .course .box-container .box .content p {
        display: none;
    }
    .course .box-container .box img{
        height:18rem;
        width: 100%;
        object-fit: cover;
    }
    .course .box-container .box .price{
        top: 14rem;
    }
    .aboutt .image video{
        height: 20rem;
        width: 35rem;
        border: 3px solid #f39c12 ;
    }


}

@media (max-width:500px){

    html{
        font-size: 50%;
    }

    .contact .row form .box{
        width:100%;
    }

    #topoffer a{
        font-size: 12px;
    }
    .aboutt .image video{
        height: 20rem;
        width: 35rem;
        border: 3px solid #f39c12 ;
    }
    .aboutt .content h3{
        font-size: 2rem;
        color:rgb(253, 116, 4);
        padding-left: 1rem;
    }

}
