/* General Body Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #222;
    color: #eee;
    line-height: 1.6;
}

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

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

nav a {
    color: #eee;
    text-decoration: none;
    font-size: 1.1rem;
}

nav a:hover {
    color: #00aaff;
}

/* Main Content Styles */
main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
}

/* Section Styles */
section {
    padding: 4rem 0;
    border-bottom: 1px solid #444;
}

section:last-child {
    border-bottom: none;
}

h1, h2 {
    text-align: center;
    margin-bottom: 2rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

/* Hero Section Styles */
#hero {
    text-align: center;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1rem auto 2rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    background-color: #00aaff;
    color: #fff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0088cc;
}

/* Project Section Styles */
.project-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.card {
    background-color: #333;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card h3 {
    margin-top: 0;
}

.card a {
    color: #00aaff;
    text-decoration: none;
    font-weight: bold;
}

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

/* Contact Form Styles */
#contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #555;
    background-color: #333;
    color: #eee;
    border-radius: 5px;
}

#contact-form button {
    cursor: pointer;
    border: none;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
}
