/* ==========================================
            MINDFUL MEDICINE MDS
            styles.css
            ========================================== */

:root {
    --ink: #143642;
    --muted: #5d7474;
    --teal: #168f8b;
    --deep-teal: #0f6f6b;
    --aqua: #28b7c8;
    --green: #7ac943;
    --lime: #b8dd62;
    --sky: #dff8fb;
    --mint: #edf9ef;
    --cream: #fff9ed;
    --coral: #ff8f70;
    --white: #ffffff;
    --line: rgba(20,54,66,.12);
    --shadow: 0 24px 70px rgba(20,54,66,.16);
    --radius: 28px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    line-height: 1.6;
    background: radial-gradient(circle at top left, rgba(40,183,200,.22), transparent 32%), radial-gradient(circle at top right, rgba(122,201,67,.22), transparent 28%), linear-gradient(180deg,#ffffff 0%,var(--cream) 45%,var(--mint) 100%);
}

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

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

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* ==========================
            HEADER
            ========================== */

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(18px);
    background: rgba(255,255,255,.92);
    border-bottom: 1px solid var(--line);
}

.nav {
    min-height: 86px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand img {
    width: 62px;
    height: 62px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 24px;
    font-weight: 700;
    color: var(--muted);
}

    .nav-links a:hover {
        color: var(--teal);
    }

/* ==========================
            HERO
            ========================== */

.hero {
    padding: 90px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 60px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(22,143,139,.12), rgba(122,201,67,.18));
    color: var(--deep-teal);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .8rem;
}

h1, h2, h3 {
    margin: 0;
    line-height: 1.15;
}

h1 {
    margin-top: 20px;
    font-size: clamp(2.8rem,6vw,5.5rem);
}

    h1 span,
    h2 span {
        background: linear-gradient( 135deg, var(--deep-teal), var(--aqua), var(--green) );
        -webkit-background-clip: text;
        color: transparent;
    }

.hero p {
    font-size: 1.15rem;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.btn {
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 800;
    transition: .25s;
}

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

.btn-primary {
    color: white;
    background: linear-gradient( 135deg, var(--teal), var(--aqua), var(--green) );
}

.btn-secondary {
    background: white;
    border: 1px solid rgba(22,143,139,.15);
}

.hero-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ==========================
            HERO IMAGE COMPOSITION
            ========================== */

.hero-image-card {
    position: relative;
    overflow: hidden;
    min-height: 540px;
    padding: 0;
    background: radial-gradient(circle at top left, rgba(40,183,200,.22), transparent 38%), linear-gradient(145deg, #ffffff, rgba(237,249,239,.92));
    border: 1px solid rgba(255,255,255,.88);
}

    .hero-image-card::before {
        content: "";
        position: absolute;
        inset: 18px;
        border-radius: 24px;
        border: 1px solid rgba(255,255,255,.58);
        z-index: 3;
        pointer-events: none;
    }

.hero-image-main {
    position: relative;
    height: 430px;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 34px 34px;
}

    .hero-image-main img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.02);
    }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20,54,66,.08) 0%, rgba(20,54,66,.26) 48%, rgba(15,111,107,.72) 100%), radial-gradient(circle at 18% 18%, rgba(255,255,255,.36), transparent 34%), radial-gradient(circle at 82% 12%, rgba(122,201,67,.28), transparent 30%);
    z-index: 1;
}

.hero-content-card {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    z-index: 2;
    padding: 24px;
    border-radius: 26px;
    color: #ffffff;
    background: rgba(15, 111, 107, .68);
    border: 1px solid rgba(255,255,255,.34);
    box-shadow: 0 18px 45px rgba(20,54,66,.22);
    backdrop-filter: blur(14px);
}

.hero-content-kicker {
    margin-bottom: 8px;
    color: rgba(255,255,255,.9);
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero-content-card h3 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    line-height: 1.1;
    letter-spacing: -.03em;
}

.hero-content-card p {
    margin: 10px 0 0;
    color: rgba(255,255,255,.9);
    font-size: .95rem;
    line-height: 1.55;
}

.hero-logo-badge {
    position: absolute;
    right: 28px;
    top: 28px;
    z-index: 4;
    width: 132px;
    height: 132px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 32px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 18px 42px rgba(20,54,66,.18);
    border: 1px solid rgba(22,143,139,.14);
    backdrop-filter: blur(12px);
}

    .hero-logo-badge img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.hero-floating-note {
    position: absolute;
    left: 28px;
    top: 28px;
    z-index: 4;
    max-width: 240px;
    padding: 12px 16px;
    border-radius: 999px;
    color: var(--deep-teal);
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(22,143,139,.14);
    box-shadow: 0 14px 32px rgba(20,54,66,.12);
    font-size: .82rem;
    font-weight: 900;
    backdrop-filter: blur(12px);
}

.hero-pill-row {
    justify-content: flex-start;
    padding: 28px;
    padding-right: 28px;
}

/* ==========================
            GENERAL SECTIONS
            ========================== */

section {
    display: block;
    padding: 90px 0;
    position: relative;
    visibility: visible;
}

.section-head {
    margin-bottom: 40px;
}

.section-label {
    color: var(--teal);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .8rem;
    margin-bottom: 12px;
}

h2 {
    font-size: clamp(2rem,4vw,3.5rem);
}

.card {
    background: white;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 12px 40px rgba(0,0,0,.08);
}

/* ==========================
            ABOUT
            ========================== */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.icon {
    width: 54px;
    height: 54px;
    padding: 12px;
    border-radius: 18px;
    background: linear-gradient( 135deg, rgba(22,143,139,.15), rgba(122,201,67,.2) );
}

/* ==========================
            VALUES
            ========================== */

.values-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

.value-card {
    background: white;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,.06);
}

/* ==========================
            SERVICES
            ========================== */

.services {
    background: radial-gradient(circle at 20% 20%, rgba(255,143,112,.12), transparent 30%), linear-gradient(135deg, rgba(223,248,251,.72), rgba(237,249,239,.9));
}

.service-list {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
}

.service-item {
    display: flex;
    align-items: center;
    min-height: 76px;
    background: white;
    border-radius: 22px;
    padding: 22px 24px;
    font-weight: 700;
    color: var(--ink);
    box-shadow: 0 10px 25px rgba(0,0,0,.06);
}

/* ==========================
            LEADERSHIP
            ========================== */

#leadership {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.leadership-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.leadership-photo {
    overflow: hidden;
    border-radius: 24px;
    background: white;
}

    .leadership-photo img {
        width: 100%;
        height: auto;
        min-height: 450px;
        object-fit: cover;
    }

.leadership-card {
    background: white;
}

    .leadership-card h2 {
        color: var(--ink);
        margin-bottom: 12px;
    }

    .leadership-card p {
        color: var(--deep-teal);
        margin-bottom: 20px;
    }

    .leadership-card ul {
        display: block;
        visibility: visible;
        margin: 0;
        padding-left: 24px;
        color: var(--ink);
        line-height: 1.8;
    }

    .leadership-card li {
        display: list-item;
        color: var(--ink);
        margin-bottom: 10px;
    }

/* ==========================
            IMPACT
            ========================== */

#impact {
    display: block !important;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}

.stat-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

    .stat-card strong {
        display: block;
        font-size: 3rem;
        color: var(--teal);
    }

/* ==========================
            CONTACT
            ========================== */

#contact {
    display: block !important;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-card {
    background: white;
}

.contact-list {
    display: grid;
    gap: 18px;
}

    .contact-list strong {
        color: var(--ink);
    }

    .contact-list p {
        margin: 0;
        color: var(--muted);
    }

/* ==========================
            FOOTER
            ========================== */

.footer {
    display: block !important;
    visibility: visible !important;
    padding: 50px 0;
    background: white;
    border-top: 1px solid #e5e5e5;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer img {
    width: 70px;
}

/* ==========================
            MOBILE
            ========================== */

@media (max-width: 900px) {

    .hero-grid,
    .about-grid,
    .values-grid,
    .service-list,
    .leadership-grid,
    .impact-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .nav {
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-image-card {
        min-height: auto;
    }

    .hero-image-main {
        height: 320px;
    }

    .hero-logo-badge {
        width: 104px;
        height: 104px;
        right: 20px;
        bottom: 96px;
    }

    .hero-pill-row {
        padding: 24px;
        padding-right: 24px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* ==========================
            FINAL VISIBILITY + SERVICE CLEANUP
            ========================== */

#leadership,
#impact,
#contact,
.footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 1;
}

.service-item span {
    display: none !important;
}

@media (max-width: 900px) {
    .hero-image-card {
        min-height: auto;
    }

    .hero-image-main {
        height: 420px;
    }

    .hero-content-card {
        left: 20px;
        right: 20px;
        bottom: 20px;
        padding: 20px;
    }

    .hero-logo-badge {
        width: 96px;
        height: 96px;
        right: 20px;
        top: 20px;
    }

    .hero-floating-note {
        left: 20px;
        top: 20px;
        max-width: 180px;
        font-size: .72rem;
    }
}

@media (max-width: 560px) {
    .hero-image-main {
        height: 460px;
    }

    .hero-logo-badge {
        width: 82px;
        height: 82px;
    }

    .hero-floating-note {
        display: none;
    }
}

/* ==========================
               FINAL HERO: FULL-WIDTH IMAGE OVERLAY
               ========================== */

.hero.hero-v2 {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    padding: 130px 0 110px;
    overflow: hidden;
    background: var(--deep-teal);
}

    .hero.hero-v2 .hero-bg {
        position: absolute;
        inset: 0;
        z-index: 0;
    }

        .hero.hero-v2 .hero-bg img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transform: scale(1.02);
        }

    .hero.hero-v2 .hero-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(20,54,66,.88) 0%, rgba(20,54,66,.72) 42%, rgba(15,111,107,.34) 100%), linear-gradient(180deg, rgba(20,54,66,.18) 0%, rgba(20,54,66,.42) 100%), radial-gradient(circle at 20% 25%, rgba(40,183,200,.38), transparent 30%), radial-gradient(circle at 82% 18%, rgba(122,201,67,.28), transparent 28%);
        z-index: 1;
    }

    .hero.hero-v2::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -1px;
        height: 120px;
        background: linear-gradient(180deg, rgba(255,255,255,0), #ffffff 85%);
        z-index: 2;
        pointer-events: none;
    }

.hero-content-wrap {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 48px;
    align-items: end;
}

.hero-copy {
    max-width: 780px;
}

.hero.hero-v2 .eyebrow {
    color: #ffffff;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.28);
    backdrop-filter: blur(14px);
}

.hero.hero-v2 h1 {
    color: #ffffff;
    text-shadow: 0 14px 40px rgba(0,0,0,.22);
}

    .hero.hero-v2 h1 span {
        background: linear-gradient(135deg, #ffffff, var(--sky), var(--lime));
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.hero.hero-v2 .hero-copy p {
    max-width: 690px;
    color: rgba(255,255,255,.9);
    font-size: 1.2rem;
}

.hero.hero-v2 .btn-secondary {
    color: #ffffff;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.28);
    backdrop-filter: blur(12px);
}

.hero.hero-v2 .hero-content-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 3;
    padding: 28px;
    border-radius: 28px;
    color: #ffffff;
    background: rgba(15,111,107,.68);
    border: 1px solid rgba(255,255,255,.34);
    box-shadow: 0 24px 60px rgba(20,54,66,.28);
    backdrop-filter: blur(16px);
}

.hero.hero-v2 .hero-content-kicker {
    margin-bottom: 10px;
    color: rgba(255,255,255,.88);
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero.hero-v2 .hero-content-card h3 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.55rem, 2.5vw, 2.1rem);
    line-height: 1.1;
    letter-spacing: -.03em;
}

.hero.hero-v2 .hero-content-card p {
    margin: 12px 0 0;
    color: rgba(255,255,255,.9);
    font-size: .98rem;
    line-height: 1.55;
}

/* Remove the old right-panel hero composition */
.hero-card.hero-image-card,
.hero-image-card,
.hero-image-main,
.hero-logo-badge,
.hero-floating-note,
.hero-pill-row {
    display: none;
}

@media (max-width: 900px) {
    .hero.hero-v2 {
        min-height: 720px;
        padding: 100px 0 90px;
    }

    .hero-content-wrap {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero.hero-v2 .hero-content-card {
        max-width: 100%;
    }
}

@media (max-width: 560px) {
    .hero.hero-v2 {
        min-height: 760px;
    }

        .hero.hero-v2 .hero-copy p {
            font-size: 1.05rem;
        }
}
