/* About page — match testwebsite.truebluemd.com/about */

:root {
    --tb-about-cta-bg: #f4f8ff;
    --tb-about-contact-band-bg: #edf0f9;
}

/* ----- Hero (about.jpeg) ----- */
.hero.section.about {
    min-height: 100vh;
}

    .hero.section.about::before {
        background: var(--hero-bg, url("/media/1qcjpa1n/about.jpeg")) center / cover no-repeat;
    }

/* ----- What We Do ----- */
.tb-about-intro.about {
    padding: 0 0 40px;
}

.tb-about-intro__row {
    margin-top: 70px;
}

.tb-about-intro .about-content h2 {
    font-size: 34px;
    font-weight: 500;
    margin-bottom: 2rem;
    line-height: 1.3;
    color: var(--tb-navy, #112344);
}

.tb-about-intro .about-content p.lead {
    font-size: 1.25rem;
    font-weight: 300;
    color: color-mix(in srgb, var(--default-color, #3c4049), transparent 20%);
    margin-bottom: 0;
    line-height: 1.7;
    font-family: revert !important;
}

.tb-about-intro .image-wrapper .main-image {
    border-radius: 12px;
    width: 100%;
    height: auto;
}

/* ----- Core values ----- */
.core-values-section {
    margin-top: 120px;
}

    .core-values-section h3 {
        font-size: 2.2rem;
        font-weight: 300;
        margin-bottom: 1rem;
        color: var(--tb-navy, #112344);
    }

    .core-values-section .section-description {
        font-size: 1.1rem;
        color: color-mix(in srgb, var(--default-color, #3c4049), transparent 30%);
        margin-bottom: 4rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.7;
        font-family: revert;
        font-weight: 400
    }

    .core-values-section .value-item {
        text-align: center;
        padding: 2.5rem 1.5rem;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        background: #fff;
        border: 1px solid color-mix(in srgb, var(--default-color, #3c4049), transparent 92%);
        border-radius: 16px;
        box-shadow: 0 4px 14px color-mix(in srgb, var(--default-color, #3c4049), transparent 94%);
        transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }

        .core-values-section .value-item:hover {
            transform: translateY(-6px);
            border-color: color-mix(in srgb, #345292, transparent 70%);
            box-shadow: 0 14px 30px color-mix(in srgb, #345292, transparent 85%);
        }

        .core-values-section .value-item .value-icon {
            width: 96px;
            height: 96px;
            border-radius: 50%;
            background: color-mix(in srgb, #345292, transparent 90%);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            transition: all 0.3s ease;
            padding: 1rem;
        }

            .core-values-section .value-item .value-icon img {
                width: 56px;
                height: 56px;
                object-fit: contain;
            }

        .core-values-section .value-item h4 {
            font-size: 1.2rem;
            font-weight: 500;
            color: var(--tb-navy, #112344);
            margin: 0;
            line-height: 1.4;
        }

        .core-values-section .value-item:hover .value-icon {
            background: color-mix(in srgb, #345292, transparent 80%);
            transform: scale(1.08);
        }

/* ----- Impact ----- */
.impact-section {
    margin-top: 80px;
    padding-bottom: 40px;
}

    .impact-section h3 {
        font-size: 2.2rem;
        font-weight: 300;
        margin-bottom: 1rem;
        color: var(--tb-navy, #112344);
    }

    .impact-section .section-description {
        font-size: 1.1rem;
        color: color-mix(in srgb, var(--default-color, #3c4049), transparent 30%);
        margin-bottom: 3rem;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.7;
        font-family: revert !important;
        font-weight: 400 !important
    }

    .impact-section .impact-stat {
        text-align: center;
        padding: 2rem 1rem;
        height: 100%;
        background: #fff;
        border: 1px solid color-mix(in srgb, var(--default-color, #3c4049), transparent 92%);
        border-radius: 16px;
        box-shadow: 0 4px 14px color-mix(in srgb, var(--default-color, #3c4049), transparent 94%);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .impact-section .impact-stat:hover {
            transform: translateY(-6px);
            box-shadow: 0 14px 30px color-mix(in srgb, #345292, transparent 85%);
        }

        .impact-section .impact-stat h2 {
            font-size: 2rem;
            font-weight: 700;
            color: #345292;
            margin-bottom: 0.75rem;
            color: #345292 !important
        }

        .impact-section .impact-stat p {
            font-size: 1rem;
            line-height: 1.6;
            color: color-mix(in srgb, var(--default-color, #3c4049), transparent 25%);
            margin: 0;
            text-transform: lowercase;
            font-family: revert;
            font-weight: 400
        }

/* ----- Supporting value-based care + band ----- */
.tb-about-cta.call-to-action {
    padding: 120px 0 100px;
    --background-color: var(--tb-about-cta-bg);
    background-color: var(--tb-about-cta-bg) !important;
}

    .tb-about-cta.call-to-action .hero-content {
        margin-bottom: 120px;
    }

.tb-about-cta .hero-content h1,
body:has(.hero.section) .tb-about-cta .hero-content h1 {
    font-size: 2.25rem;
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 1.25rem;
    color: var(--tb-navy, #112344) !important;
    -webkit-text-fill-color: var(--tb-navy, #112344);
}

.tb-about-cta .hero-content p,
body:has(.hero.section) .tb-about-cta .hero-content p {
    font-family: revert;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.7;
    color: color-mix(in srgb, var(--default-color, #3c4049), transparent 25%);
    margin-bottom: 0;
}

.tb-about-cta .image-container .main-image {
    border-radius: 12px;
    width: 100%;
    height: auto;
}

.tb-about-cta .contact-block {
    background-color: var(--tb-about-contact-band-bg);
    padding: 60px 40px;
    border-radius: 4px;
    margin-top: 0;
}

    .tb-about-cta .contact-block .contact-content h2 {
        font-size: 2rem;
        font-weight: 300;
        margin-bottom: 20px;
        color: var(--tb-navy, #112344);
    }

    .tb-about-cta .contact-block .contact-content p {
        font-family: revert;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.7;
        color: color-mix(in srgb, var(--default-color, #3c4049), transparent 25%);
        margin-bottom: 0;
    }

    .tb-about-cta .contact-block .contact-actions {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        height: 100%;
    }

    .tb-about-cta .contact-block .emergency-call {
        display: inline-flex;
        align-items: center;
        background-color: #345292;
        color: #fff;
        padding: 15px 25px;
        border-radius: 4px;
        text-decoration: none;
        font-weight: 500;
        transition: background-color 0.3s ease, transform 0.3s ease;
    }

        .tb-about-cta .contact-block .emergency-call:hover {
            background-color: color-mix(in srgb, #345292, black 12%);
            color: #fff;
            transform: translateY(-2px);
        }

@media (max-width: 992px) {
    .core-values-section {
        margin-top: 80px;
    }

    .impact-section {
        margin-top: 60px;
    }

    .tb-about-cta .contact-block .contact-actions {
        align-items: center;
        margin-top: 24px;
    }

    .tb-about-cta .contact-block .contact-content p {
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .tb-about-intro__row {
        margin-top: 40px;
    }
}

/* CMS banner override; default comes from theme .bg3 .breadcam_area */
.bg3 .breadcam_area {
    background-image: var(--about-banner-bg, url("/theme/centrotheme/img/About-Us%202.png"));
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.about-chairman-row {
    margin-top: 100px;
}

.about-chairman-signature {
    margin-bottom: 20px;
    margin-top: 15px;
}

    .about-chairman-signature img {
        max-width: 220px;
        height: auto;
    }

.about-history {
    margin-bottom: 70px;
    margin-top: 70px;
}

.about-timeline-scroll {
    display: inline-block;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
}

.about-certificates-title {
    margin-top: 70px;
}

.about-awards-row {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

    .about-awards-row img {
        max-width: 100%;
        height: auto;
    }

.about-author-role {
    margin-top: 10px;
}

.testmonial_area {
    background-image: var(--testimonials-bg);
}

.logo-slid .slide-track img {
    animation-play-state: paused;
}

.logo-slid .slide-track.is-in-view img {
    animation-play-state: running;
}

/*
  Partners after testimonials: Home gets 100px via .Ai { margin-bottom: 100px }.
  Staging About uses mt-30 (too tight under the blue band) — match Home / other About sections.
*/
.about-partners {
    margin-top: 100px;
    margin-bottom: 40px;
}

    .about-partners .section_title {
        margin-top: 0;
        padding-top: 0;
    }

@media (max-width: 767px) {
    .about-partners {
        margin-top: 60px;
        margin-bottom: 30px;
    }
}

#form-response-message {
    margin-top: 15px;
    font-weight: bold;
    display: none;
}

    #form-response-message.is-visible {
        display: block;
    }

    #form-response-message.is-success {
        color: #28a745;
    }

    #form-response-message.is-error {
        color: #dc3545;
    }

@media (max-width: 767px) {
    .about-chairman-row {
        margin-top: 50px;
    }

    .about-history {
        margin-top: 40px;
        margin-bottom: 40px;
    }
}
