/* =========================================================
   PREMIUM ABOUT PAGE SECTIONS
========================================================= */

.about-inner-hero,
.about-profile-section,
.about-training-section {
    --about-dark: #082f2e;
    --about-dark-deep: #042322;
    --about-green: #0d5350;
    --about-gold: #c99746;
    --about-gold-light: #f0d59c;
    --about-heading: #112b29;
    --about-text: #596a68;
    --about-muted: #788683;
    --about-light: #f3f7f6;
    --about-white: #ffffff;
    --about-border: rgba(8, 47, 46, 0.12);
    --about-shadow: 0 25px 60px rgba(7, 48, 46, 0.1);
    --about-card-shadow: 0 14px 35px rgba(7, 48, 46, 0.07);

    box-sizing: border-box;
}

.about-inner-hero *,
.about-profile-section *,
.about-training-section * {
    box-sizing: border-box;
}

.about-page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 18px;
    color: var(--about-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-page-eyebrow::before {
    width: 38px;
    height: 1px;
    content: "";
    background: currentColor;
}

.about-small-label {
    display: block;
    margin-bottom: 8px;
    color: var(--about-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}


/* =========================================================
   INNER HERO
========================================================= */

.about-inner-hero {
    position: relative;
    padding: 105px 0 95px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(201, 151, 70, 0.2),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            var(--about-dark-deep) 0%,
            var(--about-dark) 52%,
            var(--about-green) 100%
        );
}

.about-inner-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );
    background-size: 55px 55px;
}

.about-inner-hero::after {
    position: absolute;
    top: -230px;
    right: -180px;
    width: 600px;
    height: 600px;
    content: "";
    border: 90px solid rgba(255, 255, 255, 0.035);
    border-radius: 50%;
}

.about-inner-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.about-inner-hero .about-page-eyebrow {
    color: var(--about-gold-light);
}

.about-inner-hero h1 {
    max-width: 980px;
    margin: 0 0 28px;
    color: var(--about-white);
    font-size: clamp(40px, 5vw, 66px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -2px;
}

.about-inner-hero p {
    max-width: 980px;
    margin: 0 0 15px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 17px;
    line-height: 1.8;
}

.about-inner-hero p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   PROFILE SECTION
========================================================= */

.about-profile-section {
    position: relative;
    padding: 110px 0;
    background: var(--about-white);
}

.about-profile-grid {
    display: grid;
    grid-template-columns: 385px minmax(0, 1fr);
    gap: 75px;
    align-items: start;
}

.about-credentials-panel {
    position: sticky;
    top: 30px;
    overflow: hidden;
    border: 1px solid var(--about-border);
    border-radius: 24px;
    background: var(--about-white);
    box-shadow: var(--about-shadow);
}

.about-doctor-photo {
    position: relative;
    display: flex;
    min-height: 390px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        linear-gradient(
            160deg,
            rgba(13, 83, 80, 0.95),
            rgba(4, 35, 34, 0.98)
        );
}

.about-doctor-photo::before {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 260px;
    height: 260px;
    content: "";
    border: 45px solid rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.about-doctor-photo::after {
    position: absolute;
    right: 25px;
    bottom: 25px;
    left: 25px;
    height: 1px;
    content: "";
    background: linear-gradient(
        90deg,
        transparent,
        rgba(240, 213, 156, 0.7),
        transparent
    );
}

.about-doctor-photo span {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-doctor-photo img {
    display: block;
    width: 100%;
    height: 390px;
    object-fit: cover;
    object-position: center top;
}

.about-credentials-content {
    padding: 32px;
}

.about-credentials-content h2 {
    margin: 0 0 24px;
    color: var(--about-heading);
    font-size: 30px;
    line-height: 1.2;
}

.about-credentials-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-credentials-list li {
    position: relative;
    padding: 0 0 18px 35px;
    border-bottom: 1px solid var(--about-border);
    color: var(--about-text);
    font-size: 14px;
    line-height: 1.65;
}

.about-credentials-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.about-credentials-list li::before {
    position: absolute;
    top: 1px;
    left: 0;
    display: flex;
    width: 23px;
    height: 23px;
    align-items: center;
    justify-content: center;
    content: "✓";
    border: 1px solid rgba(201, 151, 70, 0.42);
    border-radius: 50%;
    background: rgba(201, 151, 70, 0.1);
    color: #a67527;
    font-size: 10px;
    font-weight: 800;
}

.about-specialist-content {
    padding-top: 8px;
}

.about-specialist-content > h2 {
    max-width: 800px;
    margin: 0 0 24px;
    color: var(--about-heading);
    font-size: clamp(34px, 4vw, 51px);
    line-height: 1.16;
    letter-spacing: -1.5px;
}

.about-specialist-content > p {
    max-width: 850px;
    margin: 0 0 17px;
    color: var(--about-text);
    font-size: 16px;
    line-height: 1.8;
}

.about-specialist-content > p:first-of-type {
    color: var(--about-heading);
    font-size: 18px;
}

.about-information-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 22px;
    margin-top: 40px;
}

.about-information-card {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border: 1px solid var(--about-border);
    border-radius: 22px;
    background: var(--about-light);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.about-information-card:hover {
    transform: translateY(-7px);
    border-color: rgba(201, 151, 70, 0.4);
    box-shadow: var(--about-card-shadow);
}

.about-card-number {
    position: absolute;
    top: 20px;
    right: 24px;
    color: rgba(8, 47, 46, 0.09);
    font-size: 42px;
    font-weight: 800;
}

.about-information-card h3 {
    position: relative;
    margin: 0 0 22px;
    color: var(--about-heading);
    font-size: 24px;
    line-height: 1.25;
}

.about-expertise-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.about-expertise-list p {
    position: relative;
    margin: 0;
    padding: 15px 0 15px 25px;
    border-bottom: 1px solid var(--about-border);
    color: var(--about-text);
    font-size: 14px;
    line-height: 1.7;
}

.about-expertise-list p:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.about-expertise-list p::before {
    position: absolute;
    top: 23px;
    left: 0;
    width: 8px;
    height: 8px;
    content: "";
    border-radius: 50%;
    background: var(--about-gold);
    box-shadow: 0 0 0 5px rgba(201, 151, 70, 0.12);
}

.about-expertise-list strong {
    color: var(--about-heading);
}

.about-philosophy-card {
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(201, 151, 70, 0.18),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            var(--about-dark-deep),
            var(--about-green)
        );
}

.about-philosophy-card .about-card-number {
    color: rgba(255, 255, 255, 0.08);
}

.about-philosophy-card h3 {
    color: var(--about-white);
}

.about-philosophy-card > p {
    margin: 0 0 25px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.8;
}

.about-philosophy-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.about-philosophy-points span {
    display: inline-flex;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--about-gold-light);
    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   TRAINING SECTION
========================================================= */

.about-training-section {
    position: relative;
    padding: 110px 0;
    background:
        radial-gradient(
            circle at 5% 5%,
            rgba(201, 151, 70, 0.1),
            transparent 25%
        ),
        var(--about-light);
}

.about-section-heading {
    max-width: 720px;
    margin: 0 auto 55px;
    text-align: center;
}

.about-section-heading .about-page-eyebrow {
    justify-content: center;
}

.about-section-heading .about-page-eyebrow::after {
    width: 38px;
    height: 1px;
    content: "";
    background: currentColor;
}

.about-section-heading h2 {
    margin: 0;
    color: var(--about-heading);
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.17;
    letter-spacing: -1.4px;
}

.about-training-timeline {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
}

.about-timeline-line {
    position: absolute;
    top: 28px;
    bottom: 28px;
    left: 40px;
    width: 2px;
    background: linear-gradient(
        to bottom,
        var(--about-gold),
        rgba(8, 47, 46, 0.14)
    );
}

.about-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 25px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.about-timeline-item:last-child {
    margin-bottom: 0;
}

.about-timeline-number {
    position: relative;
    z-index: 2;
    display: flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    margin-left: 13px;
    border: 7px solid var(--about-light);
    border-radius: 50%;
    background: var(--about-dark);
    color: var(--about-white);
    box-shadow: 0 8px 18px rgba(8, 47, 46, 0.16);
    font-size: 11px;
    font-weight: 700;
}

.about-timeline-card {
    position: relative;
    padding: 27px 30px;
    border: 1px solid var(--about-border);
    border-radius: 18px;
    background: var(--about-white);
    box-shadow: 0 8px 24px rgba(8, 47, 46, 0.04);
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.about-timeline-card::before {
    position: absolute;
    top: 22px;
    left: -9px;
    width: 16px;
    height: 16px;
    content: "";
    border-bottom: 1px solid var(--about-border);
    border-left: 1px solid var(--about-border);
    background: var(--about-white);
    transform: rotate(45deg);
}

.about-timeline-item:hover .about-timeline-card {
    transform: translateX(7px);
    border-color: rgba(201, 151, 70, 0.42);
    box-shadow: var(--about-card-shadow);
}

.about-timeline-label {
    display: block;
    margin-bottom: 7px;
    color: var(--about-gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.about-timeline-card strong {
    display: block;
    margin-bottom: 7px;
    color: var(--about-heading);
    font-size: 20px;
    line-height: 1.45;
}

.about-timeline-card p {
    margin: 0;
    color: var(--about-muted);
    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
    .about-profile-grid {
        grid-template-columns: 340px minmax(0, 1fr);
        gap: 45px;
    }

    .about-information-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    .about-inner-hero {
        padding: 85px 0;
    }

    .about-profile-section,
    .about-training-section {
        padding: 85px 0;
    }

    .about-profile-grid {
        grid-template-columns: 1fr;
    }

    .about-credentials-panel {
        position: relative;
        top: auto;
        display: grid;
        grid-template-columns: 300px minmax(0, 1fr);
    }

    .about-doctor-photo,
    .about-doctor-photo img {
        min-height: 100%;
        height: 100%;
    }

    .about-information-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

@media (max-width: 767px) {
    .about-inner-hero {
        padding: 65px 0;
    }

    .about-inner-hero h1 {
        font-size: 40px;
        letter-spacing: -1.2px;
    }

    .about-inner-hero p {
        font-size: 15px;
    }

    .about-profile-section,
    .about-training-section {
        padding: 70px 0;
    }

    .about-credentials-panel {
        display: block;
    }

    .about-doctor-photo {
        min-height: 420px;
    }

    .about-doctor-photo img {
        height: 420px;
    }

    .about-specialist-content > h2,
    .about-section-heading h2 {
        font-size: 34px;
    }

    .about-information-grid {
        grid-template-columns: 1fr;
    }

    .about-section-heading {
        margin-bottom: 40px;
        text-align: left;
    }

    .about-section-heading .about-page-eyebrow {
        justify-content: flex-start;
    }

    .about-section-heading .about-page-eyebrow::after {
        display: none;
    }

    .about-timeline-line {
        left: 27px;
    }

    .about-timeline-item {
        grid-template-columns: 55px minmax(0, 1fr);
        gap: 15px;
    }

    .about-timeline-number {
        width: 46px;
        height: 46px;
        margin-left: 4px;
        border-width: 6px;
    }

    .about-timeline-card {
        padding: 23px 21px;
    }
}

@media (max-width: 575px) {
    .about-inner-hero h1 {
        font-size: 34px;
    }

    .about-page-eyebrow {
        font-size: 10px;
        letter-spacing: 1.4px;
    }

    .about-doctor-photo {
        min-height: 360px;
    }

    .about-doctor-photo img {
        height: 360px;
    }

    .about-credentials-content,
    .about-information-card {
        padding: 25px 21px;
    }

    .about-specialist-content > h2,
    .about-section-heading h2 {
        font-size: 29px;
    }

    .about-specialist-content > p:first-of-type {
        font-size: 16px;
    }

    .about-timeline-item {
        grid-template-columns: 43px minmax(0, 1fr);
        gap: 10px;
    }

    .about-timeline-line {
        left: 21px;
    }

    .about-timeline-number {
        width: 42px;
        height: 42px;
        margin-left: 0;
        font-size: 9px;
    }

    .about-timeline-card {
        padding: 20px 17px;
    }

    .about-timeline-card::before {
        display: none;
    }

    .about-timeline-card strong {
        font-size: 17px;
    }
}