/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* Header Section */
header {
    background: linear-gradient(135deg, #0078d7, #00bcd4);
    color: white;
    text-align: center;
    padding: 2rem 1rem;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.2rem;
}

/* Navigation */
nav {
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    text-decoration: none;
    color: #0078d7;
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #00bcd4;
}

/* About Section */
section#about {
    background: #fff;
    padding: 3rem 1rem;
    text-align: center;
}

section#about h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #0078d7;
}

section#about p {
    font-size: 1.1rem;
    color: #555;
}

/* Portfolio Section */
section#portfolio {
    background: #f0f0f0;
    padding: 3rem 1rem;
    text-align: center;
}

section#portfolio .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

section#portfolio .portfolio-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

section#portfolio .portfolio-item:hover {
    transform: scale(1.05);
}

/* Contact Section */
section#contact {
    background: white;
    padding: 3rem 1rem;
    text-align: center;
}

section#contact form input, section#contact form textarea, section#contact form button {
    width: 90%;
    max-width: 400px;
    margin: 0.5rem auto;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

section#contact form button {
    background: #0078d7;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

section#contact form button:hover {
    background: #005fa3;
}

/* Footer */
footer {
    background: #0078d7;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
}

footer p {
    font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }
    header p {
        font-size: 1rem;
    }
}
