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

/* Root Variables */
:root {
    --primary-green: #2D5016;
    --secondary-green: #4F7942;
    --accent-green: #8FBC8F;
    --light-green: #F0F8F0;
    --success-green: #10B981;
    --warning-orange: #F59E0B;
    --error-red: #EF4444;
    --text-dark: #1F2937;
    --text-medium: #4B5563;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --border-radius: 8px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

p {
    margin-bottom: 16px;
    color: var(--text-medium);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: var(--white);
    border-bottom-color: var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-green);
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-green);
    transition: var(--transition);
}

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

.cta-nav {
    background: var(--primary-green);
    color: var(--white) !important;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.cta-nav:hover {
    background: var(--secondary-green);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cta-nav::after {
    display: none;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

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

.btn-secondary {
    background: transparent;
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--white);
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--white) 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    margin-bottom: 24px;
    color: var(--primary-green);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 32px;
    color: var(--text-medium);
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    animation: fadeInRight 1s ease-out 0.2s both;
}

.hero-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-text h2 {
    color: var(--primary-green);
    margin-bottom: 32px;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--gray-50);
}

.services h2 {
    text-align: center;
    color: var(--primary-green);
    margin-bottom: 48px;
}

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

.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 24px;
}

.service-card h3 {
    color: var(--primary-green);
    margin-bottom: 16px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: var(--white);
}

.testimonials h2 {
    text-align: center;
    color: var(--primary-green);
    margin-bottom: 48px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.testimonial {
    background: var(--light-green);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-content {
    margin-bottom: 24px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-dark);
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author div {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: var(--primary-green);
    font-weight: 600;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--gray-50);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info h2 {
    color: var(--primary-green);
    margin-bottom: 24px;
}

.contact-details {
    list-style: none;
    margin-top: 32px;
}

.contact-details li {
    margin-bottom: 16px;
    color: var(--text-medium);
}

.contact-details strong {
    color: var(--primary-green);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    color: var(--primary-green);
    margin-bottom: 24px;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: var(--font-family);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
    flex-shrink: 0;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

.checkbox-group a {
    color: var(--primary-green);
    text-decoration: underline;
}

.checkbox-group a:hover {
    text-decoration: none;
}

.contact-form button {
    width: 100%;
    margin-top: 16px;
}

/* Footer */
.footer {
    background: var(--primary-green);
    color: var(--white);
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    margin-bottom: 32px;
}

.footer-info h3 {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-nav h4 {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 8px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--text-light);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--text-dark);
}

.modal-body {
    margin-top: 20px;
}

.modal-body h3 {
    color: var(--primary-green);
    margin: 24px 0 16px;
}

.modal-body ul {
    margin: 16px 0;
    padding-left: 24px;
}

.modal-body li {
    margin-bottom: 8px;
    color: var(--text-medium);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        gap: 48px;
    }
    
    .about-content {
        gap: 48px;
    }
    
    .contact-content {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 16px;
    }
    
    .nav-link {
        font-size: 0.875rem;
    }
    
    .cta-nav {
        padding: 8px 16px;
        font-size: 0.875rem;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .about-image {
        order: -1;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .contact-form {
        padding: 32px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 24px;
        width: 95%;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .services,
    .testimonials,
    .about,
    .contact {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    .nav-menu {
        gap: 8px;
    }
    
    .nav-link {
        font-size: 0.8rem;
    }
    
    .cta-nav {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 0.875rem;
    }
    
    .service-card,
    .testimonial {
        padding: 24px;
    }
    
    .contact-form {
        padding: 24px 16px;
    }
    
    .modal-content {
        padding: 16px;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .modal,
    .contact-form {
        display: none;
    }
    
    .hero,
    .about,
    .services,
    .testimonials {
        padding: 20px 0;
    }
    
    * {
        color: black !important;
        background: white !important;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-green: #000000;
        --secondary-green: #333333;
        --text-dark: #000000;
        --text-medium: #000000;
    }
}