* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

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

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

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 2rem;
}

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

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

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

/* Hero Section */
#hero {
    background: linear-gradient(to right, #00aaff, #0077cc);
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    margin-top: 80px;
}

#hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    background: #fff;
    color: #0077cc;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn:hover {
    background: #f0f0f0;
}

/* About Section */
#about {
    padding: 60px 20px;
    text-align: center;
}

#about h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Services Section */
#services {
    background: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

#services h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-item {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
    margin-bottom: 1rem;
}

/* Portfolio Section */
#portfolio {
    padding: 60px 20px;
    text-align: center;
}

#portfolio h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.portfolio-item img {
    width: 100%;
    border-radius: 5px;
}

.portfolio-item h3 {
    margin: 1rem 0;
}

/* Contact Section */
#contact {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

#contact h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

#contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contact input,
#contact textarea {
    padding: 10px;
    border: none;
    border-radius: 5px;
}

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

#contact button {
    background: #00aaff;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
}

#contact button:hover {
    background: #0077cc;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 10px;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
    }

    #hero h2 {
        font-size: 1.8rem;
    }

    #hero p {
        font-size: 1rem;
    }
}