/* CSS Variables */
:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #14b8a6;
    --secondary: #6366f1;
    --accent: #f59e0b;
    --dark: #1e293b;
    --dark-light: #334155;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f1f5f9;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    background: linear-gradient(135deg, #3a9d7c 0%, #4db8d4 50%, #1e5090 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-menu li:nth-child(1) a { color: #3a9d7c; }
.nav-menu li:nth-child(2) a { color: #43ad9e; }
.nav-menu li:nth-child(3) a { color: #4db8d4; }
.nav-menu li:nth-child(4) a { color: #3b82c4; }
.nav-menu li:nth-child(5) a { color: #1e5090; }

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #3a9d7c 0%, #4db8d4 50%, #1e5090 100%);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--white);
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4rem;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #3a9d7c 0%, #4db8d4 50%, #1e5090 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    color: var(--dark-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.hero-affiliation {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 550px;
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 260px;
        margin: 0 auto;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    opacity: 0.9;
    color: var(--white);
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, #3a9d7c 0%, #4db8d4 50%, #1e5090 100%) 1;
    background: linear-gradient(135deg, #3a9d7c 0%, #4db8d4 50%, #1e5090 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Section */
.about {
    background: var(--white);
}

.about-hero-image {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.about-hero-image img {
    width: 100%;
    border-radius: 12px;
}

.about-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: left !important;
}

.about-intro p {
    font-size: 1.2rem;
    color: var(--dark-light);
    line-height: 1.8;
    margin-bottom: 2rem !important;
}

.about-intro p:last-child {
    margin-bottom: 0 !important;
}

.research-areas {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.research-area-stacked {
    max-width: 900px;
    margin: 0 auto;
}

.research-area-image-large {
    margin-bottom: 2rem;
}

.research-area-image-large img {
    width: 100%;
    max-width: 700px;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
}

.research-area-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #3a9d7c 0%, #4db8d4 50%, #1e5090 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.research-area-content p {
    font-size: 1.1rem;
    color: var(--dark-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.research-area-content em {
    font-style: italic;
}

.research-area-content a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-light);
    transition: all 0.2s ease;
}

.research-area-content a:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-dark);
}

.current-work {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    margin-top: 5rem;
}

.current-work .section-title {
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .research-area-image-large img {
        max-width: 100%;
    }

    .research-area-content h3 {
        font-size: 1.4rem;
    }

    .research-area-content p {
        font-size: 1rem;
    }
}

/* Research Section */
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.research-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.research-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.research-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.research-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.research-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* People Section */
.people {
    background: var(--white);
}

.people-category {
    margin-bottom: 3rem;
}

.category-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, #3a9d7c 0%, #4db8d4 50%, #1e5090 100%) 1;
    background: linear-gradient(135deg, #3a9d7c 0%, #4db8d4 50%, #1e5090 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.people-grid-single {
    max-width: 400px;
}

.person-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.person-card-pi {
    /* No special styling needed */
}

.person-figure {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light) 0%, #e2e8f0 100%);
}

.person-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.person-figure img.zoom-out {
    object-fit: contain;
    object-position: center center;
    background: linear-gradient(135deg, var(--light) 0%, #e2e8f0 100%);
}

.person-info {
    padding: 1.25rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.person-role-tag {
    display: inline-block;
    background: linear-gradient(135deg, #3a9d7c 0%, #4db8d4 50%, #1e5090 100%);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.person-info h4 {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.person-title {
    color: var(--dark-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.person-affiliation,
.person-degree {
    color: var(--gray);
    font-size: 0.875rem;
    line-height: 1.5;
}

.person-current {
    color: var(--gray);
    font-size: 0.875rem;
    font-style: italic;
    margin-top: 0.25rem;
}

.person-links {
    margin-top: auto;
    padding-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.person-links a {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--primary);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.person-links a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.alumni-category .person-card {
    opacity: 0.9;
}

/* Alumni Section */
.alumni-section {
    margin-top: 8rem;
    padding-top: 5rem;
    border-top: 1px solid var(--light);
}

.alumni-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, #3a9d7c 0%, #4db8d4 50%, #1e5090 100%) 1;
    background: linear-gradient(135deg, #3a9d7c 0%, #4db8d4 50%, #1e5090 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.alumni-list {
    list-style: none;
    padding: 0;
    columns: 2;
    column-gap: 3rem;
}

.alumni-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--light);
    break-inside: avoid;
    font-size: 0.95rem;
    color: var(--dark-light);
}

.alumni-list li strong {
    color: var(--dark);
    font-weight: 600;
}

@media (max-width: 768px) {
    .alumni-list {
        columns: 1;
    }
}

/* Collaborators */
.collaborators-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.collaborator {
    background: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-size: 0.95rem;
    color: var(--dark);
    box-shadow: var(--shadow);
    text-decoration: none;
    transition: all 0.2s ease;
}

.collaborator:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.collaborator:hover em {
    color: rgba(255, 255, 255, 0.8);
}

.collaborator em {
    color: var(--gray);
    font-style: normal;
}

/* Publications Section */
.publications-list {
    max-width: 900px;
    margin: 0 auto;
}

.pub-year {
    margin-bottom: 2.5rem;
}

.pub-year h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.pub-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pub-item {
    background: var(--light);
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

.pub-authors {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.pub-title {
    color: var(--dark-light);
    margin-bottom: 0.25rem;
    line-height: 1.5;
}

.pub-journal {
    color: var(--gray);
    font-size: 0.9rem;
    font-style: italic;
}

.pub-links {
    margin-top: 0.5rem;
    display: flex;
    gap: 1rem;
}

.pub-links a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--primary);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.pub-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.publications-note {
    text-align: center;
    margin-top: 2rem;
    color: var(--gray);
}

/* Publications Grid with Figures */
.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pub-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pub-card:hover {
    /* No hover effect */
}

.pub-figure {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light) 0%, #e2e8f0 100%);
}

.pub-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pub-card:hover .pub-figure img {
    /* No hover effect */
}

.pub-info {
    padding: 1.25rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pub-year-tag {
    display: inline-block;
    background: linear-gradient(135deg, #3a9d7c 0%, #4db8d4 50%, #1e5090 100%);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.pub-info .pub-authors {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.pub-info .pub-title {
    color: var(--dark-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    flex: 1;
}

.pub-info .pub-journal {
    color: var(--gray);
    font-size: 0.85rem;
    font-style: italic;
    margin-bottom: 0.75rem;
}

.pub-info .pub-links {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.pub-info .pub-links a {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--primary);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.pub-info .pub-links a:hover {
    background: var(--primary);
    color: var(--white);
}

@media (max-width: 768px) {
    .publications-grid {
        grid-template-columns: 1fr;
    }

    .pub-figure {
        height: 180px;
    }
}

/* News Section */
.news {
    background: var(--light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.news-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.news-date {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.news-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.news-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Subpage Styling */
.subpage {
    padding-top: 8rem;
    min-height: 100vh;
}

/* News Page */
.news-page {
    padding-top: 8rem;
    background: var(--white);
    min-height: 100vh;
}

.news-page .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.news-page .news-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-figure {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light) 0%, #e2e8f0 100%);
}

.news-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
}

.news-page .news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.news-info {
    padding: 1.5rem;
}

.news-date-tag {
    display: inline-block;
    background: linear-gradient(135deg, #3a9d7c 0%, #4db8d4 50%, #1e5090 100%);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.news-content {
    color: var(--dark-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.news-content a {
    color: var(--primary);
    border-bottom: 1px solid var(--primary-light);
    transition: all 0.2s ease;
}

.news-content a:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-dark);
}

.news-content em {
    font-style: italic;
}

/* Old News Section */
.old-news-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--light);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.old-news-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #3a9d7c 0%, #4db8d4 50%, #1e5090 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.old-news-year {
    margin-bottom: 2.5rem;
}

.old-news-year h4 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--light);
}

.old-news-list {
    list-style: none;
    padding: 0;
}

.old-news-list li {
    padding: 0.75rem 0;
    color: var(--dark-light);
    font-size: 0.95rem;
    line-height: 1.6;
    border-bottom: 1px solid var(--light);
}

.old-news-list li:last-child {
    border-bottom: none;
}

.old-news-list li strong {
    color: var(--dark);
}

.old-news-list li a {
    color: var(--primary);
}

.old-news-list li a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.old-news-list li em {
    font-style: italic;
}

@media (max-width: 768px) {
    .news-page {
        padding-top: 6rem;
    }

    .news-page .news-grid {
        grid-template-columns: 1fr;
    }

    .old-news-section {
        margin-top: 3rem;
        padding-top: 2rem;
    }
}

/* Contact Section */
.contact-image {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.contact-image img {
    width: 100%;
    border-radius: 12px;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info h3,
.contact-links h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.contact-details p {
    color: var(--dark-light);
    line-height: 1.8;
}

.contact-links ul {
    list-style: none;
}

.contact-links li {
    margin-bottom: 0.75rem;
}

.contact-links a {
    color: var(--primary);
    font-weight: 500;
}

.contact-links a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--gray-light);
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.3s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        font-size: 1.25rem;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .section {
        padding: 4rem 0;
    }

    .hero {
        padding: 5rem 1.5rem 3rem;
    }

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

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

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

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .research-card {
        padding: 1.75rem;
    }

    .collaborators-list {
        flex-direction: column;
    }

    .collaborator {
        text-align: center;
    }
}

/* Animation for scroll reveal (optional enhancement) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.research-card,
.person-card,
.news-card,
.pub-item {
    animation: fadeInUp 0.5s ease forwards;
}
