/* 
====================================================================
PROJECT: NODANUFF PRODUCTIONS Brand Site
THEME: Crayon Chaos (Creative Studio Energy)
AUTHOR: Developer
DATE: 2026
LINES GOAL: High Volume / High Specificity
==================================================================== 
*/

/* 
====================================================================
1. CSS VARIABLES & PALETTE
==================================================================== 
*/
:root {
    /* --- Core Colors --- */
    --paper-bg: #fdfbf7;
    --paper-texture: #f0f0f0;

    /* --- Crayon Palette --- */
    --crayon-black: #2b2b2b;
    --crayon-dark-grey: #4a4a4a;

    --crayon-blue: #2980b9;
    --crayon-blue-light: #3498db;
    --crayon-blue-wash: rgba(41, 128, 185, 0.1);

    --crayon-red: #c0392b;
    --crayon-red-light: #e74c3c;
    --crayon-red-wash: rgba(192, 57, 43, 0.1);

    --crayon-yellow: #f1c40f;
    --crayon-yellow-light: #f39c12;
    --crayon-yellow-wash: rgba(241, 196, 15, 0.1);

    --crayon-green: #27ae60;
    --crayon-green-light: #2ecc71;

    --crayon-purple: #8e44ad;
    --crayon-orange: #d35400;

    /* --- Dimensions & Borders --- */
    --line-width: 3px;
    --line-width-thick: 5px;
    --line-width-thin: 2px;

    /* --- Shadows --- */
    --shadow-scribble: 6px 6px 0px rgba(0, 0, 0, 0.15);
    --shadow-hover: 10px 10px 0px rgba(0, 0, 0, 0.2);
    --shadow-deep: 15px 15px 5px rgba(0, 0, 0, 0.1);

    /* --- Transitions --- */
    --trans-fast: 0.15s ease;
    --trans-normal: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy */
    --trans-slow: 0.6s ease-in-out;
}

/* 
====================================================================
2. FONTS & RESETS
==================================================================== 
*/
@import url('https://fonts.googleapis.com/css2?family=Patrick+Hand&family=Permanent+Marker&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--paper-bg);
    /* Complex CSS Grid Background for Texture */
    background-image:
        radial-gradient(circle, var(--paper-texture) 1px, transparent 1px),
        linear-gradient(to right, rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 20px 20px, 40px 40px, 40px 40px;
    font-family: 'Patrick Hand', cursive;
    color: var(--crayon-black);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--crayon-yellow);
    color: var(--crayon-black);
}

/* 
====================================================================
3. TYPOGRAPHY & HEADINGS
==================================================================== 
*/
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Permanent Marker', cursive;
    font-weight: 400;
    /* Font itself is bold */
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
    z-index: 1;
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    color: var(--crayon-blue);
    transform: rotate(-1deg);
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.1);
}

h2 {
    font-size: 3rem;
    color: var(--crayon-red);
    transform: rotate(1deg);
    margin-top: 2rem;
}

h3 {
    font-size: 2.2rem;
    color: var(--crayon-purple);
    transform: rotate(-0.5deg);
}

h4 {
    font-size: 1.8rem;
    color: var(--crayon-black);
}

p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    max-width: 75ch;
    /* Readable line length */
}

a {
    text-decoration: none;
    color: inherit;
    position: relative;
    cursor: pointer;
}

strong {
    font-weight: bold;
    color: var(--crayon-red);
}

/* 
====================================================================
4. GLOBAL UTILITIES & ANIMATIONS
==================================================================== 
*/
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mt-5 {
    margin-top: 5rem;
}

/* 
--- KEYFRAMES: Wiggle ---
Used for hover states to simulate nervous energy/sketching
*/
@keyframes wiggle {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(3deg);
    }

    50% {
        transform: rotate(-3deg);
    }

    75% {
        transform: rotate(1deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes wiggle-intense {
    0% {
        transform: rotate(0deg) scale(1);
    }

    25% {
        transform: rotate(5deg) scale(1.1);
    }

    50% {
        transform: rotate(-5deg) scale(1.1);
    }

    75% {
        transform: rotate(2deg) scale(1.1);
    }

    100% {
        transform: rotate(0deg) scale(1);
    }
}

/* 
--- KEYFRAMES: Slide Crooked ---
Entrance animation that slides up and rotates slightly
*/
@keyframes slideCrooked {
    0% {
        opacity: 0;
        transform: translateY(80px) rotate(-5deg);
    }

    60% {
        transform: translateY(-10px) rotate(2deg);
    }

    100% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
}

/* 
--- KEYFRAMES: Float ---
For floating elements like chat bubbles
*/
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-10px) rotate(2deg);
    }

    66% {
        transform: translateY(5px) rotate(-1deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* 
--- KEYFRAMES: Scribble Draw ---
Simulates a line being drawn
*/
@keyframes drawLine {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* 
--- Animation Helper Classes --- 
*/
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.5s;
}

.animate-on-scroll.visible {
    animation: slideCrooked 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Staggering Delays for Grids */
.services-grid .animate-on-scroll:nth-child(1) {
    animation-delay: 0.1s;
}

.services-grid .animate-on-scroll:nth-child(2) {
    animation-delay: 0.2s;
}

.services-grid .animate-on-scroll:nth-child(3) {
    animation-delay: 0.3s;
}

.services-grid .animate-on-scroll:nth-child(4) {
    animation-delay: 0.4s;
}

/* 
====================================================================
5. CRAYON BOX COMPONENT (Core Design Element)
==================================================================== 
*/
.crayon-box {
    background: #ffffff;
    border: var(--line-width) solid var(--crayon-black);
    /* Asymmetric Border Radius for Hand-Drawn Look */
    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
    padding: 2.5rem;
    box-shadow: var(--shadow-scribble);
    position: relative;
    transition: all var(--trans-normal);
    z-index: 1;
}

/* Hover State for Crayon Box */
.crayon-box:hover {
    transform: translateY(-5px) rotate(1deg);
    box-shadow: var(--shadow-hover);
    border-color: var(--crayon-black);
    z-index: 2;
}

/* Background Color Variants */
.bg-blue {
    background-color: var(--crayon-blue-wash);
}

.bg-yellow {
    background-color: var(--crayon-yellow-wash);
}

.bg-red {
    background-color: var(--crayon-red-wash);
}

.bg-white {
    background-color: #ffffff;
}

/* Inner decorative lines for boxes */
.crayon-box::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px dashed rgba(0, 0, 0, 0.1);
    border-radius: inherit;
    pointer-events: none;
}

/* 
====================================================================
6. BUTTONS (THE "SCRIBBLE" BUTTON)
==================================================================== 
*/
.crayon-btn {
    display: inline-block;
    padding: 5px 35px;
    background: var(--crayon-blue);
    color: #ffffff;
    font-family: 'Permanent Marker', cursive;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;

    /* Hand drawn shape */
    border: var(--line-width) solid var(--crayon-black);
    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;

    box-shadow: 4px 4px 0px var(--crayon-black);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
    margin: 10px 5px;
}

/* Secondary Button Style */
.crayon-btn.secondary {
    background: transparent;
    color: var(--crayon-black);
    border-color: var(--crayon-black);
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
}

/* Button Interactions */
.crayon-btn:hover {
    transform: translateY(-3px) rotate(-1deg);
    box-shadow: 6px 6px 0px var(--crayon-black);
    background: var(--crayon-red);
    color: white;
}

.crayon-btn:active {
    transform: translateY(2px) rotate(1deg);
    box-shadow: 1px 1px 0px var(--crayon-black);
}

.crayon-btn.secondary:hover {
    background: var(--crayon-yellow);
    color: var(--crayon-black);
}

/* 
====================================================================
7. HEADER SECTION
==================================================================== 
*/
header {
    background: #ffffff;
    border-bottom: var(--line-width) solid var(--crayon-black);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    /* Wobbly shadow at bottom of header */
    box-shadow: 0px 10px 15px -10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Wrapper - The Ink Blot Background */
.logo-wrapper {
    display: block;
    padding: 12px 20px;
    /* Irregular blob shape */
    border-radius: 45% 55% 25% 75% / 55% 45% 75% 25%;
    transform: rotate(-2deg);
    transition: transform var(--trans-normal);
}

.logo-wrapper:hover {
    transform: rotate(2deg) scale(1.05);
}

.logo-wrapper img {
    height: 45px;
    width: auto;
    display: block;
    /* Remove default img borders for logo */
    border: none;
    border-radius: 0;
}

/* Navigation Menu */
nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-size: 1.2rem;
    font-weight: 700;
    padding: 5px 0;
    position: relative;
    color: var(--crayon-black);
}

/* Nav Link Underline Effect (Scribble) */
.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 4px;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="5" viewBox="0 0 100 5" xmlns="http://www.w3.org/2000/svg"><path d="M0 2.5 Q 25 5 50 2.5 T 100 2.5" stroke="%23c0392b" fill="none" stroke-width="2"/></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: var(--crayon-blue);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* Mobile Menu Button (Hamburger) */
.mobile-menu-btn {
    display: none;
    /* Hidden on desktop */
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--crayon-black);
    transition: transform 0.3s;
}

.mobile-menu-btn:hover {
    transform: rotate(90deg);
}

/* 
====================================================================
8. HERO SECTION
==================================================================== 
*/
.hero {
    padding: 8rem 0 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    z-index: 5;
    position: relative;
}

.hero-text p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Animated Graph Component in Hero */
.hero-visual {
    position: relative;
    padding: 20px;
}

/* The Graph Box */
.drawn-graph {
    width: 100%;
    height: 350px;
    border-left: 4px solid var(--crayon-black);
    border-bottom: 4px solid var(--crayon-black);
    position: relative;
    /* Sketchy borders */
    border-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2,2 L98,5 L95,98 L5,95 Z' stroke='%23000' stroke-width='4' fill='none'/%3E") 100% 1 repeat;
}

.bar {
    position: absolute;
    bottom: 0;
    width: 18%;
    border: 3px solid var(--crayon-black);
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    transform-origin: bottom;
    animation: growBar 1.5s ease-out forwards;
    box-shadow: 5px 0px 0px rgba(0, 0, 0, 0.1);
}

.bar:nth-child(1) {
    left: 10%;
    height: 0;
    /* JS or Animation sets to 30% */
    background: var(--crayon-red);
    animation-delay: 0.5s;
    /* Final state simulated for CSS-only fallback */
    height: 40%;
}

.bar:nth-child(2) {
    left: 40%;
    height: 0;
    background: var(--crayon-yellow);
    animation-delay: 0.8s;
    height: 65%;
}

.bar:nth-child(3) {
    left: 70%;
    height: 0;
    background: var(--crayon-green);
    animation-delay: 1.1s;
    height: 90%;
}

@keyframes growBar {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

/* Decorative Rocket on top of Bar 3 */
.bar:nth-child(3)::after {
    content: '🚀';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    animation: float 2s infinite ease-in-out;
}

/* 
====================================================================
9. SERVICES SECTION
==================================================================== 
*/
.services-section {
    padding: 6rem 0;
    position: relative;
}

/* Hand-drawn background separator */
.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg width="40" height="10" viewBox="0 0 40 10" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 5 Q 10 0 20 5 T 40 5" stroke="%232b2b2b" fill="none" stroke-width="2"/></svg>');
    background-size: 40px 100%;
    opacity: 0.5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card {
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Random Rotation for Service Cards using Nth-Child for natural chaos */
.service-card:nth-child(odd) {
    transform: rotate(-1deg);
}

.service-card:nth-child(even) {
    transform: rotate(1deg);
}

.service-card:hover {
    transform: scale(1.05) rotate(0deg) !important;
    z-index: 10;
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    width: 100px;
    height: 100px;
    line-height: 100px;
    background: var(--paper-bg);
    border: 3px dashed var(--crayon-black);
    border-radius: 50%;
    display: inline-block;
    transition: all 0.4s;
}

.service-card:hover .service-icon {
    background: var(--crayon-yellow);
    border-style: solid;
    animation: wiggle-intense 0.5s infinite;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

/* 
====================================================================
10. ROI CALCULATOR SECTION
==================================================================== 
*/
.calculator-section {
    margin-top: 4rem;
    padding: 6rem 0;
    background: var(--crayon-black);
    color: #fff;
    position: relative;
    /* Jagged Edge using clip-path */
    clip-path: polygon(0% 2%, 2% 0%, 4% 2%, 6% 0%, 8% 2%, 10% 0%, 12% 2%, 14% 0%, 16% 2%, 18% 0%,
            20% 2%, 22% 0%, 24% 2%, 26% 0%, 28% 2%, 30% 0%, 32% 2%, 34% 0%, 36% 2%, 38% 0%,
            40% 2%, 42% 0%, 44% 2%, 46% 0%, 48% 2%, 50% 0%, 52% 2%, 54% 0%, 56% 2%, 58% 0%,
            60% 2%, 62% 0%, 64% 2%, 66% 0%, 68% 2%, 70% 0%, 72% 2%, 74% 0%, 76% 2%, 78% 0%,
            80% 2%, 82% 0%, 84% 2%, 86% 0%, 88% 2%, 90% 0%, 92% 2%, 94% 0%, 96% 2%, 98% 0%,
            100% 2%,
            100% 98%, 98% 100%, 96% 98%, 94% 100%, 92% 98%, 90% 100%, 88% 98%, 86% 100%,
            84% 98%, 82% 100%, 80% 98%, 78% 100%, 76% 98%, 74% 100%, 72% 98%, 70% 100%,
            68% 98%, 66% 100%, 64% 98%, 62% 100%, 60% 98%, 58% 100%, 56% 98%, 54% 100%,
            52% 98%, 50% 100%, 48% 98%, 46% 100%, 44% 98%, 42% 100%, 40% 98%, 38% 100%,
            36% 98%, 34% 100%, 32% 98%, 30% 100%, 28% 98%, 26% 100%, 24% 98%, 22% 100%,
            20% 98%, 18% 100%, 16% 98%, 14% 100%, 12% 98%, 10% 100%, 8% 98%, 6% 100%,
            4% 98%, 2% 100%, 0% 98%);
}

.calc-wrapper {
    background: #444;
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
    border: 4px dashed #fff;
    border-radius: 30px;
    box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.5);
    transform: rotate(-1deg);
}

.form-group {
    margin-bottom: 2rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--crayon-yellow);
    font-family: 'Permanent Marker', cursive;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    background: transparent;
    border: 3px solid #fff;
    color: #fff;
    font-family: 'Patrick Hand', cursive;
    font-size: 1.3rem;
    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
    transition: all 0.3s;
}

.form-input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--crayon-blue-light);
    transform: scale(1.02);
}

select.form-input option {
    background: var(--crayon-black);
    color: #fff;
}

.calc-result {
    background: #fff;
    color: var(--crayon-black);
    margin-top: 2rem;
    padding: 2rem;
    border-radius: 20px;
    border: 3px solid var(--crayon-blue);
    font-size: 1.5rem;
    font-weight: bold;
    transform: rotate(1deg);
    position: relative;
    overflow: hidden;
}

.calc-result::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* 
====================================================================
11. INDUSTRIES & REPORTS SECTION
==================================================================== 
*/
/* Industry Tags List */
.industry-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.industry-tag {
    background: white;
    padding: 1rem 2rem;
    font-size: 1.3rem;
    border: 2px solid var(--crayon-black);
    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
    cursor: default;
    transition: transform 0.3s;
}

.industry-tag:nth-child(1) {
    transform: rotate(-2deg);
    border-color: var(--crayon-blue);
    color: var(--crayon-blue);
}

.industry-tag:nth-child(2) {
    transform: rotate(1deg);
    border-color: var(--crayon-red);
    color: var(--crayon-red);
}

.industry-tag:nth-child(3) {
    transform: rotate(-3deg);
    border-color: var(--crayon-green);
    color: var(--crayon-green);
}

.industry-tag:nth-child(4) {
    transform: rotate(2deg);
    border-color: var(--crayon-purple);
    color: var(--crayon-purple);
}

.industry-tag:nth-child(5) {
    transform: rotate(-1deg);
    border-color: var(--crayon-orange);
    color: var(--crayon-orange);
}

.industry-tag:hover {
    transform: scale(1.1) !important;
    background: #fafafa;
}

/* Sample Report Numbers */
.report-number {
    font-size: 3.5rem;
    line-height: 1;
    color: var(--crayon-black);
    font-family: 'Permanent Marker', cursive;
}

/* 
====================================================================
12. TESTIMONIALS (Sticky Notes)
==================================================================== 
*/
.testimonials-section {
    padding: 8rem 0;
    background: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="%23ccc"/></svg>');
}

.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
}

.sticky-note {
    width: 320px;
    min-height: 320px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 10px 15px 25px rgba(0, 0, 0, 0.15);
    font-size: 1.4rem;
    text-align: center;
    position: relative;
    transition: transform 0.3s;
    /* Paper Texture */
    background-image: linear-gradient(to bottom right, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.05));
}

.sticky-note:hover {
    transform: scale(1.05) !important;
    z-index: 10;
}

/* Tape Effect */
.sticky-note::after {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    width: 120px;
    height: 35px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Colors and Rotations */
.note-yellow {
    background-color: #ffeb3b;
    transform: rotate(-3deg);
}

.note-pink {
    background-color: #ff80ab;
    transform: rotate(2deg);
    top: 20px;
    /* Offset for chaos */
}

.note-blue {
    background-color: #80d8ff;
    transform: rotate(-1deg);
}

.sticky-note small {
    display: block;
    margin-top: 1.5rem;
    font-weight: bold;
    font-family: 'Permanent Marker', cursive;
    opacity: 0.8;
}

/* 
====================================================================
13. CONTACT FORM SECTION
==================================================================== 
*/
.contact-form-section {
    padding: 6rem 0;
}

.contact-form-section form input,
.contact-form-section form select,
.contact-form-section form textarea {
    background: white;
    color: var(--crayon-black);
    border: 3px solid var(--crayon-black);
    width: 100%;
    padding: 12px;
    font-family: 'Patrick Hand';
    font-size: 1.2rem;
    border-radius: 10px;
    /* Slight rounding for fields */
    margin-bottom: 1rem;
}

.contact-form-section form textarea {
    resize: vertical;
}

/* 
====================================================================
14. CHAT WIDGET
==================================================================== 
*/
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.chat-btn {
    width: 70px;
    height: 70px;
    background: var(--crayon-green);
    border-radius: 50%;
    border: 3px solid var(--crayon-black);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 2rem;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.2);
    /* Continuous float animation */
    animation: float 4s ease-in-out infinite;
    transition: transform 0.2s;
}

.chat-btn:hover {
    transform: scale(1.1);
}

.chat-window {
    position: absolute;
    bottom: 90px;
    right: 0;
    width: 320px;
    height: 400px;
    background: white;
    border: 3px solid var(--crayon-black);
    /* Hand drawn window shape */
    border-radius: 20px 20px 5px 20px;
    padding: 1.5rem;
    display: none;
    /* JS toggles this */
    box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.1);
    flex-direction: column;
}

.chat-window.active {
    display: flex;
    animation: slideCrooked 0.4s ease-out;
}

.chat-window h4 {
    border-bottom: 2px dashed #ccc;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

/* 
====================================================================
15. FOOTER SECTION
==================================================================== 
*/
footer {
    background: var(--crayon-black);
    color: #fff;
    padding: 5rem 0 2rem 0;
    margin-top: 4rem;
    position: relative;
}

/* Scribble Top Border for Footer */
footer::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M0 20 L10 0 L20 20" fill="%232b2b2b"/></svg>');
    background-size: 30px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--crayon-yellow);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul li a {
    color: #ddd;
    transition: all 0.3s;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--crayon-green);
    transform: translateX(5px) rotate(1deg);
}

.legal-bar {
    border-top: 2px dashed #555;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0.7;
    font-size: 0.9rem;
}

.legal-bar a {
    margin-left: 20px;
    text-decoration: underline;
}

.legal-bar a:hover {
    color: var(--crayon-blue-light);
}

/* 
====================================================================
16. RESPONSIVE MEDIA QUERIES
==================================================================== 
*/

/* Large Desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    h1 {
        font-size: 5rem;
    }
}

/* Laptop */
@media (max-width: 1199px) {
    h1 {
        font-size: 3.5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Tablet Landscape */
@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        margin-bottom: 3rem;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Tablet Portrait & Large Mobile */
@media (max-width: 768px) {

    /* Mobile Menu Logic */
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 85px;
        /* Height of header approx */
        left: -100%;
        width: 100%;
        height: calc(100vh - 85px);
        background: var(--paper-bg);
        flex-direction: column;
        justify-content: center;
        transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        border-top: 3px solid var(--crayon-black);
        box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1.5rem 0;
        transform: rotate(-2deg);
    }

    .nav-link {
        font-size: 2rem;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .crayon-box {
        padding: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .legal-bar {
        flex-direction: column;
        gap: 1rem;
    }

    .legal-bar a {
        margin: 0 10px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero {
        padding: 4rem 0;
    }

    .crayon-btn {
        padding: 12px 25px;
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
    }

    .logo-wrapper {
        transform: scale(0.8);
    }

    .chat-widget {
        bottom: 10px;
        right: 10px;
    }

    .chat-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .chat-window {
        width: 280px;
        bottom: 70px;
        right: 10px;
    }
}

/* 
====================================================================
17. PRINT STYLES
==================================================================== 
*/
@media print {
    body {
        background: white;
        color: black;
    }

    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }

    .crayon-box {
        box-shadow: none;
        border: 1px solid #000;
    }

    .nav-menu,
    .chat-widget,
    footer {
        display: none;
    }

    h1,
    h2,
    h3 {
        color: black !important;
        text-shadow: none;
    }
}