/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #2E7D32;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1B5E20;
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: #2E7D32;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #1B5E20;
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #2E7D32;
    padding: 12px 24px;
    border: 2px solid #2E7D32;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #2E7D32;
    color: white;
    transform: translateY(-2px);
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.2rem;
    color: #2E7D32;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-menu a {
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: #E8F5E8;
    color: #1B5E20;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #2E7D32;
    transition: 0.3s;
}

/* Main content */
main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #E8F5E8 0%, #F1F8E9 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    color: #1B5E20;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #424242;
}

.hero-image img {
    width: 100%;
    height: auto;
}

/* Page Hero */
.page-hero {
    padding: 60px 0;
    background: linear-gradient(135deg, #E8F5E8 0%, #F1F8E9 100%);
}

.page-hero .hero-content {
    text-align: center;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #fff;
}

.services h2 {
    text-align: center;
    color: #1B5E20;
    margin-bottom: 3rem;
}

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

.service-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: #2E7D32;
    margin-bottom: 1rem;
}

/* About Section */
.about-preview {
    padding: 80px 0;
    background-color: #F9F9F9;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: #1B5E20;
    margin-bottom: 1.5rem;
}

.about-image img {
    width: 100%;
    height: auto;
}

/* Company Info */
.company-info {
    padding: 80px 0;
    background-color: #fff;
}

.info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.info-stats {
    display: grid;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background-color: #E8F5E8;
    border-radius: 10px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #2E7D32;
    margin-bottom: 0.5rem;
}

/* Mission Section */
.mission {
    padding: 80px 0;
    background-color: #F9F9F9;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
}

.mission-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.value-item h4 {
    color: #2E7D32;
    margin-bottom: 1rem;
}

/* History Section */
.history {
    padding: 80px 0;
    background-color: #fff;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #F9F9F9;
    border-radius: 10px;
    border-left: 4px solid #2E7D32;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2E7D32;
}

.timeline-content h3 {
    color: #1B5E20;
    margin-bottom: 1rem;
}

/* Team Section */
.team {
    padding: 80px 0;
    background-color: #F9F9F9;
}

.team-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #666;
}

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

.team-member {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.member-info h3 {
    color: #2E7D32;
    margin-bottom: 1rem;
}

/* Blog Sections */
.blog-preview, .blog-articles {
    padding: 80px 0;
    background-color: #fff;
}

.blog-preview h2 {
    text-align: center;
    color: #1B5E20;
    margin-bottom: 3rem;
}

.blog-grid, .articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card, .article-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.blog-card:hover, .article-card:hover {
    transform: translateY(-5px);
}

.blog-card img, .article-card img, .article-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content, .article-content {
    padding: 1.5rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.article-date {
    color: #2E7D32;
}

.article-category {
    background-color: #E8F5E8;
    padding: 4px 8px;
    border-radius: 4px;
    color: #1B5E20;
}

.blog-content h3, .article-content h2 {
    margin-bottom: 1rem;
}

.blog-content h3 a, .article-content h2 a {
    color: #1B5E20;
}

.read-more {
    color: #2E7D32;
    font-weight: 500;
}

.blog-link {
    text-align: center;
    margin-top: 3rem;
}

/* Article Page */
.article-page {
    padding: 40px 0 80px;
}

.article-header {
    margin-bottom: 3rem;
}

.back-link {
    color: #2E7D32;
    font-weight: 500;
    margin-right: 1rem;
}

.article-intro {
    font-size: 1.2rem;
    font-weight: 500;
    color: #424242;
    border-left: 4px solid #2E7D32;
    padding-left: 1.5rem;
    margin: 2rem 0;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content h2 {
    color: #1B5E20;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.article-content h3 {
    color: #2E7D32;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-cta {
    background-color: #E8F5E8;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin: 3rem 0;
}

.article-cta h3 {
    color: #1B5E20;
    margin-bottom: 1rem;
}

/* Related Articles */
.related-articles {
    padding: 60px 0;
    background-color: #F9F9F9;
}

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

.related-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.related-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-card h3 {
    padding: 1rem;
    margin: 0;
}

.related-card a {
    color: #1B5E20;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: #F9F9F9;
}

.testimonials h2 {
    text-align: center;
    color: #1B5E20;
    margin-bottom: 3rem;
}

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

.testimonial-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.testimonial-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #555;
}

.testimonial-author strong {
    color: #2E7D32;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}

/* Newsletter */
.newsletter {
    padding: 80px 0;
    background-color: #2E7D32;
    color: white;
    text-align: center;
}

.newsletter h2 {
    margin-bottom: 1rem;
}

.newsletter p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
    align-items: end;
}

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

.form-group input {
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

/* Contact */
.contact {
    padding: 80px 0;
    background-color: #F9F9F9;
}

.contact h2 {
    text-align: center;
    color: #1B5E20;
    margin-bottom: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.contact-item h3 {
    color: #2E7D32;
    margin-bottom: 1rem;
}

.social-links {
    text-align: center;
}

.social-links a {
    margin: 0 1rem;
    padding: 10px 20px;
    background-color: #2E7D32;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #1B5E20;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background-color: #2E7D32;
    color: white;
    text-align: center;
}

.cta h2 {
    margin-bottom: 1rem;
}

.cta p {
    margin-bottom: 2rem;
}

/* Thanks Page */
.thanks-page {
    padding: 80px 0;
    background-color: #F9F9F9;
}

.thanks-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.thanks-icon {
    margin-bottom: 2rem;
}

.thanks-message {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #555;
}

.thanks-info {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
    text-align: left;
}

.thanks-list {
    list-style: none;
    padding: 0;
}

.thanks-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.thanks-list li:last-child {
    border-bottom: none;
}

.thanks-next-steps {
    margin-bottom: 3rem;
}

.next-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.step-card h3 {
    color: #2E7D32;
    margin-bottom: 1rem;
}

.thanks-contact {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
}

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

.contact-option {
    text-align: center;
}

.thanks-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Legal Pages */
.legal-page {
    padding: 80px 0;
    background-color: #fff;
}

.legal-page h1 {
    color: #1B5E20;
    margin-bottom: 1rem;
}

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 3rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-content h2 {
    color: #2E7D32;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.legal-content h3 {
    color: #424242;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.cookie-settings-link {
    text-align: center;
    margin: 2rem 0;
}

/* Footer */
footer {
    background-color: #1B5E20;
    color: white;
    padding: 40px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.2rem;
}

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

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: flex-end;
}

.footer-nav a {
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 1;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1B5E20;
    color: white;
    padding: 1rem;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-buttons button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.7);
    z-index: 1002;
    display: none;
    align-items: center;
    justify-content: center;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-option {
    margin-bottom: 1rem;
}

.cookie-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 10px;
}

.cookie-option input[type="checkbox"] {
    margin-right: 10px;
}

.cookie-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        padding: 1rem 0;
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-text,
    .about-text {
        text-align: center;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .services-grid,
    .blog-grid,
    .articles-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }

    .footer-nav {
        justify-content: center;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .mission-values,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .timeline-year {
        text-align: center;
    }

    .contact-options {
        grid-template-columns: 1fr;
    }

    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }

    .next-steps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 1.8rem;
    }

    .hero {
        padding: 40px 0;
    }

    .services,
    .about-preview,
    .blog-preview,
    .testimonials,
    .newsletter,
    .contact {
        padding: 60px 0;
    }

    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }

    .cookie-modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
}
