/* ==========================================================================
   MOBILE MENU FIX — ye file header.php mein <style> block ke BAAD load hoti hai
   taake header ki inline desktop rules mobile ko override na karein
   ========================================================================== */
@media only screen and (max-width: 991px) {

    /* 1. Desktop menu mobile par hide (drawer wala clone use hota hai) */
    .header-bottom .nav-outer .main-menu,
    .header-bottom .main-menu.style1,
    .header-bottom .main-menu .navigation {
        display: none !important;
    }

    /* 2. Hamburger button blue bar par dikhe */
    .header-bottom .outer-box {
        height: 60px !important;
        flex-wrap: nowrap !important;
    }
    .header-bottom .mobile-nav-toggler {
        display: block !important;
        position: relative !important;
        cursor: pointer;
        z-index: 5;
    }
    .header-bottom .mobile-nav-toggler .inner {
        display: block !important;
        background: transparent !important;
        padding: 8px 4px !important;
    }
    .header-bottom .mobile-nav-toggler .icon-bar {
        display: block !important;
        width: 28px !important;
        height: 3px !important;
        background: #ffffff !important;
        margin: 5px 0 !important;
        border-radius: 2px;
    }
    .header-bottom .header-bottom_right { height: 60px !important; }
    .header-bottom .btn-one { padding: 8px 14px !important; font-size: 12px !important; }

    /* 3. Drawer hamesha sab se upar */
    .mobile-menu { z-index: 999999 !important; }

    /* 4. Drawer ke andar Manufacturing (mega menu) ke colors — blue background par readable */
    .mobile-menu .mega-title {
        color: #ffffff !important;
        border-bottom-color: rgba(255,255,255,.15) !important;
        margin-top: 15px !important;
        font-size: 14px !important;
    }
    .mobile-menu .mega-title i { color: var(--theme-red) !important; font-size: 20px !important; }
    .mobile-menu .mega-list li { margin-bottom: 4px !important; }
    .mobile-menu .mega-list li a {
        color: #d5d8f0 !important;
        font-size: 14px !important;
        display: block !important;
        padding: 8px 0 !important;
        border-bottom: none !important;
    }
    .mobile-menu .mega-list li a:hover { color: #ffffff !important; padding-left: 6px !important; }
    .mobile-menu .mega-footer { color: #ffffff !important; border-top-color: rgba(255,255,255,.15) !important; font-size: 14px !important; margin-top: 20px !important; }
    .mobile-menu .mega-menu { background: rgba(255,255,255,.06) !important; }
}


/* ==========================================================================
   GLOBAL (all pages)
   ========================================================================== */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
section[id] { scroll-margin-top: 80px; }
iframe { max-width: 100%; }
main img, section img { max-width: 100%; }

@media only screen and (max-width: 767px) {
    .footer-map-wrapper iframe { width: 100%; height: 220px; }
}
@media only screen and (max-width: 575px) {
    /* contact form: one field per row on phones */
    .levitating-contact-form input,
    .levitating-contact-form textarea { flex: 1 1 100% !important; }
    .levitating-contact-box { padding: 26px 16px !important; }
    .levitating-contact-box .left-content h2 { font-size: 20px; }
    .footer-bottom { justify-content: center !important; text-align: center; }
}
