/* === Basic Reset === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", sans-serif;
    color: #222;
    background-color: #f9f9fb;
    line-height: 1.6;
}

/* === Header === */
header {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

header h1 {
    font-size: 2rem;
}

header p {
    margin-top: 0.5rem;
    font-size: 1.1rem;
    color: #dcdcdc;
}

nav ul {
    margin-top: 1.5rem;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: #1abc9c;
}

/* === Sections === */
.section {
    padding: 4rem 1.5rem;
}

.section.alt {
    background-color: #eef1f5;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

/* === About Section === */
#about {
display: flex;
align-items: center;
justify-content: center;
gap: 2rem;
flex-wrap: wrap;
}

.profile-pic {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #1abc9c;
}

.about-text {
    max-width: 600px;
}

.about-text h2 {
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    background: #1abc9c;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.2s;
}

.btn:hover {
    background: #16a085;
}

/* === Lists === */
.research-list, .pub-list {
    list-style: none;
    margin-top: 1.2rem;
}

.research-list li, .pub-list li {
    margin-bottom: 0.8rem;
}

/* === Projects === */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.project-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    justify-content: justify;
}

.project-card h3 {
    margin-bottom: 0.5rem;
    color: #1abc9c;
}

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

footer a {
    color: #1abc9c;
    text-decoration: none;
}

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