/* ==========================================================
              SEWAARTH FOUNDATION — CANDY POP HOMEPAGE
              Yellow-dominant, subtly playful, NGO-credible
========================================================== */


/* ==========================================================
                    DESIGN TOKENS
========================================================== */

:root {
    /* ---- Dominant Yellow (50%+ of composition) ---- */
    --yellow-pure:    #FFDE43;
    --yellow-bright:  #FFE761;
    --yellow-light:   #FFF4B8;
    --yellow-soft:    #FFFBE8;
    --yellow-pale:    #FFFDF5;

    /* ---- Candy Pop Accents ---- */
    --coral:          #FF8BA7;
    --coral-soft:     #FFF0F4;
    --peach:          #FFB088;
    --peach-soft:     #FFF5EE;
    --mint:           #74C69D;
    --mint-soft:      #EDFBF3;
    --lavender:       #C9B1FF;
    --lavender-soft:  #F3EFFF;
    --sky:            #70D6FF;
    --sky-soft:       #EBF8FF;

    /* ---- Typography ---- */
    --ink-dark:       #1E1B18;
    --ink-main:       #2D2420;
    --ink-muted:      #5C4A3A;
    --ink-light:      #8C7B6E;

    /* ---- Surfaces ---- */
    --white:          #FFFFFF;
    --border-soft:    rgba(30, 27, 24, 0.08);
    --border-medium:  rgba(30, 27, 24, 0.14);
    
    /* ---- Soft Pastel Website Background ---- */

--grad-global:
    radial-gradient(
        circle at 50% 5%,
        rgba(255, 220, 145, 0.55) 0%,
        rgba(255, 220, 145, 0.25) 18%,
        transparent 38%
    ),
    radial-gradient(
        circle at 28% 32%,
        rgba(255, 175, 195, 0.45) 0%,
        rgba(255, 175, 195, 0.22) 22%,
        transparent 45%
    ),
    radial-gradient(
        circle at 45% 52%,
        rgba(195, 180, 245, 0.28) 0%,
        rgba(195, 180, 245, 0.15) 20%,
        transparent 42%
    ),
    radial-gradient(
        circle at 95% 68%,
        rgba(100, 225, 240, 0.48) 0%,
        rgba(100, 225, 240, 0.20) 25%,
        transparent 48%
    ),
    #FFFFFF;

--grad-hero:     var(--grad-global);
--grad-about:    var(--grad-global);
--grad-programs: var(--grad-global);
--grad-action:   var(--grad-global);
--grad-donation: var(--grad-global);
--grad-testi:    var(--grad-global);

    /* ---- Shadows ---- */
    --shadow-sm:   0 2px 12px rgba(30, 27, 24, 0.06);
    --shadow-md:   0 6px 28px rgba(30, 27, 24, 0.10);
    --shadow-lg:   0 14px 48px rgba(30, 27, 24, 0.14);
    --shadow-card: 0 4px 24px rgba(255, 178, 50, 0.14);

    /* ---- Spacing ---- */
    --radius-sm:   10px;
    --radius-md:   18px;
    --radius-lg:   28px;
    --radius-pill: 999px;
}


/* ==========================================================
                    GLOBAL RESET
========================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
    overflow-y: auto;
}

body {
    font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
    color: var(--ink-main);
    padding-top: 80px;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;

    /* ONE CONTINUOUS BACKGROUND FOR THE WHOLE WEBSITE */
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(255, 221, 150, 0.50) 0%,
            rgba(255, 221, 150, 0.25) 18%,
            transparent 38%
        ),
        radial-gradient(
            circle at 25% 28%,
            rgba(255, 180, 200, 0.38) 0%,
            rgba(255, 180, 200, 0.18) 25%,
            transparent 48%
        ),
        radial-gradient(
            circle at 45% 50%,
            rgba(205, 190, 245, 0.25) 0%,
            rgba(205, 190, 245, 0.12) 25%,
            transparent 45%
        ),
        radial-gradient(
            circle at 100% 68%,
            rgba(100, 225, 240, 0.42) 0%,
            rgba(100, 225, 240, 0.18) 28%,
            transparent 50%
        ),
        #FFFFFF;

    background-attachment: fixed;
    background-size: cover;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    font-family: "Montserrat", sans-serif;
}


/* ==========================================================
                    CONTAINER
========================================================== */

.container {
    width: 88%;
    max-width: 1280px;
    margin: 0 auto;
}


/* ==========================================================
                        HEADER
========================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 253, 245, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1.5px solid rgba(255, 222, 67, 0.35);
    z-index: 9999;
    box-shadow: 0 2px 20px rgba(255, 200, 0, 0.10);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header .container {
    width: 88%;
    max-width: 1280px;
    height: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* ==========================================================
                        LOGO
========================================================== */

.logo {
    flex-shrink: 0;
}

.logo img {
    width: 115px;
    height: auto;
    border-radius: 8px;
}


/* ==========================================================
                    NAVIGATION
========================================================== */

.navbar {
    flex: 1;
    display: flex;
    justify-content: center;
}

.navbar ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navbar li {
    margin: 0;
    padding: 0;
}

.navbar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-muted);
    text-decoration: none;
    border-radius: var(--radius-pill);
    transition: background-color 0.25s ease, color 0.25s ease;
    letter-spacing: 0.01em;
}

.navbar a:hover {
    background: var(--yellow-pure);
    color: var(--ink-dark);
}

.navbar a.active {
    background: var(--yellow-pure);
    color: var(--ink-dark);
    box-shadow: 0 2px 10px rgba(255, 222, 67, 0.40);
}


/* ==========================================================
                    DONATE BUTTON
========================================================== */

.donate-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    padding: 0 22px;
    height: 44px;
    background: var(--yellow-pure);
    border-radius: var(--radius-pill);
    color: var(--ink-dark);
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    border: 2px solid rgba(30, 27, 24, 0.12);
    box-shadow: 0 3px 14px rgba(255, 222, 67, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    white-space: nowrap;
}

.donate-btn:hover {
    background: var(--yellow-bright);
    color: var(--ink-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(255, 222, 67, 0.60);
}


/* ==========================================================
                    MOBILE MENU BUTTON
========================================================== */

.mobile-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 2px solid rgba(255, 222, 67, 0.5);
    border-radius: 50%;
    background: var(--yellow-light);
    color: var(--ink-dark);
    font-size: 20px;
    line-height: 1;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.mobile-menu-btn:hover {
    background: var(--yellow-pure);
}


/* ==========================================================
                        HERO
     Yellow-dominant radial gradient with warm candy backdrop
========================================================== */

.home-hero {
    background: transparent;
    padding: 60px 0 100px;
    position: relative;
    overflow: hidden;
}
/* Decorative blob shapes — purely CSS, no extra HTML needed */
.home-hero::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -160px;
    width: 680px;
    height: 680px;
    background: radial-gradient(circle, rgba(255, 222, 67, 0.40) 0%, rgba(255, 222, 67, 0.08) 60%, transparent 80%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.home-hero::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -100px;
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, rgba(255, 139, 167, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.home-hero .container,
.home-hero .row {
    position: relative;
    z-index: 1;
}

.home-hero .row {
    min-height: 500px;
    align-items: center;
}

/* ---- Hero Badge ---- */
.section-tag {
    display: inline-flex;
    align-items: center;
    width: max-content;
    padding: 8px 20px;

    border: 1.5px solid rgb(220 165 174 / 75%);
    border-radius: var(--radius-pill);

    background: rgb(215 143 127 / 35%);

    color: #8b4554;

    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

/* ---- Hero Headline ---- */
.home-hero h1 {
    font-family: "Montserrat", sans-serif;
    font-size: 62px;
    line-height: 0.97;
    font-weight: 700;
    color: var(--ink-dark);
    margin-bottom: 28px;
    letter-spacing: -1.5px;
}

.home-hero h1 span {
    font-family: "Caveat Brush", cursive;
    font-size: 1.4em;
    font-weight: 400;
    color: #fdd831;
    letter-spacing: 0;

    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: #fdd831;
}

/* ---- Hero Body ---- */
.home-hero p {
    width: 100%;
    max-width: 620px;
    font-size: 18px;
    line-height: 1.75;
    color: var(--ink-muted);
    margin-bottom: 40px;
    font-weight: 500;
}

/* ---- Hero Buttons ---- */
.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Primary CTA — vibrant yellow */
.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 34px;
    background: var(--yellow-pure);
    border: 2px solid rgba(30, 27, 24, 0.14);
    border-radius: var(--radius-pill);
    color: var(--ink-dark);
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 18px rgba(255, 222, 67, 0.55);
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.25s ease;
}

.primary-btn:hover {
    background: var(--yellow-bright);
    color: var(--ink-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(255, 222, 67, 0.65);
}

/* Secondary CTA — clean white */
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 34px;
    background: var(--white);
    border: 2px solid var(--border-medium);
    border-radius: var(--radius-pill);
    color: var(--ink-main);
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.25s ease;
}

.secondary-btn:hover {
    border-color: var(--yellow-pure);
    color: var(--ink-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ---- Hero Image ---- */
.hero-image {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

/* Subtle glow ring behind the image */
.hero-image::before {
    content: "";
    position: absolute;
    inset: -24px;
    background: radial-gradient(circle, rgba(255, 222, 67, 0.30) 0%, transparent 70%);
    border-radius: 40px;
    z-index: 0;
}

.hero-image img {
    position: relative;
    z-index: 1;
    width: 95%;
    max-width: 680px;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 60px rgba(255, 140, 60, 0.18), 0 4px 20px rgba(30, 27, 24, 0.10);
    border: 3px solid rgba(255, 255, 255, 0.80);
}

/* =================================================
   IMPACT STATS CARDS (PURE CSS WAVES, FLEX ROW & COUNTERS)
================================================= */

/* 1. DEFINE ANIMATABLE INTEGERS FOR EACH STAT */
@property --num1 { syntax: "<integer>"; initial-value: 0; inherits: false; }
@property --num2 { syntax: "<integer>"; initial-value: 0; inherits: false; }
@property --num3 { syntax: "<integer>"; initial-value: 0; inherits: false; }

@keyframes countUp1 { from { --num1: 0; } to { --num1: 6046; } }
@keyframes countUp2 { from { --num2: 0; } to { --num2: 5; } }
@keyframes countUp3 { from { --num3: 0; } to { --num3: 100; } }

.stats, 
.stats-container {
    padding: 50px 20px; /* Generous vertical padding for wave clearance */
    background: var(--yellow-pure, #FDE047); 
    position: relative;
    overflow: hidden;

    /* HORIZONTAL ROW FLEXBOX LAYOUT */
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 24px !important; /* Space between the cards */
    flex-wrap: wrap !important; /* Mobile responsive fallback */
}

/* 2. ASYMMETRICAL SWEEPING TOP WAVE */
.stats::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23FFF8D5' d='M0,60 C400,0 1000,80 1440,20 L1440,0 L0,0 Z'/%3E%3C/svg%3E") no-repeat;
    background-size: 100% 100%;
    z-index: 1;
}

/* 3. ASYMMETRICAL SWEEPING BOTTOM WAVE */
.stats::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23FFF4F7' d='M0,0 C400,60 1000,-20 1440,40 L1440,60 L0,60 Z'/%3E%3C/svg%3E") no-repeat;
    background-size: 100% 100%;
    z-index: 1;
}

.stat-item {
    position: relative;
    z-index: 2; /* Sits above the wave overlays */
    
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;     
    text-align: center;
    
    flex: 1 1 300px; /* Allows cards to share row space evenly */
    max-width: 350px;       
    backdrop-filter: blur(6px);
    
    background-color: #FFFFFF;
    color: #2D2420;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    padding: 20px 16px;
    height: 125px; 
    
    border: 1px solid #EAEAEA; 
    border-radius: 16px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 27, 24, 0.10);
}

/* 4. HIDE ORIGINAL HTML TEXT TO REPLACE WITH CSS COUNTERS */
.stat-item h2 {
    font-size: 0; 
    margin: 0 0 6px 0; 
    line-height: 1;
    color: #1E1B18; 
    font-weight: 800;
}

.stat-item h2::before {
    font-size: 42px; 
}

/* 5. APPLY ANIMATIONS & TEXT LABELS BASED ON CHILD ORDER */
/* First Stat: 6046 */
.stat-item:nth-child(1) h2::before {
    animation: countUp1 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    counter-reset: stat1 var(--num1);
    content: counter(stat1); 
}

/* Second Stat: 5+ */
.stat-item:nth-child(2) h2::before {
    animation: countUp2 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    counter-reset: stat2 var(--num2);
    content: counter(stat2) "+"; 
}

/* Third Stat: 100+ */
.stat-item:nth-child(3) h2::before {
    animation: countUp3 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    counter-reset: stat3 var(--num3);
    content: counter(stat3) "+"; 
}

.stat-item p {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin: 0;
    color: #2D2420;
    text-transform: uppercase;
}
/* ==========================================================
          WHO WE ARE (About) — Mint-to-Yellow
========================================================== */

.about {
    background: transparent;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: "";
    position: absolute;
    top: 60px;
    right: -120px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(116, 198, 157, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: "";
    position: absolute;
    inset: -16px -16px 16px 16px;
    background: var(--yellow-pure);
    border-radius: var(--radius-lg);
    z-index: 0;
    opacity: 0.70;
}

.about-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--white);
}

.about-content {
    position: relative;
}

/* Badge chip */
.about-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 18px;
    background: var(--mint-soft);
    border: 1.5px solid rgba(116, 198, 157, 0.50);
    border-radius: var(--radius-pill);
    color: #2E7D52;
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.about-content h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 44px;
    line-height: 1.07;
    font-weight: 700;
    color: var(--ink-dark);
    margin-bottom: 22px;
    letter-spacing: -0.8px;
}

.about-content p {
    font-size: 17px;
    line-height: 1.78;
    color: var(--ink-muted);
    margin-bottom: 32px;
    font-weight: 500;
}

/* Feature cards */
.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 36px;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--white);
    border: 1.5px solid var(--border-soft);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    min-height: 60px;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--yellow-pure);
}

.feature-card img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0.85;
}

.feature-card span {
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-dark);
    letter-spacing: 0.02em;
}

/* About link */
.about-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 28px;
    background: var(--yellow-pure);
    border: 2px solid rgba(30, 27, 24, 0.12);
    border-radius: var(--radius-pill);
    color: var(--ink-dark);
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(255, 222, 67, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 26px rgba(255, 222, 67, 0.60);
    color: var(--ink-dark);
}


/* ==========================================================
          PROGRAMS — Lavender to Peach gradient
========================================================== */

.programs {
    background: transparent;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.programs::before {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(201, 177, 255, 0.22) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Programs top row */
.programs-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 50px;
    gap: 20px;
}

.programs-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 18px;
    background: var(--lavender-soft);
    border: 1.5px solid rgba(201, 177, 255, 0.55);
    border-radius: var(--radius-pill);
    color: #6840CF;
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.programs-heading {
    font-family: "Montserrat", sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--ink-dark);
    letter-spacing: -0.7px;
    line-height: 1.1;
}


.programs-view:hover {
    border-color: var(--yellow-pure);
    color: var(--ink-dark);
    transform: translateY(-2px);
}

/* Programs grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.program-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1.5px solid var(--border-soft);
    box-shadow: var(--shadow-sm);
    transition: transform 0.30s ease, box-shadow 0.30s ease;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* Coloured top accent stripe per card */
.program-card:nth-child(1) {
    border-top: 4px solid var(--mint);
}
.program-card:nth-child(2) {
    border-top: 4px solid var(--sky);
}
.program-card:nth-child(3) {
    border-top: 4px solid var(--coral);
}
.program-card:nth-child(4) {
    border-top: 4px solid var(--peach);
}

.program-card > img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.program-content {
    padding: 22px 22px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}




.program-content h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--ink-dark);
    margin-bottom: 10px;
    letter-spacing: -0.2px;
}

.program-content p {
    font-size: 14px;
    line-height: 1.68;
    color: var(--ink-muted);
    font-weight: 500;
}


/* ==========================================================
          WHAT WE DO (Action) — Sky Blue to Yellow
========================================================== */

.action {
    background: transparent;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.action::after {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(112, 214, 255, 0.20) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.action-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

/* Action badge */
.action-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 18px;
    background: var(--sky-soft);
    border: 1.5px solid rgba(112, 214, 255, 0.55);
    border-radius: var(--radius-pill);
    color: #0077AA;
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.action-content h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 44px;
    line-height: 1.07;
    font-weight: 700;
    color: var(--ink-dark);
    margin-bottom: 22px;
    letter-spacing: -0.8px;
}

.action-content p {
    font-size: 17px;
    line-height: 1.78;
    color: var(--ink-muted);
    margin-bottom: 36px;
    font-weight: 500;
}

.action-buttons {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

/* Override Bootstrap .btn-secondary */
.action-buttons .btn.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    background: var(--yellow-pure);
    border: 2px solid rgba(30, 27, 24, 0.12);
    border-radius: var(--radius-pill);
    color: var(--ink-dark);
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(255, 222, 67, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
}

.action-buttons .btn.btn-secondary:hover {
    background: var(--yellow-bright);
    color: var(--ink-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 26px rgba(255, 222, 67, 0.60);
}

.action-link:hover {
    color: var(--ink-dark);
    border-color: var(--yellow-pure);
}

.action-image {
    position: relative;
}

.action-image::before {
    content: "";
    position: absolute;
    inset: 16px -16px -16px 16px;
    background: var(--sky);
    border-radius: var(--radius-lg);
    z-index: 0;
    opacity: 0.30;
}

.action-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--white);
}


/* ==========================================================
          DONATION CTA — Warm Peach-to-Coral gradient
========================================================== */

.donation {
    padding: 60px 0 100px;
    background: transparent;
}

.donation-container {
    background:
        linear-gradient(
            135deg,
            rgba(255, 221, 150, 0.42) 0%,
            rgba(255, 190, 205, 0.32) 55%,
            rgba(220, 205, 245, 0.28) 100%
        );

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-radius: 36px;

    border: 2px solid rgba(255, 200, 100, 0.40);

    box-shadow:
        0 18px 64px rgba(255, 176, 100, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.70);

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px 64px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.donation-container::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 222, 67, 0.30) 0%, transparent 70%);
    border-radius: 50%;
}

/* Badge */
.donation-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 18px;
    background: rgba(255, 139, 167, 0.22);
    border: 1.5px solid rgba(255, 139, 167, 0.55);
    border-radius: var(--radius-pill);
    color: #B03060;
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.donation-left {
    position: relative;
}

.donation-left h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 44px;
    line-height: 1.07;
    font-weight: 700;
    color: var(--ink-dark);
    margin-bottom: 20px;
    letter-spacing: -0.8px;
}

.donation-left p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--ink-muted);
    margin-bottom: 34px;
    font-weight: 500;
}

/* Primary donation button — yellow pill */
.donation-left .btn.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 36px;
    background: var(--yellow-pure);
    border: 2px solid rgba(30, 27, 24, 0.14);
    border-radius: var(--radius-pill);
    color: var(--ink-dark);
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 18px rgba(255, 222, 67, 0.55);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    text-decoration: none;
    cursor: pointer;
}

.donation-left .btn.btn-primary:hover {
    background: var(--yellow-bright);
    color: var(--ink-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(255, 222, 67, 0.65);
}

/* Donation amount cards */
.donation-right {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.donation-card {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 222, 67, 0.35);
    border-radius: var(--radius-md);
    padding: 22px 26px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.donation-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--yellow-pure);
    border-radius: 4px 0 0 4px;
}

.donation-card:nth-child(2)::before { background: var(--peach); }
.donation-card:nth-child(3)::before { background: var(--coral); }



.donation-card h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--ink-dark);
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.donation-card p {
    font-size: 14px;
    color: var(--ink-muted);
    font-weight: 500;
    line-height: 1.5;
}


/* ==========================================================
          TESTIMONIALS — Warm Yellow base
========================================================== */

.testimonials {
    background: transparent;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: "";
    position: absolute;
    top: -60px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 222, 67, 0.30) 0%, transparent 70%);
    border-radius: 50%;
}

.testimonials::after {
    content: "";
    position: absolute;
    bottom: -40px;
    right: -60px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(255, 139, 167, 0.18) 0%, transparent 70%);
    border-radius: 50%;
}

.testimonials > .container {
    position: relative;
    z-index: 1;
}

/* Badge */
.testimonial-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 18px;
    background: rgba(255, 139, 167, 0.20);
    border: 1.5px solid rgba(255, 139, 167, 0.55);
    border-radius: var(--radius-pill);
    color: #B03060;
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.testimonial-title {
    font-family: "Montserrat", sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--ink-dark);
    letter-spacing: -0.7px;
    margin-bottom: 52px;
}

/* Testimonial grid */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--white);
    border: 1.5px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 34px 30px 30px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--yellow-pure), var(--coral));
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card:nth-child(2) .quote { color: var(--mint); }
.testimonial-card:nth-child(3) .quote { color: var(--lavender); }

/* Quote mark */
.quote {
    font-size: 48px;
    line-height: 1;
    color: var(--yellow-pure);
    margin-bottom: 16px;
    font-family: "Montserrat", sans-serif;
    display: block;
}

.testimonial-card p {
    font-size: 15px;
    line-height: 1.72;
    color: var(--ink-muted);
    margin-bottom: 24px;
    font-weight: 500;
    font-style: italic;
}

.testimonial-divider {
    width: 36px;
    height: 3px;
    background: var(--yellow-pure);
    border-radius: 2px;
    margin-bottom: 18px;
}

.testimonial-card:nth-child(2) .testimonial-divider { background: var(--mint); }
.testimonial-card:nth-child(3) .testimonial-divider { background: var(--lavender); }

.testimonial-card h4 {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--ink-dark);
    margin-bottom: 4px;
}

.testimonial-card span {
    font-size: 13px;
    color: var(--ink-light);
    font-weight: 500;
}


/* ==========================================================
                        FOOTER
========================================================== */

.footer {
    background: var(--ink-dark);
    padding: 72px 0 0;
    color: rgba(255, 255, 255, 0.75);
    position: relative;
    overflow: hidden;
}

/* Subtle warm blob in footer */
.footer::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 222, 67, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.6fr 2fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    position: relative;
    z-index: 1;
}

/* Footer logo block */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.footer-logo img {
    width: 56px;
    height: auto;
    border-radius: 10px;
    opacity: 0.90;
    border: 2px solid rgba(255, 222, 67, 0.30);
}

.footer-logo h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
}

.footer-logo span {
    font-size: 13px;
    color: rgba(255, 222, 67, 0.80);
    font-weight: 500;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.78;
    color: rgba(255, 255, 255, 0.60);
    margin-bottom: 28px;
    max-width: 320px;
}

.footer-about small {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 20px;
    font-style: italic;
}

/* Social icons */
.footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.70);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.footer-social a:hover {
    background: var(--yellow-pure);
    border-color: var(--yellow-pure);
    color: var(--ink-dark);
}

/* Footer link columns */
.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-links h4 {
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--yellow-pure);
    margin-bottom: 18px;
}

.footer-links a {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.60);
    text-decoration: none;
    margin-bottom: 10px;
    font-weight: 500;
    transition: color 0.2s ease;
    line-height: 1.5;
}

.footer-links a:hover {
    color: var(--white);
}

/* Contact column */
.footer-contact p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 9px;
    line-height: 1.55;
}

.footer-donate {
    margin-top: 20px;
}

/* Footer donate button — yellow on dark */
.footer-donate .donate-btn {
    height: 40px;
    padding: 0 20px;
    font-size: 14px;
}

/* Footer bottom bar */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    flex-wrap: wrap;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}


/* ==========================================================
           GLOBAL BTN OVERRIDES (Bootstrap compat)
========================================================== */

.btn {
    cursor: pointer;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    border-radius: var(--radius-pill);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--yellow-pure);
    border: 2px solid rgba(30, 27, 24, 0.12);
    color: var(--ink-dark);
    padding: 14px 30px;
    box-shadow: 0 4px 18px rgba(255, 222, 67, 0.50);
}

.btn-primary:hover {
    background: var(--yellow-bright);
    color: var(--ink-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(255, 222, 67, 0.65);
}

.btn-secondary {
    background: var(--yellow-pure);
    border: 2px solid rgba(30, 27, 24, 0.12);
    color: var(--ink-dark);
    padding: 14px 30px;
    box-shadow: 0 4px 18px rgba(255, 222, 67, 0.50);
}

.btn-secondary:hover {
    background: var(--yellow-bright);
    color: var(--ink-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(255, 222, 67, 0.65);
}


/* ==========================================================
                RESPONSIVE — TABLET (651px–1000px)
========================================================== */

@media (min-width: 651px) and (max-width: 1000px) {

    .container { width: 90%; }

    .header .container { width: 90%; }
    .logo img { width: 105px; }
    .navbar ul { gap: 0px; }
    .navbar a { padding: 9px 10px; font-size: 13px; }
    .navbar a.active { padding: 10px 14px; }
    .header > .container > .donate-btn { width: 105px; height: 42px; font-size: 13px; }

    .home-hero { padding: 60px 0 80px; }
    .home-hero h1 { font-size: 64px; line-height: 1; }
    .home-hero p { font-size: 16px; line-height: 1.7; }
    .hero-buttons { flex-wrap: wrap; }

    .hero-image { width: 100%; }
    .hero-image img { width: 100%; height: 360px; object-fit: cover; border-radius: 24px; }

    .stats-container { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .stat-item h2 { font-size: 44px; }

    .about { padding: 80px 0 40px; }
    .about-container { grid-template-columns: 1fr; gap: 40px; }
    .about-image { width: 100%; }
    .about-image img { width: 100%; height: 300px; border-radius: 24px; }
    .about-content { width: 100%; }
    .about-badge { padding: 9px 18px; font-size: 10px; letter-spacing: 1.5px; margin-bottom: 22px; }
    .about-content h2 { font-size: 36px; line-height: 1; margin-bottom: 22px; }
    .about-content p { font-size: 15px; line-height: 1.7; }
    .about-features { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .feature-card { width: 100%; min-height: 58px; padding: 10px 12px; }

    .programs { padding: 80px 0; }
    .programs-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .programs-top { flex-direction: column; align-items: flex-start; gap: 16px; }
    .programs-heading { font-size: 34px; }

    .action { padding: 80px 0; }
    .action-container { grid-template-columns: 1fr; gap: 40px; }
    .action-content h2 { font-size: 36px; }
    .action-image img { height: 300px; border-radius: 24px; }

    .donation { padding: 10px 0 70px; }
    .donation-container { grid-template-columns: 1fr; padding: 35px 28px; border-radius: 28px; gap: 35px; }
    .donation-left h2 { font-size: 36px; }

    .testimonials { padding: 80px 0; }
    .testimonial-grid { grid-template-columns: 1fr; gap: 22px; }
    .testimonial-title { font-size: 34px; }
}


/* ==========================================================
                RESPONSIVE — MOBILE (≤650px)
========================================================== */

@media (max-width: 650px) {

    body { padding-top: 70px; }

    .container { width: 92%; }

    /* Header */
    .header { height: 70px; }
    .header .container { width: 92%; }

    .logo img { width: 95px; }

    /* Nav: hidden by default on mobile, toggled by JS */
    .navbar {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 15px 5% 20px;
        background: rgba(255, 253, 245, 0.97);
        backdrop-filter: blur(14px);
        border-top: 1.5px solid rgba(255, 222, 67, 0.30);
        border-bottom: 1.5px solid rgba(255, 222, 67, 0.30);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    }

    .navbar.mobile-open { display: block; }

    .navbar ul {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .navbar li { width: 100%; }

    .navbar a {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        padding: 13px 15px;
        font-size: 15px;
        border-radius: 12px;
    }

    .navbar a.active { padding: 13px 15px; }

    .header > .container > .donate-btn {
        width: auto;
        height: 40px;
        padding: 0 14px;
        font-size: 13px;
        gap: 5px;
        flex-shrink: 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Hero */
    .home-hero { padding: 50px 0 65px; }
    .home-hero .row { min-height: auto; }
    .home-hero h1 { font-size: 52px; line-height: 1; letter-spacing: 0; margin-bottom: 24px; }
    .section-tag { padding: 9px 18px; font-size: 9px; letter-spacing: 1.8px; margin-bottom: 22px; }
    .home-hero p { font-size: 15px; line-height: 1.7; margin-bottom: 30px; }

    .hero-buttons { display: flex; flex-direction: column; align-items: stretch; gap: 12px; width: 100%; }
    .primary-btn, .secondary-btn { width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: center; padding: 14px 22px; font-size: 14px; text-align: center; }

    .hero-image { width: 100%; margin-top: 35px; }
    .hero-image img { width: 100%; height: 280px; object-fit: cover; border-radius: 20px; }

    /* Stats */
    .stats { padding: 30px 0 25px; }
    .stats-container { grid-template-columns: repeat(2, 1fr); gap: 30px 10px; }
    .stat-item:last-child { grid-column: 1 / -1; max-width: 50%; }
    .stat-item { width: 100%; }
    .stat-item h2 { font-size: 36px; margin-bottom: 8px; }
    .stat-item p { font-size: 9px; letter-spacing: .8px; line-height: 1.4; }

    /* About */
    .about { padding: 70px 0 40px; }
    .about-container { display: flex; flex-direction: column; gap: 35px; }
    .about-image { width: 100%; }
    .about-image img { width: 100%; height: 260px; border-radius: 20px; }
    .about-content { width: 100%; }
    .about-badge { padding: 9px 18px; font-size: 10px; letter-spacing: 1.5px; margin-bottom: 22px; }
    .about-content h2 { font-size: 32px; line-height: 1; margin-bottom: 20px; }
    .about-content p { font-size: 15px; line-height: 1.7; }
    .about-features { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .feature-card { width: 100%; min-height: 58px; padding: 10px 12px; }
    .feature-card span { font-size: 11px; }

    /* Programs */
    .programs { padding: 70px 0; }
    .programs-top { flex-direction: column; align-items: flex-start; gap: 16px; }
    .programs-heading { font-size: 30px; }
    .programs-grid { grid-template-columns: 1fr; gap: 20px; }
    .program-card > img { height: 200px; }

    /* Action */
    .action { padding: 70px 0; }
    .action-container { grid-template-columns: 1fr; gap: 35px; }
    .action-content h2 { font-size: 32px; line-height: 1; margin-bottom: 22px; }
    .action-content p { font-size: 15px; line-height: 1.7; margin-bottom: 30px; }
    .action-buttons { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
    .action-buttons .btn { width: 100%; }
    .action-image { width: 100%; }
    .action-image img { width: 100%; height: 260px; object-fit: cover; border-radius: 20px; }

    /* Donation */
    .donation { padding: 10px 0 70px; }
    .donation-container { display: flex; flex-direction: column; padding: 32px 22px; border-radius: 24px; gap: 32px; }
    .donation-left { width: 100%; }
    .donation-badge { padding: 9px 18px; font-size: 10px; letter-spacing: 1.5px; margin-bottom: 22px; }
    .donation-left h2 { font-size: 32px; line-height: 1; margin-bottom: 18px; }
    .donation-left p { font-size: 14px; line-height: 1.7; margin-bottom: 24px; }
    .donation-left .btn { width: 100%; }
    .donation-right { display: grid; grid-template-columns: 1fr; width: 100%; }

    /* Testimonials */
    .testimonials { padding: 70px 0; }
    .testimonial-title { font-size: 30px; }
    .testimonial-grid { grid-template-columns: 1fr; gap: 20px; }

    /* Footer */
    .footer-container { grid-template-columns: 1fr; gap: 40px; }
    .footer-links { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; }
}


/* ==========================================================
                RESPONSIVE — VERY SMALL (≤380px)
========================================================== */

@media (max-width: 380px) {

    .home-hero h1 { font-size: 44px; }
    .stat-item h2 { font-size: 31px; }
    .about-content h2, .programs-heading, .action-content h2,
    .donation-left h2, .testimonial-title { font-size: 28px; }
    .feature-card span { font-size: 10px; }
    .program-card > img { height: 180px; }
    .action-image img { height: 240px; }
}

/* =================================================
   CAROUSEL LAYOUT (MATCHING CRY NGO STYLE)
================================================= */
.programs {
    position: relative;
    width: 100%;
    overflow: hidden; /* Prevents horizontal scroll from peeking cards */
    background: transparent; /* Keeping your existing background */
}

.program-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 450px; /* Adjust based on your images */
    width: 100%;
    margin-top: 40px;
}

/* --- MAIN ACTIVE CARD --- */
.program-main-card {
    display: flex;
    width: 70%;
    max-width: 900px;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    z-index: 3; /* Keeps it above side cards */
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: all 0.4s ease-in-out;
}

.program-main-content {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #241816;
    /* Default Candypop Color (Will be updated via JS) */
    background-color: #A8E6CF; 
}

.program-main-image {
    flex: 1;
}

.program-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-number {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    opacity: 0.7;
}

.program-main-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.program-main-content p {
    font-size: 16px;
    line-height: 1.6;
}

/* --- SIDE PEEKING CARDS --- */
.program-side-card {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 80%; /* Slightly shorter to create depth */
    border-radius: 20px;
    overflow: hidden;
    border: none;
    cursor: pointer;
    z-index: 1;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.program-side-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-prev {
    left: -150px; /* Pulls it off-screen so only a sliver is visible */
}

.program-next {
    right: -150px;
}

.program-side-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
}

.program-side-card:hover .program-side-overlay {
    opacity: 1;
}

/* --- CAROUSEL CONTROLS --- */
.program-carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

/* Floating circle buttons matching the reference */
.program-arrow {
    background-color: #FFFFFF;
    color: #241816;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.2s, background 0.2s;
    z-index: 5;
}

.program-arrow:hover {
    transform: scale(1.1);
    background-color: #FFF9F3;
}

.program-dots {
    display: flex;
    gap: 10px;
}

.program-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: #D3C5B8;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.program-dot.active {
    background-color: #FF8CC6; /* Candypop Pink */
    transform: scale(1.3);
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 900px) {
    .program-carousel { height: auto; flex-direction: column; gap: 20px; }
    .program-main-card { width: 100%; flex-direction: column; height: 500px; }
    .program-side-card { display: none; /* Hide side cards on small screens */ }
}
/* ==========================================================
   PROGRAM CAROUSEL — SMOOTH MOTION ENHANCEMENT
   Keeps the existing design, adds a soft editorial slide.
========================================================== */
.program-carousel {
    perspective: 1400px;
    touch-action: pan-y;
    will-change: contents;
}

.program-main-card {
    transform: translate3d(0, 0, 0);
    transition:
        transform 620ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 420ms ease,
        box-shadow 620ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}

.program-main-image {
    overflow: hidden;
    position: relative;
}

.program-main-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.12), transparent 45%, rgba(255,255,255,0.08));
    opacity: 0;
    transform: translateX(-35%);
    pointer-events: none;
}

.program-main-image img {
    transform: scale(1.001) translate3d(0, 0, 0);
    transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1), opacity 380ms ease;
    will-change: transform, opacity;
}

.program-main-content {
    transition: background-color 650ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: background-color;
}

.program-main-content > * {
    transition: opacity 280ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.program-main-card.is-leaving {
    opacity: 0.05;
    transform: translate3d(-34px, 0, 0) scale(0.985);
}

.program-carousel.is-next .program-main-card.is-leaving {
    transform: translate3d(-34px, 0, 0) scale(0.985);
}

.program-carousel.is-prev .program-main-card.is-leaving {
    transform: translate3d(34px, 0, 0) scale(0.985);
}

.program-main-card.is-leaving .program-main-image img {
    transform: scale(1.045);
    opacity: 0;
}

.program-main-card.is-entering {
    animation: programCardEnter 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.program-main-card.is-entering .program-main-image::after {
    animation: programImageSweep 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.program-main-card.is-entering .program-main-image img {
    animation: programImageEnter 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.program-main-card.is-entering .program-main-content > * {
    animation: programCopyEnter 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.program-main-card.is-entering .program-main-content > *:nth-child(1) { animation-delay: 80ms; }
.program-main-card.is-entering .program-main-content > *:nth-child(2) { animation-delay: 130ms; }
.program-main-card.is-entering .program-main-content > *:nth-child(3) { animation-delay: 180ms; }

.program-side-card {
    transform: translate3d(0, -50%, 0) scale(1);
    transition:
        transform 620ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 420ms ease,
        opacity 420ms ease,
        box-shadow 420ms ease;
    will-change: transform, filter;
}

.program-side-card img {
    transform: scale(1.01);
    transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1), opacity 400ms ease;
}

.program-side-card:hover {
    transform: translate3d(0, -50%, 0) scale(1.025);
}

.program-side-card:hover img {
    transform: scale(1.05);
}

.program-carousel.is-next .program-prev.is-shifting {
    transform: translate3d(-14px, -50%, 0) scale(0.98);
}

.program-carousel.is-next .program-next.is-shifting {
    transform: translate3d(14px, -50%, 0) scale(1.025);
}

.program-carousel.is-prev .program-prev.is-shifting {
    transform: translate3d(-14px, -50%, 0) scale(1.025);
}

.program-carousel.is-prev .program-next.is-shifting {
    transform: translate3d(14px, -50%, 0) scale(0.98);
}

.program-carousel-controls {
    position: relative;
    z-index: 10;
}

.program-arrow {
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 260ms ease, background-color 260ms ease;
}

.program-arrow:active {
    transform: scale(0.92);
}

.program-dot {
    position: relative;
    transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), background-color 360ms ease, width 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.program-dot.active {
    width: 16px;
}

@keyframes programCardEnter {
    0% { opacity: 0; transform: translate3d(34px, 0, 0) scale(0.985); }
    55% { opacity: 1; }
    100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes programImageEnter {
    0% { opacity: 0; transform: scale(1.045) translate3d(12px, 0, 0); }
    100% { opacity: 1; transform: scale(1.001) translate3d(0, 0, 0); }
}

@keyframes programImageSweep {
    0% { opacity: 0.45; transform: translateX(-45%); }
    100% { opacity: 0; transform: translateX(45%); }
}

@keyframes programCopyEnter {
    0% { opacity: 0; transform: translate3d(20px, 10px, 0); }
    100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

.program-carousel.is-prev .program-main-card.is-entering {
    animation-name: programCardEnterPrev;
}

@keyframes programCardEnterPrev {
    0% { opacity: 0; transform: translate3d(-34px, 0, 0) scale(0.985); }
    55% { opacity: 1; }
    100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@media (max-width: 900px) {
    .program-main-card.is-leaving,
    .program-carousel.is-next .program-main-card.is-leaving,
    .program-carousel.is-prev .program-main-card.is-leaving {
        transform: translate3d(0, 10px, 0) scale(0.985);
    }

    .program-main-card.is-entering,
    .program-carousel.is-prev .program-main-card.is-entering {
        animation-name: programCardEnterMobile;
    }

    @keyframes programCardEnterMobile {
        0% { opacity: 0; transform: translate3d(0, 18px, 0) scale(0.985); }
        100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
    }
}

@media (prefers-reduced-motion: reduce) {
    .program-main-card,
    .program-main-card *,
    .program-side-card,
    .program-side-card *,
    .program-dot,
    .program-arrow {
        animation: none !important;
        transition-duration: 1ms !important;
    }
}

.reduce-motion .program-main-card,
.reduce-motion .program-main-card *,
.reduce-motion .program-side-card,
.reduce-motion .program-side-card *,
.reduce-motion .program-dot,
.reduce-motion .program-arrow {
    animation: none !important;
    transition-duration: 1ms !important;
}

.section-tag,
.volunteer-tag,
.projects-hero-tag,
.about-hero .section-tag,
.projects-hero .section-tag,
.gallery-hero .section-tag,
.contact-hero .section-tag {
    background: #ebe5c9 !important;
    border-color: rgba(220, 185, 35, 0.70) !important;
    color: #654b05 !important;
}

/* ==========================================================
   PROGRAM CAROUSEL — SIDE CARDS ALWAYS FULLY VISIBLE
   Side cards are positioned relative to the centre card
   (not the container edge), so neither one gets clipped at
   any screen width.
========================================================== */
@media (min-width: 901px) {
    .program-carousel {
        --pc-main: min(900px, 72vw);
        --pc-gap: 32px;
        --pc-edge: 24px;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        max-width: none;
    }

    .program-main-card {
        width: var(--pc-main);
        max-width: none;
    }

    .program-side-card {
        width: clamp(56px, calc((100vw - var(--pc-main)) / 2 - var(--pc-gap) - var(--pc-edge)), 300px);
    }

    .program-prev {
        left: auto;
        right: calc(50% + (var(--pc-main) / 2) + var(--pc-gap));
    }

    .program-next {
        right: auto;
        left: calc(50% + (var(--pc-main) / 2) + var(--pc-gap));
    }
}

/* ==========================================================
   FEATURED CAUSES: SINGLE FRAME (no side preview cards)
========================================================== */
.program-side-card,
.program-prev,
.program-next {
    display: none !important;
}

@media (min-width: 901px) {
    .program-carousel {
        width: 100%;
        margin-left: 0;
        max-width: 100%;
        justify-content: center;
    }

    .program-main-card {
        width: 100%;
        max-width: 1100px;
        margin: 0 auto;
    }
}
