/* Simple, clean styles inspired by chitcode.github.io */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    font-size: 18px;
}

.container {
    max-width: 100%;
}


/* Header */
header {
    text-align: center;
    margin-bottom: 40px;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    margin-bottom: 20px;
    border: 3px solid #7b68ee;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

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

.contact-info {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 20px;
}

.links {
    margin-bottom: 30px;
}

.links a {
    color: #7b68ee;
    text-decoration: none;
    margin: 0 10px;
}

.links a:hover {
    text-decoration: underline;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

nav a {
    color: #7b68ee;
    text-decoration: none;
    font-weight: 500;
}

nav a:hover {
    text-decoration: underline;
}

/* Sections */
section {
    margin-bottom: 40px;
}

section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 4px solid #7b68ee;
    padding-bottom: 8px;
}

section h3 {
    font-size: 1.3rem;
    margin: 20px 0 10px 0;
    color: #333;
}

section h4 {
    font-size: 1.1rem;
    margin: 15px 0 5px 0;
    color: #333;
    font-weight: 600;
}

section p {
    margin-bottom: 15px;
    text-align: justify;
}

section ul {
    margin: 10px 0 20px 20px;
}

section li {
    margin-bottom: 5px;
}

/* Experience Items */
.experience-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.experience-item:last-child {
    border-bottom: none;
}

.experience-item h3 {
    margin-bottom: 5px;
}

.experience-item p:first-of-type {
    color: #666;
    font-style: italic;
    margin-bottom: 10px;
}

/* Publications */
.publication {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.publication:last-child {
    border-bottom: none;
}

.publication h4 {
    line-height: 1.4;
    margin-bottom: 8px;
}

.publication p {
    margin-bottom: 5px;
}

/* Projects */
.project {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.project:last-child {
    border-bottom: none;
}

.project h4 {
    margin-bottom: 8px;
}

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

a:hover {
    text-decoration: underline;
}

/* Contact */
.contact-links {
    margin-top: 20px;
}

.contact-links a {
    margin-right: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 20px 15px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
    
    .links a {
        display: block;
        margin: 5px 0;
    }
}
