/* ===== ROOT VARIABLES & THEMES ===== */
:root {
    /* MARINE THEME (Default) - Refined with warmer teal */
    --primary-color: #1F6E6E;
    --primary-dark: #0F4C4C;
    --secondary-color: #2a9d8f;
    --secondary-dark: #1e6f64;
    --accent-color: #e76f51;
    --accent-dark: #c85a3a;
    --bg-color: #FEFCF5;
    --card-bg: #ffffff;
    --text-color: #1F2C2C;
    --text-light: #6A7A7A;
    --border-color: #E2DCCF;
    --shadow: 0 8px 20px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(0, 0, 0, 0.02);
    --shadow-hover: 0 25px 35px -12px rgba(31, 110, 110, 0.18), 0 8px 15px -6px rgba(0, 0, 0, 0.08);
    --transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.2, 0.64, 1);
}

/* COFFEE THEME */
.theme-coffee {
    --primary-color: #6f4e37;
    --primary-dark: #5a3a26;
    --secondary-color: #c19a6b;
    --secondary-dark: #a87a4a;
    --accent-color: #8b4513;
    --accent-dark: #6d3510;
    --bg-color: #f5ebe0;
    --card-bg: #ffffff;
    --text-color: #3e2723;
    --text-light: #795548;
    --border-color: #d7ccc8;
}

/* RETRO THEME */
.theme-retro {
    --primary-color: #d4a017;
    --primary-dark: #b8860b;
    --secondary-color: #9b4f96;
    --secondary-dark: #7a3b74;
    --accent-color: #2a9d8f;
    --accent-dark: #1e7a6e;
    --bg-color: #fef9f3;
    --card-bg: #fffaf0;
    --text-color: #2a2a2a;
    --text-light: #666666;
    --border-color: #e6d5b8;
}

/* DARK MODE */
.dark-mode {
    --primary-color: #5fb4b4;
    --primary-dark: #3d8f8f;
    --secondary-color: #4cae9e;
    --secondary-dark: #368c7e;
    --accent-color: #ff8c5a;
    --accent-dark: #e66a3a;
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --text-color: #2198b9;
    --text-light: #adb5bd;
    --border-color: #343a40;
    --shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    --shadow-hover: 0 25px 35px -12px rgba(0, 0, 0, 0.4);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
    0% { opacity: 0; transform: scale(0.96); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes slideInLeft {
    0% { opacity: 0; transform: translateX(-30px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    0% { opacity: 0; transform: translateX(30px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes softGlow {
    0% { box-shadow: 0 0 0 0 rgba(31, 110, 110, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(31, 110, 110, 0.08); }
    100% { box-shadow: 0 0 0 0 rgba(31, 110, 110, 0); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: background-color 0.4s ease, color 0.3s ease;
    scroll-behavior: smooth;
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== REVEAL ON SCROLL ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== HEADER ===== */
header {
    background: var(--card-bg);
    color: var(--text-color);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 100;
}

.logo-full {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 0;
    animation: fadeInScale 0.8s ease;
}

.logo-full img {
    max-height: 180px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo-full img:hover {
    transform: scale(1.02);
}

/* ===== CONTROLS ===== */
.controls {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 12px;
    width: 100%;
    justify-content: flex-end;
}

.theme-selector, .mode-toggle {
    background: var(--primary-color);
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.theme-selector:hover, .mode-toggle:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(31, 110, 110, 0.25);
}

.theme-selector select {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
}

.theme-selector select option {
    color: #333;
    background: white;
}

/* ===== SOCIAL LINKS ===== */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(31, 110, 110, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px) rotate(8deg);
    border-color: var(--primary-color);
}

/* ===== NAVIGATION ===== */
nav {
    background-color: rgba(0, 0, 0, 0.03);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 99;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
    background-color: rgba(0, 0, 0, 0.03);
}

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

.nav-links {
    display: flex;
    list-style: none;
    overflow-x: auto;
    padding: 0;
}

.nav-links li {
    flex-shrink: 0;
}

.nav-links a {
    display: block;
    padding: 18px 22px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 70%;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
    background-color: rgba(31, 110, 110, 0.03);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    color: var(--primary-color);
    transform: scale(1.05);
}

/* ===== MAIN CONTENT ===== */
main {
    padding: 3rem 0;
    min-height: 60vh;
}

.tab-content {
    display: none;
    animation: fadeUp 0.6s ease;
}

.tab-content.active {
    display: block;
}

/* ===== CONTENT CARDS ===== */
.content-card {
    background-color: var(--card-bg);
    border-radius: 24px;
    padding: 2.2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.content-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.content-card h2 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
}

.content-card h2 i {
    color: var(--accent-color);
    transition: var(--transition);
}

.content-card:hover h2 i {
    transform: rotate(5deg) scale(1.05);
}

.content-card h3 {
    color: var(--secondary-color);
    margin: 1.8rem 0 0.8rem 0;
    font-size: 1.3rem;
}

/* ===== TEAM & PROJECT GRIDS ===== */
.team-grid, .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.8rem;
    margin-top: 1.8rem;
}

.team-member, .project-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    transition: var(--transition-bounce);
    box-shadow: var(--shadow);
}

.team-member:hover, .project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.team-member.highlight {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(31, 110, 110, 0.02) 0%, rgba(42, 157, 143, 0.02) 100%);
}

.member-role {
    color: var(--accent-color);
    font-weight: 600;
    margin: 8px 0;
    font-size: 0.9rem;
}

.member-focus {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed var(--border-color);
}

.member-focus i {
    color: var(--secondary-color);
    margin-right: 6px;
}

/* Team Photo Styling */
.team-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem auto;
    border: 4px solid var(--primary-color);
    background: white;
    transition: var(--transition);
}

.team-member:hover .team-photo {
    transform: scale(1.02);
    border-color: var(--accent-color);
}

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

.team-photo.placeholder {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}
/* ===== Learn More Button ===== */
.btn-learn-more {
    display: inline-block;
    background-color: #2c7da0;  /* Adjust to match your theme */
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-learn-more:hover {
    background-color: #1f5e7a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
/* ===== PUBLICATIONS STYLES ===== */
.publication-list {
    list-style: none;
}

.publication-item {
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    animation: fadeUp 0.5s ease backwards;
}

.publication-item:hover {
    transform: translateX(8px);
    background: rgba(31, 110, 110, 0.02);
    padding-left: 12px;
    border-radius: 12px;
}

.pub-title {
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-color);
    font-size: 1.05rem;
}

.pub-authors, .pub-venue {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.pub-doi {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 8px;
    font-family: monospace;
}

.pub-abstract-preview {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.pub-abstract-preview:hover {
    color: var(--primary-color);
}

.pub-abstract-full {
    margin-top: 12px;
    padding: 12px;
    background: rgba(31, 110, 110, 0.05);
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.6;
    display: none;
}

.pub-abstract-full.show {
    display: block;
    animation: fadeUp 0.3s ease;
}

.pub-links {
    margin-top: 12px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pub-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background-color: rgba(31, 110, 110, 0.08);
    border-radius: 30px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.pub-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Publication Controls */
.pub-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.8rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 15px;
}

.pub-sort {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.sort-btn {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.sort-btn:hover,
.sort-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.pub-stats {
    font-size: 0.9rem;
    color: var(--text-light);
    background: rgba(31, 110, 110, 0.08);
    padding: 6px 16px;
    border-radius: 30px;
}

/* Publication Search */
.pub-search {
    margin-bottom: 1.8rem;
    position: relative;
}

.pub-search i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 0.9rem;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    background: var(--card-bg);
    color: var(--text-color);
    font-size: 0.95rem;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(31, 110, 110, 0.1);
}

.update-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(66, 133, 244, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #4285F4;
    white-space: nowrap;
}

/* Loading Spinner */
.loading-spinner {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.loading-spinner i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 1.2rem;
    animation: spin 1s linear infinite;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

/* ===== NEWS ===== */
.news-item {
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    animation: fadeUp 0.5s ease backwards;
}

.news-item:hover {
    transform: translateX(8px);
    background: rgba(31, 110, 110, 0.02);
    padding-left: 12px;
    border-radius: 12px;
}

.news-date {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 6px;
    display: inline-block;
    background: rgba(231, 111, 81, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.news-item h3 {
    margin: 8px 0 6px 0;
    font-size: 1.1rem;
}

/* ===== CONTACT INFO ===== */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: var(--transition);
    padding: 1rem;
    border-radius: 16px;
}

.contact-item:hover {
    background: rgba(31, 110, 110, 0.03);
    transform: translateX(5px);
}

.contact-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    transform: scale(1.05) rotate(5deg);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(31, 110, 110, 0.25);
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(31, 110, 110, 0.35);
}

.btn:active {
    transform: translateY(0);
}

/* ===== TAGS ===== */
.tag {
    display: inline-block;
    background-color: rgba(31, 110, 110, 0.08);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    margin: 4px;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid transparent;
}

.tag:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.collab-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(31, 110, 110, 0.05);
    border-radius: 40px;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: var(--transition);
}

.collab-tag:hover {
    background: rgba(31, 110, 110, 0.12);
    transform: translateY(-2px);
}

/* ===== STATUS BADGES ===== */
.status-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.hiring {
    background: rgba(231, 111, 81, 0.12);
    color: var(--accent-color);
    border: 1px solid rgba(231, 111, 81, 0.3);
    animation: softGlow 2s infinite;
}

/* ===== TEAM TABS ===== */
.team-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 18px;
    margin-bottom: 1.5rem;
}

.team-tab-btn {
    padding: 10px 24px;
    background: rgba(31, 110, 110, 0.05);
    border: none;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.team-tab-btn:hover {
    background: rgba(31, 110, 110, 0.12);
    transform: translateY(-2px);
}

.team-tab-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(31, 110, 110, 0.25);
}

.team-section {
    display: none;
    animation: fadeUp 0.5s ease;
}

.team-section.active {
    display: block;
}

/* ===== ALUMNI GRID ===== */
.alumni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.alumni-member {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.alumni-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

/* ===== LATEST UPDATES ===== */
.latest-updates {
    padding: 1.2rem 0;
    margin-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.latest-updates h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.updates-container {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.update-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    transition: var(--transition);
    border-radius: 12px;
}

.update-item:hover {
    background: rgba(31, 110, 110, 0.05);
    transform: translateX(5px);
}

.update-date {
    min-width: 90px;
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 600;
    background: rgba(231, 111, 81, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    text-align: center;
}

.update-title {
    font-size: 0.95rem;
    color: var(--text-color);
    text-decoration: none;
    flex: 1;
    transition: color 0.2s ease;
    font-weight: 500;
}

.update-title:hover {
    color: var(--primary-color);
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
    color: var(--text-light);
}

footer .social-links {
    justify-content: center;
    margin-top: 1.2rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .logo-full img {
        max-height: 130px;
    }
    
    .controls {
        justify-content: center;
        margin-top: 16px;
    }
    
    /* Fix: Align mobile menu button and social links on same row */
    .nav-container {
        flex-direction: row; /* Change from column to row */
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    /* Keep menu button visible and styled */
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: var(--primary-color);
        color: white;
        border: none;
        border-radius: 40px;
        padding: 8px 20px;
        font-size: 0.9rem;
        font-weight: 500;
        cursor: pointer;
        transition: var(--transition);
        order: 1; /* Ensure it stays in order */
    }
    
    .mobile-menu-btn i {
        font-size: 1rem;
    }
    
    .mobile-menu-btn:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
    }
    
    /* Update social links for mobile */
    .social-links {
        display: flex;
        gap: 8px;
        margin-top: 0;
        order: 2; /* Place after menu button */
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    /* Navigation links below */
    .nav-links {
        flex-direction: column;
        display: none;
        width: 100%;
        order: 3;
        margin-top: 10px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 12px 20px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links a::after {
        display: none;
    }
    
    /* Remove the existing nav-container flex-direction: column */
    /* The rest of your existing mobile styles remain the same */
    .team-grid, .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .content-card {
        padding: 1.5rem;
    }
    
    .content-card h2 {
        font-size: 1.5rem;
    }
    
    .team-tabs {
        flex-direction: column;
    }
    
    .team-tab-btn {
        width: 100%;
        justify-content: center;
    }
    
    .update-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .update-date {
        align-self: flex-start;
    }
    
    .pub-controls {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .pub-sort {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 8px;
    }
    
    .pub-stats {
        width: 100%;
        text-align: center;
    }
}

/* ===== UTILITY CLASSES ===== */
.highlight {
    color: var(--accent-color);
    font-weight: 600;
}

.indented-list {
    padding-left: 1.5rem;
    margin: 0.8rem 0;
}

.indented-list li {
    margin-bottom: 0.5rem;
}

/* ===== MAP CONTAINER ===== */
.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.map-container:hover {
    transform: scale(1.01);
    box-shadow: var(--shadow-hover);
}

/* ===== DARK MODE ADJUSTMENTS ===== */
.dark-mode .team-member,
.dark-mode .project-card,
.dark-mode .alumni-member {
    background: var(--card-bg);
}

.dark-mode .pub-link {
    background-color: rgba(95, 180, 180, 0.15);
}

.dark-mode .tag {
    background-color: rgba(95, 180, 180, 0.15);
}

.dark-mode .pub-abstract-full {
    background: rgba(95, 180, 180, 0.1);
}

.dark-mode .update-date {
    background: rgba(231, 111, 81, 0.2);
}

.dark-mode .pub-stats {
    background: rgba(95, 180, 180, 0.1);
}
