.about-hero {
    position: relative;
    overflow: hidden;
    padding: 125px 0 115px;
    background:
        radial-gradient(circle at 88% 20%,
            rgba(30, 139, 224, 0.08),
            transparent 28%),
        radial-gradient(circle at 75% 90%,
            rgba(202, 108, 215, 0.05),
            transparent 24%),
        var(--off-white);
}

.about-hero::before {
    content: "";
    position: absolute;
    top: -220px;
    right: -160px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(30, 139, 224, 0.13);
    border-radius: 50%;
}

.about-hero::after {
    content: "";
    position: absolute;
    left: -150px;
    bottom: -280px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(202, 108, 215, 0.11);
    border-radius: 50%;
}

.about-hero-container {
    position: relative;
    z-index: 2;
    width: min(90%, 1180px);
    margin: 0 auto;
}

.about-hero-content {
    position: relative;
    max-width: 900px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--blue);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 2.2px;
}

.section-label::before {
    content: "";
    width: 30px;
    height: 2px;
    flex-shrink: 0;
    background-color: var(--red);
}

.about-hero-content h1 {
    max-width: 800px;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: clamp(3rem, 6vw, 5.4rem);
    font-weight: 600;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.doctor-title {
    margin-bottom: 32px;
    color: var(--orange);
    font-size: 1.2rem;
    font-weight: 700;
}

.doctor-intro {
    max-width: 680px;
    color: var(--text-light);
    font-size: 1.02rem;
    line-height: 1.85;
}

.doctor-quick-info {
    position: relative;
    max-width: 1000px;
    margin-top: 55px;
    padding: 32px 0 0;
    border-top: 1px solid rgba(6, 68, 131, 0.12);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.quick-info-item {
    position: relative;
    min-width: 0;
    padding: 0 32px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.quick-info-item:first-child {
    padding-left: 0;
}

.quick-info-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 3px;
    right: 0;
    width: 1px;
    height: 45px;
    background-color: rgba(6, 68, 131, 0.1);
}

.quick-info-item span {
    color: var(--text-light);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.quick-info-item strong {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.5;
}

.about-decoration {
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    pointer-events: none;
}

.decoration-blue {
    width: 18px;
    height: 18px;
    top: 27%;
    right: 13%;
    background-color: var(--blue);
    opacity: 1;
}

.decoration-orange {
    width: 30px;
    height: 30px;
    right: 7%;
    bottom: 25%;
    background-color: var(--orange);
    opacity: 1;
}

.decoration-violet {
    width: 12px;
    height: 12px;
    right: 24%;
    top: 20%;
    background-color: var(--violet);
    opacity: 1;
}

.about-hero .decoration-violet {
    width: 85px;
    height: 85px;
    top: 14%;
    left: auto;
    right: 22%;
    background-color: var(--violet);
}

.about-hero .decoration-blue {
    width: 52px;
    height: 52px;
    top: 34%;
    left: auto;
    right: 11%;
    background-color: var(--blue);
}

.about-hero .decoration-orange {
    width: 125px;
    height: 125px;
    top: auto;
    left: auto;
    right: 5%;
    bottom: 14%;
    background-color: var(--orange);
}

.about-container {
    width: min(90%, 1180px);
    margin: 0 auto;
}

.education-section {
    position: relative;
    overflow: hidden;
    padding: 115px 0 125px;
    background-color: var(--white);
}

.education-section::after {
    content: "01";
    position: absolute;
    top: 30px;
    right: 5%;
    color: rgba(6, 68, 131, 0.035);
    font-size: clamp(8rem, 17vw, 16rem);
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.section-heading {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin-bottom: 58px;
}

.section-heading h2 {
    margin-bottom: 16px;
    color: var(--primary);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.section-heading>p {
    max-width: 630px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.85;
}

.education-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.education-card {
    position: relative;
    min-width: 0;
    min-height: 285px;
    overflow: hidden;
    padding: 34px 30px;
    border: 1px solid rgba(6, 68, 131, 0.09);
    border-radius: 26px;
    display: flex;
    align-items: flex-start;
    gap: 22px;
    background-color: var(--white);
    box-shadow: 0 12px 35px rgba(6, 68, 131, 0.055);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.education-card::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -45px;
    width: 115px;
    height: 115px;
    border-radius: 50%;
    transition:
        transform 0.4s ease,
        opacity 0.4s ease;
}

.blue-card::after {
    background-color: rgba(30, 139, 224, 0.055);
}

.orange-card::after {
    background-color: rgba(254, 114, 1, 0.055);
}

.violet-card::after {
    background-color: rgba(202, 108, 215, 0.055);
}

.education-card:hover {
    transform: translateY(-7px);
    border-color: rgba(6, 68, 131, 0.04);
    box-shadow: 0 25px 55px rgba(6, 68, 131, 0.1);
}

.education-card:hover::after {
    transform: scale(1.3);
}

.education-number {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    transition: transform 0.35s ease;
}

.education-card:hover .education-number {
    transform: rotate(-5deg) scale(1.05);
}

.blue-card .education-number {
    background-color: rgba(30, 139, 224, 0.1);
    color: var(--blue);
}

.orange-card .education-number {
    background-color: rgba(254, 114, 1, 0.1);
    color: var(--orange);
}

.violet-card .education-number {
    background-color: rgba(202, 108, 215, 0.1);
    color: var(--violet);
}

.education-card h3 {
    margin-bottom: 16px;
    color: var(--primary);
    font-size: 1.08rem;
    line-height: 1.4;
}

.education-card p {
    margin-bottom: 6px;
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.65;
}

.education-detail {
    color: var(--text-light);
    font-size: 0.78rem;
    line-height: 1.6;
}

.education-second {
    margin-top: 20px;
}

.career-section {
    position: relative;
    overflow: hidden;
    padding: 120px 0 130px;
    background:
        linear-gradient(180deg,
            var(--off-white) 0%,
            #f3f7fb 100%);
}

.career-section::after {
    content: "02";
    position: absolute;
    top: 35px;
    left: 4%;
    color: rgba(6, 68, 131, 0.035);
    font-size: clamp(8rem, 17vw, 16rem);
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.timeline-heading {
    position: relative;
    z-index: 2;
    margin-bottom: 75px;
}

.career-timeline {
    position: relative;
    z-index: 2;
    max-width: 950px;
    margin: 0 auto;
}

.career-timeline::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 180px;
    width: 2px;
    background:
        linear-gradient(to bottom,
            var(--blue),
            var(--orange),
            var(--violet),
            var(--green),
            var(--blue));
    opacity: 0.35;
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    gap: 72px;
    margin-bottom: 38px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-date {
    padding-top: 27px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-align: right;
    letter-spacing: 0.02em;
}

.timeline-marker {
    position: absolute;
    top: 27px;
    left: 171px;
    z-index: 3;
    width: 20px;
    height: 20px;
    border: 5px solid var(--off-white);
    border-radius: 50%;
    background-color: var(--blue);
    box-shadow: 0 0 0 2px rgba(30, 139, 224, 0.15);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.2);
    box-shadow: 0 0 0 7px rgba(30, 139, 224, 0.08);
}

.orange-marker {
    background-color: var(--orange);
}

.violet-marker {
    background-color: var(--violet);
}

.green-marker {
    background-color: var(--green);
}

.timeline-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding: 28px 32px;
    border: 1px solid rgba(6, 68, 131, 0.05);
    border-radius: 20px;
    background-color: var(--white);
    box-shadow: 0 8px 28px rgba(6, 68, 131, 0.055);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.timeline-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background-color: var(--primary-light);
    transition: height 0.35s ease;
}

.timeline-item:hover .timeline-card {
    transform: translateX(6px);
    border-color: rgba(6, 68, 131, 0.08);
    box-shadow: 0 16px 40px rgba(6, 68, 131, 0.09);
}

.timeline-item:hover .timeline-card::before {
    height: 100%;
}

.timeline-card h3 {
    margin-bottom: 9px;
    color: var(--primary);
    font-size: 1.02rem;
    line-height: 1.45;
}

.timeline-card p {
    max-width: 620px;
    color: var(--text-light);
    font-size: 0.86rem;
    line-height: 1.75;
}

.scientific-section {
    position: relative;
    overflow: hidden;
    padding: 120px 0 130px;
    background-color: var(--white);
}

.scientific-section::after {
    content: "03";
    position: absolute;
    top: 30px;
    right: 4%;
    color: rgba(6, 68, 131, 0.035);
    font-size: clamp(8rem, 17vw, 16rem);
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.scientific-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}

.scientific-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding: 34px 30px;
    border: 1px solid rgba(6, 68, 131, 0.08);
    border-radius: 24px;
    background-color: var(--white);
    box-shadow: 0 10px 32px rgba(6, 68, 131, 0.055);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.scientific-card::after {
    content: "";
    position: absolute;
    right: -55px;
    bottom: -55px;
    width: 130px;
    height: 130px;
    border: 1px solid rgba(6, 68, 131, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.scientific-card:hover {
    transform: translateY(-7px);
    border-color: rgba(6, 68, 131, 0.04);
    box-shadow: 0 25px 55px rgba(6, 68, 131, 0.1);
}

.scientific-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 25px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    transition: transform 0.35s ease;
}

.scientific-card:hover .scientific-icon {
    transform: translateY(-3px) rotate(-4deg);
}

.blue-icon {
    color: var(--blue);
    background-color: rgba(30, 139, 224, 0.1);
}

.orange-icon {
    color: var(--orange);
    background-color: rgba(254, 114, 1, 0.1);
}

.violet-icon {
    color: var(--violet);
    background-color: rgba(202, 108, 215, 0.1);
}

.scientific-card h3 {
    margin-bottom: 14px;
    color: var(--primary);
    font-size: 1.08rem;
    line-height: 1.5;
}

.scientific-card>p {
    margin-bottom: 22px;
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.75;
}

.scientific-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.scientific-card li {
    position: relative;
    margin-bottom: 14px;
    padding-left: 19px;
    color: var(--text-light);
    font-size: 0.8rem;
    line-height: 1.65;
}

.scientific-card li:last-child {
    margin-bottom: 0;
}

.scientific-card li::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-light);
}

.scientific-card:nth-child(1) li::before {
    background-color: var(--blue);
}

.scientific-card:nth-child(2) li::before {
    background-color: var(--orange);
}

.scientific-card:nth-child(3) li::before {
    background-color: var(--violet);
}

.about-contact {
    position: relative;
    overflow: hidden;
    padding: 85px 0;
    background-color: var(--off-white);
}

.about-contact-container {
    position: relative;
    overflow: hidden;
    width: min(90%, 1180px);
    margin: 0 auto;
    padding: 55px 60px;
    border-radius: 30px;
    background:
        linear-gradient(135deg,
            var(--primary) 0%,
            #07559f 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 55px;
    box-shadow: 0 25px 60px rgba(6, 68, 131, 0.15);
}

.about-contact-container::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    top: -160px;
    right: 120px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.about-contact-container::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -45px;
    bottom: -80px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.055);
}

.about-contact-container>* {
    position: relative;
    z-index: 2;
}

.about-contact .section-label {
    color: rgba(255, 255, 255, 0.72);
}

.about-contact .section-label::before {
    background-color: var(--orange);
}

.about-contact h2 {
    margin-bottom: 12px;
    color: var(--white);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.about-contact p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.9rem;
    line-height: 1.75;
}

.about-contact-button {
    flex-shrink: 0;
    padding: 14px 26px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 700;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.about-contact-button::after {
    content: "→";
    font-size: 1rem;
    transition: transform 0.25s ease;
}

.about-contact-button:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.about-contact-button:hover::after {
    transform: translateX(4px);
}

@media screen and (max-width: 1100px) {
    .about-hero {
        padding: 100px 0 95px;
    }

    .education-section,
    .career-section,
    .scientific-section {
        padding: 95px 0 105px;
    }

    .education-grid,
    .scientific-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .education-card:last-child,
    .scientific-card:last-child {
        grid-column: 1 / -1;
    }

    .education-card:last-child {
        min-height: 220px;
    }
}

@media screen and (max-width: 900px) {
    .about-hero {
        padding: 85px 0;
    }

    .about-hero-content {
        max-width: 750px;
    }

    .about-hero-content h1 {
        font-size: clamp(2.8rem, 8vw, 4.5rem);
    }

    .doctor-quick-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 0;
    }
    
    .quick-info-item {
        padding: 0 24px;
    }
    
    .quick-info-item:nth-child(odd) {
        padding-left: 0;
    }
    
    .quick-info-item:nth-child(even) {
        padding-right: 0;
    }
    
    .quick-info-item:nth-child(2)::after {
        display: none;
    }
    
    .quick-info-item:nth-child(1),
    .quick-info-item:nth-child(2) {
        padding-bottom: 28px;
        border-bottom: 1px solid rgba(6, 68, 131, 0.08);
    }

    .education-section,
    .career-section,
    .scientific-section {
        padding: 85px 0 95px;
    }

    .section-heading {
        margin-bottom: 45px;
    }

    .career-timeline {
        max-width: 760px;
    }

    .career-timeline::before {
        left: 145px;
    }

    .timeline-item {
        grid-template-columns: 115px minmax(0, 1fr);
        gap: 60px;
    }

    .timeline-marker {
        left: 136px;
    }

    .about-contact-container {
        padding: 45px 40px;
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }
}

@media screen and (max-width: 700px) {

    .education-grid,
    .scientific-grid {
        grid-template-columns: 1fr;
    }

    .education-card:last-child,
    .scientific-card:last-child {
        grid-column: auto;
    }

    .education-card {
        min-height: auto;
    }

    .doctor-quick-info {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    
    .quick-info-item,
    .quick-info-item:first-child,
    .quick-info-item:nth-child(odd),
    .quick-info-item:nth-child(even) {
        padding: 0;
        border-bottom: none;
    }
    
    .quick-info-item:not(:last-child) {
        padding-bottom: 22px;
        border-bottom: 1px solid rgba(6, 68, 131, 0.08);
    }
    
    .quick-info-item:not(:last-child)::after {
        display: none;
    }

}

@media screen and (max-width: 600px) {
    .about-hero {
        padding: 65px 0 70px;
    }

    .about-hero-container,
    .about-container {
        width: 88%;
    }

    .about-hero::before {
        width: 330px;
        height: 330px;
        top: -180px;
        right: -190px;
    }

    .about-hero::after {
        width: 280px;
        height: 280px;
        left: -190px;
        bottom: -190px;
    }

    .about-hero-content h1 {
        font-size: 2.65rem;
        line-height: 1.02;
    }

    .doctor-title {
        margin-bottom: 22px;
        font-size: 1rem;
    }

    .doctor-intro {
        font-size: 0.92rem;
        line-height: 1.8;
    }

    .doctor-quick-info {
        margin-top: 38px;
        padding-top: 25px;
    }

    .decoration-blue {
        top: 18%;
        right: 9%;
    }

    .decoration-orange {
        width: 22px;
        height: 22px;
        right: 6%;
        bottom: 13%;
    }

    .decoration-violet {
        display: none;
    }

    .education-section,
    .career-section,
    .scientific-section {
        padding: 70px 0 75px;
    }

    .education-section::after,
    .career-section::after,
    .scientific-section::after {
        font-size: 8rem;
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .section-heading h2 {
        font-size: 2rem;
    }

    .education-card {
        padding: 25px 22px;
        border-radius: 20px;
        gap: 17px;
    }

    .education-number {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .timeline-heading {
        margin-bottom: 48px;
    }

    .career-timeline::before {
        left: 8px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 10px;
        padding-left: 38px;
        margin-bottom: 32px;
    }

    .timeline-date {
        padding-top: 0;
        text-align: left;
    }

    .timeline-marker {
        top: 1px;
        left: -1px;
        width: 19px;
        height: 19px;
    }

    .timeline-card {
        padding: 23px;
        border-radius: 18px;
    }

    .timeline-item:hover .timeline-card {
        transform: translateY(-2px);
    }

    .scientific-card {
        padding: 27px 23px;
        border-radius: 20px;
    }

    .about-contact {
        padding: 60px 0;
    }

    .about-contact-container {
        width: 88%;
        padding: 38px 26px;
        border-radius: 24px;
        gap: 30px;
    }

    .about-contact-button {
        width: 100%;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {

    .education-card,
    .education-number,
    .timeline-marker,
    .timeline-card,
    .scientific-card,
    .scientific-icon,
    .about-contact-button,
    .about-contact-button::after {
        transition: none;
    }
}