/* =========================================
   RESPONSIVE SYSTEM
========================================= */

/* Global Fixes */

body{
    overflow-x:hidden;
}

button,
a{
    -webkit-tap-highlight-color: transparent;
}

.bg-video{
    will-change: transform;
}

.stat-box,
.service-card,
.feature-card{
    transform: translateZ(0);
}

.footer{
    overflow:hidden;
}

/* =========================================
   1100px
========================================= */

@media (max-width: 1100px){

    .nav-links{
        gap:20px;
    }

    .section-title h2{
        font-size:clamp(38px,5vw,48px);
    }

    /* Hero */

    .hero-content h1{
        font-size:clamp(42px,6vw,58px);
    }

    .hero-content p{
        font-size:clamp(18px,2vw,24px);
    }

    /* Services */

    .services-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .service-card h3{
        font-size:30px;
    }

    /* Why Us */

    .features-grid{
        grid-template-columns:repeat(2,1fr);
    }

    /* Footer */

    .footer-grid{
        grid-template-columns:1fr 1fr;
    }

}

/* =========================================
   992px
========================================= */

@media (max-width: 992px){

    .portfolio-grid,
    .map-info{
        grid-template-columns:1fr;
    }

    .cta-section h2{
        font-size:clamp(38px,6vw,52px);
    }

    .cta-section p{
        font-size:22px;
    }

}

/* =========================================
   900px
========================================= */

@media (max-width: 900px){

    /* Mobile Menu */
.menu-toggle{
    display:flex;
    align-items:center;
    justify-content:center;

    width:52px;
    height:52px;

    border-radius:14px;

    background:rgba(255,255,255,0.12);

    border:1px solid rgba(255,255,255,0.15);

    backdrop-filter:blur(10px);

    cursor:pointer;

    transition:
        background .3s ease,
        transform .3s ease;
}

.menu-toggle:hover{
    background:rgba(255,255,255,0.18);
    transform:scale(1.05);
}

.menu-toggle i{
    font-size:24px;
    color:#111;
}

/* =========================
   MOBILE NAVBAR
========================= */

.navbar{
    position:absolute;

    top:100%;
    right:0;

    width:300px;
    max-width:85%;

    background:
        rgba(255,255,255,0.98);

    backdrop-filter:blur(18px);

    padding:30px 25px;

    border-radius:
        0 0 0 24px;

    box-shadow:
        0 15px 40px rgba(0,0,0,0.12);

    border:
        1px solid rgba(0,0,0,0.06);

    opacity:0;
    visibility:hidden;

    transform:
        translateY(20px);

    transition:
        opacity .35s ease,
        transform .35s ease,
        visibility .35s ease;

    z-index:999;

    overflow:hidden;
}

/* Active State */

.navbar.active{
    opacity:1;
    visibility:visible;

    transform:
        translateY(0);
}

/* Nav Links */

.nav-links{
    display:flex;
    flex-direction:column;

    gap:18px;
}

.nav-links li{
    width:100%;
}

.nav-links a{
    display:flex;
    align-items:center;

    width:100%;

    padding:14px 18px;

    border-radius:14px;

    color:#111;

    font-size:18px;
    font-weight:700;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;
}

.nav-links a:hover{
    background:#f4f8fb;

    color:#009dff;

    transform:translateX(-4px);
}

    .header-btn{
        display:none;
    }

    /* Hero */

    .hero-content h1{
        font-size:clamp(38px,7vw,46px);
    }

    .hero-content p{
        font-size:22px;
    }

}

/* =========================================
   768px
========================================= */

@media (max-width: 768px){

    /* Shared Sections */

    .services-section,
    .why-us-section,
    .portfolio-section,
    .cta-section,
    .map-section{
        padding:90px 0;
    }

    /* Titles */

    .section-title h2{
        font-size:36px;
        line-height:1.5;
    }

    .section-title p{
        font-size:18px;
        line-height:1.8;
    }

    /* Grid */

    .services-grid,
    .features-grid,
    .footer-grid{
        grid-template-columns:1fr;
    }

    /* Cards */

    .service-card,
    .feature-card,
    .map-card{
        padding:25px;
    }

    .service-card h3{
        font-size:28px;
    }

    .service-card p,
    .feature-content p{
        font-size:17px;
    }

    .feature-content h3{
        font-size:24px;
    }

    /* Icons */

    .service-icon{
        width:80px;
        height:80px;
    }

    .service-icon i{
        font-size:34px;
    }

    /* Buttons */

    .btn,
    .cta-btn,
    .cta-main-btn,
    .cta-phone a{
        width:100%;
        max-width:350px;
        min-width:auto;

        margin:auto;
    }

    .btn{
        font-size:20px;
    }

    .cta-btn{
        font-size:20px;
        padding:0 20px;
    }

    .cta-main-btn{
        font-size:22px;
    }

    .cta-phone a{
        font-size:28px;
    }

    /* CTA */

    .cta-icon{
        width:75px;
        height:75px;
    }

    .cta-icon i{
        font-size:32px;
    }

    .cta-section h2{
        font-size:40px;
        line-height:1.5;
    }

    .cta-section p{
        font-size:18px;
        line-height:1.9;
    }

    .cta-features{
        gap:18px;
    }

    /* Portfolio */

    .portfolio-card{
        min-height:350px;
    }

    .portfolio-content h3{
        font-size:28px;
    }

    .portfolio-content span{
        font-size:16px;
    }

    .portfolio-rating{
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
    }

    /* Footer */

    .footer{
        padding-top:70px;
    }

    .footer-grid{
        gap:50px;
    }

    .footer-logo h3,
    .footer-title{
        font-size:30px;
    }

    .footer-desc,
    .footer-contact li,
    .footer-links li a,
    .areas-text{
        font-size:18px;
    }

    .footer-whatsapp-btn{
        height:65px;
        font-size:22px;
    }

    .footer-bottom{
        justify-content:center;
        text-align:center;
    }

    /* Map */

    .map-wrapper iframe{
        height:400px;
    }

    .map-card h3{
        font-size:24px;
    }

    .map-card p{
        font-size:16px;
    }

    /* Floating Buttons */

    .float-btn{
        width:55px;
        height:55px;

        font-size:24px;
    }

}

/* =========================================
   600px
========================================= */

@media (max-width: 600px){

    .logo-text h2{
        font-size:20px;
    }

    .logo-text p{
        font-size:12px;
    }

    .hero-content{
        padding-top:40px;
    }

    .hero-content h1{
        font-size:clamp(32px,8vw,42px);
    }

    .hero-content p{
        font-size:18px;
        line-height:1.8;
    }

    .stats{
        display:grid;
        grid-template-columns:1fr;
        gap:18px;

        justify-items:center;
    }

    .stat-box{
        width:100%;
        max-width:300px;
    }

}

/* =========================================
   500px
========================================= */

@media (max-width: 500px){
    .navbar{
        width:100%;
        max-width:100%;

        border-radius:
            0 0 24px 24px;
    }

    /* Feature Card */

    .feature-card,
    .map-card,
    .footer-logo{
        flex-direction:column;
        align-items:center;
        text-align:center;
    }

    .feature-icon{
        margin-bottom:10px;
    }

    .feature-content h3{
        font-size:22px;
    }

    .feature-content p{
        font-size:16px;
    }

    /* CTA */

    .cta-btn,
    .cta-phone a,
    .cta-main-btn{
        height:65px;
    }

    .cta-btn{
        font-size:18px;
    }

    .cta-phone a{
        font-size:24px;
    }

    .cta-main-btn{
        font-size:20px;
    }

    .cta-feature{
        font-size:15px;
    }

    /* Portfolio */

    .portfolio-card{
        min-height:300px;
    }

    .portfolio-content{
        right:18px;
        left:18px;
        bottom:18px;
    }

    .portfolio-content h3{
        font-size:24px;
        line-height:1.5;
    }

    .portfolio-content span{
        font-size:15px;
    }

    .portfolio-tag{
        font-size:13px;
        padding:8px 16px;
    }

    .portfolio-bottom-text{
        font-size:16px;
        line-height:1.8;
    }

    /* Footer */

    .footer-title{
        font-size:26px;
    }

    .footer-contact li,
    .footer-links li a{
        font-size:16px;
        line-height:1.8;
    }

    .areas-grid{
        grid-template-columns:1fr;
    }

    .footer-bottom p,
    .footer-bottom span{
        font-size:15px;
        line-height:1.8;
    }

    /* Map */

    .map-wrapper iframe{
        height:320px;
    }

    .map-card i{
        width:65px;
        height:65px;
        min-width:65px;

        font-size:24px;
    }

    .map-card h3{
        font-size:22px;
    }

}

/* =========================================
   380px
========================================= */

@media (max-width:380px){

    .hero-content h1{
        font-size:30px;
        line-height:1.4;
    }

    .hero-content p{
        font-size:16px;
    }

    .btn{
        height:58px;
        font-size:16px;
    }

    .section-title h2{
        font-size:28px;
    }

    .service-card h3{
        font-size:24px;
    }

}