html {
    scroll-behavior: smooth;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background-color: #333;
    color: white;
    padding: 1rem 0;
    text-align: center;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 90px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

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

nav ul li a.active {
    font-weight: bold;
    text-decoration: underline;
}

section {
    margin: 2rem;
    padding-top: 95px;
    margin-top: -95px;
}

.projects-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}

.project {
    background-color: white;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(33.333% - 2rem);
    box-sizing: border-box;
    margin: 1rem 0;
    transition: transform 0.2s;
}

.project:hover {
    transform: scale(1.05);
}

.project h3 a {
    color: #333;
    text-decoration: none;
}

.project h3 a:hover {
    text-decoration: underline;
}

#about img {
    width: 200px;
    border-radius: 50%;
    margin: 20px 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#contact form {
    display: flex;
    flex-direction: column;
}

#contact form label {
    margin-top: 1rem;
}

#contact form input,
#contact form textarea {
    margin-top: 0.5rem;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#contact form button {
    margin-top: 1rem;
    padding: 0.5rem;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#contact form button:hover {
    background-color: #555;
}

#contact a {
    color: #0077b5; /* LinkedIn blue */
    text-decoration: none;
}

#contact a:hover {
    text-decoration: underline;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer a {
    color: #0077b5;
    text-decoration: none;
}

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