/* =====================================================================
   FinTruction — About Us page
   File: /public/css/components/about-us.css
   Notes:
   - Includes the dropdown fix (desktop floating, mobile sidebar expanding)
   - Safe, page-scoped styles where possible
   ===================================================================== */

/* =========================
   Tokens / Base
   ========================= */
:root {
    --brand-teal: #009282;
    --brand-teal-dark: #007d70;
    --ink: #0b1b2a;
    --muted: #5b6b79;
    --line: rgba(11, 27, 42, 0.1);
    --card: #ffffff;
    --bg: #ffffff;
    --bg-grad: linear-gradient(180deg, #ffffff -25.31%, #edfbff 91.13%);
    --shadow: 0 14px 40px rgba(16, 24, 40, 0.14);
    --shadow-soft: 0 10px 28px rgba(16, 24, 40, 0.1);
    --radius: 18px;
    --radius-lg: 24px;
    --container: 1200px;
}

/* Minimal reset */
* {
    box-sizing: border-box;
}
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}
body {
    font-family:
        "Helvetica Neue",
        Helvetica,
        "Outfit",
        Inter,
        system-ui,
        -apple-system,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;
    color: var(--ink);
    background: var(--bg-grad);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
}
body.lp-body {
    font-family:
        "Helvetica Neue",
        Helvetica,
        "Outfit",
        Inter,
        system-ui,
        -apple-system,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;
    color: #0b1b2a;
    background: var(--bg-grad);
}
:focus-visible {
    outline: 3px solid #009282;
    outline-offset: 2px;
    border-radius: 10px;
}

/* =========================
   Layout helpers
   ========================= */
.about-container,
.lp-container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding: 0 24px;
}

@media (max-width: 576px) {
    .about-container,
    .lp-container {
        padding: 0 16px;
    }
}

/* Soft section spacing */
.about-section {
    padding: 64px 0;
}
@media (max-width: 900px) {
    .about-section {
        padding: 46px 0;
    }
}
@media (max-width: 576px) {
    .about-section {
        padding: 38px 0;
    }
}

/* =========================
   Navbar (fixed) + Dropdown fix
   ========================= */
.navbar,
.lp-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: #d1fafa;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    /* border-bottom: 1px solid rgba(11, 27, 42, 0.06); */
}

.nav-inner,
.lp-nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 14px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 0px;
    padding-top: 36px;
}

@media (max-width: 576px) {
    .nav-inner,
    .lp-nav-inner {
        padding: 12px 16px;
    }
}

/* Make page content start below fixed navbar */
.about-page,
body.lp-body {
    padding-top: 78px;
}
@media (max-width: 576px) {
    .about-page,
    body.lp-body {
        padding-top: 72px;
    }
}

/* Brand */
.nav-brand,
.lp-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    letter-spacing: 0.2px;
}
.nav-brand img,
.lp-brand img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
}

/* Menu (desktop) */
.menu,
.lp-menu {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* .menu a,
.lp-menu a {
    font-size: 14px;
    font-weight: 600;
    color: rgba(11, 27, 42, 0.88);
    padding: 8px 10px;
    border-radius: 12px;
    transition:
        background 180ms ease,
        color 180ms ease,
        transform 180ms ease;
} */

.menu a:hover,
.lp-menu a:hover {
    background: var(--brand-teal);
    color: white;
}

.menu .active,
.lp-menu .active {
    background: var(--brand-teal);
    color: white;
}

/* CTA buttons in nav */
.nav-cta,
.lp-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid rgba(0, 146, 130, 0.22);
    background: rgba(0, 146, 130, 0.1);
    color: var(--brand-teal-dark);
    transition:
        transform 160ms ease,
        background 160ms ease,
        border 160ms ease;
}

.nav-cta:hover,
.lp-cta:hover {
    transform: translateY(-1px);
    background: rgba(0, 146, 130, 0.16);
    border-color: rgba(0, 146, 130, 0.35);
}

/* Hamburger (mobile) */
.nav-toggle,
.lp-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(11, 27, 42, 0.1);
    background: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* ===== Dropdown FIX (Desktop): float over content, anchored to parent ===== */
.custom-dropdown {
    position: relative; /* anchor for absolute dropdown */
    display: inline-flex;
    flex-direction: column;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* Dropdown panel */
.dropdown-menu-custom {
    position: absolute !important;
    top: calc(100% + 10px);
    left: 0;
    right: auto;
    min-width: 240px;
    padding: 12px 14px;
    margin: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
    z-index: 10001;
    display: none;
    border: 1px solid rgba(11, 27, 42, 0.06);
}

.custom-dropdown.active .dropdown-menu-custom {
    display: block;
}

.dropdown-menu-custom li {
    list-style: none !important;
    margin: 6px 0;
    padding: 0;
}

.dropdown-menu-custom a {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: rgba(11, 27, 42, 0.9);
    padding: 6px 4px;
    border-radius: 12px;
    transition:
        background 160ms ease,
        color 160ms ease;
}

.dropdown-menu-custom a:hover {
    background: var(--brand-teal);
    color: white;
}

/* =========================
   Mobile menu (sidebar)
   ========================= */
@media (max-width: 900px) {
    .nav-toggle,
    .lp-toggle {
        display: inline-flex;
    }

    .menu,
    .lp-menu {
        position: fixed;
        top: 74px;
        right: 16px;
        left: 16px;
        z-index: 10000;
        display: none;
        flex-direction: column;
        gap: 8px;
        padding: 14px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-radius: 18px;
        border: 1px solid rgba(11, 27, 42, 0.08);
        box-shadow: var(--shadow-soft);
    }

    /* you likely toggle this class via JS */
    .menu.open,
    .lp-menu.open {
        display: flex;
    }

    .menu a,
    .lp-menu a {
        width: 100%;
        justify-content: space-between;
        padding: 12px 12px;
        border-radius: 8px;
        background: rgba(11, 27, 42, 0.03);
    }

    /* ===== Mobile sidebar dropdown: expand inside menu (no absolute) ===== */
    .menu.open .custom-dropdown,
    .lp-menu.open .custom-dropdown {
        position: static;
        width: 100%;
    }

    .menu.open .dropdown-menu-custom,
    .lp-menu.open .dropdown-menu-custom {
        position: static !important;
        display: none;
        margin-top: 6px;
        padding: 6px 0 0;
        box-shadow: none;
        border-radius: 0;
        background: transparent;
        min-width: 0;
        border: 0;
    }

    .menu.open .custom-dropdown.active .dropdown-menu-custom,
    .lp-menu.open .custom-dropdown.active .dropdown-menu-custom {
        display: block;
    }

    .menu.open .dropdown-menu-custom a,
    .lp-menu.open .dropdown-menu-custom a {
        background: rgba(0, 146, 130, 0.06);
        padding: 12px 12px;
        border-radius: 14px;
    }
}
/* =====================================================================
   ABOUT HERO / INTRO
   - bg #e6fff9
   - vector under heading
   ===================================================================== */

.about-hero {
    background: #d1fafa;
    position: relative;
    overflow: hidden;
    padding: 78px 0 6px;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr; /* single column (vector under title) */
    gap: 18px;
    align-items: start;
}

.about-hero-copy {
    max-width: 980px;
}

/* Top small title */
.about-hero-kicker {
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(11, 27, 42, 0.7);
}

/* Main title */
.about-hero-title {
    margin: 0;
    font-size: 59px;
    line-height: 1.06;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #062437;
}

/* Blob highlight behind "construction focused" */
.about-hl {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.about-hl::before {
    content: "";
    position: absolute;
    left: -14px;
    right: -14px;
    top: 52%;
    height: 0.82em;
    transform: translateY(-50%) rotate(-2deg);
    z-index: -1;
    background:
        radial-gradient(
            circle at 20% 45%,
            rgba(0, 146, 130, 0.28) 0 55%,
            transparent 56%
        ),
        radial-gradient(
            circle at 52% 45%,
            rgba(0, 146, 130, 0.28) 0 55%,
            transparent 56%
        ),
        radial-gradient(
            circle at 82% 45%,
            rgba(0, 146, 130, 0.28) 0 55%,
            transparent 56%
        );
    filter: saturate(1.1);
}

/* Vector directly below title */
.about-hero-vector {
    width: 340px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px 0 18px;
    opacity: 0.95;
}

/* First bold-ish line */
.about-hero-lead {
    margin: 23px 0 14px;
    font-size: 20px;
    /* line-height: 1.45; */
    font-weight: 650;
    color: rgba(11, 27, 42, 0.92);
    max-width: 920px;
}

/* FinTruction styling inside lead */
.ft-word {
    font-weight: 900;
}
.ft-fin {
    color: #062437;
}
.ft-struction {
    color: var(--brand-teal);
}

/* Paragraphs */
.about-hero-p {
    margin: 0 0 14px;
    font-size: 21px;
    line-height: 1.5;
    color: rgba(11, 27, 42, 0.86);
    max-width: 920px;
}

/* Divider like screenshot */
.about-hero-divider {
    margin-top: 56px;
    height: 1px;
    background: rgba(11, 27, 42, 0.12);
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 900px) {
    .about-hero {
        padding: 56px 0 46px;
    }

    .about-hero-title {
        font-size: 44px;
        line-height: 1.08;
    }

    .about-hero-vector {
        width: 280px;
        margin: 10px 0 16px;
    }
}

@media (max-width: 576px) {
    .about-hero {
        padding: 0px 0 0px;
    }

    .about-hero-kicker {
        letter-spacing: 0.22em;
    }

    .about-hero-title {
        font-size: 42px;
    }

    .about-hero-vector {
        width: 240px;
        margin: 8px 0 14px;
    }

    .about-hero-lead {
        font-size: 16px;
        padding: 0px 0px 0px 0px;
    }

    .about-hero-p {
        font-size: 13.5px;
    }

    .about-hero-divider {
        margin-top: 40px;
    }
}
/* =========================================================
   ALIGNMENT FIX: Equal left/right gaps (Nav + Hero same rail)
   Place at END of about-us.css
   ========================================================= */

/* 1) One shared rail padding (matches screenshot spacing) */
.about-container,
.lp-container {
    padding-left: clamp(24px, 16vw, 226px) !important;
    padding-right: clamp(24px, 6vw, 96px) !important;
}

/* 2) Remove extra inner padding so container controls alignment */
.nav-inner,
.lp-nav-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* 3) Keep hero text block width like screenshot (not too wide) */
.about-hero-copy {
    max-width: 900px !important;
}

.about-hero-lead,
.about-hero-p {
    max-width: 900px !important;
}
/* MOBILE ONLY: move the green highlight up a bit */
@media (max-width: 576px) {
    .about-hl::before {
        top: 26% !important; /* was 52% */
    }
}

/* =====================================================================
   MISSION STATEMENT (matches screenshot)
   ===================================================================== */

.mission-section {
    background: #d1fafa;
    padding: 0px 0 70px;
}

.mission-title {
    margin: 0 0 18px;
    font-size: 64px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.01em;
}

/* Mission title gradient: #002A3A -> #28567F */
.mission-title {
    background: linear-gradient(85deg, #002a3a 5%, #28567f 55%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent; /* Safari */
}

/* card wrapper to center content like screenshot */
.mission-card {
    max-width: 880px;
    margin: 0 auto;
}

/* rounded image */
.mission-image {
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(16, 24, 40, 0.12);
}

.mission-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* content spacing below image */
.mission-content {
    margin-top: 18px;
}

.mission-kicker {
    margin: 0 0 12px;
    font-size: 31px;
    font-weight: 800;
    color: rgba(11, 27, 42, 0.92);
}

/* list */
.mission-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

/* each bullet uses your arrow image */
.mission-list li {
    position: relative;
    padding-left: 28px;
    font-size: 22px;
    line-height: 1.35;
    color: rgba(11, 27, 42, 0.88);
    font-weight: 600;
}

.mission-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    background: url("/images/about-us/missionStatement/point-vector.png")
        no-repeat center / contain;
}

/* closing paragraph */
.mission-note {
    margin: 14px 0 0;
    font-size: 22px;
    /* line-height: 1.4; */
    color: #002a3a;
    font-weight: 500;
    /* max-width: 520px; */
}

/* responsive */
@media (max-width: 576px) {
    .mission-section {
        padding: 0px 0 0px;
    }

    .mission-title {
        font-size: 34px;
    }

    .mission-card {
        max-width: 100%;
    }

    .mission-list li {
        font-size: 12px;
    }
    .mission-note {
        font-size: 14px;
    }
    .mission-kicker {
        font-size: 26px;
    }
}
/* =====================================================================
   VISION + TEAM (matches screenshot)
   ===================================================================== */

.vision-team-section {
    background: #d1fafa;
    padding: 16px 0 20px;
}

/* ---------------------------
   Vision Card
   --------------------------- */
.vision-card {
    position: relative;
    max-width: 830px;
    margin: 0 auto 44px;
    padding: 44px 56px;
    border-radius: 18px;
    margin-left: 0px;

    /* background top->bottom */
    background: linear-gradient(180deg, #002a3a 0%, #000000 100%);

    /* subtle depth */
    box-shadow: 0 18px 42px rgba(16, 24, 40, 0.18);
    overflow: hidden;
}

/* corner diagonal overlays like screenshot */
.vision-card::before,
.vision-card::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    pointer-events: none;
    opacity: 0.55;
    filter: blur(0px);
}

/* top-right diagonal shade */
.vision-card::before {
    top: -70px;
    right: -70px;
    background: linear-gradient(
        135deg,
        rgba(0, 198, 173, 0.22) 0%,
        rgba(0, 198, 173, 0.1) 35%,
        rgba(0, 0, 0, 0) 70%
    );
    transform: rotate(0deg);
}

/* bottom-left diagonal shade */
.vision-card::after {
    bottom: -70px;
    left: -70px;
    background: linear-gradient(
        315deg,
        rgba(255, 255, 255, 0.14) 0%,
        rgba(255, 255, 255, 0.06) 35%,
        rgba(0, 0, 0, 0) 70%
    );
    transform: rotate(0deg);
}

/* Vision heading gradient text */
.vision-title {
    margin: 0 0 16px;
    font-size: 56px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.02em;

    background: linear-gradient(180deg, #ccffff 0%, #00c6ad 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* underline like screenshot */
.vision-title::after {
    content: "";
    display: block;
    width: 162px;
    height: 3px;
    margin-top: 10px;
    border-radius: 999px;
    background: rgba(0, 198, 173, 0.9);
    opacity: 0.9;
}

.vision-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 21px;
    line-height: 1.3;
    font-weight: 600;
    max-width: 860px;
}

/* ---------------------------
   Team Title (gradient)
   --------------------------- */
.team-title-gradient {
    margin: 0 0 18px;
    font-size: 54px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.02em;

    background: linear-gradient(85deg, #002a3a 5%, #28567f 20%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* ---------------------------
   Team Image + Sahil overlay
   --------------------------- */
.team-wrap {
    position: relative;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

.team-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
}

/* Only Sahil extra subtitle */
.team-sahil-role {
    position: absolute;

    /* tuned for your screenshot; adjust slightly if needed */
    left: 1.2%;
    bottom: 6.6%;

    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

/* ---------------------------
   Responsive
   --------------------------- */
@media (max-width: 900px) {
    .vision-card {
        padding: 34px 28px;
        margin-bottom: 34px;
    }

    .vision-title,
    .team-title-gradient {
        font-size: 40px;
    }

    .vision-text {
        font-size: 15px;
    }

    .team-sahil-role {
        font-size: 11px;
        left: 8.8%;
        bottom: 9.5%;
    }
}

@media (max-width: 576px) {
    .vision-team-section {
        padding: 14px 0 16px;
    }

    .vision-card {
        padding: 8px 10px;
        border-radius: 16px;
    }

    .vision-title,
    .team-title-gradient {
        font-size: 34px;
    }

    .vision-title::after {
        width: 96px;
    }

    .vision-text {
        font-size: 11.5px;
        line-height: 1.55;
    }

    .team-sahil-role {
        font-size: 10px;
        left: 9.5%;
        bottom: 10.5%;
    }
}
/* =====================================================================
   OUR STANDARDS & VALUES (hover reveal, screenshot style)
   ===================================================================== */

.standards-section {
    background: #d1fafa; /* same page bg from screenshot */
    padding: 0px 0 80px;
}

/* Title gradient */
.standards-title {
    margin: 0 0 22px;
    font-size: 65px;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.02em;

    background: linear-gradient(85deg, #002a3a 5%, #28567f 55%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* list layout */
.standards-list {
    max-width: 880px;
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

/* card */
.std-card {
    background: #fff;
    border-radius: 10px;
    padding: 18px 24px;
    border: 1px solid rgba(11, 27, 42, 0.06);
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
    transition:
        transform 160ms ease,
        box-shadow 160ms ease;
    cursor: default;
    outline: none;
}

/* only bold topic visible */
.std-topic {
    font-size: 18px;
    font-weight: 800;
    color: #002a3a;
    margin: 0;
}

/* hidden body by default */
.std-body {
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.45;
    color: rgba(0, 42, 58, 0.92);

    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-4px);
    transition:
        max-height 220ms ease,
        opacity 180ms ease,
        transform 220ms ease;
}

/* show content on hover OR keyboard focus */
.std-card:hover,
.std-card:focus-within {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(16, 24, 40, 0.1);
}

.std-card:hover .std-body,
.std-card:focus-within .std-body {
    max-height: 120px; /* enough for 2 lines */
    opacity: 1;
    transform: translateY(0);
}

/* CTA + social proof block */
.std-cta-wrap {
    margin-top: 34px;
    display: grid;
    place-items: center;
    gap: 16px;
}

.std-cta-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 14px 26px;
    border-radius: 999px;
    background: #009282;
    color: #fff;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 16px 34px rgba(0, 146, 130, 0.25);
    transition:
        transform 160ms ease,
        filter 160ms ease;
}

.std-cta-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.02);
}

.std-cta-sub {
    margin-top: 2px;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0.9;
}

/* =====================================================================
   Social proof (kept same behavior, improved fit for this section)
   ===================================================================== */

.social-proof {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: nowrap;
}

.avatars {
    display: flex;
    align-items: center;
}

.avatars img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 999px;
    margin-left: -10px;
}

.avatars img:first-child {
    margin-left: 0;
}

.sp-divider {
    width: 1px;
    height: 34px;
    background: #002a3a;
}

.rating {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.stars {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.star {
    width: 20px;
    height: 20px;
}

.proof-copy {
    font-weight: 500;
    color: #0e141a;
}

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

@media (max-width: 900px) {
    .standards-title {
        font-size: 42px;
    }
    .std-topic {
        font-size: 17px;
    }
    .std-body {
        font-size: 15px;
    }
}

@media (max-width: 640px) {
    .standards-title {
        font-size: 30px;
    }
    .std-card {
        padding: 10px 16px;
    }
    .std-body {
        max-width: 100%;
    }

    .std-cta-btn {
        width: 100%;
        max-width: 520px;
        text-align: center;
        font-size: 11px;
        padding: 8px 12px;
    }

    .avatars img {
        width: 38px;
        height: 38px;
    }

    .social-proof {
        flex-direction: column;
        gap: 12px;
    }

    .sp-divider {
        display: none;
    }
    .rating {
        align-items: center;
    }
}

/* Mobile “row” layout like your fix */
@media (max-width: 767.98px) {
    .social-proof {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;

        width: fit-content;
        max-width: 100%;
        margin: 14px auto 0 !important;
        text-align: left !important;
    }

    .social-proof .avatars {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex: 0 0 auto !important;
    }

    .social-proof .avatars img {
        width: 28px !important;
        height: 28px !important;
        border-radius: 999px !important;
        object-fit: cover !important;
        border: 2px solid #fff !important;
        margin-left: -8px !important;
    }
    .social-proof .avatars img:first-child {
        margin-left: 0 !important;
    }

    .social-proof .sp-divider {
        display: block !important;
        width: 1px !important;
        height: 34px !important;
        background: rgba(0, 0, 0, 0.14) !important;
        flex: 0 0 1px !important;
    }

    .social-proof .rating {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        gap: 4px !important;
        flex: 0 1 auto !important;
        min-width: 0 !important;
    }

    .social-proof .stars {
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        line-height: 1 !important;
    }

    .social-proof .star {
        width: 16px !important;
        height: 16px !important;
    }

    .social-proof .proof-copy {
        font-size: 10px !important;
        line-height: 1.15 !important;
        white-space: nowrap !important;
    }
}

/* In case you had generic .lf-field input styling, keep it but let this override borders */

/* =========================================================
   FOOTER (BG + WATERMARK)
   ========================================================= */

/* Footer BG only */

.accrivo-footer {
    position: relative;
    min-height: 580px;
    /* adjust as you like */
    background: linear-gradient(180deg, #002a3a 0%, #000000 100%);
    overflow: hidden;
    isolation: isolate;
    /* create stacking context */
}

/* Centered watermark text under everything else */

.foot-watermark {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    /* perfect center */
    z-index: 0;
    /* stays below future content */
    pointer-events: none;
    user-select: none;
    color: #009282;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700;
    /* Bold */
    font-style: normal;
    font-size: 107px;
    line-height: 112px;
    /* as requested */
    letter-spacing: 0;
    text-align: right;
    /* per spec (kept even while centered) */
    opacity: 0.12;
    /* subtle watermark look; tweak if needed */
}

/* Watermark responsiveness */

@media (max-width: 900px) {
    .foot-watermark {
        font-size: 180px;
    }
}

@media (max-width: 560px) {
    .foot-watermark {
        font-size: 120px;
    }
}

/* =========================================================
   CONTENT LAYER (ABOVE WATERMARK)
   ========================================================= */

/* content grid above watermark (do not change existing BG/watermark) */

.footer-inner {
    position: relative;
    z-index: 1;
    /* content sits above the watermark */
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 15px 48px;
    display: grid;
    grid-template-columns: 1fr 280px;
    /* left fluid, right fixed width like mock */
    column-gap: 64px;
    /* gives that exact breathing space */
    align-items: start;
}

/* =========================================================
   LEFT COLUMN
   ========================================================= */

.foot-left {
    color: #eaf6f4;
    text-align: left;
}

/* title + short underline exactly like the reference */

.foot-title {
    margin: 0 0 8px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 800;
    font-size: 35px;
    line-height: 1.2;
}

.foot-title-underline {
    display: block;
    width: 56px;
    /* small underline length */
    height: 3px;
    /* thickness */
    background: #eaf6f4;
    opacity: 0.7;
    margin: 6px 0 18px;
    border-radius: 2px;
}

/* contact list */

.foot-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}

.foot-list li {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 15px 0;
    font-size: 20px;
    font-weight: 400;
}

.foot-list .ico-img {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: block;
}

.foot-list a {
    color: #eaf6f4;
    text-decoration: none;
}

.foot-list a:hover {
    text-decoration: underline;
}

/* socials (PNG icons) */

.foot-social {
    display: flex;
    /* gap: 5px; */
    margin: 20px 0 30px -10px;
}

.s-badge {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    transition:
        transform 0.12s ease,
        background 0.12s ease;
}

.s-badge img {
    width: 25px;
    height: 25px;
    display: block;
}

.s-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.foot-trust {
    margin: 69px 0 50px 0;
    font-size: 33px;
    font-weight: 800;
}

/* trust block */

/* .trust-top {
    font-weight: 800;
    font-size: 22px;
    margin-top: 14px;
}
.trust-big {
    font-weight: 900;
    font-size: 28px;
    letter-spacing: 0.02em;
    margin: 6px 0;
}
.trust-sub {
    font-weight: 800;
    font-size: 22px;
} */

/* copyright */

.foot-copy {
    margin-top: 40px;
    font-size: 18px;
    color: #bfe2dd;
    font-weight: 300;
    letter-spacing: 2px;
}

.foot-copy a {
    color: #bfe2dd;
    text-decoration: none;
}

.foot-copy a:hover {
    text-decoration: underline;
}

/* =========================================================
   RIGHT COLUMN (QUICK LINKS + BUTTONS)
   ========================================================= */

.foot-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.quick-card {
    width: 100%;
    background: #000;
    border: 2px solid #009282;
    border-radius: 22px;
    padding: 20px 18px 16px;
}

.qc-title {
    text-align: center;
    color: #eaf6f4;
    font-weight: 900;
    font-size: 28px;
    margin-bottom: 12px;
}

.qc-links {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.qc-links a {
    width: max-content;
    color: #eaf6f4;
    text-decoration: none;
    text-align: center;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 18px;
    background: transparent;
    border: 1px solid transparent;
}

.qc-links a.active {
    background: #0b0b0b;
    border-color: rgba(0, 146, 130, 0.22);
    box-shadow: inset 0 0 0 1px rgba(0, 146, 130, 0.1);
}

/* gradient-outline buttons */

.outline-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 18px;
    border-radius: 12px;
    color: #eaf6f4;
    text-decoration: none;
    font-weight: 700;
    border: 0.5px solid rgba(0, 146, 130, 0.22);
    /* required for gradient border */
    background-color: transparent;
}

.outline-btn:hover {
    transform: translateY(-1px);
}

/* =========================================================
   RESPONSIVE (CONTENT LAYER)
   ========================================================= */

@media (max-width: 1040px) {
    .footer-inner {
        grid-template-columns: 1fr;
        row-gap: 36px;
    }
    .foot-right {
        max-width: 420px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 560px) {
    .s-badge {
        width: 36px;
        height: 36px;
    }
    .qc-title {
        font-size: 24px;
    }
}
/* ===== FOOTER – MOBILE (≤640px) ===== */
@media (max-width: 640px) {
    .accrivo-footer {
        position: relative;
        overflow: hidden;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    /* stack everything vertically like your first screenshot */
    .footer-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 40px 20px 24px;
        gap: 32px;
    }

    .foot-left {
        text-align: center;
    }

    .foot-title {
        font-size: 24px;
        margin-bottom: 6px;
    }

    .foot-title-underline {
        display: block;
        width: 60px;
        height: 2px;
        margin: 4px auto 16px;
    }

    .foot-list {
        margin: 0 0 12px;
        padding: 0;
        list-style: none;
    }

    .foot-list li {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        font-size: 14px;
        margin: 8px 0;
    }

    /* smaller icons on mobile */
    .foot-list .ico-img {
        width: 14px;
        height: 14px;
        flex: 0 0 14px;
    }

    .foot-social {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin: 16px 0 18px;
    }

    .s-badge {
        width: 38px;
        height: 38px;
    }

    .foot-trust {
        margin: 8px 0 12px;
        font-size: 18px;
        line-height: 1.3;
    }

    .foot-trust .trust-top {
        font-size: 14px;
        margin-bottom: 2px;
    }

    .foot-trust .trust-big {
        font-size: 18px;
        font-weight: 700;
    }

    .foot-trust .trust-sub {
        font-size: 14px;
    }

    /* right side card + buttons */
    .foot-right {
        max-width: 260px;
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 12px;
        z-index: 1; /* above watermark */
    }

    .quick-card {
        padding: 18px 14px 14px;
        border-radius: 18px;
        margin-top: 110px; /* smaller gap than before */
    }

    .qc-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .qc-links {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .qc-links a {
        font-size: 14px;
        padding: 4px 0;
    }

    .outline-btn {
        padding: 10px 14px;
        font-size: 14px;
        border-radius: 10px;
    }

    /* big FINTRUCTION watermark behind card */
    .foot-watermark {
        font-size: 72px;
        line-height: 1;
        opacity: 0.08;
        position: absolute;
        top: 62%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 0;
        pointer-events: none;
        user-select: none;
        white-space: nowrap;
    }

    /* hide original copyright (inside foot-left) on mobile */
    .foot-copy {
        display: none;
    }

    /* new copyright at bottom like first screenshot */
    .accrivo-footer::after {
        content: "© 2025 FinTruction. All rights reserved\A www.fintruction.com";
        white-space: pre-line;
        display: block;
        text-align: center;
        font-size: 12px;
        line-height: 1.6;
        letter-spacing: 1px;
        margin-top: 8px;
        color: white;
    }
}
/* MOBILE: pin footer watermark at a fixed spot */
@media (max-width: 640px) {
    .foot-watermark {
        position: absolute;
        font-size: 67px;
        line-height: 1;
        /* make it deeper & clearer */
        color: #006a61; /* rich teal */
        font-weight: 800; /* bold like the mock */
        opacity: 0.28; /* stronger than 0.08 */

        z-index: 0;
        pointer-events: none;
        user-select: none;
        white-space: nowrap;

        /* your current offsets */
        margin-top: -100px !important;
        margin-left: -52px !important;
    }
}
/* =========================================================
   MOBILE ONLY FIX:
   1) Logo a bit right (like screenshot)
   2) Remove white gap between nav and hero
   ========================================================= */
@media (max-width: 576px) {
    /* 1) Move brand/logo slightly to the right */
    .nav-brand,
    .lp-brand {
        margin-left: 10px; /* adjust 6px–14px if needed */
    }

    /* 2) Remove extra top padding causing white gap */
    .about-page,
    body.lp-body {
        padding-top: 56px !important; /* reduce space below fixed nav */
    }

    /* Make navbar height tighter on mobile */
    .nav-inner,
    .lp-nav-inner {
        padding-top: 12px !important;
        padding-bottom: 10px !important;
        padding-left: 9px !important;
    }

    /* Pull hero up so it touches nav (no white strip) */
    .about-hero {
        padding-top: 0px !important;
        margin-top: -10px !important; /* removes tiny remaining gap */
    }
}
/* =====================================================================
   TEAM STRIP (5 photos joined, same style) + Sahil role label
   ===================================================================== */

.team-strip {
    position: relative;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

/* Joined row */
.team-strip-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0; /* joined */
    border-radius: 18px;
}

/* Each tile */
.team-card {
    position: relative;
    margin: 0;
    padding: 0;
    /* background: #000; avoids white seams */
}

/* Photo fills tile */
.team-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 1 / 1; /* keep each tile consistent */
}

/* Optional subtle separators (very light, like stitched) */
.team-card + .team-card {
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.08);
}

/* Sahil label (same vibe as your old overlay) */
.team-card.is-sahil .team-role {
    position: absolute;
    left: 0px;
    bottom: 3px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.95);
    /* background: rgba(0, 0, 0, 0.45); */
    /* backdrop-filter: blur(6px); */
    /* -webkit-backdrop-filter: blur(6px); */
    /* text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45); */
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 900px) {
    .team-strip-grid {
        border-radius: 16px;
    }

    .team-card.is-sahil .team-role {
        font-size: 11px;
        padding: 5px 9px;
        left: 8px;
        bottom: 8px;
    }
}

/* Mobile: make it scrollable but still "joined" */
@media (max-width: 576px) {
    .team-strip-grid {
        grid-template-columns: repeat(5, minmax(160px, 1fr));
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .team-strip-grid::-webkit-scrollbar {
        display: none;
    }

    .team-photo {
        aspect-ratio: 4 / 5; /* nicer on mobile */
    }

    .team-card.is-sahil .team-role {
        font-size: 10px;
        padding: 5px 8px;
    }
}
/* =========================================================
   TEAM STRIP FIX (like your 2nd screenshot)
   - 5 cards side-by-side
   - no black bars (transparent PNG areas get a light card bg)
   - equal height cards
   ========================================================= */

.team-strip-grid {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    /* gap: 14px; */
}

.team-card {
    margin: 0; /* remove default figure margin */
    flex: 1 1 0;
    min-width: 0;

    border-radius: 18px;
    /* overflow: hidden; */

    /* this fixes the black bars if PNG has transparency */
    /* background: #f3e7d6; */

    /* border: 1px solid rgba(11, 27, 42, 0.08); */
    /* box-shadow: 0 14px 30px rgba(16, 24, 40, 0.12); */

    /* keeps all cards same height like screenshot */
    aspect-ratio: 3 / 4;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Optional: little tighter gap on smaller screens */
@media (max-width: 900px) {
    .team-strip-grid {
        gap: 10px;
    }
}

/* Mobile: still side-by-side, allow horizontal scroll instead of breaking layout */
@media (max-width: 576px) {
    .team-strip-grid {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
    }
    .team-card {
        flex: 0 0 220px; /* keeps cards readable on mobile */
    }
}
/* =====================================================================
   TEAM MODAL + HOVER SWAP (Fruitful-style)
   Add at END of /public/css/components/about-us.css
   ===================================================================== */

/* clickable feel */
.team-card.is-clickable {
    cursor: pointer;
    position: relative;
    overflow: hidden; /* important for stacked images */
    transform: translateZ(0);
    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        filter 220ms ease;
}

.team-card.is-clickable:focus-visible {
    outline: 3px solid rgba(0, 146, 130, 0.8);
    outline-offset: 3px;
}

/* stacked images */
.team-photo-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.team-photo-stack .team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    transition:
        opacity 240ms ease,
        transform 300ms ease,
        filter 240ms ease;
}

/* hover image sits on top */
.team-photo-hover {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
}

/* gentle hover animation */
.team-card.is-clickable:hover,
.team-card.is-clickable:focus-visible {
    transform: translateY(-2px);
}

.team-card.is-clickable:hover .team-photo-default,
.team-card.is-clickable:focus-visible .team-photo-default {
    opacity: 0;
}

.team-card.is-clickable:hover .team-photo-hover,
.team-card.is-clickable:focus-visible .team-photo-hover {
    opacity: 1;
    transform: scale(1.05);
}

/* tiny "plus" hint (subtle) */
.team-card.is-clickable::after {
    content: "+";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 18px;
    color: #fff;
    background: rgba(0, 146, 130, 0.85);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
    opacity: 0;
    transform: translateY(-6px);
    transition:
        opacity 200ms ease,
        transform 200ms ease;
    pointer-events: none;
}

.team-card.is-clickable:hover::after,
.team-card.is-clickable:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   Modal shell
   ========================= */
body.team-modal-open {
    overflow: hidden;
}

.team-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    place-items: center;
    padding: 18px;
}

.team-modal.is-open {
    display: grid;
}

.team-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.56);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    animation: teamFadeIn 180ms ease forwards;
}

.team-modal-dialog {
    position: relative;
    width: min(980px, 100%);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: translateY(10px) scale(0.98);
    opacity: 0;
    animation: teamPopIn 200ms ease forwards;
}

/* close button */
.team-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(11, 27, 42, 0.12);
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    display: grid;
    place-items: center;
    transition:
        transform 160ms ease,
        background 160ms ease;
}
.team-modal-close:hover {
    transform: translateY(-1px);
    background: #fff;
}

/* modal layout */
.team-modal-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 0;
}

.team-modal-media {
    background: linear-gradient(180deg, #f6fbfb 0%, #ffffff 100%);
    border-right: 1px solid rgba(11, 27, 42, 0.08);
    padding: 18px;
    display: grid;
    place-items: center;
}

.team-modal-media img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    border-radius: 18px;
    /* box-shadow: 0 18px 36px rgba(16, 24, 40, 0.12); */
}

.team-modal-body {
    padding: 26px 26px 22px;
}

.team-modal-name {
    margin: 0;
    font-size: 34px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #062437;
}

.team-modal-position {
    margin-top: 8px;
    font-size: 15px;
    font-weight: 800;
    color: rgba(0, 42, 58, 0.86);
}

.team-modal-styles {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.team-style-chip {
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    color: #007d70;
    background: rgba(0, 146, 130, 0.1);
    border: 1px solid rgba(0, 146, 130, 0.16);
}

.team-modal-bio {
    margin-top: 14px;
    color: rgba(11, 27, 42, 0.86);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
}

.team-modal-bio p {
    margin: 0 0 12px;
}

/* animations */
@keyframes teamFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes teamPopIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* responsive */
@media (max-width: 900px) {
    .team-modal-grid {
        grid-template-columns: 300px 1fr;
    }
    .team-modal-name {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    .team-modal {
        padding: 12px;
    }
    .team-modal-grid {
        grid-template-columns: 1fr;
    }
    .team-modal-media {
        border-right: 0;
        border-bottom: 1px solid rgba(11, 27, 42, 0.08);
    }
    .team-modal-body {
        padding: 18px 16px 16px;
    }
    .team-modal-name {
        font-size: 24px;
    }
}

/* =====================================================================
   PAGE ANIMATIONS — FinTruction About Us
   Add at END of /public/css/components/about-us.css
   - Scroll reveal (fade/slide/scale)
   - Stagger items (lists, grids)
   - Micro-interactions (hover, float)
   - Respects prefers-reduced-motion
   ===================================================================== */

/* ---------- Base: only hide when JS is active ---------- */
.reveal-js .reveal-item {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(6px);
    transition:
        opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
    transition-delay: var(--d, 0ms);
    will-change: opacity, transform, filter;
}

.reveal-js .reveal-item.is-in {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Variants */
.reveal-js .reveal-item.fade {
    transform: none;
}
.reveal-js .reveal-item.fade.is-in {
    transform: none;
}

.reveal-js .reveal-item.up-sm {
    transform: translateY(10px);
}
.reveal-js .reveal-item.up-sm.is-in {
    transform: translateY(0);
}

.reveal-js .reveal-item.up-lg {
    transform: translateY(26px);
}
.reveal-js .reveal-item.up-lg.is-in {
    transform: translateY(0);
}

.reveal-js .reveal-item.scale {
    transform: translateY(16px) scale(0.98);
}
.reveal-js .reveal-item.scale.is-in {
    transform: translateY(0) scale(1);
}

.reveal-js .reveal-item.left {
    transform: translateX(-18px);
}
.reveal-js .reveal-item.left.is-in {
    transform: translateX(0);
}

.reveal-js .reveal-item.right {
    transform: translateX(18px);
}
.reveal-js .reveal-item.right.is-in {
    transform: translateX(0);
}

/* ---------- Micro animations (always light) ---------- */
@keyframes softFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

@keyframes sheenMove {
    0% {
        transform: translateX(-30%) rotate(12deg);
        opacity: 0;
    }
    20% {
        opacity: 0.08;
    }
    60% {
        opacity: 0.06;
    }
    100% {
        transform: translateX(130%) rotate(12deg);
        opacity: 0;
    }
}

/* Hero vector gentle float */
.about-hero-vector {
    animation: softFloat 5.2s ease-in-out infinite;
}

/* Highlight blob slight pulse */
@keyframes hlPulse {
    0%,
    100% {
        filter: saturate(1.1);
    }
    50% {
        filter: saturate(1.25);
    }
}
.about-hl::before {
    animation: hlPulse 3.8s ease-in-out infinite;
}

/* Mission image hover micro-zoom */
.mission-image img {
    transition:
        transform 450ms ease,
        filter 450ms ease;
    transform-origin: center;
}
.mission-image:hover img {
    transform: scale(1.02);
    filter: saturate(1.02);
}

/* Vision card subtle sheen overlay on hover */
.vision-card {
    position: relative;
    overflow: hidden;
}
.vision-card::marker {
    content: "";
} /* safe */
.vision-card:hover::before {
    /* your existing ::before stays — we add a sheen layer using a pseudo element */
}
.vision-card::before {
    /* you already have ::before defined; do not remove.
       We add a second sheen via background-image overlay using box-shadow trick below */
}

/* Add an extra sheen layer using a new pseudo-element */
.vision-card .vision-sheen {
    display: none;
}
.vision-card::selection {
    background: rgba(0, 146, 130, 0.18);
}

.vision-card::after {
    /* you already defined ::after; we won't override it */
}

/* We create sheen with a nested pseudo-like effect on the card itself */
.vision-card {
    --sheen-opacity: 0;
}
.vision-card:hover {
    --sheen-opacity: 1;
}
.vision-card::before {
    /* keep your existing gradient overlay;
       add sheen effect without breaking it */
}
.vision-card {
    /* sheen overlay via background-image layer */
    background-image:
        linear-gradient(180deg, #002a3a 0%, #000000 100%),
        linear-gradient(
            120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.07) 18%,
            rgba(255, 255, 255, 0) 36%
        );
    background-size:
        100% 100%,
        220% 220%;
    background-position:
        0 0,
        -120% 0;
    transition: background-position 900ms ease;
}
.vision-card:hover {
    background-position:
        0 0,
        140% 0;
}

/* Standards cards: hover lift */
.std-card {
    transition:
        transform 200ms ease,
        box-shadow 200ms ease;
}
.std-card:hover {
    transform: translateY(-2px);
}

/* Team strip: subtle hover zoom already exists for modal swap;
   add extra smoothness for the tile */
.team-card.is-clickable .team-photo {
    transition:
        transform 420ms ease,
        opacity 240ms ease,
        filter 240ms ease;
}
.team-card.is-clickable:hover .team-photo-hover {
    filter: contrast(1.03);
}

/* Footer: buttons hover micro */
.outline-btn,
.qc-links a,
.s-badge {
    transition:
        transform 180ms ease,
        background 180ms ease,
        border-color 180ms ease;
}
.outline-btn:hover,
.qc-links a:hover,
.s-badge:hover {
    transform: translateY(-1px);
}

/* ---------- Nice stagger defaults ---------- */
.reveal-js .stagger-children > * {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(6px);
    transition:
        opacity 650ms cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
    transition-delay: var(--d, 0ms);
    will-change: opacity, transform, filter;
}
.reveal-js .stagger-children.is-in > * {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .reveal-js .reveal-item,
    .reveal-js .stagger-children > * {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
        animation: none !important;
    }
    .about-hero-vector,
    .about-hl::before {
        animation: none !important;
    }
}
/* =====================================================================
   TEAM MODAL UPDATES (Fruitful-style)
   ===================================================================== */

.team-modal-header {
    margin-bottom: 24px;
}

.team-modal-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50%;
    margin: 8px 140px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #009282;
    color: #fff;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
    box-shadow: 0 16px 34px rgba(0, 146, 130, 0.25);
    transition: all 160ms ease;
}

.team-modal-cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 20px 40px rgba(0, 146, 130, 0.3);
}

.team-modal-cta-sub {
    margin-top: 4px;
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0.9;
}

.team-modal-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(11, 27, 42, 0.08);
}

.team-modal-prev,
.team-modal-next {
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color: #009282;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 160ms ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.team-modal-prev:hover,
.team-modal-next:hover {
    background: rgba(0, 146, 130, 0.08);
    transform: translateY(-1px);
}

.team-modal-nav-label {
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 640px) {
    .team-modal-cta {
        font-size: 14px;
        padding: 12px 20px;
    }

    .team-modal-nav {
        flex-direction: column;
        gap: 12px;
    }

    .team-modal-prev,
    .team-modal-next {
        justify-content: center;
        width: 100%;
    }
}
/* =========================================================
   TEAM MODAL ACTIONS — CTA + PREV + NEXT IN ONE ROW
   ========================================================= */

.team-modal-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding-top: 18px;
    /* border-top: 1px solid rgba(11, 27, 42, 0.08); */
}

.team-modal-prev,
.team-modal-next {
    flex: 0 0 auto;
    white-space: nowrap;
}

/* CTA sits in the middle, clean (no big margins) */
.team-modal-cta {
    flex: 1 1 auto;
    max-width: 320px;
    margin: 0 !important;
    width: auto !important;
}

/* Mobile: stack nicely */
@media (max-width: 640px) {
    .team-modal-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .team-modal-cta {
        max-width: 100%;
    }

    .team-modal-prev,
    .team-modal-next {
        width: 100%;
        justify-content: center;
    }
}
/* =========================================================
   TEAM STRIP: FORCE ALL PHOTOS SAME SIZE (NO UP/DOWN)
   - Fixes: different image heights + Sahil caption affecting layout
   - Also fixes: modal resizing based on image size
   Add at END of about-us.css
   ========================================================= */

/* 1) Team strip cards: same height always */
.team-strip-grid {
    align-items: stretch !important;
}

.team-card {
    position: relative !important;
    /* overflow: hidden !important;         IMPORTANT: prevent layout jump */
    aspect-ratio: 3 / 4 !important; /* same size for all cards */
    /* background: #f6fbfb !important;      handles PNG transparency (no black bars) */
    border-radius: 18px !important;
}

/* 2) Make the image stack fill the card completely */
.team-photo-stack {
    position: absolute !important;
    inset: 0 !important;
}

/* 3) Force both default & hover images to cover exactly the same box */
.team-photo-stack .team-photo,
.team-photo-default,
.team-photo-hover {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important; /* keeps heads visible more often */
    display: block !important;
}

/* 4) Sahil caption should NOT change card height */
.team-card .team-role {
    position: absolute !important;
    left: 12px !important;
    bottom: 12px !important;
    margin: 0 !important;
    z-index: 2 !important;

    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    white-space: nowrap;
}

/* 5) Modal: keep photo area fixed so modal doesn't resize per image */
.team-modal-media {
    height: 520px; /* fixed desktop height */
    display: grid;
    place-items: center;
}

.team-modal-media img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center top !important;
}

/* Responsive tweaks */
@media (max-width: 900px) {
    .team-card {
        border-radius: 16px !important;
    }
    .team-modal-media {
        height: 420px;
    }
}

@media (max-width: 640px) {
    .team-modal-media {
        height: 38 0px;
    }
}

/* ONLY SAHIL: make photo look slightly smaller inside same card */
.team-card[data-member="sahil"] .team-photo-stack .team-photo,
.team-card[data-member="sahil"] .team-photo-default,
.team-card[data-member="sahil"] .team-photo-hover {
    transform: scale(0.94) !important; /* reduce a bit (try 0.90–0.94) */
    transform-origin: center top !important;
    border-radius: 18px !important;
    margin-top: 6px !important;
    margin-left: 6px !important;
    box-shadow: 0 0px 17px rgba(0, 146, 130, 0.25);
}
/* =====================================================================
   TEAM MODAL — CONTENT ANIMATIONS (photo + text + chips + bio + actions)
   Add at END of about-us.css
   ===================================================================== */

/* Keyframes */
@keyframes tm-fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
        filter: blur(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes tm-photoPop {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
        filter: blur(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Only animate when modal is open AND .anim is present (JS toggles .anim) */
.team-modal.is-open.anim .team-modal-media img,
.team-modal.is-open.anim .team-modal-name,
.team-modal.is-open.anim .team-modal-position,
.team-modal.is-open.anim .team-style-chip,
.team-modal.is-open.anim .team-modal-bio p,
.team-modal.is-open.anim .team-modal-actions,
.team-modal.is-open.anim .team-modal-style-title {
    will-change: opacity, transform, filter;
}

/* Photo */
.team-modal.is-open.anim .team-modal-media img {
    opacity: 0;
    animation: tm-photoPop 520ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 70ms;
}

/* Header text */
.team-modal.is-open.anim .team-modal-name {
    opacity: 0;
    animation: tm-fadeUp 520ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 120ms;
}

.team-modal.is-open.anim .team-modal-position {
    opacity: 0;
    animation: tm-fadeUp 520ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 170ms;
}

/* Chips (stagger using --i) */
.team-modal.is-open.anim .team-style-chip {
    opacity: 0;
    animation: tm-fadeUp 520ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: calc(220ms + (var(--i, 0) * 70ms));
}

/* Bio paragraphs (stagger using --i) */
.team-modal.is-open.anim .team-modal-bio p {
    opacity: 0;
    animation: tm-fadeUp 620ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: calc(300ms + (var(--i, 0) * 90ms));
}

/* Actions row */
.team-modal.is-open.anim .team-modal-actions {
    opacity: 0;
    animation: tm-fadeUp 520ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 520ms;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .team-modal.is-open.anim .team-modal-media img,
    .team-modal.is-open.anim .team-modal-name,
    .team-modal.is-open.anim .team-modal-position,
    .team-modal.is-open.anim .team-style-chip,
    .team-modal.is-open.anim .team-modal-bio p,
    .team-modal.is-open.anim .team-modal-actions,
    .team-modal.is-open.anim .team-modal-style-title {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        animation: none !important;
    }
}

/* --------------------------------------------------------------------------------------------------------- */
/* =========================================================
   MOBILE ONLY — CENTER RAIL (equal left/right gap everywhere)
   - Does NOT change text alignment
   - Only normalizes the page "rail" padding for all sections
   Add at END of about-us.css
   ========================================================= */
@media (max-width: 576px) {
    /* One consistent gutter for the whole page */
    :root {
        --m-gutter: 23px; /* change to 14px/18px if you want */
    }

    /* Force same left/right padding on all main wrappers */
    .about-container,
    .lp-container,
    .footer-inner {
        padding-left: var(--m-gutter) !important;
        padding-right: var(--m-gutter) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Remove any extra left/right padding that can shift content */
    .nav-inner,
    .lp-nav-inner {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Ensure sections don’t introduce uneven side gaps */
    .about-hero,
    .mission-section,
    .vision-team-section,
    .standards-section,
    .accrivo-footer {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Reset the earlier "logo push right" so rail stays centered */
    .nav-brand,
    .lp-brand,
    .brand {
        margin-left: 0 !important;
    }

    /* If any global clamp rail is affecting mobile, override it hard */
    .about-container,
    .lp-container {
        padding-left: var(--m-gutter) !important;
        padding-right: var(--m-gutter) !important;
    }
}
/* ---------------------------------------------------------------------------------------------------- */
/* =========================================================
   TEAM MODAL — MOBILE ONLY FIX (≤576px)
   - fixed/same photo height for ALL members
   - text always below photo (no overlap)
   - CTA smaller width (not full width)
   Add at VERY END of about-us.css
   ========================================================= */
@media (max-width: 576px) {
    /* Modal shell */
    .team-modal {
        padding: 10px !important;
    }

    /* Make dialog a real column layout so sections don't overlap */
    .team-modal-dialog {
        width: 100% !important;
        border-radius: 16px !important;
        max-height: calc(100dvh - 20px) !important;
        overflow: hidden !important;

        display: flex !important;
        flex-direction: column !important;
        position: relative !important;
    }

    /* Ensure grid doesn't fight with flex column */
    .team-modal-grid {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        min-height: 0 !important; /* IMPORTANT: allow body to scroll */
    }

    /* Close button stays above, never pushes content */
    .team-modal-close {
        width: 34px !important;
        height: 34px !important;
        border-radius: 12px !important;
        font-size: 20px !important;
        top: 10px !important;
        right: 10px !important;
        z-index: 5 !important;
    }

    /* ✅ FIXED PHOTO BOX: same height for everyone */
    .team-modal-media {
        flex: 0 0 190px !important; /* smaller height */
        height: 385px !important; /* fixed height */
        padding: 10px !important;
        display: block !important;
        border-right: 0 !important;
        border-bottom: 1px solid rgba(11, 27, 42, 0.08) !important;
        background: #fff !important;
    }

    /* ✅ Image always fills SAME box */
    .team-modal-media img {
        width: 100% !important;
        height: 100% !important;
        max-height: none !important;
        border-radius: 14px !important;

        /* Use COVER so all look same height (no tall/short differences) */
        object-fit: cover !important;

        /* Keeps faces/head visible more often */
        object-position: center 18% !important;

        display: block !important;
        /* box-shadow: 0 10px 22px rgba(16, 24, 40, 0.1) !important; */
    }

    /* ✅ Body is below photo & scrolls if needed (no overlap) */
    .team-modal-body {
        flex: 1 1 auto !important;
        min-height: 0 !important; /* IMPORTANT for scrolling */
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;

        padding: 0px 14px 10px !important;
        background: #fff !important;

        /* remove earlier height calc that can cause overlay issues */
        max-height: none !important;
    }

    /* Typography compact */
    .team-modal-name {
        font-size: 20px !important;
        line-height: 1.15 !important;
    }
    .team-modal-position {
        font-size: 12px !important;
        margin-top: 6px !important;
    }
    .team-modal-bio .team-modal-style-title {
        font-size: 11px !important;
        line-height: 1.55 !important;
    }

    /* Chips compact */
    .team-modal-styles {
        gap: 6px !important;
        margin-top: 10px !important;
    }
    .team-style-chip {
        font-size: 11px !important;
        padding: 6px 10px !important;
    }

    /* Actions */
    .team-modal-actions {
        margin-top: 12px !important;
        padding-top: 12px !important;
        gap: 10px !important;
    }

    .team-modal-prev,
    .team-modal-next {
        width: 100% !important;
        justify-content: center !important;
        font-size: 13px !important;
        padding: 10px 12px !important;
        border-radius: 10px !important;
    }

    /* ✅ CTA smaller width (NOT full width) */
}
/* =========================================================
   TEAM MODAL — ACTIONS IN ONE ROW (MOBILE ONLY)
   Prev | CTA | Next
   Add at VERY END of about-us.css
   ========================================================= */
@media (max-width: 576px) {
    /* Force actions to be a single row */
    .team-modal-actions {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        flex-wrap: nowrap !important;
    }

    /* Prev/Next should NOT be full width */
    .team-modal-prev,
    .team-modal-next {
        width: auto !important;
        flex: 0 0 auto !important;
        padding: 5px 0px !important;
        font-size: 13px !important;
        border-radius: 10px !important;
        white-space: nowrap !important;
    }

    .team-modal-cta {
        width: auto !important;
        max-width: 161px !important; /* make it less width */
        margin: 0 auto !important; /* centered */
        padding: 4px 14px !important;
        font-size: 10px !important;
        border-radius: 999px !important;
        width: 30% !important;
    }
    .team-modal-cta-sub {
        font-size: 8px !important;
    }

    /* If screen is very narrow, allow only CTA to shrink nicely */
    .team-modal-prev,
    .team-modal-next {
        min-width: 62px !important;
        justify-content: center !important;
    }
    .team-modal.is-open.anim .team-style-chip {
        font-size: 10px !important;
        /* padding: 5px 8px !important; */
    }
}
/* =========================================================
   TEAM STRIP — FRAME ZOOM (NOT IMAGE)
   - Zoom the whole card on hover/focus
   - Keep image static (no zoom)
   - Smooth + allow overlap
   ========================================================= */

/* 1) Make cards ready for smooth scaling */
.team-card.is-clickable {
    transition:
        transform 520ms cubic-bezier(0.2, 0.9, 0.2, 1),
        box-shadow 520ms cubic-bezier(0.2, 0.9, 0.2, 1);
    transform-origin: center center;
    will-change: transform;
    z-index: 1;
}

/* 2) Zoom the FRAME (figure) */
.team-card.is-clickable:hover,
.team-card.is-clickable:focus-visible {
    transform: translateY(-4px) scale(1.09); /* increase/decrease here */
    z-index: 50; /* sits above neighbours */
    box-shadow: 0 26px 60px rgba(16, 24, 40, 0.22);
}

/* Mobile: slightly less zoom */
@media (max-width: 576px) {
    .team-card.is-clickable:hover,
    .team-card.is-clickable:focus-visible {
        transform: translateY(-2px) scale(1.05);
    }
}

/* 3) Stop image zoom — only fade swap */
.team-photo-hover {
    transform: none !important;
}
.team-card.is-clickable:hover .team-photo-hover,
.team-card.is-clickable:focus-visible .team-photo-hover {
    transform: none !important; /* keep it static */
}

/* Keep your fade swap only */
.team-card.is-clickable:hover .team-photo-default,
.team-card.is-clickable:focus-visible .team-photo-default {
    opacity: 0;
}
.team-card.is-clickable:hover .team-photo-hover,
.team-card.is-clickable:focus-visible .team-photo-hover {
    opacity: 1;
}

/* 4) Make the swap smoother (optional nicer feel) */
.team-photo-stack .team-photo {
    transition: opacity 420ms ease;
}
/* =========================================================
   TEAM MODAL — make RIGHT bio panel narrower
   (keep LEFT photo width unchanged)
   ========================================================= */

/* Desktop */
.team-modal-dialog {
    width: min(860px, 100%) !important; /* overall modal a bit narrower */
}

.team-modal-grid {
    grid-template-columns: 360px 500px !important; /* left same, right fixed */
}

/* Tablet */
@media (max-width: 900px) {
    .team-modal-dialog {
        width: min(740px, 100%) !important;
    }

    .team-modal-grid {
        grid-template-columns: 300px 420px !important; /* left same as your 900px rule, right narrower */
    }
}

/* Mobile stays same (already full width stacked) */
/* =========================================================
   Team Modal — Styles list should be one per row (column)
   ========================================================= */
.team-modal-styles {
    display: flex;
    align-items: flex-start;
    gap: 10px; /* space between each style */
}

/* make each chip look clean as a full row */
.team-modal-styles .team-style-chip {
    display: inline-flex;
    width: 100%; /* ✅ takes full line */
    max-width: 162px; /* optional: prevents too wide */
    justify-content: flex-start;
    font-size: 12px;
}
/* =========================================================
   TEAM MODAL — Layout like screenshot #2
   - 2 columns (image left, content right)
   - bottom bar spans full width
   - style chips in ONE ROW (wrap)
   Add at VERY END of about-us.css
   ========================================================= */

/* Dialog becomes a 2-row layout:
   row1: content grid
   row2: bottom actions bar */
.team-modal-dialog {
    display: grid !important;
    grid-template-rows: 1fr auto !important;
    width: min(900px, 100%) !important;
    border-radius: 26px !important;
    overflow: hidden !important;
}

/* 2 columns like the reference */
.team-modal-grid {
    display: grid !important;
    grid-template-columns: minmax(360px, 44%) 1fr !important;
    gap: 0 !important;
}

/* Left image panel */
.team-modal-media {
    padding: 11px !important;
    border-right: 1px solid rgba(11, 27, 42, 0.08) !important;
    background: #f7fbfb !important;
    /* display: grid !important; */
    place-items: center !important;
}

/* Image fills nicely like screenshot */
.team-modal-media img {
    width: 100% !important;
    height: 100% !important;
    max-height: 540px !important;
    object-fit: cover !important;
    border-radius: 22px !important;
    /* box-shadow: 0 18px 40px rgba(16, 24, 40, 0.14) !important; */
}

/* Right content panel */
.team-modal-body {
    padding: 18px 24px 17px !important;
}

/* Title style like screenshot */
.team-modal-name {
    font-size: 42px !important;
    font-weight: 900 !important;
    letter-spacing: -0.02em !important;
}

.team-modal-position {
    font-size: 18px !important;
    font-weight: 700 !important;
    opacity: 0.85 !important;
    margin-top: 8px !important;
}

/* ✅ Style chips in one ROW (wrap) */
.team-modal-styles {
    display: flex !important;
    flex-direction: row !important; /* overrides your column rule */
    flex-wrap: wrap !important;
    gap: 12px !important;
    align-items: center !important;
    margin-top: 16px !important;
}

/* Chip look similar to screenshot */
.team-style-chip {
    padding: 10px 10px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    background: rgba(0, 146, 130, 0.1) !important;
    border: 1px solid rgba(0, 146, 130, 0.18) !important;
    color: #0b1b2a !important;
}

/* ✅ Bottom bar spans FULL modal width like screenshot */
.team-modal-actions {
    grid-row: 2 !important;
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    padding: 6px 28px !important;
    /* border-top: 1px solid rgba(11, 27, 42, 0.1) !important; */
    background: transparent !important;
    gap: 18px !important;
}

/* Left/Right nav */
.team-modal-prev {
    justify-self: start !important;
}
.team-modal-next {
    justify-self: end !important;
}

.team-modal-prev,
.team-modal-next {
    background: transparent !important;
    border: none !important;
    color: #006b61 !important;
    font-weight: 800 !important;
    font-size: 18px !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
}

.team-modal-prev:hover,
.team-modal-next:hover {
    background: rgba(0, 146, 130, 0.08) !important;
}

/* ✅ Big center button like "Choose your Guide" */
.team-modal-cta {
    justify-self: center !important;
    width: min(520px, 100%) !important;
    padding: 18px 40px !important;
    border-radius: 20px !important;
    background: #006b61 !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    text-align: center !important;
    box-shadow: 0 18px 36px rgba(0, 146, 130, 0.22) !important;
}

/* Responsive */
@media (max-width: 900px) {
    .team-modal-dialog {
        width: min(820px, 100%) !important;
    }
    .team-modal-name {
        font-size: 34px !important;
    }
    .team-modal-grid {
        grid-template-columns: 320px 1fr !important;
    }
}

@media (max-width: 640px) {
    .team-modal-dialog {
        grid-template-rows: auto auto !important;
        border-radius: 18px !important;
    }

    .team-modal-grid {
        grid-template-columns: 1fr !important;
    }

    .team-modal-media {
        border-right: 0 !important;
        border-bottom: 1px solid rgba(11, 27, 42, 0.08) !important;
    }

    .team-modal-media img {
        max-height: 360px !important;
    }

    .team-modal-actions {
        /* grid-template-columns: 1fr !important; */
        gap: 10px !important;
    }

    .team-modal-prev,
    .team-modal-next {
        justify-self: center !important;
    }

    .team-modal-cta {
        width: 100% !important;
    }
    .team-modal-styles {
        /* justify-content: center !important; */
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
        align-items: center !important;
        margin-top: 16px !important;
    }
}
/* =========================================================
   TEAM MODAL — MOBILE ONLY polish
   1) "GET STARTED" smaller
   2) Prev/Next: show ONLY arrows (hide "Meet with Name")
   ========================================================= */
@media (max-width: 576px) {
    /* 1) CTA smaller on mobile */
    .team-modal-cta {
        font-size: 13px !important;
        padding: 10px 16px !important;
        border-radius: 14px !important;
        width: auto !important;
        min-width: 0 !important;
    }
    .team-modal-cta-sub {
        font-size: 9px !important;
    }
    .team-modal-body {
        padding: 10px 18px 4px;
    }
    /* 2) Hide the "Meet ..." text if you already have this span */
    .team-modal-prev .team-modal-nav-label,
    .team-modal-next .team-modal-nav-label {
        display: none !important;
    }

    /* Keep buttons compact */
    .team-modal-prev,
    .team-modal-next {
        padding: 6px 10px !important;
        min-width: 44px !important;
        border-radius: 12px !important;
    }
    .team-modal-styles .team-style-chip {
        display: inline-flex;
        width: 100%;
        max-width: 142px;
        justify-content: flex-start;
        font-size: 12px;
    }

    /* ---- Fallback (if your buttons DON'T have .team-modal-nav-label span)
     This forces arrow-only using pseudo elements. Remove if not needed. ---- */
    .team-modal-prev,
    .team-modal-next {
        position: relative !important;
        font-size: 0 !important; /* hides any text like "Meet Diwakar" */
        line-height: 0 !important;
    }
    .team-modal-prev::before {
        content: "←" !important;
        font-size: 20px !important;
        line-height: 1 !important;
        display: inline-block !important;
    }
    .team-modal-next::before {
        content: "→" !important;
        font-size: 20px !important;
        line-height: 1 !important;
        display: inline-block !important;
    }
}
/* =========================================================
   TEAM MODAL — iPhone/mobile fixes (≤576px)
   1) Sahil's Style font size = paragraph
   2) Chips smaller so 3 fit in one line
   3) Reduce gap between paragraph and CEO
   4) Remove line above CTA (CTA comes up, less scroll)
   ========================================================= */
@media (max-width: 576px) {
    /* 3) Reduce spacing in header (Name/CEO) + bio */
    .team-modal-header {
        margin-bottom: 10px !important;
    }
    .team-modal-position {
        margin-top: 4px !important;
    }
    .team-modal-bio {
        margin-top: 8px !important;
    }
    .team-modal-bio p {
        margin: 0 0 8px !important;
    }

    /* 1) “Sahil’s style” same font size as paragraph */
    .team-modal-style-title,
    #teamModalStyleTitle {
        font-size: 11px !important; /* matches your mobile bio size */
        line-height: 1.55 !important;
        margin: 6px 0 6px !important;
        font-weight: 600 !important;
        opacity: 0.9 !important;
    }

    /* 2) Chips: make compact + allow 3 in a row */
    .team-modal-styles,
    #teamModalStyles {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        align-items: center !important;
        margin-top: 8px !important;
    }

    .team-modal-styles .team-style-chip,
    #teamModalStyles .team-style-chip {
        display: inline-flex !important;
        width: auto !important;
        max-width: none !important; /* IMPORTANT: remove your earlier 142px cap */
        white-space: nowrap !important; /* keeps them short */
        font-size: 10px !important;
        padding: 5px 8px !important;
        border-radius: 999px !important;
    }

    /* 4) Remove line above CTA + pull actions up */
    .team-modal-actions {
        border-top: 0 !important; /* removes the line */
        padding-top: 0 !important;
        margin-top: 10px !important;
        padding-bottom: 10px !important;
    }

    /* Slightly tighten CTA so it fits without scrolling */
    .team-modal-cta {
        padding: 10px 14px !important;
        font-size: 13px !important;
        border-radius: 14px !important;
    }
    .team-modal-cta-sub {
        font-size: 9px !important;
    }
}






/* ================================================================================================================================================= */



/* =========================================================
   TEAM MODAL — SCROLL WITH IMAGE (keep latest layout)
   - Make the whole TOP area (image + text) scroll together
   - Keep bottom actions bar as-is
   ========================================================= */

.team-modal-dialog{
  /* keep your latest 2-row layout */
  display: grid !important;
  grid-template-rows: 1fr auto !important;

  /* modal height limited to viewport */
  max-height: calc(100dvh - 24px) !important;
  overflow: hidden !important; /* important: only inner area scrolls */
}

/* ✅ Scroll happens here (includes IMAGE + TEXT together) */
.team-modal-grid{
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  min-height: 0 !important; /* IMPORTANT for grid scroll */
}

/* Remove any old "only body scroll" behavior */
.team-modal-body{
  overflow: visible !important;
  max-height: none !important;
  min-height: auto !important;
}

/* ✅ Remove fixed image heights so it scrolls naturally with content */
.team-modal-media{
  height: auto !important;
  flex: unset !important;
}

/* Keep image consistent but NOT fixed-height */
.team-modal-media img{
  height: auto !important;
  max-height: none !important;
  width: 100% !important;

  /* optional: consistent look */
  aspect-ratio: 4 / 5;
  object-fit: cover !important;
  object-position: center 18% !important;
}

/* Mobile polish (optional tighter) */
@media (max-width: 576px){
  .team-modal-dialog{
    max-height: calc(100dvh - 16px) !important;
    border-radius: 16px !important;
  }

  .team-modal-media{
    padding: 10px !important;
  }

  .team-modal-body{
    padding: 12px 16px 10px !important;
  }
}

/* =========================================================
   TEAM MODAL — reduce overall height (still scrolls)
   ========================================================= */



/* Tablet */
@media (max-width: 900px){
  .team-modal-dialog{
    max-height: calc(100dvh - 70px) !important;
  }
}

/* Mobile */
@media (max-width: 576px){
  .team-modal-dialog{
    max-height: calc(100dvh - 100px) !important;
  }
}
