@import url('https://fonts.googleapis.com/css2?family=Syne:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

/* ==========================================================
   XpertLab Header & Footer
   ========================================================== */

/* ---------- scope reset ---------- */
.xlhf-header *, .xlhf-header *::before, .xlhf-header *::after,
.xlhf-footer *, .xlhf-footer *::before, .xlhf-footer *::after,
.xpertlab-footer *, .xpertlab-footer *::before, .xpertlab-footer *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ==========================================================
   HEADER SHELL
   ========================================================== */

.xlhf-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    width: 100%;
    z-index: 99999;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    background: #ffffff;
    box-shadow: none;
    transition:
        background  .4s ease,
        box-shadow  .4s ease,
        backdrop-filter .4s ease,
        -webkit-backdrop-filter .4s ease;
}
/* Header shadow image — matches old #Top_bar::after */
.xlhf-header::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -42px;
    width: 100%;
    height: 42px;
    background: url("http://192.168.1.30/8.2/xlwebdemo/wp-content/uploads/2026/01/shadow1.webp") no-repeat center top;
    pointer-events: none;
    z-index: -1;
    transition: opacity .4s ease;
}
.xlhf-header.is-glass::after { opacity: 0; }

/* ── Sticky glass effect (added by JS when scrollY > 10) ── */
.xlhf-header.is-glass {
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(22px) saturate(180%) brightness(1.04) !important;
    -webkit-backdrop-filter: blur(22px) saturate(180%) brightness(1.04) !important;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, .10),
        0 1px 0 rgba(255, 255, 255, .70) inset,
        0 -1px 0 rgba(255, 255, 255, .30) inset !important;
    border-bottom: 1px solid rgba(255, 255, 255, .45) !important;
}

/* push BeTheme content below the fixed header */
#Wrapper { padding-top: 90px !important; }

.xlhf-header__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px;
    height: 90px;
}

/* ---------- Logo ---------- */
.xlhf-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
}
.xlhf-logo img { height: 51px !important; width: auto; display: block; }
.xlhf-logo span { font-size: 18px; font-weight: 700; color: #1a1a2e; }

/* ---------- Contact CTA ---------- */
.xlhf-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 20px;
    background: #191919;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Syne', sans-serif;
    text-decoration: none !important;
    border-radius: 50px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.xlhf-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    animation: xlhf-shine 2.4s ease-in-out infinite;
    pointer-events: none;
}
.xlhf-cta:hover { background: #191919; }

@keyframes xlhf-shine {
    0%   { left: -100%; }
    100% { left: 150%; }
}

/* ==========================================================
   HEADER ENTRANCE REVEAL
   Logo → nav items → CTA fade in and slide down with a gentle,
   staggered "settle" once per page load. Purely additive:
   • hidden state only applies while `.xlhf-anim-ready` is on the
     header (added in markup; a <noscript> block in header.php
     forces everything visible when JS is off)
   • fully disabled under prefers-reduced-motion
   ========================================================== */
@media (prefers-reduced-motion: no-preference) {

    /* hidden / pre-reveal state */
    .xlhf-header.xlhf-anim-ready .xlhf-logo,
    .xlhf-header.xlhf-anim-ready .xlhf-hamburger,
    .xlhf-header.xlhf-anim-ready .xlhf-nav__list > .xlhf-nav__item,
    .xlhf-header.xlhf-anim-ready .xlhf-nav > .xlhf-cta {
        opacity: 0;
        transform: translateY(-16px);
        transition:
            opacity   .7s cubic-bezier(.22, 1, .36, 1),
            transform .8s cubic-bezier(.22, 1, .36, 1);
        transition-delay: calc(var(--xlhf-i, 0) * .09s);
        will-change: opacity, transform;
    }

    /* revealed state — JS adds `.xlhf-anim-in` on load */
    .xlhf-header.xlhf-anim-ready.xlhf-anim-in .xlhf-logo,
    .xlhf-header.xlhf-anim-ready.xlhf-anim-in .xlhf-hamburger,
    .xlhf-header.xlhf-anim-ready.xlhf-anim-in .xlhf-nav__list > .xlhf-nav__item,
    .xlhf-header.xlhf-anim-ready.xlhf-anim-in .xlhf-nav > .xlhf-cta {
        opacity: 1;
        transform: none;
        will-change: auto;
    }
}

/* ==========================================================
   DESKTOP NAV
   ========================================================== */

/* Nav sizes to its own content (list + CTA together) so header__inner's
   justify-content:center centers the whole [menu + Contact Us] block. */
.xlhf-nav { display: flex; align-items: center; gap: 20px; }

/* top-level list */
.xlhf-nav__list {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 2px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
}
.xlhf-nav__item {
    position: relative !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}
.xlhf-nav__link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 8px 14px !important;
    font-family: 'Syne', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #778AA9 !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
    transition: color .2s, background .2s !important;
}
.xlhf-nav__link:hover { color: #191919 !important; background: transparent !important; }
.xlhf-nav__item--active > .xlhf-nav__link,
.xlhf-nav__item--dropdown:hover > .xlhf-nav__link,
.xlhf-nav__item--mega:hover > .xlhf-nav__link { color: #191919 !important; background: transparent !important; font-weight: 600 !important; }

.xlhf-arrow { flex-shrink: 0; display: inline-flex; align-items: center; transition: transform .2s; }
.xlhf-nav__item--mega:hover   > a > .xlhf-arrow,
.xlhf-nav__item--dropdown:hover > a > .xlhf-arrow { transform: rotate(180deg); }
.xlhf-dropdown__item--sub > a > .xlhf-arrow { transform: rotate(-90deg); }

/* ==========================================================
   STANDARD DROPDOWN (2D / multi-level)
   ========================================================== */

/* Bridge the gap so moving the mouse into the dropdown doesn't lose hover.
   A transparent ::after pseudo-element extends the nav item's hover area
   downward by enough pixels to cover the visual offset of the dropdown. */
.xlhf-nav__item--dropdown::after,
.xlhf-nav__item--mega::after {
    content: '';
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    height: 14px !important;
}
/* Bridge for nested sub-dropdown that opens to the right */
.xlhf-dropdown__item--sub::after {
    content: '';
    position: absolute !important;
    top: 0 !important;
    right: -6px !important;
    width: 6px !important;
    bottom: 0 !important;
}

.xlhf-dropdown-wrap {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.78) !important;
    backdrop-filter: blur(20px) saturate(170%) brightness(1.04) !important;
    -webkit-backdrop-filter: blur(20px) saturate(170%) brightness(1.04) !important;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0,0,0,.12), 0 1px 0 rgba(255,255,255,.70) inset !important;
    border: 1px solid rgba(255, 255, 255, .55) !important;
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    /* small close delay so a wobbling mouse doesn't instantly dismiss the menu */
    transition: opacity .2s, visibility .2s, transform .2s;
    z-index: 9000;
}
.xlhf-nav__item--dropdown:hover > .xlhf-dropdown-wrap {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
    transition-delay: 0s;
}
/* nested sub-dropdown opens right */
.xlhf-dropdown__item--sub > .xlhf-dropdown-wrap {
    top: -6px; left: calc(100% + 4px);
    transform: translateX(6px);
}
.xlhf-dropdown__item--sub:hover > .xlhf-dropdown-wrap {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(0);
    transition-delay: 0s;
}

.xlhf-dropdown {
    list-style: none !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    padding: 0 !important;
}
.xlhf-dropdown__item {
    display: block !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}
.xlhf-dropdown__link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 9px 18px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #444 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    gap: 10px !important;
    transition: background .15s, color .15s !important;
    border: none !important;
    background: transparent !important;
}
.xlhf-dropdown__link:hover { background: #f4f5f7 !important; color: #1a1a2e !important; }

/* ==========================================================
   MEGA MENU SHELL
   ========================================================== */

.xlhf-mega {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(28px) saturate(180%) brightness(1.05) !important;
    -webkit-backdrop-filter: blur(28px) saturate(180%) brightness(1.05) !important;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,.14), 0 1px 0 rgba(255,255,255,.75) inset !important;
    border: 1px solid rgba(255, 255, 255, .55) !important;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform-origin: top center;
    transform: translateX(-50%) translateY(14px) scale(.97);
    transition:
        opacity .55s cubic-bezier(.22,.61,.36,1),
        transform .7s cubic-bezier(.22,1.2,.36,1),
        visibility .7s;
    z-index: 9000;
}
.xlhf-nav__item--mega:hover .xlhf-mega {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
    transition-delay: 0s;
}

/* Staggered reveal of the mega inner content on open */
.xlhf-nav__item--mega:hover .xlhf-mega__list-item,
.xlhf-nav__item--mega:hover .xlhf-mega__grid-item,
.xlhf-nav__item--mega:hover .xlhf-mega__panel-title,
.xlhf-nav__item--mega:hover .xlhf-mega__panel-desc,
.xlhf-nav__item--mega:hover .xlhf-mega__panel-bottom {
    animation: xlhfMegaItemIn .7s cubic-bezier(.22,.61,.36,1) both;
}
.xlhf-nav__item--mega:hover .xlhf-mega__list-item:nth-child(1) { animation-delay: .1s; }
.xlhf-nav__item--mega:hover .xlhf-mega__list-item:nth-child(2) { animation-delay: .18s; }
.xlhf-nav__item--mega:hover .xlhf-mega__list-item:nth-child(3) { animation-delay: .26s; }
.xlhf-nav__item--mega:hover .xlhf-mega__list-item:nth-child(4) { animation-delay: .34s; }
.xlhf-nav__item--mega:hover .xlhf-mega__list-item:nth-child(5) { animation-delay: .42s; }
.xlhf-nav__item--mega:hover .xlhf-mega__list-item:nth-child(6) { animation-delay: .5s; }
.xlhf-nav__item--mega:hover .xlhf-mega__panel-title { animation-delay: .2s; }
.xlhf-nav__item--mega:hover .xlhf-mega__panel-desc  { animation-delay: .28s; }
.xlhf-nav__item--mega:hover .xlhf-mega__grid-item:nth-child(1) { animation-delay: .36s; }
.xlhf-nav__item--mega:hover .xlhf-mega__grid-item:nth-child(2) { animation-delay: .44s; }
.xlhf-nav__item--mega:hover .xlhf-mega__grid-item:nth-child(3) { animation-delay: .52s; }
.xlhf-nav__item--mega:hover .xlhf-mega__grid-item:nth-child(4) { animation-delay: .6s; }
.xlhf-nav__item--mega:hover .xlhf-mega__panel-bottom { animation-delay: .64s; }

@keyframes xlhfMegaItemIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .xlhf-mega { transition: opacity .18s, visibility .18s !important; transform: translateX(-50%) !important; }
    .xlhf-nav__item--mega:hover .xlhf-mega { transform: translateX(-50%) !important; }
    .xlhf-nav__item--mega:hover .xlhf-mega__list-item,
    .xlhf-nav__item--mega:hover .xlhf-mega__grid-item,
    .xlhf-nav__item--mega:hover .xlhf-mega__panel-title,
    .xlhf-nav__item--mega:hover .xlhf-mega__panel-desc,
    .xlhf-nav__item--mega:hover .xlhf-mega__panel-bottom { animation: none !important; }
}
.xlhf-mega__inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
}

/* ==========================================================
   MEGA — LIST COLUMN (left)
   ========================================================== */

.xlhf-mega__list-col {
    flex: 0 0 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
    /* background: rgba(240, 242, 248, 0.55) !important; */
    /* background:#c8c8c840 !important; */
    background:#ffffff50 !important;
    padding: 14px 0 18px !important;
    border-right: 1px solid rgba(255,255,255,.50) !important;
}
.xlhf-mega__list {
    list-style: none !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}
.xlhf-mega__list-item {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.xlhf-mega__list-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 11px 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #555 !important;
    text-decoration: none !important;
    gap: 10px !important;
    border: none !important;
    background: transparent !important;
    transition: background .15s, color .15s !important;
    box-sizing: border-box !important;
}
/* margin-left:auto pins every arrow to the same right edge so all list
   items line up, regardless of label length */
.xlhf-mega__list-link svg { flex-shrink: 0 !important; margin-left: auto !important; opacity: 0.3 !important; transition: opacity .15s, transform .15s !important; }
.xlhf-mega__list-item:hover > .xlhf-mega__list-link,
.xlhf-mega__list-item.xlhf-active > .xlhf-mega__list-link {
    background: #fff !important;
    color: #1a1a2e !important;
    font-weight: 600 !important;
}
.xlhf-mega__list-item:hover > .xlhf-mega__list-link svg,
.xlhf-mega__list-item.xlhf-active > .xlhf-mega__list-link svg {
    opacity: 1 !important;
    transform: translateX(3px) !important;
}

/* ==========================================================
   MEGA — PANEL AREA (right, hover-activated)
   ========================================================== */

.xlhf-mega--panel { min-width: 880px; }

.xlhf-mega__panel-wrap {
    flex: 1 !important;
    position: relative !important;
    /* wide enough for two columns of long labels so they aren't clipped */
    min-width: 560px !important;
    min-height: 240px !important;
    background: transparent !important;
    padding: 0 !important;
    display: none !important;
}
.xlhf-mega__panel-wrap.xlhf-has-active {
    display: block !important;
}

/* each panel hidden by default */
.xlhf-mega__panel {
    display: none !important;
    padding: 20px 24px 24px !important;
    animation: xlhfFadeIn .18s ease;
}
.xlhf-mega__panel.xlhf-active { display: block !important; }

@keyframes xlhfFadeIn { from { opacity: 0; transform: translateX(6px); } to { opacity: 1; transform: none; } }

.xlhf-mega__panel-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1a1a2e !important;
    margin-bottom: 6px !important;
    line-height: 1.3 !important;
    max-width: none !important;
}
.xlhf-mega__panel-desc {
    font-size: 13px !important;
    color: #666 !important;
    line-height: 1.6 !important;
    margin-bottom: 18px !important;
    max-width: 320px !important;
    font-weight: 400 !important;
}

/* ==========================================================
   MEGA — ICON GRID
   ========================================================== */

.xlhf-mega__grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
}
.xlhf-mega__grid-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 14px !important;
    border-radius: 10px !important;
    border: none !important;
    background: rgba(255,255,255,0.82) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.06) !important;
    text-decoration: none !important;
    color: #333 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: box-shadow .2s, background .2s, transform .15s !important;
}
.xlhf-mega__grid-text { display: flex !important; flex-direction: column !important; gap: 2px !important; min-width: 0 !important; }
.xlhf-mega__grid-label { font-size: 13px !important; font-weight: 600 !important; color: #1a1a2e !important; line-height: 1.3 !important; }
.xlhf-mega__grid-desc  { font-size: 12px !important; font-weight: 400 !important; color: #888 !important; line-height: 1.4 !important; white-space: normal !important; }
.xlhf-mega__grid-item:hover {
    background: #fff !important;
    box-shadow: 0 6px 20px rgba(0,0,0,.10) !important;
    transform: translateY(-1px) !important;
}
.xlhf-mega__grid-icon {
    flex-shrink: 0 !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    border-radius: 8px !important;
}
/* all icon sources rendered at identical size */
.xlhf-mega__grid-icon svg,
.xlhf-mega__grid-icon img {
    width: 44px !important;
    height: 44px !important;
    display: block !important;
    margin: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    flex-shrink: 0 !important;
}
/* static multi-column mega (no panels) */
.xlhf-mega--cols-2 { min-width: 520px; }
.xlhf-mega--cols-3 { min-width: 700px; }
.xlhf-mega__col--list { flex: 0 0 240px; background: rgba(240,242,248,.55); border-right: 1px solid rgba(255,255,255,.50); }
.xlhf-mega__col--grid { flex: 1; padding: 18px 20px 22px; }
.xlhf-mega__col-title { padding: 14px 20px 6px; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #aaa; }

/* ==========================================================
   MEGA — PANEL DESIGN  (exact Figma spec)
   ========================================================== */

/*
  Coordinate system used below (all from respective parent):
  ─ Main box top-left  → inner padding 12px
  ─ Left box top-left  (12,12) within main box
  ─ Right panel left   = 12 + 211 + 21 = 244px from main left
*/

/* ── Main box: 581×264, frosted glass — #C8C8C866 bg, #CACACA4D border ── */
.xlhf-mega.xlhf-mega--panel {
    width: 860px !important;
    max-width: 860px !important;
    min-width: 860px !important;
    min-height: 264px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(202, 202, 202, 0.3) !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.13), 0 1px 0 rgba(255,255,255,0.75) inset !important;
    overflow: hidden !important;
    background: rgba(244, 245, 250, 0.9) !important;
    backdrop-filter: blur(22px) saturate(180%) brightness(1.04) !important;
    -webkit-backdrop-filter: blur(22px) saturate(180%) brightness(1.04) !important;
}

/* subtle top-highlight frozen layer */
.xlhf-mega.xlhf-mega--panel::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04)) !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

/* ── Inner row: stretch so right panel fills full height ── */
.xlhf-mega--panel > .xlhf-mega__inner {
    align-items: stretch !important;
    padding: 12px !important;
    gap: 21px !important;
    min-height: 0 !important;
    position: relative !important;
    z-index: 1 !important;
}

/* ── Left box: 250×238, #FFFFFF80 bg, 12px radius, frosted glass ──
   250px (was 211) so long labels like "Mobile App Development" fit on one
   line; a nowrap label wider than the box used to push its arrow out of
   alignment with the shorter items' arrows. */
.xlhf-mega--panel .xlhf-mega__list-col {
    flex: 0 0 250px !important;
    width: 250px !important;
    min-width: 250px !important;
    max-width: 250px !important;
    height: auto !important;
    align-self: stretch !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.55) !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

/* ── Menu list: 6×18px + 5×19px gap = 203px, padding 18+17 → 238px col ── */
.xlhf-mega--panel .xlhf-mega__list {
    display: flex !important;
    flex-direction: column !important;
    list-style: none !important;
    gap: 19px !important;
    padding: 18px 0 17px !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.xlhf-mega--panel .xlhf-mega__list-item {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ── Menu link: 170.22×18px, x=20, Google Sans 500 14px, #778AA9
      padding 2px top/bottom gives 2+14+2=18px height ✓
      arrow at x=178 achieved by justify-content:space-between + pr:20 ── */
.xlhf-mega--panel .xlhf-mega__list-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 2px 20px !important;
    font-family: 'Google Sans', 'Inter', Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 14px !important;
    letter-spacing: 0 !important;
    color: #778AA9 !important;
    background: transparent !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    border: none !important;
    box-sizing: border-box !important;
}

/* ── Arrow: 13×10px, fill=currentColor, always fully visible ── */
.xlhf-mega--panel .xlhf-mega__list-link svg {
    flex-shrink: 0 !important;
    width: 13px !important;
    height: 10px !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* ── Active / hover: color only changes to #191919, weight stays 500 ── */
.xlhf-mega--panel .xlhf-mega__list-item:hover > .xlhf-mega__list-link,
.xlhf-mega--panel .xlhf-mega__list-item.xlhf-active > .xlhf-mega__list-link {
    background: transparent !important;
    color: #191919 !important;
    font-weight: 500 !important;
}

.xlhf-mega--panel .xlhf-mega__list-item:hover > .xlhf-mega__list-link svg,
.xlhf-mega--panel .xlhf-mega__list-item.xlhf-active > .xlhf-mega__list-link svg {
    opacity: 1 !important;
    transform: none !important;
}

/* ── Right panel wrap: fills remaining width, flex column ── */
.xlhf-mega--panel .xlhf-mega__panel-wrap {
    flex: 1 !important;
    /* min-width:0 lets flex:1 size this to the space left inside the fixed-
       width mega. A min-width larger than that remaining space overflowed the
       card (overflow:hidden), cropping the right grid column and the CTA. */
    min-width: 0 !important;
    min-height: auto !important;
    padding: 0 !important;
    position: relative !important;
}
.xlhf-mega--panel .xlhf-mega__panel-wrap.xlhf-has-active {
    display: flex !important;
    flex-direction: column !important;
}

/* ── Panel: flex column so bottom bar sits at the bottom ── */
.xlhf-mega--panel .xlhf-mega__panel {
    padding: 1px 0 12px 0 !important;
    animation: xlhfFadeIn .18s ease !important;
}
.xlhf-mega--panel .xlhf-mega__panel.xlhf-active {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

/* ── Title: Syne 700 20px, line-height 100%, margin-bottom 10px ── */
.xlhf-mega--panel .xlhf-mega__panel-title {
    font-family: 'Syne', sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    color: #191919 !important;
    max-width: 310px !important;
    margin: 0 0 12px 0 !important;
}

/* ── Description: Google Sans 400 12px, line-height 100%, margin-bottom 30px ── */
.xlhf-mega--panel .xlhf-mega__panel-desc {
    font-family: 'Google Sans', 'Inter', Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 16px !important;
    letter-spacing: 0 !important;
    color: #727272 !important;
    max-width: 300px !important;
    margin: 0 0 28px 0 !important;
}

/* ── Icon grid: 2 equal columns, 24px row-gap, 32px col-gap ──
   minmax(0,1fr) (not max-content) so columns share the available width and
   long labels wrap onto a second line instead of overflowing / being cropped. */
.xlhf-mega--panel .xlhf-mega__grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    justify-content: stretch !important;
    gap: 22px 32px !important;
    margin: 0 0 18px 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

/* ── Grid item: 13px gap between icon box and label ── */
.xlhf-mega--panel .xlhf-mega__grid-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 13px !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.xlhf-mega--panel .xlhf-mega__grid-item:hover {
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

/* ── Icon box: 48×48, #FFFFFF80 bg, 10px radius, frosted glass ── */
.xlhf-mega--panel .xlhf-mega__grid-icon {
    flex-shrink: 0 !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.70) !important;
    border: 1px solid rgba(119, 138, 169, 0.25) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

/* ── Icon glyph: 30×30 (9px offset each side in 48px box) ── */
.xlhf-mega--panel .xlhf-mega__grid-icon svg,
.xlhf-mega--panel .xlhf-mega__grid-icon img {
    width: 30px !important;
    height: 30px !important;
    display: block !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
}

/* ── Label text container ── */
.xlhf-mega--panel .xlhf-mega__grid-text {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    gap: 0 !important;
}

/* ── Icon label: 53×18, Google Sans 600 14px, #191919
      line-height 18px matches spec height:18 ✓                       ── */
.xlhf-mega--panel .xlhf-mega__grid-label {
    font-family: 'Google Sans', 'Inter', Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    color: #191919 !important;
    /* wrap long labels onto a second line instead of being clipped */
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

.xlhf-mega--panel .xlhf-mega__grid-desc {
    display: none !important;
}

/* ==========================================================
   MEGA — BOTTOM BAR  (trust badges + text + CTA)
   ========================================================== */

.xlhf-mega__panel-bottom {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    padding: 16px 0 2px 0 !important;
    margin-top: auto !important;
    border-top: 1px solid #CACACA !important;
    width: 100% !important;
}
.xlhf-mega__panel-badges {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
}
.xlhf-mega__panel-badge {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    line-height: 0 !important;
}
.xlhf-mega__panel-badge img {
    height: 40px !important;
    width: auto !important;
    max-width: 52px !important;
    object-fit: contain !important;
    display: block !important;
    border-radius: 0 !important;
}
.xlhf-mega__panel-badge--lg img {
    height: 44px !important;
    max-width: 44px !important;
}
.xlhf-mega__panel-btm-text {
    flex: 0 0 auto !important;
    margin-left: auto !important;
    position: relative !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
}
.xlhf-mega__panel-btm-text__arrow {
    position: static !important;
    transform: none !important;
    pointer-events: none !important;
    z-index: 1 !important;
    display: block !important;
    line-height: 0 !important;
    flex-shrink: 0 !important;
}
.xlhf-mega__panel-btm-text__arrow svg {
    display: block !important;
    width: 40px !important;
    height: 17px !important;
}
.xlhf-mega__panel-btm-text__label {
    font-family: 'Google Sans', 'Inter', Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 18px !important;
    color: #191919 !important;
    position: relative !important;
    z-index: 1 !important;
    white-space: normal !important;
    flex-shrink: 0 !important;
}
.xlhf-mega__panel-cta {
    flex: 0 0 auto !important;
    margin-left: 12px !important;
    margin-right: 34px !important;
    min-width: 129px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #191919 !important;
    color: #ffffff !important;
    font-family: 'Syne', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 0 18px !important;
    height: 37px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    line-height: 1 !important;
    position: relative !important;
    overflow: hidden !important;
}
.xlhf-mega__panel-cta::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important; left: -100% !important;
    width: 60% !important; height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent) !important;
    animation: xlhf-shine 2.4s ease-in-out infinite !important;
    pointer-events: none !important;
}
.xlhf-mega__panel-cta:hover {
    background: #2a2a2a !important;
    color: #ffffff !important;
}

/* ==========================================================
   SUPPRESS COMPETING STICKY / FLOATING PLUGIN ELEMENTS
   when the mobile drawer is open (body.xlhf-nav-open)
   ========================================================== */

/* Generic: any element that is not part of the header/drawer and is
   position fixed/sticky gets pushed below the overlay (1000001) so it
   can't bleed through */
body.xlhf-nav-open *:not(.xlhf-header):not(.xlhf-header *):not(.xlhf-mobile-nav):not(.xlhf-mobile-nav *):not(.xlhf-overlay) {
    /* intentionally no z-index rule here — target specific plugins below */
}

/* XpertLab Sticky Button plugin (.xlsb-*) and any other floating buttons */
body.xlhf-nav-open .xlsb-wrap,
body.xlhf-nav-open .xlsb-btn,
body.xlhf-nav-open [class*="xlsb"],
body.xlhf-nav-open [class*="sticky-btn"],
body.xlhf-nav-open [class*="floating-btn"],
body.xlhf-nav-open [id*="sticky-btn"],
body.xlhf-nav-open [class*="we-are-hiring"],
body.xlhf-nav-open [id*="we-are-hiring"] {
    z-index: 1 !important;
}

/* ==========================================================
   SUPPRESS BETHEME'S OWN HEADER / MOBILE MENU
   ========================================================== */

#Top_bar,
#Header,
#Side_slide,
#body_overlay { display: none !important; }

/* Neutralise the wrapper itself without hiding #Subheader (breadcrumb) inside it */
#Header_wrapper {
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* ==========================================================
   HAMBURGER  — all !important to beat theme overrides
   ========================================================== */

.xlhf-hamburger {
    display: none !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 36px !important;
    height: 36px !important;
    padding: 9px 5px !important;
    background: none !important;
    border: none !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    overflow: visible !important;
}
.xlhf-hamburger:hover,
.xlhf-hamburger:focus,
.xlhf-hamburger:active { background: none !important; box-shadow: none !important; outline: none !important; }
.xlhf-hamburger span {
    display: block !important;
    height: 2px !important;
    width: 20px !important;
    background: #1a1a2e !important;
    border-radius: 2px !important;
    transition: transform .3s ease, opacity .3s ease, width .3s ease !important;
    transform-origin: center !important;
    pointer-events: none !important;
}
.xlhf-hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg) !important; }
.xlhf-hamburger.is-open span:nth-child(2) { opacity: 0 !important; width: 0 !important; }
.xlhf-hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg) !important; }

/* Bulletproof: keep the 3 icon bars (and the open-state X) visible no matter
   what theme/plugin CSS loads. Scoped by the header's ID so it outranks
   generic overrides. Forces only paint / geometry / stacking — never
   opacity or transform — so the open-state "X" animation still works. */
#xlhf-header .xlhf-hamburger span {
    display: block !important;
    width: 20px !important;
    height: 2px !important;
    background-color: #1a1a2e !important;
    background-image: none !important;
    border-radius: 2px !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 2 !important;
}
/* Stop any theme <button> pseudo-element from painting over the bars */
#xlhf-header .xlhf-hamburger::before,
#xlhf-header .xlhf-hamburger::after { content: none !important; }

/* Move hamburger to right side when nav is open */
body.xlhf-nav-open .xlhf-hamburger { margin-left: auto !important; }

/* ==========================================================
   MOBILE NAV — left slide-in drawer
   ========================================================== */

/* ── Mobile nav — glass slide-in drawer ── */
.xlhf-mobile-nav {
    position: fixed !important;
    top: 72px !important;
    left: 0 !important;
    bottom: 0 !important;
    right: auto !important;
    width: 280px !important;
    max-width: 85vw !important;

    /* glass */
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(28px) saturate(180%) brightness(1.05) !important;
    -webkit-backdrop-filter: blur(28px) saturate(180%) brightness(1.05) !important;
    box-shadow:
        6px 0 40px rgba(0, 0, 0, .16),
        1px 0 0 rgba(255, 255, 255, .60) inset !important;
    border-right: 1px solid rgba(255, 255, 255, .50) !important;

    /* flex-column: list (scrolls) + cta (pinned bottom) */
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    /* raised above any competing sticky/floating plugin buttons */
    z-index: 1000002 !important;
    transform: translateX(-105%) !important;
    transition: transform .34s cubic-bezier(.4, 0, .2, 1) !important;
    visibility: visible !important;
}
.xlhf-mobile-nav.is-open {
    transform: translateX(0) !important;
}

/* ── Overlay — frosted backdrop ── */
.xlhf-overlay {
    display: none;
    position: fixed !important;
    top: 72px !important;
    left: 0 !important; right: 0 !important; bottom: 0 !important;
    background: rgba(15, 15, 30, .35) !important;
    backdrop-filter: blur(6px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(6px) saturate(120%) !important;
    z-index: 1000001 !important;
    cursor: pointer !important;
    transition: opacity .34s ease !important;
}
.xlhf-overlay.is-open { display: block !important; }

/* hard reset — override ANY theme rule that touches children */
.xlhf-mobile-nav,
.xlhf-mobile-nav * {
    box-sizing: border-box !important;
    float: none !important;
    clear: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif !important;
}
.xlhf-mobile-nav ul,
.xlhf-mobile-nav ol { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.xlhf-mobile-nav li { display: block !important; width: 100% !important; height: auto !important; overflow: visible !important; }
.xlhf-mobile-nav a  { display: block !important; height: auto !important; overflow: visible !important; text-decoration: none !important; }

/* ── top-level list — grows to fill available height and scrolls ── */
.xlhf-mobile-list {
    list-style: none !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    /* custom scrollbar — subtle */
    scrollbar-width: thin !important;
    scrollbar-color: rgba(0,0,0,.18) transparent !important;
}
.xlhf-mobile-list__item {
    display: block !important;
    width: 100% !important;
    position: relative !important;
    border-bottom: 1px solid rgba(0,0,0,.07) !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ── item wrap: link text + separate toggle button ── */
.xlhf-mobile-item-wrap {
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
}
.xlhf-mobile-list__link {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    padding: 14px 16px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #1a1a2e !important;
    text-decoration: none !important;
    background: transparent !important;
    transition: background .15s, color .15s !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}
.xlhf-mobile-list__link:hover { background: #f7f8fa !important; color: #e0003f !important; }

/* ── expand/collapse toggle button ── */
.xlhf-sub-toggle {
    flex-shrink: 0 !important;
    width: 48px !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    box-shadow: none !important;
    color: #888 !important;
    transition: background .15s !important;
}
.xlhf-sub-toggle:hover { background: #f0f1f3 !important; color: #1a1a2e !important; }
.xlhf-sub-toggle .xlhf-arrow {
    transition: transform .25s ease !important;
    display: block !important;
}
.xlhf-has-sub.is-open > .xlhf-mobile-item-wrap > .xlhf-sub-toggle .xlhf-arrow {
    transform: rotate(180deg) !important;
}

/* ── sub-menu (level 1) ── */
.xlhf-mobile-sub {
    list-style: none !important;
    display: flex !important;
    flex-direction: column !important;
    background: rgba(240, 242, 248, 0.70) !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    border-top: 1px solid rgba(0,0,0,.07) !important;
}
.xlhf-mobile-sub[hidden] { display: none !important; }

.xlhf-mobile-sub__item {
    display: block !important;
    width: 100% !important;
    border-bottom: 1px solid rgba(0,0,0,.06) !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}
.xlhf-mobile-sub__item:last-child { border-bottom: none !important; }

.xlhf-mobile-sub__link {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    padding: 11px 12px 11px 28px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #444 !important;
    text-decoration: none !important;
    background: transparent !important;
    transition: color .15s, background .15s !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}
.xlhf-mobile-sub__link:hover { color: #e0003f !important; background: #f0f1f3 !important; }

/* ── sub-sub-menu (level 2) ── */
.xlhf-mobile-sub .xlhf-mobile-sub {
    background: rgba(225, 228, 235, 0.65) !important;
    border-top: 1px solid rgba(0,0,0,.06) !important;
}
.xlhf-mobile-sub .xlhf-mobile-sub .xlhf-mobile-sub__link {
    padding-left: 44px !important;
    font-size: 13px !important;
    color: #555 !important;
}
/* toggle button inside sub-menu items */
.xlhf-mobile-sub .xlhf-sub-toggle {
    border-left-color: #dde0e5 !important;
    min-height: 40px !important;
}

/* phone CTA — pinned at the bottom of the drawer, never scrolls away */
.xlhf-cta--mob {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 14px 16px !important;
    font-family: 'Syne', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #fff !important;
    background: #191919 !important;
    border-top: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 0 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    letter-spacing: .01em !important;
    position: relative !important;
    overflow: hidden !important;
}
.xlhf-cta--mob::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 60% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent) !important;
    animation: xlhf-shine 2.4s ease-in-out infinite !important;
    pointer-events: none !important;
}
.xlhf-mobile-nav .xlhf-cta--mob {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: auto !important;
    overflow: hidden !important;
}
.xlhf-cta--mob:hover { background: #191919 !important; color: #ffffff !important; }
.xlhf-cta--mob svg {
    flex-shrink: 0 !important;
    display: block !important;
    width: 20px !important;
    height: 20px !important;
}

/* ==========================================================
   FOOTER
   ========================================================== */

.xpertlab-footer {
    position: relative;
    max-width: 1440px;
    margin: auto;
    padding: 45px 40px 20px;
    border-radius: 30px;
    background: rgba(222, 222, 222, 0.2);
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    inset: 0;
    background-image: url('http://192.168.1.30/8.2/xlwebdemo/wp-content/uploads/2026/06/XpertLab-Technologies-Private-Limited-Footer-Background-scaled.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.35;
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-about {
    max-width: 445px;
}

.footer-logo {
    width: 134px;
    height: auto;
    margin-bottom: 25px;
    display: block;
}

.footer-tagline p,
.footer-about p {
    font-family: "Google Sans", "Inter", Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.1;
    color: #778aa9;
    margin-bottom: 18px;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2b2b3b;
    color: #fff;
    text-decoration: none;
    transition: background .2s, transform .15s;
}

.social-icons a:hover { transform: translateY(-6px); color: #fff; background: #2b2b3b; }

.social-icons a svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    display: block;
}

.footer-col{
    min-width: 140px;
}

.footer-col h3 {
    font-family: "Syne", sans-serif;
    font-size: 21px;
    font-weight: 700;
    color: #191919;
    margin-bottom: 10px;
}

.footer-col ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-col ul li { margin-bottom: 0px; }

.footer-col ul li a {
    text-decoration: none;
    font-family: "Google Sans", "Inter", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 40px;
    color: #778aa9;
    transition: color .3s;
    display: inline-block;
    position: relative;
}
.footer-col ul li a::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 0;
    width: 0;
    height: 2px;
    background: #b51b5a;
    border-radius: 1px;
    transition: width .3s ease;
}
.footer-col ul li a:hover,
.footer-col ul li a:active { color: #b51b5a; }
.footer-col ul li a:hover::after,
.footer-col ul li a:active::after { width: 100%; }

.contact-col { max-width: 280px; }

.contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    align-items: flex-start;
}

.contact-item .icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.contact-item .icon svg { display: block; width: 20px; height: 20px; }

.contact-item p {
    margin: 0;
    font-family: "Syne", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #191919;
    line-height: 1.5;
}

.contact-item p a,
.contact-item p span { color: #b51b5a !important; text-decoration: none; }

.contact-item p a {
    position: relative;
    display: inline-block;
}
.contact-item p a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #017fe4;
    border-radius: 1px;
    transition: width .3s ease;
}
.contact-item p a:hover { color: #017fe4 !important; }
.contact-item p a:hover::after,
.contact-item p a:active::after { width: 100%; }

.contact-address-link { text-decoration: none; }
.contact-address-link:hover .contact-address { color: #017fe4; }
.contact-address {
    font-family: "Syne", sans-serif;
    font-style: normal;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    color: #b51b5a;
    transition: color .15s;
    display: inline-block;
    position: relative;
}
.contact-address::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #017fe4;
    border-radius: 1px;
    transition: width .3s ease;
}
.contact-address-link:hover .contact-address::after,
.contact-address-link:active .contact-address::after { width: 100%; }

.footer-watermark {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-top: 20px;
    font-family: "Syne", sans-serif !important;
    font-size: 134px;
    font-weight: 700;
    letter-spacing: 20px;
    color: #E6E6E6;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.footer-bottom {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 13px;
    text-align: center;
    padding: 14px 24px;
    margin-top: -19px;
    font-family: "Syne", sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    font-style: normal !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    color: #191919;
}

.footer-bottom a,
.footer-bottom span {
    font-family: "Syne", sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    font-style: normal !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    color: #b51b5a;
    text-decoration: none;
}

.footer-bottom a:hover { text-decoration: underline; }

/* ==========================================================
   FOOTER SCROLL REVEAL
   As the footer scrolls into view, its columns rise + fade in
   with a gentle stagger, then the watermark and copyright settle
   in last. Additive:
   • hidden state only applies once JS adds `.xlhf-foot-ready`
     (so no-JS visitors always see the footer)
   • JS adds `.xlhf-foot-in` via IntersectionObserver to play it
   • disabled under prefers-reduced-motion
   • the background image (.footer-bg) is intentionally untouched
   ========================================================== */
@media (prefers-reduced-motion: no-preference) {

    /* hidden / pre-reveal state */
    .xpertlab-footer.xlhf-foot-ready .footer-col,
    .xpertlab-footer.xlhf-foot-ready .footer-watermark,
    .xpertlab-footer.xlhf-foot-ready .footer-bottom {
        opacity: 0;
        transform: translateY(40px);
        transition:
            opacity   1s   cubic-bezier(.22, 1, .36, 1),
            transform 1.1s cubic-bezier(.22, 1, .36, 1);
        transition-delay: calc(var(--xlhf-fi, 0) * .13s);
        will-change: opacity, transform;
    }

    /* revealed state */
    .xpertlab-footer.xlhf-foot-ready.xlhf-foot-in .footer-col,
    .xpertlab-footer.xlhf-foot-ready.xlhf-foot-in .footer-watermark,
    .xpertlab-footer.xlhf-foot-ready.xlhf-foot-in .footer-bottom {
        opacity: 1;
        transform: none;
        will-change: auto;
    }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

/* ==========================================================
   DESKTOP HEADER LAYOUT (901px and above)

   Logo and CTA are taken out of the flex flow via position:absolute
   (anchored to .xlhf-header__inner, which is position:relative), leaving
   only the nav menu list in normal flow, so header__inner's
   justify-content:center centers just the menu.

   The #xlhf-header prefix raises specificity above page-level inline
   .xlhf-header__inner{padding:...!important} styles some pages inject
   (e.g. terms-and-conditions).

   Each tier sets its own left/right offset for the logo/CTA and a
   matching padding-left/padding-right reserve on header__inner, so the
   centered menu never overlaps either side.
   ========================================================== */
@media (min-width: 901px) {
    #xlhf-header .xlhf-logo {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
    #xlhf-header .xlhf-cta:not(.xlhf-cta--mob) {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
    #xlhf-header .xlhf-header__inner {
        justify-content: center !important;
    }
}

/* 901px to 1199px - Tablet */
@media (min-width: 901px) and (max-width: 1199px) {
    #xlhf-header .xlhf-logo { left: 45px !important; }
    #xlhf-header .xlhf-cta:not(.xlhf-cta--mob) { right: 50px !important; }
    #xlhf-header .xlhf-header__inner {
        padding-left: 190px !important;
        padding-right: 190px !important;
    }
    .xlhf-nav { gap: 10px; }
    .xlhf-nav__link { padding: 8px 10px !important; }
    .xlhf-cta { padding: 0 14px; gap: 6px; }
}

/* 1200px to 1439px - Laptop */
@media (min-width: 1200px) and (max-width: 1439px) {
    #xlhf-header .xlhf-logo { left: 12% !important; }
    #xlhf-header .xlhf-cta:not(.xlhf-cta--mob) { right: 165px !important; }
    #xlhf-header .xlhf-header__inner {
        padding-left: calc(12% + 170px) !important;
        padding-right: 380px !important;
    }
}

/* 1440px to 1919px - Desktop */
@media (min-width: 1440px) and (max-width: 1919px) {
    #xlhf-header .xlhf-logo { left: 16% !important; }
    #xlhf-header .xlhf-cta:not(.xlhf-cta--mob) { right: 18% !important; }
    #xlhf-header .xlhf-header__inner {
        padding-left: calc(16% + 170px) !important;
        padding-right: calc(18% + 180px) !important;
    }
}

/* 1920px and above - Large Desktop */
@media (min-width: 1920px) {
    #xlhf-header .xlhf-logo { left: 20% !important; }
    #xlhf-header .xlhf-cta:not(.xlhf-cta--mob) { right: 21% !important; }
    #xlhf-header .xlhf-header__inner {
        padding-left: calc(20% + 170px) !important;
        padding-right: calc(21% + 180px) !important;
    }
}

@media (max-width: 900px) {
    .xlhf-nav  { display: none !important; }
    .xlhf-cta:not(.xlhf-cta--mob) { display: none !important; }
    .xlhf-hamburger { display: flex !important; }
    .xlhf-header__inner { justify-content: flex-start; position: relative; }
    .xlhf-logo {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin: 0 !important;
    }
}

/* More left/right breathing room on screens up to 1300px */
/* @media (max-width: 1300px) {
    .xpertlab-footer {
        margin-left: 70px;
        margin-right: 70px;
    }
} */

@media (max-width: 991px) {
    .footer-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-about { max-width: 100%; }
    .contact-col { max-width: 100%; }
    .footer-watermark { font-size: 70px; letter-spacing: 10px; }
}

@media (max-width: 600px) {
    .xpertlab-footer { padding: 32px 20px 16px; }
    .footer-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px 24px;
    }
    .footer-about { grid-column: 1 / -1; max-width: 100%; }
    .contact-col  { grid-column: 1 / -1; max-width: 100%; }
    .footer-watermark { font-size: 40px; letter-spacing: 5px; }
    .footer-bottom { font-size: 12px; margin-top: 0; }
}

@media (min-width: 600px) and (max-width: 991px) {
    .footer-watermark { margin-bottom: 10px; }
}