
/* =========================================
   GLOBAL SETTINGS
========================================= */

:root {
    --navy: #142c45;
    --navy-light: #234967;
    --blue: #477caa;
    --blue-light: #eaf2f8;
    --ink: #1c2935;
    --muted: #647383;
    --white: #ffffff;
    --offwhite: #f7f9fb;
    --border: #e4e9ee;
    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}

::selection {
    background: var(--navy);
    color: white;
}

.section-container,
.nav-container,
.hero-container {
    width: min(1180px, 88%);
    margin: auto;
}


/* =========================================
   NAVIGATION
========================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
}

.logo-mark {
    width: 39px;
    height: 39px;
    background: var(--navy);
    color: white;
    display: grid;
    place-items: center;
    border-radius: 9px;
    font-family: var(--serif);
    font-size: 14px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 19px;
}

.nav-links a {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    transition: 0.3s ease;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--navy);
}

.nav-links .nav-contact {
    background: var(--navy);
    color: white;
    padding: 10px 17px;
    border-radius: 5px;
}

.nav-links .nav-contact:hover {
    background: var(--blue);
    color: white;
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    cursor: pointer;
    width: 35px;
    height: 35px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 23px;
    background: var(--navy);
    margin: 5px auto;
    transition: 0.3s;
}


/* =========================================
   HERO SECTION
========================================= */

.hero {
    min-height: 660px;
    background:
        radial-gradient(
            circle at 85% 45%,
            #edf4f9 0,
            transparent 35%
        ),
        linear-gradient(115deg, #ffffff, #f8fafc);

    position: relative;
    display: flex;
    align-items: center;
    padding: 75px 0 95px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 45px;
}

.availability {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--blue);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 26px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #5b9d85;
    border-radius: 50%;
    box-shadow: 0 0 0 5px #5b9d851c;
}

.hero-intro {
    font-size: 19px;
    color: var(--muted);
}

.hero h1 {
    font-family: var(--serif);
    color: var(--navy);
    font-size: clamp(43px, 5.2vw, 69px);
    line-height: 1.13;
    letter-spacing: -2px;
    margin: 10px 0 20px;
}

.hero h1 span {
    display: block;
    color: var(--blue);
}

.hero h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
}

.hero h2 span {
    color: #9caab7;
    margin: 0 6px;
}

.hero-affiliation {
    color: var(--muted);
    font-size: 14px;
    margin-top: 7px;
}

.hero-description {
    max-width: 540px;
    color: var(--muted);
    font-size: 15px;
    margin: 24px 0 29px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary,
.btn-light {
    padding: 13px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s ease;
}

.btn-primary {
    background: var(--navy);
    color: white;
}

.btn-primary:hover {
    background: var(--blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px #17324f22;
}

.btn-secondary {
    border: 1px solid var(--border);
    color: var(--navy);
    background: white;
}

.btn-secondary:hover {
    border-color: var(--navy);
    transform: translateY(-3px);
}

.hero-social {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 34px;
}

.hero-social a {
    font-size: 12px;
    color: var(--muted);
    border-bottom: 1px solid #aab6c2;
    padding-bottom: 3px;
    transition: 0.3s;
}

.hero-social a:hover {
    color: var(--blue);
    border-color: var(--blue);
}


/* =========================================
   SCIENTIFIC HERO GRAPHIC
========================================= */

.hero-visual {
    position: relative;
    min-height: 430px;
    display: grid;
    place-items: center;
}

.visual-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: #79a9d62c;
    border-radius: 50%;
    filter: blur(55px);
}

.visual-orbit {
    position: absolute;
    border: 1px solid #6c91b34d;
    border-radius: 50%;
}

.orbit-one {
    width: 330px;
    height: 330px;
    animation: rotate 24s linear infinite;
}

.orbit-two {
    width: 255px;
    height: 255px;
    transform: rotateX(65deg) rotateZ(35deg);
    border-style: dashed;
    animation: rotateReverse 30s linear infinite;
}

.orbit-three {
    width: 410px;
    height: 155px;
    transform: rotate(-35deg);
    border-color: #4b83b166;
    animation: rotate 35s linear infinite;
}

.visual-core {
    position: relative;
    z-index: 2;
    width: 175px;
    height: 175px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%,
        #ffffff 0%,
        #a6c7e2 20%,
        #376b98 55%,
        #142c45 100%);
    box-shadow:
        0 0 40px #477caa50,
        inset -12px -15px 25px #10263c;
    display: grid;
    place-items: center;
    animation: float 5s ease-in-out infinite;
}

.core-inner {
    text-align: center;
    color: white;
    font-size: 10px;
    letter-spacing: 3px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.core-inner strong {
    font-size: 22px;
    color: #cde6fa;
}

.floating-label {
    position: absolute;
    z-index: 3;
    background: #ffffffec;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 5px;
    box-shadow: 0 8px 25px #17324f0b;
    font-size: 11px;
    font-weight: 700;
    color: var(--navy);
    animation: float 5s ease-in-out infinite;
}

.floating-label span {
    color: var(--blue);
    margin-right: 7px;
}

.label-one {
    top: 45px;
    left: 0;
}

.label-two {
    top: 165px;
    right: -8px;
    animation-delay: 1s;
}

.label-three {
    bottom: 75px;
    left: 15px;
    animation-delay: 2s;
}

.visual-caption {
    position: absolute;
    bottom: 12px;
    color: #8b9baa;
    font-size: 9px;
    letter-spacing: 2px;
    font-weight: 700;
}

.hero-bottom {
    position: absolute;
    bottom: 20px;
    left: 6%;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #94a2af;
    font-size: 9px;
    letter-spacing: 2px;
}

.scroll-line {
    width: 55px;
    height: 1px;
    background: var(--blue);
}


/* =========================================
   COMMON SECTIONS
========================================= */

.section {
    padding: 95px 0;
}

.section-label {
    color: var(--blue);
    font-size: 10px;
    letter-spacing: 2.5px;
    font-weight: 700;
    margin-bottom: 26px;
}

.section-heading {
    max-width: 700px;
    margin-bottom: 38px;
}

.section-heading h2,
.intro-heading h2 {
    font-family: var(--serif);
    font-size: clamp(31px, 4vw, 43px);
    color: var(--navy);
    line-height: 1.3;
}

.section-heading p {
    color: var(--muted);
    margin-top: 12px;
    font-size: 14px;
}


/* =========================================
   RESEARCH INTRO
========================================= */

.research-intro {
    background: white;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.intro-heading h2 span {
    display: block;
    color: var(--blue);
}

.intro-text p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 18px;
    line-height: 1.9;
}

.text-link {
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid #8aa0b5;
    padding-bottom: 4px;
    display: inline-block;
    transition: 0.3s;
}

.text-link:hover {
    color: var(--blue);
    border-color: var(--blue);
}


/* =========================================
   RESEARCH AREAS
========================================= */

.research-areas {
    background: var(--offwhite);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
}

.area-card {
    background: white;
    padding: 28px 22px;
    border: 1px solid var(--border);
    min-height: 270px;
    position: relative;
    transition: 0.35s;
}

.area-card:hover {
    transform: translateY(-7px);
    border-color: #9cb4c9;
    box-shadow: 0 14px 35px #17324f0b;
}

.card-number {
    position: absolute;
    top: 18px;
    right: 20px;
    color: #a7b4c0;
    font-size: 11px;
}

.area-icon {
    width: 47px;
    height: 47px;
    display: grid;
    place-items: center;
    background: var(--blue-light);
    color: var(--navy);
    font-size: 25px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.area-card h3 {
    color: var(--navy);
    font-size: 16px;
    margin-bottom: 12px;
}

.area-card p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.area-card a {
    font-size: 11px;
    font-weight: 700;
    color: var(--blue);
}


/* =========================================
   FEATURED RESEARCH
========================================= */

.featured-research {
    background: white;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.project-card {
    border: 1px solid var(--border);
    background: white;
    overflow: hidden;
    transition: 0.35s;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px #17324f10;
}

.project-visual {
    height: 205px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.project-visual > span {
    position: absolute;
    top: 15px;
    left: 17px;
    color: #ffffffa8;
    font-size: 11px;
}

.project-one {
    background:
        radial-gradient(circle at 50% 50%,
        #83b2d4 0,
        #365d80 27%,
        #142c45 70%);
}

.project-two {
    background:
        radial-gradient(circle at 50% 45%,
        #c2d6e6 0,
        #567d9e 32%,
        #203d59 75%);
}

.project-three {
    background:
        radial-gradient(circle at 50% 50%,
        #a7c9d9 0,
        #3e6580 35%,
        #172e45 80%);
}

.project-art {
    color: white;
    font-family: var(--serif);
    font-size: 50px;
    letter-spacing: 5px;
    text-shadow: 0 0 25px #ffffff88;
    animation: float 5s ease-in-out infinite;
}

.project-info {
    padding: 24px;
}

.project-category {
    font-size: 9px;
    color: var(--blue);
    letter-spacing: 2px;
    font-weight: 700;
}

.project-info h3 {
    font-family: var(--serif);
    color: var(--navy);
    font-size: 19px;
    line-height: 1.4;
    margin: 12px 0;
}

.project-info p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.8;
}

.center-button {
    text-align: center;
    margin-top: 40px;
}


/* =========================================
   PUBLICATION
========================================= */

.publication-section {
    background: var(--offwhite);
}

.publication-box {
    padding: 42px;
    border: 1px solid var(--border);
    background: white;
    display: grid;
    grid-template-columns: 1fr 190px;
    gap: 30px;
    align-items: center;
}

.publication-tag {
    color: var(--blue);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.publication-left h2 {
    color: var(--navy);
    font-family: var(--serif);
    font-size: 25px;
    line-height: 1.45;
    margin: 18px 0;
}

.publication-left p {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 18px;
}

.publication-right {
    border-left: 1px solid var(--border);
    min-height: 145px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.publication-year {
    font-family: var(--serif);
    color: var(--navy);
    font-size: 48px;
}

.publication-journal {
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--blue);
    font-weight: 700;
}


/* =========================================
   ACHIEVEMENTS
========================================= */

.achievements-section {
    background: white;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.achievement-card {
    padding: 27px;
    border: 1px solid var(--border);
    border-top: 3px solid var(--blue);
    transition: 0.3s;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px #17324f0b;
}

.achievement-year {
    font-size: 11px;
    color: var(--blue);
    font-weight: 700;
    letter-spacing: 2px;
}

.achievement-card h3 {
    color: var(--navy);
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1.4;
    margin: 16px 0;
}

.achievement-card p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}


/* =========================================
   CONTACT CTA
========================================= */

.contact-cta {
    background:
        radial-gradient(circle at 80% 20%, #477caa55, transparent 35%),
        var(--navy);
    color: white;
    padding: 90px 0;
}

.contact-cta .section-label {
    color: #9dc4e3;
}

.contact-cta h2 {
    font-family: var(--serif);
    font-size: clamp(33px, 4.5vw, 52px);
    max-width: 750px;
    line-height: 1.3;
}

.contact-cta h2 span {
    display: block;
    color: #9dc4e3;
}

.contact-cta p {
    color: #c1d0dc;
    font-size: 14px;
    margin: 22px 0 30px;
}

.btn-light {
    background: white;
    color: var(--navy);
}

.btn-light:hover {
    background: #dceaf5;
    transform: translateY(-3px);
}


/* =========================================
   FOOTER
========================================= */

.footer {
    background: #0d2032;
    color: white;
    padding: 45px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 35px;
}

.footer-content h3 {
    font-family: var(--serif);
    font-size: 21px;
    margin-bottom: 12px;
}

.footer-content p {
    color: #a8b9c8;
    font-size: 12px;
    line-height: 1.9;
}

.footer-links {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 12px;
    color: #c2d0dc;
    transition: 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #ffffff20;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 10px;
    color: #8fa4b7;
}


/* =========================================
   ANIMATIONS
========================================= */

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateReverse {
    from {
        transform: rotateX(65deg) rotateZ(0deg);
    }

    to {
        transform: rotateX(65deg) rotateZ(-360deg);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 1100px) {

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 11px;
    }

    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 850px) {

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 78px;
        left: 0;
        width: 100%;
        background: white;
        padding: 22px 6%;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 15px 25px #17324f0c;
        gap: 18px;
    }

    .nav-links.open {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 65px;
    }

    .hero-visual {
        min-height: 370px;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .project-grid {
        grid-template-columns: 1fr 1fr;
    }

    .achievement-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 580px) {

    .section-container,
    .nav-container,
    .hero-container {
        width: 90%;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero-visual {
        min-height: 330px;
    }

    .orbit-one {
        width: 260px;
        height: 260px;
    }

    .orbit-two {
        width: 205px;
        height: 205px;
    }

    .orbit-three {
        width: 300px;
        height: 120px;
    }

    .visual-core {
        width: 140px;
        height: 140px;
    }

    .label-one {
        left: -5px;
    }

    .label-two {
        right: -5px;
    }

    .label-three {
        left: -5px;
    }

    .areas-grid,
    .project-grid,
    .achievement-grid {
        grid-template-columns: 1fr;
    }

    .publication-box {
        grid-template-columns: 1fr;
        padding: 26px;
    }

    .publication-right {
        border-left: 0;
        border-top: 1px solid var(--border);
        padding-top: 20px;
        min-height: auto;
    }

    .section {
        padding: 70px 0;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .hero-social {
        gap: 13px;
    }

}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
