/*==================================================
        RESPONSIVE CSS
==================================================*/

/*=========================================
          LARGE LAPTOP (1400px)
=========================================*/

@media (max-width:1400px){

.container{
    width:92%;
}

.hero-content h1{
    font-size:68px;
}

.hero-content h2{
    font-size:42px;
}

.section-title h2{
    font-size:46px;
}

}


/*=========================================
            DESKTOP (1200px)
=========================================*/

@media (max-width:1200px){

.hero-grid{
    gap:50px;
}

.stats .container{
    grid-template-columns:repeat(3,1fr);
}

.category-grid{
    grid-template-columns:repeat(3,1fr);
}

.steps{
    grid-template-columns:repeat(3,1fr);
}

.steps::before{
    display:none;
}

.footer-grid{
    grid-template-columns:repeat(2,1fr);
}

.newsletter-box{
    flex-direction:column;
    text-align:center;
}

.newsletter form{
    justify-content:center;
}

}


/*=========================================
             TABLET (992px)
=========================================*/

@media (max-width:992px){

.header{

    background:#fff;

}

.menu-btn{

    display:block;

}

.nav-links{

    position:absolute;

    top:100%;

    left:0;

    width:100%;

    background:#fff;

    flex-direction:column;

    align-items:center;

    gap:25px;

    padding:35px;

    display:none;

    box-shadow:0 15px 30px rgba(0,0,0,.08);

}

.nav-links.active{

    display:flex;

}

.header .btn{

    display:none;

}

.hero{

    padding-top:120px;

}

.hero-grid{

    grid-template-columns:1fr;

    text-align:center;

}

.hero-buttons{

    justify-content:center;

}

.trusted{

    justify-content:center;

}

.hero-image{

    order:-1;

}

.stats .container{

    grid-template-columns:repeat(2,1fr);

}

.category-grid{

    grid-template-columns:repeat(2,1fr);

}

.video-grid{

    grid-template-columns:1fr;

}

.card-slider{

    grid-template-columns:repeat(2,1fr);

}

.steps{

    grid-template-columns:repeat(2,1fr);

}

.why-grid{

    grid-template-columns:repeat(2,1fr);

}

.testimonial-slider{

    grid-template-columns:1fr;

}

.newsletter input{

    width:100%;

}

.footer-grid{

    grid-template-columns:1fr 1fr;

}

}


/*=========================================
            MOBILE (768px)
=========================================*/

@media (max-width:768px){

section{

    padding:70px 0;

}

.hero-content h1{

    font-size:54px;

}

.hero-content h2{

    font-size:34px;

}

.hero-content p{

    font-size:16px;

}

.section-title h2{

    font-size:38px;

}

.hero-buttons{

    flex-direction:column;

    gap:15px;

}

.btn-outline{

    margin-left:0;

}

.stats .container{

    grid-template-columns:1fr 1fr;

    gap:20px;

}

.category-grid{

    grid-template-columns:1fr 1fr;

}

.card-slider{

    grid-template-columns:1fr;

}

.steps{

    grid-template-columns:1fr;

}

.step::after{

    display:none;

}

.why-grid{

    grid-template-columns:1fr;

}

.newsletter-box{

    padding:40px 25px;

}

.newsletter-box h2{

    font-size:36px;

}

.newsletter form{

    flex-direction:column;

}

.newsletter button{

    width:100%;

}

.footer-grid{

    grid-template-columns:1fr;

    text-align:center;

}

.social{

    justify-content:center;

}

}


/*=========================================
          SMALL MOBILE (576px)
=========================================*/

@media (max-width:576px){

.container{

    width:92%;

}

.logo h2{

    font-size:30px;

}

.hero{

    min-height:auto;

}

.hero-content h1{

    font-size:42px;

}

.hero-content h2{

    font-size:28px;

}

.hero-content h4{

    font-size:20px;

}

.section-title h2{

    font-size:32px;

}

.stats .container{

    grid-template-columns:1fr;

}

.category-grid{

    grid-template-columns:1fr;

}

.stat{

    padding:30px 20px;

}

.cat{

    padding:35px 20px;

}

.video-content h2{

    font-size:42px;

}

.video-content h3{

    font-size:28px;

}

.play{

    width:70px;

    height:70px;

}

.play i{

    font-size:24px;

}

.newsletter-box{

    padding:30px 20px;

}

.newsletter input{

    height:55px;

}

.footer-grid{

    gap:35px;

}

.copyright{

    font-size:14px;

}

.back-top{

    right:20px;

    bottom:20px;

}

}


/*=========================================
           EXTRA SMALL (420px)
=========================================*/

@media (max-width:420px){

.hero-content h1{

    font-size:36px;

}

.hero-content h2{

    font-size:24px;

}

.section-title h2{

    font-size:28px;

}

.logo h2{

    font-size:26px;

}

.btn{

    width:100%;
    text-align:center;

}

.btn-outline{

    width:100%;
    text-align:center;

}

.hero-buttons{

    width:100%;

}

.avatars img{

    width:45px;

    height:45px;

}

.video-content h2{

    font-size:34px;

}

.video-content h3{

    font-size:22px;

}

.newsletter-box h2{

    font-size:30px;

}

.newsletter input{

    font-size:14px;

}

.testimonial{

    padding:30px 20px;

}

.user img{

    width:55px;

    height:55px;

}

.user h4{

    font-size:20px;

}

}


/*=========================================
      LANDSCAPE MOBILE
=========================================*/

@media (max-height:500px) and (orientation:landscape){

.hero{

    min-height:auto;

    padding:120px 0 70px;

}

}