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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
    background-color: #fefefe;
    overflow-x: hidden;
}

/* Hand-drawn aesthetic styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography with hand-drawn feel */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', serif;
    margin-bottom: 1rem;
    color: #2c3e50;
    position: relative;
}

h1 {
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 400;
}

h4 {
    font-size: 1.2rem;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
    color: #e74c3c;
    font-size: 1.1rem;
}

/* Hand-drawn decorative elements */
.section-title {
    text-align: center;
    position: relative;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: #2c3e50;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #e74c3c;
    border-radius: 2px;
    animation: drawLine 0.8s ease-out;
}

@keyframes drawLine {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

/* Button Styles with hand-drawn aesthetic */
.btn-primary, .btn-secondary, .btn-tertiary {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border: 2px solid;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    background: none;
    font-family: inherit;
    transform: rotate(-0.5deg);
}

.btn-primary {
    color: #fff;
    background-color: #e74c3c;
    border-color: #e74c3c;
}

.btn-primary:hover {
    background-color: #c0392b;
    border-color: #c0392b;
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.btn-secondary {
    color: #e74c3c;
    border-color: #e74c3c;
    background-color: transparent;
}

.btn-secondary:hover {
    background-color: #e74c3c;
    color: #fff;
    transform: rotate(0deg) scale(1.05);
}

.btn-tertiary {
    color: #7f8c8d;
    border-color: #7f8c8d;
    background-color: transparent;
    font-size: 0.9rem;
}

.btn-tertiary:hover {
    background-color: #7f8c8d;
    color: #fff;
    transform: rotate(0deg) scale(1.05);
}

/* Header and Navigation */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 2px solid #ecf0f1;
    transition: all 0.3s ease;
}

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

.nav-logo .logo {
    height: 50px;
    width: auto;
}

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

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.1);
    transform: rotate(-1deg);
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

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

.hero-text {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    line-height: 1.2;
    transform: rotate(-1deg);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #7f8c8d;
    transform: rotate(0.5deg);
}

.hero-image {
    animation: slideInRight 1s ease-out;
    text-align: center;
}

.hero-banner {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

.service-card {
    text-align: center;
    padding: 2rem;
    border: 2px solid #ecf0f1;
    border-radius: 20px;
    transition: all 0.3s ease;
    background-color: #fff;
    position: relative;
    transform: rotate(-0.5deg);
}

.service-card:nth-child(even) {
    transform: rotate(0.5deg);
}

.service-card:hover {
    transform: rotate(0deg) translateY(-10px);
    border-color: #e74c3c;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

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

.service-card p {
    color: #7f8c8d;
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transform: rotate(-1deg);
    transition: all 0.3s ease;
}

.portfolio-item:nth-child(even) {
    transform: rotate(1deg);
}

.portfolio-item:hover {
    transform: rotate(0deg) scale(1.05);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

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

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

.testimonial-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid #ecf0f1;
    transform: rotate(0.5deg);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:nth-child(even) {
    transform: rotate(-0.5deg);
}

.testimonial-card:hover {
    transform: rotate(0deg) translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #555;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 3rem;
    color: #e74c3c;
    position: absolute;
    top: -10px;
    left: -20px;
    opacity: 0.3;
}

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

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

/* Blog Section */
.blog-preview, .blog-page, .blog-articles {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.blog-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #ecf0f1;
    transition: all 0.3s ease;
    transform: rotate(-0.5deg);
}

.blog-card:nth-child(even) {
    transform: rotate(0.5deg);
}

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

.blog-card.featured {
    grid-column: span 2;
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

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

.blog-content h3 a:hover,
.blog-content h2 a:hover {
    color: #e74c3c;
}

.blog-date, .blog-category {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-right: 1rem;
}

.blog-category {
    background-color: #e74c3c;
    color: #fff;
    padding: 0.2rem 0.8rem;
    border-radius: 10px;
    font-size: 0.8rem;
}

.blog-more {
    text-align: center;
    margin-top: 3rem;
}

.read-more {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #c0392b;
}

/* Newsletter Section */
.newsletter, .blog-newsletter {
    padding: 80px 0;
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
}

.newsletter .section-title,
.blog-newsletter h2 {
    color: #fff;
}

.newsletter .section-title::after {
    background-color: #e74c3c;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 2rem auto 0;
    flex-wrap: wrap;
    justify-content: center;
}

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

.newsletter-form input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #34495e;
    border-radius: 25px;
    background-color: #34495e;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: #bdc3c7;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #e74c3c;
    background-color: #2c3e50;
}

.newsletter-form button {
    white-space: nowrap;
}

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

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

.contact-info {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid #ecf0f1;
    transform: rotate(-0.5deg);
}

.contact-item {
    margin-bottom: 2rem;
}

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

.contact-form {
    transform: rotate(0.5deg);
}

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #ecf0f1;
    border-radius: 15px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: #bdc3c7;
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
}

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

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

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

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

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

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

.social-links a {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

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

.footer-legal a:hover {
    color: #e74c3c;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: #fff;
    padding: 1.5rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

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

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 20px;
    max-width: 500px;
    margin: 1rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.cookie-modal.show .cookie-modal-content {
    transform: scale(1);
}

.cookie-category {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

/* Page-specific styles */
.page-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.page-title {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

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

/* About page styles */
.about-page,
.article-page,
.legal-page,
.thanks-page {
    padding-top: 80px;
}

.about-content,
.legal-content {
    padding: 40px 0;
}

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

.about-img {
    width: 100%;
    border-radius: 15px;
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: rotate(0deg);
}

.team-section,
.services-detail,
.values-section {
    margin: 4rem 0;
}

.team-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: center;
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid #ecf0f1;
    transform: rotate(0.5deg);
}

.team-image {
    width: 100%;
    border-radius: 15px;
}

.services-list {
    margin-top: 2rem;
}

.service-detail {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 15px;
    border: 2px solid #ecf0f1;
    transform: rotate(-0.3deg);
}

.service-detail:nth-child(even) {
    transform: rotate(0.3deg);
}

.service-detail .service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 0;
}

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

.value-item {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border-radius: 20px;
    border: 2px solid #ecf0f1;
    transform: rotate(-0.5deg);
    transition: all 0.3s ease;
}

.value-item:nth-child(even) {
    transform: rotate(0.5deg);
}

.value-item:hover {
    transform: rotate(0deg) translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-cta {
    text-align: center;
    padding: 60px 0;
    background-color: #2c3e50;
    color: #fff;
}

.about-cta h2 {
    color: #fff;
    margin-bottom: 1rem;
}

/* Article page styles */
.breadcrumb {
    padding: 2rem 0;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.breadcrumb a {
    color: #e74c3c;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

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

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

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1rem 0 2rem;
    font-size: 0.9rem;
    color: #7f8c8d;
    flex-wrap: wrap;
}

.article-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 15px;
    margin: 2rem 0;
}

.article-body {
    line-height: 1.8;
}

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

.article-body h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: #34495e;
}

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

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

.article-lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-left: 4px solid #e74c3c;
    border-radius: 0 10px 10px 0;
}

.related-articles {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid #ecf0f1;
}

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

.related-card {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid #ecf0f1;
    transform: rotate(-0.5deg);
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: rotate(0deg) translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.related-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.related-card h4 a {
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.related-card h4 a:hover {
    color: #e74c3c;
}

.related-date {
    font-size: 0.9rem;
    color: #7f8c8d;
}

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

.legal-intro {
    font-style: italic;
    color: #7f8c8d;
    margin-bottom: 2rem;
}

.legal-content h2 {
    margin-top: 2rem;
    color: #2c3e50;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    margin-top: 1.5rem;
    color: #34495e;
}

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

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

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #ecf0f1;
}

.cookie-table th,
.cookie-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ecf0f1;
}

.cookie-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.cookie-preferences {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 15px;
    border: 2px solid #ecf0f1;
}

/* Thanks page */
.thanks-page {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.thanks-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    background-color: #f8f9fa;
    border-radius: 20px;
    border: 2px solid #ecf0f1;
    transform: rotate(-0.5deg);
}

.thanks-message h1 {
    color: #27ae60;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.thanks-info {
    margin: 2rem 0;
    text-align: left;
}

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

.thanks-info li {
    margin-bottom: 0.5rem;
    color: #27ae60;
}

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

.thanks-contact {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #ecf0f1;
}

.auto-redirect {
    text-align: center;
    margin-top: 2rem;
    color: #7f8c8d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        padding: 2rem;
        border-top: 2px solid #ecf0f1;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .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 {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

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

    .team-member {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .service-detail {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

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

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

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

    .blog-card.featured {
        grid-column: span 1;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }

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

    .newsletter-form {
        flex-direction: column;
    }

    .thanks-actions {
        flex-direction: column;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

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

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .page-title {
        font-size: 2.2rem;
    }
}

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

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .service-card,
    .testimonial-card,
    .value-item {
        padding: 1.5rem;
    }

    .blog-card {
        margin: 0 10px;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .thanks-content {
        padding: 2rem;
        margin: 1rem;
    }

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

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #e74c3c;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card,
    .testimonial-card,
    .blog-card,
    .portfolio-item {
        border-width: 3px;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-tertiary {
        border-width: 3px;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .cookie-consent,
    .cookie-modal,
    .nav-toggle {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        margin: 0;
        padding: 0;
    }
    
    .hero,
    .services,
    .portfolio,
    .testimonials,
    .newsletter,
    .contact {
        padding: 20pt 0;
    }
}
