/* =========================================================
   ANNAI THERESA HOSPITAL
   ABOUT US PAGE
   PREMIUM CLASSIC DESIGN
========================================================= */


/* =========================================================
   ROOT / THEME
========================================================= */

:root {

    --green: #00665d;
    --green-dark: #004f49;
    --green-deep: #003f3a;

    --green-soft: #e6f2ef;

    --cream: #f7f3eb;
    --cream-soft: #fbf9f4;

    --blue: #123957;
    --blue-dark: #0c304c;

    --text: #193c4f;
    --muted: #667a80;

    --white: #ffffff;

    --border: #dce7e4;

    --shadow:
        0 15px 45px rgba(18, 57, 63, 0.09);
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    background: #ffffff;

    color: var(--text);

    font-family:
        "DM Sans",
        sans-serif;

    overflow-x: hidden;
}


img {
    display: block;
    max-width: 100%;
}


a {
    color: inherit;
}


/* =========================================================
   MAIN
========================================================= */

.about-page {
    width: 100%;
}


/* =========================================================
   COMMON SECTION
========================================================= */

.section-space {

    width:
        min(
            1240px,
            calc(100% - 80px)
        );

    margin: auto;

    padding:
        72px 0;
}


.section-label {

    color: var(--green);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 3px;

    margin-bottom: 9px;
}


h1,
h2 {

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-weight: 600;
}


h2 {

    color: var(--blue);

    font-size:
        clamp(
            34px,
            3.4vw,
            50px
        );

    line-height: 1.05;
}


h2 em {

    color: var(--green);

    font-style: italic;
}


/* =========================================================
   HERO
========================================================= */

.about-hero {

    position: relative;

    width: 100%;

    min-height: 530px;

    overflow: hidden;

    background: #dfeae7;
}


/* HERO IMAGE */

.about-hero-image {

    position: absolute;

    inset: 0;
}


.about-hero-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(232, 240, 237, .96) 0%,
            rgba(232, 240, 237, .88) 25%,
            rgba(232, 240, 237, .45) 48%,
            rgba(232, 240, 237, .05) 72%,
            rgba(0, 50, 47, .05) 100%
        );
}


.about-hero-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;
}


/* =========================================================
   HERO FLOATING CARD
========================================================= */

.hero-overlay-card {

    position: relative;

    z-index: 2;

    width:
        min(
            580px,
            calc(100% - 80px)
        );

    margin-left:
        max(
            40px,
            calc(
                (100% - 1240px) / 2
            )
        );

    margin-top: 35px;

    padding: 42px 40px 35px;

    background:
        rgba(
            255,
            255,
            255,
            .96
        );

    border-radius: 28px;

    box-shadow:
        0 20px 50px
        rgba(
            10,
            48,
            55,
            .13
        );

    animation:
        heroCardIn .8s ease both;
}


@keyframes heroCardIn {

    from {

        opacity: 0;

        transform:
            translateY(25px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }
}


.hero-overlay-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 70px;

    height: 5px;

    background: var(--green);

    border-radius:
        0 0 10px 0;
}


.hero-eyebrow {

    color: var(--green);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 2.8px;

    margin-bottom: 12px;
}


.hero-overlay-card h1 {

    color: var(--blue);

    font-size:
        clamp(
            42px,
            4.4vw,
            58px
        );

    line-height: 1.02;

    letter-spacing: -1.5px;

    margin-bottom: 17px;
}


.hero-overlay-card h1 em {

    color: var(--green);

    font-style: italic;
}


.hero-overlay-card > p {

    color: #536d75;

    font-size: 13px;

    line-height: 1.7;

    max-width: 490px;

    margin-bottom: 24px;
}


/* =========================================================
   HERO STATS
========================================================= */

.hero-stats {

    display: flex;

    margin-bottom: 25px;
}


.hero-stat {

    display: flex;

    align-items: center;

    gap: 9px;

    padding:
        0 18px;

    border-right:
        1px solid #d7e0dd;
}


.hero-stat:first-child {
    padding-left: 0;
}


.hero-stat:last-child {
    border-right: 0;
}


.hero-stat i {

    color: var(--green);

    font-size: 22px;
}


.hero-stat strong {

    display: block;

    color: var(--blue);

    font-size: 19px;

    line-height: 1;
}


.hero-stat span {

    display: block;

    color: #718186;

    font-size: 8px;

    margin-top: 4px;
}


/* =========================================================
   BUTTONS
========================================================= */

.primary-button,
.outline-button,
.cta-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    text-decoration: none;

    font-size: 10px;

    font-weight: 700;

    transition:
        .25s ease;
}


.primary-button {

    padding:
        12px 18px;

    border-radius: 8px;

    color: #fff;

    background:
        var(--green);
}


.primary-button:hover {

    background:
        var(--green-dark);

    transform:
        translateY(-2px);
}


.primary-button i,
.outline-button i,
.cta-button i {

    transition:
        transform .25s ease;
}


.primary-button:hover i,
.outline-button:hover i,
.cta-button:hover i {

    transform:
        translateX(4px);
}


/* =========================================================
   HERO TRUST
========================================================= */

.hero-trust {

    position: absolute;

    left: 225px;

    bottom: 38px;

    display: flex;

    align-items: center;

    gap: 12px;

    color: var(--green);

    font-size: 7px;

    font-weight: 800;

    letter-spacing: 2px;
}


.trust-line {

    width: 35px;

    height: 1px;

    background:
        var(--green);
}


/* =========================================================
   HERO SIDE MESSAGE
========================================================= */

.hero-side-message {

    position: absolute;

    right: 45px;

    bottom: 35px;

    z-index: 3;

    padding:
        14px 20px;

    border-radius:
        14px 0 0 14px;

    background:
        rgba(
            0,
            102,
            93,
            .85
        );

    color: #ffffff;

    font-family:
        "Playfair Display",
        serif;

    font-size: 15px;

    line-height: 1.25;
}


/* =========================================================
   OUR STORY
========================================================= */

.story-section {

    display: grid;

    grid-template-columns:
        .92fr
        1.08fr;

    gap: 65px;

    align-items: center;
}


.story-content {

    padding-left: 4px;
}


.story-content h2 {

    margin-bottom: 20px;
}


.story-content p {

    color: #5d7178;

    font-size: 12px;

    line-height: 1.75;

    margin-bottom: 13px;

    max-width: 520px;
}


.outline-button {

    color:
        var(--green);

    border:
        1px solid var(--green);

    padding:
        11px 17px;

    border-radius: 8px;

    margin-top: 8px;
}


.outline-button:hover {

    color: #ffffff;

    background:
        var(--green);

    transform:
        translateY(-2px);
}


/* =========================================================
   STORY IMAGE
========================================================= */

.story-image-wrap {

    position: relative;

    min-height: 370px;

    overflow: hidden;

    border-radius:
        85px 0 0 85px;
}


.story-image-wrap img {

    width: 100%;

    height: 370px;

    object-fit: cover;

    transition:
        transform .7s ease;
}


.story-image-wrap:hover img {

    transform:
        scale(1.03);
}


.story-image-overlay {

    position: absolute;

    right: 0;

    top: 0;

    width: 175px;

    height: 100%;

    display: flex;

    align-items: center;

    padding: 30px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(0, 62, 59, .82)
        );

    color: #ffffff;

    font-family:
        "Playfair Display",
        serif;

    font-size: 18px;

    line-height: 1.25;
}


.story-image-bottom {

    position: absolute;

    left: 28px;

    bottom: 18px;

    color: #ffffff;

    font-size: 7px;

    font-weight: 800;

    letter-spacing: 2px;
}


/* =========================================================
   FOUNDER COMPACT STRIP
========================================================= */

.founder-strip {

    position: relative;

    width:
        min(
            1240px,
            calc(100% - 80px)
        );

    margin:
        0 auto 15px;

    padding:
        34px 45px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    overflow: hidden;

    border-radius:
        28px;

    background:
        var(--green);

    color: #ffffff;
}


.founder-content {

    max-width: 850px;
}


.founder-label {

    color: #b8ddd7;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 3px;

    margin-bottom: 7px;
}


.founder-content h2 {

    color: #ffffff;

    font-size: 30px;

    margin-bottom: 9px;
}


.founder-content h2 em {

    color: #c9e6e0;

    font-style: italic;
}


.founder-content p {

    color: #d5e8e5;

    font-size: 11px;

    line-height: 1.65;

    max-width: 760px;

    margin-bottom: 16px;
}


.founder-name {

    display: flex;

    align-items: center;

    gap: 10px;
}


.founder-avatar {

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        rgba(
            255,
            255,
            255,
            .15
        );

    color: #ffffff;

    font-size: 17px;
}


.founder-name strong {

    display: block;

    color: #ffffff;

    font-size: 9px;
}


.founder-name span {

    display: block;

    color: #b9d8d4;

    font-size: 8px;

    margin-top: 3px;
}


.founder-mark {

    width: 90px;

    height: 90px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .2
        );

    border-radius: 50%;

    color:
        rgba(
            255,
            255,
            255,
            .35
        );

    font-size: 34px;
}


/* =========================================================
   DOCTORS
========================================================= */

.doctors-section {

    padding-bottom: 65px;
}


.doctors-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    margin-bottom: 28px;
}


.doctors-heading h2 {

    margin-bottom: 8px;
}


.doctors-heading p {

    max-width: 630px;

    color: #64777d;

    font-size: 10px;

    line-height: 1.6;
}


.doctor-view-link {

    color:
        var(--green);

    font-size: 9px;

    font-weight: 700;

    text-decoration: none;

    padding-bottom: 9px;
}


.doctor-view-link i {

    margin-left: 7px;
}


/* =========================================================
   DOCTOR GRID
========================================================= */

.doctor-grid {

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 13px;
}


.doctor-card {

    overflow: hidden;

    background:
        #eef4f3;

    border-radius: 10px;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


.doctor-card:hover {

    transform:
        translateY(-7px);

    box-shadow:
        0 18px 35px
        rgba(
            22,
            65,
            67,
            .12
        );
}


.doctor-image {

    height: 190px;

    overflow: hidden;

    display: flex;

    align-items: flex-end;

    justify-content: center;
}


.doctor-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;
}


.doctor-info {

    margin:
        -1px 7px 7px;

    padding:
        13px 11px;

    border-radius: 8px;

    background: #ffffff;
}


.doctor-info h3 {

    color: var(--blue);

    font-size: 11px;

    margin-bottom: 4px;
}


.doctor-degree {

    display: block;

    color: #657980;

    font-size: 7.5px;

    margin-bottom: 8px;
}


.doctor-info strong {

    display: block;

    color: #183d53;

    font-size: 9px;

    line-height: 1.3;

    margin-bottom: 7px;
}


.doctor-info p {

    color: #6b7b80;

    font-size: 8px;

    line-height: 1.45;
}


.doctor-info small {

    display: block;

    color: #718187;

    font-size: 7px;

    margin-top: 5px;
}


/* =========================================================
   WHAT SETS US APART
========================================================= */

.apart-section {

    padding-top: 15px;

    padding-bottom: 75px;
}


.apart-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    margin-bottom: 25px;
}


.apart-note {

    color: #77908e;

    font-size: 9px;

    line-height: 1.5;

    padding-bottom: 8px;

    text-align: right;
}


.apart-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 14px;
}


.apart-card {

    overflow: hidden;

    border:
        1px solid #dce6e3;

    border-radius: 12px;

    background: #ffffff;

    box-shadow:
        0 8px 25px
        rgba(
            22,
            65,
            67,
            .07
        );

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


.apart-card:hover {

    transform:
        translateY(-7px);

    box-shadow:
        0 18px 35px
        rgba(
            22,
            65,
            67,
            .12
        );
}


.apart-image {

    height: 145px;

    overflow: hidden;
}


.apart-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform .5s ease;
}


.apart-card:hover
.apart-image img {

    transform:
        scale(1.06);
}


.apart-body {

    position: relative;

    padding:
        29px 18px 19px;
}


.apart-icon {

    position: absolute;

    top: -25px;

    left: 17px;

    width: 45px;

    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #ffffff;

    color:
        var(--green);

    box-shadow:
        0 5px 18px
        rgba(
            0,
            50,
            50,
            .12
        );
}


.apart-body h3 {

    color: var(--blue);

    font-size: 12px;

    margin-bottom: 7px;
}


.apart-body p {

    color: #65777c;

    font-size: 9px;

    line-height: 1.55;
}


/* =========================================================
   OUR PROMISE
========================================================= */

.about-cta {

    min-height: 110px;

    display: flex;

    align-items: center;

    gap: 20px;

    padding:
        18px
        max(
            40px,
            calc(
                (100% - 1240px) / 2
            )
        );

    background:
        #E5F2EF;

    color: #ffffff;
}


.cta-icon {

    width: 65px;

    height: 65px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #ffffff;

    color:
        var(--green);

    font-size: 24px;
}


.cta-text {

    flex: 1;
}


.cta-label {

    color: var(--green);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 3px;

    margin-bottom: 4px;
}


.cta-text h2 {

    color: var(--green);

    font-size: 26px;

    margin-bottom: 3px;
}


.cta-text p {

    color: var(--green);

    font-size: 9px;
}


.cta-button {

    flex-shrink: 0;

    padding:
        12px 20px;

    border-radius: 25px;

    background: #ffffff;

    color:
        var(--green);
}


.cta-button:hover {

    transform:
        translateY(-2px);
        color:
        #ffffff;

    background:
        var(--green);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .section-space {

        width:
            calc(100% - 50px);
    }


    .hero-overlay-card {

        margin-left: 25px;
    }


    .founder-strip {

        width:
            calc(100% - 50px);
    }


    .apart-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }


    .doctor-grid {

        grid-template-columns:
            repeat(3, 1fr);
    }


    .doctor-card:nth-child(4),
    .doctor-card:nth-child(5) {

        display: none;
    }
}


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 850px) {

    .about-hero {

        min-height: 700px;

        display: flex;

        align-items: flex-end;
    }


    .about-hero-image {

        height: 100%;
    }


    .about-hero-image::after {

        background:
            linear-gradient(
                180deg,
                rgba(230,239,236,.05) 15%,
                rgba(230,239,236,.25) 45%,
                rgba(230,239,236,.92) 72%,
                rgba(230,239,236,1) 100%
            );
    }


    .hero-overlay-card {

        width:
            calc(100% - 40px);

        margin:
            0 20px 25px;

        border-radius: 22px;
    }


    .hero-side-message {

        display: none;
    }


    .story-section {

        grid-template-columns: 1fr;

        gap: 35px;
    }


    .story-image-wrap {

        border-radius:
            50px;
    }


    .founder-strip {

        width:
            calc(100% - 40px);

        padding:
            30px;

    }


    .founder-mark {

        display: none;
    }


    .doctors-heading {

        display: block;
    }


    .doctor-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }


    .doctor-card:nth-child(4),
    .doctor-card:nth-child(5) {

        display: block;
    }


    .about-cta {

        padding:
            22px 25px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .section-space {

        width:
            calc(100% - 30px);

        padding:
            50px 0;
    }


    .about-hero {

        min-height: 640px;
    }


    .hero-overlay-card {

        padding:
            30px 23px 27px;
    }


    .hero-overlay-card h1 {

        font-size: 39px;
    }


    .hero-overlay-card > p {

        font-size: 11px;
    }


    .hero-stats {

        flex-wrap: wrap;

        gap: 13px 0;
    }


    .hero-stat {

        padding:
            0 11px;
    }


    .hero-stat:first-child {

        padding-left: 0;
    }


    .hero-stat i {

        font-size: 18px;
    }


    .hero-stat strong {

        font-size: 16px;
    }


    .hero-stat span {

        font-size: 7px;
    }


    .hero-trust {

        display: none;
    }


    .story-image-wrap {

        min-height: 300px;

        border-radius:
            35px;
    }


    .story-image-wrap img {

        height: 300px;
    }


    .story-image-overlay {

        width: 130px;

        font-size: 14px;

        padding: 20px;
    }


    .founder-strip {

        width:
            calc(100% - 30px);

        padding:
            28px 22px;

        border-radius:
            22px;
    }


    .founder-content h2 {

        font-size: 27px;
    }


    .founder-content p {

        font-size: 10px;
    }


    .doctor-view-link {

        display: inline-block;

        margin-top: 15px;
    }


    .doctor-grid {

        grid-template-columns: 1fr;
    }


    .doctor-image {

        height: 250px;
    }


    .apart-heading {

        display: block;
    }


    .apart-note {

        margin-top: 8px;

        text-align: left;
    }


    .apart-grid {

        grid-template-columns: 1fr;
    }


    .apart-image {

        height: 190px;
    }


    .about-cta {

        flex-wrap: wrap;

        padding:
            28px 20px;
    }


    .cta-icon {

        width: 55px;

        height: 55px;
    }


    .cta-text {

        min-width:
            calc(100% - 80px);
    }


    .cta-button {

        width: 100%;

        margin-top: 5px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

    .hero-overlay-card h1 {

        font-size: 34px;
    }


    .hero-stat {

        width: 50%;
    }


    .hero-stat:nth-child(2) {

        border-right: 0;
    }
}
/* FIX: Reduce extra space in mobile About Hero */
@media (max-width: 850px) {

    .about-hero {
        margin-top: 0 !important;
        padding-top: 0 !important;
        min-height: auto !important;
    }

    .about-hero-image {
        height: 100% !important;
        min-height: 0 !important;
        margin-top: 0 !important;
    }

    .about-hero-content {
        margin-top: 0 !important;
    }

}