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

body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fefefe;
    overflow-x: hidden;
}

/* Hand-drawn aesthetic variables */
:root {
    --primary-color: #2c5cc5;
    --secondary-color: #ff6b35;
    --accent-color: #4ecdc4;
    --text-color: #2d3436;
    --light-bg: #ffeaa7;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray: #6c757d;
    --success: #2e7d32;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --border-radius: 25px;
    --hand-drawn-border: 3px solid #2c5cc5;
}

/* Hand-drawn utility classes */
.hand-drawn {
    border: var(--hand-drawn-border);
    border-radius: 15px 25px 20px 30px;
    position: relative;
}

.hand-drawn::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 2px solid var(--secondary-color);
    border-radius: 20px 30px 25px 15px;
    z-index: -1;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 1rem;
    position: relative;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-shadow: 2px 2px 0px var(--secondary-color);
    transform: rotate(-1deg);
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
    transform: rotate(0.5deg);
}

h3 {
    font-size: 1.5rem;
    color: var(--text-color);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border: 3px solid var(--primary-color);
    border-radius: 15px 25px 20px 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    transform: rotate(-0.5deg);
    box-shadow: 3px 3px 0px var(--secondary-color);
}

.btn:hover {
    transform: rotate(0deg) translateY(-2px);
    box-shadow: 5px 5px 0px var(--secondary-color);
}

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

.btn-primary:hover {
    background: #1e3d8f;
}

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

.btn-outline {
    background: transparent;
    color: var(--primary-color);
}

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

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-color);
}

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

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

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    font-size: 1.1rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    transform: rotate(-1deg);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-menu a:hover::after {
    width: 100%;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-opacity='0.03'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%232c5cc5'/%3E%3C/g%3E%3C/svg%3E");
    animation: float 20s ease-in-out infinite;
    z-index: -1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

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

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: bounce-in 1s ease-out;
}

@keyframes bounce-in {
    0% { transform: scale(0.3) rotate(-5deg); opacity: 0; }
    50% { transform: scale(1.05) rotate(2deg); }
    70% { transform: scale(0.9) rotate(-1deg); }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--gray);
}

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

.hero-image img {
    width: 100%;
    height: auto;
    animation: wiggle 3s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--white);
}

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

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 3rem;
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px 30px 25px 15px;
    border: 3px solid var(--primary-color);
    box-shadow: 5px 5px 0px var(--accent-color);
    text-align: center;
    transition: all 0.3s ease;
    transform: rotate(-1deg);
}

.service-card:nth-child(even) {
    transform: rotate(1deg);
    box-shadow: 5px 5px 0px var(--secondary-color);
}

.service-card:hover {
    transform: rotate(0deg) translateY(-10px);
    box-shadow: 8px 8px 0px var(--accent-color);
}

.service-card:nth-child(even):hover {
    box-shadow: 8px 8px 0px var(--secondary-color);
}

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

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* About Section */
.about-preview {
    padding: 100px 0;
    background: var(--light-bg);
}

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

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

.about-image img {
    width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: var(--white);
}

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

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

.testimonial-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 25px 15px 30px 20px;
    border: 3px solid var(--accent-color);
    position: relative;
    transform: rotate(1deg);
}

.testimonial-card:nth-child(even) {
    transform: rotate(-1deg);
    border-color: var(--secondary-color);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent-color);
    font-family: serif;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
}

.testimonial-author strong {
    color: var(--primary-color);
    display: block;
}

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

/* Blog Section */
.blog-preview {
    padding: 100px 0;
    background: var(--gray-light);
}

.blog-preview h2 {
    text-align: center;
    margin-bottom: 1rem;
}

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

.blog-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px 30px 15px 25px;
    border: 3px solid var(--primary-color);
    box-shadow: 4px 4px 0px var(--secondary-color);
    transform: rotate(-0.5deg);
}

.blog-card:nth-child(even) {
    transform: rotate(0.5deg);
    box-shadow: 4px 4px 0px var(--accent-color);
}

.blog-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.blog-card h3 a {
    text-decoration: none;
    color: var(--text-color);
}

.blog-card h3 a:hover {
    color: var(--primary-color);
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    color: var(--secondary-color);
}

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

/* Newsletter Section */
.newsletter {
    padding: 100px 0;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

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

.newsletter-form {
    max-width: 600px;
    margin: 2rem auto 0;
    display: grid;
    gap: 1rem;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 3px solid var(--white);
    border-radius: 15px 25px 20px 30px;
    font-size: 1.1rem;
    font-family: inherit;
    background: var(--white);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.3);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--light-bg);
}

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

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

.contact-info h3 {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

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

.contact-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.social-media h3 {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

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

.social-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    border: 2px solid var(--primary-color);
    border-radius: 15px 25px 20px 30px;
    transition: all 0.3s ease;
    transform: rotate(-0.5deg);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(0deg);
}

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

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

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

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover,
.footer-section ul li a.active {
    color: var(--accent-color);
}

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

.footer-bottom {
    border-top: 2px solid var(--gray);
    padding-top: 1rem;
    text-align: center;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    border-top: 3px solid var(--primary-color);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.cookie-banner p {
    margin-bottom: 15px;
    font-size: 1rem;
}

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

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

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

.cookie-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-content {
    background: var(--white);
    padding: 30px;
    border-radius: 20px 30px 25px 15px;
    border: 3px solid var(--primary-color);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-setting {
    margin-bottom: 20px;
}

.cookie-setting label {
    display: flex;
    align-items: center;
    font-weight: bold;
    margin-bottom: 5px;
}

.cookie-setting input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
}

.cookie-setting p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-left: 25px;
}

/* Page specific styles */
.page-hero {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

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

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

.last-updated {
    color: var(--gray);
    font-style: italic;
    margin-bottom: 2rem;
}

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

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

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

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

.company-info {
    background: var(--gray-light);
    padding: 1.5rem;
    border-radius: 15px 25px 20px 30px;
    border: 2px solid var(--primary-color);
    margin: 1rem 0;
}

/* Cookie table */
.cookie-table {
    overflow-x: auto;
    margin: 1rem 0;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
}

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

.cookie-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: bold;
}

.cookie-settings-section {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px 25px 20px 30px;
    border: 2px solid var(--accent-color);
    margin: 2rem 0;
    text-align: center;
}

/* Article pages */
.article-header {
    background: var(--gray-light);
    padding: 40px 0;
}

.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

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

.article-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.article-date {
    color: var(--gray);
    font-size: 0.9rem;
}

.article-category {
    background: var(--accent-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

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

.article-main-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    display: block;
}

.article-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.lead {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.article-text h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article-text h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

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

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

/* Related articles */
.related-articles {
    background: var(--gray-light);
    padding: 60px 0;
}

.related-articles h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.related-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px 25px 20px 30px;
    border: 2px solid var(--primary-color);
    box-shadow: 3px 3px 0px var(--accent-color);
}

.related-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.related-card h3 a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.2rem;
}

.related-card h3 a:hover {
    color: var(--primary-color);
}

/* Blog section */
.blog-section {
    padding: 60px 0;
}

.blog-articles {
    display: grid;
    gap: 3rem;
}

.blog-article-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 20px 30px 15px 25px;
    border: 3px solid var(--primary-color);
    box-shadow: 4px 4px 0px var(--accent-color);
    transform: rotate(-0.5deg);
}

.blog-article-card:nth-child(even) {
    transform: rotate(0.5deg);
    box-shadow: 4px 4px 0px var(--secondary-color);
}

.article-icon {
    width: 80px;
    height: 80px;
}

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

.article-content h2 a {
    text-decoration: none;
    color: var(--text-color);
}

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

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.newsletter-cta {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.newsletter-cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

/* Thank you page */
.thank-you-section {
    padding: 100px 0;
    text-align: center;
}

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

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

.thank-you-message {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--gray);
}

.next-steps {
    margin: 4rem 0;
}

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

.step {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px 30px 15px 25px;
    border: 3px solid var(--primary-color);
    box-shadow: 4px 4px 0px var(--accent-color);
    transform: rotate(-1deg);
}

.step:nth-child(even) {
    transform: rotate(1deg);
    box-shadow: 4px 4px 0px var(--secondary-color);
}

.step-number {
    background: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
}

.thank-you-actions {
    margin: 4rem 0;
}

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

.contact-info {
    background: var(--gray-light);
    padding: 2rem;
    border-radius: 20px 30px 15px 25px;
    border: 2px solid var(--accent-color);
    margin-top: 3rem;
}

.contact-details {
    margin-top: 1rem;
}

.services-preview {
    background: var(--light-bg);
    padding: 80px 0;
}

/* About page specific */
.company-story {
    padding: 80px 0;
}

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

.story-svg {
    width: 100%;
    height: auto;
}

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

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

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px 30px 15px 25px;
    border: 3px solid var(--accent-color);
    box-shadow: 4px 4px 0px var(--secondary-color);
    text-align: center;
    transform: rotate(-1deg);
}

.value-card:nth-child(even) {
    transform: rotate(1deg);
    box-shadow: 4px 4px 0px var(--accent-color);
}

.services-detail {
    padding: 80px 0;
}

.services-list {
    display: grid;
    gap: 3rem;
}

.service-detail {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 20px 30px 15px 25px;
    border: 3px solid var(--primary-color);
    box-shadow: 4px 4px 0px var(--accent-color);
}

.service-detail:nth-child(even) {
    box-shadow: 4px 4px 0px var(--secondary-color);
}

.service-detail-icon {
    width: 100px;
    height: 100px;
}

.service-detail-content ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.contact-cta {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.contact-cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
        border-top: 3px solid var(--primary-color);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-content,
    .about-content,
    .contact-grid,
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-article-card {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-detail {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .services,
    .about-preview,
    .testimonials,
    .blog-preview,
    .newsletter,
    .contact {
        padding: 60px 0;
    }
    
    .cookie-modal-content {
        padding: 20px;
        margin: 20px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .btn {
        display: none;
    }
    
    body {
        font-family: Arial, sans-serif;
        line-height: 1.4;
        color: #000;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: #000;
        transform: none;
        text-shadow: none;
    }
    
    .service-card,
    .testimonial-card,
    .blog-card,
    .value-card {
        transform: none;
        box-shadow: none;
        border: 1px solid #000;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000080;
        --secondary-color: #cc3300;
        --accent-color: #006666;
        --text-color: #000000;
        --light-bg: #ffffff;
        --white: #ffffff;
        --gray-light: #f0f0f0;
        --gray: #404040;
    }
    
    .btn {
        border-width: 2px;
    }
    
    .service-card,
    .testimonial-card,
    .blog-card {
        border-width: 2px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero::before {
        animation: none;
    }
    
    .hero-image img {
        animation: none;
    }
    
    .about-image img {
        animation: none;
    }
}
