/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* Top Bar */
.top-bar {
    background-color: #2d5016;
    color: white;
    padding: 0.5rem 1rem;
}

.top-bar-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.contact-item:hover {
    color: #a8dadc;
}

.address-short {
    display: none;
}

@media (max-width: 640px) {
    .address-full {
        display: none;
    }
    .address-short {
        display: inline;
    }
}

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

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #4a7c2c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon span {
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2d5016;
}

/* Navigation */
.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    font-weight: 500;
    color: #4b5563;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #4a7c2c;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    font-size: 1.5rem;
    color: #4b5563;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid #e5e7eb;
}

.nav-mobile.active {
    display: flex;
}

@media (min-width: 768px) {
    .nav-mobile {
        display: none !important;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
    gap: 0.5rem;
}

.btn-primary {
    background-color: #4a7c2c;
    color: white;
}

.btn-primary:hover {
    background-color: #2d5016;
}

.btn-secondary {
    background-color: white;
    color: #2d5016;
    border: 2px solid transparent;
}

.btn-secondary:hover {
    background-color: #f9fafb;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: bold;
}

.btn-outline {
    background-color: transparent;
    color: #4a7c2c;
    border: 2px solid #4a7c2c;
}

.btn-outline:hover {
    background-color: #4a7c2c;
    color: white;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero-section {
        height: 700px;
    }
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 4rem;
    }
}

.hero-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hero-content p {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.hero-buttons .btn {
    width: 100%;
}

@media (min-width: 640px) {
    .hero-buttons .btn {
        width: auto;
    }
}

/* Section Styles */
section {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    section {
        padding: 6rem 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #2d5016;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 2.5rem;
    }
}

.section-header p {
    color: #6b7280;
    max-width: 42rem;
    margin: 0 auto;
}

/* Services Section */
.services-section {
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 4rem;
    height: 4rem;
    background-color: #4a7c2c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2d5016;
    margin-bottom: 1rem;
}

.service-card p {
    color: #6b7280;
}

/* Ad Section */
.ad-section {
    padding: 2rem 0;
    background-color: white;
}

.ad-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Why Choose Section */
.why-choose-section {
    background-color: #f9fafb;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    text-align: center;
    padding: 2rem 1rem;
}

.feature-icon {
    width: 5rem;
    height: 5rem;
    background-color: #4a7c2c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #2d5016;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #6b7280;
}

/* How We Work Section */
.how-we-work-section {
    background-color: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.step-card {
    text-align: center;
    padding: 2rem;
    background-color: #f9fafb;
    border-radius: 0.5rem;
    position: relative;
}

.step-number {
    width: 4rem;
    height: 4rem;
    background-color: #4a7c2c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.step-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2d5016;
    margin-bottom: 1rem;
}

.step-card p {
    color: #6b7280;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #f9fafb;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    color: #fbbf24;
    font-size: 1.25rem;
}

.testimonial-text {
    color: #4b5563;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 3rem;
    height: 3rem;
    background-color: #4a7c2c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.author-name {
    font-weight: bold;
    color: #2d5016;
}

.author-location {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Blog Section */
.blog-section {
    background-color: #f9fafb;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog-card {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.blog-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 12rem;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.blog-content h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #2d5016;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.blog-card:hover h3 {
    color: #4a7c2c;
}

.blog-content p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.blog-read-more {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a7c2c;
    font-weight: 500;
    transition: gap 0.3s;
}

.blog-card:hover .blog-read-more {
    gap: 0.75rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2d5016 0%, #4a7c2c 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .cta-content h2 {
        font-size: 3rem;
    }
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.cta-buttons .btn-secondary {
    background-color: white;
    color: #2d5016;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: white;
    padding: 3rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-column h3 {
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: #9ca3af;
    margin-bottom: 1rem;
}

.footer-links,
.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links li {
    color: #9ca3af;
}

.footer-links a {
    color: #9ca3af;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #9ca3af;
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #9ca3af;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: white;
}

.footer-contact i {
    width: 1rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.footer-bottom-links a {
    color: #9ca3af;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: white;
}

/* About Page Styles */
.page-hero {
    background-color: #2d5016;
    color: white;
    padding: 4rem 0;
    text-align: center;
}

@media (min-width: 768px) {
    .page-hero {
        padding: 6rem 0;
    }
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .page-hero h1 {
        font-size: 3.5rem;
    }
}

.page-hero p {
    font-size: 1.125rem;
    max-width: 42rem;
    margin: 0 auto;
}

.content-section {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .content-section {
        padding: 6rem 0;
    }
}

.content-section.gray {
    background-color: #f9fafb;
}

.content-section h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #2d5016;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .content-section h2 {
        font-size: 2.5rem;
    }
}

.content-section p {
    color: #4b5563;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.value-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2d5016;
    margin-bottom: 1rem;
}

.value-card p {
    color: #6b7280;
    margin: 0;
}

/* Contact Page Styles */
.contact-section {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .contact-section {
        padding: 6rem 0;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.contact-info-section h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #2d5016;
    margin-bottom: 1rem;
}

.contact-info-section p {
    color: #4b5563;
    margin-bottom: 2rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
}

.contact-info-icon {
    width: 3rem;
    height: 3rem;
    background-color: #4a7c2c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
}

.contact-info-text h3 {
    font-size: 1.125rem;
    font-weight: bold;
    color: #2d5016;
    margin-bottom: 0.25rem;
}

.contact-info-text p,
.contact-info-text a {
    color: #6b7280;
}

.contact-info-text a:hover {
    color: #4a7c2c;
}

.contact-form-section h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #2d5016;
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #4a7c2c;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Blog Post Page */
.blog-hero {
    background-color: #2d5016;
    color: white;
    padding: 4rem 0 6rem;
}

@media (min-width: 768px) {
    .blog-hero {
        padding: 6rem 0;
    }
}

.blog-hero-content {
    max-width: 56rem;
    margin: 0 auto;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    transition: color 0.3s;
}

.back-link:hover {
    color: white;
}

.blog-hero h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .blog-hero h1 {
        font-size: 3rem;
    }
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-featured-image {
    max-width: 56rem;
    margin: -3rem auto 0;
    padding: 0 1rem;
}

.blog-featured-image-wrapper {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.3);
}

.blog-featured-image img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
}

@media (min-width: 768px) {
    .blog-featured-image img {
        height: 24rem;
    }
}

.blog-article {
    max-width: 56rem;
    margin: 0 auto;
    padding: 3rem 1rem;
}

@media (min-width: 768px) {
    .blog-article {
        padding: 4rem 1rem;
    }
}

.blog-article-content {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .blog-article-content {
        padding: 2.5rem;
    }
}

.blog-excerpt {
    font-size: 1.25rem;
    color: #374151;
    font-weight: 500;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.blog-body p {
    color: #374151;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.blog-cta {
    margin-top: 3rem;
    padding: 1.5rem;
    background-color: rgba(74, 124, 44, 0.1);
    border-radius: 0.5rem;
    border-left: 4px solid #4a7c2c;
}

.blog-cta h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #2d5016;
    margin-bottom: 0.75rem;
}

.blog-cta p {
    color: #374151;
    margin-bottom: 1rem;
}

.blog-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .blog-cta-buttons {
        flex-direction: row;
        gap: 1rem;
    }
}

.blog-related {
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 1rem 4rem;
}

.blog-related h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2d5016;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .blog-related h2 {
        font-size: 2rem;
    }
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a7c2c;
    font-weight: 500;
    transition: gap 0.3s;
}

.view-all-link:hover {
    gap: 0.75rem;
}

/* Terms and Privacy Pages */
.legal-content {
    max-width: 56rem;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.75rem;
    font-weight: bold;
    color: #2d5016;
    margin: 2rem 0 1rem;
}

.legal-content h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #2d5016;
    margin: 1.5rem 0 0.75rem;
}

.legal-content p {
    color: #4b5563;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
    color: #4b5563;
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.legal-date {
    font-style: italic;
    color: #6b7280;
    margin-bottom: 2rem;
}
