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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #fefefe;
    overflow-x: hidden;
}

/* Hand-drawn style variables */
:root {
    --primary-color: #2c5530;
    --secondary-color: #8fbc8f;
    --accent-color: #deb887;
    --text-color: #2c3e50;
    --background-color: #fefefe;
    --border-color: #34495e;
    --shadow-color: rgba(44, 85, 48, 0.1);
    --hand-drawn-rough: drop-shadow(1px 1px 0px rgba(44, 85, 48, 0.3));
}

/* Hand-drawn animations */
@keyframes hand-draw {
    0% {
        stroke-dasharray: 0 1000;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        stroke-dasharray: 1000 0;
        opacity: 1;
    }
}

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

@keyframes sketch-in {
    0% {
        opacity: 0;
        transform: scale(0.95) rotate(-1deg);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: blur(0px);
    }
}

/* Typography with hand-drawn feel */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    text-shadow: 1px 1px 2px rgba(44, 85, 48, 0.1);
}

h1 {
    font-size: 2.5rem;
    font-weight: bold;
    transform: rotate(-0.5deg);
}

h2 {
    font-size: 2rem;
    transform: rotate(0.3deg);
}

h3 {
    font-size: 1.5rem;
    transform: rotate(-0.2deg);
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    transform: rotate(0.1deg);
}

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

/* Hand-drawn buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-weight: bold;
    border: 3px solid;
    position: relative;
    cursor: pointer;
    transform: rotate(-0.5deg);
    background: none;
    font-size: 1rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px dashed transparent;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn:hover::before {
    border-color: var(--primary-color);
    animation: float 2s ease-in-out infinite;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 3px 3px 0px var(--secondary-color);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 3px 3px 0px var(--accent-color);
}

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

.btn-tertiary {
    background-color: var(--accent-color);
    color: var(--text-color);
    border-color: var(--accent-color);
    box-shadow: 3px 3px 0px var(--secondary-color);
}

/* Navigation with hand-drawn style */
.navbar {
    background-color: rgba(254, 254, 254, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-color);
    box-shadow: 0 4px 15px var(--shadow-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo img {
    height: 50px;
    filter: var(--hand-drawn-rough);
    transition: transform 0.3s ease;
}

.nav-logo img:hover {
    transform: rotate(5deg) scale(1.1);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    transform: rotate(-0.3deg);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
    transform: rotate(0.3deg) translateY(-2px);
    background-color: rgba(143, 188, 143, 0.1);
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

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

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

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

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, rgba(143, 188, 143, 0.1), rgba(222, 184, 135, 0.1));
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(44, 85, 48, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(222, 184, 135, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

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

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

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(44, 85, 48, 0.1);
    transform: rotate(-1deg);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    opacity: 0.9;
    transform: rotate(0.5deg);
}

.hero-image {
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.hero-svg {
    max-width: 100%;
    height: auto;
    filter: var(--hand-drawn-rough);
    transition: transform 0.3s ease;
}

.hero-svg:hover {
    transform: scale(1.05) rotate(2deg);
}

/* Sections with hand-drawn styling */
section {
    padding: 80px 0;
    position: relative;
}

section:nth-child(even) {
    background-color: rgba(143, 188, 143, 0.05);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    transform: rotate(-0.5deg);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    box-shadow: 2px 2px 4px rgba(44, 85, 48, 0.2);
}

/* About Preview Section */
.about-preview {
    background-color: rgba(222, 184, 135, 0.1);
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    transform: rotate(0.3deg);
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    gap: 2rem;
}

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

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

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

.stat p {
    color: var(--text-color);
    font-weight: bold;
    margin: 0;
}

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

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 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(-0.5deg);
    animation: sketch-in 0.6s ease-out;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    filter: var(--hand-drawn-rough);
    transition: transform 0.3s ease;
}

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

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

.service-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 5px 5px 0px var(--secondary-color);
    transform: rotate(-0.5deg);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: rotate(0.5deg) scale(1.05);
    box-shadow: 8px 8px 0px var(--secondary-color);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    filter: var(--hand-drawn-rough);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(44, 85, 48, 0.9));
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.portfolio-overlay h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    margin: 0;
    font-size: 0.9rem;
}

/* Testimonials */
.testimonials {
    background-color: rgba(143, 188, 143, 0.1);
}

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

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    border: 3px solid var(--primary-color);
    box-shadow: 5px 5px 0px var(--accent-color);
    transform: rotate(0.5deg);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--secondary-color);
    font-family: 'Comic Sans MS', cursive, sans-serif;
}

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

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.testimonial-author strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.testimonial-author span {
    display: block;
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

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

.blog-card {
    background-color: white;
    border-radius: 15px;
    border: 3px solid var(--primary-color);
    box-shadow: 5px 5px 0px var(--secondary-color);
    overflow: hidden;
    transform: rotate(-0.3deg);
    transition: all 0.3s ease;
}

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

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

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: var(--hand-drawn-rough);
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-img {
    transform: scale(1.1) rotate(2deg);
}

.blog-content {
    padding: 1.5rem;
}

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

.blog-content h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-content h3 a:hover {
    color: var(--secondary-color);
}

.blog-content p {
    margin-bottom: 1rem;
    color: var(--text-color);
    opacity: 0.8;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
}

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

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

/* Contact Section */
.contact {
    background-color: rgba(222, 184, 135, 0.1);
}

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

.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-links {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    transform: rotate(-0.5deg);
    transition: all 0.3s ease;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-weight: bold;
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: rotate(0.5deg) translateY(-2px);
}

/* Contact Form */
.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    border: 3px solid var(--primary-color);
    box-shadow: 5px 5px 0px var(--accent-color);
    transform: rotate(0.5deg);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: bold;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    transform: rotate(-0.3deg);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 3px solid var(--primary-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: rgba(143, 188, 143, 0.05);
    transform: rotate(0.2deg);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(143, 188, 143, 0.2);
    transform: rotate(-0.2deg) scale(1.02);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
    border-top: 5px solid var(--secondary-color);
}

.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;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    transform: rotate(-0.3deg);
}

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

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

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

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

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1) var(--hand-drawn-rough);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid var(--secondary-color);
    opacity: 0.8;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    z-index: 1001;
    border-top: 3px solid var(--secondary-color);
    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 .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    transform: rotate(0deg);
}

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

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

.cookie-modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    border: 3px solid var(--primary-color);
    box-shadow: 10px 10px 0px var(--secondary-color);
    max-width: 500px;
    width: 100%;
    transform: rotate(-0.5deg);
}

.cookie-modal-content h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

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

.cookie-option input[type="checkbox"] {
    width: auto;
    margin: 0;
    transform: scale(1.2);
}

.cookie-option label {
    color: var(--text-color);
    font-weight: normal;
    margin: 0;
}

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

/* Page Header for individual pages */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, rgba(143, 188, 143, 0.2), rgba(222, 184, 135, 0.2));
    text-align: center;
    border-bottom: 3px solid var(--primary-color);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    transform: rotate(-0.5deg);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.8;
    transform: rotate(0.3deg);
}

/* Legal Content Styling */
.legal-content {
    padding: 4rem 0;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 3rem;
    border-radius: 15px;
    border: 3px solid var(--primary-color);
    box-shadow: 8px 8px 0px var(--accent-color);
    transform: rotate(-0.2deg);
}

.legal-text h2 {
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text h3 {
    color: var(--secondary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.legal-text ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

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

.legal-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px dashed var(--secondary-color);
    font-style: italic;
    opacity: 0.8;
}

/* Cookie Policy Table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    border: 3px solid var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
}

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

.cookie-table th {
    background-color: var(--primary-color);
    color: white;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-weight: bold;
}

.cookie-table tr:nth-child(even) {
    background-color: rgba(143, 188, 143, 0.1);
}

.cookie-table tr:hover {
    background-color: rgba(222, 184, 135, 0.2);
}

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

/* Article Styles for Blog Pages */
.article {
    padding-top: 100px;
}

.article-header {
    padding: 2rem 0;
    background: linear-gradient(135deg, rgba(143, 188, 143, 0.1), rgba(222, 184, 135, 0.1));
    border-bottom: 3px solid var(--primary-color);
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.back-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--secondary-color);
}

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

.article-subtitle {
    font-size: 1.2rem;
    text-align: center;
    opacity: 0.8;
    margin-bottom: 2rem;
}

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

.article-img {
    max-width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    border: 3px solid var(--primary-color);
    box-shadow: 5px 5px 0px var(--secondary-color);
    filter: var(--hand-drawn-rough);
}

.article-content {
    padding: 4rem 0;
}

.article-content .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: 1200px;
}

.article-body {
    background-color: white;
    padding: 3rem;
    border-radius: 15px;
    border: 3px solid var(--primary-color);
    box-shadow: 8px 8px 0px var(--accent-color);
    transform: rotate(-0.3deg);
}

.article-intro {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: rgba(143, 188, 143, 0.1);
    border-left: 5px solid var(--secondary-color);
    border-radius: 0 10px 10px 0;
}

.article-body h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

.article-body h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.article-body p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.article-body ul {
    margin: 1.5rem 0;
    margin-left: 2rem;
}

.article-body li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.inline-image {
    width: 60px;
    height: 60px;
    float: left;
    margin: 0 1rem 1rem 0;
    filter: var(--hand-drawn-rough);
}

.article-cta {
    margin-top: 3rem;
    padding: 2rem;
    background-color: rgba(143, 188, 143, 0.1);
    border-radius: 15px;
    border: 3px solid var(--secondary-color);
    text-align: center;
    transform: rotate(0.3deg);
}

.article-cta h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.article-cta p {
    margin-bottom: 1.5rem;
}

/* Article Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-section {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    border: 3px solid var(--primary-color);
    box-shadow: 5px 5px 0px var(--accent-color);
    transform: rotate(0.5deg);
}

.sidebar-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.related-articles {
    list-style: none;
}

.related-articles li {
    margin-bottom: 0.8rem;
}

.related-articles a {
    color: var(--text-color);
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s ease;
}

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

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.share-btn {
    padding: 0.5rem 1rem;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    text-align: center;
    transition: all 0.3s ease;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-weight: bold;
    transform: rotate(-0.5deg);
}

.share-btn:hover {
    background-color: var(--primary-color);
    transform: rotate(0.5deg) translateY(-2px);
}

/* About Page Specific Styles */
.company-story {
    padding: 4rem 0;
}

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

.story-text {
    background-color: white;
    padding: 3rem;
    border-radius: 15px;
    border: 3px solid var(--primary-color);
    box-shadow: 8px 8px 0px var(--accent-color);
    transform: rotate(-0.3deg);
}

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

.about-img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    border: 3px solid var(--primary-color);
    box-shadow: 5px 5px 0px var(--secondary-color);
    filter: var(--hand-drawn-rough);
    transform: rotate(1deg);
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: rotate(-1deg) scale(1.05);
}

.values {
    background-color: rgba(143, 188, 143, 0.1);
    padding: 4rem 0;
}

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

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

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

.value-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    filter: var(--hand-drawn-rough);
}

.team {
    padding: 4rem 0;
}

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

.team-member {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: center;
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    border: 3px solid var(--primary-color);
    box-shadow: 5px 5px 0px var(--secondary-color);
    transform: rotate(0.3deg);
    transition: all 0.3s ease;
}

.team-member:nth-child(even) {
    transform: rotate(-0.3deg);
}

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

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

.member-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    border: 3px solid var(--primary-color);
    filter: var(--hand-drawn-rough);
}

.member-title {
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 1rem;
}

.company-stats {
    background-color: rgba(222, 184, 135, 0.1);
    padding: 4rem 0;
}

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

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

.stat-item:hover {
    transform: rotate(1deg) translateY(-5px);
    box-shadow: 8px 8px 0px var(--secondary-color);
}

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

.services-overview {
    padding: 4rem 0;
}

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

.competency {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    border: 3px solid var(--primary-color);
    box-shadow: 5px 5px 0px var(--accent-color);
    transform: rotate(0.2deg);
}

.competency:nth-child(even) {
    transform: rotate(-0.2deg);
}

.competency-icon {
    width: 80px;
    height: 80px;
    filter: var(--hand-drawn-rough);
}

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

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

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-content {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 15px;
    border: 3px solid white;
    box-shadow: 5px 5px 0px rgba(255, 255, 255, 0.3);
    transform: rotate(-0.5deg);
}

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

.cta-content p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

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

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 3rem;
    border-radius: 15px;
    border: 3px solid var(--primary-color);
    box-shadow: 8px 8px 0px var(--secondary-color);
    transform: rotate(-0.3deg);
}

.thank-you-icon {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.submission-details {
    margin: 2rem 0;
    padding: 2rem;
    background-color: rgba(143, 188, 143, 0.1);
    border-radius: 15px;
    border: 2px solid var(--secondary-color);
}

.message-preview {
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: rgba(222, 184, 135, 0.1);
    border-left: 5px solid var(--accent-color);
    border-radius: 0 10px 10px 0;
    text-align: left;
}

.contact-info {
    margin: 1.5rem 0;
    text-align: left;
}

.error-message {
    margin: 2rem 0;
    padding: 2rem;
    background-color: rgba(231, 76, 60, 0.1);
    border: 2px solid #e74c3c;
    border-radius: 15px;
    color: #c0392b;
}

.direct-access {
    margin: 2rem 0;
    padding: 2rem;
    background-color: rgba(52, 152, 219, 0.1);
    border: 2px solid #3498db;
    border-radius: 15px;
    color: #2980b9;
}

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

.next-steps {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(143, 188, 143, 0.1);
    border-radius: 10px;
    border: 2px solid var(--secondary-color);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    flex-shrink: 0;
}

.additional-info {
    margin: 3rem 0;
    text-align: left;
}

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

.info-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: white;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    transform: rotate(-0.5deg);
}

.info-link:hover {
    background-color: rgba(143, 188, 143, 0.1);
    transform: rotate(0.5deg) translateY(-2px);
}

.info-icon {
    width: 40px;
    height: 40px;
    filter: var(--hand-drawn-rough);
}

.contact-alternatives {
    margin: 3rem 0;
    text-align: left;
}

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

.contact-method {
    padding: 1rem;
    background-color: rgba(222, 184, 135, 0.1);
    border-radius: 10px;
    border: 2px solid var(--accent-color);
}

.contact-method a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.contact-method a:hover {
    color: var(--secondary-color);
}

.return-home {
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: rgba(254, 254, 254, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        border-top: 3px solid var(--primary-color);
    }

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

    .hamburger {
        display: flex;
    }

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

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

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

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

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

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }

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

    .legal-text {
        padding: 2rem;
        margin: 0 1rem;
    }

    .thank-you-content {
        margin: 0 1rem;
        padding: 2rem;
    }

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

    .info-links {
        grid-template-columns: 1fr;
    }

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

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

    .section-title {
        font-size: 1.8rem;
    }

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

    .service-card,
    .testimonial-card,
    .blog-card {
        margin: 0 0.5rem;
    }

    .legal-text {
        padding: 1.5rem;
    }

    .thank-you-content {
        padding: 1.5rem;
    }

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

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

/* Animations for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) rotate(-1deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
}

.service-card,
.testimonial-card,
.blog-card,
.portfolio-item {
    animation: fadeInUp 0.6s ease-out forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

/* Print styles */
@media print {
    .navbar,
    .cookie-banner,
    .cookie-modal,
    .hamburger {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
        background: white;
    }

    .hero,
    .footer {
        background: white;
        color: black;
    }

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

    .legal-text,
    .article-body,
    .thank-you-content {
        box-shadow: none;
        border: 1px solid black;
        transform: none;
    }
}

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

    .hero-svg,
    .float {
        animation: none;
    }

    .btn,
    .service-card,
    .portfolio-item,
    .testimonial-card {
        transform: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --secondary-color: #666666;
        --accent-color: #333333;
        --text-color: #000000;
        --background-color: #ffffff;
        --border-color: #000000;
    }
}

/* Focus styles for accessibility */
.btn:focus,
input:focus,
textarea:focus,
.nav-link:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Screen reader only content */
.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;
}
