/* styles.css */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e0f7fa;
    color: #333;
}

header {
    background-color: #00796b;
    color: white;
    padding: 1em 0;
    text-align: center;
}

header h1 {
    margin: 0;
}

header p {
    margin: 0.5em 0 0;
    font-size: 1.2em;
}

nav {
    background-color: #004d40;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 1em;
    display: block;
}

nav ul li a:hover {
    background-color: #00796b;
}

section {
    padding: 2em;
    margin: 0 1em;
    background-color: white;
    border-radius: 5px;
    margin-bottom: 1em;
}

section h2 {
    color: #00796b;
}

.profile-container {
    display: flex;
    align-items: center;
}

.profile-picture {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    margin-right: 20px;
}

.bio {
    max-width: 600px;
}

#projects .portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: center;
}

#projects .portfolio-item {
    background-color: #e0f7fa;
    border-radius: 5px;
    padding: 1em;
    flex: 1 1 calc(50% - 2em);
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

#projects .portfolio-item:hover {
    transform: scale(1.05);
}

#projects .portfolio-item img {
    max-width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 1em;
}

#projects .portfolio-item h3 {
    margin: 0;
    font-size: 1.2em;
    color: #00796b;
}

#projects .portfolio-item p {
    margin: 0.5em 0 0;
    font-size: 0.9em;
    color: #333;
    flex-grow: 1;
}

#publications .dropdown-btn {
    background-color: #004d40;
    color: white;
    padding: 0.5em;
    border: none;
    border-radius: 5px;
    text-align: left;
    cursor: pointer;
    width: 100%;
    margin-bottom: 0.5em;
    transition: background-color 0.3s;
}

#publications .dropdown-btn:hover,
#publications .dropdown-btn.active {
    background-color: #00796b;
}

#publications .dropdown-content {
    display: none;
    padding: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #e0f7fa;
    margin-top: 0.5em;
}

#contact {
    text-align: center;
    padding: 2em;
    background-color: #f1f1f1;
    border-radius: 5px;
}

#contact a {
    color: #00796b;
    text-decoration: none;
    font-weight: bold;
}

#contact a:hover {
    text-decoration: underline;
}

footer {
    background-color: #004d40;
    color: white;
    text-align: center;
    padding: 1em 0;
    margin-top: 1em;
}
/* Contact Form Styles */
form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
}

label {
    margin-bottom: 0.5em;
    color: #00796b;
    font-weight: bold;
}

input, textarea {
    margin-bottom: 1em;
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 1em;
}

input[type="submit"] {
    background-color: #00796b;
    color: white;
    border: none;
    padding: 1em;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1em;
}

input[type="submit"]:hover {
    background-color: #004d40;
}

/* Responsive Design */
@media (max-width: 768px) {
    #projects .portfolio-item {
        flex: 1 1 100%;
    }
}
