/* ==========================================================================
   TRUST HUMAN FOUNDATION - MAIN STYLESHEET
   ========================================================================== */

/* ==========================================================================
   1. IMPORTS & FONTS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;800;900&family=Patrick+Hand&display=swap');

/* ==========================================================================
   2. GLOBAL RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Patrick Hand', cursive;
    color: #333;
    position: relative;
    background-color: #fdfdfd;
}

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    color: #2d3436;
    letter-spacing: -0.02em;
}

/* ==========================================================================
   4. SECURITY: HONEYPOT FIELD
   ========================================================================== */
.honeypot-field {
    display: none !important;
    visibility: hidden;
    position: absolute;
    left: -9999px;
}

/* ==========================================================================
   5. MOBILE ALERT & NAVIGATION
   ========================================================================== */
.mobile-alert {
    display: none;
    background: #ffeaa7;
    color: #444;
    text-align: center;
    padding: 10px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Burger Menu Icon */
.burger-menu-icon {
    display: none;
    position: fixed;
    top: 50px;
    right: 20px;
    z-index: 2000;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.burger-bar {
    width: 30px;
    height: 4px;
    border-radius: 5px;
    transition: 0.3s;
}

.burger-bar.pink {
    background-color: #ff9ff3;
}

.burger-bar.blue {
    background-color: #74b9ff;
}

.burger-bar.yellow {
    background-color: #ffeaa7;
}

/* Mobile Overlay Menu */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1500;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
}

.mobile-nav-overlay.active-menu {
    transform: translateX(0);
}

.mobile-nav-overlay a {
    text-decoration: none;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: #444;
    transition: transform 0.2s;
}

.mobile-nav-overlay a:hover {
    color: #ff9ff3;
    transform: scale(1.1);
}

/* ==========================================================================
   6. DESKTOP SCROLL CONTAINER
   ========================================================================== */
.scroll-container {
    height: 100vh;
    width: 100vw;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    overflow-x: hidden;
}

.slide {
    height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

/* ==========================================================================
   7. HERO SECTION
   ========================================================================== */
#hero {
    background: url('/images/hero-bg.webp') no-repeat center bottom;
    background-size: cover;
}

.navbar {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    gap: 5px;
    flex-wrap: nowrap;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    padding: 5px 8px;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.navbar a {
    text-decoration: none;
    color: #444;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 8px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.navbar a:hover {
    background: #fff;
    color: #000;
    transform: scale(1.05);
}

.hero-content {
    transform: translateY(-130px);
}

.hero-logo {
    width: 600px;
    max-width: 80%;
    height: auto;
    filter: drop-shadow(0px 5px 0px rgba(0, 0, 0, 0.1));
}

/* ==========================================================================
   8. ABOUT SECTION
   ========================================================================== */
#about {
    background: url('/images/section-2-bg.webp') no-repeat top center;
    background-size: cover;
    position: relative;
}

.big-mascot {
    position: absolute;
    bottom: 0;
    z-index: 20;
    height: 55vh;
    width: auto;
    pointer-events: none;
}

.left-kid {
    left: 0;
    transform: translateX(-5%);
}

.right-dog {
    right: 0;
    transform: translateX(5%);
}

.center-emojis {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    z-index: 15;
}

.content-box {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 750px;
    width: 90%;
    z-index: 30;
}

.title-wrapper {
    margin-bottom: 25px;
}

.brush-stroke-bg {
    display: inline-block;
    padding: 10px 40px;
    background: #ff9ff3;
    border-radius: 2px 255px 3px 25px / 255px 5px 225px 5px;
    font-size: 2.5rem;
    color: #000;
    transform: rotate(-2deg);
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
}

.content-box p {
    font-size: 1.6rem;
    line-height: 1.5;
    color: #444;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   9. MISSION SECTION
   ========================================================================== */
#mission {
    background-color: #fff;
    background-image: url('/images/mission-bg.webp');
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 100% auto;
    position: relative;
    overflow: hidden;
}

.mission-content {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 900px;
    text-align: center;
    z-index: 30;
}

.mission-content p {
    font-family: 'Patrick Hand', cursive;
    font-size: 1.4rem;
    line-height: 1.6;
    color: #333;
    margin-top: 25px;
}

.blue-brush-bg {
    display: inline-block;
    padding: 10px 50px;
    background: #74b9ff;
    color: #000;
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 3rem;
    text-transform: uppercase;
    transform: rotate(-1deg);
    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
}

.cloud-decor {
    position: absolute;
    z-index: 10;
    pointer-events: none;
    opacity: 0.9;
}

.top-left {
    top: -20px;
    left: -20px;
    width: 300px;
    max-width: 40vw;
}

.bottom-right {
    bottom: 10%;
    right: -20px;
    width: 350px;
    max-width: 50vw;
}

/* ==========================================================================
   10. WORK SECTIONS (Work, Animals, Charity)
   ========================================================================== */
#work,
#animals,
#charity {
    background-color: #fff;
    position: relative;
    overflow: hidden;
    height: 100vh;
    width: 100%;
}

.work-title-container {
    position: absolute;
    top: 5%;
    left: 8%;
    z-index: 50;
}

/* Shared Brush Styles */
.teal-brush-bg,
.pink-brush-bg,
.yellow-brush-bg {
    display: inline-block;
    padding: 10px 40px;
    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
    color: #000;
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 3rem;
    text-transform: uppercase;
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
}

.teal-brush-bg {
    background: #a2ded0;
    transform: rotate(-1deg);
}

.pink-brush-bg {
    background: #ffb7b2;
    transform: rotate(1deg);
}

.yellow-brush-bg {
    background: #ffeaa7;
    transform: rotate(-2deg);
}

/* Work Cards */
.work-card {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1300px;
    height: 70vh;
    border-radius: 50px 50px 0 0;
    z-index: 10;
}

#work .work-card {
    background-color: #CBEFF9;
}

#animals .work-card {
    background-color: #fadadd;
}

#charity .work-card {
    background-color: #fff5d7;
}

.work-kid {
    position: absolute;
    bottom: 0;
    left: 2%;
    height: 110%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.1));
    z-index: 20;
}

.work-text-content {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 50%;
    text-align: right;
    z-index: 20;
}

.work-text-content h3 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #111;
}

.work-text-content p {
    font-family: 'Patrick Hand', cursive;
    font-size: 1.2rem;
    line-height: 1.5;
    color: #333;
    font-weight: 500;
}

.work-flowers {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    max-height: 50vh;
    object-fit: cover;
    object-position: bottom;
    z-index: 30;
    pointer-events: none;
}

/* ==========================================================================
   11. CONTACT FORM SECTION
   ========================================================================== */
#contact-form {
    height: 100vh;
    background-color: #f7f9fc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.form-wrapper {
    background: #fff;
    padding: 30px 40px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    width: 90%;
    max-width: 1200px;
    text-align: center;
    border: 3px dashed #a2ded0;
}

.form-title {
    font-size: 2.5rem;
    color: #444;
    margin-bottom: 5px;
}

.form-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #666;
}

.playful-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: left;
}

.top-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: flex-end;
}

.bottom-row {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 30px;
    align-items: flex-end;
}

.input-group label {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
    color: #555;
    font-size: 1.1rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 15px;
    font-family: 'Patrick Hand', cursive;
    font-size: 1.2rem;
    background: #fdfdfd;
}

/* Cat Select Dropdown */
.cat {
    position: relative;
    width: 100%;
}

.cat select {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 15px;
    font-family: 'Patrick Hand', cursive;
    font-size: 1.2rem;
    background-color: #fdfdfd;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.cat select:hover {
    background-color: #CBEFF9;
    border-color: #a2ded0;
}

.thecat {
    position: absolute;
    top: -45px;
    right: 5px;
    z-index: 5;
    pointer-events: none;
    width: 130px;
    height: auto;
}

.sleep-symbol {
    position: absolute;
    top: -55px;
    right: 40px;
    font-weight: 600;
    font-size: 1.3rem;
    z-index: 6;
    pointer-events: none;
}

.sleep-symbol span {
    display: inline-block;
    animation: sleep 4s ease-in-out infinite;
}

.sleep-symbol span:nth-child(1) {
    animation-delay: 0s;
}

.sleep-symbol span:nth-child(2) {
    animation-delay: 1s;
}

.sleep-symbol span:nth-child(3) {
    animation-delay: 2s;
}

.cat:hover #righteyelid,
#eyesdown,
.cat:hover .sleep-symbol {
    visibility: hidden;
}

.cat:hover #eyesdown {
    visibility: visible;
}

.cat option {
    padding: 10px;
}

#tail {
    visibility: visible;
}

#longtail {
    visibility: hidden;
}

@keyframes sleep {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    50% {
        opacity: 0.5;
        transform: translate(-5px, -15px) scale(1.2);
    }

    100% {
        opacity: 0;
        transform: translateY(-30px) scale(1.5);
    }
}

/* Submit Button */
.submit-btn {
    width: 100%;
    height: auto;
    min-height: 60px;
    padding: 10px 30px;
    background: #ff9ff3;
    color: #000;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0.1);
    margin-bottom: 5px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 0 rgba(0, 0, 0, 0.1);
    background: #ff79e4;
}

.submit-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   12. CONTACT QUOTE SECTION
   ========================================================================== */
#contact-quote {
    background-color: #fff;
    position: relative;
    overflow: hidden;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-content {
    position: absolute;
    top: 10%;
    width: 80%;
    max-width: 800px;
    text-align: center;
    z-index: 20;
}

.contact-content h2 {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 3.5rem;
    color: #111;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-content p {
    font-size: 1.6rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.contact-content .signature {
    font-size: 1.8rem;
    font-weight: bold;
    margin-top: 20px;
    color: #000;
}

.footer-hill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 80vh;
    object-fit: cover;
    object-position: top center;
    z-index: 10;
}

/* ==========================================================================
   13. FOOTER SECTION
   ========================================================================== */
#footer {
    background-color: #fff;
    position: relative;
    overflow: hidden;
    height: 100vh;
    width: 100%;
}

.footer-container {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 20;
    gap: 50px;
}

.footer-left {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-right {
    flex: 1;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.icon {
    font-size: 1.5rem;
}

.footer-logo {
    width: 250px;
    margin-top: 40px;
    display: block;
}

.footer-logo-link {
    display: inline-block;
}

.footer-logo-link .footer-logo {
    cursor: pointer;
}

.footer-desc {
    font-size: 1.5rem;
    line-height: 1.5;
    margin-bottom: 60px;
    max-width: 500px;
}

.copyright-box p {
    font-size: 1.1rem;
    line-height: 1.4;
    color: #555;
}

.footer-bg-img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 88vh;
    object-fit: cover;
    z-index: 10;
}

/* ==========================================================================
   14. WALL OF SMILES GALLERY
   ========================================================================== */
.smile-wall-h {
    height: 100vh;
    position: relative;
    overflow: hidden;
    font-family: "Patrick Hand", cursive;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 0 40px;
    background-color: #fdfdfd;
    background-image:
        linear-gradient(335deg, rgba(255, 179, 217, 0.15) 23px, transparent 23px),
        linear-gradient(155deg, rgba(255, 179, 217, 0.15) 23px, transparent 23px),
        linear-gradient(335deg, rgba(255, 179, 217, 0.12) 23px, transparent 23px),
        linear-gradient(155deg, rgba(255, 179, 217, 0.12) 23px, transparent 23px),
        radial-gradient(ellipse at 10% 40%, rgba(203, 239, 249, 0.2) 0%, transparent 35%),
        radial-gradient(ellipse at 80% 60%, rgba(255, 245, 230, 0.25) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 20%, rgba(255, 179, 217, 0.15) 0%, transparent 30%),
        linear-gradient(135deg, #fff9f0 0%, #fffbf5 50%, #fff5f7 100%);
    background-size: 58px 58px, 58px 58px, 58px 58px, 58px 58px, 600px 600px, 700px 700px, 650px 650px, 100% 100%;
    background-position: 0px 2px, 4px 35px, 29px 31px, 34px 6px, 10% 40%, 80% 60%, 50% 20%, 0 0;
}

/* Butterflies */
.swh-butterflies {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
}

.swh-butterfly {
    position: absolute;
    font-size: 2rem;
    animation: butterflyFly 8s ease-in-out infinite;
    filter: drop-shadow(0 2px 6px rgba(255, 107, 157, 0.3));
    opacity: 0.8;
}

@keyframes butterflyFly {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    25% {
        transform: translate(30px, -20px) rotate(10deg) scale(1.1);
    }

    50% {
        transform: translate(-20px, -40px) rotate(-5deg) scale(0.9);
    }

    75% {
        transform: translate(40px, -10px) rotate(15deg) scale(1.05);
    }
}

/* Header */
.swh-header {
    text-align: center;
    margin-bottom: 40px;
    z-index: 10;
    position: relative;
}

.swh-brush {
    display: inline-block;
    padding: 0;
    margin: 0;
    background: none;
    color: #ff6b9d;
    font-family: 'Nunito', sans-serif !important;
    font-weight: 900;
    font-size: 4.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    transform: none;
    text-shadow: 3px 3px 0px rgba(255, 107, 157, 0.25), -2px -2px 0px rgba(255, 255, 255, 0.9), 4px 4px 12px rgba(255, 107, 157, 0.3);
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.1));
}

.swh-brush::before {
    content: '';
    position: absolute;
    inset: -10px -15px;
    background: radial-gradient(circle at 20% 30%, rgba(255, 107, 157, 0.12) 0%, transparent 45%), radial-gradient(circle at 80% 70%, rgba(255, 179, 217, 0.15) 0%, transparent 50%);
    border-radius: 15px;
    z-index: -1;
    filter: blur(10px);
}

.swh-sub {
    margin: 18px 0 0;
    font-size: 1.35rem;
    color: #666;
    font-weight: 500;
}

/* Stage & Track */
.swh-stage {
    flex: 1;
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 6;
    min-height: 450px;
    max-height: calc(100vh - 200px);
}

.swh-track {
    position: relative;
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 0 60px;
    will-change: transform;
    cursor: grab;
}

.swh-track:active {
    cursor: grabbing;
}

/* Photo Cards */
.swh-photo {
    flex: 0 0 auto;
    width: 280px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.06);
    padding: 16px 16px 22px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.swh-photo:nth-child(2n) {
    transform: rotate(2.5deg);
    width: 300px;
}

.swh-photo:nth-child(3n) {
    transform: rotate(-3deg);
    width: 260px;
}

.swh-photo:nth-child(4n) {
    transform: rotate(2deg);
    width: 320px;
}

.swh-photo:nth-child(5n) {
    transform: rotate(-2deg);
    width: 290px;
}

.swh-photo:hover {
    transform: translateY(-12px) rotate(0deg) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.08);
    z-index: 100;
}

.swh-img-box {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 7px;
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(255, 234, 167, 0.7), transparent 60%), radial-gradient(circle at bottom right, rgba(203, 239, 249, 0.8), transparent 60%), #f9f9f9;
}

.swh-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.swh-cap {
    margin-top: 14px;
    font-family: "Patrick Hand", cursive;
    font-size: 1.2rem;
    color: #333;
    text-align: center;
    line-height: 1.3;
    font-weight: 500;
    min-height: 28px;
}

/* Stickers */
.swh-sticker {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #ffeaa7;
    border: 4px solid #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    display: grid;
    place-items: center;
    font-size: 1.6rem;
}

.swh-sticker.pink {
    background: #ff9ff3;
}

.swh-sticker.blue {
    background: #74b9ff;
}

.swh-sticker.teal {
    background: #a2ded0;
}

/* Tape */
.swh-tape {
    position: absolute;
    width: 60px;
    height: 28px;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    transform: rotate(45deg);
    top: -14px;
    left: 30px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.swh-tape.r {
    transform: rotate(-45deg);
    left: auto;
    right: 30px;
}

/* Lightbox */
.swh-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.swh-lightbox.active {
    display: flex;
}

.swh-lb-bg {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    cursor: pointer;
}

.swh-lb-content {
    position: relative;
    max-width: 92vw;
    max-height: 92vh;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
    padding: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    z-index: 1;
}

.swh-lb-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 10px;
}

.swh-lb-caption {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #222;
    text-align: center;
}

/* Navigation Controls */
.swh-nav-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 8px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    opacity: 0;
    animation: fadeInButtons 1s ease 1s forwards;
}

@keyframes fadeInButtons {
    to {
        opacity: 1;
    }
}

.swh-nav-label {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: #888;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    user-select: none;
}

.swh-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #fff;
    flex-shrink: 0;
}

.swh-btn svg {
    width: 24px;
    height: 24px;
    display: block;
}

.swh-btn.prev {
    background: #ff9ff3;
}

.swh-btn.next {
    background: #74b9ff;
}

.swh-btn:hover {
    transform: scale(1.15);
}

.swh-btn:active {
    transform: scale(0.95);
}

/* ==========================================================================
   15. CONSENT CHECKBOX & COOKIE BANNER
   ========================================================================== */
.checkbox-group {
    margin-top: 15px;
    margin-bottom: 20px;
    align-items: flex-start !important;
}

.checkbox-group input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    margin-top: 4px;
    accent-color: #ff9ff3;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-group label {
    font-family: 'Patrick Hand', cursive;
    font-size: 1.15rem;
    line-height: 1.4;
    color: #555;
    cursor: pointer;
    margin-left: 10px;
    text-align: left;
}

.checkbox-group a {
    color: #ff9ff3;
    text-decoration: underline;
    font-weight: bold;
}

/* Cookie Banner */
#cookie-banner {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: #fff;
    padding: 20px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 3px solid #ffeaa7;
    z-index: 10000;
    text-align: center;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translate(-50%, 100%);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

#cookie-banner p {
    font-family: 'Patrick Hand', cursive;
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.4;
}

.cookie-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.cookie-btn {
    padding: 10px 25px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    cursor: pointer;
    font-size: 1rem;
    border: none;
    transition: transform 0.2s;
}

.cookie-btn:hover {
    transform: scale(1.05);
}

.cookie-accept {
    background: #ff9ff3;
    color: #000;
}

.cookie-read {
    background: #f0f0f0;
    color: #555;
    text-decoration: none;
    display: inline-block;
}

/* ==========================================================================
   16. RESPONSIVE: TABLET & MOBILE (max-width: 1200px)
   ========================================================================== */
@media (max-width: 1200px) {

    /* About/Mission Refinements */
    .center-emojis {
        position: static !important;
        display: block;
        width: min(320px, 85%);
        height: auto;
        margin: 24px auto 0;
        transform: none !important;
        left: auto !important;
        bottom: auto !important;
    }

    #about .content-box,
    #mission .mission-content {
        padding: 28px 20px !important;
        border-radius: 28px;
    }

    .content-box p,
    .mission-content p {
        line-height: 1.6 !important;
    }

    /* Global Layout Resets */
    .scroll-container {
        scroll-snap-type: none;
        height: auto;
        width: 100%;
        overflow-y: visible;
        overflow-x: hidden;
    }

    .slide {
        height: auto !important;
        min-height: auto;
        width: 100%;
        padding: 60px 0;
        display: block;
        overflow: visible;
    }

    /* Navigation */
    .mobile-alert {
        display: block;
    }

    .navbar {
        display: none !important;
    }

    .burger-menu-icon {
        display: flex;
    }

    /* Hero */
    #hero {
        background-image: url('/images/hero-bg.webp');
        background-size: cover;
        background-position: center bottom;
        min-height: 60vh;
        padding-top: 100px;
    }

    .hero-content {
        transform: none;
        display: flex;
        justify-content: center;
    }

    .hero-logo {
        width: 80%;
        max-width: 400px;
    }

    #about {
        background: #fff;
        padding-bottom: 50px;
    }

    /* Content Stacking */
    .content-box,
    .mission-content,
    .work-card,
    .contact-content,
    .footer-container {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 90%;
        margin: 0 auto;
        text-align: center;
    }

    .big-mascot,
    .cloud-decor,
    .work-flowers {
        display: none;
    }

    /* Mission Section */
    #mission {
        height: auto !important;
        min-height: auto !important;
        padding: 60px 20px 250px !important;
        background-size: contain !important;
        background-position: center bottom !important;
    }

    .mission-content {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 90% !important;
        max-width: 600px !important;
        margin: 0 auto !important;
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
    }

    .mission-content p {
        font-size: 1.2rem !important;
        line-height: 1.5 !important;
        margin-top: 20px !important;
    }

    .blue-brush-bg {
        font-size: 1.8rem !important;
        padding: 8px 30px !important;
    }

    /* Contact Quote */
    #contact-quote {
        height: auto !important;
        min-height: auto !important;
        padding: 60px 20px 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .contact-content {
        position: relative !important;
        top: auto !important;
        width: 90% !important;
        max-width: 600px !important;
        margin-bottom: 30px !important;
        z-index: 20 !important;
    }

    .contact-content h2 {
        font-size: 2rem !important;
        margin-bottom: 20px !important;
    }

    .contact-content p {
        font-size: 1.3rem !important;
    }

    .footer-hill {
        position: relative !important;
        width: 100% !important;
        max-height: none !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: bottom center !important;
    }

    /* Text Adjustments */
    .brush-stroke-bg,
    .blue-brush-bg,
    .teal-brush-bg,
    .pink-brush-bg,
    .yellow-brush-bg {
        font-size: 2rem;
    }

    .content-box p,
    .mission-content p {
        font-size: 1.4rem;
    }

    /* Work Cards */
    #work,
    #animals,
    #charity {
        height: auto !important;
        padding: 40px 0;
    }

    .work-title-container {
        position: static;
        text-align: center;
        margin-bottom: 30px;
    }

    .work-card {
        position: static !important;
        transform: none !important;
        height: auto !important;
        border-radius: 40px;
        padding: 40px 30px;
        margin-bottom: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .work-kid {
        position: static !important;
        height: auto;
        width: 60%;
        max-width: 300px;
        margin-bottom: 25px;
        order: -1;
    }

    .work-text-content {
        position: static !important;
        width: 100%;
        text-align: center;
    }

    /* Contact Form */
    #contact-form {
        padding: 60px 0;
        height: auto !important;
    }

    .top-row,
    .bottom-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
        align-items: stretch !important;
    }

    .cat {
        margin-top: 40px;
    }

    .thecat {
        width: 80px;
        top: -30px;
        right: 15px;
    }

    .submit-btn {
        width: 100%;
        padding: 15px;
        max-height: none;
    }

    /* Footer */
    #footer {
        height: auto !important;
        padding: 40px 20px 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .footer-container {
        position: relative !important;
        flex-direction: column !important;
        text-align: center !important;
        width: 90% !important;
        margin: 0 auto 30px !important;
        gap: 30px !important;
    }

    .footer-left,
    .footer-right {
        text-align: center;
        width: 100%;
        align-items: center;
    }

    .footer-bg-img {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        min-height: 200px !important;
        max-height: 50vh !important;
        object-fit: cover !important;
        object-position: top center !important;
        margin-top: auto !important;
    }

    .footer-logo {
        width: 180px !important;
        margin: 20px auto !important;
    }

    .footer-desc {
        font-size: 1.3rem !important;
        margin-bottom: 30px !important;
    }

    /* Wall of Smiles */
    .smile-wall-h {
        height: auto !important;
        min-height: auto !important;
        padding: 40px 0 30px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
    }

    .swh-header {
        flex-shrink: 0 !important;
        margin-bottom: 20px !important;
    }

    .swh-brush {
        font-size: 2.5rem !important;
    }

    .swh-stage {
        flex: 0 1 auto !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        min-height: 280px !important;
        max-height: none !important;
        height: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory;
        padding-bottom: 15px;
        width: 100%;
    }

    .swh-stage::-webkit-scrollbar {
        display: none;
    }

    .swh-stage {
        scrollbar-width: none;
    }

    .swh-track {
        transform: none !important;
        display: flex !important;
        gap: 20px !important;
        padding: 0 20px !important;
        width: max-content !important;
        height: 100% !important;
        animation: none !important;
        grid-template-columns: none !important;
        grid-template-rows: none !important;
    }

    .swh-photo {
        width: 260px !important;
        max-height: 340px !important;
        flex: 0 0 auto !important;
        scroll-snap-align: center;
        transform: none !important;
        margin: 0 !important;
        opacity: 1 !important;
        padding: 12px 12px 18px !important;
    }

    .swh-img-box {
        max-height: 180px !important;
    }

    .swh-nav-controls {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        width: 90%;
        max-width: 350px;
        margin: 20px auto 0 !important;
        justify-content: space-between;
        background: rgba(255, 255, 255, 0.95);
        visibility: visible !important;
        opacity: 1 !important;
        animation: none;
        z-index: 999;
        padding: 8px 20px;
        border: 2px solid rgba(255, 255, 255, 1);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
}

/* ==========================================================================
   17. RESPONSIVE: SMALL PHONES (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {
    .smile-wall-h {
        padding: 30px 0 60px !important;
    }

    .swh-stage {
        min-height: 240px !important;
    }

    .swh-brush {
        font-size: 2rem !important;
    }

    .swh-brush span {
        display: inline !important;
        transform: none !important;
    }

    .swh-photo {
        width: 200px !important;
        max-height: 280px !important;
    }

    .swh-img-box {
        max-height: 150px !important;
    }

    .swh-nav-controls {
        bottom: 20px;
        padding: 5px 15px;
        width: 95%;
    }

    .swh-btn {
        width: 40px;
        height: 40px;
    }

    .swh-nav-label {
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   18. RESPONSIVE: TABLET OPTIMIZATIONS (600px - 1199px)
   ========================================================================== */
@media (min-width: 600px) and (max-width: 1199px) {
    .swh-track {
        display: grid !important;
        grid-template-rows: repeat(2, auto) !important;
        grid-auto-flow: column !important;
        gap: 25px !important;
        padding-bottom: 20px !important;
        align-content: center !important;
    }

    .swh-photo {
        width: 250px !important;
        max-height: 320px !important;
        margin: 0 !important;
    }

    .swh-stage {
        min-height: 650px !important;
    }

    .mission-content {
        max-width: 700px !important;
        padding: 40px 35px !important;
    }

    .mission-content p {
        font-size: 1.35rem !important;
    }

    .footer-bg-img {
        max-height: 45vh !important;
    }
}

/* ==========================================================================
   19. RESPONSIVE: COOKIE BANNER (max-width: 600px)
   ========================================================================== */
@media (max-width: 600px) {
    #cookie-banner {
        bottom: 10px;
        padding: 15px;
        width: 95%;
    }

    #cookie-banner p {
        font-size: 1.1rem;
    }

    .cookie-actions {
        flex-direction: column;
        gap: 10px;
    }

    .cookie-btn {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
}

/* ==========================================================================
   20. RESPONSIVE: MOBILE MISSION SECTION (max-width: 767px)
   ========================================================================== */
@media (max-width: 767px) {
    #mission {
        padding: 30px 20px 180px !important;
        background-size: 180% auto !important;
        background-position: center bottom !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
    }

    .mission-content {
        margin-bottom: 0 !important;
    }

    .mission-content p {
        margin-bottom: 10px !important;
    }
}