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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 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;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
}

h2 {
    font-size: 2rem;
    color: #1a1a1a;
}

h3 {
    font-size: 1.5rem;
    color: #1a1a1a;
}

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

a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1d4ed8;
}

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

.btn-primary {
    background-color: #059669;
    color: white;
    border-color: #059669;
}

.btn-primary:hover {
    background-color: #047857;
    border-color: #047857;
    color: white;
}

.btn-secondary {
    background-color: #6b7280;
    color: white;
    border-color: #6b7280;
}

.btn-secondary:hover {
    background-color: #4b5563;
    border-color: #4b5563;
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: #059669;
    border-color: #059669;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1f2937;
    color: white;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
}

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

.cookie-content h3 {
    color: white;
    margin-bottom: 10px;
}

.cookie-content p {
    color: #d1d5db;
    margin-bottom: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.cookie-category {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

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

.cookie-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 10px;
}

.cookie-toggle input {
    display: none;
}

.slider {
    width: 50px;
    height: 24px;
    background: #ccc;
    border-radius: 24px;
    margin-right: 15px;
    position: relative;
    transition: background 0.3s;
}

.slider:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
}

.cookie-toggle input:checked + .slider {
    background: #059669;
}

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

.cookie-toggle input:disabled + .slider {
    background: #9ca3af;
    cursor: not-allowed;
}

.cookie-modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

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

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #059669;
}

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

.nav-menu a {
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #059669;
}

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

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

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

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

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #4b5563;
}

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

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

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

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

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #6b7280;
}

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

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

.service-icon img {
    width: 100%;
    height: 100%;
}

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

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

.service-card ul {
    list-style: none;
    padding: 0;
}

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

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

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

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

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

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

.stat p {
    color: #6b7280;
    font-weight: 500;
}

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

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

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

.testimonial-card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 2rem;
    border-left: 4px solid #059669;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: #374151;
}

.testimonial-author strong {
    display: block;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

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

/* Newsletter Section */
.newsletter {
    padding: 60px 0;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
}

.newsletter-content {
    text-align: center;
}

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

.newsletter-content p {
    color: #d1fae5;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
}

.form-group input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
}

.form-group input:focus {
    outline: 2px solid #10b981;
}

.form-consent {
    text-align: left;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.875rem;
    color: #d1fae5;
}

.checkbox-label input {
    margin: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 3px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input:checked + .checkmark:after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #059669;
    font-weight: bold;
}

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

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f9fafb;
}

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

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

.contact-item h3 {
    color: #059669;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #6b7280;
}

.contact-item a {
    color: #2563eb;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
}

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

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-brand .brand-name {
    color: #10b981;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: #d1d5db;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #10b981;
}

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

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

.social-links a:hover {
    background: #10b981;
    color: white;
}

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

.footer-bottom p {
    color: #9ca3af;
}

/* Blog Styles */
.blog-hero {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    padding: 120px 0 80px;
    text-align: center;
}

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

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-meta {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

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

.blog-card p {
    margin-bottom: 1.5rem;
}

.read-more {
    color: #059669;
    font-weight: 600;
}

/* Article Page Styles */
.article-hero {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    padding: 120px 0 40px;
}

.article-meta {
    text-align: center;
    margin-bottom: 2rem;
}

.article-meta .date {
    color: #6b7280;
    font-size: 0.875rem;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

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

.article-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #374151;
}

.article-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.article-nav {
    border-top: 1px solid #e5e7eb;
    padding-top: 2rem;
    text-align: center;
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 20px 80px;
}

.legal-content h1 {
    margin-bottom: 2rem;
}

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

.legal-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #374151;
}

.legal-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: #4b5563;
}

/* Thank You Page */
.thank-you {
    padding: 120px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
}

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

.thank-you h1 {
    color: #059669;
    margin-bottom: 1rem;
}

.thank-you p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-modal-buttons {
        flex-direction: column;
    }
    
    .form-group {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .services,
    .about,
    .testimonials,
    .contact {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .cookie-content {
        text-align: left;
    }
    
    .cookie-modal-content {
        padding: 20px;
    }
}
