/* ===================================================
   GLOBAL INITIALIZER & RESPONSIVE GRID LAYOUTS
=================================================== */
.footer-section, .whatsapp-chat-widget, .sticky-scroll-cta, .lead-popup-overlay {
    font-family: 'Poppins', 'Segoe UI', sans-serif !important;
    box-sizing: border-box;
}

.footer-section {
    background-color: #050d1a;
    color: #b0c4de;
    padding: 60px 0 0 0;
    font-size: 14px;
    line-height: 1.5;
    width: 100%;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 24px;
}

.footer-col {
    flex: 1;
    min-width: 170px;
    margin-bottom: 35px;
    padding: 0 10px;
}

.footer-col.brand-info {
    flex: 2.2;
    min-width: 290px;
}

.footer-logo { color: #ffffff; font-size: 25px; font-weight: 700; margin: 0; letter-spacing: 0.5px; }
.footer-logo span { color: #38b6ff; }
.tagline { font-size: 11px; color: #7f9bb6; margin: 3px 0 12px 0; }
.brand-desc { line-height: 1.6; margin-bottom: 25px; color: #9cb1c9; font-size: 13.5px; }

.footer-col h3 {
    color: #ffffff; font-size: 16px; font-weight: 600; margin-top: 0; margin-bottom: 22px;
    position: relative; padding-bottom: 8px;
}
.footer-col h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 35px; height: 2px; background-color: #38b6ff; }

.large-iso-logo { width: 85px; height: auto; margin-bottom: 8px; }
.iso-certification-box p { font-size: 12px; color: #9cb1c9; line-height: 1.4; margin: 0; }

.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; gap: 12px; align-items: flex-start; }
.contact-item i { color: #38b6ff; font-size: 15px; margin-top: 4px; }
.contact-item a { color: #b0c4de; text-decoration: none; }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #9cb1c9; text-decoration: none; display: flex; align-items: center; gap: 8px; transition: all 0.25s ease; font-size: 13.5px; }
.footer-links a i { font-size: 9px; color: #557291; }
.footer-links a:hover { color: #ffffff; padding-left: 4px; }

.footer-legal-bar { border-top: 1px solid rgba(255, 255, 255, 0.06); padding: 18px 20px; text-align: center; margin-top: 15px; }
.legal-links { color: #4a6482; font-size: 13px; }
.legal-links a { color: #9cb1c9; text-decoration: none; margin: 0 6px; }

.footer-copyright-bar {
    background-color: #030811; padding: 15px 20px; display: flex; flex-direction: row;
    align-items: center; justify-content: center; gap: 25px; width: 100%; box-sizing: border-box;
}
.copyright-text { font-size: 13px; color: #7f9bb6; margin: 0; }
.social-icons { display: flex; gap: 12px; justify-content: center; }
.social-icon { width: 35px; height: 35px; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: #ffffff; text-decoration: none; font-size: 15px; }
.social-icon.fb { background-color: #3b5998; }
.social-icon.insta { background-color: #e1306c; }
.social-icon.yt { background-color: #ff0000; }

/* ===================================================
   WHATSAPP INTEGRATION WIDGET
=================================================== */
.whatsapp-chat-widget {
    position: fixed; right: 15px; bottom: 18px; z-index: 999999;
    display: flex; flex-direction: column; align-items: flex-end;
}
.whatsapp-btn {
    width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 30px;
    text-decoration: none; box-shadow: 0 8px 25px rgba(0,0,0,0.22); flex-shrink: 0;
}
.whatsapp-popup {
    width: 320px; background: #ffffff; border-radius: 18px; overflow: hidden;
    margin-bottom: 12px; box-shadow: 0 10px 35px rgba(0,0,0,0.18); border: 1px solid #e2e8f0;
    display: none;
}
.whatsapp-chat-widget:hover .whatsapp-popup { display: block; }
.popup-header { background: #1e293b; padding: 14px; display: flex; align-items: center; gap: 10px; position: relative; }
.popup-avatar-img { width: 32px; height: 32px; border-radius: 50%; object-fit: contain; background: #fff; padding: 2px; border: 1px solid #e2e8f0; }
.popup-name { color: #fff; font-size: 15px; font-weight: 600; }
.popup-close { position: absolute; right: 12px; top: 10px; background: transparent; border: none; color: #fff; font-size: 22px; cursor: pointer; }
.popup-body { padding: 16px; background: #f8fafc; }
.popup-body p { margin: 0; background: #ffffff; padding: 12px 14px; border-radius: 14px; font-size: 14px; color: #1e293b; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }

/* ===================================================
   STICKY SCROLL BAR & POPUP MODAL CARDS DESIGNS (PC ONLY)
=================================================== */
.sticky-scroll-cta {
    position: fixed; bottom: -120px; left: 50%; transform: translateX(-50%);
    width: 90%; max-width: 900px; background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 100px;
    padding: 12px 35px; z-index: 99998; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cta-visible-active { bottom: 30px; }
.cta-content-wrapper { display: flex; align-items: center; justify-content: space-between; }
.cta-text-side { display: flex; align-items: center; gap: 12px; }
.live-pulse-dot { width: 9px; height: 9px; background-color: #25d366; border-radius: 50%; display: inline-block; animation: ctaPulseGlow 1.6s infinite; }
.cta-main-msg { color: #ffffff; font-size: 15px; font-weight: 600; margin: 0; }
.cta-sub-msg { color: #94a3b8; font-size: 12.5px; margin: 0; }
.cta-action-side { display: flex; gap: 12px; }

.btn-cta-action { padding: 10px 24px; border-radius: 50px; font-size: 13.5px; font-weight: 700; border: none; cursor: pointer; text-decoration: none !important; display: inline-flex; align-items: center; transition: all 0.25s ease; }
.btn-cta-callback { background-color: #ffffff; color: #0f172a !important; }
.btn-cta-callback:hover { background-color: #f1f5f9; transform: translateY(-2px); }

.btn-cta-call { background-color: #25d366 !important; color: #ffffff !important; box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25) !important; }
.btn-cta-call:hover { background-color: #128c7e !important; transform: translateY(-2px); }

.lead-popup-overlay {
    position: fixed; inset: 0; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px); z-index: 1000000; display: none; align-items: center; justify-content: center; padding: 20px;
}
.lead-popup-card { background: #ffffff; width: 100%; max-width: 430px; border-radius: 24px; padding: 35px 28px; position: relative; box-shadow: 0 25px 50px rgba(0,0,0,0.25); animation: modalPopEffect 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.close-popup-btn { position: absolute; top: 15px; right: 20px; background: none; border: none; font-size: 28px; color: #94a3b8; cursor: pointer; line-height: 1; }
.brand-icon-shell { width: 58px; height: 58px; background: #fff1f2; color: #e11d48; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; margin: 0 auto 15px; }
.popup-header-brand h4 { color: #0f172a; font-weight: 700; font-size: 20px; margin-bottom: 4px; }
.popup-header-brand p { color: #64748b; font-size: 13.5px; margin: 0; }
.custom-popup-input { border: 1px solid #cbd5e1 !important; padding: 11px 16px !important; border-radius: 12px !important; font-size: 14px !important; color: #0f172a !important; box-shadow: none !important; }
.custom-popup-input:focus { border-color: #e11d48 !important; box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.12) !important; }
.btn-submit-popup-lead { background-color: #e11d48; color: #ffffff; width: 100%; padding: 13px; font-weight: 700; font-size: 15px; border: none; border-radius: 12px; margin-top: 12px; display: flex; align-items: center; justify-content: center; cursor: pointer; }

@keyframes ctaPulseGlow { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
@keyframes modalPopEffect { from { transform: scale(0.92) translateY(15px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }

/* ===================================================
   ❌ MOBILE RE-ENGINEERED SHIELD BARRIER (MAX-WIDTH: 868PX)
=================================================== */
@media (max-width: 868px) {
    /* 1. Sticky Callback Popups aur Bottom Lead Bars Block */
    .sticky-scroll-cta, #stickyScrollCTA, .lead-popup-overlay, #leadFormPopup {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* 2. WhatsApp Main Message Text Pop-out Overlay Block */
    .whatsapp-chat-widget:hover .whatsapp-popup, .whatsapp-popup {
        display: none !important;
    }

    /* 3. STRICT POSITION LOCK: Quick Links waale saare columns ko gayab kiya index target se */
    /* Column 2 (Quick Links), Column 3 (Our Solutions), Column 4 (Industries We Serve), Column 5 (Why Choose Us) completely force hidden */
    .footer-container > .footer-col:nth-child(2),
    .footer-container > .footer-col:nth-child(3),
    .footer-container > .footer-col:nth-child(4),
    .footer-container > .footer-col:nth-child(5) {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* Standard Core Mobile Resets Alignment */
    .footer-container { 
        flex-direction: column !important; 
        padding: 0 20px !important; 
        gap: 15px !important;
    }
    
    .footer-col.brand-info { 
        width: 100% !important; 
        margin-bottom: 20px !important;
    }
    
    /* Last column (Certifications Block) positioning */
    .footer-container > .footer-col:nth-child(6) {
        width: 100% !important;
        margin-top: 10px !important;
        text-align: center !important;
    }
    
    .footer-col h3::after { left: 0; }
    .footer-copyright-bar { flex-direction: column; gap: 12px; padding: 20px 15px; text-align: center; }
    .whatsapp-chat-widget { right: 15px; bottom: 15px; }
    .whatsapp-btn { width: 54px; height: 54px; font-size: 26px; }
}