/* =========================================================
   ABOUT PAGE
   DR M A SUBOOR SHAHEROSE
========================================================= */

:root {
    --about-primary: #171d52;
    --about-primary-dark: #11163f;

    --about-secondary: #5d238d;
    --about-purple: #7139a6;

    --about-light-purple: #f3eef8;

    --about-white: #ffffff;
    --about-light-bg: #f8f8fb;

    --about-text: #34394b;
    --about-muted: #6f7482;

    --about-border: #e6e4eb;

    --about-shadow:
        0 10px 30px rgba(23, 29, 82, 0.08);

    --about-shadow-hover:
        0 17px 38px rgba(23, 29, 82, 0.13);
}


/* =========================================================
   PAGE
========================================================= */

.about-page {
    width: 100%;

    overflow-x: hidden;

    background: #ffffff;

    color: var(--about-text);
}


.about-container {
    width: min(1240px, calc(100% - 48px));

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   SECTIONS
========================================================= */

.about-section {
    position: relative;

    width: 100%;

    padding: 90px 0;
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

.section-tag {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--about-secondary);

    font-size: 13px;
    line-height: 1.4;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.about-page h1 {
    color: var(--about-primary);

    font-size: clamp(38px, 4vw, 54px);

    line-height: 1.14;

    font-weight: 700;

    letter-spacing: -0.5px;
}


.about-page h2 {
    color: var(--about-primary);

    font-size: clamp(34px, 3.5vw, 46px);

    line-height: 1.16;

    font-weight: 700;

    letter-spacing: -0.4px;
}


.about-page h3 {
    color: var(--about-primary);

    font-size: 20px;

    line-height: 1.35;

    font-weight: 700;
}


.about-page p {
    color: var(--about-muted);

    font-size: 16px;

    line-height: 1.75;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
    width: 100%;

    max-width: 900px;

    margin: 0 auto 46px;
}


.centered-heading {
    text-align: center;
}


.centered-heading .section-tag {
    display: block;

    width: fit-content;

    margin-left: auto;
    margin-right: auto;
}


.section-heading h2 {
    margin: 0 0 14px;
}


.section-heading p {
    max-width: 760px;

    margin: 0 auto;

    text-align: center;
}


/* =========================================================
   ABOUT DOCTOR
========================================================= */

.about-doctor-section {
    background: #ffffff;
}


.doctor-profile-grid {
    display: grid;

    grid-template-columns:
        minmax(320px, 430px)
        minmax(0, 1fr);

    align-items: start;

    gap: 72px;
}


/* IMAGE */

.doctor-photo-wrap {
    width: 100%;

    overflow: hidden;

    background: #eef1f6;
}


.doctor-photo {
    display: block;

    width: 100%;

    height: 590px;

    object-fit: cover;

    object-position: center top;
}


/* CONTENT */

.doctor-about-content {
    padding-top: 2px;
}


.doctor-about-content h1 {
    max-width: 800px;

    margin: 0 0 15px;
}


.title-line {
    width: 68px;

    height: 2px;

    margin: 0 0 22px;

    background:
        linear-gradient(
            90deg,
            var(--about-primary),
            var(--about-secondary)
        );
}


.doctor-short-about {
    max-width: 850px;

    margin: 0;

    color: var(--about-muted);

    font-size: 17px !important;

    line-height: 1.82 !important;
}


/* =========================================================
   DESIGNATION
========================================================= */

.doctor-designation {
    min-height: 66px;

    margin-top: 30px;

    padding: 16px 20px;

    display: flex;

    align-items: center;

    gap: 15px;

    background: var(--about-light-bg);

    border-left: 3px solid var(--about-secondary);
}


.doctor-designation i {
    flex: 0 0 auto;

    width: 28px;

    color: var(--about-secondary);

    font-size: 19px;

    text-align: center;
}


.doctor-designation span {
    color: var(--about-primary);

    font-size: 15px;

    font-weight: 700;

    line-height: 1.5;
}


/* =========================================================
   EDUCATION
   ONE TIME ONLY
========================================================= */

.about-education {
    margin-top: 24px;

    padding-top: 4px;

}

.education-heading {
    display: block;

    margin-bottom: 14px;

    color: var(--about-secondary);

    font-size: 13px;

    font-weight: 800;

    line-height: 1.4;

    letter-spacing: 2px;

    text-transform: uppercase;
}


/* EDUCATION ROWS */

.education-list {
    display: grid;

    grid-template-columns: 1fr;

    gap: 10px;
}


.education-row {
    min-height: 62px;

    padding: 14px 17px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    background: var(--about-light-bg);

    border-left:
        3px solid var(--about-secondary);
}


.education-left {
    min-width: 0;

    display: flex;

    align-items: center;

    gap: 14px;
}


.education-left i {
    flex: 0 0 27px;

    width: 27px;

    color: var(--about-secondary);

    font-size: 18px;

    text-align: center;
}


.education-left strong {
    color: var(--about-primary);

    font-size: 14px;

    font-weight: 700;

    line-height: 1.5;
}


.education-period {
    flex: 0 0 auto;

    color: var(--about-muted);

    font-size: 13px;

    white-space: nowrap;
}


/* =========================================================
   EXPERIENCE
========================================================= */

.experience-section {
    background: var(--about-light-bg);
}


.experience-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;

    max-width: 1120px;

    margin: 0 auto;
}


.experience-card {
    position: relative;

    min-height: 190px;

    padding: 28px 26px;

    background: #ffffff;

    border: 1px solid var(--about-border);

    border-radius: 12px;

    box-shadow: var(--about-shadow);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


.experience-card:hover {
    transform: translateY(-4px);

    border-color:
        rgba(113, 57, 166, 0.22);

    box-shadow: var(--about-shadow-hover);
}


.experience-date {
    display: inline-block;

    margin-bottom: 13px;

    color: var(--about-secondary);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 0.7px;
}


.experience-card h3 {
    margin: 0 0 5px;

    color: var(--about-primary);

    font-size: 18px;

    line-height: 1.4;
}


.experience-card h4 {
    margin: 0 0 8px;

    color: var(--about-primary);

    font-size: 13px;

    line-height: 1.45;

    font-weight: 700;
}


.experience-card p {
    margin: 0;

    color: var(--about-muted);

    font-size: 15px;

    line-height: 1.65;
}


/* =========================================================
   PROFESSIONAL JOURNEY
========================================================= */

.professional-journey-section {
    background: #ffffff;
}


.journey-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;
}


.journey-card {
    min-height: 245px;

    padding: 29px 24px;

    background: #ffffff;

    border: 1px solid var(--about-border);

    border-radius: 12px;

    box-shadow: var(--about-shadow);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.journey-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--about-shadow-hover);
}


.journey-icon {
    width: 50px;
    height: 50px;

    margin-bottom: 19px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--about-secondary);

    background: var(--about-light-purple);

    border-radius: 50%;

    font-size: 21px;
}


.journey-card h3 {
    margin: 0 0 10px;

    font-size: 19px;
}


.journey-card p {
    margin: 0;

    font-size: 15px;

    line-height: 1.68;
}


/* =========================================================
   TREATMENT
========================================================= */

.treatment-approaches-section {
    background: #f5f1f9;
}


.treatment-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;
}


.treatment-card {
    min-height: 250px;

    padding: 29px 24px;

    background: #ffffff;

    border: 1px solid var(--about-border);

    border-radius: 12px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.treatment-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--about-shadow-hover);
}


.treatment-icon {
    width: 52px;

    height: 52px;

    margin-bottom: 19px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--about-secondary);

    background: var(--about-light-purple);

    border-radius: 50%;

    font-size: 22px;
}


.treatment-card h3 {
    margin: 0 0 11px;

    font-size: 19px;
}


.treatment-card p {
    margin: 0;

    font-size: 15px;

    line-height: 1.68;
}


/* =========================================================
   MEMBERSHIPS
========================================================= */

.professional-involvement-section {
    background: #ffffff;
}


.membership-grid {
    max-width: 1000px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}


.membership-item {
    min-height: 115px;

    padding: 22px 20px;

    display: flex;

    align-items: center;

    gap: 14px;

    background: var(--about-light-bg);

    border:
        1px solid var(--about-border);

    border-radius: 10px;
}


.membership-item i {
    flex: 0 0 auto;

    color: var(--about-secondary);

    font-size: 24px;
}


.membership-item span {
    color: var(--about-primary);

    font-size: 15px;

    font-weight: 700;

    line-height: 1.55;
}


/* =========================================================
   CTA
========================================================= */

.about-cta {
    width: 100%;

    padding: 68px 0;

    margin: 0;

    background:
        linear-gradient(
            110deg,
            var(--about-primary),
            var(--about-secondary)
        );
}


.about-cta-inner {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;
}


.about-cta-inner > div {
    max-width: 740px;
}


.cta-tag {
    display: inline-block;

    margin-bottom: 9px;

    color: #d9c7ec;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.8px;
}


.about-cta h2 {
    margin: 0 0 11px;

    color: #ffffff;

    font-size: clamp(32px, 3vw, 42px);
}


.about-cta p {
    max-width: 660px;

    margin: 0;

    color: #eee7f5;

    font-size: 16px;
}


.about-cta-button {
    flex: 0 0 auto;

    min-height: 50px;

    padding: 14px 24px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    background: #ffffff;

    color: var(--about-primary);

    border-radius: 7px;

    font-size: 14px;

    font-weight: 800;

    text-decoration: none;
}


.about-cta-button i {
    color: var(--about-secondary);
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1440px) {

    .about-container {
        width:
            min(
                1320px,
                calc(100% - 80px)
            );
    }


    .about-section {
        padding: 100px 0;
    }


    .doctor-profile-grid {
        grid-template-columns:
            minmax(340px, 450px)
            minmax(0, 1fr);

        gap: 82px;
    }


    .doctor-photo {
        height: 610px;
    }


    .doctor-short-about {
        font-size: 18px !important;
    }

}


/* =========================================================
   LAPTOP
========================================================= */

@media (max-width: 1200px) {

    .about-container {
        width:
            min(
                1140px,
                calc(100% - 44px)
            );
    }


    .doctor-profile-grid {
        grid-template-columns:
            minmax(300px, 390px)
            minmax(0, 1fr);

        gap: 48px;
    }


    .doctor-photo {
        height: 540px;
    }


    .journey-grid,
    .treatment-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .about-container {
        width: calc(100% - 40px);
    }


    .about-section {
        padding: 72px 0;
    }


    .doctor-profile-grid {
        grid-template-columns:
            minmax(260px, 330px)
            minmax(0, 1fr);

        gap: 34px;
    }


    .doctor-photo {
        height: 475px;
    }


    .doctor-short-about {
        font-size: 15.5px !important;
    }


    .education-row {
        align-items: flex-start;

        flex-direction: column;

        gap: 5px;
    }


    .education-period {
        padding-left: 41px;

        white-space: normal;
    }


    .experience-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .membership-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .about-container {
        width: calc(100% - 32px);
    }


    .about-section {
        padding: 58px 0;
    }


    .about-page h1 {
        font-size: 31px;
    }


    .about-page h2 {
        font-size: 30px;
    }


    /* ABOUT */

    .doctor-profile-grid {
        grid-template-columns: 1fr;

        gap: 34px;
    }


    .doctor-photo-wrap {
        width: min(100%, 410px);

        margin: 0 auto;
    }


    .doctor-photo {
        height: 480px;
    }


    .doctor-short-about {
        font-size: 16px !important;
    }


    .doctor-designation {
        min-height: auto;

        padding: 14px 15px;
    }


    /* EDUCATION */

    .about-education {
        margin-top: 28px;

        padding-top: 24px;
    }


    .education-row {
        min-height: auto;

        padding: 14px 15px;

        flex-direction: column;

        align-items: flex-start;

        gap: 5px;
    }


    .education-left {
        align-items: flex-start;
    }


    .education-period {
        padding-left: 41px;

        font-size: 12.5px;
    }


    /* EXPERIENCE */

    .experience-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }


    .experience-card {
        min-height: auto;

        padding: 23px 20px;
    }


    /* JOURNEY */

    .journey-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }


    .journey-card {
        min-height: auto;
    }


    /* TREATMENT */

    .treatment-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }


    .treatment-card {
        min-height: auto;
    }


    /* CTA */

    .about-cta-inner {
        flex-direction: column;

        align-items: flex-start;

        gap: 26px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .about-container {
        width: calc(100% - 28px);
    }


    .about-section {
        padding: 50px 0;
    }


    .about-page h1 {
        font-size: 28px;
    }


    .about-page h2 {
        font-size: 28px;
    }


    .doctor-about-content h1 br {
        display: none;
    }


    .doctor-photo {
        height: 420px;
    }


    .education-left strong {
        font-size: 13.5px;
    }


    .experience-card,
    .journey-card,
    .treatment-card {
        padding: 21px 18px;
    }


    .about-cta-button {
        width: 100%;
    }

}