﻿/* =========================================================
   HEALTHCARE PAGES — CLEAN, REUSABLE THEME CSS
   Bootstrap v5.1.0 friendly
   Font: Articulat CF
========================================================= */

/* ---------- TOKENS (single source of truth) ---------- */
:root {
    /* Brand */
    --brand-red: #DE1F26;
    --brand-yellow: #FECD07;
    --brand-dark: #1C1C1C;
    --brand-blue: #93A8AC;
    /* Base */
    --ink: #0f172a;
    --text: rgba(15, 23, 42, .88);
    --muted: rgba(15, 23, 42, .66);
    /* Surfaces */
    --card: #ffffff;
    --ring: rgba(15, 23, 42, .12);
    --shadow-sm: 0 10px 22px rgba(17, 24, 39, .08);
    --shadow: 0 18px 50px rgba(17, 24, 39, .14);
    --radius: 18px;
    /* Primary CTA (your current blue) */
    /*--cta: #0b6c97;
    --cta-hover: #0a5f84;*/
    --cta: var(--brand-red);
    --cta-hover: #b9151b;
    /* Success */
    --good: #22c55e;
    /* Hero */
    --hc-hero-img: url("../images/healthcare/hero.jpg");
    --hero-bg: #0b1a22;
    /* Path section */
    --path-bg: #f4f7fb;
    /* Assessment section */
    --assess-bg: #eaf2f6;
    /* Timeline */
    --line: rgba(11, 108, 151, .55);
}

/* ---------- GLOBAL ---------- */
body {
    font-family: "Articulat CF", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--ink);
}

/* shared heading styles (used in multiple sections) */
.hc-eyebrow {
    display: inline-block;
    font-weight: 700;
    letter-spacing: .14em;
    font-size: .72rem;
    color: var(--cta);
    text-transform: uppercase;
}

.hc-h2 {
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--brand-dark);
    font-size: clamp(1.9rem, 2.5vw, 2.65rem);
    line-height: 1.12;
    margin: 0;
}

.hc-sub {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

/* better focus visibility without fighting Bootstrap */
:where(.btn, .form-control, .form-select, .form-check-input):focus {
    box-shadow: 0 0 0 .18rem rgba(11, 108, 151, .14) !important;
}

/* smooth hover, but respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
    }

    .hc-float-card:hover {
        transform: none !important;
    }
}

/* =========================================================
   HERO (Screen 1)
========================================================= */
.hc-hero {
    position: relative;
    overflow: hidden;
    min-height: clamp(540px, 78vh, 820px);
    display: flex;
    align-items: center;
    padding: clamp(2.75rem, 4.2vw, 4.5rem) 0;
    background: var(--hero-bg);
}

.hc-hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8,18,26,.94) 0%, rgba(8,18,26,.82) 42%, rgba(8,18,26,.45) 70%, rgba(8,18,26,.08) 100%), radial-gradient(900px 520px at 16% 25%, rgba(18,49,54,.55) 0%, rgba(10,28,34,.25) 55%, rgba(7,18,26,.05) 100%), var(--hc-hero-img) center right / cover no-repeat;
    transform: scale(1.02);
    filter: saturate(1.05) contrast(1.03);
}

.hc-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 180px;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(5,12,16,.55) 100%);
    pointer-events: none;
}

.hc-pill {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .5rem .9rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(16, 56, 58, .42);
    color: rgba(255,255,255,.82);
    font-weight: 600;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

    .hc-pill i {
        color: rgba(222, 31, 38, .95);
    }

.hc-title {
    color: #fff;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.05;
    font-size: clamp(2.25rem, 3.7vw, 3.6rem);
    text-shadow: 0 10px 28px rgba(0,0,0,.35);
}

.hc-title__accent {
    color: var(--brand-blue);
    font-weight: 700;
}

.hc-lead {
    color: rgba(255,255,255,.78);
    max-width: 58ch;
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0;
}

.hc-badges {
    max-width: 680px;
}

.hc-badge {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .55rem .8rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.80);
    font-weight: 600;
    font-size: .92rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hc-badge__dot {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(222, 31, 38, .18);
    border: 1px solid rgba(222, 31, 38, .28);
    color: rgba(222, 31, 38, .95);
    flex: 0 0 auto;
}

/* buttons */
.hc-btn-primary {
    padding: .85rem 1.35rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.10);
    background: var(--cta);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 14px 34px rgba(0,0,0,.25);
}

    .hc-btn-primary:hover {
        background: var(--cta-hover);
        color: #fff;
    }

.hc-btn-ghost {
    padding: .85rem 1.35rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.88);
    font-weight: 800;
}

    .hc-btn-ghost:hover {
        background: rgba(255,255,255,.10);
        color: #fff;
    }

/* stats */
.hc-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 2rem);
    padding-top: 1.25rem;
}

.hc-stat {
    position: relative;
    padding-right: 1rem;
}

    .hc-stat:not(:last-child)::after {
        content: "";
        position: absolute;
        right: 0;
        top: .35rem;
        bottom: .35rem;
        width: 1px;
        background: rgba(255,255,255,.14);
    }

.hc-stat__num {
    font-weight: 700;
    letter-spacing: -.01em;
    font-size: clamp(1.4rem, 2vw, 2rem);
    /*color: rgba(36, 172, 204, .95);*/
    color: rgba(222, 31, 38, .95);
    text-shadow: 0 10px 24px rgba(0,0,0,.25);
}

.hc-stat__label {
    margin-top: .1rem;
    font-size: .92rem;
    color: rgba(255,255,255,.72);
}

/* right floating stack */
.hc-float-stack {
    position: relative;
    display: grid;
    gap: 14px;
    justify-content: end;
    padding-right: clamp(0rem, 1vw, .5rem);
}

.hc-float-card {
    width: 170px;
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .9rem 1rem;
    border-radius: 16px;
    text-decoration: none;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(255,255,255,.65);
    box-shadow: 0 20px 50px rgba(0,0,0,.22);
    transition: transform .18s ease;
}

    .hc-float-card:hover {
        transform: translateY(-2px);
    }

.hc-float-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(147,168,172,.18);
    border: 1px solid rgba(147,168,172,.35);
    color: var(--cta);
    font-size: 1.3rem;
}

.hc-float-title {
    font-weight: 800;
    color: #3b4b54;
    font-size: 1rem;
}

.hc-float-card:nth-child(1) {
    margin-right: 0;
}

.hc-float-card:nth-child(2) {
    margin-right: 12px;
}

.hc-float-card:nth-child(3) {
    margin-right: 24px;
}

/* Hero responsive */
@media (max-width: 991.98px) {
    .hc-float-stack {
        justify-content: start;
        grid-auto-flow: column;
        grid-auto-columns: minmax(160px, 1fr);
        overflow-x: auto;
        padding-bottom: .25rem;
        -webkit-overflow-scrolling: touch;
    }

    .hc-float-card {
        width: 100%;
    }

        .hc-float-card:nth-child(2),
        .hc-float-card:nth-child(3) {
            margin-right: 0;
        }
}

@media (max-width: 575.98px) {
    .hc-stats {
        grid-template-columns: 1fr;
        gap: .9rem;
    }

    .hc-stat:not(:last-child)::after {
        display: none;
    }

    .hc-lead {
        font-size: 1rem;
    }
}

/* =========================================================
   PATH (Screen 2)
========================================================= */
.hc-path {
    background: var(--path-bg);
}

.hc-role-card {
    background: var(--card);
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(17,24,39,.10);
    overflow: hidden;
}

.hc-role-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr .9fr;
    min-height: 220px;
}

.hc-role-left, .hc-role-mid, .hc-role-right {
    padding: 26px;
}

.hc-role-mid,
.hc-role-right {
    background: #fff;
}

.hc-role-mid {
    border-left: 1px solid rgba(15,23,42,.08);
}

.hc-role-right {
    border-left: 1px solid rgba(15,23,42,.08);
}

.hc-role-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--cta);
    color: #fff;
    font-size: 1.45rem;
    box-shadow: 0 14px 30px rgba(11,108,151,.18);
}

.hc-role-title {
    font-weight: 700;
    color: #111827;
    font-size: 1.15rem;
}

.hc-role-subtitle {
    margin-top: 2px;
    color: rgba(15,23,42,.55);
    font-size: .86rem;
}

.hc-role-desc {
    color: rgba(15,23,42,.68);
    line-height: 1.65;
    font-size: 1rem;
    margin: 0;
    max-width: 52ch;
}

.hc-mini {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hc-mini-box {
    flex: 1 1 160px;
    min-width: 160px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    box-shadow: var(--shadow-sm);
}

.hc-mini-ic {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(34,197,94,.10);
    border: 1px solid rgba(34,197,94,.18);
    color: rgba(34,197,94,.95);
    font-size: 1.05rem;
}

.hc-mini-top {
    font-weight: 700;
    color: #0f172a;
    font-size: .92rem;
    line-height: 1.05;
}

.hc-mini-bot {
    color: rgba(15,23,42,.85);
    font-size: .85rem;
    margin-top: 2px;
}

.hc-col-title {
    font-weight: 700;
    color: #0f172a;
    font-size: 1rem;
    margin-bottom: 12px;
}

.hc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

    .hc-list li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        color: rgba(15,23,42,.72);
        /*font-size: .93rem;*/
        line-height: 1.4;
    }

.hc-check {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(11,108,151,.12);
    border: 1px solid rgba(11,108,151,.18);
    color: rgba(11,108,151,.95);
    flex: 0 0 auto;
    margin-top: 1px;
    font-size: .85rem;
}

.hc-check--green {
    background: rgba(34,197,94,.12);
    border-color: rgba(34,197,94,.20);
    color: rgba(34,197,94,.95);
}

.hc-apply-btn {
    padding: .85rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.14);
    background: var(--cta);
    color: #fff;
    /*font-weight: 700;*/
    box-shadow: 0 14px 28px rgba(11,108,151,.18);
}

    .hc-apply-btn:hover {
        background: var(--cta-hover);
        color: #fff;
    }

@media (max-width: 991.98px) {
    .hc-role-grid {
        grid-template-columns: 1fr;
    }

    .hc-role-mid, .hc-role-right {
        border-left: 0;
        border-top: 1px solid rgba(15,23,42,.08);
    }

    .hc-mini-box {
        min-width: 150px;
    }
}

@media (max-width: 575.98px) {
    .hc-role-left, .hc-role-mid, .hc-role-right {
        padding: 18px 16px;
    }

    .hc-mini {
        gap: 10px;
    }

    .hc-mini-box {
        flex: 1 1 100%;
    }
}

/* =========================================================
   JOURNEY (Screen 3)
========================================================= */
.hc-journey {
    background: #fff;
}

.hc-timeline {
    position: relative;
    padding: 12px 0;
}

.hc-timeline__line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, rgba(11,108,151,.2), rgba(11,108,151,.75), rgba(11,108,151,.2));
    transform: translateX(-50%);
}

.hc-step {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 120px 1fr;
    align-items: center;
    margin: 0 0 34px 0;
}

.hc-step__dot {
    grid-column: 2;
    justify-self: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 2px solid var(--cta);
    color: var(--cta);
    font-weight: 700;
    font-size: .92rem;
    box-shadow: 0 12px 26px rgba(11,108,151,.14);
    z-index: 2;
}

.hc-card {
    width: min(420px, 100%);
    background: var(--card);
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(17,24,39,.12);
    overflow: hidden;
}

.hc-step--left .hc-card {
    grid-column: 1;
    justify-self: end;
}

.hc-step--right .hc-card {
    grid-column: 3;
    justify-self: start;
}

.hc-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px 0 16px;
}

.hc-tag {
    display: inline-flex;
    align-items: center;
    padding: .32rem .6rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .72rem;
    color: var(--cta);
    background: rgba(11,108,151,.10);
    border: 1px solid rgba(11,108,151,.14);
}

.hc-ic {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--cta);
    color: #fff;
    box-shadow: 0 14px 28px rgba(11,108,151,.18);
    font-size: 1.1rem;
}

.hc-card__body {
    position: relative;
    padding: 16px 18px 18px;
}

.hc-num {
    position: absolute;
    right: 16px;
    top: 12px;
    font-weight: 700;
    font-size: 1.35rem;
    color: rgba(147,168,172,.35);
    letter-spacing: -.02em;
}

.hc-card__title {
    font-weight: 700;
    color: #0f172a;
    font-size: 1.05rem;
    margin: 2px 0 6px;
}

.hc-card__desc {
    color: rgba(15,23,42,.62);
    line-height: 1.6;
    font-size: .92rem;
    margin: 0 0 12px;
}

.hc-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

    .hc-bullets li {
        position: relative;
        padding-left: 16px;
        color: rgba(15,23,42,.72);
        font-size: .9rem;
        line-height: 1.4;
    }

        .hc-bullets li::before {
            content: "";
            position: absolute;
            left: 0;
            top: .55em;
            width: 7px;
            height: 7px;
            border-radius: 999px;
            background: rgba(34,197,94,.95);
            box-shadow: 0 8px 16px rgba(34,197,94,.16);
        }

.hc-journey-cta {
    padding: .85rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.14);
    background: var(--cta);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 16px 34px rgba(11,108,151,.18);
}

    .hc-journey-cta:hover {
        background: var(--cta-hover);
        color: #fff;
    }

@media (max-width: 991.98px) {
    .hc-timeline__line {
        left: 18px;
        transform: none;
    }

    .hc-step {
        grid-template-columns: 42px 1fr;
        gap: 14px;
        margin-bottom: 18px;
    }

    .hc-step__dot {
        grid-column: 1;
        justify-self: start;
    }

    .hc-card {
        grid-column: 2 !important;
        justify-self: stretch !important;
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .hc-card__body {
        padding: 14px 14px 16px;
    }

    .hc-num {
        right: 12px;
    }
}

/* =========================================================
   ASSESSMENT (Screen 4)
========================================================= */
.hc-assess {
    background: radial-gradient(900px 520px at 70% 30%, rgba(147,168,172,.18) 0%, rgba(147,168,172,0) 60%), radial-gradient(900px 520px at 18% 80%, rgba(11,108,151,.12) 0%, rgba(11,108,151,0) 60%), linear-gradient(180deg, rgba(255,255,255,.65) 0%, rgba(255,255,255,.35) 100%), var(--assess-bg);
}

.hc-points {
    display: grid;
    gap: 14px;
    max-width: 520px;
}

.hc-point {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hc-point__ic {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(22,163,74,.10);
    border: 1px solid rgba(22,163,74,.18);
    color: rgba(22,163,74,.95);
    flex: 0 0 auto;
    font-size: 1.15rem;
}

.hc-point__text {
    color: rgba(15,23,42,.78);
    font-weight: 700;
}

.hc-formcard {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(15,23,42,.08);
    padding: clamp(1.25rem, 2.1vw, 1.75rem);
}

.hc-label {
    font-weight: 800;
    color: rgba(15,23,42,.85);
    font-size: .9rem;
}

.hc-req {
    color: var(--brand-red);
}

.hc-input, .hc-select, .hc-textarea {
    border-radius: 12px;
    border: 1px solid rgba(15,23,42,.14);
    padding: .72rem .9rem;
    font-weight: 600;
    color: rgba(15,23,42,.88);
    background: #fbfcfe;
}

.hc-textarea {
    padding: .85rem .95rem;
}

.hc-checkwrap {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
}

.hc-check {
    margin-top: .18rem;
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 999px;
    border: 1px solid rgba(15,23,42,.22);
}

    .hc-check:checked {
        background-color: var(--cta);
        border-color: var(--cta);
    }

.hc-checklabel {
    color: rgba(15,23,42,.62);
    font-weight: 600;
    line-height: 1.55;
    font-size: .9rem;
}

.hc-submit {
    padding: .95rem 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.14);
    background: var(--cta);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 16px 32px rgba(11,108,151,.18);
}

    .hc-submit:hover {
        background: var(--cta-hover);
        color: #fff;
    }

@media (max-width: 575.98px) {
    .hc-point__ic {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .hc-formcard {
        padding: 1rem;
    }
}
