:root {
    --navy: #07172b;
    --navy-2: #0d2440;
    --navy-3: #12345b;

    --red: #d71920;
    --red-dark: #ad1117;

    --white: #ffffff;
    --light: #f5f7fa;
    --light-2: #edf1f5;

    --text: #1b2635;
    --muted: #617084;
    --border: #dfe5eb;

    --shadow:
        0 20px 50px rgba(7, 23, 43, 0.10);

    --radius: 18px;

    --container: 1180px;
}


/* RESET */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    background: our(--white);
    color: our(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-inline: auto;
}


/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background:
        rgba(255, 255, 255, 0.96);

    backdrop-filter: blur(14px);

    border-bottom:
        1px solid rgba(7, 23, 43, 0.07);
}

.nav-wrapper {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: var(--navy);
    color: var(--white);

    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.brand-text strong {
    color: var(--navy);
    font-size: 15px;
}

.brand-text small {
    margin-top: 3px;

    color: var(--muted);
    font-size: 11px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;

    font-size: 14px;
    font-weight: 600;
}

.main-nav a {
    position: relative;
    color: #314157;

    transition: color .25s ease;
}

.main-nav a:not(.nav-contact)::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: var(--red);

    transition: width .25s ease;
}

.main-nav a:hover {
    color: var(--navy);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.nav-contact {
    padding: 10px 18px;

    border-radius: 8px;

    background: var(--navy);
    color: var(--white) !important;
}

.nav-contact:hover {
    background: var(--red);
}

.mobile-menu-button {
    display: none;

    width: 42px;
    height: 42px;

    padding: 8px;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.mobile-menu-button span {
    display: block;

    width: 100%;
    height: 2px;

    margin: 6px 0;

    background: var(--navy);

    transition: .25s ease;
}


/* HERO */

.hero {
    position: relative;
    overflow: hidden;

    min-height: 720px;

    display: flex;
    align-items: center;

    padding:
        95px 0 100px;

    background:
        linear-gradient(
            120deg,
            #f7f9fc 0%,
            #ffffff 60%,
            #eef3f8 100%
        );
}

.hero-decoration {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}

.hero-decoration-one {
    width: 500px;
    height: 500px;

    top: -260px;
    right: -100px;

    background:
        rgba(215, 25, 32, 0.06);
}

.hero-decoration-two {
    width: 420px;
    height: 420px;

    bottom: -250px;
    left: -170px;

    border:
        75px solid rgba(7, 23, 43, 0.035);
}

.hero-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(340px, .85fr);

    align-items: center;
    gap: 80px;
}

.eyebrow,
.section-label,
.contact-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--red);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.eyebrow::before,
.section-label::before,
.contact-label::before {
    content: "";

    width: 28px;
    height: 2px;

    background: currentColor;
}

.hero h1 {
    max-width: 720px;

    margin:
        18px 0 13px;

    color: var(--navy);

    font-size:
        clamp(52px, 7vw, 88px);

    line-height: .98;

    letter-spacing: -4px;
}

.hero h1 span {
    display: block;
    color: var(--red);
}

.hero h2 {
    max-width: 680px;

    margin: 0 0 22px;

    color: #293b51;

    font-size:
        clamp(19px, 2vw, 25px);

    line-height: 1.4;

    font-weight: 600;
}

.dot {
    padding-inline: 5px;
    color: var(--red);
}

.hero-description {
    max-width: 680px;

    margin: 0;

    color: var(--muted);

    font-size: 17px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;

    margin-top: 27px;
}

.hero-tags span {
    padding: 7px 12px;

    border:
        1px solid var(--border);

    border-radius: 999px;

    background: rgba(255,255,255,.75);

    color: #34465b;

    font-size: 12px;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 34px;
}

.btn {
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 24px;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--red);
    color: var(--white);

    box-shadow:
        0 12px 25px rgba(215, 25, 32, .20);
}

.btn-primary:hover {
    background: var(--red-dark);
}

.btn-secondary {
    border: 1px solid #cbd4de;
    background: var(--white);
    color: var(--navy);
}

.profile-frame {
    position: relative;

    max-width: 415px;

    margin-left: auto;

    padding:
        14px 14px 0;

    border-radius:
        30px 30px 20px 20px;

    background: var(--white);

    box-shadow: var(--shadow);
}

.profile-frame::before {
    content: "";

    position: absolute;

    inset:
        -14px 35px auto -14px;

    height: 130px;

    z-index: -1;

    border-radius: 25px;

    background: var(--red);
}

.profile-image-wrap {
    overflow: hidden;

    border-radius:
        22px 22px 9px 9px;

    background:
        linear-gradient(
            145deg,
            #e8edf3,
            #cdd7e1
        );

    aspect-ratio: 4 / 5;
}

.profile-image {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 18px 8px 20px;
}

.status-dot {
    width: 12px;
    height: 12px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #21a366;

    box-shadow:
        0 0 0 5px rgba(33,163,102,.12);
}

.profile-info div {
    display: flex;
    flex-direction: column;
}

.profile-info small {
    color: var(--muted);
    font-size: 11px;
}

.profile-info strong {
    color: var(--navy);
    font-size: 14px;
}


/* QUICK INFO */

.quick-info {
    position: relative;
    z-index: 20;
    margin-top: -40px;
}

.quick-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    background: var(--navy);
    border-radius: 18px;
    overflow: hidden;

    box-shadow:
        0 24px 55px rgba(7, 23, 43, 0.20);
}

.quick-item {
    min-width: 0;
    min-height: 172px;

    display: flex;
    align-items: flex-start;
    gap: 10px;

    padding: 28px 18px;

    border-right:
        1px solid rgba(255, 255, 255, 0.10);
}

.quick-item:last-child {
    border-right: 0;
}

.quick-number {
    flex: 0 0 auto;

    padding-top: 2px;

    color: var(--red);

    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.3;
}

.quick-item > div {
    min-width: 0;
}

.quick-item strong {
    display: block;

    margin-bottom: 8px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.1px;
}

.quick-item p {
    margin: 0;

    color: #b7c4d3;

    font-size: 12.5px;
    line-height: 1.62;
}


/* QUICK INFO — TABLET */

@media (max-width: 1050px) {

    .quick-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quick-item {
        min-height: 165px;
        padding: 26px 22px;

        border-bottom:
            1px solid rgba(255, 255, 255, 0.10);
    }

    .quick-item:nth-child(2),
    .quick-item:nth-child(4) {
        border-right: 0;
    }

    .quick-item:nth-child(3),
    .quick-item:nth-child(4) {
        border-bottom: 0;
    }

    .quick-item strong {
        font-size: 15px;
    }
}


/* QUICK INFO — MOBILE */

@media (max-width: 820px) {

    .quick-info {
        margin-top: -25px;
    }

    .quick-info-grid {
        grid-template-columns: 1fr;
    }

    .quick-item {
        min-height: auto;

        gap: 12px;
        padding: 24px 22px;

        border-right: 0;
        border-bottom:
            1px solid rgba(255, 255, 255, 0.10);
    }

    .quick-item:nth-child(3) {
        border-bottom:
            1px solid rgba(255, 255, 255, 0.10);
    }

    .quick-item:last-child {
        border-bottom: 0;
    }

    .quick-item strong {
        font-size: 16px;
        line-height: 1.4;
    }

    .quick-item p {
        font-size: 13px;
        line-height: 1.6;
    }
}


/* GENERAL SECTIONS */

.section {
    padding: 105px 0;
}

.section-white {
    background: var(--white);
}

.section-light {
    background: var(--light);
}

.section-navy {
    background: var(--navy);
    color: var(--white);
}

.section-heading h2,
.section-title-centered h2,
.skills-intro h2,
.research-header h2,
.language-grid h2,
.contact-copy h2 {
    margin:
        14px 0 0;

    color: var(--navy);

    font-size:
        clamp(34px, 4vw, 50px);

    line-height: 1.15;

    letter-spacing: -1.5px;
}

.section-title-centered {
    max-width: 700px;

    margin:
        0 auto 52px;

    text-align: center;
}

.section-title-centered .section-label {
    justify-content: center;
}

.section-title-centered p {
    margin:
        18px auto 0;

    color: var(--muted);

    font-size: 16px;
}


/* ABOUT */

.about-grid {
    display: grid;
    grid-template-columns:
        minmax(280px, .75fr)
        minmax(0, 1.25fr);

    gap: 90px;
}

.about-content p {
    color: var(--muted);
}

.about-content .lead {
    margin-top: 0;

    color: #24354a;

    font-size: 20px;
    line-height: 1.65;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    margin-top: 37px;

    border-top:
        1px solid var(--border);
}

.about-highlights div {
    padding:
        23px 20px 0 0;
}

.about-highlights strong,
.about-highlights span {
    display: block;
}

.about-highlights strong {
    margin-bottom: 5px;

    color: var(--navy);
    font-size: 13px;
}

.about-highlights span {
    color: var(--muted);
    font-size: 12px;
}


/* EXPERTISE */

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.expertise-card {
    position: relative;

    min-height: 260px;

    padding: 31px;

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    background: var(--white);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.expertise-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(215,25,32,.35);

    box-shadow: var(--shadow);
}

.card-number {
    display: block;

    margin-bottom: 35px;

    color: var(--red);

    font-size: 13px;
    font-weight: 800;
}

.expertise-card h3 {
    margin:
        0 0 12px;

    color: var(--navy);

    font-size: 20px;
}

.expertise-card p {
    margin: 0;

    color: var(--muted);

    font-size: 14px;
}


/* EDUCATION */

.section-heading-white span {
    color: #d8e0e9;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-heading-white h2 {
    margin:
        7px 0 55px;

    font-size:
        clamp(38px, 5vw, 54px);

    line-height: 1.1;
}

.timeline {
    border-top:
        1px solid rgba(255,255,255,.15);
}

.timeline-item {
    display: grid;
    grid-template-columns: 210px 1fr;

    gap: 50px;

    padding: 34px 0;

    border-bottom:
        1px solid rgba(255,255,255,.15);
}

.timeline-date {
    color: #9faec0;

    font-size: 13px;
    font-weight: 700;
}

.timeline-type {
    color: #e66a6f;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.timeline-content h3 {
    max-width: 720px;

    margin:
        7px 0 5px;

    font-size:
        clamp(20px, 2.5vw, 28px);

    line-height: 1.35;
}

.timeline-content p {
    margin:
        5px 0 0;

    color: #c6d0dc;
}

.timeline-location {
    font-size: 13px;
}


/* EXPERIENCE */

.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}

.experience-card {
    padding: 31px;

    border-radius: var(--radius);

    background: var(--white);

    box-shadow:
        0 12px 30px rgba(7,23,43,.06);

    border-top:
        3px solid transparent;

    transition:
        transform .3s ease,
        border-color .3s ease;
}

.experience-card:hover {
    transform: translateY(-5px);
    border-top-color: var(--red);
}

.experience-date {
    display: inline-block;

    margin-bottom: 24px;

    color: var(--red);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .5px;
}

.experience-card h3 {
    margin:
        0 0 7px;

    color: var(--navy);

    font-size: 20px;
    line-height: 1.35;
}

.experience-card h4 {
    margin:
        0 0 17px;

    color: #415369;

    font-size: 14px;
}

.experience-card p {
    margin: 0;

    color: var(--muted);

    font-size: 14px;
}


/* PUBLICATIONS */

.research-header {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: end;

    margin-bottom: 50px;
}

.research-header p {
    margin: 0;

    color: var(--muted);
}

.publication-list {
    border-top:
        1px solid var(--border);
}

.publication {
    display: grid;
    grid-template-columns: 100px 1fr;

    gap: 35px;

    padding: 32px 0;

    border-bottom:
        1px solid var(--border);
}

.publication-number {
    color: #a5b0bc;

    font-size: 14px;
    font-weight: 800;
}

.publication-year {
    color: var(--red);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.publication h3 {
    max-width: 850px;

    margin:
        5px 0 7px;

    color: var(--navy);

    font-size:
        clamp(18px, 2.5vw, 24px);

    line-height: 1.4;
}

.publication p {
    margin:
        0 0 8px;

    color: var(--muted);

    font-size: 14px;
}

.publication a {
    color: var(--red);

    font-size: 13px;
    font-weight: 700;
}


/* PROJECTS */

.projects-section {
    background:
        linear-gradient(
            145deg,
            #f7f9fb,
            #edf2f6
        );
}

.projects-grid {
    display: grid;
    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;
}

.project-card {
    min-height: 185px;

    padding: 29px;

    border-radius: 15px;

    background: var(--white);

    box-shadow:
        0 12px 30px rgba(7,23,43,.05);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.project-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 18px 40px rgba(7,23,43,.10);
}

.project-card span {
    display: block;

    margin-bottom: 15px;

    color: var(--red);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.project-card h3 {
    margin: 0;

    color: var(--navy);

    font-size: 18px;
    line-height: 1.55;
}


/* SKILLS */

.skills-layout {
    display: grid;
    grid-template-columns:
        minmax(260px, .6fr)
        minmax(0, 1.4fr);

    gap: 80px;
}

.skills-intro p {
    margin-top: 20px;
    color: var(--muted);
}

.skills-groups {
    display: grid;
    gap: 22px;
}

.skill-group {
    padding-bottom: 23px;

    border-bottom:
        1px solid var(--border);
}

.skill-group:last-child {
    border-bottom: 0;
}

.skill-group h3 {
    margin:
        0 0 15px;

    color: var(--navy);
    font-size: 15px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tags span {
    padding: 7px 11px;

    border:
        1px solid #d6dee6;

    border-radius: 7px;

    background: var(--white);

    color: #405167;

    font-size: 12px;
}


/* =========================================================
   LANGUAGES
========================================================= */

.language-section {
    padding: 82px 0 88px;

    background: #ffffff;

    border-top:
        1px solid var(--border);
}


/* HEADING */

.language-heading {
    max-width: 680px;

    margin:
        0 auto 38px;

    text-align: center;
}

.language-heading .section-label {
    justify-content: center;
}

.language-heading h2 {
    margin:
        13px 0 12px;

    color: var(--navy);

    font-size:
        clamp(32px, 4vw, 44px);

    line-height: 1.15;

    letter-spacing: -1.2px;
}

.language-heading > p {
    max-width: 590px;

    margin: 0 auto;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.7;
}


/* LANGUAGE GRID */

.language-cards {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 14px;
}


/* CARD */

.language-card {
    min-width: 0;
    min-height: 112px;

    display: flex;
    align-items: center;

    gap: 13px;

    padding: 18px 15px;

    border:
        1px solid var(--border);

    border-radius: 13px;

    background: var(--white);

    box-shadow:
        0 8px 24px rgba(7, 23, 43, 0.045);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.language-card:hover {
    transform: translateY(-3px);

    border-color:
        rgba(215, 25, 32, 0.28);

    box-shadow:
        0 14px 32px rgba(7, 23, 43, 0.075);
}


/* FLAG */

.language-flag {
    width: 45px;
    height: 45px;

    flex: 0 0 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background:
        #f4f6f9;

    border:
        1px solid #e2e7ed;

    font-size: 26px;
    line-height: 1;

    overflow: hidden;

    box-shadow:
        0 4px 12px rgba(7, 23, 43, 0.06);
}


/* TEXT */

.language-card > div {
    min-width: 0;
}

.language-card h3 {
    margin:
        0 0 4px;

    color: var(--navy);

    font-size: 15px;
    font-weight: 700;

    line-height: 1.3;
}

.language-card p {
    margin: 0;

    color: var(--muted);

    font-size: 11px;

    line-height: 1.45;
}


/* TABLET */

@media (max-width: 1050px) {

    .language-cards {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }
}


/* MOBILE */

@media (max-width: 700px) {

    .language-section {
        padding:
            66px 0 70px;
    }

    .language-heading {
        margin-bottom: 30px;
    }

    .language-cards {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;
    }

    .language-card {
        min-height: 100px;

        gap: 10px;

        padding:
            15px 12px;
    }

    .language-flag {
        width: 40px;
        height: 40px;

        flex-basis: 40px;

        font-size: 23px;
    }

    .language-card h3 {
        font-size: 14px;
    }

    .language-card p {
        font-size: 10.5px;
    }
}


/* SMALL MOBILE */

@media (max-width: 430px) {

    .language-cards {
        grid-template-columns: 1fr;
    }

    .language-card {
        min-height: 88px;
    }

}




/* =========================================================
   BEYOND RESEARCH / PERSONAL INTERESTS
========================================================= */

.interests-section {
    padding: 82px 0 88px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f6f8fb 100%
        );

    border-top: 1px solid var(--border);
}

.interests-heading {
    max-width: 690px;

    margin: 0 auto 38px;

    text-align: center;
}

.interests-heading .section-label {
    justify-content: center;
}

.interests-heading h2 {
    margin: 13px 0 12px;

    color: var(--navy);

    font-size:
        clamp(32px, 4vw, 44px);

    line-height: 1.15;

    letter-spacing: -1.2px;
}

.interests-heading p {
    max-width: 600px;

    margin: 0 auto;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.7;
}


/* FLEX GRID */

.interests-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 14px;
}


/* CARD */

.interest-card {
    width:
        calc(25% - 11px);

    min-width: 0;
    min-height: 104px;

    display: flex;
    align-items: center;

    gap: 14px;

    padding: 18px 17px;

    border:
        1px solid var(--border);

    border-radius: 13px;

    background: var(--white);

    box-shadow:
        0 8px 24px rgba(7, 23, 43, 0.045);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.interest-card:hover {
    transform: translateY(-3px);

    border-color:
        rgba(215, 25, 32, 0.28);

    box-shadow:
        0 14px 32px rgba(7, 23, 43, 0.075);
}


/* SMALL ICON */

.interest-icon {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background:
        rgba(215, 25, 32, 0.07);

    color: var(--red);
}

.interest-icon svg {
    width: 21px;
    height: 21px;

    fill: none;
    stroke: currentColor;

    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* TEXT */

.interest-card div {
    min-width: 0;
}

.interest-card h3 {
    margin: 0 0 3px;

    color: var(--navy);

    font-size: 15px;
    font-weight: 700;

    line-height: 1.3;
}

.interest-card p {
    margin: 0;

    color: var(--muted);

    font-size: 11.5px;
    line-height: 1.45;
}


/* TABLET */

@media (max-width: 1000px) {

    .interest-card {
        width:
            calc(33.333% - 10px);
    }
}


/* MOBILE */

@media (max-width: 700px) {

    .interests-section {
        padding: 66px 0 70px;
    }

    .interests-heading {
        margin-bottom: 30px;
    }

    .interests-grid {
        gap: 10px;
    }

    .interest-card {
        width:
            calc(50% - 5px);

        min-height: 96px;

        gap: 11px;

        padding: 15px 13px;
    }

    .interest-icon {
        width: 38px;
        height: 38px;

        flex-basis: 38px;
    }

    .interest-icon svg {
        width: 19px;
        height: 19px;
    }

    .interest-card h3 {
        font-size: 14px;
    }

    .interest-card p {
        font-size: 10.5px;
    }
}


/* SMALL MOBILE */

@media (max-width: 420px) {

    .interest-card {
        width: 100%;
    }

}


/* CONTACT */

.contact-section {
    padding: 100px 0;

    background: var(--navy);
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(420px, .8fr);

    align-items: center;
    gap: 90px;
}

.contact-label {
    color: #ee7378;
}

.contact-copy h2 {
    max-width: 610px;

    margin:
        16px 0 20px;

    color: var(--white);
}

.contact-copy p {
    max-width: 580px;

    color: #b3bfcd;
}

.contact-email {
    display: inline-block;

    margin-top: 18px;

    color: var(--white);

    font-size:
        clamp(18px, 2vw, 24px);

    font-weight: 700;

    border-bottom:
        2px solid var(--red);
}

.contact-links {
    display: grid;
    gap: 10px;
}

.contact-card {
    min-height: 78px;

    display: grid;
    grid-template-columns:
        45px 1fr 30px;

    align-items: center;
    gap: 14px;

    padding: 14px 18px;

    border:
        1px solid rgba(255,255,255,.12);

    border-radius: 12px;

    background:
        rgba(255,255,255,.04);

    transition:
        background .25s ease,
        transform .25s ease;
}

.contact-card:hover {
    transform: translateX(5px);

    background:
        rgba(255,255,255,.08);
}

.contact-icon {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background: var(--red);

    font-weight: 800;
}

.contact-card div {
    display: flex;
    flex-direction: column;
}

.contact-card small {
    color: #95a5b7;
    font-size: 10px;
}

.contact-card strong {
    font-size: 14px;
}

.arrow {
    color: #8292a5;
}


/* FOOTER */

.site-footer {
    padding: 35px 0;

    background: #04101f;
    color: #a8b4c1;
}

.footer-grid {
    display: grid;
    grid-template-columns:
        1fr auto 1fr;

    align-items: center;
    gap: 30px;
}

.footer-grid strong {
    color: var(--white);
}

.footer-grid p {
    margin: 2px 0 0;
    font-size: 11px;
}

.footer-links {
    display: flex;
    gap: 20px;

    font-size: 12px;
}

.footer-links a:hover {
    color: var(--white);
}

.copyright {
    text-align: right;
    font-size: 11px;
}


/* BACK TO TOP */

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;

    width: 44px;
    height: 44px;

    border: 0;
    border-radius: 9px;

    background: var(--red);
    color: var(--white);

    font-size: 18px;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: translateY(12px);

    transition: .25s ease;

    box-shadow:
        0 10px 25px rgba(215,25,32,.25);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* SCROLL ANIMATION */

.reveal {
    opacity: 0;
    transform: translateY(22px);

    transition:
        opacity .7s ease,
        transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* TABLET */

@media (max-width: 1000px) {

    .main-nav {
        gap: 17px;
        font-size: 12px;
    }

    .hero-grid {
        gap: 45px;
    }

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

    .experience-grid {
        grid-template-columns:
            1fr;
    }

    .about-grid,
    .skills-layout,
    .contact-grid {
        gap: 50px;
    }

}


/* MOBILE NAVIGATION */

@media (max-width: 820px) {

    .container {
        width: min(
            calc(100% - 30px),
            var(--container)
        );
    }

    .nav-wrapper {
        min-height: 70px;
    }

    .brand-text small {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .main-nav {
        position: absolute;

        top: 70px;
        left: 0;
        right: 0;

        display: none;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding:
            10px 20px 22px;

        background: var(--white);

        border-bottom:
            1px solid var(--border);

        box-shadow:
            0 18px 30px rgba(7,23,43,.08);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 12px 5px;
    }

    .main-nav a::after {
        display: none;
    }

    .nav-contact {
        margin-top: 5px;
        text-align: center;
    }

    .hero {
        min-height: auto;

        padding:
            70px 0 105px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-profile {
        order: -1;
    }

    .profile-frame {
        width: min(100%, 370px);
        margin: auto;
    }

    .quick-info-grid {
        grid-template-columns: 1fr;
    }

    .quick-item {
        min-height: auto;

        border-right: 0;

        border-bottom:
            1px solid rgba(255,255,255,.10);
    }

    .quick-item:last-child {
        border-bottom: 0;
    }

    .section {
        padding: 80px 0;
    }

    .about-grid,
    .skills-layout,
    .research-header,
    .contact-grid,
    .language-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

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

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

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .publication {
        grid-template-columns: 55px 1fr;
        gap: 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .copyright {
        text-align: center;
    }

}


/* SMALL MOBILE */

@media (max-width: 520px) {

    .hero {
        padding-top: 55px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero h2 {
        font-size: 18px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }

    .quick-item {
        padding: 27px 23px;
    }

    .section {
        padding: 67px 0;
    }

    .section-heading h2,
    .section-title-centered h2,
    .skills-intro h2,
    .research-header h2,
    .contact-copy h2 {
        font-size: 33px;
    }

    .expertise-card,
    .experience-card,
    .project-card {
        padding: 25px;
    }

    .publication {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-card {
        grid-template-columns:
            42px minmax(0, 1fr) 20px;

        padding: 13px;
    }

    .contact-card strong {
        overflow-wrap: anywhere;
    }

}



/* =========================================================
   CONTACT SECTION - FINAL
========================================================= */

.contact-section {
    padding: 90px 0 95px;

    background: var(--navy);
    color: #ffffff;
}


/* =========================================================
   CONTACT HEADER - CENTERED
========================================================= */

.contact-section .contact-section-header {
    width: 100%;
    max-width: 850px;

    margin: 0 auto 48px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    gap: 0;
}


/* CONTACT LABEL */

.contact-section .contact-section-label {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    margin: 0 0 18px;

    text-align: center;
}

.contact-section .contact-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #ee6c72;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.8px;
    text-transform: uppercase;
}


/* SMALL RED LINE */

.contact-section .contact-label::before {
    content: "";

    width: 28px;
    height: 2px;

    margin-right: 10px;

    background: var(--red);
}


/* CONTACT INTRO */

.contact-section .contact-section-intro {
    width: 100%;
    max-width: 780px;

    margin: 0 auto;

    text-align: center;
}


/* MAIN TITLE */

.contact-section .contact-section-intro h2 {
    width: 100%;
    max-width: 760px;

    margin: 0 auto 18px;

    color: #ffffff;

    text-align: center;

    font-size: clamp(38px, 4.5vw, 55px);
    font-weight: 750;

    line-height: 1.08;

    letter-spacing: -1.8px;
}


/* DESCRIPTION */

.contact-section .contact-section-intro > p {
    width: 100%;
    max-width: 690px;

    margin: 0 auto;

    color: #aebccd;

    text-align: center;

    font-size: 15px;
    line-height: 1.8;
}


/* RESEARCH / TECHNOLOGY LINE */

.contact-section .contact-focus {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 7px;

    margin: 20px auto 0;

    color: #ffffff;

    text-align: center;

    font-size: 12px;
    font-weight: 600;
}

.contact-section .contact-focus span {
    color: var(--red);
}


/* =========================================================
   CONTACT CARDS GRID
========================================================= */

.contact-section .contact-cards-grid {
    width: 100%;
    max-width: 1180px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;
}


/* =========================================================
   CONTACT CARD
========================================================= */

.contact-section .contact-card {
    width: auto;

    min-width: 0;
    min-height: 108px;

    display: grid;

    grid-template-columns:
        46px minmax(0, 1fr) 20px;

    align-items: center;

    gap: 14px;

    padding: 18px 16px;

    border:
        1px solid rgba(255, 255, 255, 0.12);

    border-radius: 13px;

    background:
        rgba(255, 255, 255, 0.045);

    box-shadow: none;

    transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.contact-section .contact-card:hover {
    transform: translateY(-4px);

    background:
        rgba(255, 255, 255, 0.075);

    border-color:
        rgba(255, 255, 255, 0.20);

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.13);
}


/* =========================================================
   ICON
========================================================= */

.contact-section .contact-icon {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    color: #ffffff;

    transition:
        transform .25s ease;
}

.contact-section .contact-card:hover .contact-icon {
    transform: scale(1.04);
}

.contact-section .contact-icon svg {
    width: 20px;
    height: 20px;

    fill: none;
    stroke: currentColor;

    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* GITHUB SOLID SVG */

.contact-section .github-svg {
    fill: currentColor;
    stroke: none;
}


/* =========================================================
   BRAND COLORS
========================================================= */

.contact-section .contact-card-email .contact-icon {
    background: #d71920;
}

.contact-section .contact-card-linkedin .contact-icon {
    background: #0a66c2;
}

.contact-section .contact-card-scholar .contact-icon {
    background: #4285f4;
}

.contact-section .contact-card-github .contact-icon {
    background: #24292f;
}

.contact-section .contact-card-whatsapp .contact-icon {
    background: #25d366;
}

.contact-section .contact-card-wechat .contact-icon {
    background: #07c160;
}

.contact-section .contact-card-facebook .contact-icon {
    background: #1877f2;
}

.contact-section .contact-card-phone .contact-icon {
    background: #d71920;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.contact-section .contact-card-content {
    min-width: 0;

    display: flex;
    flex-direction: column;
}

.contact-section .contact-card small {
    margin-bottom: 4px;

    color: #899aaf;

    font-size: 10px;
    line-height: 1.3;
}

.contact-section .contact-card strong {
    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    line-height: 1.35;

    overflow-wrap: anywhere;
}


/* =========================================================
   ARROW
========================================================= */

.contact-section .contact-card .arrow {
    color: #76899f;

    font-size: 14px;

    text-align: right;

    transition:
        color .25s ease,
        transform .25s ease;
}

.contact-section .contact-card:hover .arrow {
    color: #ffffff;

    transform:
        translate(2px, -2px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .contact-section .contact-cards-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .contact-section {
        padding: 68px 0 72px;
    }


    /* HEADER */

    .contact-section .contact-section-header {
        max-width: 100%;

        margin-bottom: 34px;
    }

    .contact-section .contact-section-label {
        margin-bottom: 14px;
    }

    .contact-section .contact-section-intro h2 {
        font-size: 34px;

        line-height: 1.12;

        letter-spacing: -1px;
    }

    .contact-section .contact-section-intro > p {
        font-size: 13.5px;

        line-height: 1.7;
    }

    .contact-section .contact-focus {
        gap: 6px;

        margin-top: 17px;

        font-size: 11px;
    }


    /* CARDS */

    .contact-section .contact-cards-grid {
        grid-template-columns: 1fr;

        gap: 9px;
    }

    .contact-section .contact-card {
        min-height: 78px;

        grid-template-columns:
            40px minmax(0, 1fr) 18px;

        gap: 12px;

        padding: 13px;
    }

    .contact-section .contact-icon {
        width: 38px;
        height: 38px;
    }

    .contact-section .contact-icon svg {
        width: 18px;
        height: 18px;
    }

    .contact-section .contact-card strong {
        font-size: 12.5px;
    }

}


/* =========================================================
   SIMPLE GOOGLE TRANSLATOR - HEADER
========================================================= */

.header-translator {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

#google_translate_element {
    display: flex;
    align-items: center;
    line-height: 1;
}

#google_translate_element .goog-te-gadget {
    margin: 0 !important;
    padding: 0 !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 1 !important;
}

#google_translate_element .goog-te-combo {
    width: auto;
    max-width: 170px;
    min-width: 135px;
    height: 40px;

    margin: 0 !important;
    padding: 0 10px;

    border: 1px solid rgba(7, 23, 43, 0.13);
    border-radius: 8px;

    background: #ffffff;
    color: var(--navy);

    font-family: inherit;
    font-size: 11px;
    font-weight: 700;

    cursor: pointer;
    outline: none;

    transition:
        border-color .25s ease,
        box-shadow .25s ease;
}

#google_translate_element .goog-te-combo:hover,
#google_translate_element .goog-te-combo:focus {
    border-color: var(--red);

    box-shadow:
        0 7px 18px rgba(7, 23, 43, 0.08);
}

/* Hide Google's small branding text beside the dropdown. */
#google_translate_element .goog-logo-link,
#google_translate_element .goog-te-gadget span {
    display: none !important;
}

/* Keep the translator clean inside the mobile navigation. */
@media (max-width: 820px) {

    .header-translator {
        width: 100%;
        margin: 7px 0;
    }

    #google_translate_element,
    #google_translate_element .goog-te-gadget {
        width: 100%;
    }

    #google_translate_element .goog-te-combo {
        width: 100%;
        max-width: none;
    }
}

