:root {
    --primary-color: #3a8a3a;
    --secondary-color: #2a612a;
    --accent-color: #6aba6a;
    --light-color: #f4f7fc;
    --dark-color: #333;
    --text-color: #444;
    --border-radius: 4px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    text-align: center;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

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

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 80px 0;
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 40px;
    width: auto;
}

nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-menu a {
    color: var(--dark-color);
    font-weight: 600;
    padding: 5px;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--dark-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, 
        rgba(58, 138, 58, 0.9) 0%, 
        rgba(58, 138, 58, 0.7) 40%, 
        rgba(58, 138, 58, 0.5) 60%, 
        rgba(255, 255, 255, 0.8) 100%),
        linear-gradient(45deg, #f5f5f5, #e8f5e8);
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(2px);
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.about-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-card .icon {
    margin-bottom: 15px;
}

.about-card .icon svg {
    fill: var(--accent-color);
}

.about-card h3 {
    margin-bottom: 15px;
}

/* Services Section */
.services {
    background-color: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    width: 100%;
    opacity: 0.03;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-info {
    padding-right: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}

.info-item svg {
    fill: var(--primary-color);
    min-width: 24px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    resize: vertical;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(0, 170, 255, 0.2);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 30px 0;
    text-align: center;
}

footer a {
    color: var(--accent-color);
}

/* Legal Pages (Terms and Privacy) */
.legal-page {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.legal-page h1 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.legal-page .last-updated {
    text-align: center;
    color: #777;
    font-style: italic;
    margin-bottom: 2rem;
}

.legal-content {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.5rem;
    text-align: left;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content h2::after {
    left: 0;
    transform: none;
    width: 40px;
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 20px;
}

.legal-content ul li {
    list-style-type: disc;
    margin-bottom: 0.5rem;
}

.footer-links {
    text-align: center;
    margin-bottom: 10px;
}

.footer-links a {
    margin: 0 10px;
    font-weight: 500;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    color: var(--accent-color);
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

/* Media Queries */
@media (max-width: 768px) {
    .logo img {
        max-height: 30px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .hero {
        padding: 60px 0;
        background: linear-gradient(to right, 
            rgba(58, 138, 58, 0.9) 0%, 
            rgba(58, 138, 58, 0.7) 70%, 
            rgba(255, 255, 255, 0.6) 100%),
            linear-gradient(45deg, #f5f5f5, #e8f5e8);
    }
    
    .hero-content {
        padding: 20px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
        z-index: 999;
        gap: 15px;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    section {
        padding: 60px 0;
    }
    
    .contact-grid,
    .about-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        padding-right: 0;
    }
    
    .legal-content {
        padding: 25px;
    }
    
    .legal-content h2 {
        font-size: 1.3rem;
    }
}