* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: #f2f5f9;
    color: #24324a;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
}

a {
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.page-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 5%;
    background: #17243a;
    box-shadow: 0 3px 14px rgba(23, 36, 58, 0.18);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 17px 0;
}

.site-name {
    color: #ffffff;
    font-size: 1.14rem;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
}

nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 22px;
}

nav a {
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
}

nav a:hover,
.site-name:hover {
    color: #9dd8cc;
}

nav .portfolio-link {
    padding: 8px 14px;
    border: 1px solid #9dd8cc;
    border-radius: 7px;
}

nav .portfolio-link:hover {
    background: #ffffff;
    color: #17243a;
}

main {
    width: 90%;
    max-width: 1120px;
    margin: 40px auto;
}

section {
    margin-bottom: 32px;
    scroll-margin-top: 105px;
}

.section-label {
    margin-bottom: 11px;
    color: #087f6f;
    font-size: 0.88rem;
    font-weight: bold;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.education-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.55fr);
    align-items: center;
    gap: 54px;
    padding: 66px 56px;
    background: linear-gradient(135deg, #e8f4f1 0%, #eef4ff 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(23, 36, 58, 0.08);
}

.hero-content h1 {
    max-width: 760px;
    margin-bottom: 22px;
    color: #17243a;
    font-size: 3rem;
    line-height: 1.14;
}

.hero-description {
    max-width: 730px;
    color: #46566d;
    font-size: 1.06rem;
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.primary-button,
.secondary-button {
    display: inline-block;
    padding: 12px 21px;
    border-radius: 7px;
    font-weight: bold;
    text-decoration: none;
}

.primary-button {
    background: #17243a;
    color: #ffffff;
}

.primary-button:hover {
    background: #087f6f;
    transform: translateY(-2px);
}

.secondary-button {
    border: 2px solid #17243a;
    color: #17243a;
}

.secondary-button:hover {
    background: #17243a;
    color: #ffffff;
    transform: translateY(-2px);
}

.career-highlights {
    display: grid;
    gap: 14px;
}

.highlight-card {
    padding: 20px 22px;
    background: #ffffff;
    border-left: 4px solid #0f9d8a;
    border-radius: 10px;
    box-shadow: 0 5px 16px rgba(23, 36, 58, 0.07);
}

.highlight-number {
    margin-bottom: 4px;
    color: #17243a;
    font-size: 1.1rem;
    font-weight: bold;
}

.highlight-card p:last-child {
    color: #5c697a;
    font-size: 0.92rem;
}

.content-section,
.credentials-section,
.contact-section {
    padding: 56px 46px;
    background: #ffffff;
    border-radius: 17px;
    box-shadow: 0 8px 24px rgba(23, 36, 58, 0.06);
}

.section-heading {
    margin-bottom: 35px;
}

.section-heading h2,
.credentials-section h2,
.contact-section h2,
.research-copy h2 {
    max-width: 790px;
    margin-bottom: 14px;
    color: #17243a;
    font-size: 2.15rem;
    line-height: 1.23;
}

.section-heading > p:last-child,
.contact-section p,
.research-copy p {
    max-width: 790px;
    color: #5c697a;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.expertise-card {
    position: relative;
    padding: 29px 27px;
    overflow: hidden;
    background: #f7fafb;
    border: 1px solid #d9e6e3;
    border-radius: 13px;
}

.card-number {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #d1e8e3;
    font-size: 2.6rem;
    font-weight: bold;
}

.expertise-card h3 {
    position: relative;
    margin-bottom: 11px;
    color: #17243a;
    font-size: 1.25rem;
}

.expertise-card p {
    position: relative;
    margin-bottom: 15px;
    color: #5c697a;
}

.expertise-card ul {
    position: relative;
    padding-left: 21px;
}

.expertise-card li {
    margin-bottom: 6px;
}

.expertise-card li::marker {
    color: #0f9d8a;
}

.timeline {
    display: grid;
    gap: 24px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 28px;
    padding: 28px;
    background: #f7f9fc;
    border: 1px solid #dce4ee;
    border-radius: 13px;
}

.timeline-date {
    color: #087f6f;
    font-size: 1.04rem;
    font-weight: bold;
}

.role-label {
    margin-bottom: 4px;
    color: #66758a;
    font-size: 0.92rem;
    font-weight: bold;
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: #17243a;
    font-size: 1.35rem;
}

.timeline-content > p:last-of-type {
    color: #4c5b70;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 17px;
}

.tag-list span {
    padding: 5px 10px;
    background: #e4f3ef;
    border-radius: 999px;
    color: #076b5e;
    font-size: 0.82rem;
    font-weight: bold;
}

.research-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 58px 48px;
    background: #17243a;
    border-radius: 17px;
    color: #ffffff;
}

.research-section .section-label {
    color: #9dd8cc;
}

.research-copy h2 {
    color: #ffffff;
}

.research-copy p {
    margin-bottom: 14px;
    color: #d4dce8;
}

.research-steps {
    display: grid;
    gap: 11px;
    padding: 0;
    list-style: none;
    counter-reset: research-step;
}

.research-steps li {
    counter-increment: research-step;
    padding: 14px 17px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 9px;
}

.research-steps li::before {
    content: "0" counter(research-step);
    margin-right: 12px;
    color: #9dd8cc;
    font-weight: bold;
}

.research-steps span {
    color: #ffffff;
    font-weight: bold;
}

.technology-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.technology-grid article {
    padding: 25px;
    background: #eef5ff;
    border-radius: 12px;
}

.technology-grid h3 {
    margin-bottom: 8px;
    color: #17243a;
}

.technology-grid p {
    color: #53637a;
}

.credentials-section {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 45px;
}

.credentials-list {
    display: grid;
    gap: 12px;
}

.credentials-list article {
    padding: 17px 20px;
    border-left: 4px solid #0f9d8a;
    background: #f7fafb;
}

.credentials-list h3 {
    color: #17243a;
    font-size: 1.02rem;
}

.credentials-list p {
    color: #5c697a;
    font-size: 0.92rem;
}

.contact-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
}

.contact-actions {
    flex: 0 0 auto;
    margin-top: 0;
}

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 32px 7%;
    background: #17243a;
    color: #d8e1ee;
}

footer a {
    color: #9dd8cc;
    font-weight: bold;
    text-decoration: none;
}

@media (max-width: 900px) {
    .header-content,
    .contact-section,
    footer {
        flex-direction: column;
        text-align: center;
    }

    nav {
        justify-content: center;
    }

    .education-hero,
    .research-section,
    .credentials-section {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .contact-actions {
        justify-content: center;
    }
}

@media (max-width: 650px) {
    .page-header {
        position: static;
    }

    .header-content {
        padding: 20px 0;
    }

    nav {
        gap: 13px;
    }

    nav a {
        font-size: 0.86rem;
    }

    main {
        width: 94%;
        margin: 24px auto;
    }

    .education-hero,
    .content-section,
    .research-section,
    .credentials-section,
    .contact-section {
        padding: 40px 23px;
    }

    .hero-content h1 {
        font-size: 2.05rem;
    }

    .section-heading h2,
    .credentials-section h2,
    .contact-section h2,
    .research-copy h2 {
        font-size: 1.75rem;
    }

    .expertise-grid,
    .technology-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 23px;
    }

    .hero-actions,
    .contact-actions {
        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
        text-align: center;
    }
}
