﻿:root {
    --wb-bg-dark: #07111f;
    --wb-bg-darker: #040b14;
    --wb-bg-light: #f7f9fc;
    --wb-card: #ffffff;
    --wb-card-soft: #f8fbff;
    --wb-text: #122033;
    --wb-text-soft: #5e6b7a;
    --wb-text-muted: #7d8a9c;
    --wb-primary: #4f7cff;
    --wb-primary-deep: #1c48e3;
    --wb-primary-soft: rgba(79,124,255,.12);
    --wb-primary-soft-2: rgba(79,124,255,.18);
    --wb-accent: #8aa7ff;
    --wb-border: rgba(18,32,51,.08);
    --wb-border-strong: rgba(18,32,51,.12);
    --wb-white-border: rgba(255,255,255,.10);
    --wb-shadow-sm: 0 10px 24px rgba(7,17,31,.06);
    --wb-shadow-md: 0 18px 48px rgba(7,17,31,.10);
    --wb-shadow-lg: 0 28px 80px rgba(7,17,31,.18);
}

body.wb-menu-open {
    overflow: hidden;
}

    body.wb-menu-open .wb-back-to-top {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

/* =========================
   HEADER
========================= */
.wb-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.88));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(18,32,51,.05);
}

.wb-header-wrap {
    width: 100%;
    position: relative;
    padding: 12px 0;
}

    .wb-header-wrap::before {
        content: "";
        position: absolute;
        left: 24px;
        right: 24px;
        top: 12px;
        bottom: 12px;
        border-radius: 22px;
        background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(247,250,255,.94));
        border: 1px solid rgba(18,32,51,.07);
        box-shadow: 0 12px 40px rgba(8,18,34,.08), inset 0 1px 0 rgba(255,255,255,.8);
        pointer-events: none;
    }

.wb-navbar {
    position: relative;
    z-index: 2;
    min-height: 84px;
    padding-top: .95rem;
    padding-bottom: .95rem;
}

.wb-desktop-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-left: 2rem;
}

/* =========================
   TOPBAR
========================= */
.wb-topbar {
    position: relative;
    z-index: 3;
    border-bottom: 1px solid rgba(18,32,51,.06);
    background: linear-gradient(90deg, #fbfcff 0%, #f6f9ff 100%);
}

.wb-topbar-inner {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.wb-topbar-left,
.wb-topbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.wb-topbar-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #5a6a7f;
    font-size: .9rem;
    font-weight: 600;
    transition: color .25s ease;
    text-decoration: none;
}

    .wb-topbar-link:hover {
        color: var(--wb-primary-deep);
    }

    .wb-topbar-link i {
        color: var(--wb-primary);
        font-size: .95rem;
    }

.wb-topbar-social {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding-right: .85rem;
    margin-right: .25rem;
    border-right: 1px solid rgba(18,32,51,.08);
}

    .wb-topbar-social a {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #506179;
        background: rgba(79,124,255,.06);
        transition: all .25s ease;
        text-decoration: none;
    }

        .wb-topbar-social a:hover {
            color: #fff;
            background: linear-gradient(135deg, #1c48e3, #5c83ff);
            transform: translateY(-1px);
        }

.wb-topbar-portals {
    display: flex;
    align-items: center;
    gap: .55rem;
}

/* =========================
   BRAND
========================= */
.wb-brand {
    display: inline-flex;
    align-items: center;
    gap: .9rem;
    color: var(--wb-text);
    position: relative;
    z-index: 3;
    text-decoration: none;
}

    .wb-brand:hover {
        color: var(--wb-text);
    }

.wb-brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #16306a 0%, #2d56f0 55%, #4f7cff 100%);
    color: #fff;
    font-weight: 800;
    font-size: 1.08rem;
    box-shadow: 0 12px 26px rgba(49,93,255,.28);
    flex-shrink: 0;
}

.wb-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.02;
}

    .wb-brand-text strong {
        font-size: 1.05rem;
        color: var(--wb-text);
        font-weight: 800;
        letter-spacing: -.01em;
    }

    .wb-brand-text small {
        font-size: .72rem;
        color: #7a8798;
        letter-spacing: .12em;
        text-transform: uppercase;
        font-weight: 700;
    }

/* =========================
   DESKTOP NAV
========================= */
.wb-nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .2rem;
    margin: 0 auto;
    padding-left: 0;
}

    .wb-nav-links .nav-item {
        display: flex;
        align-items: center;
    }

    .wb-nav-links .nav-link {
        position: relative;
        color: #223249;
        font-weight: 700;
        font-size: .98rem;
        padding: .78rem .95rem;
        border-radius: 14px;
        transition: all .25s ease;
        white-space: nowrap;
        text-decoration: none;
    }

        .wb-nav-links .nav-link::after {
            content: "";
            position: absolute;
            left: 14px;
            right: 14px;
            bottom: 8px;
            height: 2px;
            border-radius: 999px;
            background: linear-gradient(90deg, #2d56f0, #8aa7ff);
            transform: scaleX(0);
            transform-origin: center;
            transition: transform .25s ease;
        }

        .wb-nav-links .nav-link:hover {
            color: var(--wb-primary-deep);
            background: rgba(79,124,255,.06);
        }

            .wb-nav-links .nav-link:hover::after {
                transform: scaleX(1);
            }

        .wb-nav-links .nav-link.active {
            color: var(--wb-primary-deep);
            background: rgba(79,124,255,.09);
        }

            .wb-nav-links .nav-link.active::after {
                transform: scaleX(1);
            }

/* =========================
   ACTIONS
========================= */
.wb-nav-actions {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-shrink: 0;
}

.wb-btn-primary {
    background: linear-gradient(135deg, #1c48e3, #5c83ff);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: .88rem 1.45rem;
    font-weight: 800;
    font-size: .96rem;
    letter-spacing: -.01em;
    box-shadow: 0 14px 32px rgba(28,72,227,.22);
    transition: all .25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 126px;
    text-decoration: none;
}

    .wb-btn-primary:hover {
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 18px 36px rgba(28,72,227,.28);
    }

.wb-btn-outline {
    border: 1px solid rgba(18,32,51,.10);
    color: var(--wb-text);
    border-radius: 999px;
    padding: .84rem 1.3rem;
    font-weight: 800;
    font-size: .95rem;
    background: rgba(255,255,255,.82);
    transition: all .25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    text-decoration: none;
}

    .wb-btn-outline:hover {
        color: var(--wb-primary-deep);
        border-color: rgba(79,124,255,.28);
        background: #ffffff;
        transform: translateY(-1px);
    }

/* =========================
   PORTAL PILLS
========================= */
.wb-portal-link {
    min-height: 38px;
    padding: .5rem .95rem;
    border-radius: 999px;
    border: 1px solid rgba(18,32,51,.08);
    background: #fff;
    color: #42536a;
    font-size: .88rem;
    font-weight: 700;
    transition: all .25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
}

    .wb-portal-link:hover {
        color: var(--wb-primary-deep);
        border-color: rgba(79,124,255,.25);
        background: #f8fbff;
    }

.wb-portal-link-active {
    color: #fff;
    background: linear-gradient(135deg, #172338, #2f55ea);
    border-color: transparent;
    box-shadow: 0 10px 22px rgba(23,35,56,.18);
}

    .wb-portal-link-active:hover {
        color: #fff;
        background: linear-gradient(135deg, #172338, #2f55ea);
    }

/* =========================
   MOBILE TOGGLE
========================= */
.wb-mobile-toggle {
    border: 1px solid rgba(18,32,51,.08);
    background: #fff;
    border-radius: 16px;
    width: 54px;
    height: 54px;
    padding: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all .25s ease;
    box-shadow: 0 10px 24px rgba(7,17,31,.06);
}

    .wb-mobile-toggle:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 28px rgba(7,17,31,.10);
    }

    .wb-mobile-toggle:focus {
        box-shadow: none;
        outline: none;
    }

.wb-toggler-line {
    display: block;
    width: 22px;
    height: 2px;
    background: #20304a;
    border-radius: 999px;
}

/* =========================
   MOBILE OVERLAY
========================= */
.wb-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4,11,20,.46);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
    z-index: 1098;
}

    .wb-mobile-overlay.is-open {
        opacity: 1;
        visibility: visible;
    }

/* =========================
   MOBILE PANEL
========================= */
.wb-mobile-panel {
    position: fixed;
    top: 12px;
    right: 12px;
    width: min(86vw, 410px);
    height: calc(100vh - 24px);
    background: radial-gradient(circle at top right, rgba(79,124,255,.14), transparent 30%), linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
    box-shadow: -24px 0 60px rgba(7,17,31,.18);
    transform: translateX(calc(100% + 24px));
    transition: transform .48s cubic-bezier(.22,1,.36,1);
    z-index: 1099;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(18,32,51,.08);
}

    .wb-mobile-panel.is-open {
        transform: translateX(0);
    }

.wb-mobile-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .95rem 1rem .9rem;
    border-bottom: 1px solid rgba(18,32,51,.06);
    background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(246,249,255,.96));
}

.wb-mobile-brand {
    max-width: calc(100% - 64px);
}

.wb-mobile-close {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(18,32,51,.08);
    background: rgba(255,255,255,.88);
    color: #24344d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all .25s ease;
}

    .wb-mobile-close:hover {
        transform: rotate(90deg);
        box-shadow: 0 10px 24px rgba(7,17,31,.08);
    }

    .wb-mobile-close i {
        font-size: 1.05rem;
    }

.wb-mobile-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: .95rem .95rem 1.15rem;
    scrollbar-width: thin;
}

/* =========================
   MOBILE TOP CARD
========================= */
.wb-mobile-contact-card {
    padding: 1rem;
    border-radius: 22px;
    background: linear-gradient(135deg, #f8fbff, #eef4ff);
    border: 1px solid rgba(18,32,51,.06);
    box-shadow: 0 12px 30px rgba(7,17,31,.05);
    margin-bottom: 1.2rem;
}

.wb-mobile-contact-links {
    display: grid;
    gap: .25rem;
    margin-bottom: .6rem;
}

.wb-mobile-contact-link {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    min-height: 40px;
    color: var(--wb-primary-deep);
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
}

    .wb-mobile-contact-link i {
        color: var(--wb-primary);
        font-size: 1rem;
        width: 18px;
        text-align: center;
    }

.wb-mobile-social {
    display: flex;
    justify-content: center;
    gap: .55rem;
    margin: .5rem 0 .85rem;
}

    .wb-mobile-social a {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: var(--wb-primary-deep);
        background: rgba(79,124,255,.06);
        border: 1px solid rgba(18,32,51,.06);
        transition: all .25s ease;
        text-decoration: none;
    }

        .wb-mobile-social a:hover {
            color: #fff;
            background: linear-gradient(135deg, #1c48e3, #5c83ff);
            transform: translateY(-1px);
        }

/* segmented mobile portals */
.wb-mobile-portals {
    display: flex;
    gap: .5rem;
    background: rgba(255,255,255,.62);
    padding: .4rem;
    border-radius: 999px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

    .wb-mobile-portals .wb-portal-link {
        flex: 1;
        min-height: 40px;
        padding: .42rem .7rem;
        border-radius: 999px;
        background: transparent;
        border: none;
        font-size: .84rem;
        font-weight: 700;
        color: #5c6b7c;
        box-shadow: none;
    }

        .wb-mobile-portals .wb-portal-link:hover {
            background: rgba(79,124,255,.08);
            color: var(--wb-primary-deep);
        }

    .wb-mobile-portals .wb-portal-link-active {
        background: linear-gradient(135deg, #1c48e3, #5c83ff);
        color: #fff;
        box-shadow: 0 6px 14px rgba(28,72,227,.25);
    }

        .wb-mobile-portals .wb-portal-link-active:hover {
            background: linear-gradient(135deg, #1c48e3, #5c83ff);
            color: #fff;
        }

/* =========================
   MOBILE MENU GROUP
========================= */
.wb-mobile-menu-group {
    display: grid;
    gap: .55rem;
    margin-bottom: .95rem;
}

.wb-mobile-nav-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: .9rem 1rem;
    border-radius: 18px;
    background: rgba(255,255,255,.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(18,32,51,.06);
    color: var(--wb-text);
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    transition: transform .35s ease, opacity .35s ease, border-color .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
    transform: translateX(22px);
    opacity: 0;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(7,17,31,.04), inset 0 1px 0 rgba(255,255,255,.6);
}

    .wb-mobile-nav-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(79,124,255,.08), rgba(79,124,255,0));
        opacity: 0;
        transition: opacity .25s ease;
    }

    .wb-mobile-nav-card > * {
        position: relative;
        z-index: 1;
    }

.wb-mobile-panel.is-open .wb-mobile-nav-card {
    transform: translateX(0);
    opacity: 1;
}

    .wb-mobile-panel.is-open .wb-mobile-nav-card:nth-child(1) {
        transition-delay: .04s;
    }

    .wb-mobile-panel.is-open .wb-mobile-nav-card:nth-child(2) {
        transition-delay: .08s;
    }

    .wb-mobile-panel.is-open .wb-mobile-nav-card:nth-child(3) {
        transition-delay: .12s;
    }

    .wb-mobile-panel.is-open .wb-mobile-nav-card:nth-child(4) {
        transition-delay: .16s;
    }

    .wb-mobile-panel.is-open .wb-mobile-nav-card:nth-child(5) {
        transition-delay: .20s;
    }

    .wb-mobile-panel.is-open .wb-mobile-nav-card:nth-child(6) {
        transition-delay: .24s;
    }

    .wb-mobile-panel.is-open .wb-mobile-nav-card:nth-child(7) {
        transition-delay: .28s;
    }

    .wb-mobile-panel.is-open .wb-mobile-nav-card:nth-child(8) {
        transition-delay: .32s;
    }

    .wb-mobile-panel.is-open .wb-mobile-nav-card:nth-child(9) {
        transition-delay: .36s;
    }

    .wb-mobile-panel.is-open .wb-mobile-nav-card:nth-child(10) {
        transition-delay: .40s;
    }

    .wb-mobile-panel.is-open .wb-mobile-nav-card:nth-child(11) {
        transition-delay: .44s;
    }

    .wb-mobile-panel.is-open .wb-mobile-nav-card:nth-child(12) {
        transition-delay: .48s;
    }

.wb-mobile-nav-card:hover {
    transform: translateX(0) translateY(-2px);
    background: rgba(255,255,255,.85);
    border-color: rgba(79,124,255,.20);
    box-shadow: 0 14px 28px rgba(7,17,31,.08);
    color: var(--wb-primary-deep);
}

    .wb-mobile-nav-card:hover::before {
        opacity: 1;
    }

.wb-mobile-nav-card.active {
    color: #fff;
    background: linear-gradient(135deg, #1c2f55, #3b5cff);
    border-color: transparent;
    box-shadow: 0 14px 30px rgba(28,72,227,.25), inset 0 1px 0 rgba(255,255,255,.15);
}

    .wb-mobile-nav-card.active::before {
        opacity: 0;
    }

/* =========================
   MOBILE CTA
========================= */
.wb-mobile-cta-group {
    display: grid;
    gap: .7rem;
    margin-top: .2rem;
}

    .wb-mobile-cta-group .btn {
        width: 100%;
        justify-content: center;
        min-height: 50px;
    }

/* =========================
   RESPONSIVE
========================= */
@media (min-width: 1200px) {
    .wb-mobile-panel,
    .wb-mobile-overlay {
        display: none !important;
    }

    .wb-mobile-toggle {
        display: none !important;
    }

    .wb-desktop-nav {
        display: flex !important;
    }
}

@media (max-width: 1199.98px) {
    .wb-topbar {
        display: none !important;
    }

    .wb-header-wrap {
        padding: 10px 0;
    }

        .wb-header-wrap::before {
            left: 14px;
            right: 14px;
            top: 10px;
            bottom: 10px;
            border-radius: 18px;
        }

    .wb-navbar {
        min-height: 76px;
        padding-top: .8rem;
        padding-bottom: .8rem;
    }

    .wb-desktop-nav {
        display: none !important;
    }

    .wb-mobile-toggle {
        display: inline-flex;
    }

    .wb-mobile-panel {
        top: 10px;
        right: 10px;
        width: min(88vw, 400px);
        height: calc(100vh - 20px);
        border-radius: 22px;
    }
}

@media (max-width: 767.98px) {
    .wb-brand-mark {
        width: 40px;
        height: 40px;
        border-radius: 13px;
        font-size: 1rem;
    }

    .wb-brand-text strong {
        font-size: .98rem;
    }

    .wb-brand-text small {
        font-size: .66rem;
        letter-spacing: .1em;
    }

    .wb-mobile-panel {
        top: 10px;
        right: 10px;
        width: min(88vw, 380px);
        height: calc(100vh - 20px);
        border-radius: 20px;
    }

    .wb-mobile-contact-card {
        padding: .82rem;
    }

    .wb-mobile-portals .wb-portal-link {
        min-height: 38px;
        font-size: .8rem;
        padding: .36rem .55rem;
    }

    .wb-mobile-nav-card {
        min-height: 54px;
        font-size: .97rem;
        border-radius: 16px;
    }

    .wb-mobile-contact-link {
        font-size: .98rem;
    }

    .wb-mobile-social a {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wb-mobile-panel,
    .wb-mobile-overlay,
    .wb-mobile-nav-card,
    .wb-mobile-close,
    .wb-mobile-toggle,
    .wb-nav-links .nav-link,
    .wb-btn-primary,
    .wb-btn-outline,
    .wb-portal-link {
        transition: none !important;
    }
}


.wb-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
    margin-right: 8px;
}

.wb-brand-tagline {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #6b7280; /* subtle grey */
    letter-spacing: 0.06em;
    margin-top: 2px;
}