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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
nav {
    background-color: #2c3e50;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav li {
    margin: 0 1.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #bbb;
}

/* Header */
header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: contain;
    background-color: white;
    border: 5px solid white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.header-text {
    text-align: left;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

.affiliation {
    font-size: 1rem;
    opacity: 0.9;
}

/* Main Content */
main {
    background-color: white;
    padding: 2rem 0;
}

section {
    padding: 3rem 0;
    border-bottom: 1px solid #e9ecef;
}

section:last-child {
    border-bottom: none;
}

h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #333;
    display: inline-block;
}

/* Research */
.research-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.research-list li {
    background-color: #f8f9fa;
    padding: 1rem;
    border-left: 4px solid #555;
    border-radius: 4px;
}

/* Publications */
.publication {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.publication h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.publication .authors {
    color: #555;
    margin-bottom: 0.3rem;
}

.publication .venue {
    color: #666;
    margin-bottom: 1rem;
}

.publication .links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: #555;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #333;
}

.see-more {
    margin-top: 2rem;
    text-align: center;
}

.see-more a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Teaching */
.course {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.course h3 {
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

/* Contact */
#contact p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.social-links {
    margin-top: 2rem;
    font-size: 1.1rem;
}

.social-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #555;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

footer p {
    margin: 0.3rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-text {
        text-align: center;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    nav li {
        margin: 0.5rem 1rem;
    }
    
    .research-list {
        grid-template-columns: 1fr;
    }
}
