/* =========================================
   BASE
   ========================================= */
:root {
    --bg-start: #0a1020;
    --bg-end: #0a1642;
    --text: #e9efff;
    --muted: #a8b1c7;
    --accent: #5fb2ff;

    /* Grid sizing matches container width */
    --grid-max: 1320px; /* Bootstrap .container-xxl max */
    --grid-side-gap: 48px; /* container horizontal padding */
}

.b3-body {
    background: linear-gradient(180deg, var(--bg-start), var(--bg-end));
    color: var(--text);
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto,
        "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

/* =========================================
   NAVBAR (over hero)
   ========================================= */
.b3-nav {
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    z-index: 60;
    padding: 0;
    background: transparent;
    overflow-x: clip;
}
.b3-rail {
    padding: 10px 14px;
    margin-inline: auto;
}
.b3-brand {
    text-decoration: none;
}
.b3-logo {
    height: 60px;
    width: auto;
}

.b3-brand-text {
    font-weight: 700;
    color: var(--text);
    display: none;
}
@media (min-width: 576px) {
    .b3-brand-text {
        display: inline;
    }
}

/* Links / dropdown buttons */
.b3-menu a,
.b3-dd-btn {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}
.b3-menu a:hover,
.b3-dd-btn:hover {
    color: var(--accent);
}

/* Burger */
.b3-burger {
    background: transparent;
    color: var(--text);
    border: 0;
    font-size: 22px;
}

/* Dropdown containers */
.b3-menu .b3-menu-dd {
    position: relative;
}
.b3-dd-btn {
    background: transparent;
    border: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}
.b3-caret {
    transition: transform 0.2s ease;
}
.b3-menu .b3-menu-dd.open .b3-dd {
    display: block;
}
.b3-menu .b3-menu-dd.open .b3-caret {
    transform: rotate(180deg);
}

.b3-menu .b3-dd {
    position: absolute;
    left: 0;
    top: 140%;
    display: none;
    min-width: 180px;
    padding: 8px;
    background: #0b0f23;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}
.b3-dd a {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--text);
}
.b3-dd a:hover {
    background: rgba(255, 255, 255, 0.06);
}

/* =========================================
   CTA (Contact pill)
   ========================================= */
.b3-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 5px 26px;
    border-radius: 9999px;
    text-decoration: none;
    background: rgba(16, 22, 44, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 -1px 8px rgba(0, 0, 0, 0.35), 0 8px 24px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-weight: 700;
    letter-spacing: 0.2px;
    background-image: linear-gradient(
        180deg,
        #f2f5ff 0%,
        #c3ccda 60%,
        #9fa9bc 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.b3-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06);
    pointer-events: none;
}
.b3-cta::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 46%;
    height: 8px;
    border-radius: 999px;
    pointer-events: none;
    background: radial-gradient(
        60% 100% at 50% 100%,
        rgba(255, 255, 255, 0.35) 0%,
        rgba(255, 255, 255, 0) 70%
    );
    filter: blur(0.4px);
}
.b3-cta:hover,
.b3-cta:focus-visible {
    background: rgba(18, 26, 52, 0.62);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 10px rgba(0, 0, 0, 0.38), 0 10px 28px rgba(0, 0, 0, 0.42);
}

/* =========================================
   MOBILE (≤ 767.98px): centered panel
   ========================================= */
@media (max-width: 767.98px) {
    /* The slide-down menu panel */
    .b3-menu.open {
        position: fixed;
        top: 52px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 50vw; /* keep current winning value */
        max-width: 560px;
        min-width: 280px;
        display: grid !important;
        gap: 10px;
        padding: 14px;
        background: #0b0f23;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        z-index: 70;
    }

    /* In the panel, dropdowns flow under buttons */
    .b3-menu.open .b3-menu-dd {
        width: 100%;
    }
    .b3-menu.open .b3-dd {
        position: static;
        top: auto;
        left: auto;
        min-width: 100%;
        margin-top: 6px;
    }
}

/* =========================================
   DESKTOP (≥ 768px): normal inline nav
   ========================================= */
@media (min-width: 768px) {
    .b3-menu {
        position: static;
    }

    /* If .open exists (e.g., after resize), normalize it */
    .b3-menu.open {
        position: static;
        inset: auto;
        transform: none;
        width: auto;
        max-width: none;
        min-width: 0;
        display: flex !important;
        gap: 1rem;
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
        z-index: auto;
    }

    /* Desktop dropdowns as popouts */
    .b3-menu .b3-dd {
        position: absolute;
        top: 140%;
        left: 0;
        min-width: 180px;
        padding: 8px;
        background: #0b0f23;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 10px;
    }
}

/* =========================================
   HERO (video, grids, dots)
   ========================================= */
.b3-hero {
    position: relative;
    isolation: isolate;
    min-height: 120vh; /* keep roomy */
    /* padding: clamp(88px, 10vw, 120px) 0 clamp(40px, 6vw, 72px); */
    padding: 0;
    overflow: hidden;
}
/* keep content above overlays */
.b3-hero .container-xxl {
    display: flex; /* add */
    min-height: inherit; /* already there; keep */
    align-items: center; /* already there; keep */
}

.b3-hero .container-xxl > .row {
    width: 100%; /* ensure row spans full width inside container */
}

/* background video base */
.b3-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -3;
    filter: saturate(1.05) brightness(0.2);
}
/* vignette behind grids/dots */
.b3-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: radial-gradient(
            1200px 700px at 50% -200px,
            rgba(19, 41, 120, 0.55),
            transparent 60%
        ),
        radial-gradient(
            900px 600px at 80% 20%,
            rgba(9, 22, 60, 0.45),
            transparent 60%
        );
}

/* dotted bands near grids (top & bottom), repeat-x */
.b3-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url("/portfolio1/images/hero/bg_dot.png"),
        url("/portfolio1/images/hero/bg_dot.png");
    background-repeat: repeat-x, repeat-x;
    /* sit close to grids */
    background-position: 50% 44px, /* near top grid */ 50% calc(100% - 56px); /* near bottom grid */
    background-size: 380px auto, 380px auto; /* controls repeat density */
    opacity: 0.3;
}

/* global dots overlay image (kept, softened) */
.b3-bg-dots {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Grids constrained to content width + darker look */
.b3-grid-top,
.b3-grid-bottom {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: min(var(--grid-max), calc(100% - var(--grid-side-gap)));
    max-width: 100%;
    /* darker grid lines */
    /* filter: brightness(0.75) contrast(1.15); */
    pointer-events: none;
    user-select: none;
    z-index: -1;
}
.b3-grid-top {
    top: -50px;
}
.b3-grid-bottom {
    bottom: -90px;
    transform: translateX(-50%) scaleY(-1);
    opacity: 0.98;
    /* gentle fade so points vanish, not hard-cut */
    -webkit-mask-image: linear-gradient(
        to top,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.18) 20%,
        rgba(0, 0, 0, 0.45) 20%,
        rgba(0, 0, 0, 0.7) 35%
    );
    mask-image: linear-gradient(
        to top,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.18) 20%,
        rgba(0, 0, 0, 0.45) 20%,
        rgba(0, 0, 0, 0.7) 35%
    );
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
.b3-title {
    font-family: "Oswald", sans-serif;
    font-size: 120px;
    line-height: 0.92;
    letter-spacing: 1px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 14px;
}
.b3-title span {
    display: block;
}
.b3-sub {
    color: var(--muted);
    font-size: clamp(16px, 1.5vw, 18px);
    max-width: 640px;
}
.b3-link {
    color: var(--text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    text-decoration: none;
}
.b3-link:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* =========================================
   RIGHT SLIDERS
   ========================================= */
.b3-right {
    width: 100%;
}
.b3-carousel .b3-card {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    height: auto; /* let image size define height */
}

.b3-carousel img {
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}

/* row sizings */
#certCarousel .b3-card {
    height: 78px;
}
#certCarousel img {
    max-height: 60px;
}
#brandCarousel .b3-card {
    height: 120px;
}
#brandCarousel img {
    max-height: 68px;
}

/* =========================================
   RESPONSIVE TWEAKS
   ========================================= */
@media (max-width: 991.98px) {
    .b3-title {
        font-size: 96px;
    }
    .b3-sub {
        max-width: 80%;
    }
    .b3-rail {
        margin-inline: 12px;
    }

    /* center the left hero column text */
    .b3-hero .col-12.col-lg-6:first-child {
        text-align: center;
    }
    /* keep title & copy centered within */
    .b3-hero .b3-title,
    .b3-hero .b3-sub {
        margin-left: auto;
        margin-right: auto;
    }
    /* center the badge strip */
    .b3-hero .b3-badges {
        justify-content: center !important;
    }
}

@media (max-width: 575.98px) {
    .b3-hero .container-xxl {
        padding-right: 0;
        margin-right: 0;
    }
    .b3-hero .container-xxl > .row {
        margin-top: 10vw;
    }
    .b3-hero {
        min-height: 85vh;
    }
    .b3-title {
        font-size: 50px;
    }
    .b3-sub {
        font-size: 12px;
    }

    #certCarousel .b3-card {
        height: 72px;
    }
    #certCarousel img {
        max-height: 40px;
    }
    #brandCarousel .b3-card {
        height: 88px;
    }
    #brandCarousel img {
        max-height: 60px;
    }
}

@media (max-width: 450px) {
    .b3-hero {
        min-height: 70vh;
    }
}

/* ================================
   EDU_RESOURCES 
   ================================ */

/* Section */
.edu-res {
    position: relative;
    background: #fff;
    color: #0f162e;
    padding: clamp(40px, 6vw, 72px) 0;
}

/* Logo */
.edu-res-logo {
    display: block;
    max-width: 250px;
    width: 100%;
    height: auto;
    margin-inline: auto;
}

/* Badge */
.edu-res-badge {
    display: inline-block;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    color: #fff;
    background: #0d2da2;
    padding: 10px 16px;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.09);
    margin-bottom: 14px;
}
.edu-res-logo-wrap {
}

/* Copy */
.edu-res-copy {
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto,
        "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    font-size: clamp(16px, 2.2vw, 32px);
    line-height: 1.2;
    font-weight: 510;
    color: #141414;
    margin: 0 0 18px;
    max-width: 900px;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    font-stretch: 80%;
    font-variation-settings: "wdth" 95;
    letter-spacing: -0.01em;
    opacity: 0.95;
}

/* Socials image */
/* .edu-res-social {
    display: block;
    max-width: 340px;
    width: 100%;
    height: auto;
    margin: 8px 0 22px;
} */

/* Uniform, button-like icons (adjust sizes via the two vars) */
.edu-res-icons {
    --si: 30px; /* icon button size */
    --fz: 25px; /* icon glyph size */
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 8px 0 22px; /* same vertical rhythm as your old image */
}

.edu-res-icons .si {
    width: var(--si);
    height: var(--si);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(226, 229, 234, 0.65);
    text-decoration: none;
    transition: transform 0.15s ease, background 0.15s ease,
        border-color 0.15s ease, opacity 0.15s ease;
    opacity: 0.95;
}
.edu-res-icons .si {
    color: #111; /* <-- black by default */
    border-color: rgba(0, 0, 0, 0.12);
}

/* Optional: darker border on hover + brand tint */
.edu-res-icons .si:hover,
.edu-res-icons .si:focus-visible {
    border-color: rgba(0, 0, 0, 0.28);
}
.edu-res-icons .si i {
    font-size: var(--fz);
    line-height: 1;
    color: currentColor;
}

/* Hover/focus */
.edu-res-icons .si:hover,
.edu-res-icons .si:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(226, 229, 234, 0.95);
    background: rgba(255, 255, 255, 0.06);
    opacity: 1;
    outline: none;
}

/* Responsive nudge */
@media (max-width: 480px) {
    .edu-res-icons {
        --si: 44px;
        --fz: 20px;
    }
}

/* Clean up the old image styles if not used anymore */
.edu-res-social {
    display: none;
} /* or remove duplicate .edu-res-social rules entirely */

/* CTA */
.edu-res-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 10px 20px;
    border-radius: 10px;
    background: #0d2da2;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(33, 66, 230, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.edu-res-cta i {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 5px;
    font-size: 10px;
    color: black;
    background: #ffffff;
}
.edu-res-cta:hover {
    filter: brightness(1.05);
}

/* Right vertical label (side pill) */
.edu-res-sidepill {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    writing-mode: tb-rl;
    transform: rotate(-180deg);
    background: #0d2da2;
    color: #fff;
    padding: 26px 14px;
    border-radius: 0 6px 6px 0;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

/* -------- Local fixes (preserve layout intent) -------- */

/* Cancel inline left margins on right-column items (keep symmetric) */
.edu-res .edu-res-badge,
.edu-res .edu-res-copy,
.edu-res .edu-res-cta {
    margin-left: 0 !important;
}

/* Right column equal horizontal padding on desktop */
.edu-res .col-12.col-md-8.col-lg-9 {
    padding-left: 60px;
    padding-right: 60px;
}

/* ================================
   Responsive
   ================================ */

/* ≤ 991.98px (tablet & down) */
@media (max-width: 991.98px) {
    /* Keep side pill visible, slightly transparent, and a bit smaller */
    .edu-res-sidepill {
        display: block;
        background: rgba(13, 45, 162, 0.78);
        backdrop-filter: saturate(115%) blur(0.4px);
        -webkit-backdrop-filter: saturate(115%) blur(0.4px);
        transform: translateY(-50%) scale(0.92);
        padding: 20px 12px;
        font-size: 13px;
        border-radius: 0 5px 5px 0;
        writing-mode: tb-rl;
        transform: rotate(-180deg);
    }

    /* Right column: balanced padding + small top breathing room */
    .edu-res .col-12.col-md-8.col-lg-9 {
        padding-left: clamp(20px, 6vw, 36px);
        padding-right: clamp(20px, 6vw, 36px);
        padding-top: clamp(8px, 2vw, 16px);
    }

    /* Center the logo column */
    .edu-res .col-11.col-md-3.col-lg-2 {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    /* Text/media sizing */
    .edu-res-copy {
        max-width: 100%;
    }
}

/* ≤ 575.98px (phones) */
@media (max-width: 575.98px) {
    .edu-res {
        padding: 32px 0;
    }

    /* Side pill: a touch smaller + more transparent */
    .edu-res-sidepill {
        background: rgba(13, 45, 162, 0.66);
        transform: translateY(-50%) scale(0.84);
        padding: 16px 10px;
        font-size: 12px;
        border-radius: 0 4px 4px 0;
        writing-mode: tb-rl;
        transform: rotate(-180deg);
    }

    /* Right column paddings (still symmetric) */
    .edu-res .col-12.col-md-8.col-lg-9 {
        padding-left: clamp(18px, 7vw, 28px);
        padding-right: clamp(18px, 7vw, 28px);
        padding-top: clamp(10px, 3vw, 18px);
    }
}

/* ================================
   RANKED
   ================================ */
.ranked {
    background: #fafafa;
    padding: clamp(40px, 6vw, 80px);
    color: #0f172a;
}

.ranked-badge {
    display: inline-block;
    background: #0d2da2;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    padding: 10px 14px;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(33, 66, 230, 0.18);
    margin-bottom: 14px;
}

.ranked-title {
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto,
        "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    font-weight: 800;
    font-size: clamp(28px, 3.8vw, 44px);
    line-height: 1.15;
    margin: 0 0 16px;
    letter-spacing: 0.2px;
}
.ranked-title .ranked-site {
    color: #111827;
}
.ranked-title .ranked-gradient {
    display: inline-block;
    background: linear-gradient(90deg, #111827 0%, #6b7280 55%, #a3aab6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* list with custom vector chevron */
.ranked-list {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
}
.ranked-list li {
    position: relative;
    padding-left: 24px;
    font-size: clamp(14px, 1.5vw, 18px);
    line-height: 1.65;
    color: #1f2937;
}
.ranked-list li + li {
    margin-top: 6px;
}
.ranked-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 12px;
    height: 12px;
    background: url("/portfolio1/images/ranked/Vector.png") no-repeat center /
        contain;
    opacity: 0.9;
}

/* right image */
.ranked-hero {
    display: block;
    max-width: 560px;
    width: 100%;
    height: auto;
    margin-left: auto;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.12));
}

/* responsive tweaks */
@media (max-width: 991.98px) {
    .ranked-hero {
        margin: 8px auto 0;
        max-width: 440px;
    }
}

/* Ranked: equal side padding for the first column on small screens */
@media (max-width: 991.98px) {
    .ranked .row > div:first-child {
        padding-left: clamp(12px, 4vw, 24px);
        padding-right: clamp(12px, 4vw, 24px);
    }
}

/* ================================
   RESOURCE CENTRE (rc-*)
   ================================ */
.rc {
    background: #010101;
    padding: clamp(40px, 5vw, 80px) 0;
    color: #e9efff;
}
/* ➜ Reduce left/right padding a bit */
.rc .container-xxl {
    padding: 0;
}

.rc-head {
    margin-bottom: clamp(16px, 3vw, 28px);
}
.rc-title {
    font-weight: 800;
    letter-spacing: 0.2px;
    font-size: clamp(26px, 4vw, 44px);
    margin: 0 0 8px;
}
.rc-sub {
    margin: 0;
    color: #c9d2ea;
    font-size: clamp(13px, 1.3vw, 16px);
}
.rc-sub a {
    color: #c9d2ea;
    text-decoration: underline;
}

/* ---- Card ---- */
.rc-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 18px;
    border: 2px solid rgba(13, 45, 162, 0.56); /* #0D2DA28F */
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(13, 45, 162, 0.25) inset;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Equal image area for all cards */
.rc-media {
    position: relative;
    width: 100%;
    aspect-ratio: 15 / 13; /* uniform media height */
    overflow: hidden;
}

/* Top-center circular black glow (≈50% width) */
.rc-media::after {
    content: "";
    position: absolute;
    top: -6%;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 56%;
    pointer-events: none;
    z-index: 2;
    background: radial-gradient(
        70% 100% at 50% 0%,
        /* ellipse anchored at top center */ rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.38) 35%,
        rgba(0, 0, 0, 0) 75%
    );
    filter: blur(0.8px);
}

.rc-media img {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

/* Equal text/meta area for all cards */
.rc-meta {
    background: rgba(0, 0, 0, 0.55);
    padding: 16px 18px 20px;
    min-height: 138px; /* keeps equal height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.rc-card-title {
    font-weight: 800;
    color: #fff;
    font-size: clamp(12px, 1.3vw, 18px);
    margin: 0 0 6px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
    min-height: 1.5em; /* reserve two lines */
    line-height: 1.3;
    text-align: center;
}
.rc-card-sub {
    margin: 0;
    color: #b8c3df;
    font-size: clamp(12px, 1.2vw, 14px);
    text-align: center;
}

/* CTA */
/* Button background + subtle center glow */
.rc-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    margin-top: 50px;
    border-radius: 14px;
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.2px;
    text-decoration: none;
    border: none; /* ring is drawn with ::before */
    background:
    /* soft inner glow from center */ radial-gradient(
            120% 160% at 50% 50%,
            rgba(30, 64, 175, 0.25) 0%,
            rgba(30, 64, 175, 0) 60%
        ),
        /* deep navy body */
            linear-gradient(180deg, #0f1a48 0%, #0b1130 45%, #0a0f28 100%);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Gradient border ring (navy → brand blue → light blue) */
.rc-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 2px; /* border thickness */
    background: conic-gradient(
        from 200deg,
        #142c80 0%,
        #0d2da2 40%,
        #5c7cf0 75%,
        #0d2da2 100%
    );
    -webkit-mask: linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude; /* show only the ring */
    pointer-events: none;
    opacity: 0.95;
}

/* tiny white glow at the bottom-center of the border */
.rc-cta::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    border-radius: 999px;
    background: radial-gradient(
        60% 200% at 50% 100%,
        rgba(255, 255, 255, 0.75) 0%,
        rgba(255, 255, 255, 0) 70%
    );
    filter: blur(1.5px);
    pointer-events: none;
    mix-blend-mode: screen;
}

.rc-cta i {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    background: #fff; /* solid white */
    color: #0a0f23; /* dark arrow */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(0, 0, 0, 0.05);
}
.rc-cta:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
}
/* ---- Responsive ---- */
@media (max-width: 1199.98px) {
    .rc-media {
        aspect-ratio: 16 / 11;
    }
    .rc-meta {
        min-height: 146px;
    }
}
@media (max-width: 991.98px) {
    .rc .container-xxl {
        padding-inline: clamp(12px, 3vw, 18px);
    }
    .rc-meta {
        min-height: 132px;
    }
}
@media (max-width: 575.98px) {
    .rc .container-xxl {
        padding-inline: 14px;
    }
    .rc-media {
        aspect-ratio: 16 / 12;
    }
    .rc-meta {
        min-height: 128px;
    }
}

/* ============== PODCASTS (Marquee) ============== */
.podcasts {
    background: #fafafa;
    padding: clamp(40px, 6vw, 80px) 0;
    color: #0f172a;
    overflow-x: clip; /* no bottom scrollbar */
}
.podcasts .container-xxl {
    padding-inline: clamp(12px, 3vw, 20px);
}

.podcasts .podcasts-head {
    margin-bottom: 18px;
}
.podcasts h2 {
    font-size: clamp(28px, 3.6vw, 40px);
    font-weight: 600;
    margin: 0 0 6px;
}
.podcasts p {
    margin: 0;
    color: #141414;
    font-size: clamp(14px, 1.3vw, 18px);
    max-width: 90ch; /* limit by character width */
}

/* --- Marquee rail --- */
.pod-marquee {
    position: relative;
    overflow: hidden; /* clips track; no scrollbars */
    padding-block: 6px;
}
.pod-track {
    display: flex;
    gap: 22px;
    width: max-content; /* single long row */
    will-change: transform;
    animation: podScroll 45s linear infinite;
}
.pod-marquee:hover .pod-track {
    animation-play-state: paused;
}

/* keyframes: translate by exactly the width of one set (handled in JS) */
@keyframes podScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(var(--pod-shift, -50%));
    }
}

/* --- Cards --- */
.pod-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    /* box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1); */
    border: 1px solid rgba(2, 90, 161, 0.25);
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 0 0 var(--pod-card-w, 320px); /* fixed width per card for stable marquee */
}
.pod-media {
    position: relative;
    aspect-ratio: 18/16; /* uniform media height */
    overflow: hidden;
}
.pod-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
}
.pod-meta {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: var(--pod-meta-min, 150px);
}
.pod-title {
    font-weight: 700;
    font-size: clamp(14px, 1.35vw, 18px);
    line-height: 1.35;
    color: #191b22;
    margin: 0;
    display: block; /* override -webkit-box */
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
    overflow: visible;
}
.pod-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #191b22cc;
    font-size: 16px;
}
.pod-link {
    color: #0d2da2;
    font-weight: 800;
    text-decoration: none;
}
.pod-link:hover {
    text-decoration: underline;
}

/* --- Outside fades (subtle) --- */
.pod-marquee::before,
.pod-marquee::after {
    content: "";
    position: absolute;
    top: -4px;
    bottom: -4px;
    width: clamp(36px, 7vw, 120px);
    pointer-events: none;
    z-index: 2;
}
.pod-marquee::before {
    left: 0;
    transform: translateX(-60%); /* sit slightly outside */
    background: linear-gradient(to right, #fafafa 65%, rgba(250, 250, 250, 0));
}
.pod-marquee::after {
    right: 0;
    transform: translateX(60%);
    background: linear-gradient(to left, #fafafa 65%, rgba(250, 250, 250, 0));
}

/* --- Responsive card widths --- */
@media (max-width: 1399.98px) {
    .pod-card {
        --pod-card-w: 300px;
    }
}
@media (max-width: 1199.98px) {
    .pod-card {
        --pod-card-w: 280px;
    }
}
@media (max-width: 991.98px) {
    .pod-card {
        --pod-card-w: 260px;
    }
    .podcasts .container-xxl {
        padding-inline: clamp(12px, 3vw, 18px);
    }
}
@media (max-width: 767.98px) {
    .pod-card {
        --pod-card-w: 230px;
    }
}
@media (max-width: 575.98px) {
    .pod-card {
        --pod-card-w: 200px;
    }
    .podcasts .container-xxl {
        padding-inline: 10px;
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .pod-track {
        animation-duration: 0.001ms;
        animation-iteration-count: 1;
    }
}

/* ================================
   15 YEARS IN BUSINESS (inbiz-*)
   ================================ */

/* Section */
.stats-inbiz {
    background-color: #03040d;
    position: relative;
    overflow: hidden;
    padding: clamp(32px, 1vw, 56px) 0 clamp(72px, 1vw, 120px);
    /* grid.svg tiled as background */
    background-image: url("/portfolio1/images/grid.svg");
    background-repeat: repeat;
    background-position: 0 0;
    background-size: auto, clamp(36px, 4.5vw, 48px) clamp(36px, 4.5vw, 48px);
}

/* Inner wrap */
.stats-inbiz .inbiz-wrap {
    position: relative;
    width: min(1320px, 92vw);
    margin: 0 auto;
    text-align: center;
}

/* Headings */
.stats-inbiz .years {
    font-family: "Oswald", sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    line-height: 0.9;
    letter-spacing: 0.5px;
    font-size: clamp(72px, 12vw, 200px);
    margin: 0.15em 0 0;
}
.stats-inbiz .in-business {
    font-family: "Oswald", sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: 0.5px;
    color: #0d2da2;
    font-size: clamp(96px, 16vw, 260px);
    margin: 0.05em 0 0;
}

/* Chips (badges) */
.stats-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 800;
    font-size: clamp(12px, 1.4vw, 18px);
    color: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    white-space: nowrap;
}
/* Positions */
.stats-chip--acc {
    top: clamp(-42px, -5.4vw, 23px);
    left: 50%;
    transform: translateX(-50%);
    background: #ff8822;
}
.stats-chip--reports {
    top: 35%;
    left: clamp(12px, 3vw, 120px);
    background: #3560d8;
}
.stats-chip--internal {
    top: 35%;
    right: clamp(12px, 3vw, 120px);
    background: #998ac3;
}
.stats-chip--tax {
    left: 50%;
    bottom: clamp(-62px, -9vw, 34px);
    transform: translateX(-50%);
    background: #189c9b;
}

/* ================================
   Responsive
   ================================ */

/* ≤ 991.98px (tablet & down) */
@media (max-width: 991.98px) {
    .stats-inbiz {
        padding: clamp(32px, 4vw, 56px) 0 clamp(32px, 4vw, 56px);
        --grid-cell: clamp(22px, 7vw, 48px);
    }
    .stats-inbiz .years {
        font-size: clamp(64px, 13vw, 180px);
    }
    .stats-inbiz .in-business {
        font-size: clamp(84px, 17vw, 220px);
    }
    .stats-chip--tax {
        bottom: clamp(-62px, -3vw, 34px);
    }

    /* Smaller headings tweak (kept as requested) */
    .stats-inbiz .years {
        font-size: clamp(56px, 11vw, 160px);
    }
    .stats-inbiz .in-business {
        font-size: clamp(72px, 14.5vw, 200px);
    }
}

/* ≤ 650px (small phones) — chip transparency + smaller size */
@media (max-width: 650px) {
    /* Transparency + softer shadow */
    .stats-chip {
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28),
            inset 0 1px 0 rgba(255, 255, 255, 0.22);
        backdrop-filter: saturate(110%) blur(0.2px);
        -webkit-backdrop-filter: saturate(110%) blur(0.2px);
        padding: 6px 12px; /* smaller pill */
        font-size: clamp(9px, 2.8vw, 14px); /* smaller text (organized) */
    }
    /* Keep brand hues with alpha */
    .stats-chip--acc {
        background: rgba(255, 136, 34, 0.72);
    }
    .stats-chip--reports {
        background: rgba(53, 96, 216, 0.72);
    }
    .stats-chip--internal {
        background: rgba(153, 138, 195, 0.72);
    }
    .stats-chip--tax {
        background: rgba(24, 156, 155, 0.72);
    }
}

/* ≤ 575.98px (phones) */
@media (max-width: 575.98px) {
    .stats-inbiz {
        padding: clamp(24px, 5vw, 40px) 0 clamp(24px, 5vw, 40px);
        --grid-cell: clamp(18px, 8vw, 40px);
    }
    .stats-inbiz .years {
        font-size: clamp(56px, 16vw, 160px);
    }
    .stats-inbiz .in-business {
        font-size: clamp(72px, 17vw, 200px);
    }
    .stats-chip {
        font-size: clamp(10px, 2.5vw, 16px);
        padding: 8px 14px;
    }

    /* Phones: reduce further (kept as requested) */
    .stats-inbiz .years {
        font-size: clamp(46px, 14vw, 140px);
    }
    .stats-inbiz .in-business {
        font-size: clamp(58px, 15vw, 170px);
    }
}

/* ≤ 360px (very small phones) */
@media (max-width: 360px) {
    .stats-inbiz .years {
        font-size: clamp(42px, 16vw, 128px);
    }
    .stats-inbiz .in-business {
        font-size: clamp(54px, 17vw, 156px);
    }
}

/* ================================
   INCORPORATION PLAYBOOK (light)
   ================================ */
.incorp {
    /* base color */
    background-color: #fafafa;

    /* grid.svg tiled as the background */
    background-image: url("/portfolio1/images/grid.svg");
    background-repeat: repeat;
    background-position: 0 0, 0 0;

    /* responsive cell size for the grid */
    background-size: auto, clamp(36px, 4.5vw, 48px) clamp(36px, 4.5vw, 48px);

    padding: clamp(48px, 6vw, 96px) 0;
    position: relative;
    overflow: hidden;
}

/* keep your existing container padding */
.incorp .container-xxl {
    padding-inline: clamp(12px, 3vw, 28px);
}

/* REMOVE the old pseudo-element */
/* .incorp::before { ... }  ← delete this block */

/* Carousel base */
.incorp-carousel .owl-stage {
    display: flex;
}
.incorp-slide {
    padding: clamp(8px, 1vw, 12px);
}

/* Pills / headings / copy */
.pb-pill {
    display: inline-block;
    background: #0d2da2;
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    line-height: 1;
    padding: 9px 14px;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(13, 45, 162, 0.16);
    margin-bottom: 14px;
}
.pb-title {
    font-weight: 800;
    letter-spacing: 0.2px;
    color: #0f172a;
    font-size: clamp(28px, 3.8vw, 44px);
    line-height: 1.1;
    margin: 0 0 10px;
}
.pb-lead,
.pb-sublead {
    color: #374151;
    font-size: clamp(14px, 1.25vw, 18px);
    margin: 0 0 14px;
}

/* Two-column bullets when space allows */
.pb-columns {
    display: grid;
    gap: 8px 28px;
    grid-template-columns: 1fr;
}
@media (min-width: 992px) {
    .pb-columns {
        grid-template-columns: 1fr 1fr;
    }
}

/* List with custom icon */
.pb-list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}
.pb-list li {
    position: relative;
    padding-left: 26px;
    font-size: clamp(13px, 1.1vw, 16px);
    line-height: 1.65;
    color: #1f2937;
}
.pb-list li + li {
    margin-top: 6px;
}
.pb-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 14px;
    height: 14px;
    background: url("/portfolio1/images/filled_right_arrow.png") center/contain
        no-repeat;
    opacity: 0.95;
}

/* CTA (uses your existing style vibe) */
.pb-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 12px;
    background: #0d2da2;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}
.pb-cta i {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #fff;
    color: #0a0f23;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(0, 0, 0, 0.06);
}

/* Media blocks (videos / images) */
.ratio-12x12 {
    aspect-ratio: 12 / 12;
}
.pb-media {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 18px;
    overflow: hidden;
    background: transparent;
}
.pb-video,
.pb-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

/* Guide mini-cards (right side slide 3) */
.guide-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}
@media (min-width: 576px) {
    .guide-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.guide-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid rgba(2, 90, 161, 0.18);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
    height: 100%;
}
.guide-media {
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
}
.guide-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.guide-title {
    margin: 10px 12px 14px;
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: 1.35;
    font-weight: 800;
    color: #0f172a;
}

/* Owl dots tidy for this section */
.incorp .owl-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 18px;
}
.incorp .owl-dot span {
    width: 8px;
    height: 8px;
    display: block;
    border-radius: 999px;
    background: #cbd5e1;
}
.incorp .owl-dot.active span {
    background: #0d2da2;
}

/* Responsive paddings (just in case) */
@media (max-width: 991.98px) {
    .incorp .container-xxl {
        padding-inline: clamp(12px, 3vw, 18px);
    }
}
@media (max-width: 575.98px) {
    .incorp .container-xxl {
        padding-inline: 12px;
    }
}

/* Center the last slide vertically on wider screens */
@media (min-width: 768px) {
    .incorp-carousel .incorp-slide:last-child .row {
        display: flex; /* ensure flex behavior */
        align-items: center; /* vertical centering */
        min-height: clamp(
            420px,
            58vh,
            640px
        ); /* give it some height to center within */
    }
}

/* ========= CRYPTO REPORTS (equal cards + pill glow) ========= */
.cr {
    background: #fafafa;
    padding: clamp(40px, 6vw, 80px) 0;

    /* grid.svg tiled as the background */
    background-image: url("/portfolio1/images/grid.svg");
    background-repeat: repeat;
    background-position: 0 0, 0 0;
    /* responsive cell size for the grid */
    background-size: auto, clamp(36px, 4.5vw, 48px) clamp(36px, 4.5vw, 48px);
}

.cr .container-xxl {
    padding-inline: clamp(12px, 3vw, 28px);
}

/* Swiper: ensure all slides are same height */
.cr-swiper {
    width: 100%;
}
.cr-swiper .swiper-wrapper {
    align-items: stretch;
}
.cr-swiper .swiper-slide {
    height: auto;
    display: flex;
}
.cr-swiper .swiper-slide > * {
    width: 100%;
}

/* Card: same width/height on every slide */
.cr-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* text/media balance like mock */
    gap: clamp(18px, 3vw, 32px);
    border-radius: 26px;
    padding: clamp(24px, 4vw, 40px);
    color: #fff;
    overflow: hidden;

    /* Key: same height across slides */
    min-height: clamp(460px, 52vw, 560px);
    height: 100%;
}
.cr-card--green {
    background: #148753;
}
.cr-card--blue {
    background: #224c8f;
}

.cr-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

/* Pill + bottom-center white glow on border */
.cr-pill {
    position: relative;
    display: inline-block;
    font-weight: 800;
    font-size: 13px;
    line-height: 1;
    padding: 10px 16px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.08)
    );
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    margin-bottom: 12px;
    width: fit-content;
}
.cr-pill::after {
    /* subtle white glow sitting over the *bottom center* of the pill’s ring */
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    transform: translateX(-50%);
    width: 70%;
    height: 3px;
    border-radius: 999px;
    background: radial-gradient(
        60% 180% at 50% 100%,
        rgba(255, 255, 255, 0.85) 0%,
        rgba(255, 255, 255, 0) 70%
    );
    pointer-events: none;
    filter: blur(1px);
}

/* Headings / copy */
.cr-title {
    margin: 0 0 12px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0.2px;
    font-size: clamp(28px, 4.2vw, 48px);
}
.cr-copy {
    margin: 0 0 12px;
    font-size: clamp(14px, 1.25vw, 18px);
    color: rgba(255, 255, 255, 0.92);
}

/* Bullets with WHITE arrow (icon recolored via mask) */
.cr-list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: grid;
    gap: 8px;
}
.cr-list li {
    position: relative;
    padding-left: 26px;
    font-size: clamp(13px, 1.1vw, 16px);
    line-height: 1.6;
}
.cr-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.52em;
    width: 14px;
    height: 14px;
    -webkit-mask: url("/portfolio1/images/filled_right_arrow.png") no-repeat
        center / contain;
    mask: url("/portfolio1/images/filled_right_arrow.png") no-repeat center /
        contain;
    background: #fff; /* forces white arrow */
    opacity: 0.95;
}

.cr-slide {
    /* or your slide row container */
    display: grid;
    grid-template-columns: 1.1fr 1fr; /* text | media */
    align-items: stretch; /* important */
}

/* Media (right side) */
.cr-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    width: auto;
    overflow: hidden;
}
.cr-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

/* Responsiveness */
@media (max-width: 1199.98px) {
    .cr-card {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 991.98px) {
    .cr-card {
        grid-template-columns: 1fr;
        min-height: clamp(420px, 68vw, 520px);
    }
    .cr-media {
        aspect-ratio: 16/10;
    }
}
@media (max-width: 575.98px) {
    .cr .container-xxl {
        padding-inline: 12px;
    }
    .cr-card {
        border-radius: 20px;
    }
}

/* ============ INCORPORATION BENEFITS ============ */
.why-incorp {
    /* Dark base + tiled grid */
    background-color: #03040d;

    color: #e7ecff;
    padding: clamp(48px, 6vw, 96px) 0;
    background-image: url("/portfolio1/images/grid.svg");
    background-repeat: repeat;
    background-position: 0 0, 0 0;
    /* responsive grid cell size */
    background-size: auto, clamp(36px, 4.5vw, 48px) clamp(36px, 4.5vw, 48px);
    position: relative;
    overflow: hidden;
}

.why-incorp .container-xxl {
    padding-inline: clamp(12px, 3vw, 28px);
}

.why-wrap {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr; /* text : media */
    gap: clamp(24px, 4.5vw, 56px);
    align-items: center; /* vertical align */
}

/* Left column */
.why-pill {
    display: inline-block;
    background: radial-gradient(
        107.5% 107.5% at 50% 50%,
        rgba(255, 255, 255, 0.1536) 0%,
        rgba(255, 255, 255, 0) 100%
    );

    color: #fff;
    font-weight: 800;
    font-size: 13px;
    line-height: 1;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.096);
    border-radius: 999px;
    position: relative;
    margin-bottom: 14px;
}
/* subtle white glow under pill, centered */
.why-pill::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2px;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    border-radius: 999px;
    background: radial-gradient(
        60% 200% at 50% 100%,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0) 70%
    );
    filter: blur(1px);
    pointer-events: none;
}

.why-title {
    margin: 6px 0 8px;
    font-weight: 900;
    letter-spacing: 0.2px;
    font-size: clamp(28px, 4.4vw, 56px);
    line-height: 1.06;
    color: #e9ecff;
}
.why-lead {
    margin: 0 0 16px;
    color: #c7d0ff;
    font-size: clamp(14px, 1.25vw, 18px);
}

.why-list {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
}
.why-list li {
    position: relative;
    padding-left: 26px;
    font-size: clamp(14px, 1.2vw, 17px);
    line-height: 1.7;
    color: #dde4ff;
}
.why-list li + li {
    margin-top: 6px;
}
/* white arrow (invert the provided black asset) */
.why-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 14px;
    height: 14px;
    background: url("/portfolio1/images/filled_right_arrow.png") center/contain
        no-repeat;
    filter: invert(1) brightness(1.8);
    opacity: 0.95;
}

.why-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 14px;
    text-decoration: none;
    color: #fff;
    font-weight: 800;
    background: radial-gradient(
        107.5% 107.5% at 50% 50%,
        rgba(255, 255, 255, 0.1536) 0%,
        rgba(255, 255, 255, 0) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.096);
    position: relative;
}
/* gradient ring around button */
/* .why-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 2px;
    background: conic-gradient(
        from 200deg,
        #142c80 0%,
        #0d2da2 40%,
        #5c7cf0 75%,
        #0d2da2 100%
    );
    -webkit-mask: linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.95;
} */
/* small white border glow bottom center */
.why-cta::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 78%;
    height: 1px;
    border-radius: 999px;
    background: radial-gradient(
        60% 200% at 50% 100%,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0) 70%
    );
    filter: blur(1.2px);
    mix-blend-mode: screen;
    pointer-events: none;
}
.why-cta i {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: #fff;
    color: #0a0f23;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(0, 0, 0, 0.06);
}

/* Right column — square media matched to content */
.why-media {
    width: 100%;
    display: grid;
}
.why-media-inner {
    aspect-ratio: 1 / 1; /* perfect square */
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: transparent;
    display: grid;
    place-items: center;
}
.why-video {
    width: 60%;
    height: 80%;
    object-fit: fill; /* preserve illustration feel */
    display: block;
    border-radius: inherit;
}

/* Responsive */
@media (max-width: 991.98px) {
    .why-wrap {
        grid-template-columns: 1fr;
    }
    .why-media-inner {
        max-width: min(520px, 88vw);
        margin-inline: auto;
    }
}
@media (max-width: 575.98px) {
    .why-incorp .container-xxl {
        padding-inline: 12px;
    }
}

/* ============== Circular Services Wheel (final) ============== */
:root {
    --bg: #0b0c11;
    --ink: #e8eaee;
    --muted: rgba(232, 234, 238, 0.6);
    --rim: rgba(255, 255, 255, 0.18);
    --dot: #2f6bff;
    --nodeEdge: #6b6f78;
    --nodeEdgeMute: #4d5159;
}

.svc-wrap {
    position: relative;
    isolation: isolate;
    background: var(--bg);
    color: var(--ink);
    padding: clamp(32px, 3vw, 48px) 0 0;
    overflow: hidden;
}
.svc-head {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    /* padding: 0 clamp(20px, 4vw, 48px); */
}
.svc-head h2 {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
    font-size: clamp(28px, 4.5vw, 48px);
    margin: 0 0 clamp(24px, 3vw, 40px);
}

/* Stage: provide a single size var for the orb so we can scale responsively */
.svc-stage {
    position: relative;
    z-index: 1;
    height: min(78vh, 900px);
    max-height: 900px;
    min-height: 520px;

    /* Arc size (slightly smaller than before); children read this */
    --orb: min(132vmin, 1300px);
}

/* Big circle (top arc visible) */
.orb {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: var(--orb);
    height: var(--orb);
    border: 2px solid var(--rim);
    border-radius: 50%;
    bottom: calc(-0.5 * var(--orb));
    pointer-events: none;
    opacity: 0.9;
}

/* We draw per-node indicator (pin + line) */
.svc-indicator {
    display: none;
}

/* ---------- Navigation buttons at the bottom ---------- */
.nav {
    position: absolute;
    bottom: clamp(12px, 3vh, 28px);
    top: auto;
    z-index: 6;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--rim);
    font-size: 34px;
    line-height: 0;
    display: grid;
    place-items: center;
    transition: transform 0.18s ease, background 0.18s ease,
        border-color 0.18s ease;
}
.nav:hover {
    transform: scale(1.06);
    background: #11131a;
    border-color: var(--nodeEdge);
}
.prev {
    left: clamp(10px, 3vw, 38px);
}
.next {
    right: clamp(10px, 3vw, 38px);
}

/* Rotating ring (JS sets --rot) */
.ring {
    position: absolute;
    inset: 0;
    transform: rotate(var(--rot, 0deg));
    transform-origin: 50% calc(100% + 0px);
    transition: transform 0.7s cubic-bezier(0.22, 0.8, 0.26, 1);
}

/* ---------- Nodes ---------- */
/* Invisible anchor on the rim */
.node {
    /* radius to the rim derives from the orb size */
    --r: calc(var(--orb) / 2);
    --out: 52px; /* space between number and arc */
    position: absolute;
    left: 50%;
    top: calc(100% - 2px);
    width: 0;
    height: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
}
.node:focus-visible {
    outline: 2px solid var(--dot);
    outline-offset: 4px;
}

/* Place anchor ON rim; optional --tilt nudges along the arc */
.node[data-angle] {
    transform: rotate(calc(var(--a, 0deg) + var(--tilt, 0deg)))
        translateY(calc(-1 * var(--r)));
}
.node[data-angle="0"] {
    --a: 0deg;
}
.node[data-angle="90"] {
    --a: 90deg;
}
.node[data-angle="180"] {
    --a: 180deg;
}
.node[data-angle="270"] {
    --a: 270deg;
}

/* Small rim dot */
.node::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #6b6f78;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.25) inset;
    z-index: 1;
}

/* Number badge (kept upright vs ring rotation + tilt) */
.node > span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 22px;
    border: 1px solid var(--nodeEdgeMute);
    background: transparent;
    transform: translate(-50%, -50%) translateY(calc(-1 * var(--out)))
        rotate(
            calc(-1 * (var(--a, 0deg) + var(--tilt, 0deg) + var(--rot, 0deg)))
        );
    transition: border-color 0.2s ease, background 0.2s ease, filter 0.2s ease;
    pointer-events: none;
    z-index: 2;
}
.node:hover > span {
    border-color: var(--nodeEdge);
    filter: brightness(1.05);
}

/* Active: blue dot + vertical line down into arc (with tiny gap) */
.node.is-active::before {
    background: var(--dot);
    box-shadow: 0 0 0 6px rgba(47, 107, 255, 0.18),
        0 0 26px 4px rgba(47, 107, 255, 0.35);
}
.node.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    top: calc(50% + 50px); /* small gap beneath the dot */
    transform: translateX(-50%);
    width: 1px;
    height: 150px;
    /* background: linear-gradient(var(--dot), rgba(47, 107, 255, 0)); */
    background: var(--ink);

    border-radius: 2px;
    z-index: 1;
}
.node.is-active > span {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--ink);
}

/* Raise immediate neighbors along the arc (toward the top) */
.node.is-right {
    --tilt: -9deg;
} /* right (90°) => move toward 0° */
.node.is-left {
    --tilt: 9deg;
} /* left  (270°) => move toward 360° */

/* Copy inside the arc */
.svc-copy {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: clamp(36px, 22vh, 190px);
    width: min(960px, 88vw);
    text-align: center;
}
.svc-copy h3 {
    margin: 0 0 10px;
    font-weight: 800;
    letter-spacing: 0.2px;
    font-size: clamp(22px, 3.2vw, 36px);
}
.svc-copy p {
    margin: 0;
    color: var(--muted);
    font-size: clamp(14px, 1.4vw, 18px);
    line-height: 1.6;
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
    .svc-stage {
        --orb: min(125vmin, 1100px);
    } /* slightly smaller arc */
}
@media (max-width: 900px) {
    .svc-stage {
        --orb: min(118vmin, 980px);
    }
    .node > span {
        width: 58px;
        height: 58px;
        font-size: 20px;
    }
    .node.is-right {
        --tilt: -7deg;
    }
    .node.is-left {
        --tilt: 7deg;
    }
    .node.is-active::after {
        height: 180px;
    }
    .nav {
        width: 48px;
        height: 48px;
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    .svc-head {
        text-align: center;
        margin-bottom: -50vw;
    }
    .svc-stage {
        --orb: min(112vmin, 900px);
    }
    .svc-wrap {
        padding-top: 24px;
    }
    .svc-copy {
        bottom: clamp(22px, 6vh, 80px);
    }
    .svc-copy h3 {
        font-size: 15px;
    }

    #svcDesc {
        text-align: center;
    }

    .svc-copy {
        width: min(956px, 74vw);
    }
    .svc-copy p {
        font-size: 13px;
        text-align: center;
    }
    /* a bit less space outside the arc so content fits */
    .node {
        --out: 46px;
    }
    .node.is-active::after {
        height: 160px;
        opacity: 0.3;
    }
    .nav {
        width: 44px;
        height: 44px;
        font-size: 26px;
    }
    .prev {
        left: 16px;
    }
    .next {
        right: 16px;
    }
}

@media (max-width: 450px) {
    .svc-head {
        margin-bottom: -80vw;
    }
}

/* ===== READY TO GET STARTED ===== */
.cta-ready {
    /* dark page backdrop + subtle grid (optional; remove if not needed) */
    background-color: #03040d;

    padding: clamp(40px, 6vw, 90px) 0;
}
.cta-ready .container-xxl {
    padding-inline: clamp(12px, 3vw, 28px);
}

/* blue rounded panel */
.cta-panel {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 22px;
    padding: clamp(28px, 6vw, 56px) clamp(20px, 6vw, 56px);
    text-align: center;
    color: #fff;
    background: #0d2da2;
}

/* big title */
.cta-title {
    margin: 0 0 clamp(16px, 2.6vw, 24px);
    font-family: Oswald;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-size: clamp(28px, 4vw, 72px);
    line-height: 1.05;
}

/* glossy blue button with soft white ring + bottom glow */
.cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 14px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: clamp(14px, 1.4vw, 20px);

    /* exact look: deep blue body + slight central sheen */
    background: radial-gradient(
            140% 180% at 50% 60%,
            rgba(255, 255, 255, 0.22) 0%,
            rgba(255, 255, 255, 0) 60%
        ),
        linear-gradient(180deg, #3b5ff0 0%, #2a4bdd 55%, #203fc4 100%);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* soft, translucent white border like the mock */
.cta-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 1px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.65),
        rgba(255, 255, 255, 0.28)
    );
    /* show only the ring */
    -webkit-mask: linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* tiny white glow sitting on the bottom edge of the ring */
.cta-btn::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 82%;
    height: 3px;
    border-radius: 999px;
    background: radial-gradient(
        60% 220% at 50% 100%,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0) 70%
    );
    filter: blur(1.2px);
    pointer-events: none;
    mix-blend-mode: screen;
}

/* arrow capsule */
.cta-btn i {
    font-size: 10px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    size: 5px;
    border-radius: 7px;
    background: #fff;
    color: #0a0f23;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(0, 0, 0, 0.06);
}

/* hover */
.cta-btn:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

/* small screens */
@media (max-width: 575.98px) {
    .cta-panel {
        border-radius: 18px;
    }
}

/* ===== FOOTER (matches your mock) ===== */
.b3-footer {
    position: relative;
    background-color: #010101;
    padding: clamp(48px, 6vw, 96px) 0 0;

    /* grid.svg tiled + keeps your design consistent */
    background-image: url("/portfolio1/images/grid.svg");

    background-repeat: repeat;
    background-position: 0 0, 0 0;
    background-size: auto, clamp(36px, 4.5vw, 48px) clamp(36px, 4.5vw, 48px);
    overflow: hidden;
}

/* top-center blue glow */
.b3-footer::before {
    content: "";
    position: absolute;
    inset-inline: 0; /* exactly full width */
    top: 0;
    /* MUCH taller by default, scales with viewport width */
    height: var(--glow-h, clamp(420px, 60vw, 980px));
    background: url("/portfolio1/images/footer/glow.svg") left top / 100% 100%
        no-repeat;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.92;
}

/* Layout */
.b3-footer__grid {
    display: grid;
    gap: clamp(24px, 3vw, 40px);
    grid-template-columns: 1fr min(420px, 34vw);
    align-items: start;
}
@media (max-width: 991.98px) {
    .b3-footer__grid {
        grid-template-columns: 1fr;
    }
}

/* Left column */
.b3-footer__left {
    display: flex;
    flex-direction: column;
    gap: clamp(18px, 2vw, 24px);
    align-self: center;
}
.b3-footer__headline {
    margin: 0;
    color: #fff;
    font-weight: 800;
    line-height: 1.15;
    font-size: clamp(26px, 3.6vw, 44px);
    max-width: 36ch;
    text-wrap: balance;
}
.b3-footer__headline span {
    color: #c9d2ea;
}

/* Glass pill CTA */
.cta-btn.cta-glass {
    --h: 54px; /* height */
    --r: 5px; /* corner radius */
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    height: var(--h);
    padding: 20px;
    border-radius: calc(var(--r) + 10px);
    color: #fff;
    font-weight: 800;
    font-size: clamp(16px, 1.5vw, 28px);
    line-height: 1;
    text-decoration: none;
    /* frosted glass look */
    background: radial-gradient(
            140% 180% at 50% 0%,
            rgba(255, 255, 255, 0.22) 0%,
            rgba(255, 255, 255, 0.05) 60%,
            rgba(255, 255, 255, 0) 100%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.14) 0%,
            rgba(255, 255, 255, 0.08) 100%
        );
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    width: max-content;
}
/* soft outer glow band */
.cta-btn.cta-glass::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: calc(var(--r) + 16px);
    background: radial-gradient(
        120% 100% at 50% 50%,
        rgba(255, 255, 255, 0.18) 0,
        rgba(255, 255, 255, 0) 70%
    );
    pointer-events: none;
    content: none !important;
}
/* tiny white highlight line across the top edge */
.cta-btn.cta-glass::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    top: 7px;
    height: 1px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    opacity: 0.6;
    pointer-events: none;
    content: none !important;
}
/* the white arrow chip on the right */
.cta-btn.cta-glass i {
    width: calc(var(--h) - 20px);
    height: calc(var(--h) - 20px);
    border-radius: 5px;
    display: grid;
    place-items: center;
    background: #fff;
    color: #0a0f23;
    font-size: clamp(16px, 1.2vw, 10px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(0, 0, 0, 0.05);
}
/* gentle hover */
.cta-btn.cta-glass:hover {
    transform: translateY(-1px);
    box-shadow: 0 26px 52px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.38),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
/* Bottom-center white border glow */
.cta-btn.cta-glass span::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    transform: translateX(-50%);
    width: 80%;
    height: 4px;
    pointer-events: none;
    border-radius: 999px;
    background: radial-gradient(
        60% 320% at 50% 100%,
        rgba(255, 255, 255, 0.88) 0%,
        rgba(255, 255, 255, 0.28) 42%,
        rgba(255, 255, 255, 0) 72%
    );
    filter: blur(1.2px);
    mix-blend-mode: screen;
}

/* Right card */
.b3-footcard {
    --r: 20px;
    background: radial-gradient(
        254.38% 143.37% at -76.18% -24.5%,
        rgba(13, 45, 162, 0) 0%,
        rgba(0, 0, 0, 0.64) 56.59%
    ); /* Figma gradient */
    border-radius: var(--r);
    padding: clamp(18px, 2.2vw, 28px);
    color: #e5edff;
    border: 1px solid rgba(132, 160, 255, 0.18);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.b3-footcard__brand {
    margin-bottom: clamp(8px, 1.2vw, 12px);
}
.b3-logo {
    height: 36px;
    width: auto;
    display: block;
}

/* Footcard columns (Services and Resources) */
.b3-footcard__cols {
    display: grid;
    gap: clamp(12px, 2vw, 24px);
    margin-top: clamp(8px, 1.2vw, 12px);
    grid-template-columns: 1fr; /* default: stacked */
}
/* 600–767px: two columns side-by-side */
@media (min-width: 600px) and (max-width: 767.98px) {
    .b3-footcard__cols {
        grid-template-columns: 1fr 1fr;
        column-gap: clamp(12px, 3vw, 32px);
    }
}
/* ≥768px: back to stacked inside the card */
@media (min-width: 768px) {
    .b3-footcard__cols {
        grid-template-columns: 1fr;
    }
}

.b3-footcard__col h3 {
    margin: 8px 0 10px;
    font-weight: 700;
    color: #cfe0ff;
    font-size: 14px;
    letter-spacing: 0.2px;
}
.b3-footcard__col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.b3-footcard__col li + li {
    margin-top: 8px;
}
.b3-footcard__col a {
    color: #e5edff;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.9;
}
.b3-footcard__col a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* meta + socials */
.b3-footcard__meta {
    margin-top: clamp(16px, 2.2vw, 24px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}
.b3-footcard__meta p {
    margin: 0;
    font-size: 12px;
    color: #c7d2ff;
    opacity: 0.9;
}
.b3-social {
    display: flex;
    gap: 14px;
}
.b3-social a {
    color: #fff;
    opacity: 0.9;
    font-size: 18px;
}
.b3-social a:hover {
    opacity: 1;
}

/* Tablet: keep card right; below md stack and center */
@media (max-width: 991.98px) {
    .b3-footer__left {
        align-items: flex-start;
    }
    .b3-footcard {
        order: 2;
    }
}

/* Small phones: make the card full width under content */
@media (max-width: 575.98px) {
    .b3-footcard {
        width: 100%;
    }
}

/* In-flow footer word line (simple text, no overlay) */
.b3-footer__watermark {
    margin-top: clamp(28px, 1vw, 56px);
    text-align: center;

    font-weight: 900;
    letter-spacing: 0.5px;
    line-height: 0.95;
    font-size: clamp(38px, 9vw, 140px);

    color: #ffffff;
    user-select: none;
}

/* tighten on very small phones */
@media (max-width: 360px) {
    .b3-footer__watermark {
        font-size: clamp(34px, 10vw, 120px);
    }
}
