/*=========================================
            LARGE LAPTOP
=========================================*/

@media(max-width:1200px){

.container{
    width:95%;
}

.hero h1{
    font-size:55px;
}

.title h2{
    font-size:38px;
}

.about-content h2{
    font-size:36px;
}

}

/*=========================================
            LAPTOP
=========================================*/

@media(max-width:992px){

.grid{
    grid-template-columns:1fr;
}

.about-image{
    order:1;
}

.about-content{
    order:2;
}

.service-grid{
    grid-template-columns:repeat(2,1fr);
}

.why-grid{
    grid-template-columns:1fr;
}

.counter .container{
    grid-template-columns:repeat(2,1fr);
}

.footer-grid{
    grid-template-columns:1fr 1fr;
    
}

.hero{

    height:85vh;

}

.hero h1{

    font-size:48px;

}

.hero p{

    font-size:17px;

}

}

/*=========================================
            TABLET
=========================================*/

@media(max-width:768px){

.header{

    background:#fff;
    box-shadow:0 10px 20px rgba(0,0,0,.08);
    position:sticky;

}

.logo img{

    width:150px;

}

.menu-btn{

    display:block;
    color:#222;

}

.navbar{

    position:absolute;
    top:100%;
    left:0;
    width:100%;
    background:#fff;

    max-height:0;

    overflow:hidden;

    transition:.4s;

}

.navbar.active{

    max-height:500px;

}

.navbar ul{

    flex-direction:column;
    gap:0;

}

.navbar ul li{

    border-bottom:1px solid #eee;

}

.navbar a{

    color:#222 !important;

    display:block;

    padding:18px 20px;

}

.hero{

    text-align:center;

    justify-content:center;

}

.hero-content{

    max-width:100%;
    align-items: center;

}

.hero h1{

    font-size:42px;

}

.hero-btn{

    justify-content:center;

    flex-wrap:wrap;

}

.service-grid{

    grid-template-columns:1fr;

}

.counter .container{

    grid-template-columns:1fr;

}

.footer-grid{

    grid-template-columns:1fr;
    text-align: center;

}

.about{

    padding:80px 0;
    text-align: center;

}

.counter{
    background: none;
}

.counter-grid {
     flex-direction: column;
     align-content: space-evenly;
}

.services{

    padding:80px 0;

}

.why{

    padding:80px 0;

}

.cta{

    padding:80px 0;

}

}

/*=========================================
            MOBILE
=========================================*/

@media(max-width:576px){

.hero{

    height:100vh;

    padding-top:100px;

}

.tagline{

    font-size:13px;

}

.hero h1{

    font-size:34px;

    line-height:1.3;

}

.hero p{

    font-size:15px;

}

.btn{

    padding:14px 28px;

    font-size:15px;

}

.title h2{

    font-size:30px;

}

.about-content h2{

    font-size:30px;

}

.counter-box h2{

    font-size:45px;

}

.cta h2{

    font-size:30px;

}

.footer-grid h3{

    font-size:20px;

}

}

/*=========================================
        EXTRA SMALL DEVICES
=========================================*/

@media(max-width:400px){

.hero h1{

    font-size:28px;

}

.hero-btn{

    flex-direction:column;

}

.hero-btn .btn{

    width:100%;

    text-align:center;

}

.service-card{

    padding:35px 20px;

}

.counter-box{

    padding:15px;

}

}

/*=========================================
        TABLET
=========================================*/

@media(max-width:992px){

.services-list .service-grid{

grid-template-columns:repeat(2,1fr);

}

.service-detail .grid{

grid-template-columns:1fr;

}

.pm-grid{

grid-template-columns:repeat(2,1fr);

}

.service-detail{

padding:80px 0;

}

}

/*=========================================
        MOBILE
=========================================*/

@media(max-width:768px){

.service-banner{

height:300px;

}

.service-banner h1{

font-size:42px;

}

.service-banner p{

font-size:16px;

}

.services-list .service-grid{

grid-template-columns:1fr;

}

.service-detail h2{

font-size:34px;

}

.intro-text{

font-size:16px;

}

.pm-grid{

grid-template-columns:1fr;

}

.cta h2{

font-size:32px;

}

}

/*=========================================
        SMALL DEVICES
=========================================*/

@media(max-width:480px){

.service-banner h1{

font-size:32px;

}

.service-box{

padding:35px 20px;

}

.service-box h3{

font-size:20px;

}

.service-detail{

padding:60px 0;

}

.cta{

padding:70px 20px;

}

.cta h2{

font-size:28px;

}

}

/*=========================================
        CONTACT RESPONSIVE
=========================================*/

@media(max-width:992px){

.contact-grid{

grid-template-columns:1fr;

}

.info-grid{

grid-template-columns:1fr 1fr;

}

.hours-grid{

grid-template-columns:1fr;

}

}

@media(max-width:768px){

.contact-banner{

height:300px;

}

.contact-banner h1{

font-size:42px;

}

.info-grid{

grid-template-columns:1fr;

}

.contact-section{

padding:80px 0;

}

.contact-form{

padding:30px;

}

.contact-content h2{

font-size:32px;

}

.map-wrapper iframe{

height:350px;

}

.social-icons{

flex-wrap:wrap;

}

}

@media(max-width:480px){

.contact-banner h1{

font-size:32px;

}

.hours-card{

padding:30px;

}

.hours-card li{

flex-direction:column;
gap:5px;

}

.whatsapp-btn{

width:55px;
height:55px;

}

#topBtn{

width:50px;
height:50px;

}

}