﻿/* ================= HERO (full-bleed split) ================= */
.hero-section {
    background: linear-gradient(180deg, #f7fafc 0%, #ffffff 100%);
    width: 100%;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr; /* text slightly wider than image */
    align-items: center;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 4rem 4rem 6rem;
}

.hero-copy .eyebrow {
    font-size: .72rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--brand-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--brand-serif);
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    line-height: 1.08;
    color: var(--brand-blue);
    margin-bottom: 1.2rem;
}

.hero-subtext {
    font-size: 1.05rem;
    color: #3b4a66;
    max-width: 32rem;
    margin-bottom: 1.8rem;
}

.hero-actions {
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
}

    .hero-actions .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem; /* Adds space between text and arrow */
        white-space: nowrap; /* Prevents text from breaking to a new line */
        font-weight: 600;
        padding: .75rem 1.4rem;
        border-radius: 8px;
    }

    .hero-actions .btn-primary {
        background: var(--brand-blue);
        border-color: var(--brand-blue);
    }

    .hero-actions .btn-outline-primary {
        color: var(--brand-blue);
        border-color: var(--brand-blue);
        background: #fff;
    }

        .hero-actions .btn-outline-primary:hover {
            background: var(--brand-blue);
            color: #fff;
        }

.hero-visual {
    position: relative;
}

    .hero-visual img {
        width: 100%;
        height: 100%;
        min-height: 480px;
        max-height: 620px;
        object-fit: cover;
        border-radius: 16px;
        display: block;
    }

.hero-float-text {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    display: flex;
    flex-direction: column;
    font-family: var(--brand-serif);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--brand-blue);
    opacity: .8;
    text-align: right;
    line-height: 1.3;
}

.underline-green {
    position: relative;
    display: inline-block;
}

    .underline-green::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -0.15em;
        height: 4px;
        background: var(--brand-green);
        border-radius: 2px;
    }

/* ================= SECTION HEADINGS ================= */
.section-heading {
    margin-bottom: 2.5rem;
}

    .section-heading h2 {
        font-family: var(--brand-serif);
        font-size: clamp(1.6rem, 3vw, 2.4rem);
        color: var(--brand-blue);
        margin-bottom: .8rem;
    }

    .section-heading p {
        color: #4a5875;
        max-width: 34rem;
    }

/* ================= CONDITIONS ================= */
.conditions-section {
    padding: 4.5rem 0;
    background: #fff;
}

.condition-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.8rem 1.5rem;
    border-radius: 14px;
    background: #f9fbfd;
    border: 1px solid #e8eef5;
    text-decoration: none;
    color: inherit;
    transition: all .2s ease;
}

    .condition-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(26, 61, 124, 0.08);
        border-color: #c9d9ec;
    }

.condition-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

    .condition-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

.condition-card h3 {
    font-size: 1.1rem;
    margin-bottom: .8rem;
    font-family: var(--brand-sans);
    font-weight: 600;
    color: var(--brand-ink);
}

.condition-tags {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem;
    font-size: .88rem;
    color: #5a6a86;
}

    .condition-tags li {
        display: inline;
    }

        .condition-tags li:not(:last-child)::after {
            content: " • ";
            color: #b4bfd0;
        }

.condition-arrow {
    margin-top: auto;
    font-size: 1.2rem;
    color: var(--brand-blue);
}

/* ================= TRUST ================= */
.trust-section {
    padding: 3rem 0;
    background: var(--brand-bg-soft);
    border-top: 1px solid #e8eef5;
    border-bottom: 1px solid #e8eef5;
}

.trust-item {
    text-align: left;
}

    .trust-item i {
        font-size: 1.8rem;
        color: var(--brand-blue);
        margin-bottom: .8rem;
        display: block;
    }

    .trust-item h4 {
        font-family: var(--brand-sans);
        font-weight: 600;
        font-size: 1rem;
        margin-bottom: .3rem;
        color: var(--brand-ink);
    }

    .trust-item p {
        font-size: .88rem;
        color: #5a6a86;
        margin: 0;
    }

/* ================= PATHWAYS ================= */
.pathways-section {
    padding: 4.5rem 0;
    background: #fff;
}

.service-card {
    position: relative;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e8eef5;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: all .25s ease;
}

    .service-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 15px 40px rgba(26, 61, 124, 0.1);
    }

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #eef3f9;
}

.service-body {
    padding: 1.5rem 1.4rem 4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

    .service-body h3 {
        font-family: var(--brand-serif);
        font-size: 1.25rem;
        color: var(--brand-blue);
        margin-bottom: .7rem;
    }

    .service-body p {
        font-size: .92rem;
        color: #4a5875;
        margin-bottom: 1rem;
    }

.service-tags {
    list-style: none;
    padding: 0;
    margin: auto 0 0;
    font-size: .82rem;
    color: #5a6a86;
    text-transform: uppercase;
    letter-spacing: .06em;
}

    .service-tags li {
        display: inline;
    }

        .service-tags li:not(:last-child)::after {
            content: " • ";
            color: #b4bfd0;
        }

.service-arrow {
    position: absolute;
    bottom: 1.2rem;
    right: 1.2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1rem;
    transition: background .2s;
}

    .service-arrow:hover {
        background: #14315f;
        color: #fff;
    }

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
        padding: 3rem 1.5rem;
        gap: 2rem;
    }

    .hero-visual img {
        min-height: 320px;
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-float-text {
        font-size: 1.1rem;
    }

    .conditions-section,
    .pathways-section {
        padding: 3rem 0;
    }
}
