/* 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;
    overflow-x: hidden;
}

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

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, #2E8B57, #3CB371);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1F5F39, #2E8B57);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
}

.btn-secondary {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #2E8B57;
}

.btn-secondary:hover {
    background: #2E8B57;
    color: white;
}

.btn-tertiary {
    background: transparent;
    color: #2E8B57;
    border: 2px solid #2E8B57;
}

.btn-tertiary:hover {
    background: #2E8B57;
    color: white;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand h2 {
    color: #2E8B57;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #333;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #2E8B57;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2E8B57;
    transition: width 0.3s ease;
}

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

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5f0 100%);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-text h1 {
    font-size: 3rem;
    color: #2E8B57;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

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

.hero-image {
    text-align: center;
}

/* Section Styles */
section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: #2E8B57;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: #f8f9fa;
}

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

.about-text h3 {
    color: #2E8B57;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #666;
    margin-bottom: 1.5rem;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h4 {
    font-size: 2rem;
    color: #2E8B57;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #666;
    font-size: 0.9rem;
}

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

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

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2E8B57, #3CB371);
    border-radius: 50%;
}

.service-icon img {
    width: 50px;
    height: 50px;
    filter: brightness(0) invert(1);
}

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

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.service-card ul {
    text-align: left;
}

.service-card li {
    color: #666;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    color: #2E8B57;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Testimonials Section */
.testimonials {
    background: #f8f9fa;
}

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

.testimonials-grid {
    display: grid;
    gap: 2rem;
}

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

.stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

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

.client-info h4 {
    color: #2E8B57;
    margin-bottom: 0.5rem;
}

.client-info span {
    color: #999;
    font-size: 0.9rem;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, #2E8B57, #3CB371);
    color: white;
    text-align: center;
}

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

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

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: end;
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

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

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

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2E8B57, #3CB371);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-item h4 {
    color: #2E8B57;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
    margin: 0;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-brand h3 {
    color: #2E8B57;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #ccc;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2E8B57;
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: #2E8B57;
    margin-bottom: 1rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-column a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-column a:hover,
.footer-column a.active {
    color: #2E8B57;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

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

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

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

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

.cookie-buttons .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
}

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

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

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

.cookie-modal-content h3 {
    color: #2E8B57;
    margin-bottom: 1.5rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 5px;
}

.cookie-category label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
}

.cookie-category input[type="checkbox"] {
    margin: 0;
}

.cookie-category p {
    margin: 0.5rem 0 0 1.5rem;
    color: #666;
    font-size: 0.9rem;
}

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #2E8B57, #3CB371);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Blog Grid */
.blog-grid {
    padding: 80px 0;
}

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

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

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

.blog-image {
    height: 200px;
    overflow: hidden;
}

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

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

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.blog-category {
    background: #2E8B57;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.blog-date {
    color: #999;
}

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

.blog-content h2 a {
    color: #333;
    transition: color 0.3s ease;
}

.blog-content h2 a:hover {
    color: #2E8B57;
}

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

.read-more {
    color: #2E8B57;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 1rem;
}

.read-more::after {
    content: '→';
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: translateX(5px);
}

/* Article Styles */
.article {
    padding: 120px 0 80px;
}

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

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.article-category {
    background: #2E8B57;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.article-date {
    color: #999;
}

.article h1 {
    color: #2E8B57;
    margin-bottom: 1rem;
}

.article-lead {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.article-image {
    margin: 3rem 0;
    text-align: center;
}

.article-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.article-content h2 {
    color: #2E8B57;
    margin: 2rem 0 1rem;
}

.article-content h3 {
    color: #333;
    margin: 1.5rem 0 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: #555;
}

.article-content ul {
    margin: 1rem 0 1.5rem 2rem;
}

.article-content li {
    list-style: disc;
    margin-bottom: 0.5rem;
    color: #555;
}

.article-content strong {
    color: #2E8B57;
}

.article-footer {
    max-width: 800px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 2px solid #eee;
}

.article-share {
    margin-bottom: 2rem;
}

.article-share p {
    margin-bottom: 1rem;
    font-weight: 500;
}

.share-buttons {
    display: flex;
    gap: 1rem;
}

.share-btn {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.share-btn.facebook {
    background: #3b5998;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

/* Legal Pages */
.legal-page {
    padding: 120px 0 80px;
}

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

.legal-header h1 {
    color: #2E8B57;
    margin-bottom: 1rem;
}

.last-updated {
    color: #999;
    font-style: italic;
}

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

.legal-content h2 {
    color: #2E8B57;
    margin: 2rem 0 1rem;
}

.legal-content h3 {
    color: #333;
    margin: 1.5rem 0 1rem;
}

.legal-content p {
    margin-bottom: 1.5rem;
    color: #555;
}

.legal-content ul {
    margin: 1rem 0 1.5rem 2rem;
}

.legal-content li {
    list-style: disc;
    margin-bottom: 0.5rem;
    color: #555;
}

.legal-content a {
    color: #2E8B57;
    text-decoration: underline;
}

.legal-content a:hover {
    color: #1F5F39;
}

.cookie-settings-link {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 2rem;
}

/* Thank You Page */
.thank-you {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-icon {
    margin-bottom: 2rem;
}

.thank-you h1 {
    color: #2E8B57;
    margin-bottom: 1rem;
    font-size: 3rem;
}

.lead {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 2rem;
}

.thank-you-details {
    margin-bottom: 3rem;
}

.thank-you-details p {
    color: #555;
    margin-bottom: 1rem;
}

.thank-you-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

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

    .hero-text h1 {
        font-size: 2rem;
    }

    .stats {
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .form-group {
        min-width: auto;
    }

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

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .article-nav {
        flex-direction: column;
    }

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

    .thank-you h1 {
        font-size: 2rem;
    }

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

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

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }

    .hero {
        padding: 100px 0 60px;
    }

    section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .page-header {
        padding: 100px 0 60px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .service-card,
    .testimonial-card,
    .blog-card {
        margin: 0 auto;
        max-width: 400px;
    }

    .blog-posts {
        grid-template-columns: 1fr;
    }

    .article,
    .legal-page {
        padding: 100px 0 60px;
    }

    .thank-you {
        padding: 100px 0;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Scroll animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.hidden { display: none; }
.visible { display: block; }

/* Print Styles */
@media print {
    .navbar,
    .cookie-banner,
    .cookie-modal,
    .footer {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .container {
        max-width: none;
        padding: 0;
    }

    h1, h2, h3, h4, h5, h6 {
        color: black;
        page-break-after: avoid;
    }

    p, li {
        orphans: 3;
        widows: 3;
    }

    img {
        max-width: 100%;
        page-break-inside: avoid;
    }
}
