/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    line-height: 1.6;
    color: #333;
}

header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000; /* Ensure header stays on top */
}

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

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

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

nav ul li {
    margin-left: 1rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem;
    transition: background 0.3s ease;
}

nav ul li a:hover {
    background: #555;
    border-radius: 4px;
}

main {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 2rem;
}

section {
    padding: 3rem 0;
    border-bottom: 1px solid #eee;
}

section:last-of-type {
    border-bottom: none;
}

h1, h2, h3 {
    margin-bottom: 1rem;
    color: #333;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.hero {
    text-align: center;
    background: #f4f4f4;
    padding: 4rem 1rem;
    border-radius: 8px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

button, input[type="submit"] {
    display: inline-block;
    background: #5cb85c;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

button:hover, input[type="submit"]:hover {
    background: #4cae4c;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.card {
    background: #f9f9f9;
    padding: 1.5rem;
    border: 1px solid #eee;
    border-radius: 5px;
    text-align: center;
}

.card h3 {
    color: #5cb85c;
    margin-bottom: 0.5rem;
}

#about p {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

#contact form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: #f4f4f4;
    border-radius: 8px;
}

#contact form input,
#contact form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

#contact form button {
    width: 100%;
}

#contact p {
    text-align: center;
}

footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    background: #333;
    color: #fff;
}

/* Basic Responsiveness */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    nav ul {
        margin-top: 1rem;
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    main {
        padding: 0 1rem;
    }
} 