/* ==========================================================================
   RESPONSIVE STYLESHEET - CENTRALIZED MEDIA QUERIES
   Project: SVM Land Promoters Pvt. Ltd.
   ========================================================================== */

/* ==========================================================================
   1. ULTRAWIDE SCREENS (min-width: 1920px)
   ========================================================================== */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
        padding: 0 100px;
    }
    
    .nav-container {
        max-width: 1400px;
    }
    
    .home-content {
        top: 12% !important;
        margin-top: 40px !important;
    }
    
    .hero-title {
        font-size: clamp(20px, 2.0vw, 34px) !important;
        max-width: 900px !important;
    }
    
    .hero-tagline {
        font-size: clamp(8px, 0.75vw, 10px) !important;
    }

    .hero-floating-box {
        width: 78% !important;
        max-width: 78% !important;
    }
}

/* ==========================================================================
   2. DESKTOP LARGE / LAPTOP (max-width: 1440px)
   ========================================================================== */
@media (max-width: 1440px) {
    .container {
        max-width: 1200px;
        padding: 0 40px;
    }
    .hero-floating-box {
        width: 78% !important;
        max-width: 78% !important;
    }

    /* Restrict overrides specifically to 1281px - 1440px viewports using nested media query */
    @media (min-width: 1281px) {
        /* 1440px Fix - Hero Content Position */
        section.home .home-content {
            top: 20% !important;
        }
        
        /* 1440px Fix - Hero Title Size */
        section.home .hero-title {
            font-size: clamp(26px, 2.4vw, 35px) !important;
        }
        
        /* 1440px Fix - Hero Tagline Size */
        section.home .hero-tagline {
            font-size: 9.5px !important;
        }
        
        /* 1440px Fix - Compact Logo */
        header.header .logo-top {
            left: 40px !important;
            gap: 8px !important;
            max-width: 250px !important;
        }
        header.header .logo-top img {
            width: 58px !important;
        }
        
        /* 1440px Fix - Logo Text Layout */
        header.header .logo-text {
            display: flex !important;
            flex-wrap: wrap !important;
            align-items: center !important;
            row-gap: 2px !important;
            white-space: normal !important;
            line-height: 1.1 !important;
        }
        header.header .logo-text-main {
            display: contents !important;
        }
        
        .brand-svm {
            display: block !important;
            width: 100% !important;
            font-size: 14.5px !important;
        }
        
        .company-name {
            display: inline !important;
            font-size: 11px !important;
            white-space: nowrap !important;
        }

        /* Specificity overrides to win the cascade against later desktop media query rules */
        strong.brand-svm {
            display: block !important;
            width: 100% !important;
            font-size: 14.5px !important;
        }
        span.company-name {
            display: inline !important;
            font-size: 11px !important;
            white-space: nowrap !important;
        }
    }
}

/* ==========================================================================
   3. DESKTOP MEDIUM / LAPTOP (max-width: 1280px)
   ========================================================================== */
@media (max-width: 1280px) {
    .container {
        max-width: 1140px;
        padding: 0 30px;
    }
    
    .about-wrapper {
        gap: 40px;
        grid-template-columns: 460px 1fr;
    }
    
    .about-image {
        height: 460px;
    }

    .home-content {
        top: 11% !important;
    }
    
    .hero-title {
        font-size: clamp(22px, 2.4vw, 38px) !important;
    }

    .hero-tagline {
        font-size: clamp(9px, 0.8vw, 11px) !important;
    }

    .hero-floating-box {
        width: 82% !important;
        max-width: 82% !important;
    }

    /* Navbar & Logo Collision Override */
    .logo-top {
        left: 40px !important;
    }
    .logo-top img {
        width: 62px !important;
    }
    .logo-text {
        font-size: 13px !important;
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 4px !important;
        white-space: nowrap !important;
    }
    .logo-text-main {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
    }
    .logo-text-mid,
    .logo-text-tail {
        display: inline !important;
    }
    .glass-nav label {
        padding: 6px 15px !important;
        font-size: 12.5px !important;
    }

    /* Restrict overrides specifically to 1025px - 1280px viewports using nested media query */
    @media (min-width: 1025px) {
        /* 1280px Fix - Hero Content Position */
        section.home .home-content {
            top: 21% !important;
        }
        
        /* 1280px Fix - Hero Title Size */
        section.home .hero-title {
            font-size: clamp(24px, 2.3vw, 35px) !important;
        }
        
        /* 1280px Fix - Hero Tagline Size */
        section.home .hero-tagline {
            font-size: 10px !important;
        }
        
        /* 1280px Fix - Compact Logo */
        header.header .logo-top {
            left: 35px !important;
            gap: 6px !important;
            max-width: 210px !important;
        }
        header.header .logo-top img {
            width: 52px !important;
        }
        
        /* 1280px Fix - Logo/Navbar Balance */
        /* Reduce padding slightly on navbar items at 1280px to prevent crowding */
        .glass-nav label {
            padding: 5px 10px !important;
            font-size: 11px !important;
        }
        
        /* 1280px Fix - Logo Text Layout */
        header.header .logo-text {
            display: flex !important;
            flex-wrap: wrap !important;
            align-items: center !important;
            row-gap: 1px !important;
            white-space: normal !important;
            line-height: 1.1 !important;
            max-width: 150px !important;
        }
        header.header .logo-text-main {
            display: contents !important;
        }
        
        .brand-svm {
            display: block !important;
            width: 100% !important;
            font-size: 13.5px !important;
        }
        
        .company-name {
            display: inline !important;
            font-size: 9px !important;
            white-space: nowrap !important;
        }

        /* Specificity overrides to win the cascade against later desktop media query rules */
        strong.brand-svm {
            display: block !important;
            width: 100% !important;
            font-size: 13.5px !important;
        }
        span.company-name {
            display: inline !important;
            font-size: 9px !important;
            white-space: nowrap !important;
        }
    }
}

/* ==========================================================================
   4. LAPTOP / SMALL DESKTOP (max-width: 1100px)
   ========================================================================== */
@media (max-width: 1100px) {
    .home {
        height: 100vh !important;
        min-height: 600px !important;
        max-height: 800px !important;
        padding-top: 140px !important;
        padding-bottom: 40px !important;
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .home-content {
        position: absolute !important;
        top: 11% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin-bottom: 0 !important;
        max-width: 500px !important;
        width: 90% !important;
        text-align: center !important;
    }
    .hero-title {
        font-size: clamp(20px, 2.2vw, 38px) !important;
        max-width: 500px !important;
        margin: 0 auto 15px !important;
    }
    .hero-tagline {
        font-size: clamp(9px, 0.8vw, 11px) !important;
    }

    /* Hero Floating Box Horizontal Layout */
    .hero-floating-box {
        position: absolute !important;
        left: 50% !important;
        bottom: 30px !important;
        transform: translateX(-50%) !important;
        width: 82% !important;
        max-width: 82% !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 16px 24px !important;
        gap: 20px !important;
        animation: none !important;
        background: #ffffff !important;
    }

    .hero-box-left {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        text-align: left !important;
        min-width: unset !important;
        flex: 1.2 !important;
        gap: 15px !important;
    }

    .hero-box-content {
        align-items: flex-start !important;
        text-align: left !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .hero-box-text {
        text-align: left !important;
        margin-bottom: 6px !important;
        font-size: 13.5px !important;
        max-width: unset !important;
    }

    .hero-box-buttons {
        justify-content: flex-start !important;
        gap: 12px !important;
        width: auto !important;
    }

    .hero-box-stats {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-around !important;
        align-items: center !important;
        width: auto !important;
        flex: 1 !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
        border-top: none !important;
        border-left: 1px solid rgba(0, 0, 0, 0.08) !important;
        padding-left: 20px !important;
        gap: 15px !important;
    }

    .premium-stat-card {
        text-align: center !important;
        flex: 1 !important;
        min-width: 0 !important;
    }

    .premium-divider {
        display: none !important;
    }

    /* Navbar & Logo Collision Override */
    .logo-top {
        left: 25px !important;
        top: 25px !important;
    }
    .logo-top img {
        width: 55px !important;
    }
    .logo-text {
        font-size: 12px !important;
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 4px !important;
        white-space: nowrap !important;
    }
    .logo-text-main {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
    }
    .logo-text-mid,
    .logo-text-tail {
        display: inline !important;
    }
    .logo-text strong {
        font-size: 14px !important;
    }
    .glass-nav {
        top: 30px !important;
    }
    .glass-nav label {
        padding: 5px 11px !important;
        font-size: 12px !important;
    }
}

/* ==========================================================================
   5. TABLET LANDSCAPE (max-width: 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    .home {
        height: 100vh !important;
        min-height: 600px !important;
        max-height: 800px !important;
    }

    .home-bg img {
        object-position: center center !important;
    }

    .home-content {
        top: 10% !important;
    }

    .hero-title {
        font-size: clamp(20px, 2vw, 34px) !important;
    }

    .hero-tagline {
        font-size: clamp(9px, 0.9vw, 10px) !important;
    }

    section.home .hero-floating-box {
        width: 76% !important;
        max-width: 76% !important;
        padding: 12px 18px !important;
        gap: 15px !important;
    }

    section.home .hero-box-left {
        gap: 10px !important;
    }

    section.home .hero-box-text {
        font-size: 11.5px !important;
        line-height: 1.3 !important;
    }

    section.home .hero-box-buttons {
        gap: 8px !important;
    }

    section.home .hero-home-wrap {
        transform: scale(0.85) !important;
        margin-left: -5px !important;
        margin-right: -5px !important;
    }

    section.home .hero-box-stats {
        padding-left: 15px !important;
        gap: 10px !important;
    }

    section.home .premium-stat-icon {
        transform: scale(0.8) !important;
    }

    section.home .premium-stat-card h2 {
        font-size: 19px !important;
    }

    section.home .premium-stat-card p {
        font-size: 10.5px !important;
    }

    /* Navbar & Logo Collision Override */
    .logo-top {
        left: 20px !important;
        top: 22px !important;
    }
    .logo-top img {
        width: 48px !important;
    }
    .logo-text {
        font-size: 11px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0 !important;
        white-space: normal !important;
    }
    .logo-text strong {
        font-size: 13px !important;
    }
    .logo-text-main {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        white-space: nowrap !important;
    }
    .logo-text-mid {
        display: inline !important;
    }
    .logo-text-tail {
        display: block !important;
        white-space: nowrap !important;
    }
    .glass-nav {
        top: 25px !important;
    }
    .glass-nav label {
        padding: 4px 5px !important;
        font-size: 10.5px !important;
    }

    /* Restrict overrides specifically to 913px - 1024px viewports using nested media query */
    @media (min-width: 913px) {
        /* 1024px Fix - Hero Position */
        section.home .home-content {
            top: 21% !important;
        }
        
        /* 1024px Fix - Hero Title Scaling */
        section.home .hero-title {
            font-size: clamp(24px, 2.8vw, 34px) !important;
        }
        
        /* 1024px Fix - Tagline Scaling */
        section.home .hero-tagline {
            font-size: 10px !important;
            letter-spacing: 1.2px !important;
            text-align: center !important;
        }
        
        /* 1024px Fix - Floating Card Unchanged */
        section.home .hero-floating-box {
            /* Kept exactly as is */
        }
        
        /* 1024px Fix - Compact Logo Area */
        header.header .logo-top {
            left: 20px !important;
            gap: 5px !important;
            top: 22px !important;
            max-width: 190px !important;
        }
        header.header .logo-top img {
            width: 41px !important;
        }
        
        /* 1024px Fix - Navbar Balance */
        .glass-nav label {
            padding: 5px 6px !important;
            font-size: 11px !important;
        }
        
        /* 1024px Fix - Two Line Company Name */
        header.header .logo-text {
            display: flex !important;
            flex-wrap: wrap !important;
            align-items: center !important;
            row-gap: 1px !important;
            white-space: normal !important;
            line-height: 1.05 !important;
            max-width: 140px !important;
            font-size: 9px !important;
        }
        header.header .logo-text-main {
            display: contents !important;
        }
        
        .brand-svm {
            display: block !important;
            width: 100% !important;
            font-size: 11.5px !important;
        }
        
        .company-name {
            display: inline !important;
            font-size: 8.5px !important;
            white-space: nowrap !important;
        }

        /* Specificity overrides to win the cascade against later desktop media query rules */
        strong.brand-svm {
            display: block !important;
            width: 100% !important;
            font-size: 11.5px !important;
        }
        span.company-name {
            display: inline !important;
            font-size: 8.5px !important;
            white-space: nowrap !important;
        }
    }
    
/* Keep button text on one line without affecting stats */
/* Proportional Hero Buttons Sizing */
.hero-box-buttons .cta-glow-btn,
.hero-box-buttons .call-btn {
    padding: 8px 14px !important;
    font-size: 11px !important;
    border-radius: 24px !important;
    white-space: nowrap !important;
}
 

    /* About Section fallback visibility */
    .about-content > * {
        opacity: 1 !important;
        transform: none !important;
    }

    /* Project Grid */
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        margin: 40px auto;
    }
    
    /* Process Cards */
    .process-cards-modern {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .process-cards-modern::before {
        display: none; /* Hide connector line on small grids */
    }
    
    /* Services Cards */
    .service-card {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-card-image {
        aspect-ratio: 16 / 9;
    }
    
    /* Video Slider */
    #videos .slider-container {
        height: auto;
        min-height: 500px;
    }
    
    #videos .slide {
        width: 90%;
        max-width: 680px;
        height: 400px;
    }
    
    #videos .slide.active {
        transform: translate(-50%, -50%) scale(1.1) !important;
    }
    
    #videos .pos-left {
        transform: translate(-50%, -50%) translateX(-120px) scale(0.85);
    }
    
    #videos .pos-right {
        transform: translate(-50%, -50%) translateX(120px) scale(0.85);
    }
}

/* ==========================================================================
   6. TABLET STANDARD (max-width: 992px)
   ========================================================================== */
@media (max-width: 992px) {
    /* Contact Map & Info Row */
    .contact-office-row {
        grid-template-columns: 1fr;
    }
    
    .office-card-pro {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 20px !important;
        margin-top: 24px !important;
        transform: none !important;
    }

    .office-map {
        height: 220px !important;
        width: 100% !important;
    }

    .office-map iframe {
        height: 100% !important;
        min-height: unset !important;
    }
    
    .office-info-card {
        grid-template-columns: 1fr;
    }
    
    .office-info-img {
        order: -1;
    }
    
    /* Footer Grid */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    /* Restrict overrides specifically to 913px - 992px viewports using nested media query */
    @media (min-width: 913px) {
        /* 992px Fix - Use Mobile Hero Background Image */
        section.home .home-bg img {
            content: url("../assets/images/HOME\ 3.png") !important;
            object-fit: cover !important;
            object-position: center 35% !important;
        }
    }
}

/* ==========================================================================
   6.1 SURFACE PRO 7 PORTRAIT (max-width: 912px)
   ========================================================================== */
@media (max-width: 912px) {
        .home-bg img {
            object-position: center center !important;
        }
        .home-content {
            top: 10% !important;
        }
        .hero-title {
            font-size: clamp(24px, 2.8vw, 38px) !important;
        }
        .hero-tagline {
            font-size: clamp(9px, 0.9vw, 10px) !important;
        }
        .hero-floating-box {
            width: 86% !important;
            max-width: 86% !important;
            bottom: 30px !important;
        }
        .logo-top {
            left: 15px !important;
            top: 20px !important;
        }
        .logo-top img {
            width: 42px !important;
        }
        .logo-text {
            font-size: 10px !important;
            display: flex !important;
            flex-direction: column !important;
            align-items: flex-start !important;
            gap: 0 !important;
            white-space: normal !important;
        }
        .logo-text strong {
            font-size: 12px !important;
        }
        .logo-text-main {
            display: inline-flex !important;
            align-items: center !important;
            gap: 4px !important;
            white-space: nowrap !important;
        }
        .logo-text-mid {
            display: inline !important;
        }
        .logo-text-tail {
            display: block !important;
            white-space: nowrap !important;
        }
        .glass-nav {
            top: 20px !important;
        }
        .glass-nav label {
            padding: 4px 7px !important;
            font-size: 11px !important;
        }

        /* Restrict overrides specifically to 854px - 912px viewports using nested media query */
        @media (min-width: 854px) {
            /* 912px Fix - Enable Existing Mobile Navigation */
            .nav-container {
                display: none !important;
            }
            
            .mobile-menu-toggle {
                display: flex !important;
                position: fixed;
                top: 20px;
                right: 20px;
                width: 46px;
                height: 46px;
                border-radius: 50%;
                background: rgba(7, 26, 18, 0.75);
                backdrop-filter: blur(12px);
                -webkit-backdrop-filter: blur(12px);
                border: 1px solid rgba(255, 255, 255, 0.15);
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 4px;
                cursor: pointer;
                z-index: 1001;
                padding: 0;
                transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
                box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
            }
            
            .mobile-menu-toggle:hover {
                background: rgba(46, 125, 50, 0.9);
                transform: scale(1.05);
            }
            
            .hamburger-line {
                display: block;
                width: 18px;
                height: 2px;
                background: #ffffff;
                transition: all 0.3s ease;
                border-radius: 2px;
            }
            
            .mobile-menu-toggle.is-active .hamburger-line:nth-child(1) {
                transform: translateY(6px) rotate(45deg);
            }
            
            .mobile-menu-toggle.is-active .hamburger-line:nth-child(2) {
                opacity: 0;
            }
            
            .mobile-menu-toggle.is-active .hamburger-line:nth-child(3) {
                transform: translateY(-6px) rotate(-45deg);
            }
            
            /* 912px Fix - Enable Existing Mobile Navigation */
            .mobile-menu-overlay {
                display: block !important; /* Force override [hidden] default display: none */
                position: fixed;
                inset: 0;
                z-index: 1000;
                visibility: hidden;
                opacity: 0;
                transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
                pointer-events: none;
            }
            
            .mobile-menu-overlay.is-open {
                visibility: visible;
                opacity: 1;
                pointer-events: auto;
            }
            
            .mobile-menu-backdrop {
                position: absolute;
                inset: 0;
                background: rgba(0, 0, 0, 0.6);
                backdrop-filter: blur(8px);
                -webkit-backdrop-filter: blur(8px);
            }
            
            .mobile-menu-nav {
                position: absolute;
                top: 0;
                right: 0;
                width: 280px;
                height: 100%;
                background: linear-gradient(180deg, #071a12 0%, #02110b 100%);
                border-left: 1px solid rgba(255, 255, 255, 0.08);
                padding: 80px 30px 40px;
                display: flex;
                flex-direction: column;
                gap: 15px;
                box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
                transform: translateX(100%);
                transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            }
            
            .mobile-menu-overlay.is-open .mobile-menu-nav {
                transform: translateX(0);
            }
            
            .mobile-menu-item {
                font-family: "Plus Jakarta Sans", sans-serif;
                font-size: 17px;
                font-weight: 500;
                color: rgba(255, 255, 255, 0.85);
                text-decoration: none;
                padding: 12px 0;
                border-bottom: 1px solid rgba(255, 255, 255, 0.05);
                transition: all 0.3s ease;
                cursor: pointer;
                display: block;
            }
            
            .mobile-menu-item:hover {
                color: #a3e635;
                padding-left: 8px;
            }
            
            .mobile-menu-divider {
                height: 1px;
                background: rgba(255, 255, 255, 0.1);
                margin: 10px 0;
                display: block;
            }
        }
    }

/* ==========================================================================
   6.2 ASUS ZENBOOK FOLD / GALAXY Z FOLD PORTRAIT (max-width: 853px)
   ========================================================================== */
@media (max-width: 853px) {
    .home-bg img {
        object-position: center center !important;
    }
    .home-content {
        top: 10% !important;
    }
    .hero-title {
        font-size: clamp(20px, 2.2vw, 34px) !important;
    }
    .hero-tagline {
        font-size: clamp(9px, 0.9vw, 10px) !important;
    }
    .hero-floating-box {
        width: 86% !important;
        max-width: 86% !important;
        bottom: 30px !important;
    }
    .logo-top {
        left: 12px !important;
    }
    .logo-top img {
        width: 38px !important;
    }
    .logo-text {
        font-size: 9.5px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0 !important;
        white-space: normal !important;
    }
    .logo-text strong {
        font-size: 11px !important;
    }
    .logo-text-main {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        white-space: nowrap !important;
    }
    .logo-text-mid {
        display: inline !important;
    }
    .logo-text-tail {
        display: block !important;
        white-space: nowrap !important;
    }
    .glass-nav label {
        padding: 4px 5px !important;
        font-size: 10.5px !important;
    }

    /* Restrict overrides specifically to 821px - 853px viewports using nested media query */
    @media (min-width: 821px) {
        /* 853px Responsive Fix */
        /* Hide Desktop Navbar & Use Existing Hamburger */
        .nav-container,
        .glass-nav,
        .glass-nav label,
        .glass-nav input {
            display: none !important;
        }

        .mobile-menu-toggle {
            display: flex !important;
            position: fixed;
            top: 20px;
            right: 20px;
            width: 48px !important;
            height: 48px !important;
            border-radius: 50%;
            background: rgba(7, 26, 18, 0.75);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 4px;
            cursor: pointer;
            z-index: 1001;
            padding: 0;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
        }
        
        .mobile-menu-toggle:hover {
            background: rgba(46, 125, 50, 0.9);
            transform: scale(1.05);
        }
        
        .hamburger-line {
            display: block;
            width: 18px;
            height: 2px;
            background: #ffffff;
            transition: all 0.3s ease;
            border-radius: 2px;
        }
        
        .mobile-menu-toggle.is-active .hamburger-line:nth-child(1) {
            transform: translateY(6px) rotate(45deg);
        }
        
        .mobile-menu-toggle.is-active .hamburger-line:nth-child(2) {
            opacity: 0;
        }
        
        .mobile-menu-toggle.is-active .hamburger-line:nth-child(3) {
            transform: translateY(-6px) rotate(-45deg);
        }
        
        .mobile-menu-overlay {
            display: block !important; /* Force override [hidden] default display: none */
            position: fixed;
            inset: 0;
            z-index: 1000;
            visibility: hidden;
            opacity: 0;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            pointer-events: none;
        }
        
        .mobile-menu-overlay.is-open {
            visibility: visible;
            opacity: 1;
            pointer-events: auto;
        }
        
        .mobile-menu-backdrop {
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }
        
        .mobile-menu-nav {
            position: absolute;
            top: 0;
            right: 0;
            width: 280px;
            height: 100%;
            background: linear-gradient(180deg, #071a12 0%, #02110b 100%);
            border-left: 1px solid rgba(255, 255, 255, 0.08);
            padding: 80px 30px 40px;
            display: flex;
            flex-direction: column;
            gap: 15px;
            box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
            transform: translateX(100%);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .mobile-menu-overlay.is-open .mobile-menu-nav {
            transform: translateX(0);
        }
        
        .mobile-menu-item {
            font-family: "Plus Jakarta Sans", sans-serif;
            font-size: 17px;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.85);
            text-decoration: none;
            padding: 12px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            transition: all 0.3s ease;
            cursor: pointer;
            display: block;
        }
        
        .mobile-menu-item:hover {
            color: #a3e635;
            padding-left: 8px;
        }
        
        .mobile-menu-divider {
            height: 1px;
            background: rgba(255, 255, 255, 0.1);
            margin: 10px 0;
            display: block;
        }

        /* Adjust Hero Content Position */
        section.home .home-content {
            top: 15.5% !important;
        }

        /* ===================================== */
        /* 853px Floating Card Fine-Tuning */
        /* Content Scale & Alignment Optimization */
        /* ===================================== */
        .hero-floating-box {
            display: flex !important;
            flex-direction: column !important;
            align-items: stretch !important;
            width: 96% !important;
            max-width: 96% !important;
            padding: 16px 18px !important;
            bottom: 25px !important;
            gap: 14px !important;
        }
        
        .hero-box-left {
            display: flex !important;
            flex-direction: row !important;
            align-items: center !important;
            gap: 14px !important;
            min-width: auto !important;
            width: 100% !important;
        }
        
        .hero-home-wrap {
            flex-shrink: 0 !important;
            margin: 0 !important;
        }
        
        .hero-home-icon {
            width: 52px !important;
            height: 52px !important;
            border-radius: 18px !important;
        }
        
        .hero-home-icon i {
            font-size: 20px !important;
        }
        
        .hero-home-ring {
            inset: -6px !important;
            border-radius: 20px !important;
        }
        
        .hero-box-content {
            display: flex !important;
            flex-direction: column !important;
            align-items: flex-start !important;
            text-align: left !important;
            gap: 10px !important;
            width: 100% !important;
        }
        
        .hero-box-text {
            text-align: left !important;
            max-width: 100% !important;
            margin: 0 !important;
            font-size: 12.5px !important;
            line-height: 1.35 !important;
        }
        
        .hero-box-buttons {
            display: flex !important;
            flex-direction: row !important;
            align-items: center !important;
            gap: 8px !important;
            width: 100% !important;
        }
        
        .hero-box-buttons button,
        .hero-box-buttons a {
            width: auto !important;
            max-width: none !important;
            padding: 7px 11px !important;
            font-size: 11.5px !important;
            text-align: center !important;
            justify-content: center !important;
        }
        
        .hero-box-stats {
            display: flex !important;
            flex-direction: row !important;
            justify-content: space-between !important;
            align-items: stretch !important;
            gap: 8px !important;
            width: 100% !important;
            border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
            padding-top: 14px !important;
            margin-top: 4px !important;
        }
        
        .premium-divider {
            display: block !important;
            width: 1px !important;
            height: auto !important;
            min-height: 46px !important;
            background: rgba(0, 0, 0, 0.08) !important;
            margin: 0 !important;
        }
        
        .premium-stat-card {
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            text-align: center !important;
            flex: 1 !important;
            min-width: 0 !important;
            gap: 4px !important;
        }
        
        .premium-stat-card .premium-stat-icon {
            width: 38px !important;
            height: 38px !important;
            border-radius: 12px !important;
            margin: 0 auto 6px !important;
        }
        
        .premium-stat-card .premium-stat-icon i {
            font-size: 16px !important;
        }
        
        .premium-stat-card h2 {
            text-align: center !important;
            margin: 0 !important;
            font-size: 21px !important;
            line-height: 1.1 !important;
        }
        
        .premium-stat-card p {
            text-align: center !important;
            margin: 0 !important;
            font-size: 9.5px !important;
            line-height: 1.3 !important;
        }

        /* 853px About Section Width Optimization */
        #about .container {
            max-width: 100% !important;
            padding: 0 24px !important;
        }
        .about-wrapper {
            max-width: 780px !important;
            margin: 0 auto !important;
        }
        .about-content {
            max-width: 100% !important;
        }
    }
}

/* ==========================================================================
   7. TABLET PORTRAIT (max-width: 900px)
   ========================================================================== */
@media (max-width: 900px) {
    .about-wrapper {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    
    /* Restrict overrides specifically to 854px - 900px viewports using nested media query */
    @media (min-width: 854px) {
        /* ===================================== */
        /* 900px About Section Width Optimization */
        /* Content Alignment & Space Utilization */
        /* ===================================== */
        #about .container {
            max-width: 100% !important;
            padding: 0 24px !important;
        }
        .about-wrapper {
            max-width: 820px !important;
            margin: 0 auto !important;
            width: 100% !important;
        }
        .about-content {
            max-width: 100% !important;
        }
    }
    
    .about-image {
        height: 380px !important;
    }
    
    /* Testimonial Summary Card */
    .testimonial-summary {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        padding: 40px;
    }
    
    .rating-right {
        max-width: 100%;
    }
    
    /* Testimonial Cards */
    .testimonial-featured {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-grid {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .trust-chip {
        flex: 0 1 calc(50% - 10px);
    }
}

/* ==========================================================================
   8. IPAD MINI & SMALL PORTRAIT TABLETS (max-width: 820px)
   ========================================================================== */
@media (max-width: 820px) {
    .section-heading,
    .about-heading,
    .process-header-modern h2 {
        font-size: 42px;
    }
    
    .home-bg img {
        object-position: center center !important;
    }
    
    .home-content {
        top: 10% !important;
    }
    
    .hero-title {
        font-size: clamp(20px, 2.2vw, 34px) !important;
    }
    
    .hero-tagline {
        font-size: clamp(9px, 0.9vw, 10px) !important;
    }

    /* Restrict overrides specifically to 769px - 820px viewports using nested media query */
    @media (min-width: 769px) {
        /* ========================================== */
        /* iPad Mini Hero & About Section Optimization */
        /* Breakpoint: max-width 820px                */
        /* ========================================== */

        /* Fix #1: Hero Title Single Line */
        section.home .hero-title {
            font-size: clamp(22px, 3.4vw, 31px) !important;
            white-space: nowrap !important;
            width: 100% !important;
            max-width: 100% !important;
            text-align: center !important;
        }

        /* Fix #2: About Section Width Optimization */
        #about .container {
            max-width: 100% !important;
            padding: 0 24px !important;
        }
        .about-wrapper {
            max-width: 760px !important;
            margin: 0 auto !important;
            width: 100% !important;
        }
        .about-content {
            max-width: 100% !important;
            width: 100% !important;
        }

        /* OBJECTIVE 1: NAVBAR FIX (769px - 820px) */
        .nav-container {
            display: none !important;
        }

        /* Fixed Logo alignment with Hamburger */
        .logo-top {
            position: fixed !important;
            left: 20px !important;
            top: 20px !important;
            z-index: 1002 !important;
        }
        .logo-top img {
            width: 38px !important;
        }
        .logo-text {
            font-size: 9.5px !important;
            display: flex !important;
            flex-direction: column !important;
            align-items: flex-start !important;
            gap: 0 !important;
            white-space: normal !important;
        }
        .logo-text strong {
            font-size: 11px !important;
        }
        .logo-text-main {
            display: inline-flex !important;
            align-items: center !important;
            gap: 4px !important;
            white-space: nowrap !important;
        }
        .logo-text-mid {
            display: inline !important;
        }
        .logo-text-tail {
            display: block !important;
            white-space: nowrap !important;
        }

        /* Mobile Hamburger Menu Activation & Styles */
        .mobile-menu-toggle {
            display: flex !important;
            position: fixed !important;
            top: 20px !important;
            right: 20px !important;
            width: 46px !important;
            height: 46px !important;
            border-radius: 50% !important;
            background: rgba(7, 26, 18, 0.75) !important;
            backdrop-filter: blur(12px) !important;
            -webkit-backdrop-filter: blur(12px) !important;
            border: 1px solid rgba(255, 255, 255, 0.15) !important;
            flex-direction: column !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 4px !important;
            cursor: pointer !important;
            z-index: 1001 !important;
            padding: 0 !important;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
        }
        
        .mobile-menu-toggle:hover {
            background: rgba(46, 125, 50, 0.9) !important;
            transform: scale(1.05) !important;
        }
        
        .hamburger-line {
            display: block !important;
            width: 18px !important;
            height: 2px !important;
            background: #ffffff !important;
            transition: all 0.3s ease !important;
            border-radius: 2px !important;
        }
        
        .mobile-menu-toggle.is-active .hamburger-line:nth-child(1) {
            transform: translateY(6px) rotate(45deg) !important;
        }
        
        .mobile-menu-toggle.is-active .hamburger-line:nth-child(2) {
            opacity: 0 !important;
        }
        
        .mobile-menu-toggle.is-active .hamburger-line:nth-child(3) {
            transform: translateY(-6px) rotate(-45deg) !important;
        }
        
        .mobile-menu-overlay {
            display: block !important;
            position: fixed !important;
            inset: 0 !important;
            z-index: 1000 !important;
            visibility: hidden !important;
            opacity: 0 !important;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
            pointer-events: none !important;
        }
        
        .mobile-menu-overlay.is-open {
            visibility: visible !important;
            opacity: 1 !important;
            pointer-events: auto !important;
        }
        
        .mobile-menu-backdrop {
            position: absolute !important;
            inset: 0 !important;
            background: rgba(0, 0, 0, 0.6) !important;
            backdrop-filter: blur(8px) !important;
            -webkit-backdrop-filter: blur(8px) !important;
        }
        
        .mobile-menu-nav {
            position: absolute !important;
            top: 0 !important;
            right: 0 !important;
            width: 280px !important;
            height: 100% !important;
            background: linear-gradient(180deg, #071a12 0%, #02110b 100%) !important;
            border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
            padding: 80px 30px 40px !important;
            display: flex !important;
            flex-direction: column !important;
            gap: 15px !important;
            box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5) !important;
            transform: translateX(100%) !important;
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        }
        
        .mobile-menu-overlay.is-open .mobile-menu-nav {
            transform: translateX(0) !important;
        }
        
        .mobile-menu-item {
            font-family: "Plus Jakarta Sans", sans-serif !important;
            font-size: 17px !important;
            font-weight: 500 !important;
            color: rgba(255, 255, 255, 0.85) !important;
            text-decoration: none !important;
            padding: 12px 0 !important;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
            transition: all 0.3s ease !important;
            cursor: pointer !important;
            display: block !important;
        }
        
        .mobile-menu-item:hover {
            color: #a3e635 !important;
            padding-left: 8px !important;
        }
        
        .mobile-menu-divider {
            height: 1px !important;
            background: rgba(255, 255, 255, 0.1) !important;
            margin: 10px 0 !important;
            display: block !important;
        }

        /* OBJECTIVE 2: HERO FLOATING BOX OPTIMIZATION (769px - 820px) */
        .hero-floating-box {
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            text-align: center !important;
            width: 90% !important;
            max-width: 480px !important;
            bottom: 25px !important;
            padding: 24px 20px !important;
            gap: 18px !important;
            height: auto !important;
            min-height: auto !important;
        }

        .hero-box-left {
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            text-align: center !important;
            gap: 14px !important;
            min-width: auto !important;
            width: 100% !important;
        }

        .hero-home-wrap {
            flex-shrink: 0 !important;
            margin: 0 0 4px 0 !important;
        }

        .hero-home-icon {
            width: 52px !important;
            height: 52px !important;
            border-radius: 18px !important;
        }

        .hero-home-icon i {
            font-size: 20px !important;
        }

        .hero-home-ring {
            inset: -6px !important;
            border-radius: 20px !important;
        }

        .hero-box-content {
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            text-align: center !important;
            gap: 12px !important;
            width: 100% !important;
        }

        .hero-box-text {
            text-align: center !important;
            max-width: 100% !important;
            margin: 0 !important;
            font-size: 13.5px !important;
            line-height: 1.45 !important;
        }

        .hero-box-buttons {
            display: flex !important;
            flex-direction: row !important;
            align-items: center !important;
            gap: 10px !important;
            width: 100% !important;
            justify-content: center !important;
        }

        .hero-box-buttons button,
        .hero-box-buttons a {
            flex: 1 !important;
            width: auto !important;
            max-width: 180px !important;
            padding: 9px 16px !important;
            font-size: 12.5px !important;
            text-align: center !important;
            justify-content: center !important;
        }
        
        .hero-box-buttons button .text {
            font-size: 12.5px !important;
        }

        .hero-box-stats {
            display: flex !important;
            flex-direction: row !important;
            justify-content: space-evenly !important;
            align-items: flex-start !important;
            gap: 8px !important;
            width: 100% !important;
            border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
            padding-top: 16px !important;
            margin-top: 4px !important;
        }

        .premium-divider {
            display: block !important;
            width: 1px !important;
            height: auto !important;
            min-height: 48px !important;
            background: rgba(0, 0, 0, 0.08) !important;
            margin: 0 !important;
        }

        .premium-stat-card {
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            text-align: center !important;
            flex: 1 !important;
            min-width: 0 !important;
            gap: 4px !important;
        }

        .premium-stat-card .premium-stat-icon {
            width: 38px !important;
            height: 38px !important;
            border-radius: 12px !important;
            margin: 0 auto 6px !important;
        }

        .premium-stat-card .premium-stat-icon i {
            font-size: 16px !important;
        }

        .premium-stat-card h2 {
            text-align: center !important;
            margin: 0 !important;
            font-size: 21px !important;
            line-height: 1.1 !important;
        }

        .premium-stat-card p {
            text-align: center !important;
            margin: 0 !important;
            font-size: 10px !important;
            line-height: 1.3 !important;
            white-space: normal !important;
            max-width: 110px !important;
        }
    }
}

/* ==========================================================================
   9. TABLET SMALL / MOBILE TRIGGER (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    /* Hide Desktop Navbar Links Capsule */
    .nav-container {
        display: none !important;
    }
    
    /* Mobile Logo Positioning & Sizing - 2 Lines Layout Max */
    .logo-top {
        left: 20px !important;
        top: 22px !important;
        position: fixed !important;
        z-index: 1002 !important;
    }
    .logo-top img {
        width: 44px !important;
    }
    .logo-text {
        font-size: 10.5px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0 !important;
        line-height: 1.15 !important;
        white-space: normal !important;
    }
    .logo-text strong {
        font-size: 12.5px !important;
        display: inline !important;
    }
    .logo-text-main {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        white-space: nowrap !important;
    }
    .logo-text-mid {
        display: inline !important;
    }
    .logo-text-tail {
        display: block !important;
        white-space: nowrap !important;
    }
    
    /* Mobile Menu Toggle Styling */
    .mobile-menu-toggle {
        display: flex !important;
        position: fixed;
        top: 20px;
        right: 20px;
        width: 46px;
        height: 46px;
        border-radius: 50%;
        background: rgba(7, 26, 18, 0.75);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        cursor: pointer;
        z-index: 1001;
        padding: 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    }
    
    .mobile-menu-toggle:hover {
        background: rgba(46, 125, 50, 0.9);
        transform: scale(1.05);
    }
    
    .hamburger-line {
        display: block;
        width: 18px;
        height: 2px;
        background: #ffffff;
        transition: all 0.3s ease;
        border-radius: 2px;
    }
    
    /* hamburger icon transforms when menu open */
    .mobile-menu-toggle.is-active .hamburger-line:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    
    .mobile-menu-toggle.is-active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.is-active .hamburger-line:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
    
    /* Mobile Menu Drawer Overlay */
    .mobile-menu-overlay {
        position: fixed;
        inset: 0;
        z-index: 1000;
        visibility: hidden;
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
    }
    
    .mobile-menu-overlay.is-open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }
    
    .mobile-menu-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    
    .mobile-menu-nav {
        position: absolute;
        top: 0;
        right: 0;
        width: 280px;
        height: 100%;
        background: linear-gradient(180deg, #071a12 0%, #02110b 100%);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        padding: 80px 30px 40px;
        display: flex;
        flex-direction: column;
        gap: 15px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .mobile-menu-overlay.is-open .mobile-menu-nav {
        transform: translateX(0);
    }
    
    .mobile-menu-item {
        font-family: "Plus Jakarta Sans", sans-serif;
        font-size: 17px;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.85);
        text-decoration: none;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transition: all 0.3s ease;
        cursor: pointer;
        display: block;
    }
    
    .mobile-menu-item:hover {
        color: #a3e635;
        padding-left: 8px;
    }
    
    .mobile-menu-divider {
        height: 1px;
        background: rgba(255, 255, 255, 0.1);
        margin: 10px 0;
        display: block;
    }
    
    /* Hero Section Mobile Spacing & Layout */
    .home {
        min-height: 560px !important;
        max-height: 720px !important;
        height: 100vh !important;
        height: 100dvh !important;
        padding-top: 100px !important;
        padding-bottom: 20px !important;
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }
 
    .home-bg img {
        object-position: center center !important;
    }
 
    .home-content {
        position: absolute !important;
        top: 8% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin-bottom: 0 !important;
        padding: 0 20px !important;
        max-width: 380px !important;
        width: 100% !important;
        text-align: center !important;
    }
 
    .hero-title {
        font-size: clamp(16px, 3.8vw, 28px) !important;
        text-align: center !important;
        max-width: none !important;
        white-space: nowrap !important;
        margin: 0 auto 10px !important;
    }
 
    .hero-tagline {
        font-size: clamp(8px, 1.8vw, 9px) !important;
        margin-bottom: 8px !important;
        text-align: center !important;
        white-space: nowrap !important;
        max-width: none !important;
    }
 
    .hero-floating-box {
        position: absolute !important;
        left: 50% !important;
        bottom: 20px !important;
        transform: translateX(-50%) !important;
        margin: 0 !important;
        width: 90% !important;
        max-width: 90% !important;
        padding: 14px 16px !important;
        border-radius: 24px !important;
        gap: 12px !important;
        background: #ffffff !important;
    }
 
    .hero-box-left {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        min-width: 100% !important;
    }
 
    .hero-box-text {
        font-size: 13.5px !important;
        line-height: 1.45 !important;
        text-align: center !important;
        margin-bottom: 8px !important;
    }
 
    .hero-box-buttons {
        justify-content: center !important;
        gap: 12px !important;
        width: 100% !important;
    }
 
    .hero-box-stats {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        width: 100% !important;
        gap: 8px !important;
        margin-top: 12px !important;
        padding-top: 12px !important;
        border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    }
 
    .premium-stat-card {
        text-align: center !important;
        flex: 1 !important;
        min-width: 0 !important;
    }
 
    .premium-stat-card h2 {
        font-size: 19px !important;
        margin-bottom: 2px !important;
    }
 
    .premium-stat-card p {
        font-size: 8.5px !important;
        line-height: 1.25 !important;
        color: #4b5563 !important;
    }
 
    .premium-stat-icon {
        width: 32px !important;
        height: 32px !important;
        margin: 0 auto 6px !important;
        border-radius: 10px !important;
    }
 
    .premium-stat-icon i {
        font-size: 12px !important;
    }
 
    .premium-divider {
        display: none !important;
    }

    /* Contact Section Mobile Spacing & Layout */
    .contact-pro {
        min-height: auto !important;
        padding: 60px 0 !important;
    }

    .contact-wrapper {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .contact-left-pro {
        width: 100% !important;
        padding-right: 0 !important;
    }

    .contact-title {
        font-size: 28px !important;
    }

    .contact-cards {
        margin-top: 24px !important;
        gap: 12px !important;
    }

    .contact-card {
        padding: 14px !important;
        transform: none !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.06) !important;
    }

    .contact-chat-box {
        margin-top: 20px !important;
        padding: 16px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 14px !important;
    }

    .contact-form-pro {
        width: 100% !important;
        padding: 24px !important;
        margin-top: 30px !important; /* overrides margin-top: 120px on mobile */
        transform: none !important;
        box-shadow: 0 15px 40px rgba(0,0,0,0.08) !important;
    }

    .contact-form-pro textarea {
        resize: none !important;
    }

    .submit-btn-pro {
        width: 100% !important; /* full width button on mobile */
        justify-content: center !important;
        transform: none !important;
    }

    /* Office Card & Google Map responsive adjustments */
    .office-card-pro {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding: 16px !important;
        margin-top: 24px !important;
        transform: none !important;
    }

    .office-map {
        height: 200px !important;
        width: 100% !important;
    }

    .office-map iframe {
        height: 100% !important;
        min-height: unset !important;
    }
    
    /* About Section */
    .about-content {
        max-width: 100% !important;
        width: 100% !important;
    }

    .about-buttons {
        gap: 10px;
    }

    .about-blog-btn {
        padding: 10px 16px;
    }
    
    /* Timeline Section */
    .timeline-item,
    .timeline-item.right {
        width: 100%;
        left: 0;
        padding-left: 70px;
        padding-right: 20px;
    }

    .timeline-line {
        left: 30px;
    }

    .timeline-dot {
        left: 20px;
    }
    
    /* Footer Section overrides */
    .lux-footer {
        padding: 50px 0 30px !important;
    }

    .lux-footer .container {
        padding: 0 24px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .footer-col::after {
        display: none !important;
    }

    .socials {
        justify-content: center;
    }

    /* Services Card mobile updates */
    .service-card {
        padding: 18px !important;
        gap: 20px !important;
    }
    .service-card-content h3 {
        font-size: 24px !important;
    }
    .service-card-content p {
        font-size: 14.5px !important;
    }
}

/* ==========================================================================
   10. MOBILE LANDSCAPE / SMALL TABLET (max-width: 640px)
   ========================================================================= */
@media (max-width: 640px) {
    /* Process Grid Collapse */
    .process-cards-modern {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ==========================================================================
   11. MOBILE MEDIUM (max-width: 600px)
   ========================================================================== */
@media (max-width: 600px) {
    /* Projects list grid collapse */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    /* Headings scaling */
    .section-heading,
    .about-heading,
    .process-header-modern h2 {
        font-size: 32px;
        white-space: normal; /* Allow wrapping */
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .projects-switch {
        margin-left: 0;
    }
    
    /* Footer bottom elements collapse */
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
    
    .footer-meta {
        display: block !important;
        text-align: center !important;
        font-size: 11.5px !important;
    }

    .footer-meta-item {
        display: block !important;
        margin-bottom: 6px !important;
    }

    .footer-meta .dot-sep {
        display: none !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* Services Points Grid Collapse */
    .service-points-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
}

/* ==========================================================================
   12. MOBILE STANDARD (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {
    .home-bg img {
        object-position: center center !important;
    }

    .container {
        padding: 0 20px;
    }
    
    .home {
        min-height: 560px !important;
        max-height: 720px !important;
        height: 100vh !important;
        height: 100dvh !important;
    }

    .home-content {
        position: absolute !important;
        top: 8% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin-bottom: 0 !important;
        padding: 0 20px !important;
        max-width: 320px !important;
        width: 100% !important;
        text-align: center !important;
    }

    .hero-title {
        font-size: clamp(18px, 4.5vw, 28px) !important;
        max-width: 280px !important;
        margin: 0 auto 8px !important;
    }
    
    .hero-tagline {
        font-size: clamp(8px, 2.2vw, 9px) !important;
        letter-spacing: 1px;
    }

    .hero-tagline,
.hero-title {
    transform: translateY(45px) !important;
}
    
    .hero-tagline::before,
    .hero-tagline::after {
        width: 20px;
    }
    
    .hero-floating-box {
        padding: 12px 14px !important;
        border-radius: 20px !important;
        bottom: 20px !important;
        width: 90% !important;
        max-width: 90% !important;
        background: #ffffff !important;
    }
    
    .hero-home-wrap {
        display: none !important;
    }
    
    .hero-box-text {
        font-size: 12.5px !important;
        line-height: 1.4 !important;
        margin-bottom: 6px !important;
    }
    
    .hero-box-buttons {
        gap: 6px !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
    }
    
    .cta-glow-btn,
    .call-btn {
        padding: 7px 12px !important;
        font-size: 11px !important;
        flex: 1 !important;
        justify-content: center !important;
        text-align: center !important;
        display: inline-flex !important;
    }
    
    .premium-stat-card h2 {
        font-size: 17px !important;
        margin-bottom: 1px !important;
    }

    .premium-stat-card p {
        font-size: 8px !important;
    }

    .premium-stat-icon {
        width: 28px !important;
        height: 28px !important;
        margin: 0 auto 4px !important;
    }

    .premium-stat-icon i {
        font-size: 10px !important;
    }
    
    .about-image {
        height: 320px;
    }
    
    #videos .slide {
        height: 320px;
    }
    
    #videos .slide.active {
        transform: translate(-50%, -50%) scale(1.05) !important;
    }
    
    #videos .card-sections {
        padding: 15px;
    }
    
    #videos .video-text h3 {
        font-size: 15px;
    }
    
    #videos .video-watch-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .contact-form-pro {
        padding: 20px;
    }
    
    .office-card-pro {
        grid-template-columns: 1fr;
    }
    
    .rating-value {
        font-size: 70px;
    }
    
    .trust-chip {
        font-size: 11px;
        padding: 6px 12px;
    }
}

/* ==========================================================================
   13. MOBILE SMALL-MEDIUM (max-width: 414px)
   ========================================================================== */
@media (max-width: 414px) {
    .home {
        min-height: 500px !important;
        max-height: 650px !important;
        height: 100vh !important;
        height: 100dvh !important;
    }

    .home-content {
        top: 7% !important;
    }

    .hero-title {
        font-size: clamp(16px, 4.2vw, 24px) !important;
        position: relative;
        left: -13px;
        top: -25px; /* 🔥 move title up */
    }
    
    .hero-tagline {
        font-size: clamp(8px, 2vw, 9px) !important;
        top: -25px; /* 🔥 move title up */
    }

    .hero-floating-box {
        bottom: 12px !important;
        width: 92% !important;
        max-width: 92% !important;
        background: #ffffff !important;
    }

    .logo-text {
        font-size: 9.5px !important;
    }
    .logo-text strong {
        font-size: 11.5px !important;
    }
    
    .about-heading,
    .section-heading,
    .contact-title {
        font-size: 28px;
    }
    
    .footer-center h2 {
        font-size: 28px;
    }
}

/* ==========================================================================
   13.1 HEIGHT-HEAVY FOLDABLE STABILIZATION (Z FOLD etc.)
   ========================================================================== */
@media (max-width: 414px) and (min-height: 750px) {
    .home {
        min-height: 580px !important;
        max-height: 750px !important;
        height: 100vh !important;
        height: 100dvh !important;
    }

    .home-content {
        position: absolute !important;
        top: 7% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        max-width: 280px !important;
        width: 100% !important;
        text-align: center !important;
    }
    .hero-title {
        max-width: 260px !important;
        font-size: clamp(16px, 4.2vw, 24px) !important;
    }
    .hero-tagline {
        font-size: clamp(8px, 2vw, 9px) !important;
    }
    .hero-floating-box {
        position: absolute !important;
        left: 50% !important;
        bottom: 16px !important;
        transform: translateX(-50%) !important;
        width: 92% !important;
        max-width: 92% !important;
        padding: 10px 12px !important;
        background: #ffffff !important;
    }
    .premium-stat-card h2 {
        font-size: 15px !important;
    }
    .premium-stat-icon {
        width: 26px !important;
        height: 26px !important;
        margin: 0 auto 3px !important;
    }
    .premium-stat-card p {
        font-size: 7.5px !important;
    }
}

/* ==========================================================================
   14. MOBILE SMALL (max-width: 390px)
   ========================================================================== */
@media (max-width: 390px) {
    .home {
        min-height: 500px !important;
        max-height: 650px !important;
        height: 100vh !important;
        height: 100dvh !important;
    }

    .home-content {
        top: 7% !important;
    }

    .hero-title {
        font-size: clamp(16px, 4.2vw, 24px) !important;
    }
    
    .hero-tagline {
        font-size: clamp(8px, 2vw, 9px) !important;
    }

    .hero-floating-box {
        bottom: 12px !important;
        width: 92% !important;
        max-width: 92% !important;
        background: #ffffff !important;
    }

    .logo-text {
        font-size: 9.5px !important;
    }
    .logo-text strong {
        font-size: 11px !important;
    }

    .hero-box-buttons {
        flex-direction: row !important;
        align-items: center !important;
        width: 100% !important;
    }
    
    .cta-glow-btn,
    .call-btn {
        width: auto !important;
        flex: 1 !important;
        justify-content: center !important;
    }
}


/* ==========================================================================
   15. IPHONE SE / SMALL (max-width: 375px)
   ========================================================================== */
@media (max-width: 375px) {
    .home {
        min-height: 500px !important;
        max-height: 650px !important;
        height: 100vh !important;
        height: 100dvh !important;
    }

    .home-content {
        top: 7% !important;
    }

    .hero-title {
        font-size: clamp(16px, 4.2vw, 24px) !important;
        position: relative;
        left: -2px;
        top: -25px; /* 🔥 move title up */
    }

    .hero-tagline {
        font-size: clamp(8px, 2vw, 9px) !important;
        top: -25px; /* 🔥 move title up */
        left: -2px;
    }

    .hero-floating-box {
        bottom: 12px !important;
        width: 92% !important;
        max-width: 92% !important;
        background: #ffffff !important;
    }

    .logo-text {
        font-size: 9px !important;
    }
    .logo-text strong {
        font-size: 11px !important;
    }

    .trust-chip {
        flex: 0 1 100%; /* Full width trust chips on tiny viewports */
    }
}

/* ==========================================================================
   16. ANDROID SMALL (max-width: 360px)
   ========================================================================== */
@media (max-width: 360px) {
    .home {
        min-height: 500px !important;
        max-height: 650px !important;
        height: 100vh !important;
        height: 100dvh !important;
    }

    .home-content {
        top: 7% !important;
    }

    .hero-title {
        font-size: clamp(16px, 4.2vw, 24px) !important;
    }

    .hero-tagline {
        font-size: clamp(8px, 2vw, 9px) !important;
    }

    .hero-floating-box {
        bottom: 12px !important;
        width: 92% !important;
        max-width: 92% !important;
        background: #ffffff !important;
    }

    .logo-text {
        font-size: 9px !important;
    }
    .logo-text strong {
        font-size: 11px !important;
    }

    .about-heading,
    .section-heading,
    .contact-title {
        font-size: 25px;
    }
}

/* ==========================================================================
   17. COMPACT MOBILE (max-width: 320px)
   ========================================================================== */
@media (max-width: 320px) {
    .container {
        padding: 0 15px;
    }
    
    .home {
        min-height: 480px !important;
        max-height: 600px !important;
        height: 100vh !important;
        height: 100dvh !important;
    }

    .home-content {
        position: absolute !important;
        top: 7% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        max-width: 270px !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .hero-floating-box {
        position: absolute !important;
        left: 50% !important;
        bottom: 12px !important;
        transform: translateX(-50%) !important;
        width: 92% !important;
        max-width: 92% !important;
        padding: 8px 10px !important;
        background: #ffffff !important;
    }

    .hero-title {
        font-size: clamp(16px, 4.2vw, 24px) !important;
    }
    
    .hero-tagline {
        font-size: clamp(8px, 2vw, 9px) !important;
    }

    .logo-text {
        font-size: 8.5px !important;
    }
    .logo-text strong {
        font-size: 10.5px !important;
    }

    .about-heading,
    .section-heading {
        font-size: 22px !important;
    }
    
    .premium-stat-card h2 {
        font-size: 15px !important;
    }
 
    .hero-box-text {
        font-size: 11.5px !important;
    }

    .cta-glow-btn,
    .call-btn {
        padding: 6px 8px !important;
        font-size: 10px !important;
    }
    
    .timeline-item, .timeline-item.right {
        padding-left: 50px;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-dot {
        left: 10px;
    }
}

/* ==========================================================================
   HERO & NAVBAR RESPONSIVE OVERRIDES (PIXEL-PERFECT FINAL REFINE)
   ========================================================================== */

/* Desktop (1281px+) */
@media (min-width: 1281px) {
    .home {
        height: 100vh !important;
        min-height: 700px !important;
        max-height: 1080px !important;
    }
    .home-bg img {
        object-position: center center !important;
    }
    .home-content {
        top: 16% !important;
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    .hero-title {
        font-size: clamp(28px, 3vw, 42px) !important;
        max-width: 900px !important;
    }
    .hero-tagline {
        font-size: clamp(9px, 0.8vw, 11px) !important;
    }
    .hero-floating-box {
        position: absolute !important;
        left: 50% !important;
        bottom: 40px !important;
        transform: translateX(-50%) !important;
        width: 90% !important;
        max-width: 1100px !important;
        background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,255,255,0.88)) !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 20px 28px !important;
        gap: 28px !important;
    }
    .hero-box-left {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        text-align: left !important;
        gap: 20px !important;
    }
    .hero-box-buttons {
        display: flex !important;
        flex-direction: row !important;
        gap: 16px !important;
        margin-top: 12px !important;
    }
    .hero-box-stats {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 24px !important;
    }
    .premium-divider {
        display: block !important;
    }
    .logo-top {
        left: 60px !important;
        top: 20px !important;
    }
    .logo-top img {
        width: 70px !important;
    }
    .logo-text {
        font-size: 14px !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        white-space: nowrap !important;
    }
    .logo-text-main {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        white-space: nowrap !important;
    }
    .brand-svm {
        display: inline !important;
    }
    .logo-text-mid {
        display: inline !important;
    }
    .logo-text-tail {
        display: inline !important;
    }
    .glass-nav {
        top: 45px !important;
    }
    .glass-nav label {
        padding: 6px 18px !important;
        font-size: 13px !important;
    }
}

/* Tablet & Laptop (769px–1280px) */
@media (max-width: 1280px) and (min-width: 769px) {
    .home {
        height: 100vh !important;
        min-height: 650px !important;
        max-height: 900px !important;
    }
    .home-content {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    .hero-tagline {
        font-size: clamp(9px, 0.8vw, 11px) !important;
    }
    .hero-floating-box {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 90% !important;
        background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,255,255,0.88)) !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 16px 24px !important;
        gap: 20px !important;
    }
    .hero-box-left {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        text-align: left !important;
        gap: 16px !important;
    }
    .hero-box-buttons {
        display: flex !important;
        flex-direction: row !important;
        gap: 12px !important;
        margin-top: 10px !important;
    }
    .hero-box-stats {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 20px !important;
    }
    .premium-divider {
        display: block !important;
    }
    .logo-top {
        left: clamp(20px, 3vw, 40px) !important;
        top: clamp(15px, 2vw, 25px) !important;
    }
    .logo-top img {
        width: clamp(48px, 5vw, 62px) !important;
    }
    .glass-nav {
        top: clamp(20px, 3vw, 35px) !important;
    }
    .glass-nav label {
        padding: clamp(4px, 1vw, 6px) clamp(8px, 1.2vw, 15px) !important;
        font-size: clamp(11px, 1.1vw, 12.5px) !important;
    }

    /* Sub-query: Laptop (1025px–1280px) */
    @media (min-width: 1025px) {
        .home-bg img {
            object-position: center center !important;
        }
        .home-content {
            top: 15% !important;
        }
        .hero-title {
            font-size: clamp(28px, 2.5vw, 36px) !important;
        }
        .hero-floating-box {
            max-width: 950px !important;
            bottom: 30px !important;
        }
        .logo-text {
            font-size: 13px !important;
            display: inline-flex !important;
            align-items: center !important;
            gap: 4px !important;
            white-space: nowrap !important;
        }
        .logo-text-main {
            display: inline-flex !important;
            align-items: center !important;
            gap: 4px !important;
            white-space: nowrap !important;
        }
        .brand-svm {
            display: inline !important;
        }
        .logo-text-mid {
            display: inline !important;
        }
        .logo-text-tail {
            display: inline !important;
        }
    }

    /* Sub-query: Tablet (769px–1024px) */
    @media (max-width: 1024px) {
        .home-bg img {
            object-position: center 35% !important;
        }
        .home-content {
            top: 13% !important;
        }
        .hero-title {
            font-size: clamp(24px, 2.8vw, 32px) !important;
        }
        .hero-floating-box {
            max-width: 720px !important;
            bottom: 30px !important;
        }
        /* Tablet Logo Wrapping: 2 Lines */
        .logo-text {
            display: flex !important;
            flex-direction: column !important;
            align-items: flex-start !important;
            gap: 0 !important;
            line-height: 1.15 !important;
            white-space: normal !important;
            font-size: 11px !important;
        }
        .logo-text-main {
            display: inline-flex !important;
            align-items: center !important;
            gap: 4px !important;
            white-space: nowrap !important;
        }
        .brand-svm {
            display: inline !important;
        }
        .logo-text-mid {
            display: inline !important;
        }
        .logo-text-tail {
            display: block !important;
            white-space: nowrap !important;
        }
        .logo-text strong {
            font-size: 13px !important;
        }
    }
}

/* Mobile & Small Mobile (0px–768px) */
@media (max-width: 768px) {
    .home {
        height: 100vh !important;
        height: 100dvh !important;
        min-height: 580px !important;
        max-height: 750px !important;
    }
    .home-content {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 90% !important;
    }
    .hero-tagline {
        font-size: clamp(9px, 0.8vw, 11px) !important;
        margin-top: 45px !important
    }
    .hero-floating-box {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 92% !important;
        background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,255,255,0.88)) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 14px 18px !important;
        gap: 12px !important;
    }
    .hero-box-left {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        text-align: left !important;
        gap: 14px !important;
    }
    .hero-home-wrap {
        flex-shrink: 0 !important;
    }
    .hero-box-text {
        font-size: clamp(11.5px, 3.2vw, 13px) !important;
        line-height: 1.35 !important;
        text-align: left !important;
        margin-bottom: 8px !important;
    }

    
    .hero-box-buttons {
        display: flex !important;
        flex-direction: row !important;
        gap: 10px !important;
        justify-content: start !important;
    }
    .cta-glow-btn, .call-btn {
        padding: 8px 14px !important;
        font-size: clamp(10px, 2.8vw, 11px) !important;
        white-space: nowrap !important;
    }
    .hero-box-stats {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
        padding-top: 10px !important;
    }
    .premium-divider {
        display: none !important;
    }
    
    /* Mobile Stats: Icon Left, Number + Label Right (Stacked) */
    .premium-stat-card {
        display: grid !important;
        grid-template-columns: auto 1fr !important;
        grid-template-rows: auto auto !important;
        grid-template-areas: 
            "icon number"
            "icon label" !important;
        align-items: center !important;
        justify-content: start !important;
        column-gap: 12px !important;
        row-gap: 1px !important;
        min-width: 0 !important;
        text-align: left !important;
    }
    .premium-stat-card .premium-stat-icon {
        grid-area: icon !important;
        margin: 0 !important;
        width: 32px !important;
        height: 32px !important;
        border-radius: 10px !important;
    }
    .premium-stat-card .premium-stat-icon i {
        font-size: 13px !important;
    }
    .premium-stat-card h2 {
        grid-area: number !important;
        font-size: 18px !important;
        margin: 0 !important;
        text-align: left !important;
        line-height: 1.1 !important;
    }
    .premium-stat-card p {
        grid-area: label !important;
        font-size: 10px !important;
        margin: 0 !important;
        text-align: left !important;
        line-height: 1.1 !important;
        color: #4b5563 !important;
    }

    /* Logo Wrapping on Mobile: 3 Lines */
    .logo-top {
        left: 20px !important;
        top: 22px !important;
        position: fixed !important;
        z-index: 1002 !important;
        gap: 10px !important;
    }
    .logo-top img {
        width: 44px !important;
    }
    .logo-text {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0 !important;
        line-height: 1.1 !important;
        white-space: normal !important;
        font-size: 10px !important;
    }
    .logo-text-main {
        display: block !important;
        white-space: normal !important;
    }
    .brand-svm {
        display: block !important;
    }
    .logo-text-mid {
        display: block !important;
        white-space: nowrap !important;
    }
    .logo-text-tail {
        display: block !important;
        white-space: nowrap !important;
    }
    .logo-text strong {
        font-size: 12px !important;
    }

    /* Sub-query: Mobile standard (391px–768px) */
    @media (min-width: 391px) {
        .home-bg img {
            object-position: center 30% !important;
        }
        .home-content {
            top: 11% !important;
        }
        .hero-title {
            font-size: clamp(20px, 4vw, 28px) !important;
        }
        .hero-floating-box {
            max-width: 380px !important;
            bottom: 20px !important;
        }
    }

    /* Sub-query: Small Mobile (max-width: 390px) */
    @media (max-width: 390px) {
        .home-bg img {
            object-position: center 25% !important;
        }
        .home-content {
            top: 10% !important;
        }
        .hero-title {
            font-size: clamp(18px, 5vw, 24px) !important;
        }
        .hero-floating-box {
            max-width: 340px !important;
            bottom: 15px !important;
        }
    }
}

/* ==========================================================================
   FLOATING BUTTONS RESPONSIVE OVERRIDES
   ========================================================================== */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    /* Tablet Scroll-To-Top Visibility Fix */
    .scroll-top-btn {
        position: fixed !important;
        width: 48px !important;
        height: 48px !important;
        bottom: 30px !important;
        right: 30px !important;
        z-index: 100000 !important;
    }
    /* Tablet WhatsApp Visibility Fix */
    .whatsapp-float-btn {
        position: fixed !important;
        width: 48px !important;
        height: 48px !important;
        bottom: 30px !important;
        left: 30px !important;
        border-radius: 50% !important;
        z-index: 100000 !important;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    /* Tablet Scroll-To-Top Visibility Fix */
    .scroll-top-btn {
        position: fixed !important;
        width: 44px !important;
        height: 44px !important;
        bottom: 24px !important;
        right: 24px !important;
        z-index: 100000 !important;
    }
    /* Tablet WhatsApp Visibility Fix */
    .whatsapp-float-btn {
        position: fixed !important;
        width: 44px !important;
        height: 44px !important;
        bottom: 24px !important;
        left: 24px !important;
        border-radius: 50% !important;
        z-index: 100000 !important;
    }
}

/* ==========================================================================
   13. ULTRA-SMALL MOBILE DEVICES (max-width: 320px)
   ========================================================================== */
@media (max-width: 320px) {
    .hero-title {
        /* 320px Hero Title Size */
        font-size: 14px !important;
    }

    .hero-tagline {
        /* 320px Hero Tagline Size */
        font-size: 7.5px !important;
        letter-spacing: 0.5px !important;
    }

    .hero-box-buttons button {
        /* 320px Equal Button Width Fix */
        flex: 1 !important;
        max-width: 120px !important;
        width: auto !important;

        /* 320px Equal Button Height Fix */
        height: 32px !important;
        padding: 0 !important;
        font-size: 10px !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .hero-box-buttons button .text {
        font-size: 10px !important;
        line-height: 1 !important;
    }

    .hero-box-buttons a.call-btn {
        /* 320px Match Call Us Now Button Size To Schedule Visit */
        font-size: 10px !important;
        height: 32px !important;
        padding: 0 !important;
        width: auto !important;
        max-width: 120px !important;
        flex: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* ==========================================================================
   14. FOLDABLE / NARROW MOBILE (321px - 360px)
   ========================================================================== */
@media (min-width: 321px) and (max-width: 360px) {
    .home-content {
        /* 344px Hero Content Position Fix */
        top: 8% !important;
    }

    .hero-box-buttons button {
        /* 344px Floating Button Size Fix */
        flex: 1 !important;
        max-width: 130px !important;
        width: auto !important;
        height: 34px !important;
        padding: 0 !important;
        font-size: 11px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .hero-box-buttons button .text {
        font-size: 11px !important;
        line-height: 1 !important;
    }

    .hero-box-buttons a.call-btn {
        /* 344px Floating Button Size Fix */
        flex: 1 !important;
        max-width: 130px !important;
        width: auto !important;
        height: 34px !important;
        padding: 0 !important;
        font-size: 11px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* LANDSCAPE STABILIZATION
   Prevent layout breaking when devices are rotated */
@media screen and (orientation: landscape) and (max-height: 500px) {
    .home {
        height: auto !important;
        min-height: 580px !important;
        padding: 100px 20px 40px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
    }

    .home-content {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 0 auto 20px auto !important;
        width: 100% !important;
        max-width: 580px !important;
    }

    .hero-title {
        font-size: clamp(18px, 4vw, 24px) !important;
        white-space: nowrap !important;
        max-width: none !important;
    }

    .hero-tagline {
        font-size: clamp(8px, 1.8vw, 9px) !important;
        white-space: nowrap !important;
        max-width: none !important;
    }

    .hero-floating-box {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 0 auto !important;
        width: 90% !important;
        max-width: 440px !important;
        height: auto !important;
        min-height: auto !important;
    }
}

/* Mobile Viewport / Safe-Area Gap Fix */
@media (max-width: 768px) {
    html {
        background-color: #0c1511 !important;
    }
    body {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    .home {
        margin-top: 0 !important;
        padding-top: calc(100px + env(safe-area-inset-top, 0px)) !important;
    }
}

/* ==========================================================================
   PREMIUM ANNOUNCEMENT POPUP RESPONSIVE
   ========================================================================== */

/* 1. Large Screens & Desktops (1920, 1600, 1440, 1280, 1100, 1024) */
@media (min-width: 1024px) {
    .announcement-modal {
        max-width: 32rem;
        width: 90%;
    }
}

/* 2. Tablets (992, 820, 768) */
@media (max-width: 1023px) and (min-width: 768px) {
    .announcement-modal {
        max-width: 28rem;
        width: 90%;
    }
    .announcement-close {
        top: 0.85rem;
        right: 0.85rem;
        width: 2.35rem;
        height: 2.35rem;
        font-size: 1.4rem;
    }
}

/* 3. Mobile (640, 480, 430, 414, 390, 375) */
@media (max-width: 767px) {
    .announcement-modal {
        width: 92% !important;
        max-width: 24rem;
    }
    .announcement-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 2.25rem;
        height: 2.25rem;
        font-size: 1.3rem;
    }
}

/* 4. Small Mobile (360, 320) */
@media (max-width: 360px) {
    .announcement-modal {
        width: 94% !important;
        max-width: 18.5rem;
    }
    .announcement-close {
        top: 0.6rem;
        right: 0.6rem;
        width: 2rem;
        height: 2rem;
        font-size: 1.15rem;
    }
}

/* 5. Large Screens (1280px and above) */
@media (min-width: 1280px) {
    .announcement-modal {
        width: fit-content;
        max-width: fit-content;
        padding: 0;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
    }

    .announcement-image {
        width: auto;
        height: auto;
        max-width: 100%;
        display: block;
    }
}

/* Fix Contact Us section alignment in the footer on mobile and tablet */
@media (max-width: 1024px) {
    .lux-footer .footer-col:nth-child(2) {
        justify-self: start !important;
        margin-left: 0 !important;
    }
    .lux-footer .footer-col:nth-child(2) p {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
    }
    .lux-footer .footer-col:nth-child(2) p i {
        width: 16px !important;
        text-align: center !important;
        flex-shrink: 0 !important;
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
}

/* Tablet & Small Laptop About Section Image Card Fix */
@media (min-width: 481px) and (max-width: 1280px) {
    .about-image {
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
    }
    .about-image img {
        width: 100% !important;
        height: 100% !important;
        top: 0 !important;
        left: 0 !important;
        object-fit: contain !important;
        object-position: center center !important;
    }
}

@media (min-width: 481px) and (max-width: 900px) {
    .about-image-box {
        max-width: 380px !important;
        width: 100% !important;
        margin: 0 auto !important;
    }
}

/* ==========================================================================
   LAPTOP HERO SECTION OPTIMIZATION (1200px - 1600px)
   ========================================================================== */
@media (min-width: 1200px) and (max-width: 1600px) {
    /* Hero container & content positioning */
    section.home .home-content {
        top: 18% !important;
    }
    
    /* Tagline */
    section.home .hero-tagline {
        font-size: clamp(9px, 0.75vw, 10px) !important;
        margin-bottom: 8px !important;
    }
    
    /* Title & green underline */
    section.home .hero-title {
        font-size: clamp(24px, 2.1vw, 34px) !important;
        line-height: 1.1 !important;
        margin: 0 auto 12px !important;
    }
    section.home .hero-green::after {
        bottom: -6px !important;
        height: 6px !important;
    }
    
    /* Floating Box main container */
    section.home .hero-floating-box {
        bottom: 30px !important;
        width: 76% !important;
        max-width: 980px !important;
        padding: 12px 20px !important;
        gap: 16px !important;
        border-radius: 28px !important;
    }
    
    /* Floating Box - Left Section */
    section.home .hero-box-left {
        min-width: 300px !important;
        gap: 12px !important;
    }
    
    /* Floating Box - Home Icon Wrap */
    section.home .hero-home-icon {
        width: 44px !important;
        height: 44px !important;
        border-radius: 14px !important;
    }
    section.home .hero-home-icon i {
        font-size: 18px !important;
    }
    section.home .hero-home-ring {
        inset: -6px !important;
        border-radius: 18px !important;
    }
    
    /* Floating Box - Content Wrap */
    section.home .hero-box-content {
        gap: 8px !important;
    }
    
    /* Floating Box - Description text */
    section.home .hero-box-text {
        font-size: 13px !important;
        line-height: 1.35 !important;
        max-width: 250px !important;
    }
    
    /* Floating Box - Buttons Wrap */
    section.home .hero-box-buttons {
        gap: 8px !important;
    }
    
    /* Floating Box - CTA & Call Buttons */
    section.home .cta-glow-btn {
        padding: 8px 14px !important;
    }
    section.home .cta-glow-btn .text {
        font-size: 11.5px !important;
    }
    section.home .call-btn {
        padding: 8px 14px !important;
        font-size: 11.5px !important;
    }
    
    /* Floating Box - Right Stats Section */
    section.home .hero-box-stats {
        gap: 12px !important;
    }
    
    /* Floating Box - Premium Stat Card */
    section.home .premium-stat-card {
        min-width: 100px !important;
    }
    section.home .premium-stat-icon {
        width: 36px !important;
        height: 36px !important;
        margin: 0 auto 8px !important;
        border-radius: 10px !important;
    }
    section.home .premium-stat-icon i {
        font-size: 15px !important;
    }
    section.home .premium-stat-card h2 {
        font-size: 24px !important;
        margin-bottom: 4px !important;
    }
    section.home .premium-stat-card p {
        font-size: 9.5px !important;
        line-height: 1.3 !important;
    }
    
    /* Floating Box - Premium Divider */
    section.home .premium-divider {
        height: 48px !important;
    }
}

/* ==========================================================================
   LAPTOP HERO SECTION OPTIMIZATION (1024px - 1200px)
   ========================================================================== */
@media (min-width: 1024px) and (max-width: 1200px) {
    /* Hero container & content positioning */
    section.home .home-content {
        top: 23% !important;
        max-width: 550px !important;
    }
    
    /* Tagline */
    section.home .hero-tagline {
        font-size: clamp(8.5px, 0.7vw, 9.5px) !important;
        margin-bottom: 6px !important;
    }
    
    /* Title & green underline */
    section.home .hero-title {
        font-size: clamp(21px, 2vw, 30px) !important;
        line-height: 1.1 !important;
        margin: 0 auto 10px !important;
    }
    section.home .hero-green::after {
        bottom: -5px !important;
        height: 5px !important;
    }
    
    /* Floating Box main container */
    section.home .hero-floating-box {
        bottom: 50px !important;
        width: 80% !important;
        max-width: 900px !important;
        padding: 10px 16px !important;
        gap: 12px !important;
        border-radius: 24px !important;
        background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,255,255,0.88)) !important;
    }
    
    /* Floating Box - Left Section */
    section.home .hero-box-left {
        min-width: unset !important;
        flex: 1.15 !important;
        gap: 10px !important;
    }
    
    /* Floating Box - Home Icon Wrap */
    section.home .hero-home-icon {
        width: 38px !important;
        height: 38px !important;
        border-radius: 12px !important;
    }
    section.home .hero-home-icon i {
        font-size: 15px !important;
    }
    section.home .hero-home-ring {
        inset: -5px !important;
        border-radius: 15px !important;
    }
    
    /* Floating Box - Content Wrap */
    section.home .hero-box-content {
        gap: 6px !important;
    }
    
    /* Floating Box - Description text */
    section.home .hero-box-text {
        font-size: 12px !important;
        line-height: 1.3 !important;
        max-width: 210px !important;
    }
    
    /* Floating Box - Buttons Wrap */
    section.home .hero-box-buttons {
        gap: 6px !important;
    }
    
    /* Floating Box - CTA & Call Buttons */
    section.home .cta-glow-btn {
        padding: 7px 12px !important;
    }
    section.home .cta-glow-btn .text {
        font-size: 10.5px !important;
    }
    section.home .call-btn {
        padding: 7px 12px !important;
        font-size: 10.5px !important;
    }
    
    /* Floating Box - Right Stats Section */
    section.home .hero-box-stats {
        border-left: none !important;
        padding-left: 0 !important;
        gap: 10px !important;
        flex: 1 !important;
    }
    
    /* Floating Box - Premium Stat Card */
    section.home .premium-stat-card {
        min-width: 80px !important;
        flex: 1 !important;
    }
    section.home .premium-stat-icon {
        width: 30px !important;
        height: 30px !important;
        margin: 0 auto 6px !important;
        border-radius: 8px !important;
    }
    section.home .premium-stat-icon i {
        font-size: 13px !important;
    }
    section.home .premium-stat-card h2 {
        font-size: 20px !important;
        margin-bottom: 3px !important;
    }
    section.home .premium-stat-card p {
        font-size: 9px !important;
        line-height: 1.25 !important;
    }
    
    /* Floating Box - Premium Divider */
    section.home .premium-divider {
        display: block !important;
        height: 36px !important;
    }
}

/* ==========================================================================
   LARGE DESKTOP TYPOGRAPHY OPTIMIZATION (1601px - 1919px)
   ========================================================================== */
@media (min-width: 1601px) and (max-width: 1919px) {
    /* Hero Title */
    section.home .hero-title {
        font-size: clamp(24px, 2.4vw, 36px) !important;
    }
    
    /* Hero Tagline */
    section.home .hero-tagline {
        font-size: clamp(9px, 0.75vw, 10px) !important;
    }
}





