/* Stemigo About + How It Works Page */

.stemigo-about-hero,
.stemigo-roadmap,
.stemigo-about-section,
.stemigo-beliefs,
.stemigo-mvv,
.stemigo-team,
.stemigo-final-cta {
    color: #0a1d49;
}

.stemigo-about-hero {
    overflow: hidden;
}

.stemigo-eyebrow {
    display: block;
    color: #d58b00;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.stemigo-about-hero h1,
.stemigo-roadmap h2,
.stemigo-about-content h2,
.stemigo-beliefs h2,
.stemigo-team h2 {
    color: #0a1d49;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 12px;
}

.stemigo-about-hero h1 span {
    color: #d99508;
}

.stemigo-about-hero p,
.stemigo-about-content p,
.stemigo-belief-card p,
.stemigo-team p {
    color: #273247;
    font-size: 14px;
    line-height: 1.6;
}

.stemigo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: #f6b319;
    border: 1px solid #e5a00b;
    border-radius: 5px;
    color: #111b32;
    font-size: 14px;
    font-weight: 700;
    padding: 11px 20px;
    text-decoration: none;
    transition: background .2s ease;
}

.stemigo-btn:hover {
    background: #e9a30a;
    color: #111b32;
}

.stemigo-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 22px;
}

.stemigo-hero-features span {
    align-items: center;
    display: inline-flex;
    font-size: 12px;
    gap: 7px;
}

.stemigo-hero-features b {
    align-items: center;
    background: #0a1d49;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    height: 23px;
    justify-content: center;
    width: 23px;
}

.stemigo-hero-image {
    overflow: hidden;
    border-radius: 18px;
    padding: 40px 40px;
    margin-top: 24px;
    background: url("../img/aboutheader.png");
    background-size: cover;
    background-position: center;
}

.stemigo-hero-image img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.section-spacing {
    padding: 36px 0;
}

.stemigo-section-intro {
    color: #394358;
    font-size: 14px;
    margin: 0;
    max-width: 700px;
}

/* What We Do: Our Journey Together */
.stemigo-journey-head {
    margin-bottom: 20px;
}

.stemigo-journey-head::before {
    background: #f6b319;
    content: "";
    display: block;
    height: 3px;
    margin-bottom: 14px;
    width: 40px;
}

.stemigo-journey-head h2 span {
    color: #0a1d49;
}

.stemigo-journey-head .stemigo-section-intro {
    margin-bottom: 0;
}

/* Desktop / tablet: landscape image 1530 x 778 */
.stemigo-journey-figure {
    aspect-ratio: 1530 / 778;
    background: linear-gradient(135deg, #f0f7fc, #e4eef8);
    border-radius: 14px;
    margin: 0;
    overflow: hidden;
    width: 100%;
}

.stemigo-journey-figure picture {
    display: block;
    height: 100%;
    width: 100%;
}

.stemigo-journey-figure img {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.stemigo-about-section {
    background: #f0f7fc;
}

.stemigo-about-photo {
    height: 100%;
    min-height: 340px;
}

.stemigo-about-photo img {
    display: block;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    width: 100%;
}

.stemigo-about-content {
    padding: 26px 24px 26px 32px;
}

/* Directors' message */
.stemigo-quote {
    border-left: 3px solid #f6b319;
    margin: 14px 0 0;
    padding: 2px 0 2px 16px;
}

.stemigo-quote p {
    margin-bottom: 12px;
}

.stemigo-quote-by {
    color: #0a1d49;
    font-size: 14px;
    font-weight: 700;
    margin-top: 16px;
}

.stemigo-beliefs h2,
.stemigo-team h2 {
    margin-bottom: 14px;
}

.stemigo-belief-card {
    align-items: flex-start;
    border: 1px solid #e6e9ef;
    border-radius: 7px;
    box-shadow: 0 3px 12px rgba(10, 29, 73, .04);
    display: flex;
    gap: 12px;
    height: 100%;
    padding: 16px 12px;
    position: relative;
}

.stemigo-belief-icon {
    align-items: center;
    background: #ffbd26;
    border: 4px solid #ffda7c;
    border-radius: 50%;
    color: #0a1d49;
    display: flex;
    flex-shrink: 0;
    font-size: 25px;
    height: 58px;
    justify-content: center;
    width: 58px;
}

.stemigo-belief-card h3 {
    color: #0a1d49;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 7px;
}

.stemigo-belief-card p {
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
}

.stemigo-card-number {
    color: #e0e2e7;
    font-size: 24px;
    font-weight: 700;
    position: absolute;
    right: 9px;
    top: 4px;
}

/* ---------- Mission / Vision / Values / Promise ---------- */
.stemigo-mvv {
    background: #ffffff;
}

/* Mission & Vision cards */
.stemigo-mv-card {
    align-items: center;
    background: linear-gradient(135deg, #eaf3fd, #f6faff);
    border: 1px solid #dbe8f6;
    border-radius: 14px;
    display: flex;
    gap: 18px;
    height: 100%;
    padding: 20px 22px;
}

.stemigo-mv-card--vision {
    background: linear-gradient(135deg, #e9f7ee, #f6fbf8);
    border-color: #d6ecde;
}

.stemigo-mv-icon {
    align-items: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(10, 29, 73, .08);
    color: #1f5fd1;
    display: flex;
    flex-shrink: 0;
    font-size: 28px;
    height: 70px;
    justify-content: center;
    width: 70px;
}

.stemigo-mv-card--vision .stemigo-mv-icon {
    color: #0a1d49;
}

.stemigo-mv-card h2 {
    color: #0a1d49;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.stemigo-mv-card p {
    color: #273247;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

/* Values panel: heading in code, cards in image */
.stemigo-values {
    margin-top: 24px;
    padding: 0;
}

/* Heading sits in its own row above the image, never overlapped by it */
.stemigo-values-head {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 6px;
    position: relative;
    z-index: 2;
}

.stemigo-values-head h2 {
    color: #0a1d49;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.stemigo-values-head p {
    color: #273247;
    font-size: 14px;
    margin: 0;
}

/* Image shows in full at its natural ratio: nothing cropped, no fixed height */
.stemigo-values-figure {
    margin: 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.stemigo-values-figure picture {
    display: block;
    width: 100%;
}

.stemigo-values-figure img {
    display: block;
    height: auto;
    max-width: 100%;
    width: 100%;
}

/* Promise bar */
.stemigo-promise {
    align-items: center;
    background: linear-gradient(135deg, #eaf3fd, #f6faff);
    border: 1px solid #dbe8f6;
    border-radius: 14px;
    display: flex;
    gap: 20px;
    margin-top: 16px;
    padding: 18px 22px;
}

.stemigo-promise-icon {
    align-items: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(10, 29, 73, .08);
    color: #1f5fd1;
    display: flex;
    flex-shrink: 0;
    font-size: 26px;
    height: 64px;
    justify-content: center;
    width: 64px;
}

.stemigo-promise-text {
    flex: 1 1 auto;
}

.stemigo-promise-text h2 {
    color: #0a1d49;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.stemigo-promise-text p {
    color: #273247;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

.stemigo-promise-cta {
    background: #0a1d49;
    border-radius: 10px;
    color: #fff;
    flex: 0 0 200px;
    padding: 5px 5px;
    text-align: center;
}

.stemigo-promise-cta strong {
    display: block;
    font-size: 17px;
    margin-bottom: 6px;
}

.stemigo-promise-cta a {
    align-items: center;
    color: #fff;
    display: inline-flex;
    font-size: 13px;
    gap: 10px;
    line-height: 1.4;
    text-align: left;
    text-decoration: none;
}

.stemigo-promise-cta a:hover {
    color: #ffc02b;
}

.stemigo-promise-cta a i {
    color: #ffc02b;
    font-size: 18px;
}

/* Kept: used by the commented-out team section */
.stemigo-commitment-grid {
    margin-block: 10px;
}

.stemigo-team-card {
    border: 1px solid #e7eaf0;
    border-radius: 7px;
    height: 100%;
    overflow: hidden;
    padding-bottom: 12px;
    text-align: center;
}

.stemigo-team-card img {
    display: block;
    height: 105px;
    object-fit: scale-down;
    object-position: center top;
    width: 100%;
}

.stemigo-team-card h3 {
    color: #0a1d49;
    font-size: 14px;
    font-weight: 700;
    margin: 9px 4px 4px;
}

.stemigo-team-card span {
    color: #c78300;
    display: block;
    font-size: 11px;
    margin: 0 4px 5px;
}

.stemigo-team-card p {
    font-size: 11px;
    line-height: 1.4;
    margin: 0 7px;
}

.stemigo-btn-blue {
    background: #0b285e;
    border-color: #0b285e;
    color: #fff;
}

.stemigo-btn-blue:hover {
    background: #163c7d;
    color: #fff;
}

.stemigo-final-cta {
    background: linear-gradient(110deg, #061b43, #103b73);
    color: #fff;
    padding: 32px 0;
}

.stemigo-final-cta>.container>span {
    color: #ffc02b;
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.stemigo-final-cta h2 {
    color: #fff;
    font-size: 27px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stemigo-final-cta p {
    color: #fff;
    font-size: 13px;
    margin-bottom: 17px;
}

/* Tablet */
@media (max-width: 991.98px) {
    .stemigo-about-hero {
        padding: 32px 0;
    }

    .stemigo-hero-image {
        height: 260px;
        margin-top: 24px;
    }

    .stemigo-about-photo img {
        max-height: 340px;
    }

    .stemigo-about-content {
        padding: 28px 24px;
    }

    .stemigo-roadmap h2 {
        font-size: 28px;
    }

    .stemigo-promise {
        flex-wrap: wrap;
    }

    .stemigo-promise-text {
        flex: 1 1 calc(100% - 100px);
    }

    .stemigo-promise-cta {
        flex: 1 1 100%;
    }
}

/* Mobile */

/* Fix only the hero section on mobile */
@media (max-width: 575.98px) {
    .stemigo-about-hero {
        padding: 16px 0;
        overflow: visible;
    }

    .stemigo-hero-image {
        height: auto;
        min-height: 0;
        padding: 24px 18px;
        /* Soft white overlay so text stays readable over the photo */
        background:
            linear-gradient(180deg,
                rgba(255, 255, 255, .92) 0%,
                rgba(255, 255, 255, .85) 60%,
                rgba(255, 255, 255, .55) 100%),
            url("../img/aboutheader.png");
        background-position: center;
        background-size: cover;
    }

    .stemigo-hero-image>.row>.col-lg-6:last-child {
        display: none;
    }

    .stemigo-hero-image>.row>.col-lg-6:first-child {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

    .stemigo-about-hero h1 {
        font-size: 27px;
        line-height: 1.25;
        overflow-wrap: break-word;
    }

    .stemigo-about-hero p {
        font-size: 14px;
        line-height: 1.6;
    }

    .stemigo-hero-features {
        flex-wrap: wrap;
        gap: 10px;
    }

    /* Each feature becomes a solid pill so it stays readable */
    .stemigo-hero-features span {
        background: #fff;
        border-radius: 999px;
        box-shadow: 0 2px 8px rgba(10, 29, 73, .12);
        font-size: 12px;
        font-weight: 600;
        padding: 5px 12px 5px 6px;
    }

    /* Journey image: portrait mobile version 750 x 1500 */
    .stemigo-roadmap h2 {
        font-size: 24px;
    }

    .stemigo-journey-figure {
        aspect-ratio: 750 / 1500;
        border-radius: 12px;
    }

    /* Mission / Vision */
    .stemigo-mv-card {
        align-items: flex-start;
        gap: 14px;
        padding: 16px;
    }

    .stemigo-mv-icon {
        font-size: 22px;
        height: 54px;
        width: 54px;
    }

    .stemigo-mv-card h2,
    .stemigo-promise-text h2 {
        font-size: 18px;
    }

    /* Values */
    .stemigo-values {
        padding: 0;
    }

    .stemigo-values-head h2 {
        font-size: 24px;
    }

    /* Promise */
    .stemigo-promise {
        align-items: flex-start;
        gap: 14px;
        padding: 16px;
    }

    .stemigo-promise-icon {
        font-size: 22px;
        height: 54px;
        width: 54px;
    }

    .stemigo-promise-text {
        flex: 1 1 calc(100% - 70px);
    }
}