@media screen and (max-width:1200px){
    .padding-style{
        padding: 0 5rem;
    }
    .white-title-btn{
        padding: 3rem 5rem;
    }
    .footer-section{
        padding: 3rem 5rem;
    }
    .footer-menu{
        gap: 8rem;
    }
}
@media screen and (max-width:1024px){
    .padding-style{
        padding: 0 3rem;
    }
    .white-title-btn{
        padding: 2rem 3rem;
    }
    .footer-section{
        padding: 2rem 3rem;
    }
    .intro-section{
        margin: 5rem 0;
    }
    .second-section{
        margin-bottom: 5rem;
        gap: 2rem;
    }
    .btn{
        box-shadow: none;
        padding: 12px 25px;
        font-weight:var(--fwMedium);
    }
    a{
        font-size: 14px;
    }
    .footer-menu{
        gap: 3rem;
    }
    .header-menu{
        gap: 1rem;
    }
    .title{
        font-size: 46px;
        margin-bottom: 1.5rem;
        line-height: 3rem;
        width: 100%;
    }
    .intro-text{
        width: 100%;
        margin-bottom: 1.5rem;
    } 
}
@media screen and (max-width:850px) {
    body{
        background-image: url(./images/bg-tablet-pattern.svg);
        background-repeat: no-repeat;
        background-position:30rem 25rem ;
        background-size:400px cover;
    }
    .main-container{
        width: 100%;
        background-position:7rem -17rem;
    }
    .text{
        font-size: 16px;
    }
    .header-section{
        position: relative;
    }
    .hamburger{
        display: block;
        width: 30px;
    }
    .header-btn{
        display: none;
    }
    .navigation-menu{
        width:100%;
        position: absolute;
        top: 5.5rem;
        left: 0;
        padding: 0 3rem;
        display: none;
    }
    .header-menu{
        flex-direction: column;
        align-items: center;
        background-color:white;
        padding: 3rem 0;
        box-shadow: 0px 0px 20px rgba(0, 0, 0, .3);
        border-radius: 5px;
    }
    .header-menu li a{
        font-size: 18px;
        display: inline-block;
        padding-bottom: 1rem;
    }
    .intro-section{
        flex-direction: column;
        gap: 2rem;
        margin-top:3rem;
        text-align: center;
    }
    .right-content{
        order: 1;
    }
    .left-content{
        order: 2;
    }
    .second-section{
        flex-direction: column;
    }
    .second-left{
        text-align: center;
    }
    .second-title,.white-title{
        width: 100%;
    }
    .tablet-bg{
        display: none;
    }
    .list-text{
        margin-left: 0;
        padding:1.5rem 0 2rem 0;
    }
    .btn-and-title{
        background-color:hsl(11, 40%, 92%);
        border-radius:1.4rem ;
        gap: 0;
    }
    .service-title{
        padding-left: 1.5rem;
    }
    .testimonials-slider{
        position: relative;
    } 
    .slides{
        gap: 2rem;
        animation:none;
    }
    .testimonials-card{
        display: none;
    }
    .testimonials-card.active-card{
        display: flex;
        flex: 1 0 100%;
     }
    .duplicate {
        display: none;    
    }
    .dot{
        display: block;
    }
    .testimonials-btn{
        position: relative;
    }
    .white-title-btn{
        flex-direction: column;
        gap: 2rem;
        padding: 4rem 3rem;
        text-align: center;
        width: 100%;
        margin-top: 4.5rem;
        background-position:-12rem 1rem;
        background-size: cover;
    }
    .footer-section{
        flex-direction: column;
        position: relative;
    }
    .footer-form{
        order: 1;
        position:static;
    }
    .footer-menu{
        order: 2;
    }
    .footer-social{
        order: 3;
    }
    .main-form{
        justify-content: space-between;
        gap: 1.5rem;
    }
    .email-input{
        flex-basis: 80%;
    }
    .footer-btn{
        flex-basis: 20%;
    }
    #email{
        width: 100%;
    }
    .submit-btn{
        width: 100%;
    }
    .footer-social{
        justify-content: unset;
        align-items: center;
        gap: 1rem;
    }
    .footer-menu{
        justify-content: space-around;
        gap:4rem;
        margin: 3rem 0;
    }
    .footer-menu-list li a{
        font-size: 16px;
    }
    .social-icon-container{
        order: 1;
    }
    .footer-logo{
        order: 2;
        margin-bottom:2rem ;
        height: 40px;
    }
    .social-icon{
        height: 40px;
        width:80px;
    } 
    .copyright-text{
        left: 50%;
        transform: translatex(-50%);
        padding-bottom: 2rem;
        text-align: center;
        font-size: 12px;
    }
}
@media screen and (max-width:450px){
    body{
        background-position:15rem 15em ;
    }
    .main-container{
        padding-top: 2rem;
        background-position: top -24rem right -30rem;
    }
    .header-section{
        align-items: flex-start;
    }
    .navigation-menu{
        padding:0 2rem;
    }
    .hamburger{
        height: 15px;
        width: 25px;
    }
    .intro-img{
        margin-right: 0;
    }

    .padding-style{
        padding: 0 2rem;
    }
    .title{
        font-size: 30px;
        line-height: 40px;
    }
    .text{
        font-size: 13px;
        line-height: 21px;
    }
    .second-title{
        font-size: 25px;
    }
    .service-list{
        padding:10px 16px;
    }
    .service-title{
        font-size: 15px;
        padding-left:12px;
    }
    .white-title-btn{
        padding: 3rem 2rem;
    }
    .white-title{
        font-size: 25px;
    }
    .footer-section{
        padding: 3rem 2rem;
    }
    .footer-menu-list li a{
        font-size: 14px;
    }
    .footer-social{
        justify-content: space-between;
    }
    .social-icon-container{
        gap: 3rem;
    } 
    .social-icon{
        height: 100%;
        width: 100%;
    }
    .copyright-text{
        font-size:10px;
    }
}
@media screen and (max-width:375px) {
    body{
        background-size:300px ;
        background-position: top 30rem right -10rem;

    }
    .main-container{
        padding-top: 1.5rem;
        background-size:400px;
        background-position:top -5rem right -7rem;
    }
    .padding-style{
        padding:0 1.5rem;
    }
    .navigation-menu{
        padding:0 1.5rem;
    }
    .service-title{
        font-size: 12px;
    }
    .main-testimonials{
        padding: 1.5rem;
    }
    .footer-menu{
        justify-content: space-between;
    }
    .footer-section{
        padding: 2rem 1.5rem;
    }

    .footer-logo{
        height: 25px;
        margin-bottom: 3rem;
    }
    .social-icon-container{
        gap: 2rem;
    } 
    .copyright-text{
        font-size: 8px;
    } 
}
