/* ============================================
   PREMIUM DESIGN
   ============================================ */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #000;
    --primary-white: #fff;
    --accent-blue: #0066cc;
    --accent-blue-dark: #0052a3;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --text-muted: #999;
    --bg-light: #f8f8f8;
    --bg-lighter: #fafafa;
    --border-light: #e8e8e8;
    --spacing: 1rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    color: var(--text-dark);
    background-color: var(--primary-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography System */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 4rem;
    font-weight: 800;
}

h2 {
    font-size: 3rem;
    font-weight: 800;
}

h3 {
    font-size: 1.4rem;
    font-weight: 700;
}

p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: calc(var(--spacing) * 0.75);
    line-height: 1.7;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.fade-in-visible {
    animation: fadeIn 0.8s ease forwards;
}

.slide-in-left {
    opacity: 0;
    animation: slideInLeft 0.8s ease forwards;
}

.slide-in-right {
    opacity: 0;
    animation: slideInRight 0.8s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }
.fade-in:nth-child(5) { animation-delay: 0.5s; }
.fade-in:nth-child(6) { animation-delay: 0.6s; }

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    padding: calc(var(--spacing) * 1.5) 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.logo h1 {
    font-size: 1.3rem;
    margin: 0;
    letter-spacing: 0.05em;
    font-weight: 800;
}

.logo .tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: calc(var(--spacing) * 3);
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.nav-links a:hover {
    color: var(--accent-blue);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: calc(var(--spacing) * 0.5);
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: calc(80px + var(--spacing) * 8);
    margin-top: 0;
}

.page-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: calc(80px + var(--spacing) * 6);
    margin-top: 0;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 50%, #e8e8e8 100%);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.3) 100%);
    z-index: -1;
}

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

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-overline {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: calc(var(--spacing) * 2);
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: calc(var(--spacing) * 1.5);
    letter-spacing: -0.03em;
    color: var(--text-dark);
}

.hero-tagline {
    font-size: 1.8rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: calc(var(--spacing) * 1.5);
    line-height: 1.3;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: calc(var(--spacing) * 3);
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-group {
    display: flex;
    gap: calc(var(--spacing) * 2);
    justify-content: center;
    flex-wrap: wrap;
}

/* Lava Lamp Canvas */
.lava-lamp-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--spacing) * 1.1) calc(var(--spacing) * 2.5);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 0;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
    cursor: pointer;
    border: 2px solid transparent;
    text-transform: uppercase;
}

.cta-button.primary {
    background: var(--primary-black);
    color: var(--primary-white);
    border: 2px solid var(--primary-black);
}

.cta-button.primary:hover {
    background: var(--primary-white);
    color: var(--primary-black);
    border-color: var(--primary-black);
}

.cta-button.secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.cta-button.secondary:hover {
    background: var(--text-dark);
    color: var(--primary-white);
}

/* Sections */
section {
    padding: calc(var(--spacing) * 8) 0;
    position: relative;
}

section:nth-child(odd) {
    background: var(--primary-white);
}

section:nth-child(even) {
    background: var(--bg-lighter);
}

/* Section Headers */
.section-header {
    margin-bottom: calc(var(--spacing) * 5);
}

.section-title {
    font-size: 3rem;
    margin-bottom: calc(var(--spacing) * 1);
}

.pub-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: calc(var(--spacing) * 1.5);
    margin-top: calc(var(--spacing) * 2);
    color: var(--text-dark);
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin: 0;
}

/* Research Focus Cards */
.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: calc(var(--spacing) * 1.5);
    margin-top: calc(var(--spacing) * 2);
}

.focus-card {
    padding: calc(var(--spacing) * 2.5);
    background: var(--primary-white);
    border-radius: 0;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.4s ease;
    position: relative;
}

.focus-card:hover {
    transform: translateY(-12px);
    border-color: var(--accent-blue);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.focus-icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 300px;
    margin: 0 auto calc(var(--spacing) * 2);
    background: transparent;
    border-radius: 0;
}

.focus-icon {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}

.focus-card h3 {
    margin-bottom: calc(var(--spacing) * 1.2);
    font-size: 1.3rem;
}

.focus-card p {
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Card Expansion Modal */
.expansion-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: calc(var(--spacing) * 2);
    animation: fadeIn 0.3s ease;
}

.expansion-modal {
    background: var(--primary-white);
    border-radius: 8px;
    width: 80%;
    max-height: 85vh;
    overflow-y: auto;
    padding: calc(var(--spacing) * 4);
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.close-button {
    position: absolute;
    top: calc(var(--spacing) * 2);
    right: calc(var(--spacing) * 2);
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: color 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.close-button:hover {
    color: var(--accent-blue);
}

.modal-content {
    text-align: center;
}

.modal-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: calc(var(--spacing) * 2);
    min-height: 250px;
}

.modal-icon {
    width: 100%;
    height: auto;
    max-width: 400px;
    display: block;
}

.expansion-modal h2 {
    margin-bottom: calc(var(--spacing) * 2);
    color: var(--text-dark);
}

.expansion-modal h3 {
    margin-top: calc(var(--spacing) * 2.5);
    margin-bottom: calc(var(--spacing) * 1.5);
    text-align: left;
    color: var(--text-dark);
}

.modal-description {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: calc(var(--spacing) * 2);
    color: var(--text-light);
    text-align: left;
}

.modal-details {
    list-style: none;
    text-align: left;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 1.2);
}

.modal-details li {
    padding-left: calc(var(--spacing) * 2);
    position: relative;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

.modal-details li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Student Carousel */
.student-carousel {
    margin-top: calc(var(--spacing) * 3);
    padding-top: calc(var(--spacing) * 2);
    border-top: 1px solid var(--border-light);
}

.student-carousel h3 {
    text-align: center;
    margin-bottom: calc(var(--spacing) * 2);
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(var(--spacing) * 2);
    margin-bottom: calc(var(--spacing) * 2);
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    gap: calc(var(--spacing) * 2);
    padding: calc(var(--spacing) * 0.5) 0;
    -webkit-overflow-scrolling: auto;
    /* Subtle thin scrollbar */
    scrollbar-width: thin;
    scrollbar-color: var(--border-light) transparent;
}

.carousel-wrapper::-webkit-scrollbar {
    height: 1px;
}

.carousel-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.carousel-wrapper::-webkit-scrollbar-thumb {
    background-color: var(--border-light);
}

.carousel-wrapper::-webkit-scrollbar-thumb:hover {
    background-color: var(--text-muted);
}

.carousel-wrapper.centered {
    justify-content: center;
    padding: calc(var(--spacing) * 0.5);
}

.carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.carousel-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(var(--spacing) * 1);
}

.students-grid {
    display: flex;
    gap: calc(var(--spacing) * 2);
    flex-wrap: nowrap;
}

.carousel-arrow {
    background: transparent;
    color: var(--accent-blue);
    border: none;
    width: 30px;
    height: auto;
    min-height: 180px;
    border-radius: 0;
    font-size: 2.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, transform 0.2s ease;
    flex-shrink: 0;
    line-height: 1;
    padding: 0;
}

.carousel-arrow:hover {
    color: var(--accent-blue-dark);
    transform: scale(1.1);
}

.carousel-arrow:active {
    transform: scale(0.95);
}

.student-card-carousel {
    width: 250px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

.student-carousel-image {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: calc(var(--spacing) * 1.5);
}

.student-card-carousel h4 {
    margin-bottom: calc(var(--spacing) * 0.5);
    color: var(--text-dark);
    font-size: 1.1rem;
}

.student-title {
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: calc(var(--spacing) * 0.75);
}

.student-bio {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.carousel-indicators {
    display: none;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-light);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.indicator:hover {
    background-color: var(--text-muted);
    transform: scale(1.2);
}

.indicator.active {
    background-color: var(--accent-blue);
    transform: scale(1.3);
}

/* Responsive for carousel */
@media (max-width: 1024px) {
    /* Carousel stays single row */
}

@media (max-width: 1000px) {
    .logo .tagline {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-content {
        position: relative;
        flex-wrap: wrap;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: var(--spacing);
        padding: calc(var(--spacing) * 1.5);
        border-bottom: 1px solid var(--border-light);
        display: none;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        text-align: left;
    }

    .navbar {
        padding: calc(var(--spacing) * 1) 0;
    }
}

@media (max-width: 768px) {
}

/* Research Areas */
.research-areas {
    background: var(--bg-lighter);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: calc(var(--spacing) * 3);
    margin-top: calc(var(--spacing) * 2);
}

.area-item {
    padding: calc(var(--spacing) * 2.5);
    background: var(--primary-white);
    border-radius: 0;
    border-left: 6px solid var(--accent-blue);
    position: relative;
    transition: all 0.3s ease;
}

.area-item:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.area-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-blue);
    opacity: 0.5;
    margin-bottom: calc(var(--spacing) * 0.5);
}

.area-item h3 {
    font-size: 1.15rem;
    margin-bottom: calc(var(--spacing) * 1);
}

.area-item p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Leader Section */
.leader-section {
    background: var(--primary-white);
    padding: calc(var(--spacing) * 6) 0;
}

.leader-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--spacing) * 6);
    align-items: center;
    justify-content: center;
}

.leader-overline {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: calc(var(--spacing) * 1.5);
}

.leader-text h2 {
    font-size: 2.8rem;
    margin-bottom: calc(var(--spacing) * 1);
}

.leader-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: calc(var(--spacing) * 2);
}

.leader-text p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: calc(var(--spacing) * 1.5);
}

.leader-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.leader-box {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.leader-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

/* Team Section */
.team {
    background: var(--bg-lighter);
    padding: calc(var(--spacing) * 6) 0;
}

.team-category {
    margin-bottom: calc(var(--spacing) * 6);
}

.team-category-title {
    font-size: 1.8rem;
    margin-bottom: calc(var(--spacing) * 4);
    text-align: left;
    color: var(--text-dark);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: calc(var(--spacing) * 3);
}

.team-member-card {
    text-align: center;
    background: var(--primary-white);
    border-radius: 0;
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-blue);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.team-member-image {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    overflow: hidden;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-card h3 {
    font-size: 1.1rem;
    margin: calc(var(--spacing) * 2) calc(var(--spacing) * 1.5) calc(var(--spacing) * 0.5);
}

.team-member-title {
    font-size: 0.9rem;
    color: var(--accent-blue);
    font-weight: 600;
    margin: 0 calc(var(--spacing) * 1.5) calc(var(--spacing) * 1);
}

.team-member-bio {
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 0 calc(var(--spacing) * 1.5) calc(var(--spacing) * 2);
    line-height: 1.6;
}

/* Alumni Section */
.alumni-table-wrapper {
    overflow-x: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.alumni-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-lighter);
}

.alumni-table thead {
    background: linear-gradient(135deg, var(--accent-blue) 0%, #0056b3 100%);
    color: white;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 10;
}

.alumni-table thead th {
    padding: calc(var(--spacing) * 1.5);
    text-align: left;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.alumni-table tbody tr {
    border-bottom: 1px solid var(--bg-light);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.alumni-table tbody tr:hover {
    background: var(--bg-light);
    box-shadow: inset 4px 0 0 var(--accent-blue);
}

.alumni-table tbody tr:last-child {
    border-bottom: none;
}

.alumni-table td {
    padding: calc(var(--spacing) * 1.25);
}

.alumni-name-cell {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.alumni-role-cell {
    color: var(--accent-blue);
    font-weight: 500;
    font-size: 0.95rem;
}

.alumni-position-cell {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 300;
}

.alumni-co-advised {
    color: var(--accent-blue);
    font-weight: 500;
    display: inline;
    margin-left: 8px;
    font-size: 0.9rem;
}

.alumni-note {
    margin-top: calc(var(--spacing) * 1.5);
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.co-advised {
    color: var(--accent-blue);
    font-weight: 600;
    display: inline;
    margin-left: 4px;
}

/* Responsive table */
@media (max-width: 768px) {
    .alumni-table-wrapper {
        box-shadow: none;
    }

    .alumni-table thead {
        display: none;
    }
    
    .alumni-table {
        background: transparent;
    }
    
    .alumni-table tbody {
        display: grid;
        grid-template-columns: 1fr;
        gap: calc(var(--spacing) * 1.5);
    }
    
    .alumni-table tr {
        display: grid;
        grid-template-columns: 1fr;
        gap: calc(var(--spacing) * 1);
        background: var(--bg-lighter);
        border: none;
        border-left: 4px solid var(--accent-blue);
        border-radius: 8px;
        padding: calc(var(--spacing) * 1.5);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
    }
    
    .alumni-table tr:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        transform: translateY(-2px);
    }
    
    .alumni-table td {
        display: flex;
        flex-direction: column;
        padding: 0;
        border: none;
    }
    
    .alumni-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--accent-blue);
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: calc(var(--spacing) * 0.5);
        display: block;
    }
    
    .alumni-name-cell {
        grid-column: 1;
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
    }
    
    .alumni-name-cell::before {
        content: "Name";
    }
    
    .alumni-role-cell::before {
        content: "Degree/Position";
    }
    
    .alumni-position-cell::before {
        content: "Last Known Affiliation";
    }

    .alumni-name-cell,
    .alumni-role-cell,
    .alumni-position-cell {
        padding: 0 !important;
    }
}

/* List-based styling for legacy support */
.alumni-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing) * 2);
}

.alumni-item {
    padding: calc(var(--spacing) * 2);
    background: var(--bg-lighter);
    border-left: 4px solid var(--accent-blue);
    transition: all 0.3s ease;
}

.alumni-item:hover {
    background: var(--bg-light);
    transform: translateX(4px);
}

.alumni-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: calc(var(--spacing) * 0.5);
}

.alumni-role {
    font-size: 0.9rem;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: calc(var(--spacing) * 0.5);
}

.alumni-position {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}


/* Publications */
.publications {
    background: var(--primary-white);
}

.pub-list {
    margin-top: calc(var(--spacing) * 2);
}

.pub-item {
    display: block;
    padding: calc(var(--spacing) * 3);
    margin-bottom: calc(var(--spacing) * 2);
    background: var(--bg-lighter);
    border-radius: 0;
    border-left: 6px solid var(--accent-blue);
    position: relative;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.pub-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateX(4px);
}

.pub-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: calc(var(--spacing) * 1);
}

.pub-item h3 {
    font-size: 1.25rem;
    margin-bottom: calc(var(--spacing) * 0.75);
}

.pub-item p {
    font-size: 0.95rem;
    margin-bottom: calc(var(--spacing) * 0.5);
}

.pub-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: calc(var(--spacing) * 0.75);
    color: var(--accent-blue);
}

.pub-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: calc(var(--spacing) * 0.75);
    color: var(--text-light);
}

.pub-meta {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 0;
}

.pub-venue {
    color: var(--accent-blue);
    font-style: italic;
    font-size: 0.9rem;
    font-weight: 600;
}

.pub-item.view-all {
    background: transparent;
    border: none;
    text-align: center;
    padding: calc(var(--spacing) * 2);
}

.pub-link {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

/* Contact Section */
.contact {
    background: var(--bg-lighter);
}

.contact-content {
    display: flex;
    justify-content: center;
    margin-top: calc(var(--spacing) * 2);
}

.contact-info,
.contact-form {
    padding: calc(var(--spacing) * 4);
    background: var(--primary-white);
    border-radius: 0;
    border: 1px solid var(--border-light);
    max-width: 600px;
    width: 100%;
}

.contact-info h3,
.contact-form h3 {
    font-size: 1.4rem;
    margin-bottom: calc(var(--spacing) * 2.5);
}

.info-block {
    margin-bottom: calc(var(--spacing) * 2.5);
}

.info-label {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: calc(var(--spacing) * 0.75);
}

.info-block p {
    margin-bottom: 0;
    line-height: 1.8;
}

form {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 1.5);
}

input,
textarea {
    padding: calc(var(--spacing) * 1.2);
    border: 1px solid var(--border-light);
    border-radius: 0;
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--bg-lighter);
    transition: all 0.3s ease;
    color: var(--text-dark);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}

input:focus,
textarea:focus {
    outline: none;
    background: var(--primary-white);
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.submit-button {
    background: var(--primary-black);
    color: var(--primary-white);
    padding: calc(var(--spacing) * 1.2);
    border: 2px solid var(--primary-black);
    border-radius: 0;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.submit-button:hover {
    background: var(--primary-white);
    color: var(--primary-black);
    border-color: var(--primary-black);
}

/* Footer */
.footer {
    background: var(--primary-black);
    color: var(--primary-white);
    padding: calc(var(--spacing) * 5) 0;
}

.footer .container {
    text-align: center;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: calc(var(--spacing) * 1.5);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: calc(var(--spacing) * 3);
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }

    h2 {
        font-size: 2.5rem;
    }

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

    .leader-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: var(--spacing) 0;
    }

    .nav-links {
        gap: calc(var(--spacing) * 1.5);
        font-size: 0.85rem;
    }

    .hero {
        min-height: auto;
        padding: calc(var(--spacing) * 8) 0;
    }

    .hero-title {
        font-size: 3rem;
    }

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

    .hero-cta-group {
        flex-direction: column;
        gap: var(--spacing);
    }

    .cta-button {
        width: 100%;
    }

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

    h2 {
        font-size: 2rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    .focus-grid,
    .areas-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: calc(var(--spacing) * 5) 0;
    }

    .container {
        padding: 0 calc(var(--spacing) * 1.5);
    }

    .leader-text h2 {
        font-size: 2rem;
    }

    .contact-info,
    .contact-form {
        padding: calc(var(--spacing) * 2.5);
    }

    .pub-item {
        padding: calc(var(--spacing) * 2);
    }
}

@media (max-width: 480px) {
    .nav-content {
        flex-direction: column;
        gap: calc(var(--spacing) * 0.5);
    }

    .nav-links {
        flex-direction: column;
        gap: var(--spacing);
    }

    .logo {
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

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

    .hero-description {
        font-size: 0.95rem;
    }

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

    h3 {
        font-size: 1.1rem;
    }

    .focus-card,
    .area-item,
    .contact-info,
    .contact-form {
        padding: calc(var(--spacing) * 1.5);
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
    }
}

/* ============================================
   ACTIVITIES PAGE STYLES
   ============================================ */

.activities-intro {
    background-color: var(--bg-light);
    padding: calc(var(--spacing) * 8) 0;
}

.activities-intro h2 {
    font-size: 2.5rem;
    margin-bottom: calc(var(--spacing) * 2);
    color: var(--text-dark);
}

.activities-intro p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 700px;
}

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

.activity-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--spacing) * 4);
    align-items: center;
    margin-bottom: calc(var(--spacing) * 6);
}

.activity-row:nth-child(even) {
    direction: rtl;
}

.activity-row:nth-child(even) > * {
    direction: ltr;
}

.activity-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* border-radius: 12px; */
    background-size: cover;
    background-position: center;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.activity-text h2 {
    font-size: 2rem;
    margin-bottom: calc(var(--spacing) * 1.5);
    color: var(--text-dark);
}

.activity-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
}

@media (max-width: 1024px) {
    .activity-row {
        grid-template-columns: 1fr 1fr;
        gap: calc(var(--spacing) * 2);
    }

    .activity-image {
        aspect-ratio: 1 / 1;
    }

    .activity-text h2 {
        font-size: 1.5rem;
    }

    .activity-text p {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .activity-row {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing) * 2);
        margin-bottom: calc(var(--spacing) * 4);
    }

    .activity-row:nth-child(even) {
        direction: ltr;
    }

    .activity-image {
        aspect-ratio: 16 / 9;
    }

    .activity-text h2 {
        font-size: 1.3rem;
        margin-bottom: calc(var(--spacing) * 1);
    }

    .activity-text p {
        font-size: 0.9rem;
    }
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.75rem 1.5rem;
    background-color: rgba(0, 0, 0, 0.85);
    border-radius: 50px;
}

.carousel-btn {
    background-color: var(--accent-blue);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: var(--accent-blue-dark);
    transform: scale(1.1);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-counter {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 40px;
    text-align: center;
}

/* News Section Styles */
.news-section {
    padding: 6rem 0;
    background-color: var(--primary-white);
}

.news-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.news-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

.news-card:last-child {
    border-bottom: none;
}

.news-date {
    display: inline;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

.news-month {
    display: none;
}

.news-day {
    display: none;
}

.news-content h3 {
    margin: 0.5rem 0;
    color: var(--text-dark);
    font-size: 1.3rem;
}

.news-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.news-content p {
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.news-link {
    font-weight: 600;
    color: var(--accent-blue);
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 0.5rem;
}

.news-link:hover {
    color: var(--accent-blue-dark);
}
