/**
 * Willdave Laboratories Custom Brand Styling
 * Colors: Willdave Blue (#0284c7, #0369a1), Willdave Red (#b31b2c)
 */

:root {
    --wd-primary: #0284c7;
    --wd-primary-dark: #0369a1;
    --wd-accent-red: #b31b2c;
    --wd-accent-red-hover: #991b1b;
    --wd-dark: #0f172a;
    --wd-slate: #1e293b;
    --wd-light-bg: #f8fafc;
}

body {
    background-color: #ffffff;
    font-family: 'Poppins', sans-serif;
    color: #475569;
    overflow-x: hidden;
}

/* ========================================================
   TOP BAR (Customer facing contacts only)
   ======================================================== */
.top-bar {
    background-color: #0b192c;
    color: #cbd5e1;
    font-size: 13px;
    padding: 10px 0;
    border-bottom: 2px solid var(--wd-primary);
    position: relative;
    z-index: 1001;
}
.top-bar a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s ease;
}
.top-bar a:hover {
    color: var(--wd-primary);
}
.top-bar .separator {
    color: #475569;
    margin: 0 12px;
}
.top-bar-contact {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.top-bar-contact i {
    margin-right: 5px;
}

/* ========================================================
   HEADER & NAVIGATION (High Specificity to override Mexant)
   ======================================================== */
html body header.header-area {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    background-image: none !important;
    height: 85px !important;
    min-height: 85px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    z-index: 99999 !important;
    padding: 0 !important;
}

html body header.header-area .main-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 85px !important;
    min-height: 85px !important;
    background: transparent !important;
    position: relative;
}

html body header.header-area .main-nav .logo {
    display: flex !important;
    align-items: center !important;
    height: 85px !important;
    line-height: normal !important;
    float: none !important;
}

html body header.header-area .main-nav .logo img {
    height: 58px !important;
    width: auto !important;
    max-height: 58px !important;
    object-fit: contain;
}

/* --------------------------------------------------------
   DESKTOP NAVIGATION (>= 992px)
   -------------------------------------------------------- */
@media (min-width: 992px) {
    .mobile-nav-toggle-wrap,
    .menu-trigger {
        display: none !important;
    }

    html body header.header-area .main-nav ul.nav {
        display: flex !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        gap: 8px !important;
        list-style: none !important;
    }

    html body header.header-area .main-nav ul.nav li {
        padding: 0 !important;
        margin: 0 !important;
        display: inline-block !important;
    }

    html body header.header-area .main-nav ul.nav li a {
        display: inline-block !important;
        color: #0f172a !important; /* CRITICAL: 100% VISIBLE DARK SLATE ON WHITE */
        font-weight: 600 !important;
        font-size: 14px !important;
        padding: 9px 13px !important;
        height: auto !important;
        line-height: normal !important;
        border-radius: 6px !important;
        text-decoration: none !important;
        background: transparent !important;
        transition: all 0.2s ease !important;
        letter-spacing: 0.2px !important;
    }

    html body header.header-area .main-nav ul.nav li a:hover,
    html body header.header-area .main-nav ul.nav li a.active {
        color: #0284c7 !important; /* WILLDAVE BLUE */
        background-color: #f0f9ff !important;
    }

    /* Cart Nav Button Desktop */
    html body header.header-area .main-nav ul.nav li a.btn-cart-nav {
        background-color: #f1f5f9 !important;
        color: #0f172a !important;
        border: 1px solid #cbd5e1 !important;
        padding: 9px 14px !important;
        font-weight: 700 !important;
        border-radius: 6px !important;
        display: inline-flex !important;
        align-items: center !important;
    }

    html body header.header-area .main-nav ul.nav li a.btn-cart-nav:hover,
    html body header.header-area .main-nav ul.nav li a.btn-cart-nav.active {
        background-color: #0284c7 !important;
        color: #ffffff !important;
        border-color: #0284c7 !important;
    }

    /* REQUEST QUOTE BUTTON (LAST CHILD) */
    html body header.header-area .main-nav ul.nav li a.btn-quote-nav,
    html body header.header-area .main-nav ul.nav li:last-child a {
        background-color: #b31b2c !important; /* WILLDAVE CRIMSON RED */
        color: #ffffff !important;
        padding: 10px 18px !important;
        font-weight: 700 !important;
        border-radius: 6px !important;
        box-shadow: 0 4px 12px rgba(179, 27, 44, 0.3) !important;
    }

    html body header.header-area .main-nav ul.nav li a.btn-quote-nav:hover,
    html body header.header-area .main-nav ul.nav li:last-child a:hover {
        background-color: #991b1b !important;
        color: #ffffff !important;
    }
}

/* --------------------------------------------------------
   MOBILE & TABLET NAVIGATION (< 992px)
   -------------------------------------------------------- */
@media (max-width: 991.98px) {
    html body header.header-area {
        height: 75px !important;
        min-height: 75px !important;
    }

    html body header.header-area .main-nav {
        height: 75px !important;
        min-height: 75px !important;
        overflow: visible !important;
    }

    html body header.header-area .main-nav .logo img {
        height: 48px !important;
        max-height: 48px !important;
    }

    /* Mobile Quick Actions (Cart + Hamburger) */
    .mobile-nav-toggle-wrap {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .mobile-header-cart {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        background: #f1f5f9;
        border: 1px solid #cbd5e1;
        border-radius: 50%;
        color: #0b192c;
        font-size: 16px;
        text-decoration: none !important;
        transition: all 0.2s ease;
    }

    .mobile-header-cart:hover,
    .mobile-header-cart:focus {
        background: #0284c7;
        color: #ffffff;
        border-color: #0284c7;
    }

    .mobile-cart-badge {
        position: absolute;
        top: -4px;
        right: -6px;
        font-size: 10px !important;
        font-weight: 800;
        padding: 3px 6px !important;
        border: 2px solid #ffffff;
        background-color: #0284c7 !important;
    }

    /* Hamburger Menu Trigger - Sharp Dark Bars */
    .header-area .main-nav .menu-trigger {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        width: 32px !important;
        height: 32px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        cursor: pointer !important;
        margin: 0 !important;
        font-size: 0 !important;
        line-height: 0 !important;
        color: transparent !important;
        text-indent: -9999px !important;
        overflow: hidden !important;
        z-index: 100 !important;
    }

    .header-area .main-nav .menu-trigger span {
        display: block !important;
        width: 26px !important;
        height: 3px !important;
        background-color: #0b192c !important; /* Visible dark navy on white header! */
        border-radius: 2px !important;
        position: relative !important;
        font-size: 0 !important;
        line-height: 0 !important;
        color: transparent !important;
        text-indent: -9999px !important;
        overflow: hidden !important;
        transition: all 0.3s ease-in-out !important;
    }

    .header-area .main-nav .menu-trigger span::before,
    .header-area .main-nav .menu-trigger span::after {
        content: '' !important;
        display: block !important;
        width: 26px !important;
        height: 3px !important;
        background-color: #0b192c !important;
        border-radius: 2px !important;
        position: absolute !important;
        left: 0 !important;
        transition: all 0.3s ease-in-out !important;
    }

    .header-area .main-nav .menu-trigger span::before {
        top: -8px !important;
    }

    .header-area .main-nav .menu-trigger span::after {
        top: 8px !important;
    }

    /* Active Hamburger Animation (Transforms into X) */
    .header-area .main-nav .menu-trigger.active span {
        background-color: transparent !important;
    }

    .header-area .main-nav .menu-trigger.active span::before {
        top: 0 !important;
        transform: rotate(45deg) !important;
        background-color: #b31b2c !important;
    }

    .header-area .main-nav .menu-trigger.active span::after {
        top: 0 !important;
        transform: rotate(-45deg) !important;
        background-color: #b31b2c !important;
    }

    /* Mobile Dropdown Panel */
    html body header.header-area .main-nav ul.nav {
        position: absolute !important;
        top: 75px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: #ffffff !important;
        box-shadow: 0 15px 35px rgba(11, 25, 44, 0.18) !important;
        border-top: 1px solid #e2e8f0 !important;
        border-bottom: 3px solid #0284c7 !important;
        padding: 14px 18px 22px !important;
        margin: 0 !important;
        z-index: 999999 !important;
        display: none; /* jQuery slideToggle handles open/close */
        list-style: none !important;
        border-radius: 0 0 16px 16px !important;
        float: none !important;
    }

    /* OVERRIDE MEXANT HIDING LAST CHILD ON MOBILE */
    html body header.header-area .main-nav ul.nav li,
    html body header.header-area .main-nav ul.nav li:last-child {
        display: block !important;
        width: 100% !important;
        margin: 4px 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
    }

    html body header.header-area .main-nav ul.nav li a {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding: 12px 16px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        border-radius: 8px !important;
        color: #0f172a !important;
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        height: auto !important;
        line-height: normal !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
    }

    html body header.header-area .main-nav ul.nav li a:hover,
    html body header.header-area .main-nav ul.nav li a.active {
        color: #0284c7 !important;
        background-color: #e0f2fe !important;
        border-color: #bae6fd !important;
    }

    /* Mobile Nav Cart Item */
    html body header.header-area .main-nav ul.nav li a.btn-cart-nav {
        background: #eff6ff !important;
        border-color: #bfdbfe !important;
        color: #0369a1 !important;
        font-weight: 700 !important;
    }

    /* Mobile Nav Request Quote Button */
    html body header.header-area .main-nav ul.nav li a.btn-quote-nav,
    html body header.header-area .main-nav ul.nav li:last-child a {
        background: #b31b2c !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        text-align: center !important;
        justify-content: center !important;
        box-shadow: 0 4px 14px rgba(179, 27, 44, 0.3) !important;
        margin-top: 8px !important;
        padding: 14px 18px !important;
        border: none !important;
    }

    html body header.header-area .main-nav ul.nav li a.btn-quote-nav:hover,
    html body header.header-area .main-nav ul.nav li:last-child a:hover {
        background: #991b1b !important;
        color: #ffffff !important;
    }
}

/* ========================================================
   HERO BANNER & SLIDER
   ======================================================== */
.swiper-container {
    width: 100% !important;
    height: 600px !important;
    min-height: 520px !important;
    background-color: #0b192c !important;
    position: relative !important;
    overflow: hidden !important;
}

.swiper-slide {
    width: 100% !important;
    height: 600px !important;
    min-height: 520px !important;
    position: relative !important;
    overflow: hidden !important;
}

.swiper-slide .slide-inner {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center center !important;
    display: flex !important;
    align-items: center !important;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 25, 44, 0.92) 0%, rgba(11, 25, 44, 0.75) 55%, rgba(11, 25, 44, 0.4) 100%);
    z-index: 1;
}

.hero-content-box {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 20px 0;
}

.hero-content-box h2 {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 20px;
}

.hero-content-box h2 em {
    font-style: normal;
    color: #38bdf8;
}

.hero-content-box p {
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.hero-content-box .div-dec {
    width: 70px;
    height: 4px;
    background-color: var(--wd-primary);
    margin-bottom: 22px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Brand Buttons */
.btn-wd-primary {
    background-color: var(--wd-primary);
    color: #fff !important;
    border: 2px solid var(--wd-primary);
    border-radius: 6px;
    padding: 12px 26px;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-wd-primary:hover {
    background-color: var(--wd-primary-dark);
    border-color: var(--wd-primary-dark);
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.35);
}

.btn-wd-accent {
    background-color: var(--wd-accent-red);
    color: #fff !important;
    border: 2px solid var(--wd-accent-red);
    border-radius: 6px;
    padding: 12px 26px;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-wd-accent:hover {
    background-color: var(--wd-accent-red-hover);
    border-color: var(--wd-accent-red-hover);
    box-shadow: 0 4px 15px rgba(179, 27, 44, 0.35);
}

.btn-wd-whatsapp {
    background-color: #25d366;
    color: #fff !important;
    border: 2px solid #25d366;
    border-radius: 6px;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-wd-whatsapp:hover {
    background-color: #128c7e;
    border-color: #128c7e;
    color: #fff !important;
}

/* Swiper navigation buttons */
.swiper-button-next, .swiper-button-prev {
    color: #ffffff !important;
    background: rgba(11, 25, 44, 0.6);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: background 0.3s ease;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--wd-primary);
}
.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 18px;
    font-weight: 800;
}

/* ========================================================
   PRODUCT CARDS & CATALOG
   ======================================================== */
.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    border-color: #cbd5e1;
}
.product-card .card-thumb-wrap {
    height: 240px;
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 15px;
}
.product-card .card-thumb-wrap img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}
.product-card:hover .card-thumb-wrap img {
    transform: scale(1.06);
}
.product-card .category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(2, 132, 199, 0.95);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
}
.product-card .featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #f59e0b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
}
.product-card .card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-card .product-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.35;
}
.product-card .product-desc {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
}
.product-card .price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    margin-bottom: 14px;
}
.product-card .price-tag {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--wd-primary);
}
.product-card .action-row {
    display: flex;
    gap: 8px;
}
.product-card .action-row .btn {
    flex: 1;
    font-size: 12px;
    padding: 9px 8px;
    text-align: center;
    border-radius: 6px;
    font-weight: 600;
}

/* Category Filter Tabs */
.filter-button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 35px;
}
.filter-btn {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--wd-primary);
    border-color: var(--wd-primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: #25d366;
    color: #fff !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.5);
    z-index: 9999;
    transition: transform 0.3s ease;
    text-decoration: none;
}
.floating-whatsapp:hover {
    transform: scale(1.1);
}

/* ========================================================
   MAIN FOOTER (Harmonious Executive Dark Navy & Ice Cyan)
   ======================================================== */
footer.main-footer {
    background: linear-gradient(180deg, #0b192c 0%, #060e18 100%) !important;
    border-top: 3px solid #0284c7 !important;
    color: #cbd5e1 !important;
    padding: 65px 0 30px !important;
    font-size: 14px !important;
    text-align: left !important;
}

footer.main-footer .col-lg-4,
footer.main-footer .col-lg-2,
footer.main-footer .col-lg-3 {
    text-align: left !important;
}

footer.main-footer .footer-title {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    margin-bottom: 22px !important;
    padding-bottom: 10px !important;
    position: relative !important;
    display: inline-block !important;
    text-align: left !important;
}

footer.main-footer .footer-title::after {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 38px !important;
    height: 3px !important;
    background: #0284c7 !important;
    border-radius: 2px !important;
}

footer.main-footer .footer-desc {
    color: #94a3b8 !important;
    line-height: 1.8 !important;
}

footer.main-footer .footer-badge {
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
}

footer.main-footer .footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
}

footer.main-footer .footer-social-btn:hover {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
    transform: translateY(-2px);
}

footer.main-footer .footer-links {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
    text-align: left !important;
}

footer.main-footer .footer-links li {
    margin-bottom: 11px !important;
    text-align: left !important;
}

footer.main-footer .footer-links li a {
    color: #94a3b8 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
}

footer.main-footer .footer-links li a:hover {
    color: #38bdf8 !important;
    transform: translateX(4px);
}

footer.main-footer .footer-link-arrow {
    color: #0284c7;
    font-size: 11px;
    transition: transform 0.2s ease;
}

footer.main-footer .footer-links li a:hover .footer-link-arrow {
    color: #38bdf8;
    transform: translateX(2px);
}

footer.main-footer .footer-contact-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

footer.main-footer .footer-contact-link {
    color: #e2e8f0 !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    font-size: 14px !important;
}

footer.main-footer .footer-contact-link:hover {
    color: #38bdf8 !important;
}

footer.main-footer .footer-wa-link {
    color: #4ade80 !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

footer.main-footer .footer-wa-link:hover {
    color: #86efac !important;
    text-decoration: underline !important;
}

footer.main-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin-top: 45px !important;
    padding-top: 25px !important;
}

/* ========================================================
   WOOCOMMERCE-INSPIRED PRODUCT STORE POLISH
   ======================================================== */
.product-card {
    border-radius: 10px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.product-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 24px rgba(11, 25, 44, 0.1) !important;
    border-color: #0284c7 !important;
}
.product-card .card-thumb-wrap {
    background-color: #f8fafc !important;
    border-bottom: 1px solid #f1f5f9 !important;
}
.product-card .product-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
    height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.product-card .price-tag {
    color: #0284c7 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    background: #f0f9ff !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    border: 1px solid #bae6fd !important;
}
.product-card .category-badge {
    background: #0284c7 !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}
.product-card .featured-badge {
    background: #b31b2c !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}

.category-filter-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

/* ========================================================
   INFINITE MOVING PARTNERS LOGO MARQUEE & TRACK RECORD
   ======================================================== */
.partner-marquee-section {
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    padding: 80px 0 70px;
}

.partner-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.partner-marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
}

.marquee-scroll-left {
    animation: partnerMarqueeLeft 42s linear infinite;
}

.marquee-scroll-right {
    animation: partnerMarqueeRight 42s linear infinite;
}

.partner-marquee-wrapper:hover .partner-marquee-track {
    animation-play-state: paused;
}

@keyframes partnerMarqueeLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes partnerMarqueeRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.partner-marquee-card {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 18px;
    min-width: 290px;
    max-width: 330px;
    box-shadow: 0 4px 14px rgba(11, 25, 44, 0.05);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    cursor: default;
}

.partner-marquee-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 28px rgba(2, 132, 199, 0.16);
    border-color: #0284c7;
    background: #ffffff;
}

.partner-crest-img {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    margin-right: 14px;
    object-fit: contain;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.partner-marquee-card:hover .partner-crest-img {
    transform: scale(1.1) rotate(2deg);
}

.partner-card-body {
    flex-grow: 1;
    min-width: 0;
}

.partner-card-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.partner-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
}

.partner-pill-type {
    background: #f0f9ff;
    color: #0284c7;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid #bae6fd;
    font-size: 10.5px;
}

.partner-pill-region {
    color: #64748b;
    font-weight: 500;
    font-size: 11px;
}

/* Stat Counters for Partners */
.partner-stat-pill {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    text-align: center;
    transition: transform 0.2s ease;
}

.partner-stat-pill:hover {
    transform: translateY(-3px);
    border-color: #0284c7;
}

.partner-stat-num {
    font-size: 28px;
    font-weight: 800;
    color: #0284c7;
    line-height: 1;
    margin-bottom: 4px;
}

.partner-stat-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.5px;
}

/* ========================================================
   E-COMMERCE CART NAVBAR & TOAST NOTIFICATION
   ======================================================== */
html body header.header-area .main-nav ul.nav li a.btn-cart-nav {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
    padding: 9px 14px !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    margin-right: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: all 0.25s ease !important;
}

html body header.header-area .main-nav ul.nav li a.btn-cart-nav:hover,
html body header.header-area .main-nav ul.nav li a.btn-cart-nav.active {
    background-color: #0284c7 !important;
    color: #ffffff !important;
    border-color: #0284c7 !important;
}

html body header.header-area .main-nav ul.nav li a.btn-cart-nav #nav-cart-badge {
    font-size: 11px;
    font-weight: 800;
    padding: 3px 7px;
    margin-left: 5px;
}

.cart-toast-banner {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: #0b192c;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.35);
    z-index: 999999;
    border: 1.5px solid #0284c7;
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
    opacity: 0;
    pointer-events: none;
    max-width: 90%;
    display: flex;
    align-items: center;
}

.cart-toast-banner.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* ========================================================
   EXECUTIVE LEADERSHIP CARDS (Headroom & Anti-Clipping)
   ======================================================== */
.executive-leader-card {
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.executive-leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(2, 132, 199, 0.14) !important;
}

.leader-photo-wrapper {
    width: 100%;
    height: 300px;
    background-color: #f8fafc;
    overflow: hidden;
    position: relative;
    border-bottom: 2px solid #e2e8f0;
}

.leader-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: top center !important; /* CRITICAL: Never crop head/hair at top */
    display: block;
    transition: transform 0.35s ease;
}

.executive-leader-card:hover .leader-photo-img {
    transform: scale(1.03);
}

@media (max-width: 575.98px) {
    .leader-photo-wrapper {
        height: 320px;
    }
}

/* ========================================================
   ANIMATED PAGE HEADING BANNER (Auto-Sliding Images, No Arrows)
   ======================================================== */
.page-heading.page-heading-animated {
    position: relative !important;
    overflow: hidden !important;
    padding: 130px 0 70px !important;
    background-color: #0b192c !important;
    background-size: cover !important;
    background-position: center center !important;
}

.page-heading-bg-slider {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

.page-heading-bg-slider .swiper-wrapper {
    height: 100% !important;
}

.page-heading-bg-slider .swiper-slide {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    overflow: hidden !important;
}

.page-heading-bg-slider .heading-slide-img {
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center center !important;
    transform: scale(1);
    transition: transform 7s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Subtle cinematic zoom during slide */
.page-heading-bg-slider .swiper-slide-active .heading-slide-img {
    transform: scale(1.06) !important;
}

.page-heading-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(135deg, rgba(11, 25, 44, 0.88) 0%, rgba(2, 132, 199, 0.72) 100%) !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

.page-heading-content {
    position: relative !important;
    z-index: 3 !important;
}

@media (max-width: 767.98px) {
    .page-heading.page-heading-animated {
        padding: 95px 0 45px !important;
    }
}

/* ========================================================
   CROSS-DEVICE & MOBILE RESPONSIVE ENHANCEMENTS
   (Desktops, Laptops, Tablets, iPhones, Android Devices)
   ======================================================== */

/* Prevent Horizontal Window Overflow */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(2, 132, 199, 0.15);
}

/* --------------------------------------------------------
   TABLETS & MEDIUM SCREENS (768px to 991.98px)
   -------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-content-box h2 {
        font-size: 34px !important;
        line-height: 1.3 !important;
    }
    .swiper-container, .swiper-slide {
        height: 520px !important;
        min-height: 480px !important;
    }
    .sticky-top {
        position: static !important;
    }
}

/* --------------------------------------------------------
   SMARTPHONES (iPhones & Androids: max-width: 767.98px)
   -------------------------------------------------------- */
@media (max-width: 767.98px) {
    /* Prevent iOS Safari input zoom by enforcing 16px font-size */
    input.form-control,
    input.custom-input,
    select.form-select,
    textarea.form-control {
        font-size: 16px !important;
    }

    /* Hero Banner Mobile Proportions */
    .swiper-container,
    .swiper-slide {
        height: auto !important;
        min-height: 460px !important;
    }

    .slide-inner {
        position: relative !important;
        padding: 50px 0 !important;
        min-height: 460px !important;
    }

    .hero-content-box {
        padding: 10px 0 20px !important;
        max-width: 100% !important;
    }

    .hero-content-box h2 {
        font-size: 26px !important;
        line-height: 1.3 !important;
        margin-bottom: 14px !important;
    }

    .hero-content-box p {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-bottom: 22px !important;
    }

    .hero-buttons {
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
    }

    .hero-buttons .btn {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 12px 18px !important;
    }

    /* Swiper Arrows: hidden on mobile phones (native swipe is supported) */
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }

    /* Page Heading Banner on Internal Pages */
    .page-heading {
        padding: 95px 0 45px !important;
    }

    .page-heading h1 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    .page-heading p {
        font-size: 13.5px !important;
    }

    /* Partner Marquee Scale on Phones */
    .partner-marquee-section {
        padding: 55px 0 45px !important;
    }

    .partner-marquee-card {
        min-width: 250px !important;
        max-width: 275px !important;
        padding: 10px 14px !important;
    }

    .partner-crest-img {
        width: 38px !important;
        height: 38px !important;
        margin-right: 10px !important;
    }

    .partner-card-name {
        font-size: 12.5px !important;
    }

    /* Stat Counters */
    .partner-stat-pill {
        padding: 12px 14px !important;
    }
    .partner-stat-num {
        font-size: 24px !important;
    }

    /* Product Cards Touch Action Row */
    .product-card .action-row {
        flex-direction: column !important;
        gap: 6px !important;
    }

    /* Sticky Elements on Mobile */
    .sticky-top {
        position: static !important;
        top: auto !important;
    }

    /* Main Footer on Mobile */
    .main-footer {
        padding: 45px 0 20px !important;
    }
    .main-footer .col-lg-4,
    .main-footer .col-lg-3,
    .main-footer .col-lg-2 {
        margin-bottom: 25px !important;
    }

    /* Floating WhatsApp Button on Mobile */
    .floating-whatsapp {
        bottom: 18px !important;
        right: 18px !important;
        width: 52px !important;
        height: 52px !important;
        font-size: 26px !important;
    }

    /* Category Filter Strip - Smooth Horizontal Swipe on Mobile */
    .category-filter-strip {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 8px !important;
        padding-bottom: 8px !important;
        margin-bottom: 12px !important;
        scrollbar-width: none !important;
    }
    .category-filter-strip::-webkit-scrollbar {
        display: none !important;
    }
    .category-filter-strip .btn {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    /* Cart Toast Banner on Mobile - Top Mounted to avoid WhatsApp Collision */
    .cart-toast-banner {
        top: 85px !important;
        bottom: auto !important;
        left: 50% !important;
        transform: translateX(-50%) translateY(-120px) !important;
        max-width: 94% !important;
        padding: 10px 16px !important;
        font-size: 13px !important;
        border-radius: 12px !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
    }
    .cart-toast-banner.show {
        transform: translateX(-50%) translateY(0) !important;
    }
}

/* --------------------------------------------------------
   EXTRA SMALL SCREENS (iPhone SE, compact Android: max-width: 480px)
   -------------------------------------------------------- */
@media (max-width: 480px) {
    .hero-content-box h2 {
        font-size: 22px !important;
    }
    .hero-content-box p {
        font-size: 13px !important;
    }
    .page-heading h1 {
        font-size: 21px !important;
    }
    .btn-signin {
        padding: 13px 18px !important;
        font-size: 14px !important;
    }
}
