/* ==========================================================================
   MEGA MENUS (SERVICES & INDUSTRIES) - ASK DIGITAL AGENCY
   Approved Design Reference Implementation
   Dark Theme | Neon-Lime Accent (#98E209) | Wide Horizontal Card Layout
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOP NAVIGATION TRIGGER & ACTIVE STATE
   -------------------------------------------------------------------------- */
.services-nav-item,
.industries-nav-item {
    position: static !important;
}

.services-nav-link,
.industries-nav-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    font-size: 15px !important;
    transition: color 0.2s ease !important;
    cursor: pointer !important;
    position: relative !important;
    padding: 20px 14px !important;
}

.services-nav-arrow,
.industries-nav-arrow {
    display: inline-block;
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.2s ease;
    width: 11px;
    height: 11px;
    vertical-align: middle;
}

.services-nav-arrow path,
.industries-nav-arrow path {
    stroke: currentColor;
    stroke-width: 2;
}

/* --------------------------------------------------------------------------
   2. DESKTOP MEGA DROPDOWN CONTAINERS
   -------------------------------------------------------------------------- */
.services-desktop-mega,
.industries-desktop-mega {
    display: flex;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: calc(100vw - 44px);
    max-width: 1360px;
    background-color: #0b0c10;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.04);
    padding: 28px 32px;
    gap: 36px;
    align-items: flex-start;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.22s;
    box-sizing: border-box;
}

.industries-desktop-mega {
    width: calc(100vw - 44px);
    max-width: 1360px;
    min-width: 1100px;
}

/* The Invisible Hover Bridge - prevents cursor fall-off when moving from link to dropdown */
.services-desktop-mega::after,
.industries-desktop-mega::after {
    content: "";
    position: absolute;
    top: -24px;
    left: 0;
    width: 100%;
    height: 24px;
    background: transparent;
    display: block;
}

/* Upward indicator notches */
.services-mega-notch {
    position: absolute;
    top: -7px;
    left: var(--notch-x, 29.5%);
    transform: translateX(-50%) rotate(45deg);
    width: 13px;
    height: 13px;
    background-color: #0b0c10;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    z-index: 100000;
    pointer-events: none;
}

.industries-mega-notch {
    position: absolute;
    top: -7px;
    left: var(--industries-notch-x, 38.5%);
    transform: translateX(-50%) rotate(45deg);
    width: 13px;
    height: 13px;
    background-color: #0b0c10;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    z-index: 100000;
    pointer-events: none;
}

/* Desktop Hover & Active States */
@media (min-width: 1200px) {
    .services-nav-item:hover > .services-nav-link,
    .services-nav-item.menu-open > .services-nav-link,
    .industries-nav-item:hover > .industries-nav-link,
    .industries-nav-item.menu-open > .industries-nav-link {
        color: #98E209 !important;
    }

    .services-nav-item:hover .services-nav-arrow,
    .services-nav-item.menu-open .services-nav-arrow,
    .industries-nav-item:hover .industries-nav-arrow,
    .industries-nav-item.menu-open .industries-nav-arrow {
        transform: rotate(180deg);
        color: #98E209 !important;
    }

    .services-nav-item:hover .services-desktop-mega,
    .services-nav-item.menu-open .services-desktop-mega,
    .industries-nav-item:hover .industries-desktop-mega,
    .industries-nav-item.menu-open .industries-desktop-mega {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateX(-50%) translateY(0) !important;
    }
}

/* --------------------------------------------------------------------------
   3. LEFT SIDE — PROMOTIONAL PANELS (UNIFIED WITH MEGA MENU, NO DIVIDER LINE)
   -------------------------------------------------------------------------- */
.services-promo-card,
.industries-promo-card {
    flex: 0 0 240px;
    width: 240px;
    min-width: 240px;
    max-width: 240px;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: auto !important;
    height: auto !important;
    padding: 0 !important;
    box-sizing: border-box;
}

/* Background device mockup image faded softly */
.services-promo-bg,
.industries-promo-bg {
    position: absolute;
    right: -20px;
    top: 0;
    bottom: 0;
    width: 70%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left center;
    opacity: 0.12;
    mask-image: linear-gradient(to right, transparent 0%, black 80%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 80%);
    pointer-events: none;
    z-index: 1;
}

.services-promo-content,
.industries-promo-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 240px;
    height: auto;
}

.services-promo-tag,
.industries-promo-tag {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #828792;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.services-promo-heading,
.industries-promo-heading {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.2px;
    margin: 0 0 10px 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.services-promo-desc,
.industries-promo-desc {
    color: #8e93a0;
    font-size: 12px;
    line-height: 1.45;
    margin: 0 0 24px 0;
    max-width: 215px;
}

/* Compact, Refined One-Line Buttons - Guaranteed Never to Wrap */
.services-promo-btn,
.industries-promo-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    padding: 7px 14px !important;
    border-radius: 50px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    width: fit-content !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
    flex-shrink: 0 !important;
}

.services-promo-btn span,
.industries-promo-btn span {
    white-space: nowrap !important;
    line-height: 1 !important;
    display: inline-block !important;
}

.services-promo-btn .btn-arrow,
.industries-promo-btn .btn-arrow {
    display: inline-block !important;
    transition: transform 0.2s ease !important;
    font-size: 11px !important;
    line-height: 1 !important;
    margin-left: 2px !important;
}

.services-promo-btn:hover,
.industries-promo-btn:hover {
    border-color: #98E209 !important;
    color: #98E209 !important;
    background: rgba(152, 226, 9, 0.08) !important;
    box-shadow: 0 4px 16px rgba(152, 226, 9, 0.2) !important;
}

.services-promo-btn:hover .btn-arrow,
.industries-promo-btn:hover .btn-arrow {
    transform: translateX(3px) !important;
}

/* --------------------------------------------------------------------------
   4. RIGHT SIDE — CATEGORIES GRIDS (FEWEST → MOST FROM LEFT TO RIGHT)
   -------------------------------------------------------------------------- */
.services-categories-container {
    flex: 1;
    display: grid;
    /* 5 columns: 4 items, 4 items, 4 items, 5 items, 8 items */
    grid-template-columns: minmax(160px, 0.95fr) minmax(175px, 1.05fr) minmax(160px, 0.95fr) minmax(180px, 1.1fr) minmax(215px, 1.35fr);
    gap: 16px 28px;
    align-content: start;
    min-width: 0;
}

.industries-categories-container {
    flex: 1;
    display: grid;
    /* Balanced 4 columns: 6, 8, 8, 8 items */
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 16px 24px;
    align-content: start;
    min-width: 0;
}

.industries-subcols {
    display: grid;
    grid-template-columns: minmax(185px, 1.15fr) minmax(155px, 0.95fr);
    gap: 20px;
    align-items: start;
}

.services-cat-column,
.industries-cat-column {
    display: flex;
    flex-direction: column;
    position: relative;
    min-width: 0;
    /* Clean natural layout: no boxes, no dividers */
    border: none !important;
    padding: 0 !important;
    background: none !important;
}

/* Category Headings */
.services-cat-heading,
.industries-cat-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

/* Icons only on category headings */
.services-cat-icon,
.industries-cat-icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #98E209;
    flex-shrink: 0;
}

.services-cat-icon svg,
.industries-cat-icon svg {
    width: 16px;
    height: 16px;
    stroke: #98E209;
}

.services-cat-title,
.industries-cat-title {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.25;
    max-width: 100%;
}

/* Neon-lime subtle accent underline */
.services-cat-accent,
.industries-cat-accent {
    width: 18px;
    height: 2px;
    background-color: #98E209;
    border-radius: 2px;
    margin: 4px 0 10px 0;
}

/* Service & Industry text links list */
.services-list,
.industries-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.services-list li,
.industries-list li {
    margin: 0;
    padding: 0;
}

/* Scannable, Clean Links with Subtle Hover Effect */
.services-link,
.industries-link {
    display: inline-block;
    padding: 3.5px 0;
    color: #c9ccd5;
    font-size: 13.5px;
    font-weight: 450;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    white-space: nowrap;
}

.industries-link {
    white-space: normal;
    word-break: normal;
    max-width: 100%;
}

.services-link:hover,
.industries-link:hover {
    color: #98E209;
    transform: translateX(3px);
}

.services-link:focus-visible,
.industries-link:focus-visible {
    outline: 1px dashed #98E209;
    outline-offset: 2px;
    color: #98E209;
}

/* --------------------------------------------------------------------------
   5. RESPONSIVE BEHAVIOR (DESKTOP LAPTOPS, TABLETS, MOBILE)
   -------------------------------------------------------------------------- */
.services-mobile-menu,
.industries-mobile-menu {
    display: none;
}

/* Medium Desktop & Laptops (1200px - 1380px) */
@media (min-width: 1200px) and (max-width: 1380px) {
    .services-desktop-mega,
    .industries-desktop-mega {
        padding: 22px 24px;
        gap: 28px;
        width: calc(100vw - 28px);
    }
    .services-promo-card,
    .industries-promo-card {
        flex: 0 0 210px;
        width: 210px;
        min-width: 210px;
        max-width: 210px;
    }
    .services-promo-heading,
    .industries-promo-heading {
        font-size: 16px;
        line-height: 1.25;
    }
    .services-promo-desc,
    .industries-promo-desc {
        font-size: 11px;
        margin-bottom: 16px;
    }
    .services-promo-btn,
    .industries-promo-btn {
        font-size: 8.5px !important;
        padding: 6px 12px !important;
        gap: 5px !important;
    }
    /* Strictly maintain ALL 5 columns for Services */
    .services-categories-container {
        grid-template-columns: minmax(130px, 0.95fr) minmax(150px, 1.05fr) minmax(130px, 0.95fr) minmax(155px, 1.1fr) minmax(185px, 1.35fr);
        gap: 14px 18px;
    }
    .industries-desktop-mega {
        width: calc(100vw - 28px);
        max-width: 1320px;
        min-width: 1060px;
    }
    .industries-categories-container {
        grid-template-columns: repeat(4, minmax(155px, 1fr));
        gap: 12px 18px;
    }
    .industries-subcols {
        grid-template-columns: minmax(168px, 1.15fr) minmax(145px, 0.95fr);
        gap: 14px;
    }
    .services-cat-title,
    .industries-cat-title {
        font-size: 10.5px;
        letter-spacing: 0.6px;
    }
    .services-link,
    .industries-link {
        font-size: 12.5px;
        padding: 2.5px 0;
    }
}

/* Scroll Lock when Mobile Navigation Drawer is Open */
html.mobile-nav-lock,
body.mobile-nav-lock {
    overflow: hidden !important;
    height: 100% !important;
    touch-action: none !important;
    -webkit-overflow-scrolling: auto !important;
}

/* Hide floating contact widgets during mobile drawer open */
html.mobile-nav-lock .ask-contact-widget,
body.mobile-nav-lock .ask-contact-widget,
html.mobile-nav-lock .scroll-top,
body.mobile-nav-lock .scroll-top {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

body.mobile-nav-lock header,
body.mobile-nav-lock #header-wrap {
    z-index: 9999999 !important;
}

/* Hide Mobile Drawer on Desktop (>= 1200px) */
@media (min-width: 1200px) {
    .mobile-nav-drawer {
        display: none !important;
    }
}

/* ==========================================================================
   MOBILE NAVIGATION DRAWER (< 1200px) - EXACT REFERENCE DESIGN
   ========================================================================== */
@media (max-width: 1199px) {
    /* Hide desktop mega-dropdowns and desktop navbar entirely on mobile */
    .services-desktop-mega,
    .industries-desktop-mega,
    .desktop-navbar-nav {
        display: none !important;
    }

    /* Fixed Full-Screen Black Canvas */
    #navbarNav.navbar-collapse {
        position: fixed !important;
        inset: 0 !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: #000000 !important;
        z-index: 999999 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow: hidden !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex !important;
        flex-direction: column !important;
    }

    #navbarNav.navbar-collapse.show,
    #navbarNav.navbar-collapse.mobile-nav-open {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    /* Master Drawer Wrapper */
    .mobile-nav-drawer {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        height: 100% !important;
        background: #000000 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Header Bar: Logo & Close Button */
    .mobile-drawer-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 16px 20px 12px !important;
        padding-top: max(16px, env(safe-area-inset-top)) !important;
        background: #000000 !important;
        flex-shrink: 0 !important;
        z-index: 10 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
    }

    .mobile-drawer-logo {
        display: inline-flex !important;
        align-items: center !important;
        text-decoration: none !important;
    }

    .mobile-drawer-logo img {
        height: 38px !important;
        width: auto !important;
        max-width: 220px !important;
        object-fit: contain !important;
        display: block !important;
    }

    .mobile-drawer-close {
        background: transparent !important;
        border: none !important;
        padding: 6px !important;
        margin-right: -4px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        color: #ffffff !important;
        outline: none !important;
        border-radius: 50% !important;
        transition: transform 0.15s ease, opacity 0.15s ease !important;
    }

    .mobile-drawer-close:active {
        transform: scale(0.9) !important;
        opacity: 0.8 !important;
    }

    /* Back Bar: Hidden in 'main', visible in 'services' and 'industries' */
    .mobile-drawer-back-bar {
        display: none;
        padding: 6px 20px 8px !important;
        flex-shrink: 0 !important;
    }

    [data-mobile-state="services"] .mobile-drawer-back-bar,
    [data-mobile-state="industries"] .mobile-drawer-back-bar {
        display: flex !important;
    }

    .mobile-back-btn {
        background: transparent !important;
        border: none !important;
        padding: 4px 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        color: #ffffff !important;
        font-size: 15px !important;
        font-weight: 500 !important;
        cursor: pointer !important;
        outline: none !important;
        transition: color 0.15s ease, transform 0.15s ease !important;
    }

    .mobile-back-btn:active {
        color: #98E209 !important;
        transform: translateX(-3px) !important;
    }

    /* Scrollable Drawer Body */
    .mobile-drawer-body {
        flex: 1 1 auto !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 10px 20px 28px !important;
        padding-bottom: max(28px, env(safe-area-inset-bottom)) !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .mobile-drawer-body::-webkit-scrollbar {
        width: 3px;
    }
    .mobile-drawer-body::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.15);
        border-radius: 4px;
    }

    /* ==========================================================================
       STATE MANAGEMENT: data-mobile-state ("main" | "services" | "industries")
       ========================================================================== */

    /* Default (main): Expanded Cards are hidden */
    .mobile-nav-card {
        display: none !important;
    }

    /* Services state (Screen 2) */
    [data-mobile-state="services"] .mobile-item-home,
    [data-mobile-state="services"] .mobile-item-about,
    [data-mobile-state="services"] .mobile-item-services-trigger,
    [data-mobile-state="services"] .mobile-drawer-footer {
        display: none !important;
    }
    [data-mobile-state="services"] .mobile-services-card {
        display: block !important;
    }

    /* Industries state (Screen 3) */
    [data-mobile-state="industries"] .mobile-item-home,
    [data-mobile-state="industries"] .mobile-item-about,
    [data-mobile-state="industries"] .mobile-item-industries-trigger,
    [data-mobile-state="industries"] .mobile-drawer-footer {
        display: none !important;
    }
    [data-mobile-state="industries"] .mobile-industries-card {
        display: block !important;
    }
    /* When industries is open, Services trigger row appears above Industries card (matching Screen 3) */
    [data-mobile-state="industries"] .mobile-item-services-trigger {
        display: block !important;
        order: -1 !important;
    }

    /* ==========================================================================
       ROW ITEMS (Home, About, Triggers, Testimonial, Contact)
       ========================================================================== */
    .mobile-nav-item {
        width: 100% !important;
    }

    .mobile-nav-link,
    .mobile-nav-trigger {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 11px 6px !important;
        background: transparent !important;
        border: none !important;
        outline: none !important;
        text-decoration: none !important;
        color: #ffffff !important;
        cursor: pointer !important;
        border-radius: 10px !important;
        box-sizing: border-box !important;
        transition: background 0.15s ease, color 0.15s ease !important;
    }

    .mobile-nav-link:active,
    .mobile-nav-trigger:active {
        background: rgba(255, 255, 255, 0.05) !important;
    }

    .mobile-nav-trigger-left {
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
    }

    /* Squircle Icon Box (Rounded dark box) */
    .mobile-icon-box {
        width: 38px !important;
        height: 38px !important;
        background: #12151c !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 11px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        transition: border-color 0.2s ease, background 0.2s ease !important;
    }

    .mobile-icon-box svg {
        display: block !important;
    }

    .mobile-nav-label {
        font-size: 16.5px !important;
        font-weight: 600 !important;
        color: #ffffff !important;
        letter-spacing: -0.2px !important;
    }

    /* Chevrons */
    .mobile-chevron {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #727785 !important;
        flex-shrink: 0 !important;
        transition: transform 0.2s ease, color 0.2s ease !important;
    }

    .mobile-nav-link:hover .mobile-chevron,
    .mobile-nav-trigger:hover .mobile-chevron {
        color: #ffffff !important;
    }

    /* ==========================================================================
       EXPANDED SERVICES & INDUSTRIES CARDS (SCREEN 2 & SCREEN 3)
       ========================================================================== */
    .mobile-nav-card {
        background: #0b0e14 !important;
        border: 1px solid rgba(152, 226, 9, 0.4) !important;
        border-radius: 18px !important;
        padding: 14px 16px 16px !important;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8), 0 0 25px rgba(152, 226, 9, 0.08) !important;
        animation: mobileCardFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    @keyframes mobileCardFadeIn {
        from {
            opacity: 0;
            transform: translateY(-5px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Card Header */
    .mobile-card-header {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        background: transparent !important;
        border: none !important;
        padding: 2px 0 12px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        cursor: pointer !important;
        outline: none !important;
    }

    .mobile-card-header-left {
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
    }

    .mobile-card-title {
        font-size: 17px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        letter-spacing: -0.2px !important;
    }

    /* Card Categories (Rows) */
    .mobile-card-categories {
        display: flex !important;
        flex-direction: column !important;
    }

    .mobile-cat-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    }

    .mobile-cat-header {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 13px 4px !important;
        background: transparent !important;
        border: none !important;
        outline: none !important;
        cursor: pointer !important;
        text-align: left !important;
        transition: color 0.15s ease !important;
    }

    .mobile-cat-name {
        font-size: 14.5px !important;
        font-weight: 500 !important;
        color: #d1d5db !important;
        transition: color 0.15s ease !important;
    }

    .mobile-cat-chevron {
        color: #6b7280 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s !important;
    }

    .mobile-cat-item.is-open .mobile-cat-name {
        color: #98E209 !important;
        font-weight: 600 !important;
    }

    .mobile-cat-item.is-open .mobile-cat-chevron {
        transform: rotate(90deg) !important;
        color: #98E209 !important;
    }

    /* Nested Links Accordion Body */
    .mobile-cat-body {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .mobile-cat-item.is-open .mobile-cat-body {
        max-height: 800px !important;
    }

    .mobile-cat-links {
        list-style: none !important;
        margin: 0 !important;
        padding: 4px 6px 12px 12px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 3px !important;
    }

    .mobile-cat-links li {
        margin: 0 !important;
        padding: 0 !important;
    }

    .mobile-cat-links li a {
        display: block !important;
        padding: 8px 10px !important;
        font-size: 13.5px !important;
        font-weight: 500 !important;
        color: #9ca3af !important;
        text-decoration: none !important;
        border-radius: 6px !important;
        transition: all 0.15s ease !important;
    }

    .mobile-cat-links li a:active,
    .mobile-cat-links li a:hover {
        color: #98E209 !important;
        background: rgba(152, 226, 9, 0.08) !important;
        transform: translateX(4px) !important;
    }

    /* Outlined Card Action Button */
    .mobile-card-action {
        margin-top: 14px !important;
    }

    .mobile-card-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
        padding: 11px 16px !important;
        background: transparent !important;
        border: 1px solid #98E209 !important;
        border-radius: 50px !important;
        color: #ffffff !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
        box-sizing: border-box !important;
    }

    .mobile-card-btn:active {
        background: #98E209 !important;
        color: #000000 !important;
    }

    /* ==========================================================================
       DOWNLOAD BUTTON (FULL WIDTH NEON LIME)
       ========================================================================== */
    .mobile-download-wrap {
        width: 100% !important;
        margin-top: 8px !important;
    }

    .mobile-download-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
        padding: 13px 20px !important;
        background: #98E209 !important;
        color: #000000 !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        border-radius: 50px !important;
        text-decoration: none !important;
        border: none !important;
        box-sizing: border-box !important;
        box-shadow: 0 4px 15px rgba(152, 226, 9, 0.3) !important;
        transition: transform 0.15s ease, filter 0.15s ease !important;
    }

    .mobile-download-btn:active {
        transform: scale(0.98) !important;
        filter: brightness(0.9) !important;
    }

    /* ==========================================================================
       FOOTER: FOLLOW US & SOCIALS
       ========================================================================== */
    .mobile-drawer-footer {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 16px 4px 6px !important;
        margin-top: 14px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        flex-shrink: 0 !important;
    }

    .mobile-footer-label {
        font-size: 13.5px !important;
        font-weight: 500 !important;
        color: #9ca3af !important;
    }

    .mobile-footer-socials {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .mobile-social-icon {
        width: 34px !important;
        height: 34px !important;
        border-radius: 50% !important;
        background: #14171f !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #ffffff !important;
        font-size: 14px !important;
        text-decoration: none !important;
        transition: all 0.15s ease !important;
    }

    .mobile-social-icon:active {
        background: #98E209 !important;
        color: #000000 !important;
        border-color: #98E209 !important;
    }
}

/* ==========================================================================
   FLOATING CONTACT WIDGET (WHATSAPP & PHONE) - REBUILT
   Reference: Bird.co.uk floating contact architecture
   Aesthetics: Minimal | Compact | Precise | Quiet | Dark Luxury
   ========================================================================== */

/* Hide legacy scroll-top square */
.scroll-top {
    display: none !important;
}

/* Master Fixed Widget Container */
.ask-contact-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    pointer-events: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    animation: askWidgetEntrance 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}

.ask-contact-widget.pos-bottom-left {
    right: auto;
    left: 24px;
    align-items: flex-start;
}

/* 1. Phone Contact Element (Small Floating Surface) */
.ask-contact-phone {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #111216;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9px;
    padding: 7px 16px 7px 14px;
    min-width: 195px;
    box-sizing: border-box;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    user-select: none;
}

.ask-contact-phone:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.18);
    background-color: #16171d;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.ask-phone-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.ask-contact-phone:hover .ask-phone-icon {
    color: #ffffff;
}

.ask-phone-icon svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    display: block;
}

.ask-phone-details {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.25;
}

.ask-phone-label {
    font-size: 9.5px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 1.2;
}

.ask-phone-number {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.2px;
    line-height: 1.3;
}

/* 2. WhatsApp Contact Element (Clean White Message Block) */
.ask-contact-whatsapp {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 5px 5px 5px 18px;
    min-width: 246px;
    height: 50px;
    box-sizing: border-box;
    text-decoration: none !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
    user-select: none;
}

.ask-contact-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.ask-contact-phone:focus-visible,
.ask-contact-whatsapp:focus-visible {
    outline: 2px solid #25D366;
    outline-offset: 3px;
}

.ask-wa-message {
    font-size: 13.5px;
    font-weight: 600;
    color: #111111;
    white-space: nowrap;
    letter-spacing: -0.15px;
}

.ask-wa-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
}

.ask-contact-whatsapp:hover .ask-wa-btn {
    transform: scale(1.04);
    background-color: #22bf5b;
}

.ask-wa-btn svg {
    width: 22px;
    height: 22px;
    fill: #ffffff;
    display: block;
}

/* Subtle Entrance Animation */
@keyframes askWidgetEntrance {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Device Visibility Settings */
@media (min-width: 769px) {
    .ask-contact-widget.d-desktop-none {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .ask-contact-widget.d-mobile-none {
        display: none !important;
    }
}

/* Responsive Scaling on Mobile */
@media (max-width: 768px) {
    .ask-contact-widget {
        bottom: 20px;
        right: 18px;
        gap: 7px;
    }

    .ask-contact-widget.pos-bottom-left {
        left: 18px;
    }

    .ask-contact-phone {
        padding: 6px 12px 6px 9px;
        gap: 8px;
        border-radius: 9px;
    }

    .ask-phone-icon {
        width: 22px;
        height: 22px;
    }

    .ask-phone-icon svg {
        width: 11px;
        height: 11px;
    }

    .ask-phone-label {
        font-size: 9px;
    }

    .ask-phone-number {
        font-size: 12px;
    }

    .ask-contact-whatsapp {
        height: 46px;
        padding: 4px 4px 4px 15px;
        gap: 12px;
        border-radius: 10px;
    }

    .ask-wa-message {
        font-size: 12.5px;
    }

    .ask-wa-btn {
        width: 38px;
        height: 38px;
    }

    .ask-wa-btn svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 576px) {
    .ask-contact-widget {
        bottom: 18px;
        right: 16px;
        gap: 8px;
        z-index: 999;
    }

    .ask-contact-widget.pos-bottom-left {
        left: 16px;
        right: auto;
    }

    .ask-contact-phone {
        padding: 5px 10px 5px 8px;
    }

    .ask-phone-number {
        font-size: 11.5px;
    }

    .ask-contact-whatsapp {
        min-width: unset !important;
        width: 48px !important;
        height: 48px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        background: #25D366 !important;
        border: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45) !important;
        flex-shrink: 0;
    }

    .ask-contact-whatsapp .ask-wa-message {
        display: none !important;
    }

    .ask-contact-whatsapp .ask-wa-btn {
        width: 100% !important;
        height: 100% !important;
        background: transparent !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .ask-contact-whatsapp .ask-wa-btn svg {
        width: 26px !important;
        height: 26px !important;
        fill: #ffffff !important;
    }
}

/* ==========================================================================
   FEATURED SERVICES SECTION - APPROVED DESIGN REFINEMENT
   Dark Theme | Neon-Lime Accents (#98E209) | Horizontal Pill CTA | Crisp Line SVGs
   ========================================================================== */

/* View All Services Pill Button */
.services-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border-radius: 9999px;
    padding: 6px 8px 6px 20px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-height: 46px;
    width: auto;
    white-space: nowrap;
}

.services-pill-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.12);
    text-decoration: none;
}

.services-pill-btn .pill-btn-text {
    display: inline-block;
    white-space: nowrap;
    font-size: 14.5px;
    font-weight: 700;
    color: #111111;
    letter-spacing: -0.2px;
    line-height: 1;
}

.services-pill-btn .pill-btn-text span {
    font-size: 14.5px;
    font-weight: 700;
    color: #111111;
    letter-spacing: -0.2px;
    white-space: nowrap;
}

.services-pill-btn .pill-btn-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #eaf8d8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease, background-color 0.2s ease;
}

.services-pill-btn:hover .pill-btn-icon {
    transform: translateX(3px);
    background: #def6c3;
}

/* Featured Services Cards Refinements */
.service-item.style-1 {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 38px 26px 32px 26px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, border-top-color 0.3s ease;
}

.service-item.style-1 .service-desc {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.service-item.style-1:hover {
    border-color: rgba(152, 226, 9, 0.35);
    border-top: 2px solid #98E209;
    padding-top: 37px;
}

.service-item.style-1:focus-within {
    outline: none;
}

.service-item.style-1 a:focus-visible {
    outline: 2px solid rgba(152, 226, 9, 0.6);
    outline-offset: 4px;
    border-radius: 4px;
}

.service-item.style-1 .service-icon {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 26px !important;
    font-size: unset !important;
    line-height: 1 !important;
}

.service-item.style-1 .service-icon .service-svg-icon {
    width: 54px;
    height: 54px;
    display: block;
}

.service-item.style-1 .service-title h4 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 14px;
}

.service-item.style-1 .service-title h4 a {
    color: #ffffff !important;
}

.service-item.style-1 .service-desc p {
    color: #888888 !important;
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    margin-top: 0 !important;
    margin-bottom: 28px !important;
    flex-grow: 1;
}

/* Ensure Read More stays white with NO green hover on arrow */
.service-item.style-1 a.text-btn-wrap {
    color: #ffffff !important;
    margin-top: auto;
}

.service-item.style-1 a.text-btn-wrap:hover {
    color: #ffffff !important;
}

.service-item.style-1 a.text-btn-wrap .btn-icon-wrap svg path,
.service-item.style-1 a.text-btn-wrap:hover .btn-icon-wrap svg path {
    fill: #ffffff !important;
}






/* PERFORMANCE & ACCESSIBILITY: PREFERS-REDUCED-MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .services-desktop-mega,
  .industries-desktop-mega,
  .mobile-nav-drawer,
  .mobile-drawer-body,
  .mobile-cat-items {
    transition: none !important;
  }
}

/* ========================================================================== 
   SHARED HEADER NAVIGATION UNDERLINE
   A restrained indicator for the shared desktop navigation and mobile drawer.
   ========================================================================== */
@media (min-width: 1200px) {
    #site-header .desktop-navbar-nav > .nav-item > .nav-link {
        position: relative;
        color: #ffffff !important;
    }

    #site-header .desktop-navbar-nav > .nav-item > .nav-link::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: -4px;
        left: 0;
        height: 1px;
        background: #98e209;
        transform: scaleX(0);
        transform-origin: right center;
        transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Dropdown labels carry their own indicator so padded triggers stay precise. */
    #site-header .desktop-navbar-nav > .nav-item > .services-nav-link::after,
    #site-header .desktop-navbar-nav > .nav-item > .industries-nav-link::after {
        display: none;
    }

    #site-header .services-nav-link > span,
    #site-header .industries-nav-link > span {
        position: relative;
        display: inline-block;
    }

    #site-header .services-nav-link > span::after,
    #site-header .industries-nav-link > span::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: -5px;
        left: 0;
        height: 1px;
        background: #98e209;
        transform: scaleX(0);
        transform-origin: right center;
        transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Keep the parent indicator visible while its mega menu is in use. */
    #site-header .desktop-navbar-nav > .nav-item:hover > .nav-link::after,
    #site-header .desktop-navbar-nav > .nav-item > .nav-link:focus-visible::after {
        transform: scaleX(1);
        transform-origin: left center;
    }

    #site-header .desktop-navbar-nav > .services-nav-item:hover > .services-nav-link > span::after,
    #site-header .desktop-navbar-nav > .industries-nav-item:hover > .industries-nav-link > span::after,
    #site-header .desktop-navbar-nav > .services-nav-link:focus-visible > span::after,
    #site-header .desktop-navbar-nav > .industries-nav-link:focus-visible > span::after {
        transform: scaleX(1);
        transform-origin: left center;
    }

    #site-header .desktop-navbar-nav > .nav-item > .nav-link:hover,
    #site-header .desktop-navbar-nav > .nav-item > .nav-link:focus-visible,
    #site-header .desktop-navbar-nav > .nav-item > .nav-link.active,
    #site-header .desktop-navbar-nav > .nav-item.menu-open > .nav-link {
        color: #ffffff !important;
    }

    #site-header .desktop-navbar-nav .services-nav-arrow,
    #site-header .desktop-navbar-nav .industries-nav-arrow {
        color: #ffffff !important;
    }
}

@media (max-width: 1199.98px) {
    #site-header .mobile-nav-label {
        position: relative;
        display: inline-block;
        color: #ffffff !important;
    }

    #site-header .mobile-nav-label::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: -4px;
        left: 0;
        height: 1px;
        background: #98e209;
        transform: scaleX(0);
        transform-origin: right center;
        transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
    }

    #site-header .mobile-nav-link:hover .mobile-nav-label::after,
    #site-header .mobile-nav-trigger:hover .mobile-nav-label::after,
    #site-header .mobile-nav-link:focus-visible .mobile-nav-label::after,
    #site-header .mobile-nav-trigger:focus-visible .mobile-nav-label::after,
    #site-header .mobile-nav-link:active .mobile-nav-label::after,
    #site-header .mobile-nav-trigger:active .mobile-nav-label::after {
        transform: scaleX(1);
        transform-origin: left center;
    }

    #site-header .mobile-nav-link:hover .mobile-nav-label,
    #site-header .mobile-nav-trigger:hover .mobile-nav-label,
    #site-header .mobile-nav-link:focus-visible .mobile-nav-label,
    #site-header .mobile-nav-trigger:focus-visible .mobile-nav-label {
        color: #ffffff !important;
    }
}
