/* Solar Energy Solutions - Stylesheet */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

header {
    background-color: #2e8b57; /* Sea green */
    color: white;
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo h1 {
    margin: 0;
    font-size: 1.5rem;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 1rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0.5rem;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: #3cb371; /* Medium sea green */
    border-radius: 4px;
}

.hero {
    background-image: linear-gradient(to right, #2e8b57, #3cb371);
    color: white;
    text-align: center;
    padding: 4rem 1rem;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: #ffd700; /* Gold */
    color: #333;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #ffed4e;
}

section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

#about, #services, #testimonials, #contact {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.service {
    flex: 1 1 300px;
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 5px;
}

.testimonial {
    background-color: #f9f9f9;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 5px solid #2e8b57;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-top: 1rem;
    font-weight: bold;
}

input, textarea {
    padding: 0.5rem;
    margin-top: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    margin-top: 1rem;
    padding: 0.75rem;
    background-color: #2e8b57;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

button:hover {
    background-color: #3cb371;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }
    nav ul {
        margin-top: 1rem;
    }
    .hero h2 {
        font-size: 2rem;
    }
    .service-list {
        flex-direction: column;
    }
}