/* 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 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2E7DD2;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: #1976D2;
}

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

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2E7DD2;
}

.brand-name {
    color: #2E7DD2;
}

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

.nav-menu a {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: #E3F2FD;
    color: #2E7DD2;
}

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

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    overflow: hidden;
    margin-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #1976D2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #2E7DD2;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    background: #1976D2;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 210, 0.3);
    color: white;
}

.cta-button-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
   
    color: #ffffff;
    padding: 1rem 2rem;
    border: 2px solid #2E7DD2;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button-secondary:hover {
    background: #2E7DD2;
    color: white;
}

/* Sections */
section {
    padding: 4rem 0;
}

.page-header {
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    padding: 6rem 0 4rem;
    margin-top: 80px;
    text-align: center;
}

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

.page-header p {
    font-size: 1.2rem;
    color: #424242;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: #F8F9FA;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

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

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

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

.service-card svg {
    margin-bottom: 1rem;
}

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

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

.about-features {
    list-style: none;
    margin-top: 2rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    color: #424242;
}

/* Testimonials */
.testimonials {
    background: #F8F9FA;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

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

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

.testimonial-rating {
    margin-bottom: 1rem;
}

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

.testimonial-author {
    font-weight: 600;
    color: #2E7DD2;
}

/* Contact Info Section */
.contact-info h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

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

.contact-item {
    text-align: center;
    padding: 2rem;
}

.contact-item svg {
    margin-bottom: 1rem;
}

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

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

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

.cta p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

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

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

.footer-section p {
    color: #B0BEC5;
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: #B0BEC5;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #64B5F6;
}

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

.social-links a {
    color: #B0BEC5;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #64B5F6;
}

.footer-bottom {
    border-top: 1px solid #37474F;
    padding-top: 1rem;
    text-align: center;
    color: #B0BEC5;
}

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

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

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

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

.cookie-buttons button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-accept-all {
    background: #4CAF50;
    color: white;
}

.btn-accept-all:hover {
    background: #45a049;
}

.btn-necessary {
    background: #FF9800;
    color: white;
}

.btn-necessary:hover {
    background: #f57c00;
}

.btn-settings {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.btn-settings:hover {
    background: white;
    color: #263238;
}

/* Blog Styles */
.blog-content {
    padding: 4rem 0;
}

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

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

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

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

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

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

.blog-content-text h2 a {
    color: #2E7DD2;
    text-decoration: none;
}

.blog-content-text h2 a:hover {
    color: #1976D2;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.read-more {
    color: #2E7DD2;
    font-weight: 600;
    text-decoration: none;
}

.read-more:hover {
    color: #1976D2;
}

/* Newsletter Section in Blog */
.newsletter-section {
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
}

.newsletter-content h2 {
    margin-bottom: 1rem;
    color: #1976D2;
}

/* Article Styles */
.article-content {
    margin-top: 80px;
}

.article-header {
    background: #F8F9FA;
    padding: 3rem 0;
    text-align: center;
}

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

.breadcrumb a {
    color: #2E7DD2;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #666;
    margin-top: 1rem;
}

.separator {
    color: #ccc;
}

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

.article-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

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

.lead {
    font-size: 1.2rem;
    color: #424242;
    font-weight: 500;
    line-height: 1.7;
}

.article-body h2 {
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

.article-body h3 {
    margin: 1.5rem 0 1rem;
    font-size: 1.4rem;
}

.article-body ul, .article-body ol {
    margin: 1rem 0 1rem 2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
    color: #424242;
}

.expert-tip {
    background: #E8F5E8;
    border-left: 4px solid #4CAF50;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 5px;
}

.expert-tip h4 {
    color: #2E7B32;
    margin-bottom: 0.5rem;
}

.cta-article {
    background: linear-gradient(135deg, #2E7DD2 0%, #1976D2 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin: 3rem 0;
}

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

.cta-article p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid #eee;
}

.nav-back, .nav-next a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2E7DD2;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.nav-back:hover, .nav-next a:hover {
    background: #E3F2FD;
}

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

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

.contact-form-section h2 {
    margin-bottom: 2rem;
}

/* Form Styles */
.contact-form, .newsletter-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

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

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

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #E0E0E0;
    border-radius: 3px;
    position: relative;
    flex-shrink: 0;
}

.submit-btn {
    background: #2E7DD2;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.submit-btn:hover {
    background: #1976D2;
    transform: translateY(-2px);
}

/* Contact Info Section */
.contact-info-section {
    background: #F8F9FA;
    padding: 2rem;
    border-radius: 15px;
    height: fit-content;
}

.contact-item-large {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #E0E0E0;
}

.contact-item-large:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.contact-icon {
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: #2E7DD2;
}

.contact-details p {
    margin-bottom: 0.5rem;
}

.contact-details small {
    color: #666;
    font-size: 0.9rem;
}

.business-hours, .emergency-contact {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #E0E0E0;
}

.hours-list {
    margin: 1rem 0;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: #424242;
}

.hours-note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* Map Section */
.map-section {
    margin: 4rem 0;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-placeholder {
    background: #F5F5F5;
}

.map-info {
    padding: 2rem;
}

.map-info h3 {
    margin-bottom: 1rem;
    color: #2E7DD2;
}

.map-info ul {
    list-style: none;
}

.map-info li {
    margin-bottom: 0.5rem;
    color: #424242;
}

/* FAQ Section */
.faq-section {
    margin: 4rem 0;
}

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

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

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-item h3 {
    margin-bottom: 1rem;
    color: #2E7DD2;
}

/* Newsletter Page Styles */
.newsletter-page {
    padding: 4rem 0;
    margin-top: 80px;
}

.newsletter-hero {
    text-align: center;
    margin-bottom: 4rem;
}

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

.newsletter-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #1976D2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #424242;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-benefits {
    margin: 4rem 0;
}

.newsletter-benefits h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

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

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

.benefit-icon {
    margin-bottom: 1rem;
}

.benefit-card h3 {
    margin-bottom: 1rem;
    color: #2E7DD2;
}

.newsletter-form-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin: 4rem 0;
}

.form-container h2 {
    margin-bottom: 1rem;
}

.form-container p {
    margin-bottom: 2rem;
    color: #666;
}

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

.newsletter-preview {
    background: #F8F9FA;
    padding: 2rem;
    border-radius: 15px;
    height: fit-content;
}

.newsletter-preview h3 {
    margin-bottom: 1.5rem;
    color: #2E7DD2;
}

.preview-container {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.preview-header {
    background: #2E7DD2;
    color: white;
    padding: 1rem;
}

.preview-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.preview-content {
    padding: 1.5rem;
}

.preview-content h4 {
    color: #2E7DD2;
    margin-bottom: 1rem;
}

.preview-section {
    margin: 1rem 0;
    padding: 1rem;
    background: #F8F9FA;
    border-radius: 5px;
}

.preview-section h5 {
    color: #1976D2;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.newsletter-faq, .newsletter-testimonials {
    margin: 4rem 0;
}

.newsletter-faq h2, .newsletter-testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
}

/* Thank You Page */
.thank-you-page {
    padding: 4rem 0;
    margin-top: 80px;
    text-align: center;
}

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

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

.thank-you-page h1 {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 1rem;
}

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

.thank-you-message {
    background: #E8F5E8;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.next-steps {
    margin: 3rem 0;
    text-align: left;
}

.next-steps h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

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

.step-number {
    background: #2E7DD2;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    color: #2E7DD2;
}

.contact-emergency {
    background: #FFF3E0;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.contact-emergency h3 {
    color: #E65100;
    margin-bottom: 1rem;
}

.emergency-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.emergency-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #E65100;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
}

.emergency-phone:hover {
    color: #BF360C;
}

.availability {
    background: #4CAF50;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

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

.social-follow {
    margin: 3rem 0;
}

.social-follow h3 {
    margin-bottom: 0.5rem;
    color: #2E7DD2;
}

.social-follow p {
    margin-bottom: 1.5rem;
    color: #666;
}

/* Legal Pages */
.legal-page {
    padding: 4rem 0;
    margin-top: 80px;
}

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

.legal-header h1 {
    font-size: 2.5rem;
    color: #1976D2;
    margin-bottom: 1rem;
}

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

.legal-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.legal-nav {
    background: #F8F9FA;
    padding: 2rem;
    border-radius: 15px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.legal-nav h3 {
    margin-bottom: 1rem;
    color: #2E7DD2;
}

.legal-nav ul {
    list-style: none;
}

.legal-nav li {
    margin-bottom: 0.5rem;
}

.legal-nav a {
    color: #666;
    text-decoration: none;
    padding: 0.3rem 0;
    display: block;
    transition: color 0.3s ease;
}

.legal-nav a:hover {
    color: #2E7DD2;
}

.legal-body {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.legal-body section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #E0E0E0;
}

.legal-body section:last-child {
    border-bottom: none;
}

.legal-body h2 {
    color: #1976D2;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #E3F2FD;
}

.legal-body h3 {
    color: #2E7DD2;
    margin: 1.5rem 0 1rem;
}

.legal-body h4 {
    color: #424242;
    margin: 1rem 0 0.5rem;
}

.legal-body ul, .legal-body ol {
    margin: 1rem 0 1rem 2rem;
}

.legal-body li {
    margin-bottom: 0.5rem;
    color: #424242;
}

.contact-box, .info-box, .warning-box {
    background: #E3F2FD;
    border-left: 4px solid #2E7DD2;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 5px;
}

.warning-box {
    background: #FFF3E0;
    border-left-color: #FF9800;
}

.warning-box h4 {
    color: #E65100;
}

.legal-footer {
    background: #F8F9FA;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
    text-align: center;
    color: #666;
}

/* Special Elements for Legal Pages */
.definitions {
    display: grid;
    gap: 1rem;
}

.definition-item {
    background: #F8F9FA;
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid #2E7DD2;
}

.definition-item h4 {
    color: #2E7DD2;
    margin-bottom: 0.5rem;
}

.purpose-list, .benefits-grid, .rights-grid {
    display: grid;
    gap: 1rem;
    margin: 1rem 0;
}

.purpose-item, .benefit-item, .right-item {
    background: #F8F9FA;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #2E7DD2;
}

.purpose-item h4, .benefit-item h4, .right-item h4 {
    color: #2E7DD2;
    margin-bottom: 0.5rem;
}

.retention-table {
    background: #F8F9FA;
    border-radius: 10px;
    overflow: hidden;
    margin: 1rem 0;
}

.retention-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #E0E0E0;
}

.retention-row:last-child {
    border-bottom: none;
}

.retention-purpose {
    font-weight: 600;
    color: #2E7DD2;
}

.retention-period {
    color: #424242;
}

/* Cookie Policy Specific Styles */
.cookies-types, .cookies-categories {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

.cookie-type, .category-card {
    background: #F8F9FA;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #2E7DD2;
}

.category-card {
    border-left-width: 6px;
}

.category-card.necessary {
    border-left-color: #F44336;
}

.category-card.functional {
    border-left-color: #FF9800;
}

.category-card.analytics {
    border-left-color: #4CAF50;
}

.category-card.marketing {
    border-left-color: #2196F3;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.category-header h3 {
    margin: 0;
}

.status {
    background: #E0E0E0;
    color: #666;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.cookie-details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #E0E0E0;
}

.cookie-details h5 {
    color: #2E7DD2;
    margin-bottom: 0.5rem;
}

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

.cookie-settings-btn {
    background: #2E7DD2;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.cookie-settings-btn:hover {
    background: #1976D2;
    transform: translateY(-2px);
}

.browser-instructions {
    display: grid;
    gap: 1rem;
    margin: 1rem 0;
}

.browser-item {
    background: #F8F9FA;
    padding: 1rem;
    border-radius: 8px;
}

.browser-item h4 {
    color: #2E7DD2;
    margin-bottom: 0.5rem;
}

.external-services {
    display: grid;
    gap: 1rem;
    margin: 1rem 0;
}

.service-item {
    background: #F8F9FA;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #2E7DD2;
}

.service-item h4 {
    color: #2E7DD2;
    margin-bottom: 0.5rem;
}

/* Article Specific Styles */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-item {
    background: #F8F9FA;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border-top: 4px solid #4CAF50;
}

.benefit-item svg {
    margin-bottom: 1rem;
}

.benefit-item h4 {
    color: #2E7DD2;
    margin-bottom: 1rem;
}

.recipe-card {
    background: #E8F5E8;
    border: 2px solid #4CAF50;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.recipe-card h4 {
    color: #2E7B32;
    margin-bottom: 1rem;
}

.recipe-card ul, .recipe-card ol {
    margin: 1rem 0 1rem 1.5rem;
}

.recipe-card li {
    margin-bottom: 0.5rem;
    color: #2E7B32;
}

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

.system-item {
    background: #F8F9FA;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #2E7DD2;
}

.system-item h4 {
    color: #2E7DD2;
    margin-bottom: 1rem;
}

.schedule-card {
    background: #E3F2FD;
    border: 2px solid #2E7DD2;
    border-radius: 15px;
    padding: 2rem;
    margin: 1.5rem 0;
}

.schedule-card h4 {
    color: #1976D2;
    margin-bottom: 1rem;
}

.color-system {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

.color-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #F8F9FA;
    border-radius: 8px;
}

.color-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
}

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

.age-group {
    background: #FFF3E0;
    border: 2px solid #FF9800;
    border-radius: 15px;
    padding: 2rem;
}

.age-group h4 {
    color: #E65100;
    margin-bottom: 1rem;
}

.age-group ul {
    margin: 1rem 0 0 1.5rem;
}

.age-group li {
    margin-bottom: 0.5rem;
    color: #BF360C;
}

.problem-solution {
    margin: 2rem 0;
}

.problem-solution h4 {
    background: #FFF3E0;
    color: #E65100;
    padding: 1rem;
    border-radius: 8px 8px 0 0;
    margin: 1.5rem 0 0;
}

.problem-solution p {
    background: #F8F9FA;
    padding: 1rem;
    border-radius: 0 0 8px 8px;
    margin: 0 0 1rem;
    border-left: 4px solid #FF9800;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .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-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px 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, 5px);
    }

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

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

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
    }

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

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

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

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

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

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

    .article-body {
        padding: 1rem;
    }

    .article-nav {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

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

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

    .map-container {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }

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

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

    .legal-content {
        grid-template-columns: 1fr;
    }

    .legal-nav {
        position: static;
        order: 2;
        margin-top: 2rem;
    }

    .legal-body {
        padding: 2rem;
    }

    .retention-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .browser-instructions {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .organization-system {
        grid-template-columns: 1fr;
    }

    .age-tasks {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero {
        min-height: 70vh;
        margin-top: 70px;
    }

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

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

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

    section {
        padding: 2rem 0;
    }

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

    .page-header {
        padding: 4rem 0 2rem;
    }

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

    .contact-form, .newsletter-form {
        padding: 1.5rem;
    }

    .legal-body {
        padding: 1.5rem;
    }

    .recipe-card, .schedule-card, .age-group {
        padding: 1.5rem;
    }

    .cta-button, .cta-button-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .submit-btn, .cookie-settings-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .contact-item-large {
        flex-direction: column;
        text-align: center;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
    }

    .emergency-contact {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Print Styles */
@media print {
    .header, .footer, .cookie-banner, .nav-toggle, .social-links {
        display: none !important;
    }

    .hero {
        margin-top: 0;
    }

    .page-header {
        margin-top: 0;
    }

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

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

    .article-content, .legal-page {
        margin-top: 0;
    }

    .legal-content {
        grid-template-columns: 1fr;
    }

    .legal-nav {
        display: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    body {
        background: #fff;
        color: #000;
    }

    .hero {
        background: #f0f0f0;
    }

    .cta-button {
        background: #000;
        color: #fff;
        border: 2px solid #000;
    }

    .cta-button:hover {
        background: #fff;
        color: #000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus Styles for Accessibility */
*:focus {
    outline: 2px solid #2E7DD2;
    outline-offset: 2px;
}

button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #2E7DD2;
    outline-offset: 2px;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
