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

:root {
    --primary-color: #2c7a2c;
    --secondary-color: #f7b500;
    --accent-color: #ff6b35;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e9ecef;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --success-color: #28a745;
    --error-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    
    /* Hand-drawn style variables */
    --sketch-stroke: 2px;
    --sketch-roughness: 1px;
    --animation-speed: 0.3s;
    --bounce-easing: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --sketch-easing: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-color);
    overflow-x: hidden;
}

/* Hand-drawn sketch animations */
@keyframes sketch-draw {
    0% { stroke-dashoffset: 100; }
    100% { stroke-dashoffset: 0; }
}

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

@keyframes wobble {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(1deg); }
    75% { transform: rotate(-1deg); }
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    position: relative;
}

h1::after, h2::after, h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
    transform: skew(-5deg);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all var(--animation-speed) var(--sketch-easing);
    position: relative;
    overflow: hidden;
    transform: rotate(-1deg);
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left var(--animation-speed) ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.2);
}

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

.btn-primary:hover {
    background: darken(var(--primary-color), 10%);
    color: var(--primary-color);
}

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

.btn-tertiary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--text-color);
}

/* Header */
.header {
    background: var(--bg-color);
    box-shadow: 0 2px 20px var(--shadow-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-color);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: relative;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
    transition: transform var(--animation-speed) var(--bounce-easing);
}

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

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

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    transition: color var(--animation-speed) ease;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--animation-speed) var(--sketch-easing);
}

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

.nav-link:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
    transform-origin: center;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23000" opacity="0.02"/><circle cx="75" cy="75" r="1" fill="%23000" opacity="0.02"/><circle cx="50" cy="10" r="1" fill="%23000" opacity="0.02"/><circle cx="10" cy="50" r="1" fill="%23000" opacity="0.02"/><circle cx="90" cy="50" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

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

.hero-text {
    animation: bounce-in 0.8s var(--bounce-easing) 0.2s both;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    position: relative;
}

.hero-title::after {
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    line-height: 1.8;
}

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

.hero-image {
    text-align: center;
    animation: bounce-in 0.8s var(--bounce-easing) 0.4s both;
}

.hero-banner {
    max-width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
}

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

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

.service-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all var(--animation-speed) var(--sketch-easing);
    position: relative;
    border: 2px solid transparent;
    transform: rotate(-1deg);
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--animation-speed) ease;
}

.service-card:hover::before {
    opacity: 1;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    transition: transform var(--animation-speed) var(--bounce-easing);
}

.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-light);
    line-height: 1.6;
}

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

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-features {
    list-style: none;
    margin: 1.5rem 0;
}

.about-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
    color: var(--text-light);
}

.about-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.about-img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    animation: float 4s ease-in-out infinite;
}

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

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

.testimonial-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    position: relative;
    transform: rotate(-1deg);
    transition: all var(--animation-speed) var(--sketch-easing);
    border: 2px solid var(--border-color);
}

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

.testimonial-card:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 10px 30px var(--shadow-color);
}

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

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

.testimonial-author h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

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

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

.blog-card {
    background: var(--bg-color);
    border-radius: 15px;
    overflow: hidden;
    transition: all var(--animation-speed) var(--sketch-easing);
    transform: rotate(-1deg);
    box-shadow: 0 5px 15px var(--shadow-color);
}

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

.blog-card:hover {
    transform: rotate(0deg) translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--animation-speed) ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.1);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.blog-date, .blog-category {
    font-size: 0.9rem;
    color: var(--text-light);
}

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

.blog-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--animation-speed) ease;
}

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

.blog-center {
    text-align: center;
}

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

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

.contact-info {
    display: grid;
    gap: 2rem;
}

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

.contact-item p {
    color: var(--text-light);
}

.contact-form {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    transform: rotate(-1deg);
    transition: transform var(--animation-speed) var(--sketch-easing);
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color var(--animation-speed) ease;
    background: var(--bg-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 122, 44, 0.1);
}

/* Footer */
.footer {
    background: var(--text-color);
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), 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(--secondary-color);
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color var(--animation-speed) ease;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

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

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

.social-links a {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: all var(--animation-speed) ease;
}

.social-links a:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-color);
    color: white;
    padding: 1rem;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform var(--animation-speed) var(--sketch-easing);
}

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

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

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

/* Page-specific styles */
.about-hero {
    padding: 120px 0 80px;
    background: var(--bg-light);
}

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

.about-hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.about-hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}

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

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

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

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

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

.value-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transform: rotate(-1deg);
    transition: all var(--animation-speed) var(--sketch-easing);
    border: 2px solid var(--border-color);
}

.value-card:nth-child(even) {
    transform: rotate(1deg);
}

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

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

.team {
    padding: 80px 0;
    background: var(--bg-color);
}

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

.team-member {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transform: rotate(-1deg);
    transition: all var(--animation-speed) var(--sketch-easing);
}

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

.team-member:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 10px 30px var(--shadow-color);
}

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

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

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

.cert-list {
    max-width: 600px;
    margin: 0 auto;
}

.cert-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
    color: var(--text-light);
}

.cert-list li::before {
    content: '🏆';
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

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

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

.thanks-content h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.thanks-message {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.thanks-info {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    text-align: left;
    transform: rotate(-1deg);
}

.thanks-info h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.thanks-info li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.thanks-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.thanks-contact {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    transform: rotate(1deg);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    font-size: 1.1rem;
}

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

.blog-hero {
    padding: 120px 0 80px;
    background: var(--bg-light);
    text-align: center;
}

.blog-hero h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.blog-hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

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

.article-header {
    padding: 120px 0 80px;
    background: var(--bg-light);
    text-align: center;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.article-date, .article-category {
    font-size: 0.9rem;
    color: var(--text-light);
}

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

.article-header h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.article-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.article-content {
    padding: 80px 0;
    background: var(--bg-color);
}

.article-content .container {
    max-width: 800px;
}

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

.article-img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-color);
}

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

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

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

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

.article-text li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

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

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

.related-card {
    background: var(--bg-color);
    border-radius: 15px;
    overflow: hidden;
    transform: rotate(-1deg);
    transition: all var(--animation-speed) var(--sketch-easing);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.related-card:nth-child(even) {
    transform: rotate(1deg);
}

.related-card:hover {
    transform: rotate(0deg) translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.related-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-content {
    padding: 1.5rem;
}

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

.related-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

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

.legal-content {
    padding: 120px 0 80px;
    background: var(--bg-color);
}

.legal-content .container {
    max-width: 800px;
}

.legal-content h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

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

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

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

.legal-content li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.cookie-settings-section {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
    text-align: center;
    transform: rotate(-1deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-color);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px var(--shadow-color);
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

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

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

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

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

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

    .contact-details {
        text-align: center;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
}

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

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

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

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

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

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

    .social-links {
        justify-content: center;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .cookie-banner {
        display: none;
    }

    .hero {
        padding-top: 2rem;
    }

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

    .btn {
        border: 1px solid #000;
        color: #000;
    }
}

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

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --shadow-color: rgba(0, 0, 0, 0.3);
        --border-color: #000;
    }

    .service-card,
    .testimonial-card,
    .blog-card {
        border: 2px solid #000;
    }
}
