/* ====================================================================
   WEBILOOK — Design System v2.0
   Primary: #588c8d  |  Dark: #011936  |  Accents: #84DCC6 / #ACD7EC
   ==================================================================== */

/* ========================
   1. CUSTOM PROPERTIES
   ======================== */
:root {
    --wb-primary:      #588c8d;
    --wb-primary-dk:   #3d6b6c;
    --wb-secondary:    #478978;
    --wb-dark:         #011936;
    --wb-dark-2:       #021e42;
    --wb-dark-3:       #032a58;

    --wb-accent-1:     #84DCC6;
    --wb-accent-2:     #ACD7EC;
    --wb-accent-3:     #D6EDFF;
    --wb-bg-light:     #D9F7FA;
    --wb-bg-lighter:   #edfcfe;

    --wb-text:         #1a3040;
    --wb-text-2:       #3a5060;
    --wb-muted:        #6a8090;
    --wb-border:       #bcd8e4;
    --wb-border-lt:    #dceef6;
    --wb-bg:           #ffffff;
    --wb-surface:      #f7fdfe;
    --wb-success:      #2ecc71;
    --wb-warning:      #f59e0b;
    --wb-error:        #ef4444;

    --wb-shadow-sm:    0 1px 4px rgba(1,25,54,.06);
    --wb-shadow:       0 4px 20px rgba(1,25,54,.10);
    --wb-shadow-md:    0 8px 30px rgba(1,25,54,.12);
    --wb-shadow-lg:    0 16px 48px rgba(1,25,54,.15);
    --wb-shadow-xl:    0 24px 64px rgba(1,25,54,.18);
    --wb-glow-sm:      0 4px 20px rgba(88,140,141,.22);
    --wb-glow:         0 8px 32px rgba(88,140,141,.30);
    --wb-glow-lg:      0 16px 48px rgba(88,140,141,.36);

    --wb-ease:         cubic-bezier(.4,0,.2,1);
    --t-fast:          all .18s var(--wb-ease);
    --t-base:          all .26s var(--wb-ease);
    --t-slow:          all .42s var(--wb-ease);

    --r-xs:  4px;  --r-sm: 8px;  --r-md: 12px;
    --r-lg: 16px;  --r-xl: 24px; --r-2xl: 32px;
    --r-pill: 999px;

    --nav-h: 72px;
    --section: 6rem;
    --section-sm: 4rem;
}

/* ========================
   2. RESET / BASE
   ======================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem; line-height: 1.65;
    color: var(--wb-text);
    background: var(--wb-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; transition: var(--t-base); }
button { cursor: pointer; font-family: inherit; }
h1,h2,h3,h4,h5,h6 {
    font-weight: 700; line-height: 1.2;
    letter-spacing: -.025em; color: var(--wb-dark);
}

/* ========================
   3. TYPOGRAPHY
   ======================== */
.display-heading {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 800; line-height: 1.08;
    letter-spacing: -.035em;
}
.section-heading {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800; letter-spacing: -.03em;
}
.lead-text { font-size: 1.075rem; line-height: 1.7; color: var(--wb-text-2); }

.text-gradient {
    background: linear-gradient(135deg, var(--wb-accent-1) 0%, var(--wb-accent-2) 70%, #ffffff 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.text-gradient-dark {
    background: linear-gradient(135deg, var(--wb-primary) 0%, var(--wb-secondary) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ========================
   4. UTILITIES
   ======================== */
.section-pad    { padding: var(--section) 0; }
.section-pad-sm { padding: var(--section-sm) 0; }
.nav-spacer     { height: var(--nav-h); }

.bg-dark-wb   { background: var(--wb-dark) !important; }
.bg-dark2-wb  { background: var(--wb-dark-2) !important; }
.bg-light-wb  { background: var(--wb-bg-light) !important; }
.bg-surface-wb{ background: var(--wb-surface) !important; }
.rounded-xl   { border-radius: var(--r-xl) !important; }
.rounded-2xl  { border-radius: var(--r-2xl) !important; }

.section-label {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .72rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--wb-primary); margin-bottom: .75rem;
}
.section-label::before {
    content: ''; width: 18px; height: 2px;
    background: var(--wb-primary); border-radius: 2px;
}
.section-tag {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .35rem .9rem;
    background: rgba(88,140,141,.1); border: 1px solid rgba(88,140,141,.2);
    color: var(--wb-primary); border-radius: var(--r-pill);
    font-size: .72rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem;
}
.section-tag-dark {
    background: rgba(132,220,198,.12); border-color: rgba(132,220,198,.22);
    color: var(--wb-accent-1);
}

.pill { display: inline-flex; align-items: center; padding: .22rem .72rem; border-radius: var(--r-pill); font-size: .7rem; font-weight: 700; letter-spacing: .04em; }
.pill-accent { background: rgba(132,220,198,.12); color: var(--wb-accent-1); border: 1px solid rgba(132,220,198,.2); }
.pill-primary { background: rgba(88,140,141,.1); color: var(--wb-primary); border: 1px solid rgba(88,140,141,.2); }

.separator { border-color: var(--wb-border-lt); }

/* Stat numbers */
.stat-number, .stat-num {
    font-size: 2rem; font-weight: 800;
    color: var(--wb-accent-1); line-height: 1;
    letter-spacing: -.03em; display: block;
}
.stat-label {
    font-size: .76rem; color: rgba(255,255,255,.35);
    font-weight: 500; margin-top: .3rem; display: block;
}

/* ========================
   5. BUTTONS
   ======================== */
.btn-wb-gradient {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .8rem 2rem;
    background: linear-gradient(135deg, var(--wb-primary) 0%, var(--wb-secondary) 100%);
    color: #fff; border: none; border-radius: var(--r-pill);
    font-weight: 700; font-size: .9rem; font-family: inherit;
    transition: var(--t-base); cursor: pointer; white-space: nowrap;
    box-shadow: 0 4px 20px rgba(88,140,141,.35);
}
.btn-wb-gradient:hover {
    color: #fff; transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(88,140,141,.45); filter: brightness(1.06);
}
.btn-wb-primary {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .75rem 1.75rem; background: var(--wb-primary);
    color: #fff; border: 2px solid var(--wb-primary);
    border-radius: var(--r-pill); font-weight: 700; font-size: .9rem;
    font-family: inherit; transition: var(--t-base); cursor: pointer; white-space: nowrap;
}
.btn-wb-primary:hover {
    background: var(--wb-primary-dk); border-color: var(--wb-primary-dk);
    color: #fff; transform: translateY(-2px); box-shadow: var(--wb-glow);
}
.btn-wb-outline {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .7rem 1.6rem; background: transparent;
    color: var(--wb-primary); border: 2px solid var(--wb-primary);
    border-radius: var(--r-pill); font-weight: 700; font-size: .875rem;
    font-family: inherit; transition: var(--t-base); cursor: pointer; white-space: nowrap;
}
.btn-wb-outline:hover {
    background: var(--wb-primary); color: #fff;
    transform: translateY(-2px); box-shadow: var(--wb-glow-sm);
}
.btn-wb-ghost {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .75rem 1.6rem; background: rgba(255,255,255,.08);
    color: #fff; border: 1.5px solid rgba(255,255,255,.16);
    border-radius: var(--r-pill); font-weight: 600; font-size: .875rem;
    font-family: inherit; transition: var(--t-base); cursor: pointer;
    backdrop-filter: blur(8px);
}
.btn-wb-ghost:hover {
    background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.32); color: #fff;
}
.btn-wb-light {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .8rem 2rem; background: #fff; color: var(--wb-dark);
    border: 2px solid #fff; border-radius: var(--r-pill);
    font-weight: 700; font-size: .9rem; font-family: inherit;
    transition: var(--t-base); cursor: pointer; white-space: nowrap;
}
.btn-wb-light:hover {
    background: var(--wb-accent-3); color: var(--wb-dark);
    transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

/* ========================
   6. NAVBAR
   ======================== */
.navbar-wb {
    position: fixed; top: 0; left: 0; right: 0; width: 100%;
    z-index: 1000; height: var(--nav-h);
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid transparent;
    transition: background .4s ease, border-color .4s ease, box-shadow .4s ease;
    padding: 0 !important;
}
.navbar-wb.scrolled {
    background: #fff;
    border-bottom-color: var(--wb-border-lt);
    box-shadow: 0 2px 24px rgba(1,25,54,.10);
}
/* Let Bootstrap flex layout handle the container; just fix the height */
.navbar-wb .navbar-brand { padding-top: 0; padding-bottom: 0; }
.navbar-wb .navbar-brand img { height: 40px; width: auto; display: block; }

/* Toggler */
.navbar-wb .navbar-toggler {
    border: none !important; padding: .4rem .6rem;
    background: rgba(88,140,141,.08) !important;
    border-radius: 8px; color: var(--wb-primary);
}
.navbar-wb .navbar-toggler:focus { box-shadow: none !important; }
.navbar-wb .navbar-toggler .bi { font-size: 1.4rem; }

/* Nav links — use 3-class specificity to beat Bootstrap's .navbar-expand-lg .navbar-nav .nav-link */
.navbar-wb .navbar-nav .nav-link {
    font-size: .875rem; font-weight: 600;
    color: var(--wb-text) !important;
    padding: .45rem .9rem !important;
    border-radius: 8px; white-space: nowrap;
    background: transparent !important;
    transition: color .18s, background .18s;
}
.navbar-wb .navbar-nav .nav-link:hover,
.navbar-wb .navbar-nav .nav-link.active {
    color: var(--wb-primary) !important;
    background: rgba(88,140,141,.08) !important;
}

/* Language toggle */
.lang-toggle {
    display: inline-flex; align-items: center; gap: .3rem;
    padding: .35rem .8rem; border: 1.5px solid var(--wb-border);
    border-radius: 999px; font-size: .76rem; font-weight: 700;
    color: var(--wb-text-2); cursor: pointer;
    background: transparent; font-family: inherit;
    transition: border-color .18s, color .18s;
}
.lang-toggle:hover { border-color: var(--wb-primary); color: var(--wb-primary); }

/* Get Quote CTA */
.navbar-wb .navbar-nav .nav-cta,
.navbar-wb .navbar-nav .nav-cta.nav-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: .4rem;
    padding: .48rem 1.2rem !important;
    background: var(--wb-primary) !important;
    color: #fff !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    font-size: .82rem !important;
    border: 2px solid var(--wb-primary) !important;
    transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
    white-space: nowrap;
}
.navbar-wb .navbar-nav .nav-cta:hover,
.navbar-wb .navbar-nav .nav-cta.nav-link:hover {
    background: var(--wb-primary-dk) !important;
    border-color: var(--wb-primary-dk) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(88,140,141,.35);
}

/* Chevron on Services trigger */
.mm-chevron {
    display: inline-block; font-size: .62rem;
    margin-left: .2rem; vertical-align: middle;
    transition: transform .2s ease;
}
.has-megamenu.mm-open .mm-chevron { transform: rotate(180deg); }

/* ========================
   7. MEGAMENU
   ======================== */

/* Use ID selector for guaranteed highest specificity.
   Panel is a sibling of <nav>, positioned with fixed to viewport. */
#mm-services {
    display: none;          /* JS controls open/close */
    position: fixed;
    top: 72px;              /* px fallback */
    top: var(--nav-h);      /* CSS variable */
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 3px solid #588c8d;
    border-top: 3px solid var(--wb-primary);
    border-bottom: 1px solid #dceef6;
    border-bottom: 1px solid var(--wb-border-lt);
    box-shadow: 0 12px 40px rgba(1,25,54,.15);
    padding: 2rem 0;
    z-index: 1001;
}

/* Inner flex layout — more predictable than grid for mixed-width columns */
#mm-services .mm-grid {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

/* Each of the 4 equal service columns */
#mm-services .mm-col {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 1.25rem;
    border-right: 1px solid #dceef6;
    border-right: 1px solid var(--wb-border-lt);
}
#mm-services .mm-col:first-child { padding-left: 0; }
/* Remove border from 4th column (last .mm-col before the featured panel) */
#mm-services .mm-col:nth-child(4) { border-right: none; }

/* Column header label */
#mm-services .mm-col-label {
    font-size: .62rem; font-weight: 700; letter-spacing: .11em;
    text-transform: uppercase; color: #6a8090;
    color: var(--wb-muted);
    padding-bottom: .55rem; margin-bottom: .35rem;
    border-bottom: 1px solid #dceef6;
    border-bottom: 1px solid var(--wb-border-lt);
}

/* Menu row item */
#mm-services .mm-item {
    display: flex; align-items: flex-start; gap: .6rem;
    padding: .55rem .5rem; border-radius: 8px;
    text-decoration: none; margin-bottom: .05rem;
    color: inherit; transition: background .15s;
}
#mm-services .mm-item:hover { background: #D9F7FA; background: var(--wb-bg-light); }

/* Icon box */
#mm-services .mm-icon {
    width: 34px; height: 34px; min-width: 34px; flex-shrink: 0;
    background: rgba(88,140,141,.09);
    border: 1px solid rgba(88,140,141,.15);
    border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem; color: #588c8d; color: var(--wb-primary);
    transition: background .15s, color .15s;
}
#mm-services .mm-item:hover .mm-icon {
    background: #588c8d; background: var(--wb-primary);
    border-color: #588c8d; color: #fff;
}
#mm-services .mm-item-title {
    font-size: .83rem; font-weight: 700; color: #011936;
    color: var(--wb-dark); line-height: 1.3; margin-bottom: .1rem;
}
#mm-services .mm-item-desc {
    font-size: .72rem; color: #6a8090; color: var(--wb-muted); line-height: 1.4;
}

/* Featured dark sidebar */
#mm-services .mm-featured {
    flex: 0 0 220px; width: 220px;
    margin-left: 1.5rem;
    background: linear-gradient(150deg, #011936 0%, #021e42 55%, #032a58 100%);
    border-radius: 12px; padding: 1.4rem 1.25rem;
    color: #fff; position: relative; overflow: hidden;
    border: 1px solid rgba(255,255,255,.06);
    align-self: stretch;
}
#mm-services .mm-featured::before {
    content: ''; position: absolute; top: -24px; right: -24px;
    width: 110px; height: 110px;
    background: radial-gradient(circle, rgba(132,220,198,.18) 0%, transparent 70%);
    pointer-events: none;
}
#mm-services .mm-featured-badge {
    display: inline-flex; align-items: center; gap: .28rem;
    padding: .2rem .65rem;
    background: rgba(132,220,198,.14); border: 1px solid rgba(132,220,198,.24);
    border-radius: 999px; font-size: .6rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .07em; color: #84DCC6;
    color: var(--wb-accent-1); margin-bottom: .8rem;
}
#mm-services .mm-featured h5 {
    font-size: .88rem; font-weight: 800; color: #fff;
    line-height: 1.3; margin-bottom: .35rem; letter-spacing: -.02em;
}
#mm-services .mm-featured p {
    font-size: .72rem; color: rgba(255,255,255,.48); line-height: 1.5; margin-bottom: .7rem;
}
#mm-services .mm-feat-stat {
    display: flex; align-items: center; gap: .4rem;
    font-size: .72rem; color: rgba(255,255,255,.52); margin-bottom: .25rem;
}
#mm-services .mm-feat-stat strong { color: #84DCC6; color: var(--wb-accent-1); font-size: .82rem; min-width: 32px; }
#mm-services .mm-feat-cta {
    display: flex; align-items: center; justify-content: center; gap: .3rem;
    margin-top: .85rem; padding: .48rem .9rem;
    background: rgba(132,220,198,.13); border: 1px solid rgba(132,220,198,.26);
    color: #84DCC6; color: var(--wb-accent-1);
    border-radius: 999px; font-size: .75rem; font-weight: 700; text-decoration: none;
    transition: background .15s;
}
#mm-services .mm-feat-cta:hover { background: rgba(132,220,198,.25); }

/* Desktop only — panel is JS-controlled so no display:none needed at desktop */
@media (max-width: 991.98px) { #mm-services { display: none !important; } }
@media (min-width: 992px)    { .mm-mobile    { display: none !important; } }

/* Mobile accordion sub-items */
.mm-mobile {
    background: var(--wb-surface); border-radius: 10px;
    margin: .3rem 0; overflow: hidden; border: 1px solid var(--wb-border-lt);
}
.mm-mobile-item {
    display: flex; align-items: center; gap: .7rem;
    padding: .6rem 1rem; color: var(--wb-text); text-decoration: none;
    font-size: .85rem; font-weight: 600;
    border-bottom: 1px solid var(--wb-border-lt);
    transition: background .15s, color .15s;
}
.mm-mobile-item:last-child { border-bottom: none; }
.mm-mobile-item:hover { background: var(--wb-bg-light); color: var(--wb-primary); }
.mm-mobile-icon {
    width: 30px; height: 30px; min-width: 30px;
    background: rgba(88,140,141,.1); border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: .8rem; color: var(--wb-primary);
}

/* Mobile: Bootstrap collapse stays in normal flow (below nav) */
@media (max-width: 991.98px) {
    .navbar-wb {
        height: auto !important;
        min-height: var(--nav-h);
    }
    .navbar-wb .navbar-nav {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: .5rem 0;
        gap: 0;
    }
    .navbar-wb .navbar-nav .nav-link {
        padding: .65rem 1rem !important;
        border-radius: 8px;
        border-bottom: 1px solid var(--wb-border-lt);
    }
    .navbar-wb .navbar-nav .nav-item:last-child .nav-link { border-bottom: none; }
    .navbar-wb .navbar-nav .nav-cta,
    .navbar-wb .navbar-nav .nav-cta.nav-link {
        justify-content: center !important;
        border-radius: 10px !important;
        margin-top: .5rem;
    }
    .lang-toggle { width: 100%; justify-content: center; margin: .5rem 0 0; }
    /* Dropdown open: nav occupies natural height, collapse shows below */
    .navbar-wb .navbar-collapse {
        background: #fff;
        border-top: 1px solid var(--wb-border-lt);
        padding: .75rem 1rem 1rem;
        box-shadow: 0 8px 24px rgba(1,25,54,.12);
    }
}

/* ========================
   8. HERO
   ======================== */
.hero-wb {
    min-height: 100vh; display: flex; align-items: center;
    background: linear-gradient(148deg, var(--wb-dark) 0%, var(--wb-dark-2) 55%, #03254e 100%);
    position: relative; overflow: hidden;
    padding: calc(var(--nav-h) + 4rem) 0 5rem;
}
.hero-wb::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 58% 78% at 70% 28%, rgba(88,140,141,.22) 0%, transparent 62%),
        radial-gradient(ellipse 35% 55% at 15% 85%, rgba(132,220,198,.06) 0%, transparent 55%);
}
.hero-grid {
    position: absolute; inset: 0; opacity: .03;
    background-image:
        linear-gradient(rgba(172,215,236,1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(172,215,236,1) 1px, transparent 1px);
    background-size: 64px 64px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .38rem 1rem;
    background: rgba(132,220,198,.1); border: 1px solid rgba(132,220,198,.2);
    border-radius: var(--r-pill); font-size: .76rem; font-weight: 700;
    color: var(--wb-accent-1); letter-spacing: .04em; margin-bottom: 1.5rem;
}
.hero-badge .dot {
    width: 7px; height: 7px;
    background: var(--wb-accent-1); border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.4)} }
.hero-wb .display-heading { color: #fff; }
.hero-desc { font-size: 1.075rem; color: rgba(255,255,255,.58); line-height: 1.72; max-width: 500px; margin-bottom: 2.25rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }

.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; }
.hero-stat-num { font-size: 1.75rem; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.03em; }
.hero-stat-num span { color: var(--wb-accent-1); }
.hero-stat-label { font-size: .74rem; color: rgba(255,255,255,.42); font-weight: 500; margin-top: .22rem; }
.hero-divider { width: 1px; background: rgba(255,255,255,.1); align-self: stretch; }

/* Hero visual */
.hero-visual { position: relative; z-index: 1; }
.hero-card {
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--r-2xl); padding: 1.75rem; backdrop-filter: blur(20px);
}
.hero-float {
    position: absolute; background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg);
    padding: 1rem 1.2rem; backdrop-filter: blur(20px);
}
.hero-float.f1 { top: -22px; right: -18px; min-width: 155px; }
.hero-float.f2 { bottom: -18px; left: -18px; min-width: 148px; }
.hero-float .float-num { font-size: 1.3rem; font-weight: 800; color: var(--wb-accent-1); line-height: 1; }
.hero-float .float-label { font-size: .68rem; color: rgba(255,255,255,.45); margin-top: .2rem; }

/* ========================
   9. TRUST BAR
   ======================== */
.trust-bar {
    background: var(--wb-bg-light);
    border-top: 1px solid var(--wb-border-lt); border-bottom: 1px solid var(--wb-border-lt);
    padding: 1.1rem 0;
}
.trust-item {
    display: flex; align-items: center; gap: .45rem;
    font-size: .8rem; font-weight: 700; color: var(--wb-text-2); white-space: nowrap;
}
.trust-item i { color: var(--wb-primary); }

/* ========================
   10. STATS BAR
   ======================== */
.stats-bar { background: var(--wb-dark); padding: 2rem 0; }
.stat-item { text-align: center; padding: 1.25rem 1rem; }

/* ========================
   11. SERVICE CARDS
   ======================== */
.service-card {
    background: #fff; border: 1.5px solid var(--wb-border-lt);
    border-radius: var(--r-xl); padding: 2rem; height: 100%;
    transition: var(--t-base); position: relative; overflow: hidden;
}
.service-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--wb-primary), var(--wb-accent-1));
    opacity: 0; transition: var(--t-base);
}
.service-card:hover { border-color: rgba(88,140,141,.22); box-shadow: var(--wb-shadow-md); transform: translateY(-5px); }
.service-card:hover::after { opacity: 1; }
.service-icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, rgba(88,140,141,.12), rgba(88,140,141,.06));
    border: 1px solid rgba(88,140,141,.14); border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: var(--wb-primary); margin-bottom: 1.25rem; transition: var(--t-base);
}
.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--wb-primary), var(--wb-secondary));
    border-color: transparent; color: #fff; box-shadow: var(--wb-glow-sm);
}
.service-card h4, .service-card h5 { font-size: 1.05rem; font-weight: 700; color: var(--wb-dark); margin-bottom: .5rem; }
.service-card p { font-size: .875rem; color: var(--wb-text-2); line-height: 1.65; }
.card-link, .service-link {
    display: inline-flex; align-items: center; gap: .3rem;
    font-size: .82rem; font-weight: 700; color: var(--wb-primary);
    text-decoration: none; margin-top: 1rem; transition: var(--t-fast);
}
.card-link:hover, .service-link:hover { color: var(--wb-primary-dk); gap: .5rem; }

/* ========================
   12. FEATURE CARDS (dark bg)
   ======================== */
.feature-dark { background: var(--wb-dark); position: relative; overflow: hidden; }
.feature-dark::before {
    content: ''; position: absolute; top: 0; right: 0; width: 45%; height: 100%;
    background: radial-gradient(ellipse at right center, rgba(88,140,141,.07) 0%, transparent 70%);
}
.feature-card {
    display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.4rem;
    background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
    border-radius: var(--r-lg); transition: var(--t-base);
}
.feature-card:hover { background: rgba(88,140,141,.07); border-color: rgba(88,140,141,.16); }
.f-icon {
    width: 44px; height: 44px; min-width: 44px;
    background: rgba(132,220,198,.1); border: 1px solid rgba(132,220,198,.15);
    border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: var(--wb-accent-1); transition: var(--t-base); flex-shrink: 0;
}
.feature-card:hover .f-icon { background: rgba(132,220,198,.2); border-color: rgba(132,220,198,.3); }
.feature-card h5 { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: .3rem; }
.feature-card p  { font-size: .82rem; color: rgba(255,255,255,.45); line-height: 1.55; margin: 0; }

/* Delay helpers */
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }

/* ========================
   13. TESTIMONIALS
   ======================== */
.testimonial-card {
    background: #fff; border: 1.5px solid var(--wb-border-lt);
    border-radius: var(--r-xl); padding: 2rem; height: 100%;
    position: relative; transition: var(--t-base);
}
.testimonial-card:hover { box-shadow: var(--wb-shadow-md); border-color: var(--wb-border); }
.testimonial-quote {
    font-size: 5rem; font-family: Georgia, serif;
    color: var(--wb-bg-light); line-height: 1;
    position: absolute; top: .6rem; right: 1.2rem;
}
.testimonial-stars { color: #f59e0b; font-size: .875rem; margin-bottom: 1rem; }
.testimonial-text { font-size: .9rem; color: var(--wb-text-2); line-height: 1.7; font-style: italic; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--wb-primary), var(--wb-secondary));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: #fff; font-size: .95rem; flex-shrink: 0;
}
.testimonial-name { font-size: .875rem; font-weight: 700; color: var(--wb-dark); }
.testimonial-role { font-size: .74rem; color: var(--wb-muted); }

/* ========================
   14. RESULTS SECTION
   ======================== */
.results-section {
    background: linear-gradient(155deg, var(--wb-dark) 0%, var(--wb-dark-2) 60%, #03254e 100%);
    position: relative; overflow: hidden;
}
.results-section::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 48% 58% at 80% 50%, rgba(88,140,141,.12) 0%, transparent 65%);
}
.result-card {
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--r-xl); padding: 2rem; text-align: center; transition: var(--t-base);
}
.result-card:hover { background: rgba(88,140,141,.1); border-color: rgba(88,140,141,.22); transform: translateY(-4px); }
.result-num { font-size: 2.75rem; font-weight: 800; color: var(--wb-accent-1); line-height: 1; letter-spacing: -.03em; margin-bottom: .5rem; }
.result-label { font-size: .875rem; color: rgba(255,255,255,.52); line-height: 1.4; }
.result-tag {
    display: inline-block; margin-top: .7rem; padding: .2rem .65rem;
    background: rgba(88,140,141,.15); border-radius: var(--r-pill);
    font-size: .68rem; color: var(--wb-accent-2); font-weight: 700;
}

/* ========================
   15. CTA COMPONENT
   ======================== */
.cta-section {
    background: linear-gradient(148deg, var(--wb-dark) 0%, var(--wb-dark-2) 55%, var(--wb-dark-3) 100%);
    padding: 5rem 0; position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 52% 80% at 50% 50%, rgba(88,140,141,.12) 0%, transparent 65%),
        radial-gradient(circle at 88% 18%, rgba(172,215,236,.05) 0%, transparent 40%);
}
.cta-dark { background: var(--wb-dark); }

/* ========================
   16. PAGE HERO
   ======================== */
.page-hero {
    background: linear-gradient(148deg, var(--wb-dark) 0%, var(--wb-dark-2) 55%, #03254e 100%);
    padding: 5rem 0 4rem; position: relative; overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 58% 88% at 85% 40%, rgba(88,140,141,.2) 0%, transparent 65%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23588c8d' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .breadcrumb { background: none; padding: 0; margin-bottom: 1.5rem; }
.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a { font-size: .8rem; color: rgba(255,255,255,.4); text-decoration: none; }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,.75); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.22); }

/* ========================
   17. CONTACT FORM
   ======================== */
.contact-wrap {
    background: #fff; border: 1.5px solid var(--wb-border-lt);
    border-radius: var(--r-xl); padding: 2.5rem; box-shadow: var(--wb-shadow-md);
}
.form-label-wb { display: block; font-size: .82rem; font-weight: 700; color: var(--wb-dark); margin-bottom: .4rem; }
.form-control-wb {
    width: 100%; padding: .72rem 1rem; border: 1.5px solid var(--wb-border);
    border-radius: var(--r-md); font-size: .875rem; color: var(--wb-text);
    background: var(--wb-bg); transition: var(--t-fast); outline: none; font-family: inherit; line-height: 1.5;
}
.form-control-wb:focus { border-color: var(--wb-primary); box-shadow: 0 0 0 3px rgba(88,140,141,.12); }
.form-control-wb::placeholder { color: var(--wb-muted); opacity: .6; }

/* ========================
   18. FOOTER
   ======================== */
.footer-wb { background: var(--wb-dark); padding: 5rem 0 0; position: relative; }
.footer-wb::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--wb-primary), var(--wb-accent-1), var(--wb-primary), transparent);
}
.footer-brand img { height: 44px; }
.footer-desc { font-size: .875rem; color: rgba(255,255,255,.38); line-height: 1.7; }
.footer-heading {
    font-size: .63rem; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: rgba(255,255,255,.24); margin-bottom: 1.25rem;
}
.footer-link {
    display: flex; align-items: center; font-size: .855rem;
    color: rgba(255,255,255,.42); text-decoration: none;
    padding: .28rem 0; transition: var(--t-fast);
}
.footer-link:hover { color: var(--wb-accent-1); padding-left: .35rem; }
.footer-contact-item {
    display: flex; align-items: flex-start; gap: .75rem;
    margin-bottom: 1rem; font-size: .855rem; color: rgba(255,255,255,.42);
}
.footer-contact-item i { color: var(--wb-primary); font-size: .9rem; margin-top: .12rem; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,.52); text-decoration: none; transition: var(--t-fast); }
.footer-contact-item a:hover { color: var(--wb-accent-1); }
.social-icons { display: flex; gap: .45rem; }
.social-icon {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--r-sm); display: inline-flex; align-items: center; justify-content: center;
    font-size: .9rem; color: rgba(255,255,255,.38); text-decoration: none; transition: var(--t-base);
}
.social-icon:hover {
    background: var(--wb-primary); border-color: var(--wb-primary);
    color: #fff; transform: translateY(-2px); box-shadow: var(--wb-glow-sm);
}
.footer-bottom {
    margin-top: 4rem; padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,.06);
    font-size: .8rem; color: rgba(255,255,255,.24);
}
.footer-bottom a { color: rgba(255,255,255,.32); text-decoration: none; transition: var(--t-fast); }
.footer-bottom a:hover { color: var(--wb-accent-1); }

/* ========================
   19. BACK TO TOP
   ======================== */
#back-to-top {
    position: fixed; bottom: 2rem; right: 2rem;
    width: 44px; height: 44px; background: var(--wb-primary);
    color: #fff; border: none; border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: var(--t-base); z-index: 900; box-shadow: var(--wb-glow);
}
#back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top:hover { background: var(--wb-primary-dk); transform: translateY(-2px); }

/* ========================
   20. ANIMATIONS
   ======================== */
.fade-up {
    opacity: 0; transform: translateY(28px);
    transition: opacity .65s var(--wb-ease), transform .65s var(--wb-ease);
}
.fade-up.in-view { opacity: 1; transform: translateY(0); }

/* ========================
   21. BLOG CARDS
   ======================== */
.blog-card {
    background: #fff; border: 1.5px solid var(--wb-border-lt);
    border-radius: var(--r-xl); overflow: hidden; transition: var(--t-base);
    height: 100%; display: flex; flex-direction: column;
}
.blog-card:hover { box-shadow: var(--wb-shadow-md); transform: translateY(-4px); border-color: var(--wb-border); }
.blog-thumb {
    height: 200px;
    background: linear-gradient(135deg, var(--wb-bg-light), var(--wb-accent-3));
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; color: var(--wb-primary); flex-shrink: 0;
}
.blog-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-cat {
    display: inline-flex; padding: .18rem .65rem;
    background: rgba(88,140,141,.1); color: var(--wb-primary);
    border-radius: var(--r-pill); font-size: .66rem; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase; margin-bottom: .7rem;
}
.blog-card h5 { font-size: .95rem; font-weight: 700; color: var(--wb-dark); line-height: 1.4; margin-bottom: .5rem; }
.blog-meta { font-size: .74rem; color: var(--wb-muted); margin-top: auto; padding-top: 1rem; }

/* ========================
   22. PROCESS STEPS
   ======================== */
.process-step {
    display: flex; gap: 1.25rem; align-items: flex-start;
    padding: 1.4rem; background: var(--wb-surface);
    border-radius: var(--r-lg); border: 1.5px solid var(--wb-border-lt);
    margin-bottom: 1rem; transition: var(--t-base);
}
.process-step:hover { border-color: rgba(88,140,141,.2); background: rgba(88,140,141,.03); }
.step-num {
    width: 38px; height: 38px; min-width: 38px;
    background: linear-gradient(135deg, var(--wb-primary), var(--wb-secondary));
    color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: .8rem; font-weight: 800; box-shadow: var(--wb-glow-sm);
}

/* ========================
   23. NEWSLETTER
   ======================== */
.newsletter-section {
    background: linear-gradient(135deg, var(--wb-bg-light) 0%, var(--wb-accent-3) 100%);
    border-top: 1px solid var(--wb-border-lt); border-bottom: 1px solid var(--wb-border-lt);
}

/* ========================
   24. RESPONSIVE
   ======================== */
/* ── Tablet & below ── */
@media (max-width: 991.98px) {
    :root { --section: 4rem; --section-sm: 3rem; }
    .hero-wb { min-height: auto; padding: calc(var(--nav-h) + 3rem) 0 4rem; }
    .mm-grid { grid-template-columns: 1fr; }
    .mm-featured { margin-top: 1rem; }

    /* Services page two-column grid fallback */
    .row.flex-lg-row-reverse { flex-direction: column !important; }

    /* Trust bar scrollable on tablet */
    .trust-bar .d-flex { overflow-x: auto; padding-bottom: .25rem; flex-wrap: nowrap; }
    .trust-bar .d-flex::-webkit-scrollbar { display: none; }
}

/* ── Mobile (< 768px) ── */
@media (max-width: 767.98px) {
    .hero-divider { display: none; }
    .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
    .hero-stat-num { font-size: 1.45rem; }
    .hero-float { display: none; }
    .contact-wrap { padding: 1.5rem; }
    .stat-num, .stat-number { font-size: 1.65rem; }

    /* Megamenu: let mobile menu show inline under Services */
    .mm-mobile { margin: 0 0 .5rem; }

    /* Service cards: single column on small phones */
    .result-card { padding: 1.5rem; }
    .result-num  { font-size: 2.2rem; }

    /* Footer */
    .footer-wb { padding: 3.5rem 0 0; }

    /* Page hero */
    .page-hero { padding: 6rem 0 3rem; }

    /* Stats bar: 2-up grid */
    .stat-item { padding: 1rem .5rem; }

    /* CTA banner */
    .cta-section { padding: 3.5rem 0; }

    /* Testimonial cards */
    .testimonial-quote { font-size: 3.5rem; }
}

/* ── Small phones (< 576px) ── */
@media (max-width: 575.98px) {
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn-wb-gradient,
    .btn-wb-ghost,
    .btn-wb-outline,
    .btn-wb-primary,
    .btn-wb-light { width: 100%; justify-content: center; }

    /* Keep trust bar scrollable on small screens */
    .trust-bar .container { padding: 0 1rem; }
    .trust-bar .d-flex { gap: 1.5rem; }

    /* Section headings tighter on small phones */
    .section-heading { font-size: 1.6rem; }
    .display-heading  { font-size: 2rem; }

    /* Contact form */
    .contact-wrap { padding: 1.25rem; border-radius: var(--r-lg); }

    /* Footer columns full-width */
    .footer-wb .col-6 { flex: 0 0 100%; max-width: 100%; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom p { margin: 0; }

    /* Back to top */
    #back-to-top { bottom: 1.25rem; right: 1.25rem; }
}
