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

:root {
    --primary-color: #1a73e8;
    --secondary-color: #34a853;
    --text-dark: #202124;
    --text-light: #5f6368;
    --background-light: #f8f9fa;
    --border-color: #dadce0;
    --white: #ffffff;
    --hover-bg: rgba(26, 115, 232, 0.08);
    --max-width: 1200px;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-logo a {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background-color: var(--white);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: start;
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.hero-text h2 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 5px;
}

.hero-text h3 {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 30px;
}

.bio {
    margin-bottom: 30px;
}

.bio p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--text-dark);
}

.contact-info {
    margin-top: 30px;
}

.contact-info p {
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.social-link:hover {
    opacity: 0.7;
}

.hero-image {
    position: sticky;
    top: 80px;
}

.hero-image img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Section Styles */
section {
    padding: 60px 0;
}

section:nth-child(even) {
    background-color: var(--background-light);
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: var(--text-dark);
}

/* News Section */
.news-list {
    max-width: 800px;
}

.news-item {
    display: flex;
    margin-bottom: 20px;
    padding: 15px;
    background-color: var(--white);
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.news-date {
    font-weight: 600;
    color: var(--primary-color);
    margin-right: 15px;
    min-width: 60px;
}

.news-content {
    flex: 1;
    color: var(--text-dark);
}

.news-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.news-content a:hover {
    text-decoration: underline;
}

.show-more-btn {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.show-more-btn:hover {
    background-color: #1557b0;
}

/* Publications Section */
.pub-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pub-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pub-item {
    display: flex;
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.2s, box-shadow 0.2s;
}

.pub-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pub-year {
    font-weight: 600;
    color: var(--text-light);
    margin-right: 20px;
    min-width: 60px;
}

.pub-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.pub-authors {
    color: var(--text-light);
    margin-bottom: 5px;
}

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

.pub-venue {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 10px;
}

.pub-links {
    display: flex;
    gap: 15px;
}

.pub-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.pub-link:hover {
    text-decoration: underline;
}

.view-all-link {
    display: inline-block;
    margin-top: 30px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.view-all-link:hover {
    text-decoration: underline;
}

/* Team Section */
.team-category {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 30px 0 20px;
    color: var(--text-dark);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.team-member {
    text-align: center;
    padding: 20px;
    background-color: var(--white);
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    background-color: var(--background-light);
}

.team-member h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.team-member p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.member-info {
    margin-top: 10px;
    font-size: 0.85rem;
}

.alumni-list p {
    margin-bottom: 10px;
    color: var(--text-dark);
}

/* Teaching Section */
.course-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.course-item {
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.course-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.course-item p {
    color: var(--text-light);
    margin-bottom: 5px;
}

.course-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.course-item a:hover {
    text-decoration: underline;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-details h3:first-child {
    margin-top: 0;
}

.contact-details p {
    color: var(--text-light);
}

.map-placeholder {
    background-color: var(--background-light);
    height: 400px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 20px 0;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

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

    .nav-toggle {
        display: flex;
    }

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

    .hero-image {
        position: static;
        display: flex;
        justify-content: center;
    }

    .hero-image img {
        max-width: 200px;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

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

    .pub-item {
        flex-direction: column;
    }

    .pub-year {
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text h2 {
        font-size: 1.2rem;
    }

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

    .social-links {
        flex-wrap: wrap;
    }
}

/* Additional utility classes */
.hidden {
    display: none;
}

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

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}
