* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header and Navigation */
header {
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.logo:hover {
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #666;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: #0066cc;
}

/* Main Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 4rem;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 1rem;
}

.hero-section h1 {
    font-size: 2.2rem;
    color: #222;
    margin-bottom: 0.3rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0;
}

/* About Section with Left-Aligned Image */
.about-section {
    margin: 2rem 0 3rem 0;
}

.about-section h2 {
    margin-bottom: 1.5rem;
}

.about-content {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}

.profile-image-left {
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    flex-shrink: 0;
}

.profile-image-right {
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    flex-shrink: 0;
}

.about-text {
    flex: 1;
}

.about-links {
    margin-top: 1rem;
    font-size: 0.95rem;
}

.email-text {
    color: #666;
    font-style: italic;
}

/* Sections */
section {
    margin-bottom: 3rem;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #222;
}

section p {
    margin-bottom: 1rem;
    text-align: justify;
}

/* Publications List */
.publications-list {
    list-style: none;
}

.publications-list li {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.publications-list strong {
    color: #222;
}

.publications-list em {
    color: #666;
    font-style: italic;
}

.publication-award {
    color: #c62828;
    font-style: italic;
    font-weight: 700;
}

.publication-note {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* Contact Section */
#contact ul {
    list-style: none;
}

#contact li {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: #f9f9f9;
    border-top: 1px solid #e5e5e5;
    padding: 2rem 0;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 2rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .container {
        padding: 2rem;
    }
    
    .about-content {
        flex-direction: column;
        align-items: center;
    }
    
    .profile-image-left,
    .profile-image-right {
        max-width: 250px;
    }
    
    section p {
        text-align: left;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Scroll Margin for Navigation */
section {
    scroll-margin-top: 80px;
}
