body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

header {
    background-color: #004d40;
    color: white;
    padding: 1rem;
    text-align: center;
}
.top-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
    line-height: 1.4; /* Ensures proper vertical spacing */
}
.top-links a {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    color: white;
}

/* GitHub – softened black */
.top-links a[href*="github.com"] {
    background-color: #4f4f4f;
}

.top-links a[href*="github.com"]:hover {
    background-color: #666;
}

/* ORCID – soft green */
.top-links a[href*="orcid.org"] {
    background-color: #88b347;
}

.top-links a[href*="orcid.org"]:hover {
    background-color: #7ba239;
}

/* Google Scholar – soft red */
.top-links a[href*="scholar.google.com"] {
    background-color: #c86a5a;
}

.top-links a[href*="scholar.google.com"]:hover {
    background-color: #b55849;
}

/* LinkedIn – soft blue */
.top-links a[href*="linkedin.com"] {
    background-color: #5a9ecf;
}

.top-links a[href*="linkedin.com"]:hover {
    background-color: #4c89b2;
}

/* Email – soft teal */
.top-links a[href^="mailto:"] {
    background-color: #5aa5a5;
}

.top-links a[href^="mailto:"]:hover {
    background-color: #4d8e8e;
}

.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    margin-bottom: 0.5rem;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}


main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

section {
    margin-bottom: 2rem;
}

h2 {
    color: #004d40;
}

a {
    color: #00796b;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.project,
.paper,
.dataset {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 1rem;
    background: white;
    margin-bottom: 1rem;
}