/* CSS Custom Properties */
:root {
    /* Colors using HSL format */
    --primary: 210 65% 50%; /* #3182CE */
    --primary-dark: 210 65% 40%; /* #2C5AA0 */
    --primary-light: 210 65% 90%; /* #E6F3FF */
    --secondary: 45 100% 51%; /* #FFA500 */
    --secondary-dark: 45 100% 41%; /* #CC8400 */
    --background: 210 11% 98%; /* #F5F7FA */
    --surface: 0 0% 100%; /* #FFFFFF */
    --text-primary: 220 26% 14%; /* #1A202C */
    --text-secondary: 220 9% 46%; /* #718096 */
    --text-muted: 220 13% 69%; /* #A0AEC0 */
    --border: 220 13% 91%; /* #E2E8F0 */
    --success: 142 71% 45%; /* #38A169 */
    --warning: 45 93% 47%; /* #ED8936 */
    --error: 0 84% 60%; /* #E53E3E */
    --shadow: 220 43% 11% / 0.1; /* rgba(16, 42, 67, 0.1) */
}

/* 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: hsl(var(--text-primary));
    background-color: hsl(var(--background));
}

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

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

ul {
    list-style: none;
}

/* Container */
.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;
    color: hsl(var(--text-primary));
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: hsl(var(--text-secondary));
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: hsl(var(--text-secondary));
}

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

.btn-primary {
    background-color: hsl(var(--primary));
    color: white;
}

.btn-primary:hover {
    background-color: hsl(var(--primary-dark));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px hsl(var(--shadow));
}

.btn-secondary {
    background-color: hsl(var(--secondary));
    color: white;
}

.btn-secondary:hover {
    background-color: hsl(var(--secondary-dark));
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: hsl(var(--primary));
    border: 2px solid hsl(var(--primary));
}

.btn-outline:hover {
    background-color: hsl(var(--primary));
    color: white;
}

/* Header and Navigation */
.header {
    background-color: hsl(var(--surface));
    box-shadow: 0 2px 10px hsl(var(--shadow));
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav {
    padding: 1rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--primary));
}

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

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

.nav-menu a {
    font-weight: 500;
    color: hsl(var(--text-primary));
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: hsl(var(--primary));
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: hsl(var(--text-primary));
    transition: all 0.3s ease;
}

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

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, hsl(var(--primary-light)), hsl(var(--background)));
}

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

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: hsl(var(--text-primary));
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: hsl(var(--text-secondary));
}

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

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

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

/* Page Hero */
.page-hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, hsl(var(--primary-light)), hsl(var(--background)));
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.25rem;
    color: hsl(var(--text-secondary));
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: hsl(var(--surface));
}

.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-color: hsl(var(--surface));
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px hsl(var(--shadow));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px hsl(var(--shadow));
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: hsl(var(--primary));
}

.service-card h3 {
    margin-bottom: 1rem;
    color: hsl(var(--text-primary));
}

/* About Section */
.about-preview {
    padding: 80px 0;
    background-color: hsl(var(--background));
}

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

.about-text h2 {
    margin-bottom: 1.5rem;
}

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

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

.stat {
    text-align: center;
    padding: 1.5rem;
    background-color: hsl(var(--surface));
    border-radius: 12px;
    box-shadow: 0 2px 10px hsl(var(--shadow));
}

.stat h3 {
    font-size: 2.5rem;
    color: hsl(var(--primary));
    margin-bottom: 0.5rem;
}

.stat p {
    color: hsl(var(--text-secondary));
    margin: 0;
}

/* About Page Styles */
.about-story {
    padding: 80px 0;
}

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

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

.mission-values {
    padding: 80px 0;
    background-color: hsl(var(--background));
}

.mission-values h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.value-card {
    background-color: hsl(var(--surface));
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px hsl(var(--shadow));
}

.value-card h3 {
    color: hsl(var(--primary));
    margin-bottom: 1rem;
}

.team {
    padding: 80px 0;
}

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

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

.team-member {
    background-color: hsl(var(--surface));
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px hsl(var(--shadow));
}

.team-member h3 {
    color: hsl(var(--text-primary));
    margin-bottom: 0.5rem;
}

.role {
    color: hsl(var(--primary));
    font-weight: 600;
    margin-bottom: 1rem;
}

.company-stats {
    padding: 80px 0;
    background-color: hsl(var(--background));
}

.company-stats h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background-color: hsl(var(--surface));
    border-radius: 12px;
    box-shadow: 0 2px 10px hsl(var(--shadow));
}

.stat-item h3 {
    font-size: 2rem;
    color: hsl(var(--primary));
    margin-bottom: 0.5rem;
}

.commitment {
    padding: 80px 0;
}

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

.commitment-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.commitment-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: hsl(var(--success));
    font-weight: bold;
}

.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-dark)));
    text-align: center;
    color: white;
}

.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;
}

.cta .btn-outline {
    border-color: white;
    color: white;
}

.cta .btn-outline:hover {
    background-color: white;
    color: hsl(var(--primary));
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: hsl(var(--background));
}

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

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

.testimonial {
    background-color: hsl(var(--surface));
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px hsl(var(--shadow));
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: hsl(var(--text-secondary));
}

.testimonial-author strong {
    color: hsl(var(--text-primary));
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: hsl(var(--text-muted));
    font-size: 0.9rem;
}

/* Newsletter */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-dark)));
    color: white;
    text-align: center;
}

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

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

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: 2px solid hsl(var(--secondary));
}

/* Blog Styles */
.blog-articles {
    padding: 80px 0;
}

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

.article-card {
    background-color: hsl(var(--surface));
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px hsl(var(--shadow));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px hsl(var(--shadow));
}

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

.article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 1.5rem;
}

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

.article-date {
    color: hsl(var(--text-muted));
}

.article-category {
    color: hsl(var(--primary));
    font-weight: 600;
}

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

.article-content h2 a {
    color: hsl(var(--text-primary));
    transition: color 0.3s ease;
}

.article-content h2 a:hover {
    color: hsl(var(--primary));
}

.read-more {
    color: hsl(var(--primary));
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: hsl(var(--primary-dark));
}

.blog-newsletter {
    padding: 80px 0;
    background-color: hsl(var(--background));
}

/* Blog Post Styles */
.blog-post {
    padding: 40px 0 80px;
}

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

.breadcrumb {
    margin-bottom: 1rem;
    color: hsl(var(--text-muted));
}

.breadcrumb a {
    color: hsl(var(--primary));
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.post-date,
.post-category,
.post-author {
    color: hsl(var(--text-muted));
}

.post-category {
    color: hsl(var(--primary));
    font-weight: 600;
}

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

.post-img {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px hsl(var(--shadow));
}

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

.post-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: hsl(var(--text-primary));
}

.post-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: hsl(var(--text-primary));
}

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

.post-content li {
    margin-bottom: 0.5rem;
    color: hsl(var(--text-secondary));
}

.post-content ul {
    list-style-type: disc;
}

.post-content ol {
    list-style-type: decimal;
}

.post-tags {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid hsl(var(--border));
}

.tag {
    display: inline-block;
    background-color: hsl(var(--primary-light));
    color: hsl(var(--primary));
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.post-author-bio {
    margin-top: 3rem;
    padding: 2rem;
    background-color: hsl(var(--background));
    border-radius: 12px;
}

.post-navigation {
    margin-top: 3rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

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

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

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

.contact-item {
    text-align: center;
    padding: 2rem;
    background-color: hsl(var(--surface));
    border-radius: 12px;
    box-shadow: 0 4px 20px hsl(var(--shadow));
}

.contact-item h3 {
    color: hsl(var(--primary));
    margin-bottom: 1rem;
}

.contact-item a {
    color: hsl(var(--primary));
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: hsl(var(--primary-dark));
}

/* Footer */
.footer {
    background-color: hsl(var(--text-primary));
    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-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

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

.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-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: hsl(var(--primary));
}

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

/* Cookie Management */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: hsl(var(--text-primary));
    color: white;
    padding: 1.5rem;
    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;
}

.cookie-content h3 {
    color: white;
    margin-bottom: 1rem;
}

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

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

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    padding: 2rem;
}

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

.cookie-modal-content {
    background-color: hsl(var(--surface));
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-content h3 {
    margin-bottom: 1.5rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: hsl(var(--background));
    border-radius: 8px;
}

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

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

.cookie-category p {
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-size: 0.9rem;
    color: hsl(var(--text-muted));
}

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

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

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

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

.thank-you-content h1 {
    margin-bottom: 1rem;
    color: hsl(var(--success));
}

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

.benefit-item {
    padding: 1.5rem;
    background-color: hsl(var(--surface));
    border-radius: 12px;
    box-shadow: 0 4px 20px hsl(var(--shadow));
}

.benefit-item h3 {
    margin-bottom: 1rem;
    color: hsl(var(--primary));
}

.steps-list {
    text-align: left;
    margin: 2rem 0;
}

.step {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.step-number {
    background-color: hsl(var(--primary));
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 0.5rem;
}

.step-content p {
    margin: 0;
}

.articles-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.article-preview {
    padding: 1.5rem;
    background-color: hsl(var(--surface));
    border-radius: 12px;
    box-shadow: 0 4px 20px hsl(var(--shadow));
}

.article-preview h3 {
    margin-bottom: 1rem;
}

.article-preview h3 a {
    color: hsl(var(--primary));
}

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

.social-follow .social-links {
    justify-content: center;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: hsl(var(--primary));
    color: white;
    border-radius: 25px;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background-color: hsl(var(--primary-dark));
}

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

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

.last-updated {
    color: hsl(var(--text-muted));
    font-style: italic;
    margin-bottom: 3rem;
}

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

.legal-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: hsl(var(--primary));
}

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

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

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

.legal-content a {
    color: hsl(var(--primary));
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Cookie Table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background-color: hsl(var(--surface));
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px hsl(var(--shadow));
}

.cookie-table th,
.cookie-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid hsl(var(--border));
}

.cookie-table th {
    background-color: hsl(var(--primary-light));
    font-weight: 600;
    color: hsl(var(--primary));
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

.cookie-settings-link {
    margin-top: 3rem;
    padding: 2rem;
    background-color: hsl(var(--primary-light));
    border-radius: 12px;
    text-align: center;
}

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

    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: hsl(var(--surface));
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px hsl(var(--shadow));
    }

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

    .nav-menu a {
        padding: 1rem;
        font-size: 1.25rem;
    }

    .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);
    }

    /* Typography */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

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

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

    /* Layout */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

    .hero-buttons,
    .cta-buttons {
        justify-content: center;
    }

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

    .newsletter-form input {
        min-width: 100%;
        margin-bottom: 1rem;
    }

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

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

    .post-navigation {
        flex-direction: column;
        text-align: center;
    }

    .cookie-table {
        font-size: 0.9rem;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

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

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

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .cookie-modal {
        padding: 1rem;
    }

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

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .social-links,
    .cta,
    .newsletter {
        display: none;
    }

    main {
        margin-top: 0;
    }

    body {
        background-color: white;
        color: black;
    }

    .btn {
        border: 1px solid black;
        background: transparent;
        color: black;
    }
}

/* Accessibility */
@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 better accessibility */
button:focus,
input:focus,
a:focus {
    outline: 2px solid hsl(var(--primary));
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-primary: 0 0% 0%;
        --text-secondary: 0 0% 20%;
        --background: 0 0% 100%;
        --border: 0 0% 50%;
    }
}
