/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    color: #444;
    scroll-behavior: smooth;
    background-color: #f7f7f7; /* Subtle off-white background */
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #556b78; /* Muted dark teal */
    font-size: 2.5em;
}

/* Header */
header {
    background: linear-gradient(to right, #78997a, #b9a089); /* Muted green and light brown gradient */
    color: white;
    text-align: center;
    padding: 50px 20px;
    animation: gradientBG 8s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 4px solid #b9a089; /* Light brown border */
}

/* Navbar */
.navbar ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-top: 20px;
    padding: 0;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.navbar ul li a:hover {
    background-color: #78997a; /* Muted green */
    color: white;
}

/* Section */
section {
    padding: 60px 20px;
    background: #ffffff; /* Crisp white background */
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* Soft shadow */
}

section:nth-child(even) {
    background-color: #f0f4f7; /* Subtle light gray-blue for alternating sections */
}

section p, section ul {
    font-size: 1.2em;
    line-height: 1.6;
}

/* Research Items */
.research-item {
    background: #e8e3db; /* Light brown-gray */
    padding: 20px;
    margin: 20px auto;
    max-width: 600px;
    border-radius: 8px;
    color: #2c3e50; /* Dark gray-blue */
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.research-item h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
}

.research-item:hover {
    background: #d7cdbf; /* Slightly darker light brown */
    transform: translateY(-5px);
    transition: all 0.3s ease-in-out;
}

/* Skills */
.skills-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.skill-item {
    text-align: center;
    padding: 15px;
    background: #d4e6d4; /* Light green-gray */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.skill-item:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.skill-item img {
    width: 80px;
    margin-bottom: 10px;
}

.skill-item p {
    color: #2c3e50; /* Dark gray-blue */
    font-weight: bold;
    font-size: 1.2em;
}

/* Publications */
#publications ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

#publications ul li {
    margin: 10px 0;
}

#publications ul li a {
    color: #556b78; /* Muted dark teal */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

#publications ul li a:hover {
    color: #78997a; /* Muted green */
    text-decoration: underline;
}

/* Contact Section */
#contact {
    background: #c5d6dc; /* Light muted teal-gray */
    color: #2c3e50; /* Dark gray-blue */
    text-align: center;
    border-radius: 10px;
}

#contact a {
    color: #78997a; /* Subtle green */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

#contact a:hover {
    color: #b9a089; /* Light brown */
}

/* Footer */
footer {
    background: #556b78; /* Muted dark teal */
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

footer a:hover {
    color: #78997a; /* Muted green */
}

/* Animations for Hover */
.navbar ul li a:hover,
footer a:hover {
    background-color: #b9a089; /* Light brown */
    border-radius: 5px;
    color: white;
}
