* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #fdfcff;
    color: #333;
    line-height: 1.6;
    position: relative;
    /* Ensure orbs can sit behind */
}

.container {
    width: 90%;
    max-width: 1200px;
    /* Reduced from 1400px */
    margin: auto;
}

/* NAVBAR - INSPIRED */
.transparent-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    border-bottom: none;
}

/* PROGRESS BAR */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 9999;
}

.progress-bar {
    height: 100%;
    background: #6d5dfc;
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(109, 93, 252, 0.5);
}

/* FLOATING ORBS BACKGROUND */
.floating-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    /* Slightly sharper blur */
    opacity: 0.35;
    /* Much more visible */
    will-change: transform;
    pointer-events: none;
}

.orb-1 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #6d5dfc, #c4b5fd);
    top: 15%;
    left: 5%;
    animation: orbFloat1 25s infinite alternate ease-in-out;
}

.orb-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #c4b5fd, #6d5dfc);
    top: 60%;
    right: 5%;
    animation: orbFloat2 30s infinite alternate ease-in-out;
}

.orb-3 {
    width: 280px;
    height: 280px;
    background: #6d5dfc;
    top: 40%;
    left: 50%;
    animation: orbFloat3 22s infinite alternate ease-in-out;
}

@keyframes orbFloat1 {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(50px, 100px);
    }
}

@keyframes orbFloat2 {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(-80px, -50px);
    }
}

@keyframes orbFloat3 {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(30px, -70px);
    }
}

.nav-container {
    width: 95%;
    max-width: 1600px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo img {
    height: 100px;
    border-radius: 8px;
    transition: transform 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* HAMBURGER MENU */
.hamburger {
    display: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    /* Subtle background for the icon */
    border: none;
    border-radius: 8px;
    padding: 8px;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: #fff;
    /* Changed to white for visibility on hero */
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span {
    background: #1c1b22;
    /* Back to dark for light menu background */
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -8px);
}

.logo img:hover {
    transform: scale(1.03);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.mobile-only {
    display: none;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: #c4b5fd;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
    transform: translateY(-2px);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.donate-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.3s;
}

.donate-btn:hover {
    transform: scale(1.05);
}

/* HERO SECTION - INSPIRED */
.hero-inspired {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    background: url('hero-img.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    /* Dark overlay to make text pop */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    margin-top: 60px;
    /* Offset for header */
}

.hero-headline {
    font-family: 'Inter', sans-serif;
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1.5px;
    margin-bottom: 5px;
}

.hero-subline {
    font-size: 1.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.02em;
    text-transform: none;
    /* Non-uppercase */
    margin-bottom: 25px;
    opacity: 0.95;
}

.hero-script {
    font-family: 'Great Vibes', cursive;
    font-size: 4rem;
    color: #c4b5fd;
    transform: rotate(-3deg);
    margin-top: 0px;
    /* Removed negative margin */
}

/* Swoosh styling for cursive flourish */
.hero-swoosh {
    position: absolute;
    left: 50%;
    bottom: -65px;
    /* Slightly above as requested */
    transform: translateX(-50%);
    width: 600px;
    height: 150px;
    z-index: 1;
    /* Moved below text */
    pointer-events: none;
}

.animated-swoosh {
    stroke: #c4b5fd;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}

.animate-in .animated-swoosh {
    animation: draw 2s ease-in-out forwards;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

/* SUBPAGE HERO */
.hero-subpage {
    position: relative;
    width: 100%;
    height: 55vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-subpage .hero-overlay {
    background: rgba(0, 0, 0, 0.55);
}

.hero-subpage .hero-headline {
    font-size: 3.2rem;
    margin-top: 60px;
    margin-bottom: 0;
}

/* ABOUT & PROGRAMS PAGES BEAUTIFICATION */
.vm-cards {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin: 0 auto 40px;
    max-width: 1000px;
    /* Restored for laptop view (3 in a row) */
}

.vm-card {
    width: 290px;
    height: 290px;
    border-radius: 50%;
    background: #1c1b22;
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid rgba(196, 181, 253, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.vm-card:hover {
    transform: translateY(-12px) scale(1.05);
    background: #25242d;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.vm-card h3 {
    font-size: 1.4rem;
    /* Reduced from 1.6rem */
    margin-bottom: 15px;
    color: #c4b5fd;
    font-weight: 700;
}

.vm-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.88rem;
    line-height: 1.4;
    max-width: 90%;
    margin: 0 auto;
}

.about-org-box {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    line-height: 1.8;
    text-align: left;
    margin-top: 30px;
    /* Reduced from 50px */
}

.about-org-box p {
    color: #2d2d2d;
    margin-bottom: 25px;
    font-size: 1rem;
    font-weight: 500;
}

/* Ensure swoosh stays left for left-aligned headers */
.about-left .section-swoosh,
.about-org-box .section-swoosh {
    left: 0;
    transform: none;
}

/* PROGRAMS PROCESS GRID */
.process-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    /* Reduced from 35px */
    flex-wrap: wrap;
    margin-top: 30px;
    /* Reduced from 50px */
}

.process-card {
    width: 230px;
    /* Reduced from 260px */
    height: 230px;
    /* Reduced from 260px */
    border-radius: 50%;
    background: #1c1b22;
    /* Dark theme */
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid rgba(196, 181, 253, 0.1);
}

.process-card:hover {
    transform: translateY(-12px) scale(1.05);
    background: #25242d;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.step-num {
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(196, 181, 253, 0.15);
    /* Brighter lavender for dark bg */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
    z-index: 1;
}

.process-card h3 {
    font-size: 1.4rem;
    color: #c4b5fd;
    /* Soft purple */
    margin-bottom: 15px;
    margin-top: 10px;
    position: relative;
    z-index: 2;
    font-weight: 700;
}

.process-card p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    position: relative;
    z-index: 2;
    font-size: 0.95rem;
}

/* SECTIONS */

section {
    padding: 60px 0;
    /* Reduced from 80px 0 for better density */
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    /* Reduced from 60px */
}

.section-accent {
    font-family: 'Great Vibes', cursive;
    color: #c4b5fd !important;
    font-size: 3rem;
    /* Reduced from 5.2rem for a cleaner look */
    margin-bottom: -15px;
    transform: rotate(-3deg);
    display: block;
    line-height: 1;
    z-index: 2;
    position: relative;
}

.section-header h2,
.about-left h2,
.about-org-box h2 {
    color: #1c1b22;
    font-size: 2.8rem;
    font-weight: 800;
    /* extra bold */
    line-height: 1.05;
    /* tight spacing like the image */
    letter-spacing: -1.5px;
    position: relative;
    display: inline-block;
    text-transform: capitalize;
    margin-bottom: 30px;
    /* Reduced from 45px */
    z-index: 1;
    /* Create stacking context for swoosh */
}

.section-header p:not(.section-accent) {
    font-size: 1rem;
    color: #555;
    max-width: 800px;
    margin: -20px auto 0;
    line-height: 1.6;
}

.section-header .section-swoosh,
.about-left .section-swoosh,
.about-org-box .section-swoosh {
    position: absolute;
    bottom: -18px;
    /* Brought closer to text */
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    /* Slightly narrower to fit smaller headers */
    height: 35px;
    pointer-events: none;
    overflow: visible;
    z-index: -1;
    /* Always below text */
}

.about-left {
    text-align: left;
}

.section-header .animated-swoosh {
    stroke: #c4b5fd;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw 2s ease-in-out forwards;
}

/* ABOUT */

.about-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    /* Reduced from 70px */
    align-items: flex-start;
}

.about-right p {
    color: #2d2d2d;
    font-size: 1rem;
    line-height: 1.9;
    letter-spacing: 0.015em;
    font-weight: 500;
    margin-bottom: 28px;
    text-align: justify;
}

/* PROGRAMS CAROUSEL */
.programs {
    background: #f7f4ff;
    /* Very light purple */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    /* Fluid padding for better mobile feel */
}

.carousel-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 20px;
    overflow: hidden;
    /* Prevent horizontal scrollbars from translated elements */
}

.jobs-carousel {
    position: relative;
    height: 480px;
    /* Reduced from 580px */
    width: 100%;
    margin: 0 auto;
}

.job-card {
    position: absolute;
    left: 50%;
    top: 50%;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.25, 1.0, 0.5, 1.0), opacity 0.6s ease, z-index 0.6s, box-shadow 0.6s, border 0.6s;
    width: 300px;
    /* Reduced from 320px */
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%) scale(0.6);
    border: 3px solid transparent;
}

.job-card.active {
    box-shadow: 0 30px 60px rgba(28, 27, 34, 0.15);
    border: none;
    /* Removed outline */
    background: #ffffff;
}

.job-card img {
    width: 100%;
    height: 200px;
    /* Reduced from 280px */
    object-fit: cover;
}

.job-card h3 {
    margin: 18px 15px 8px;
    color: #1c1b22;
    font-size: 1.35rem;
    /* Slightly smaller */
    font-weight: 700;
    text-align: center;
}

.job-card p {
    margin: 0 15px 20px;
    color: #4a4a4a;
    font-size: 0.95rem;
    /* Slightly smaller */
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
}

/* CAROUSEL CONTROLS */
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 30px;
    /* Reduced since section is smaller */
}

.carousel-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #1c1b22;
    background: #1c1b22;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: all 0.3s ease;
}

.carousel-arrow:hover {
    background: #000;
    border-color: #000;
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 12px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d0d0d0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #6d5dfc;
    transform: scale(1.3);
}

/* SUPPORT */

.support {
    background: #f7f4ff;
    /* Very light purple */
    padding: 80px 0;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 columns on laptop/desktop */
    gap: 25px;
    margin-top: 40px;
    justify-items: center;
    max-width: 1100px;
    /* Increased to fit 4 cards */
    margin-left: auto;
    margin-right: auto;
}

.support-card {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: white;
    color: #1c1b22;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    text-align: center;
    padding: 20px;
    border: 1px solid rgba(28, 27, 34, 0.1);
    box-shadow: 0 10px 30px rgba(28, 27, 34, 0.05);
}

.support-card:hover {
    transform: translateY(-12px);
    border-color: #6d5dfc;
    box-shadow: 0 20px 50px rgba(109, 93, 252, 0.1);
}

.support-card img {
    width: 65px;
    margin-bottom: 20px;
    /* Removed filter to use original image colors */
    transition: transform 0.4s ease;
}

.support-card:hover img {
    transform: scale(1.1);
}

.support-card h3 {
    font-size: 1.2rem;
    color: #1c1b22;
    font-weight: 700;
    margin-bottom: 8px;
}

.support-card p {
    font-size: 0.9rem;
    color: #4a4a4a;
    font-weight: 500;
    line-height: 1.5;
    max-width: 85%;
    margin: 0 auto;
}

/* CONTACT */

.contact-info {
    text-align: center;
    line-height: 2;
}

/* FOOTER */

footer {
    background: #1c1b22;
    color: white;
    text-align: center;
    padding: 40px 0;
    /* Reduced from 60px */
}

/* RESPONSIVE */

@media(max-width:991px) {

    .vm-cards {
        max-width: 450px;
        /* Reduced to strictly fit 2 cards across */
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin: auto;
    }

    .vm-card {
        flex: 0 0 calc(50% - 10px);
        /* Ensure 2 per row */
        width: 230px;
        height: 230px;
        padding: 15px;
    }

    /* Force the third card (Objective) to its own row if needed */
    .vm-card:nth-child(3) {
        flex-basis: 100%;
        max-width: 230px;
        /* Keep circular size */
        margin-top: 10px;
    }

    .vm-card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .vm-card p {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .support-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2x2 for responsive/tablet */
        gap: 20px;
        max-width: 540px;
        /* Adjusted to fit 2 cards comfortably */
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .hero-headline {
        font-size: 3.5rem;
    }

    .hero-script {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
        /* Hidden by default on mobile, shown as flex when active */
    }

    .logo img {
        height: 80px;
        /* Scaled up for responsive */
    }

    .hamburger {
        display: block;
    }
}

@media(max-width:600px) {

    .hero-headline {
        font-size: 2.2rem;
    }

    .hero-script {
        font-size: 2.2rem;
    }

    .logo img {
        height: 70px;
        /* Still quite large for small mobile screens compared to old 55px */
    }

}

/* Pill-shaped orange stats (match provided design) */
.stats-bleed {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 36px 0 18px;
    /* increased top/bottom spacing */
    background: transparent;
}

.pill-inner {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    background: #1c1b22;
    border-radius: 500px;
    /* More rounder - full pill */
    padding: 40px 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pill-header {
    text-align: center;
    margin-bottom: 25px;
    color: #fff;
}

.pill-header h2 {
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.pill-grid {
    display: flex;
    gap: 50px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.pill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 180px;
}

.pill-bubble,
.pill-bubble-inner {
    background: transparent;
    box-shadow: none;
    width: auto;
    height: auto;
}

.pill-bubble::before {
    display: none;
}

.pill-number {
    font-family: 'Great Vibes', cursive;
    font-size: 3.2rem;
    font-weight: 400;
    color: #c4b5fd;
    /* light purple */
    line-height: 1;
}

.pill-label {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.4;
}

@media(max-width:900px) {
    .pill-grid {
        gap: 28px
    }

    .pill-bubble {
        width: 96px;
        height: 96px
    }

    .pill-bubble-inner {
        width: 72px;
        height: 72px
    }

    .pill-number {
        font-size: 20px;
    }
}

@media(max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media(max-width: 991px) {
    .hamburger {
        display: block;
    }

    /* Reduce all section padding */
    section {
        padding: 35px 0;
    }

    .hero-script {
        font-size: 1.8rem;
        margin-top: 25px;
        /* Added spacing to stop overlap */
    }

    .hero-inspired {
        min-height: 500px;
        height: 70vh;
    }

    .hero-subpage {
        height: 40vh;
        min-height: 280px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #f7f4ff;
        /* Matches the Programs section light purple */
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        box-shadow: -15px 0 40px rgba(0, 0, 0, 0.1);
        border-left: 1px solid rgba(0, 0, 0, 0.05);
        /* Subtle dark edge */
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.15rem;
        /* Reduced from 1.4rem */
        color: #1c1b22;
        /* Dark text for better contrast on light bg */
        font-weight: 600;
        letter-spacing: 0.5px;
    }

    .nav-links a:hover {
        color: #6d5dfc;
        /* Primary purple from the theme */
    }

    .nav-actions {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .mobile-donate-btn {
        background: #6d5dfc;
        color: #fff !important;
        padding: 12px 40px;
        border-radius: 50px;
        font-weight: 700 !important;
        margin-top: 15px;
        text-align: center;
        box-shadow: 0 10px 25px rgba(109, 93, 252, 0.25);
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-donate-btn:active {
        transform: scale(0.95);
    }

    .hero-headline {
        font-size: 2.4rem;
        /* Reduced to prevent text cutoff */
    }

    .hero-subpage .hero-headline {
        font-size: 2rem;
        margin-top: 30px;
    }

    .hero-subline {
        font-size: 1rem;
        padding: 0 10px;
        margin-bottom: 15px;
    }

    .section-accent {
        font-size: 2.4rem;
        margin-bottom: 25px;
        /* Significant gap to clear the H2 */
        display: block;
    }

    .section-header {
        margin-bottom: 20px;
    }

    .section-header h2,
    .about-left h2,
    .about-org-box h2 {
        font-size: 1.6rem;
        margin-bottom: 30px;
        /* Increased from 20px */
        line-height: 1.3;
        /* Increased for better legibility */
    }

    .section-header p:not(.section-accent) {
        font-size: 0.85rem;
        /* Slightly larger */
        margin-top: 15px;
        /* Changed from -10px to clear the swoosh */
    }

    .section-header .section-swoosh,
    .about-left .section-swoosh,
    .about-org-box .section-swoosh {
        width: 140px;
        bottom: -22px;
        /* Slightly deeper than -20px */
        opacity: 0.7;
    }

    /* About section */
    .about-right p {
        line-height: 1.45;
        font-size: 0.82rem;
        text-align: left;
        margin-bottom: 15px;
    }

    .about-org-box p {
        font-size: 0.82rem;
        line-height: 1.45;
        margin-bottom: 15px;
    }

    /* Circular Cards */
    .vm-card {
        width: 190px;
        height: 190px;
        padding: 20px;
    }

    .vm-card h3 {
        font-size: 1rem;
        /* Reduced from 1.1rem */
        margin-bottom: 5px;
    }

    .vm-card p {
        font-size: 0.7rem;
        /* Reduced from 0.78rem */
        line-height: 1.25;
        max-width: 90%;
        margin: 0 auto;
    }

    .process-card {
        width: 160px;
        height: 160px;
        padding: 12px;
    }

    .step-num {
        font-size: 1.8rem;
    }

    .process-card h3 {
        font-size: 0.9rem;
    }

    .process-card p {
        font-size: 0.72rem;
    }

    /* Carousel */
    .jobs-carousel {
        height: 400px;
    }

    .job-card {
        width: 250px;
    }

    .job-card img {
        height: 160px;
    }

    .job-card h3 {
        font-size: 1.1rem;
        margin: 10px 10px 5px;
    }

    .job-card p {
        font-size: 0.8rem;
        margin: 0 10px 12px;
        line-height: 1.4;
    }

    /* Support cards */
    .support-card {
        width: 200px;
        /* Reduced from 220px */
        height: 200px;
        /* Reduced from 220px */
        padding: 15px;
    }

    .support-card h3 {
        font-size: 1rem;
        /* Reduced from 1.1rem */
        margin-bottom: 5px;
    }

    .support-card p {
        font-size: 0.7rem;
        /* Reduced from 0.75rem */
        line-height: 1.3;
        max-width: 85%;
        /* Narrower for better circle fit */
        margin: 0 auto;
    }

    .support-card img {
        width: 45px;
        margin-bottom: 12px;
    }

    /* Pill stats */
    .pill-inner {
        padding: 30px 12px;
    }

    .pill-header h2 {
        font-size: 1.3rem;
    }

    .pill-number {
        font-size: 2.4rem;
    }

    .pill-label {
        font-size: 0.75rem;
    }

    /* Contact */
    .contact-info p {
        font-size: 0.85rem;
    }

    /* Footer */
    footer {
        padding: 25px 0;
    }

    footer h3 {
        font-size: 1.1rem;
    }

    footer p {
        font-size: 0.8rem;
    }
}

@media(max-width: 480px) {
    section {
        padding: 25px 0;
    }

    .hero-inspired {
        min-height: 400px;
        height: 60vh;
    }

    .hero-headline {
        font-size: 2rem;
    }

    .hero-subline {
        font-size: 0.85rem;
    }

    .hero-script {
        font-size: 1.6rem;
    }

    .hero-subpage {
        height: 35vh;
        min-height: 220px;
    }

    .hero-subpage .hero-headline {
        font-size: 1.6rem;
    }

    .section-accent {
        font-size: 2rem;
        margin-bottom: 20px;
        /* Gap for mobile */
    }

    .section-header h2,
    .about-left h2,
    .about-org-box h2 {
        font-size: 1.35rem;
        margin-bottom: 15px;
    }

    .section-header p:not(.section-accent) {
        font-size: 0.75rem;
    }

    .about-right p {
        font-size: 0.78rem;
        line-height: 1.4;
    }

    .about-org-box p {
        font-size: 0.78rem;
        line-height: 1.4;
    }

    .job-card {
        width: 220px;
    }

    .job-card img {
        height: 130px;
    }

    .job-card h3 {
        font-size: 0.95rem;
    }

    .job-card p {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .jobs-carousel {
        height: 340px;
    }

    .vm-card,
    .process-card {
        width: 180px;
        height: 180px;
    }

    .vm-cards {
        max-width: 320px;
        /* Narrower for small phones */
        gap: 15px;
    }

    .vm-card {
        flex: 0 0 calc(50% - 8px);
        width: 145px;
        height: 145px;
    }

    .vm-card:nth-child(3) {
        flex-basis: 100%;
        max-width: 145px;
    }

    .vm-card h3 {
        font-size: 0.85rem;
        /* Reduced from 1rem */
        margin-bottom: 4px;
    }

    .vm-card p {
        font-size: 0.6rem;
        /* Reduced from 0.72rem */
        line-height: 1.2;
        max-width: 90%;
        margin: 0 auto;
    }

    .support-card {
        width: 100%;
        max-width: 135px;
        /* Balanced to fit 2-up on 320px screens */
        aspect-ratio: 1/1;
        height: auto;
        padding: 10px;
    }

    .support-card h3 {
        font-size: 0.78rem;
        margin-bottom: 3px;
    }

    .support-card p {
        font-size: 0.55rem;
        line-height: 1.2;
        max-width: 90%;
        margin: 0 auto;
    }

    .support-card img {
        width: 32px;
        margin-bottom: 6px;
    }

    .support-grid {
        gap: 10px;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        width: 100%;
        padding: 0;
    }

    .works-grid {
        grid-template-columns: 1fr;
    }

    .pill-inner {
        padding: 25px 10px;
        border-radius: 40px;
    }

    .pill-header h2 {
        font-size: 1.1rem;
    }

    .pill-number {
        font-size: 2rem;
    }

    .pill-label {
        font-size: 0.7rem;
    }

    .carousel-arrow {
        width: 36px;
        height: 36px;
    }

    .carousel-arrow svg {
        width: 18px;
        height: 18px;
    }

    .contact-info p {
        font-size: 0.78rem;
    }
}



/* SCROLL TOP BUTTON */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #1c1b22;
    color: #c4b5fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
    z-index: 9999;
}

.scroll-top.show {
    opacity: 1;
    pointer-events: auto;
}

/* FLOATING SUPPORT BADGE */
.floating-badge {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    background: #1c1b22;
    /* Dark theme */
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    overflow: hidden;
    width: 54px;
    height: 54px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Default small circle */
}

.badge-content {
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    transition: gap 0.3s ease;
}

.floating-badge svg {
    stroke: #c4b5fd;
    /* Lavender stroke */
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    /* Prevent shrinking */
}

.floating-badge span {
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0;
    max-width: 0;
    /* Takes no space when collapsed */
    overflow: hidden;
    transition: all 0.3s ease;
}

.floating-badge:hover {
    width: 175px;
    /* Expand on hover */
    height: 54px;
    border-radius: 50px;
    background: #6d5dfc;
    /* Change to primary purple */
}

.floating-badge:hover .badge-content {
    gap: 12px;
    /* Restore gap on hover */
}

.floating-badge:hover span {
    opacity: 1;
    max-width: 120px;
    /* Allow text to be visible */
    margin-left: 4px;
    /* Fine-tune spacing */
}

.floating-badge:hover svg {
    stroke: #fff;
}


.scroll-top:hover {
    background-color: #0b0a1a;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* SCROLL REVEAL FOR IMAGES AND SECTIONS */
img {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-in img {
    opacity: 1;
    transform: translateY(0);
}

/* Logos and Hero images should be visible immediately */
.logo img,
.hero-inspired img,
.transparent-header img,
.job-card img {
    opacity: 1;
    transform: none;
}

/* PROGRAMS PAGE NEW SECTIONS */

.reality-section {
    background: #1c1b22;
    color: #fff;
    padding: 60px 0;
    /* Reduced from 80px */
}

.reality-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    /* Balanced more for a slightly larger image */
    gap: 40px;
    align-items: center;
}

.reality-img {
    max-width: 500px;
    /* Slightly increased from 400px */
    justify-self: end;
}

.reality-text h2 {
    font-size: 2.1rem;
    /* Reduced from 2.5rem */
    color: #c4b5fd;
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.1;
}

.reality-text p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.85);
}

.reality-list {
    list-style: none;
    margin: 20px 0;
    /* Reduced from 30px */
}

.reality-list li {
    font-size: 0.95rem;
    margin-bottom: 12px;
    /* Reduced from 18px */
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.95;
    font-weight: 500;
}

.reality-list li::before {
    content: '→';
    color: #6d5dfc;
    font-weight: 900;
    font-size: 1.4rem;
}

.reality-img img {
    width: 100%;
    border-radius: 30px;
    /* Reduced from 40px */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(196, 181, 253, 0.1);
}

.mission-highlight {
    background: #f8f7ff;
    /* Slightly darker and more rich than #fdfcff */
    padding: 70px 0;
    /* Reduced from 90px */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mission-card {
    background: rgba(109, 93, 252, 0.08);
    /* Increased from 0.04 to be "more little dark" */
    border: 1px solid rgba(109, 93, 252, 0.15);
    padding: 30px 25px;
    /* Reduced from 80px 50px */
    border-radius: 60px;
    max-width: 1100px;
    margin: 0 auto;
    backdrop-filter: blur(15px);
    box-shadow: 0 40px 100px rgba(109, 93, 252, 0.05);
}

.mission-card h2 {
    font-size: 2.2rem;
    /* Reduced from 3rem */
    color: #1c1b22;
    margin-bottom: 25px;
    font-weight: 800;
}

.mission-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    font-weight: 500;
}

.mission-values {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 40px;
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    /* Reduced from 3rem */
    color: #6d5dfc;
}

.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-card {
    background: #1c1b22;
    padding: 25px 20px;
    border-radius: 32px;
    border: 1px solid rgba(196, 181, 253, 0.1);
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    text-align: center;
    flex: 0 0 calc(33.333% - 14px);
}

.benefit-card:hover {
    transform: translateY(-15px);
    border-color: #6d5dfc;
    box-shadow: 0 30px 60px rgba(109, 93, 252, 0.2);
    background: #25242d;
}

.benefit-card h3 {
    color: #c4b5fd;
    /* Title color like pill numbers */
    margin-bottom: 12px;
    font-size: 1.2rem;
    /* Reduced from 1.5rem */
    font-weight: 700;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

.benefit-card .check-icon {
    width: 60px;
    height: 60px;
    background: #6d5dfc;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 25px;
    box-shadow: 0 10px 20px rgba(109, 93, 252, 0.3);
}

.support-group-section {
    background: #1c1b22;
    padding: 80px 0;
    color: #fff;
}

.support-bubbles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    /* Reduced from 25px */
    margin-top: 30px;
    /* Reduced from 60px */
}

.bubble {
    padding: 20px 40px;
    /* Reduced padding */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(196, 181, 253, 0.15);
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.bubble:hover {
    background: #c4b5fd;
    color: #1c1b22;
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(196, 181, 253, 0.3);
}

.model-works-section {
    background: #fdfcff;
    padding: 90px 0;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 50px auto 0;
    max-width: 1300px;
}

.work-card {
    background: #1c1b22;
    padding: 25px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    margin: 0 auto;
    border: 1px solid rgba(196, 181, 253, 0.2);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.work-card h3 {
    color: #c4b5fd;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.work-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.work-card:hover {
    background: #fff;
    transform: translateY(-15px);
    box-shadow: 0 30px 80px rgba(109, 93, 252, 0.2);
    border-color: #6d5dfc;
}

.work-card .spark-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
}

.work-card h3 {
    color: #c4b5fd;
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.work-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    line-height: 1.4;
    max-width: 90%;
    margin: 0;
}

.how-we-work-section {
    padding: 100px 0 !important;
    /* Increased for laptop viewing */
}

.how-we-work-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 80px auto 0;
    /* Increased for more breathing room */
}

.step-item {
    display: flex;
    gap: 15px;
    align-items: center;
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.step-item:hover {
    transform: scale(1.02) translateX(30px);
    border-color: #6d5dfc;
    background: #fdfcff;
}

.step-num-large {
    min-width: 60px;
    height: 60px;
    background: #1c1b22;
    color: #c4b5fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 900;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.step-info h3 {
    font-size: 1.25rem;
    color: #1c1b22;
    margin-bottom: 4px;
    font-weight: 700;
}

.step-info p {
    color: #555;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.4;
}

.impact-stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.impact-stat-box {
    background: #fff;
    padding: 25px 20px;
    border-radius: 30px;
    border-bottom: 8px solid #6d5dfc;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
    text-align: center;
    flex: 0 0 calc(33.333% - 10px);
}

.impact-stat-box:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 70px rgba(109, 93, 252, 0.15);
}

.impact-stat-box p {
    font-size: 1rem;
    font-weight: 700;
    color: #1c1b22;
    line-height: 1.4;
}

.impact-stat-box i {
    display: block;
    margin-bottom: 20px;
    color: #6d5dfc;
    font-weight: 800;
    font-style: normal;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

@media(max-width: 991px) {
    .reality-grid {
        grid-template-columns: 1.2fr 0.8fr;
        /* Preserving laptop side-by-side layout */
        gap: 20px;
        align-items: center;
    }

    .reality-text h2 {
        font-size: 2rem;
    }

    .reality-text p {
        font-size: 0.82rem;
    }

    .reality-list li {
        font-size: 0.82rem;
        margin-bottom: 12px;
    }

    .reality-img img {
        border-radius: 20px;
    }

    .mission-highlight {
        padding: 40px 0;
    }

    .mission-card {
        padding: 25px 20px;
        border-radius: 30px;
    }

    .mission-card h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .mission-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .mission-values {
        margin-top: 25px;
        font-size: 1.3rem;
        gap: 25px;
    }

    .benefit-card {
        flex: 0 0 calc(50% - 15px);
        /* Widened to 2 per row */
        padding: 18px 12px;
        border-radius: 20px;
    }

    .benefit-card h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .benefit-card p {
        font-size: 0.78rem;
    }

    .benefit-card .check-icon {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .bubble {
        padding: 14px 28px;
        font-size: 0.85rem;
    }

    .model-works-section {
        padding: 50px 0;
    }

    .step-item {
        flex-direction: row;
        /* Preserving horizontal layout */
        text-align: left;
        gap: 8px;
        padding: 10px;
    }

    .step-num-large {
        min-width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .step-info h3 {
        font-size: 0.75rem;
    }

    .step-info p {
        font-size: 0.6rem;
    }

    .how-we-work-steps {
        grid-template-columns: repeat(2, 1fr);
        /* 2 per row for better centering */
        gap: 15px;
        justify-content: center;
        margin-top: 50px;
        /* Scaling margin for mobile */
    }

    .how-we-work-section {
        padding: 30px 0 !important;
        /* Decreasing section size on responsive */
    }

    .works-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2+2 layout as requested */
        gap: 15px;
        justify-items: center;
    }

    .work-card {
        width: 170px;
        /* Reduced to fit 2x2 grid perfectly */
        height: 170px;
        padding: 15px;
    }

    .work-card h3 {
        font-size: 0.85rem;
    }

    .work-card p {
        font-size: 0.65rem;
    }

    .impact-stat-box {
        flex: 0 0 calc(50% - 15px);
        /* Increased width: 2 per row */
        padding: 18px 12px;
        border-radius: 20px;
    }

    .impact-stat-box p {
        font-size: 0.85rem;
    }

    .programs-intro {
        padding: 60px 0 30px;
    }

    .programs-intro h2 {
        font-size: 1.1rem;
        /* Reduced to half for mobile/tablet */
    }
}


/* PROGRAMS INTRO SECTION */
.programs-intro {
    padding: 50px 0 30px;
    background: #fdfcff;
    text-align: center;
}

.programs-intro h2 {
    font-size: 2.2rem;
    /* Reduced from 2.8rem */
    color: #1c1b22;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -1px;
}

.programs-intro .underline-accent {
    display: block;
    width: 80px;
    height: 3px;
    background: #6d5dfc;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* DONATION MODAL */
.donation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.donation-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(28, 27, 34, 0.85);
    backdrop-filter: blur(8px);
}

.modal-card {
    background: #fff;
    width: 100%;
    max-width: 450px;
    border-radius: 30px;
    padding: 40px;
    position: relative;
    z-index: 1;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.donation-modal.active .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f7f4ff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    color: #6d5dfc;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #6d5dfc;
    color: #fff;
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h3 {
    font-size: 1.8rem;
    color: #1c1b22;
    margin-bottom: 5px;
    font-weight: 800;
}

.modal-header p {
    color: #666;
    font-size: 0.95rem;
}

.payment-method {
    background: #fdfcff;
    border: 1px solid rgba(109, 93, 252, 0.1);
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.payment-method h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6d5dfc;
    margin-bottom: 8px;
}

.payment-detail {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1c1b22;
    word-break: break-all;
}

.bank-details p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.4;
}

.modal-footer {
    text-align: center;
    margin-top: 25px;
    color: #888;
    font-size: 0.9rem;
    font-style: italic;
}

/* FINAL RESPONSIVE POLISH FOR ALL DEVICES */

@media (max-width: 768px) {
    .support-bubbles {
        gap: 10px;
    }

    .bubble {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .how-we-work-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .benefit-card {
        flex: 0 0 calc(50% - 10px);
        padding: 10px;
    }

    .impact-stat-box {
        flex: 0 0 calc(50% - 10px);
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .section-accent {
        font-size: 2.2rem !important;
        margin-bottom: -10px;
    }

    .section-header h2 {
        font-size: 1.5rem !important;
    }

    .hero-headline {
        font-size: 2.2rem !important;
    }

    .hero-subpage {
        height: 30vh;
    }

    .reality-grid {
        grid-template-columns: 1.2fr 0.8fr;
        /* Preserving columns */
    }

    .reality-text h2 {
        font-size: 1.4rem;
    }

    .reality-text p,
    .reality-list li {
        font-size: 0.65rem;
    }

    .reality-img {
        width: 100%;
        /* Fill the grid cell */
        max-width: 250px;
        /* Half of desktop max-width (500px) */
        justify-self: end;
    }

    .mission-card h2 {
        font-size: 1.6rem;
    }

    .mission-statement p {
        font-size: 1rem !important;
    }

    .works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .work-card {
        width: 100%;
        max-width: 135px;
        /* Matches support cards for consistency */
        aspect-ratio: 1/1;
        height: auto;
        padding: 12px;
    }

    .work-card h3 {
        font-size: 0.78rem;
    }

    .work-card p {
        font-size: 0.55rem;
    }

    .works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        justify-items: center;
    }

    .modal-card {
        padding: 50px 20px 25px;
        /* Increased top padding to clear X button */
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-header h3 {
        font-size: 1.4rem;
        /* Reduced from 1.8rem */
        margin-top: 10px;
        /* Extra breathing space */
    }

    .payment-detail {
        font-size: 1.1rem;
    }

    .programs-intro h2 {
        font-size: 1.1rem;
    }

    .how-we-work-section {
        padding: 20px 0 !important;
        /* Extra compact on small phones */
    }

    .scroll-top {
        width: 45px;
        height: 45px;
        font-size: 20px;
        bottom: 20px;
        right: 20px;
    }

    .floating-badge {
        width: 44px;
        height: 44px;
        bottom: 20px;
        left: 20px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .floating-badge svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }
}