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

body {
    font-family: 'Comic Neue', cursive, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fefefe;
}

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

/* Hand-drawn style elements */
h1, h2, h3 {
    font-family: 'Comic Neue', cursive;
    position: relative;
}

h1::after, h2::after, h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #8B4513 0%, transparent 100%);
    border-radius: 2px;
    transform: rotate(-0.5deg);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    color: white;
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 3px solid #3498DB;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.2);
}

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

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
}

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

.cookie-buttons button {
    padding: 10px 20px;
    border: 2px solid #3498DB;
    border-radius: 25px;
    background: transparent;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    transform: rotate(-0.3deg);
}

.cookie-buttons button:hover {
    background: #3498DB;
    transform: rotate(0.3deg) scale(1.05);
}

.btn-accept {
    background: #27AE60 !important;
    border-color: #27AE60 !important;
}

.btn-necessary {
    background: #F39C12 !important;
    border-color: #F39C12 !important;
}

.btn-custom {
    background: #9B59B6 !important;
    border-color: #9B59B6 !important;
}

/* Header */
.header {
    background: linear-gradient(135deg, #ECF0F1 0%, #BDC3C7 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid #8B4513;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    transform: rotate(-1deg);
}

.logo-icon {
    width: 40px;
    height: 40px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #8B4513;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
}

.nav {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

/* Hide mobile menu toggle on desktop */
.mobile-menu-toggle {
    display: none;
}

.nav-link {
    text-decoration: none;
    color: #2C3E50;
    font-weight: 500;
    padding: 8px 15px;
    border: 2px solid transparent;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    transform: rotate(0.5deg);
}

.nav-link:hover, .nav-link.active {
    color: #8B4513;
    border-color: #D2691E;
    background: rgba(210, 105, 30, 0.1);
    transform: rotate(-0.5deg) scale(1.05);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #74B9FF 0%, #0984E3 50%, #6C5CE7 100%);
    color: white;
    padding: 80px 0;
    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"><path d="M0 50 Q25 30 50 50 T100 50 V100 H0 Z" fill="rgba(255,255,255,0.1)"/></svg>') repeat-x;
    background-size: 200px 100px;
    animation: wave 10s linear infinite;
}

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-200px); }
}

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

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 3px 3px 0px rgba(0,0,0,0.2);
    transform: rotate(-1deg);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.7;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

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

.hero-svg {
    width: 100%;
    max-width: 300px;
    height: auto;
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.3));
    transform: rotate(2deg);
    animation: float 3s ease-in-out infinite;
}

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

/* CTA Button */
.cta-btn, .btn-secondary, .btn-submit {
    background: linear-gradient(135deg, #FF6B6B 0%, #E74C3C 100%);
    color: white;
    border: 3px solid #C0392B;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    transform: rotate(-0.5deg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-btn:hover, .btn-secondary:hover, .btn-submit:hover {
    background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
    transform: rotate(0.5deg) scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, #3498DB 0%, #2980B9 100%);
    border-color: #1F4E79;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #2980B9 0%, #1F4E79 100%);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
    position: relative;
}

.services::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 20"><path d="M0 10 Q25 0 50 10 T100 10 V20 H0 Z" fill="rgba(139,69,19,0.05)"/></svg>') repeat-x;
    background-size: 100px 20px;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2C3E50;
    transform: rotate(-0.5deg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #F1F2F6 100%);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 3px solid #DDD;
    transition: all 0.3s ease;
    transform: rotate(0.5deg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-card:hover {
    transform: rotate(-0.5deg) translateY(-10px);
    border-color: #8B4513;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    filter: drop-shadow(3px 3px 6px rgba(0,0,0,0.2));
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2C3E50;
}

.service-card p {
    color: #555;
    line-height: 1.6;
}

/* About Section */
.about-section, .company-story, .values, .team {
    padding: 80px 0;
}

.about-section {
    background: linear-gradient(135deg, #DDA0DD 0%, #DA70D6 50%, #BA55D3 100%);
    color: white;
}

.about-content, .story-content, .team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h2, .story-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    transform: rotate(-0.8deg);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.about-text p, .story-text p, .team-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-image svg, .story-image svg, .team-image svg {
    width: 100%;
    max-width: 250px;
    height: auto;
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.2));
    transform: rotate(-1deg);
}

/* Company Story */
.company-story {
    background: linear-gradient(135deg, #A8E6CF 0%, #88D8A3 100%);
}

.story-text h2 {
    color: #2C3E50;
}

.story-text p {
    color: #2C3E50;
}

/* Values Section */
.values {
    background: linear-gradient(135deg, #FFD93D 0%, #FF6B6B 100%);
    color: white;
}

.values h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    transform: rotate(0.7deg);
}

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

.value-card {
    background: rgba(255,255,255,0.9);
    color: #2C3E50;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transform: rotate(-0.5deg);
    transition: all 0.3s ease;
    border: 3px solid rgba(255,255,255,0.5);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.value-card:hover {
    transform: rotate(0.5deg) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    filter: drop-shadow(3px 3px 6px rgba(0,0,0,0.2));
}

/* Team Section */
.team {
    background: linear-gradient(135deg, #74B9FF 0%, #0984E3 100%);
    color: white;
}

.team h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    transform: rotate(-0.3deg);
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background: linear-gradient(135deg, #FFF5F5 0%, #FFE0E6 100%);
}

.blog h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2C3E50;
    transform: rotate(0.8deg);
}

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

.blog-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    padding: 30px;
    border-radius: 20px;
    border: 3px solid #FFB6C1;
    transition: all 0.3s ease;
    transform: rotate(-0.3deg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.blog-card:hover {
    transform: rotate(0.3deg) translateY(-5px);
    border-color: #FF69B4;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.blog-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
}

.blog-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2C3E50;
}

.blog-card p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    color: #FF69B4;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #FF69B4;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: inline-block;
    transform: rotate(0.3deg);
}

.read-more:hover {
    background: #FF69B4;
    color: white;
    transform: rotate(-0.3deg) scale(1.05);
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #E8F5E8 0%, #C8E6C9 100%);
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2C3E50;
    transform: rotate(-0.6deg);
}

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

.testimonial-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #F1F8E9 100%);
    padding: 30px;
    border-radius: 20px;
    border: 3px solid #81C784;
    text-align: center;
    transform: rotate(0.4deg);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-card:hover {
    transform: rotate(-0.4deg) translateY(-5px);
    border-color: #4CAF50;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.testimonial-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    filter: drop-shadow(3px 3px 6px rgba(0,0,0,0.2));
}

.testimonial-card p {
    font-style: italic;
    color: #2C3E50;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1.1rem;
}

.testimonial-card cite {
    color: #4CAF50;
    font-weight: bold;
    font-style: normal;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    color: white;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    transform: rotate(0.5deg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(3px 3px 6px rgba(0,0,0,0.3));
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    transform: rotate(-0.3deg);
}

.contact-details p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: block;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
    transform: rotate(0.5deg);
}

.social-links a:hover {
    transform: rotate(-0.5deg) scale(1.1);
}

.social-links svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

/* Contact Form */
.contact-form {
    background: rgba(255,255,255,0.9);
    color: #2C3E50;
    padding: 30px;
    border-radius: 20px;
    border: 3px solid rgba(255,255,255,0.5);
    transform: rotate(-0.5deg);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #2C3E50;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #DDD;
    border-radius: 15px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    transform: rotate(0.2deg);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667EEA;
    transform: rotate(-0.2deg);
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

.btn-submit {
    width: 100%;
    margin-top: 20px;
    transform: rotate(0.3deg);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    color: white;
    padding: 40px 0 20px;
    border-top: 3px solid #8B4513;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    transform: rotate(-0.5deg);
}

.footer-logo span {
    font-size: 1.2rem;
    font-weight: bold;
    color: #8B4513;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #BDC3C7;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 10px;
    transform: rotate(0.3deg);
}

.footer-links a:hover {
    color: #8B4513;
    background: rgba(139, 69, 19, 0.1);
    transform: rotate(-0.3deg);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #95A5A6;
}

/* About Page Specific Styles */
.about-hero {
    background: linear-gradient(135deg, #8E44AD 0%, #9B59B6 50%, #AF7AC5 100%);
    color: white;
    padding: 80px 0;
}

.about-hero h1 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 3px 3px 0px rgba(0,0,0,0.2);
    transform: rotate(-0.8deg);
}

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

.about-hero-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.about-hero-image svg {
    width: 100%;
    max-width: 300px;
    height: auto;
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.3));
    transform: rotate(1deg);
    animation: float 4s ease-in-out infinite;
}

/* Thanks Page Specific Styles */
.thanks-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #A8E6CF 0%, #88D8A3 50%, #68C678 100%);
    text-align: center;
    color: #2C3E50;
}

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

.thanks-icon {
    margin-bottom: 30px;
}

.thanks-icon svg {
    width: 150px;
    height: 150px;
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.2));
    transform: rotate(-2deg);
    animation: success-bounce 2s ease-in-out infinite;
}

@keyframes success-bounce {
    0%, 20%, 50%, 80%, 100% { transform: rotate(-2deg) translateY(0); }
    40% { transform: rotate(-2deg) translateY(-15px); }
    60% { transform: rotate(-2deg) translateY(-8px); }
}

.thanks-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #27AE60;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    transform: rotate(0.8deg);
}

.thanks-content > p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.next-steps {
    background: rgba(255,255,255,0.8);
    padding: 40px;
    border-radius: 20px;
    margin: 40px 0;
    border: 3px solid #27AE60;
    transform: rotate(-0.5deg);
}

.next-steps h2 {
    color: #2C3E50;
    margin-bottom: 30px;
    transform: rotate(0.3deg);
}

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

.step-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #A8E6CF;
    transform: rotate(0.5deg);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.step-card:hover {
    transform: rotate(-0.5deg) translateY(-5px);
    border-color: #27AE60;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #2C3E50;
}

.step-card p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

.contact-reminder {
    background: rgba(255,255,255,0.8);
    padding: 30px;
    border-radius: 20px;
    margin: 40px 0;
    border: 3px solid #3498DB;
    transform: rotate(0.7deg);
}

.contact-reminder h2 {
    color: #2C3E50;
    margin-bottom: 15px;
    transform: rotate(-0.3deg);
}

.contact-info-small p {
    margin-bottom: 10px;
    font-weight: bold;
    color: #2C3E50;
}

.return-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #FF9500 0%, #FF6B35 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.3));
    transform: rotate(-1deg);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: rotate(-1deg) scale(1); }
    50% { transform: rotate(-1deg) scale(1.1); }
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    transform: rotate(0.5deg);
}

.cta-content p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content,
    .about-content,
    .story-content,
    .team-content,
    .contact-content,
    .about-hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-text h1,
    .about-hero h1,
    .thanks-content h1 {
        font-size: 2rem;
    }
    
    .services-grid,
    .values-grid,
    .blog-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .nav {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .return-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Mobile Menu Toggle Button */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 200;
        order: 3;
    }
    
    .mobile-menu-toggle span {
        width: 100%;
        height: 3px;
        background: #8B4513;
        border-radius: 3px;
        transition: all 0.3s ease;
        transform-origin: center;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Mobile Navigation */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: linear-gradient(135deg, #ECF0F1 0%, #BDC3C7 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding-top: 80px;
        border-left: 3px solid #8B4513;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        transition: right 0.3s ease;
        z-index: 150;
        gap: 0;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-link {
        padding: 15px 20px;
        margin: 0;
        border-radius: 0;
        border-bottom: 1px solid rgba(139, 69, 19, 0.2);
        font-size: 1.1rem;
        transform: none;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: rgba(139, 69, 19, 0.1);
        transform: translateX(10px);
    }
    
    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 140;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Additional hand-drawn effects */
.service-card::before,
.value-card::before,
.blog-card::before,
.testimonial-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, transparent 30%, rgba(139,69,19,0.1) 50%, transparent 70%);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before,
.value-card:hover::before,
.blog-card:hover::before,
.testimonial-card:hover::before {
    opacity: 1;
}

/* SVG animations */
@keyframes draw-line {
    from { stroke-dasharray: 0 100; }
    to { stroke-dasharray: 100 0; }
}

.hero-svg path,
.service-icon path,
.value-icon path {
    animation: draw-line 2s ease-in-out infinite alternate;
}

/* Scroll animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.value-card:nth-child(2) { animation-delay: 0.2s; }
.value-card:nth-child(3) { animation-delay: 0.4s; }

.blog-card:nth-child(2) { animation-delay: 0.15s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }
.blog-card:nth-child(4) { animation-delay: 0.45s; }

.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.4s; }

/* Article Styles */
.article-content {
    padding: 40px 0 80px;
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
    min-height: 100vh;
}

.article-header {
    text-align: center;
    margin-bottom: 50px;
}

.article-header h1 {
    font-size: 2.5rem;
    color: #2C3E50;
    margin-bottom: 20px;
    transform: rotate(-0.5deg);
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.article-meta span {
    background: rgba(139, 69, 19, 0.1);
    padding: 5px 15px;
    border-radius: 15px;
    color: #8B4513;
    font-weight: 500;
    border: 2px solid #D2691E;
    transform: rotate(0.3deg);
}

.article-image {
    margin: 30px auto;
    text-align: center;
}

.article-hero-svg {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.2));
    transform: rotate(-1deg);
    border-radius: 15px;
    background: rgba(255,255,255,0.8);
    padding: 10px;
}

.article-body {
    background: white;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 3px solid #E9ECEF;
    transform: rotate(-0.2deg);
}

.article-intro {
    font-size: 1.2rem;
    color: #555;
    padding: 20px;
    background: linear-gradient(135deg, #E6F3FF 0%, #F0F8FF 100%);
    border-radius: 15px;
    border: 2px solid #87CEEB;
    margin-bottom: 30px;
    transform: rotate(0.3deg);
}

.article-body h2 {
    font-size: 2rem;
    color: #2C3E50;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #8B4513;
    transform: rotate(-0.3deg);
}

.article-body h3 {
    font-size: 1.5rem;
    color: #34495E;
    margin: 30px 0 15px;
    transform: rotate(0.2deg);
}

.article-body h4 {
    font-size: 1.3rem;
    color: #2C3E50;
    margin: 25px 0 10px;
    font-weight: bold;
}

.article-body p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #444;
}

.article-body ul, .article-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-body li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Legal Content Styles */
.legal-content {
    padding: 80px 0;
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
    min-height: 100vh;
}

.legal-text {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 3px solid #E9ECEF;
    transform: rotate(-0.1deg);
    max-width: 800px;
    margin: 0 auto;
}

.legal-text h2 {
    color: #2C3E50;
    font-size: 1.8rem;
    margin: 30px 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #8B4513;
    transform: rotate(-0.2deg);
}

.legal-text h3 {
    color: #34495E;
    font-size: 1.4rem;
    margin: 25px 0 10px;
    transform: rotate(0.1deg);
}

.legal-text ul {
    margin: 15px 0;
    padding-left: 25px;
}

.legal-text li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.contact-info-box {
    background: linear-gradient(135deg, #E6F3FF 0%, #F0F8FF 100%);
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #87CEEB;
    margin: 20px 0;
    transform: rotate(0.2deg);
}

.contact-info-box h3 {
    color: #2C3E50;
    margin-bottom: 10px;
}

.contact-info-box p {
    color: #555;
    line-height: 1.6;
}

/* Article specific component styles */
.fabric-grid, .tools-grid, .care-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.fabric-card, .tool-card, .care-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #DDD;
    text-align: center;
    transform: rotate(0.3deg);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.fabric-card:hover, .tool-card:hover, .care-card:hover {
    transform: rotate(-0.3deg) translateY(-5px);
    border-color: #8B4513;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.fabric-icon, .tool-icon, .care-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
}

.fabric-card h3, .tool-card h3, .care-card h3 {
    color: #2C3E50;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.color-usage {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #DDD;
}

.color-usage ul {
    text-align: left;
    margin-top: 10px;
}

.criteria-section {
    margin: 30px 0;
}

.criteria-item {
    background: white;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 15px;
    border: 2px solid #E9ECEF;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transform: rotate(0.1deg);
    transition: all 0.3s ease;
}

.criteria-item:hover {
    transform: rotate(-0.1deg);
    border-color: #8B4513;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.criteria-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
}

.criteria-item h3 {
    color: #2C3E50;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.criteria-item p {
    color: #555;
    line-height: 1.6;
}

.color-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.tip-box {
    background: linear-gradient(135deg, #FFF8DC 0%, #FFFACD 100%);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #DAA520;
    transform: rotate(-0.2deg);
    transition: all 0.3s ease;
}

.tip-box:hover {
    transform: rotate(0.2deg) scale(1.02);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.tip-box h4 {
    color: #B8860B;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.tip-box p {
    margin-bottom: 10px;
    color: #555;
}

.recommendations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.recommendation-card {
    background: linear-gradient(135deg, #E6F7FF 0%, #F0FAFF 100%);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #87CEEB;
    transform: rotate(0.3deg);
    transition: all 0.3s ease;
}

.recommendation-card:hover {
    transform: rotate(-0.3deg) scale(1.02);
    border-color: #4682B4;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.recommendation-card h4 {
    color: #2F4F4F;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.recommendation-card p {
    color: #555;
    line-height: 1.6;
}

.article-conclusion {
    background: linear-gradient(135deg, #F0F8F0 0%, #E8F5E8 100%);
    padding: 40px;
    border-radius: 20px;
    border: 3px solid #90EE90;
    margin-top: 50px;
    transform: rotate(-0.2deg);
}

.article-conclusion h2 {
    color: #2E8B57;
    margin-bottom: 20px;
}

.article-conclusion p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2F4F4F;
}

.cta-section {
    text-align: center;
    margin-top: 30px;
    padding: 30px;
    background: rgba(255,255,255,0.8);
    border-radius: 15px;
    border: 2px solid #32CD32;
    transform: rotate(0.3deg);
}

.cta-section h3 {
    color: #2E8B57;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.cta-section p {
    margin-bottom: 20px;
    color: #555;
}

.article-navigation {
    margin-top: 40px;
    text-align: center;
}

.related-articles {
    margin-top: 30px;
    background: white;
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #E9ECEF;
    transform: rotate(-0.1deg);
}

.related-articles h3 {
    color: #2C3E50;
    margin-bottom: 15px;
}

.related-articles ul {
    list-style: none;
    padding: 0;
}

.related-articles li {
    margin-bottom: 10px;
}

.related-articles a {
    color: #8B4513;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border: 2px solid transparent;
    border-radius: 10px;
    display: inline-block;
    transition: all 0.3s ease;
    transform: rotate(0.2deg);
}

.related-articles a:hover {
    color: white;
    background: #8B4513;
    border-color: #654321;
    transform: rotate(-0.2deg) scale(1.05);
}

/* Color trend cards */
.color-trends {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.color-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #E9ECEF;
    transform: rotate(0.2deg);
    transition: all 0.3s ease;
    overflow: hidden;
}

.color-card:hover {
    transform: rotate(-0.2deg) translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.color-swatch {
    width: 100%;
    height: 60px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 2px solid rgba(0,0,0,0.1);
}

.color-card h3 {
    color: #2C3E50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.color-card p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Style trend cards */
.style-trends {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.style-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #E9ECEF;
    transform: rotate(-0.1deg);
    transition: all 0.3s ease;
}

.style-card:hover {
    transform: rotate(0.1deg) scale(1.02);
    border-color: #8B4513;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.style-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: block;
    filter: drop-shadow(3px 3px 6px rgba(0,0,0,0.2));
}

.style-card h3 {
    color: #2C3E50;
    margin-bottom: 15px;
    font-size: 1.4rem;
    text-align: center;
}

.style-card p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: center;
}

.style-features h4 {
    color: #8B4513;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.style-features ul {
    color: #555;
    line-height: 1.5;
}

/* Measurement specific styles */
.measurement-steps {
    margin: 30px 0;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    background: white;
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #E9ECEF;
    transform: rotate(0.1deg);
    transition: all 0.3s ease;
}

.step:hover {
    transform: rotate(-0.1deg);
    border-color: #8B4513;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.step-number {
    background: linear-gradient(135deg, #FF6B6B 0%, #E74C3C 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.step-content h4 {
    color: #2C3E50;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.step-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

.measurement-tip {
    background: linear-gradient(135deg, #FFF9C4 0%, #FFF59D 100%);
    padding: 10px 15px;
    border-radius: 8px;
    border: 2px solid #FFD700;
    margin-top: 10px;
    font-size: 0.9rem;
}

.measurement-tip strong {
    color: #B8860B;
}

/* Form styles */
.measurement-form {
    background: linear-gradient(135deg, #F0F8F0 0%, #E8F5E8 100%);
    padding: 30px;
    border-radius: 20px;
    border: 3px solid #90EE90;
    margin: 30px 0;
    transform: rotate(-0.2deg);
}

.measurement-form h3 {
    color: #2E8B57;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.5rem;
}

.form-section {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #90EE90;
    margin-bottom: 20px;
    transform: rotate(0.1deg);
}

.form-section h4 {
    color: #2E8B57;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.form-fields p {
    margin-bottom: 10px;
    color: #2F4F4F;
    font-family: 'Courier New', monospace;
    padding: 5px 0;
    border-bottom: 1px dotted #90EE90;
}

/* Common mistakes styling */
.common-mistakes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.mistake-card {
    background: linear-gradient(135deg, #FFE8E8 0%, #FFEBEE 100%);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #FFB6C1;
    transform: rotate(0.2deg);
    transition: all 0.3s ease;
}

.mistake-card:hover {
    transform: rotate(-0.2deg) scale(1.02);
    border-color: #FF69B4;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.mistake-card h4 {
    color: #DC143C;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.mistake-card p {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.6;
}

.mistake-card strong {
    color: #8B0000;
}

/* Cookie settings specific */
.cookie-settings-section {
    background: linear-gradient(135deg, #E6F3FF 0%, #F0F8FF 100%);
    padding: 30px;
    border-radius: 20px;
    border: 3px solid #87CEEB;
    margin: 30px 0;
    transform: rotate(0.2deg);
}

.cookie-status p {
    margin-bottom: 10px;
    font-weight: bold;
    color: #2F4F4F;
}

/* Responsive adjustments for articles */
@media (max-width: 768px) {
    .article-body {
        padding: 20px;
        transform: rotate(0);
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: center;
    }
    
    .fabric-grid, .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .color-trends, .style-trends {
        grid-template-columns: 1fr;
    }
    
    .criteria-item {
        flex-direction: column;
        text-align: center;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .common-mistakes {
        grid-template-columns: 1fr;
    }
}