/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hide scrollbar but keep scrolling */
html {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

html::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    background-color: #333;
    color: #fff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

nav a:hover {
    color: #ff6b6b;
}

/* Main content */
main {
    margin-top: 80px;
}

section {
    padding: 60px 0;
    background-color: #fff;
    margin-bottom: 20px;
}

section:nth-child(even) {
    background-color: #f9f9f9;
}

h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

/* About section */
#about p {
    text-align: center;
}

.profile-pic {
    display: block;
    margin: 20px auto;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.cv-button {
    text-align: center;
    margin-top: 20px;
}

.cv-button a {
    display: inline-block;
    padding: 10px 20px;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cv-button a:hover {
    background-color: #f9f9f9;
}

/* Projects section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.project {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.project:hover {
    transform: translateY(-5px);
}

.project a {
    display: inline-block;
    margin-top: 10px;
    color: #ff6b6b;
    text-decoration: none;
}

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

/* See all projects */
.see-all-projects {
    text-align: center;
    margin-top: 30px;
}

.see-all-projects a {
    display: inline-block;
    padding: 10px 20px;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.see-all-projects a:hover {
    background-color: #fff;
}

/* Contact section */
#contact ul {
    list-style: none;
    text-align: center;
}

#contact li {
    margin-bottom: 10px;
}

#contact a {
    color: #ff6b6b;
    text-decoration: none;
}

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

/* Contact form styles */
#contact form {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#contact label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
}

#contact input[type="email"],
#contact textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

#contact input[type="email"]:focus,
#contact textarea:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 5px rgba(255, 107, 107, 0.5);
}

#contact textarea {
    resize: vertical;
    min-height: 100px;
}

#contact button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #ff6b6b;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#contact button:hover {
    background-color: #e55a5a;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }

    nav ul {
        margin-top: 10px;
    }

    nav ul li {
        margin-left: 0;
        margin-right: 20px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}