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

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 {
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

.btn-primary {
    background-color: #27ae60;
    color: white;
}

.btn-primary:hover {
    background-color: #219a52;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: #27ae60;
    color: white;
}

.btn-tertiary {
    background-color: #ecf0f1;
    color: #333;
}

.btn-tertiary:hover {
    background-color: #d5dbdb;
}

/* 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;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #27ae60;
}

.logo img {
    width: 40px;
    height: 40px;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #27ae60;
}

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

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

/* Banner Section */
.banner {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 80px;
}

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

.banner-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.banner-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.banner-graphic img {
    width: 100%;
    height: auto;
    max-width: 500px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

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

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

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

.about-text h3 {
    color: #27ae60;
    margin-bottom: 1rem;
}

.about-text ul {
    list-style: none;
    padding-left: 0;
}

.about-text li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.about-text li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

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

/* Services Section */
.services {
    padding: 80px 0;
}

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

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

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: #e8f5e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 40px;
    height: 40px;
}

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

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

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

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

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #27ae60;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

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

/* Blog Section */
.blog {
    padding: 80px 0;
}

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

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

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

.blog-image {
    height: 200px;
    overflow: hidden;
    background-color: #e8f5e8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image img {
    width: 80px;
    height: 80px;
}

.blog-content {
    padding: 1.5rem;
}

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

.blog-content h3 a {
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.blog-content h3 a:hover {
    color: #27ae60;
}

.blog-meta {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Blog Posts */
.blog-post {
    padding: 80px 0;
    margin-top: 80px;
}

.back-to-blog {
    background: none;
    border: none;
    color: #27ae60;
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: 2rem;
    text-decoration: underline;
}

.blog-post article {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post .blog-content {
    padding: 0;
}

.blog-post .blog-content h3 {
    color: #27ae60;
    margin-top: 2rem;
}

/* Subscription Section */
.subscription {
    padding: 80px 0;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
}

.subscription .section-header h2,
.subscription .section-header p {
    color: white;
}

.subscription-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    color: #333;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #27ae60;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-label a {
    color: #27ae60;
    text-decoration: underline;
}

/* Legal Section */
.legal {
    padding: 40px 0;
    background-color: #2c3e50;
    color: white;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.legal-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #27ae60;
}

/* Footer */
.footer {
    background-color: #34495e;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.footer-section h3 {
    color: #27ae60;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

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

.contact-item img {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

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

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

.social-links a:hover {
    background-color: #27ae60;
}

.social-links img {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid #4a5f7a;
    padding-top: 2rem;
    text-align: center;
    color: #bdc3c7;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #27ae60;
    text-decoration: none;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.cookie-content h3 {
    margin-bottom: 0.5rem;
    color: #27ae60;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

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

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: #7f8c8d;
}

.close:hover {
    color: #333;
}

.cookie-category {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ecf0f1;
}

.cookie-category:last-of-type {
    border-bottom: none;
}

.cookie-category h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    float: right;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #27ae60;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

input:disabled + .slider {
    background-color: #27ae60;
    opacity: 0.6;
    cursor: not-allowed;
}

.legal-content {
    line-height: 1.6;
}

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

.legal-content h4 {
    color: #2c3e50;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

/* Thanks page */
.thanks-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
}

.thanks-content {
    text-align: center;
    max-width: 600px;
    padding: 2rem;
}

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

.thanks-icon svg {
    width: 80px;
    height: 80px;
}

.thanks-content h1 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

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

.thanks-info {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: left;
}

.thanks-info h3 {
    margin-bottom: 1rem;
    text-align: center;
}

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

.thanks-info li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.thanks-info li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: white;
    font-weight: bold;
}

.contact-help {
    margin-top: 2rem;
    font-size: 0.9rem;
}

.contact-help a {
    color: white;
    text-decoration: none;
}

.contact-help a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .banner-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .banner-text h1 {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .legal-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .banner-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .thanks-content h1 {
        font-size: 2rem;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .banner {
        padding: 100px 0 60px;
    }
    
    .banner-text h1 {
        font-size: 1.8rem;
    }
    
    .banner-text p {
        font-size: 1rem;
    }
    
    .service-card,
    .testimonial-card,
    .blog-card {
        margin: 0 10px;
    }
    
    .subscription-form {
        margin: 0 10px;
        padding: 1.5rem;
    }
    
    .thanks-content {
        padding: 1rem;
    }
    
    .thanks-content h1 {
        font-size: 1.8rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

.service-card,
.testimonial-card,
.blog-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Focus styles for accessibility */
.btn:focus,
input:focus,
a:focus {
    outline: 2px solid #27ae60;
    outline-offset: 2px;
}
