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

:root {
    --color-primary: #1a365d;
    --color-primary-light: #2c5282;
    --color-accent: #3182ce;
    --color-text: #2d3748;
    --color-text-light: #4a5568;
    --color-bg: #ffffff;
    --color-bg-alt: #f7fafc;
    --color-border: #e2e8f0;
    --font-sans: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Source Serif Pro', Georgia, serif;
    --max-width: 1100px;
    --spacing-unit: 1rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 1.5);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    color: var(--color-primary);
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    font-weight: 600;
}

h2 {
    font-size: 1.875rem;
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    position: relative;
    padding-bottom: 0.75rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: var(--spacing-unit);
}

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

a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    padding: calc(var(--spacing-unit) * 4) 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 3);
}

.hero-text h1 {
    color: white;
    margin-bottom: 0.5rem;
}

.hero-text .title {
    font-size: 1.375rem;
    font-weight: 300;
    margin-bottom: 0.25rem;
    opacity: 0.95;
}

.hero-text .departments {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.hero-text .institution {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.95;
}

/* Navigation */
.main-nav {
    background-color: white;
    border-bottom: 1px solid var(--color-border);
    position: relative;
    z-index: 100;
}

.main-nav.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: calc(var(--spacing-unit) * 2);
    padding: var(--spacing-unit) 0;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    display: block;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.2s ease;
}

.main-nav a:hover {
    color: var(--color-accent);
    text-decoration: none;
}

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

/* Sections */
.section {
    padding: calc(var(--spacing-unit) * 4) 0;
}

.section-alt {
    background-color: var(--color-bg-alt);
}

/* Research Grid */
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: calc(var(--spacing-unit) * 1.5);
}

.research-card {
    background: white;
    padding: calc(var(--spacing-unit) * 1.5);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.research-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.research-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--spacing-unit);
    color: var(--color-accent);
}

.research-icon svg {
    width: 100%;
    height: 100%;
}

.research-card h3 {
    font-family: var(--font-sans);
    font-size: 1.125rem;
}

.research-card p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* Publications */
.pub-note {
    color: var(--color-text-light);
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.publications-list {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 1.5);
}

.publication {
    padding: calc(var(--spacing-unit) * 1.5);
    border-left: 3px solid var(--color-accent);
    background: var(--color-bg-alt);
}

.publication h3 {
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    color: var(--color-text);
}

.pub-journal {
    color: var(--color-accent);
    font-style: italic;
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.pub-desc {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

.more-link {
    margin-top: calc(var(--spacing-unit) * 1.5);
}

.pub-section-title {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-unit);
    font-weight: 600;
}

.publication.featured {
    background: white;
    border-left-width: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.pub-authors {
    font-size: 0.9375rem;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.pub-authors strong {
    color: var(--color-primary);
}

.pub-links {
    margin-top: 0.75rem;
    margin-bottom: 0;
    font-size: 0.875rem;
}

.pub-links a {
    font-weight: 600;
}

/* Data Resources Section */
.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: calc(var(--spacing-unit) * 1.5);
}

.data-card {
    background: white;
    padding: calc(var(--spacing-unit) * 1.5);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.data-card h3 {
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.data-card p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    margin-bottom: var(--spacing-unit);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Timeline (Education) */
.timeline {
    position: relative;
    padding-left: calc(var(--spacing-unit) * 2);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

.timeline-item {
    position: relative;
    padding-bottom: calc(var(--spacing-unit) * 2);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: calc(-2rem + 2px);
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-accent);
    border: 2px solid white;
    box-shadow: 0 0 0 2px var(--color-accent);
}

.timeline-content h3 {
    font-family: var(--font-sans);
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.institution-name {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.125rem;
}

.location {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* Awards */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: calc(var(--spacing-unit) * 1.5);
}

.award-card {
    background: white;
    padding: calc(var(--spacing-unit) * 1.5);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--color-accent);
}

.award-year {
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.award-card h3 {
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.award-card p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* Contact */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-unit);
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-unit);
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item span {
    color: var(--color-text-light);
}

.profile-links {
    display: flex;
    gap: var(--spacing-unit);
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--color-accent);
    color: white;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.btn:hover {
    background: var(--color-primary);
    color: white;
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.btn-outline:hover {
    background: var(--color-accent);
    color: white;
}

/* Footer */
footer {
    background: var(--color-primary);
    color: white;
    padding: calc(var(--spacing-unit) * 1.5) 0;
    text-align: center;
}

footer p {
    margin-bottom: 0;
    opacity: 0.9;
    font-size: 0.9375rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero {
        padding: calc(var(--spacing-unit) * 2.5) 0;
    }

    .section {
        padding: calc(var(--spacing-unit) * 2.5) 0;
    }

    .main-nav ul {
        gap: var(--spacing-unit);
    }

    .main-nav a {
        font-size: 0.8125rem;
    }

    .timeline {
        padding-left: calc(var(--spacing-unit) * 1.5);
    }

    .timeline-marker {
        left: calc(-1.5rem + 2px);
    }
}

@media (max-width: 480px) {
    .main-nav ul {
        justify-content: center;
    }

    .profile-links {
        flex-direction: column;
    }

    .btn {
        text-align: center;
    }
}

/* Print Styles */
@media print {
    .main-nav,
    .btn,
    .profile-links {
        display: none;
    }

    .section, .section-alt {
        background: white;
        padding: var(--spacing-unit) 0;
    }

    .hero {
        background: none;
        color: var(--color-text);
        padding: var(--spacing-unit) 0;
    }

    .hero-text h1 {
        color: var(--color-primary);
    }
}
.about-photo img {
  max-width: 600px;   /* ← change this number */
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.about-photo {
  margin: 1.5rem auto 2rem auto;
  text-align: center;
}

.photo-caption {
  font-size: 1.25rem;      /* bigger text */
  font-weight: 700;        /* bold */
  color: #0f2a44;          /* matches your site blue */
  margin-bottom: 1rem;
  text-align: center;
}
