/* =========================================================
   Reset & Base
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #000;
    color: #f0f0f0;
    line-height: 1.7;
    font-size: 16px;
}

/* =========================================================
   Layout
========================================================= */

header {
    border-bottom: 1px solid #333;
    padding: 16px 0;
    margin-bottom: 50px;
}

.main-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 22px;
}

/* =========================================================
   Navigation
========================================================= */

.nav-bar {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 22px;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 28px;
}

.nav-list a {
    text-decoration: none;
    font-size: 0.95rem;
    color: #e0e0e0;
    font-weight: 500;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-list a:hover,
.nav-list a.active {
    color: #6fb7ff;
    border-bottom-color: #6fb7ff;
}

/* =========================================================
   Links
========================================================= */

a {
    color: #4fa3ff;
    text-decoration: none;
}

a:hover {
    color: #8cc7ff;
    text-decoration: underline;
}

.team-bio a {
    color: #6fb7ff;
    font-weight: 500;
}

/* =========================================================
   Hero Section
========================================================= */

.hero {
    text-align: center;
    margin-bottom: 60px;
}

.profile-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 22px;
}

.name {
    font-size: 2.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.role {
    font-size: 1rem;
    color: #bdbdbd;
}

/* =========================================================
   Sections
========================================================= */

.bio,
.team-bio,
.team-section,
.pub-section,
.news {
    margin-bottom: 65px;
}

.bio h2,
.team-bio h2,
.team-section h2,
.pub-section h2,
.news h2 {
    font-size: 1.45rem;
    font-weight: 600;
    margin-bottom: 18px;
    padding-bottom: 6px;
    border-bottom: 1px solid #333;
}

.bio p,
.team-bio p,
.pub-section p,
.news p {
    margin-bottom: 14px;
    text-align: justify;
    color: #f0f0f0;
}

/* =========================================================
   News & Updates
========================================================= */

.news {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
}

.news h3 {
    margin-top: 2rem;
    font-size: 1.25rem;
    font-weight: 500;
    color: #e6e6e6;
    border-bottom: 1px solid #333;
    padding-bottom: 4px;
}

.news-list {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-top: 12px;
}

.news-list li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

/* =========================================================
   Lists
========================================================= */

ul {
    margin-left: 22px;
    margin-top: 10px;
}

ul li {
    margin-bottom: 8px;
}

/* =========================================================
   Team Page
========================================================= */

.subsection {
    margin-top: 34px;
}

.team-section .subsection {
    margin-bottom: 48px;
}

.subsection h3 {
    font-size: 1.18rem;
    font-weight: 500;
    margin-bottom: 14px;
    color: #e6e6e6;
}

.member-list {
    list-style: none;
    padding-left: 0;
}

.member {
    margin-bottom: 16px;
    line-height: 1.55;
}

.member strong {
    display: block;
    font-size: 1.06rem;
    font-weight: 600;
    color: #ffffff;
}

.member span {
    display: block;
    margin-top: 3px;
    font-size: 0.92rem;
    color: #b8b8b8;
}

/* =========================================================
   Publications
========================================================= */

.pub-link {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    font-size: 1rem;
}

.pub-link svg {
    width: 26px;
    height: 26px;
    margin-right: 10px;
    fill: #6fb7ff;
}

.pub-link:hover svg {
    fill: #9fd0ff;
}

/* =========================================================
   Footer (Dark Theme)
========================================================= */

.footer {
    border-top: 1px solid #333;
    margin-top: 70px;
    padding: 28px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #bdbdbd;          /* light text */
    background-color: #000;   /* dark background */
}

.footer h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: #e6e6e6;
}

.footer a {
    color: #6fb7ff;
    text-decoration: none;
}

.footer a:hover {
    color: #9fd0ff;
    text-decoration: underline;
}


/* =========================================================
   Responsive
========================================================= */

@media (max-width: 700px) {
    .nav-list {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }

    .name {
        font-size: 1.9rem;
    }

    .profile-img {
        width: 120px;
        height: 120px;
    }

    .news {
        padding: 0.5rem;
    }
}
