/* Global Styles */
:root {
    --primary-color: #2d5016;
    --secondary-color: #4a7c23;
    --accent-color: #8fbc5b;
    --light-color: #f5f9f0;
    --text-color: #333;
    --white: #ffffff;
    --gray: #777;
    --dark-gray: #444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1,
h2,
h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 80px 0;
}

/* Header Styles */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.fixed-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.fixed-header h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
}

.fixed-header nav ul {
    display: flex;
    list-style: none;
}

.fixed-header nav ul li {
    margin-left: 25px;
}

.fixed-header nav ul li a {
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.fixed-header nav ul li a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(45, 80, 22, 0.7), rgba(45, 80, 22, 0.7)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
}

.hero h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* About Section */
.about {
    background-color: var(--light-color);
}

.about p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Services Section */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-color);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-item p {
    font-style: italic;
    margin-bottom: 20px;
}

.client-name {
    font-weight: 600;
    color: var(--secondary-color);
    text-align: right;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h3 {
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .fixed-header .container {
        flex-direction: column;
        text-align: center;
    }

    .fixed-header h1 {
        margin-bottom: 15px;
    }

    .fixed-header nav ul li {
        margin: 0 10px;
    }

    .hero {
        height: auto;
        padding: 100px 0 80px;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    section {
        padding: 60px 0;
    }

    h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .fixed-header nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .fixed-header nav ul li {
        margin: 5px;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .service-grid,
    .testimonial-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}