/* ========== LAVENDER & PURPLE COLOR SCHEME ========== */
:root {
    --lavender-light: #F3EAF8;
    --lavender-soft: #E9D9F4;
    --purple-primary: #7B2F9D;
    --purple-deep: #5A1E7A;
    --purple-soft: #9B6BC2;
    --gold-accent: #D4AF37;
    --white: #FFFFFF;
    --gray-light: #F9F7FC;
    --shadow-sm: 0 10px 25px -5px rgba(91, 33, 126, 0.08);
    --shadow-md: 0 20px 35px -8px rgba(91, 33, 126, 0.15);
    --transition: all 0.25s ease;
    /* Legacy / inner-page aliases (Bootstrap PHP pages) */
    --primary: var(--purple-primary);
    --secondary: var(--purple-soft);
    --radius: 28px;
    --shadow: var(--shadow-sm);
    --shadow-lg: var(--shadow-md);
    --gray: #e9ecef;
    --text: #1E1A2F;
    --dark: #1E1028;
    --border: rgba(123, 47, 157, 0.12);
    --light: var(--lavender-light);
    --brand-color: var(--purple-primary);
    --brand-light: var(--purple-soft);
    --brand-dark: var(--purple-deep);
}

/* utilities */
.nowrap {
    white-space: nowrap;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: #FFFFFF;
    color: #1E1A2F;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

html {
    scroll-padding-top: 88px;
    height: 100%;
}

.site-main {
    flex: 1 0 auto;
    width: 100%;
}

/* ========== HEADER & NAVIGATION ========== */
.site-header {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(6px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
    line-height: 0;
}

.logo-img {
    height: 65px;
    width: 224px;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.05));
}

.site-header .main-nav {
    display: flex;
    list-style: none;
    gap: 0.2rem;
    align-items: center;
}

.site-header .main-nav .nav-item {
    position: relative;
}

.site-header .main-nav .nav-link {
    padding: 0.6rem 1.1rem;
    font-weight: 600;
    color: #2D2A3A;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 50px;
    transition: var(--transition);
    font-size: 0.9rem;
}

.site-header .main-nav .nav-link i {
    font-size: 0.7rem;
}

.site-header .main-nav .nav-link:hover,
.site-header .main-nav .nav-link.active {
    background: var(--lavender-soft);
    color: var(--purple-deep);
}

/* Split label (navigates) + chevron button (mobile submenu only) */
.site-header .main-nav .nav-link-row {
    display: inline-flex;
    align-items: center;
    border-radius: 50px;
}

.site-header .main-nav .nav-link-row .nav-link {
    padding: 0.6rem 0.25rem 0.6rem 1.1rem;
}

.site-header .main-nav .nav-submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0.6rem 1rem 0.6rem 0.35rem;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #2D2A3A;
    font-size: 0.7rem;
    border-radius: 0 50px 50px 0;
    transition: var(--transition);
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
}

.site-header .main-nav .nav-submenu-toggle i {
    transition: transform 0.2s ease;
    pointer-events: none;
}

@media (min-width: 993px) {
    .site-header .main-nav .nav-item:hover .nav-link-row,
    .site-header .main-nav .nav-link-row:has(.nav-link.active) {
        background: var(--lavender-soft);
    }

    .site-header .main-nav .nav-item:hover .nav-link-row .nav-link,
    .site-header .main-nav .nav-item:hover .nav-link-row .nav-submenu-toggle,
    .site-header .main-nav .nav-link-row:has(.nav-link.active) .nav-link,
    .site-header .main-nav .nav-link-row:has(.nav-link.active) .nav-submenu-toggle {
        color: var(--purple-deep);
        background: transparent;
    }

    .site-header .main-nav .nav-link-row .nav-link:hover,
    .site-header .main-nav .nav-link-row .nav-link.active {
        background: transparent;
    }

    .site-header .main-nav .nav-link-row .nav-submenu-toggle:hover {
        color: var(--purple-deep);
    }
}

/* Bootstrap also styles .dropdown-menu with display:none — must override for CSS hover menus */
.site-header .main-nav .dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    display: block;
    background: white;
    min-width: 230px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    padding: 0.7rem 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 1000;
    border: 1px solid rgba(123, 47, 157, 0.15);
    list-style: none;
    pointer-events: none;
}

.site-header .dropdown-menu li {
    list-style: none;
}

.site-header .dropdown-menu-sections {
    max-height: min(72vh, 480px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.site-header .main-nav .nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Bridge gap under nav link so cursor can reach submenu without losing hover */
@media (min-width: 993px) {
    .site-header .main-nav .nav-item:has(.dropdown-menu)::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: 14px;
        z-index: 999;
    }
}

.site-header .dropdown-menu a {
    display: block;
    padding: 0.6rem 1.5rem;
    color: #2D2A3A;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition);
}

.site-header .dropdown-menu a:hover {
    background: var(--lavender-light);
    color: var(--purple-primary);
    padding-left: 1.8rem;
}

/* Nested items under Programs (e.g. Sustainable livelihood) */
.site-header .dropdown-menu .dropdown-submenu > a {
    font-weight: 600;
}

.site-header .dropdown-menu-nested {
    list-style: none;
    margin: 0;
    padding: 0.2rem 0 0.45rem 0;
    border-left: 2px solid var(--lavender-light);
    margin-left: 1.35rem;
}

.site-header .dropdown-menu-nested li {
    list-style: none;
}

.site-header .dropdown-menu-nested a {
    display: block;
    padding: 0.45rem 1.25rem 0.45rem 1.65rem;
    color: #3d3849;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    transition: var(--transition);
}

.site-header .dropdown-menu-nested a:hover {
    background: var(--lavender-light);
    color: var(--purple-primary);
    padding-left: 1.95rem;
}

.site-header .donate-btn {
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-deep));
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 40px;
    box-shadow: 0 3px 8px rgba(91, 33, 126, 0.3);
}

/* Stronger than .main-nav .nav-link.active so Donate keeps gradient + shows "current page" */
.site-header .main-nav .nav-link.donate-btn.active {
    background: linear-gradient(135deg, var(--purple-deep), var(--purple-primary));
    color: #fff !important;
    box-shadow:
        0 4px 16px rgba(91, 33, 126, 0.45),
        inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.site-header .main-nav .nav-link.donate-btn.active:hover {
    transform: translateY(-2px);
    box-shadow:
        0 5px 20px rgba(91, 33, 126, 0.5),
        inset 0 0 0 2px rgba(255, 255, 255, 0.45);
}

.site-header .donate-btn:hover {
    transform: translateY(-2px);
}

.site-header .mobile-toggle {
    display: none;
    font-size: 1.7rem;
    cursor: pointer;
    color: var(--purple-primary);
}

/* ========== HERO SECTION ========== */
.hero {
    background: linear-gradient(115deg, var(--purple-deep) 0%, var(--purple-primary) 50%, var(--purple-soft) 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1532629345422-7515f3d16bb6?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    opacity: 0.1;
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    width: 100%;
    padding: 4rem 5%;
    color: white;
    text-align: center;
}
.hero-content .tagline {
    font-size: 0.9rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    color: var(--lavender-soft);
}
.hero-content h1 {
    font-size: clamp(1.2rem, 2.2vw + 0.5rem, 1.65rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}
.hero-content p {
    font-size: clamp(1.35rem, 3vw + 0.75rem, 2.05rem);
    line-height: 1.5;
    margin-bottom: 2rem;
    font-weight: 500;
}
.btn-primary {
    background: white;
    color: var(--purple-deep);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    margin-right: 1rem;
}
.btn-primary:hover {
    background: var(--lavender-light);
    transform: translateY(-2px);
}
.btn-outline-light {
    border: 2px solid white;
    background: transparent;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}
.btn-outline-light:hover {
    background: white;
    color: var(--purple-primary);
}

/* ========== SECTIONS ========== */
.section {
    padding: 80px 5%;
    max-width: 1300px;
    margin: 0 auto;
}
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.8rem;
    color: var(--purple-deep);
    position: relative;
}
.section-title:after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, var(--purple-primary), var(--lavender-soft));
    margin: 0.8rem auto 0;
    border-radius: 4px;
}

.card-modern {
    background: white;
    border-radius: 28px;
    padding: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
    border: 1px solid rgba(123, 47, 157, 0.08);
}
.card-modern:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.icon-circle {
    width: 65px;
    height: 65px;
    background: var(--lavender-light);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.icon-circle i {
    font-size: 28px;
    color: var(--purple-primary);
}

.vision-mission-box {
    background: white;
    border-radius: 28px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 3px solid var(--purple-soft);
}
.vision-mission-box i {
    font-size: 2.5rem;
    color: var(--purple-primary);
}

/* Parallax Section */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 5%;
    text-align: center;
    color: white;
    position: relative;
}
.parallax-1 {
    background-image: linear-gradient(rgba(91, 30, 122, 0.75), rgba(123, 47, 157, 0.8)), url('https://images.unsplash.com/photo-1582213782179-e0d53f98f2ca?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
}
.parallax-content {
    max-width: 800px;
    margin: 0 auto;
}
.parallax-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* stats */
.stats-grid {
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-deep));
    border-radius: 40px;
    padding: 3rem 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    color: white;
    text-align: center;
}
.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    display: block;
}

.team-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.team-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.cta-block {
    background: var(--lavender-light);
    border-radius: 40px;
    padding: 3rem;
    text-align: center;
}

.presence-badge {
    background: white;
    padding: 0.6rem 1.3rem;
    border-radius: 60px;
    font-weight: 500;
    color: var(--purple-deep);
    box-shadow: var(--shadow-sm);
}

/* ========== FOOTER ========== */
.footer-rich {
    flex-shrink: 0;
    background: #fff;
    color: var(--purple-deep);
    padding: 3rem 5% 1.5rem;
    width: 100%;
}
.footer-rich h5 {
    color: var(--purple-deep);
    font-weight: 700;
    margin: 0 0 0.85rem;
}
.footer-rich p {
    margin: 0.75rem 0 1.15rem;
    color: rgba(30, 16, 40, 0.82);
    line-height: 1.6;
}
.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 0.72fr) minmax(0, 1fr) minmax(0, 0.52fr) minmax(0, 1.45fr);
    gap: 2rem;
    align-items: start;
}
.footer-col {
    min-width: 0;
}
.footer-col a {
    color: var(--purple-primary);
    text-decoration: none;
    display: block;
    margin: 0.5rem 0;
    transition: 0.2s;
}
.footer-col a:hover {
    color: var(--purple-deep);
    padding-left: 3px;
}
.footer-logo {
    height: 100px;
    width: auto;
    margin-bottom: 1rem;
}
.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: center;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    border-radius: 999px;
    background: var(--lavender-light);
    color: var(--purple-primary);
    text-decoration: none;
    margin: 0 !important;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--lavender-soft);
    color: var(--purple-deep);
}

/* Small utilities used in markup */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-3 { margin-top: 1rem; }
.mb-3 { margin-bottom: 1rem; }
.me-3 { margin-right: 1rem; }

@media (max-width: 992px) {
    .site-header .mobile-toggle {
        display: block;
    }
    .site-header .main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        background: white;
        width: 80%;
        height: 100vh;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 1.5rem;
        box-shadow: 5px 0 20px rgba(0,0,0,0.1);
        transition: 0.3s;
        gap: 0.8rem;
        overflow-y: auto;
    }
    .site-header .main-nav.active {
        left: 0;
    }
    .site-header .main-nav .dropdown-menu {
        position: static;
        top: auto;
        left: auto;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 1rem;
        display: none;
        pointer-events: auto;
        background: #f9f5fc;
        width: 100%;
        margin-top: 0.5rem;
        border: none;
        z-index: auto;
    }
    .site-header .main-nav .nav-item:hover .dropdown-menu {
        display: none;
    }
    .site-header .main-nav .nav-item.open .dropdown-menu {
        display: block;
    }
    .site-header .main-nav .nav-link-row {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-radius: 12px;
    }
    .site-header .main-nav .nav-link-row .nav-link {
        flex: 1;
        min-width: 0;
        border-radius: 12px;
        padding: 0.65rem 0.75rem;
    }
    .site-header .main-nav .nav-submenu-toggle {
        flex-shrink: 0;
        min-width: 44px;
        min-height: 44px;
        padding: 0.5rem;
        margin-right: 0.15rem;
        border-radius: 12px;
        font-size: 0.8rem;
        color: var(--purple-primary);
        background: var(--lavender-light);
    }
    .site-header .main-nav .nav-item.open .nav-submenu-toggle i {
        transform: rotate(180deg);
    }
    .hero-content h1 {
        font-size: clamp(1.1rem, 1.5vw + 0.55rem, 1.45rem);
    }
    .hero-content p {
        font-size: clamp(1.25rem, 2.6vw + 0.65rem, 1.85rem);
    }
    .parallax-section {
        background-attachment: scroll;
    }
}

/* ========== PHP INNER PAGES (Bootstrap-compatible) ========== */
.page-hero,
.services-hero,
.team-hero,
.contact-hero {
    background: linear-gradient(115deg, rgba(90, 30, 122, 0.58) 0%, rgba(123, 47, 157, 0.52) 50%, rgba(155, 107, 194, 0.45) 100%),
        url('https://images.unsplash.com/photo-1582213782179-e0d53f98f2ca?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    color: #fff;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 5%;
    text-align: center;
}

.page-hero h1,
.services-hero h1,
.team-hero h1,
.contact-hero h1 {
    font-size: clamp(1.05rem, 1.2vw + 0.65rem, 1.35rem);
    font-weight: 700;
    margin-bottom: 0.85rem;
    line-height: 1.35;
}

.page-hero p,
.services-hero p,
.team-hero p,
.contact-hero p {
    font-size: clamp(1.3rem, 2.6vw + 0.75rem, 2.05rem);
    line-height: 1.5;
    max-width: 48rem;
    margin: 0 auto 1.5rem;
    opacity: 0.95;
    font-weight: 500;
    padding-inline: 1rem;
}

/* About + Contact hero subtitle: keep exactly 2 centered lines on desktop */
.page-hero.hero-banner-project-4553 .page-subtitle,
.page-hero.hero-banner-project-4556 .page-subtitle {
    font-size: clamp(1.15rem, 2.1vw + 0.55rem, 1.85rem);
    max-width: 62rem;
}

/* Rural Transformation + Livelihood hero subtitle: centered with equal padding */
.page-hero.hero-banner-program-4541 .page-subtitle,
.page-hero.hero-banner-program-livelihood-11 .page-subtitle,
.page-hero.hero-banner-program-rise-education-4086 .page-subtitle,
.page-hero.hero-banner-program-arise-education-4087 .page-subtitle {
    max-width: 62rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* programs.php — smaller hero type, centered (uses .services-hero, not .page-hero) */
.services-hero.hero-banner-program-4541 .page-title {
    font-size: clamp(0.95rem, 1.05vw + 0.55rem, 1.15rem);
}

.services-hero.hero-banner-program-4541 .page-subtitle {
    font-size: clamp(0.98rem, 1.4vw + 0.4rem, 1.3rem);
    line-height: 1.45;
    max-width: min(50rem, 100%);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.25rem;
    text-align: center;
    padding-inline: 1rem;
}

/* program-livelihood.php — intro pull quote (serif vs Inter body) */
.livelihood-intro-quote {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-style: italic;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

/* program-livelihood.php — The Challenge + cards: tighter stack (default .section-title margin is large) */
.livelihood-challenge-section .section-title {
    margin-bottom: 0.35rem;
}
.livelihood-challenge-section .section-title::after {
    margin-top: 0.4rem;
}

/* program-arise.php — intro pull quote beside hero image */
.arise-intro-quote {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-style: italic;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

/* program-arise.php — section title (serif vs Inter) */
.arise-content-title {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* program-arise.php — intro narrative (measure + rhythm) */
.arise-intro-block {
    max-width: 62rem;
}

.arise-intro-quote--talent {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    border: 0;
    padding: 0;
}

.arise-intro-prose {
    max-width: 48rem;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(20, 20, 20, 0.92);
}

.arise-intro-prose p {
    margin-bottom: 1.35rem;
}

.arise-intro-prose p:last-child {
    margin-bottom: 0;
}

.arise-intro-prose__belief {
    font-weight: 600;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(90, 30, 122, 0.12);
    margin-top: 0.25rem;
}

/* program-arise.php — closing narrative after theory of change */
.arise-outro__inner {
    max-width: 52rem;
    text-align: center;
}

.arise-outro__inner p {
    line-height: 1.65;
    color: rgba(30, 16, 40, 0.88);
    font-size: 1.04rem;
}

.hero-subtitle-line {
    display: block;
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .hero-subtitle-line {
        white-space: normal;
    }
}

.hero-banner-project-2524 {
    background-image: linear-gradient(115deg, rgba(90, 30, 122, 0.58) 0%, rgba(123, 47, 157, 0.52) 50%, rgba(155, 107, 194, 0.45) 100%),
        url('img/project/IMG_2524.jpg');
}

.page-hero.hero-banner-project-2524 {
    background-image: linear-gradient(115deg, rgba(90, 30, 122, 0.58) 0%, rgba(123, 47, 157, 0.52) 50%, rgba(155, 107, 194, 0.45) 100%),
        url('img/project/IMG_2524.jpg');
}

#donate-hero.page-hero.hero-banner-project-2524 {
    background-image: linear-gradient(115deg, rgba(90, 30, 122, 0.58) 0%, rgba(123, 47, 157, 0.52) 50%, rgba(155, 107, 194, 0.45) 100%),
        url('img/volunteer-smile.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* donation.php — one banner paragraph (full narrative, no split spans) */
#donate-hero.page-hero.hero-banner-project-2524 .page-subtitle.donation-hero__subtitle {
    display: block;
    max-width: 76rem;
    margin-inline: auto;
    font-size: clamp(0.98rem, 1.45vw + 0.48rem, 1.45rem);
    line-height: 1.5;
    font-weight: 500;
    text-wrap: balance;
}

@media (max-width: 991px) {
    #donate-hero.page-hero.hero-banner-project-2524 .page-subtitle.donation-hero__subtitle {
        font-size: clamp(1.05rem, 4.2vw, 1.35rem);
    }
}

.page-hero.hero-banner-program-4541,
.services-hero.hero-banner-program-4541 {
    background-image: linear-gradient(115deg, rgba(90, 30, 122, 0.58) 0%, rgba(123, 47, 157, 0.52) 50%, rgba(155, 107, 194, 0.45) 100%),
        url('img/IMG_4541.jpg');
}

/* program-rural.php, program-agriculture.php, program-nature.php — dedicated banner art */
.page-hero.hero-banner-program-4541.hero-banner-program-posh {
    background-image: linear-gradient(115deg, rgba(90, 30, 122, 0.58) 0%, rgba(123, 47, 157, 0.52) 50%, rgba(155, 107, 194, 0.45) 100%),
        url('img/posh.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-hero.hero-banner-program-4541.hero-banner-program-rural {
    background-image: linear-gradient(115deg, rgba(90, 30, 122, 0.58) 0%, rgba(123, 47, 157, 0.52) 50%, rgba(155, 107, 194, 0.45) 100%),
        url('img/Rural%20Transformation.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-hero.hero-banner-program-4541.hero-banner-program-agriculture {
    background-image: linear-gradient(115deg, rgba(90, 30, 122, 0.58) 0%, rgba(123, 47, 157, 0.52) 50%, rgba(155, 107, 194, 0.45) 100%),
        url('img/agri.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-hero.hero-banner-program-4541.hero-banner-program-nature {
    background-image: linear-gradient(115deg, rgba(90, 30, 122, 0.58) 0%, rgba(123, 47, 157, 0.52) 50%, rgba(155, 107, 194, 0.45) 100%),
        url('img/project/nature.png');
}

.page-hero.hero-banner-program-livelihood-11 {
    background-image: linear-gradient(115deg, rgba(90, 30, 122, 0.58) 0%, rgba(123, 47, 157, 0.52) 50%, rgba(155, 107, 194, 0.45) 100%),
        url('img/programs/11.jpg');
}

.page-hero.hero-banner-program-education-e3996 {
    background-image: linear-gradient(115deg, rgba(90, 30, 122, 0.58) 0%, rgba(123, 47, 157, 0.52) 50%, rgba(155, 107, 194, 0.45) 100%),
        url('img/Healthcare/IMG_E3996.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* program-education.php — hero tagline on one line */
.page-hero.hero-banner-program-education-e3996 .education-hero-tagline {
    white-space: nowrap;
    max-width: min(100vw - 1.5rem, 72rem);
    margin-inline: auto;
    font-size: clamp(0.52rem, 1.65vw + 0.42rem, 2.05rem);
    line-height: 1.35;
}

/* program-education.php — intro headline smaller than default .section-title */
.section-title.section-title--compact {
    font-size: clamp(1.15rem, 2.25vw, 1.5rem);
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: left;
}
.section-title.section-title--compact::after {
    display: none;
}

/* program-posh.php — same single-line hero tagline (scoped: shared 4541 banner) */
.page-hero.hero-banner-program-posh .education-hero-tagline {
    white-space: nowrap;
    max-width: min(100vw - 1.5rem, 72rem);
    margin-inline: auto;
    font-size: clamp(0.45rem, 1.4vw + 0.38rem, 2.05rem);
    line-height: 1.35;
}

/* program-posh.php — partnership lead under hero */
.posh-partnership-lead {
    color: var(--purple-deep);
    text-wrap: balance;
}

/* program-agriculture.php — single-line hero tagline (scoped: shared 4541 banner) */
.page-hero.hero-banner-program-agriculture .education-hero-tagline {
    white-space: nowrap;
    max-width: min(100vw - 1.5rem, 72rem);
    margin-inline: auto;
    font-size: clamp(0.42rem, 1.35vw + 0.36rem, 2.05rem);
    line-height: 1.35;
}

.page-hero.hero-banner-program-health-2787 {
    background-image: linear-gradient(115deg, rgba(90, 30, 122, 0.58) 0%, rgba(123, 47, 157, 0.52) 50%, rgba(155, 107, 194, 0.45) 100%),
        url('img/health.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* media.php — banner */
.page-hero.hero-banner-project-media {
    background-image: linear-gradient(115deg, rgba(90, 30, 122, 0.58) 0%, rgba(123, 47, 157, 0.52) 50%, rgba(155, 107, 194, 0.45) 100%),
        url('img/socialmedia.png');
    background-size: cover;
    background-position: center;
}

/* media.php — hero tagline on one line where width allows */
.page-hero.media-page-hero .media-page-hero__tagline {
    white-space: nowrap;
    max-width: min(100vw - 2rem, 72rem);
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    .page-hero.media-page-hero .media-page-hero__tagline {
        white-space: normal;
    }
}

/* resources.php — hero tagline on one line where width allows */
.page-hero.hero-banner-project-2751.resources-page-hero {
    background-image: linear-gradient(115deg, rgba(90, 30, 122, 0.58) 0%, rgba(123, 47, 157, 0.52) 50%, rgba(155, 107, 194, 0.45) 100%),
        url('img/resources.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero.resources-page-hero .resources-page-hero__tagline {
    white-space: nowrap;
    max-width: min(100vw - 2rem, 72rem);
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    .page-hero.resources-page-hero .resources-page-hero__tagline {
        white-space: normal;
    }
}

/* partners.php — hero tagline on one line where width allows */
.page-hero.partners-page-hero {
    background-image: linear-gradient(115deg, rgba(90, 30, 122, 0.58) 0%, rgba(123, 47, 157, 0.52) 50%, rgba(155, 107, 194, 0.45) 100%),
        url('img/partners.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero.partners-page-hero .partners-page-hero__tagline {
    white-space: nowrap;
    max-width: min(100vw - 2rem, 72rem);
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    .page-hero.partners-page-hero .partners-page-hero__tagline {
        white-space: normal;
    }
}

/* teams.php — same symmetric horizontal inset as Contact (5% / 1rem + safe-area) */
.team-hero.hero-banner-project-2524.teams-page-hero {
    background-image: linear-gradient(115deg, rgba(90, 30, 122, 0.58) 0%, rgba(123, 47, 157, 0.52) 50%, rgba(155, 107, 194, 0.45) 100%),
        url('img/ourteam.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.team-hero.teams-page-hero {
    padding-inline: max(5%, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
}

.team-hero.teams-page-hero .team-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
}

/* teams.php — hero tagline on one line where width allows; centered */
.team-hero.teams-page-hero .teams-page-hero__tagline {
    white-space: nowrap;
    max-width: min(100%, 72rem);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    box-sizing: border-box;
    padding-inline: clamp(0.75rem, 3vw, 1.5rem);
}

@media (max-width: 900px) {
    .team-hero.teams-page-hero .teams-page-hero__tagline {
        white-space: normal;
    }
}

/* gallery.php — two centered lines (uses .page-header); compact hero type */
.page-header.gallery-page-hero .page-title {
    font-size: clamp(1.08rem, 1.25vw + 0.62rem, 1.32rem);
}

.page-header.gallery-page-hero .gallery-page-hero__tagline {
    font-size: clamp(1.12rem, 1.65vw + 0.48rem, 1.52rem);
    line-height: 1.45;
    max-width: min(56rem, 100%);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.25rem;
    text-align: center;
    padding-inline: 1rem;
}

.page-header.gallery-page-hero .gallery-page-hero__tagline .hero-subtitle-line {
    white-space: normal;
    text-align: center;
}

.page-header.gallery-page-hero .gallery-page-hero__tagline .hero-subtitle-line--1 {
    margin-bottom: 0.2em;
}

.page-hero.hero-banner-program-rise-education-4086 {
    background-image: linear-gradient(115deg, rgba(90, 30, 122, 0.58) 0%, rgba(123, 47, 157, 0.52) 50%, rgba(155, 107, 194, 0.45) 100%),
        url('img/Education/IMG_4086.JPG');
}

/* program-rise.php — intro layout (image | lead quote, centered callout, full-width prose) */
.rise-intro-lead {
    font-size: clamp(1.2rem, 2.1vw + 0.55rem, 1.5rem);
    line-height: 1.45;
    font-weight: 600;
    max-width: 40rem;
}

/* program-rise.php — featured quote: serif + two-line stack (distinct from Inter body) */
.rise-intro-lead--featured {
    font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
    font-size: clamp(1.1rem, 1.85vw + 0.45rem, 1.4rem);
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: 0.01em;
}

.rise-intro-lead--featured strong {
    font-weight: 600;
}

.rise-intro-callout {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-style: italic;
    font-weight: 700;
    font-size: clamp(1.1rem, 1.75vw + 0.5rem, 1.45rem);
    line-height: 1.45;
    max-width: 48rem;
    color: rgba(20, 20, 20, 0.92);
}

.rise-project-goal,
.arise-project-goal {
    font-size: clamp(1rem, 1.55vw + 0.45rem, 1.2rem);
    font-weight: 600;
    line-height: 1.45;
    max-width: 42rem;
    margin-inline: auto;
    color: var(--purple-deep);
}

.rise-intro-prose {
    max-width: 62rem;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1.0625rem;
    line-height: 1.75;
    text-align: justify;
    color: rgba(20, 20, 20, 0.88);
    hyphens: auto;
}

@media (max-width: 576px) {
    .rise-intro-prose {
        text-align: left;
        hyphens: manual;
    }
}

/* program-rise.php — long headline inside stat value (non-compact grids) */
.stats-grid.stats-grid--program-impact:not(.rise-impact-stats--compact) .rise-impact-stats .rise-impact-stats__value-text {
    font-size: clamp(1rem, 2.4vw, 1.4rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
}

.page-hero.hero-banner-program-arise-education-4087 {
    background-image: linear-gradient(115deg, rgba(90, 30, 122, 0.58) 0%, rgba(123, 47, 157, 0.52) 50%, rgba(155, 107, 194, 0.45) 100%),
        url('img/Education/IMG_4087.JPG');
}

.section-padding {
    padding: 80px 5%;
}

section.section.section-padding {
    max-width: none;
    width: 100%;
    padding: 80px 5%;
}

/* about.php — less vertical space between stacked sections */
.page-about .section {
    padding: 52px 5%;
}

.page-about .section-padding,
.page-about section.section.section-padding {
    padding: 52px 5%;
}

.page-about .section-home-highlight {
    margin: 0 5% 32px;
}

.page-about .section .section-title {
    margin-bottom: 2rem;
}

.page-about .approach-header {
    margin-bottom: 1.85rem;
}

.page-about .approach-closing {
    margin-top: 1.25rem;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    text-align: center;
}

.page-about .cta-section {
    padding: 52px 5%;
}

/* about.php — less space between Our Values and Our Approach */
.page-about #our-values {
    padding-bottom: 32px;
}

/* about.php — less space between Our Approach and Our Visionaries */
.page-about #our-goals {
    padding-top: 32px;
    padding-bottom: 32px;
}

.page-about #our-people {
    padding-top: 32px;
}

/* impact.php — tighter vertical rhythm between stacked sections */
.page-impact .impact-stats {
    padding: 52px 5%;
}

.page-impact .section-padding,
.page-impact section.section.section-padding {
    padding: 52px 5%;
}

.page-impact .cta-section {
    padding: 52px 5%;
}

/* impact.php — Program Impact ↔ Impact Stories ↔ Geographical Footprint */
.page-impact #program-impact {
    padding-bottom: 32px;
}

.page-impact #impact-stories {
    padding-top: 32px;
    padding-bottom: 32px;
}

.page-impact #footprint {
    padding-top: 32px;
}

/* impact.php — Geographical Footprint (alternate design) */
.page-impact #footprint .footprint-slab {
    background:
        radial-gradient(ellipse 100% 60% at 20% 0%, rgba(123, 47, 157, 0.16), transparent 60%),
        radial-gradient(ellipse 100% 65% at 90% 30%, rgba(90, 30, 122, 0.14), transparent 62%),
        linear-gradient(180deg, #ffffff 0%, rgba(245, 240, 249, 0.85) 100%);
    border: 1px solid rgba(123, 47, 157, 0.14);
    border-radius: clamp(18px, 2vw, 28px);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    position: relative;
}

.page-impact #footprint .footprint-slab::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(123, 47, 157, 0.08) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.5;
    pointer-events: none;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.85), transparent 65%);
}

.page-impact #footprint .footprint-slab__header {
    position: relative;
    z-index: 1;
    padding: 1.6rem 1.6rem 1.15rem;
}

.page-impact #footprint .footprint-slab__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(123, 47, 157, 0.16);
    color: var(--purple-deep);
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.page-impact #footprint .footprint-slab__badge i {
    color: var(--purple-primary);
}

.page-impact #footprint .footprint-slab__title {
    margin: 0 0 0.4rem;
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--purple-deep);
}

.page-impact #footprint .footprint-slab__lead {
    max-width: 62ch;
    color: var(--text);
    opacity: 0.9;
}

.page-impact #footprint .footprint-metrics {
    position: relative;
    z-index: 1;
    padding: 0 1.6rem 1.25rem;
    display: grid;
    gap: 0.95rem;
}

.page-impact #footprint .footprint-metric {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(123, 47, 157, 0.14);
    border-radius: 18px;
    padding: 0.95rem 1rem;
    backdrop-filter: blur(10px);
}

.page-impact #footprint .footprint-metric__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.55rem;
}

.page-impact #footprint .footprint-metric__name {
    font-weight: 900;
    color: var(--purple-deep);
}

.page-impact #footprint .footprint-metric__value {
    font-weight: 800;
    color: var(--purple-primary);
    white-space: nowrap;
}

.page-impact #footprint .footprint-meter {
    height: 10px;
    border-radius: 999px;
    background: rgba(123, 47, 157, 0.10);
    overflow: hidden;
}

.page-impact #footprint .footprint-meter__fill {
    display: block;
    height: 100%;
    width: var(--fill, 65%);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--purple-primary), rgba(155, 107, 194, 1));
}

.page-impact #footprint .footprint-callouts {
    position: relative;
    z-index: 1;
    padding: 0 1.6rem 1.6rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.page-impact #footprint .footprint-callout {
    background: #fff;
    border: 1px solid rgba(123, 47, 157, 0.14);
    border-radius: 18px;
    padding: 0.95rem 1rem;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.page-impact #footprint .footprint-callout__icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--lavender-light);
    color: var(--purple-primary);
    flex: 0 0 auto;
}

.page-impact #footprint .footprint-callout__title {
    font-weight: 900;
    color: var(--purple-deep);
    line-height: 1.1;
}

.page-impact #footprint .footprint-callout__text {
    font-size: 0.9rem;
    opacity: 0.9;
}

@media (max-width: 576px) {
    .page-impact #footprint .footprint-slab__header {
        padding: 1.25rem 1.1rem 1rem;
    }
    .page-impact #footprint .footprint-metrics {
        padding: 0 1.1rem 1rem;
    }
    .page-impact #footprint .footprint-callouts {
        grid-template-columns: 1fr;
        padding: 0 1.1rem 1.1rem;
    }
}

.value-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

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

.value-icon {
    font-size: 2.5rem;
    color: var(--purple-primary);
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: var(--lavender-light);
    border-radius: 50%;
}

.approach-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    border-bottom: 3px solid var(--purple-soft);
    height: 100%;
    transition: var(--transition);
}

.approach-icon {
    font-size: 2rem;
    color: var(--purple-primary);
    margin-bottom: 1rem;
}

/* ========== OUR APPROACH — CARD GRID (about.php) ========== */
.section-approach {
    position: relative;
    overflow-x: hidden;
    background:
        radial-gradient(ellipse 90% 55% at 50% -35%, rgba(123, 47, 157, 0.14), transparent 58%),
        linear-gradient(180deg, #faf7fc 0%, var(--lavender-light) 38%, #ffffff 100%);
}

.section-approach::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(123, 47, 157, 0.045) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 72%);
}

.approach-section-inner {
    position: relative;
    z-index: 1;
}

.approach-header {
    text-align: center;
    max-width: 52rem;
    margin: 0 auto 2.5rem;
}

.approach-header .section-title {
    margin-bottom: 0.5rem;
}

.approach-viz-kicker {
    font-weight: 700;
    color: var(--purple-primary);
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.approach-viz-tagline {
    font-weight: 600;
    font-style: italic;
    color: var(--purple-deep);
    letter-spacing: 0.02em;
    font-size: clamp(1.02rem, 1.55vw, 1.18rem);
    margin: 0 0 1.15rem;
    padding-bottom: 1rem;
    position: relative;
}

.approach-viz-tagline::after {
    content: "";
    display: block;
    width: 52px;
    height: 3px;
    margin: 0.85rem auto 0;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--gold-accent), var(--purple-soft));
}

.approach-viz-lead {
    max-width: 52rem;
    margin: 0 auto 0;
    color: #4a4458;
    line-height: 1.72;
    font-size: clamp(0.95rem, 1.15vw, 1.05rem);
}

.approach-showcase {
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(1.35rem, 2.2vw, 1.85rem);
    border-radius: calc(var(--radius) + 4px);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(123, 47, 157, 0.12);
    box-shadow:
        0 4px 24px -8px rgba(90, 30, 122, 0.12),
        0 28px 56px -32px rgba(90, 30, 122, 0.22);
}

.approach-showcase--cards {
    max-width: 1140px;
}

.about-approach-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1rem, 2vw, 1.35rem);
    width: 100%;
    margin: 0;
}

@media (min-width: 640px) {
    .about-approach-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-approach-grid > .approach-showcase__card:nth-child(5) {
        grid-column: 1 / -1;
        max-width: min(100%, 26rem);
        justify-self: center;
        width: 100%;
    }
}

@media (min-width: 1024px) {
    .about-approach-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }

    .about-approach-grid > .approach-showcase__card:nth-child(5) {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        max-width: none;
        width: auto;
    }

    .about-approach-grid > .approach-showcase__card:nth-child(4) {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }
}

.about-approach-grid .approach-showcase__card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.45rem 1.35rem 1.55rem calc(1.15rem + 0.65rem);
    border-radius: 18px;
}

.about-approach-grid .approach-showcase__meta {
    margin-bottom: 0.75rem;
}

.about-approach-grid .approach-showcase__text {
    flex: 1 1 auto;
}

.approach-showcase__card {
    --card-pad-left: 1.15rem;
    position: relative;
    margin: 0;
    padding: 1.4rem 1.35rem 1.5rem calc(var(--card-pad-left) + 0.65rem);
    background: #fff;
    border-radius: calc(var(--radius) - 8px);
    border: 1px solid rgba(123, 47, 157, 0.09);
    box-shadow: 0 8px 28px -16px rgba(90, 30, 122, 0.14);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    min-width: 0;
    overflow: visible;
}

.approach-showcase__card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(
        180deg,
        var(--showcase-accent, var(--purple-soft)),
        var(--purple-deep)
    );
    border-radius: 4px 0 0 4px;
    transition: width 0.22s ease, opacity 0.22s ease;
    z-index: 0;
    pointer-events: none;
}

.approach-showcase__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -18px rgba(90, 30, 122, 0.22);
}

.approach-showcase__card:hover::before {
    width: 5px;
}

.approach-showcase__card--tone-0 {
    --showcase-accent: #f59e0b;
}

.approach-showcase__card--tone-1 {
    --showcase-accent: #ea580c;
}

.approach-showcase__card--tone-2 {
    --showcase-accent: #0d9488;
}

.approach-showcase__card--tone-3 {
    --showcase-accent: #059669;
}

.approach-showcase__card--tone-4 {
    --showcase-accent: #ca8a04;
}

.approach-showcase__meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    margin-bottom: 0.85rem;
    position: relative;
    z-index: 1;
}

.approach-showcase__title,
.approach-showcase__text {
    position: relative;
    z-index: 1;
}

.approach-showcase__icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-sizing: border-box;
    overflow: visible;
}

.approach-showcase__icon i {
    line-height: 1;
    display: block;
}

.approach-showcase__card--tone-0 .approach-showcase__icon {
    background: linear-gradient(145deg, #fef3c7, #fde68a);
    color: #b45309;
}

.approach-showcase__card--tone-1 .approach-showcase__icon {
    background: linear-gradient(145deg, #ffedd5, #fdba74);
    color: #c2410c;
}

.approach-showcase__card--tone-2 .approach-showcase__icon {
    background: linear-gradient(145deg, #ccfbf1, #5eead4);
    color: #0f766e;
}

.approach-showcase__card--tone-3 .approach-showcase__icon {
    background: linear-gradient(145deg, #d1fae5, #6ee7b7);
    color: #047857;
}

.approach-showcase__card--tone-4 .approach-showcase__icon {
    background: linear-gradient(145deg, #fef9c3, #fde047);
    color: #a16207;
}

.approach-showcase__title {
    font-size: clamp(1rem, 1.35vw, 1.12rem);
    font-weight: 700;
    color: var(--purple-deep);
    line-height: 1.3;
    margin: 0 0 0.45rem;
    text-align: left;
}

.approach-showcase__text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.62;
    color: #4a4458;
}

.approach-closing {
    margin-top: 2.5rem;
    padding: 2rem 1.75rem;
    text-align: center;
    background: linear-gradient(145deg, #ffffff 0%, var(--lavender-light) 100%);
    border: 1px solid rgba(123, 47, 157, 0.12);
    border-radius: var(--radius);
    box-shadow: 0 12px 36px -20px rgba(90, 30, 122, 0.18);
    position: relative;
}

.approach-closing::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(420px, 85%);
    height: 3px;
    border-radius: 0 0 8px 8px;
    background: linear-gradient(90deg, transparent, var(--gold-accent), var(--purple-soft), transparent);
    opacity: 0.9;
}

.approach-closing__icon {
    display: block;
    margin: 0 auto 0.9rem;
    font-size: 1.45rem;
    color: var(--purple-primary);
    opacity: 0.35;
    line-height: 1;
}

.approach-closing__text {
    margin: 0 auto;
    max-width: 52rem;
    font-size: clamp(1rem, 1.2vw, 1.12rem);
    line-height: 1.72;
    font-weight: 600;
    color: var(--purple-deep);
}

/* about.php — Our Approach closing note (split badge layout) */
.page-about .approach-closing.approach-closing--split {
    margin-top: 1.25rem;
    padding: 1.15rem 1.2rem;
    background: rgba(245, 240, 249, 0.7);
    border: 1px solid rgba(123, 47, 157, 0.14);
    border-radius: 18px;
    box-shadow: 0 14px 34px -28px rgba(90, 30, 122, 0.22);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    text-align: center;
}

.page-about .approach-closing.approach-closing--split::before {
    display: none;
}

.page-about .approach-closing.approach-closing--split .approach-closing__badge {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid rgba(123, 47, 157, 0.16);
    color: var(--purple-primary);
}

.page-about .approach-closing.approach-closing--split .approach-closing__text {
    margin: 0 auto;
    max-width: 52rem;
    font-size: 1.02rem;
    line-height: 1.7;
    text-align: center;
}

@media (max-width: 991px) {
    .section-approach {
        overflow-x: hidden;
    }

    .approach-showcase,
    .approach-showcase--cards {
        max-width: 100%;
        box-sizing: border-box;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background: rgba(255, 255, 255, 0.97);
    }

    .about-approach-grid {
        min-width: 0;
    }

    .approach-showcase__title,
    .approach-showcase__text {
        overflow-wrap: anywhere;
        word-wrap: break-word;
    }

    .approach-header {
        padding-inline: 0.25rem;
    }
}

@media (min-width: 1024px) {
    .approach-showcase--cards {
        padding: clamp(1.65rem, 2.5vw, 2.35rem) clamp(1.35rem, 2.4vw, 2rem);
    }
}

@media (hover: none) {
    .approach-showcase__card:hover {
        transform: none;
        box-shadow: 0 8px 28px -16px rgba(90, 30, 122, 0.14);
    }

    .approach-showcase__card:hover::before {
        width: 4px;
    }

    .approach-showcase__card:active {
        transform: scale(0.99);
    }
}

@media (max-width: 575px) {
    .approach-header {
        margin-bottom: 1.5rem;
        text-align: left;
    }

    .approach-header .section-title,
    .approach-viz-tagline {
        text-align: center;
    }

    .approach-viz-tagline::after {
        margin-left: auto;
        margin-right: auto;
    }

    .approach-viz-lead {
        text-align: left;
        font-size: 0.92rem;
        line-height: 1.65;
    }

    .approach-showcase {
        padding: 1.1rem 0.75rem;
        border-radius: 22px;
    }

    .about-approach-grid {
        gap: 0.95rem;
    }

    .about-approach-grid .approach-showcase__card {
        padding: 1.15rem 1rem 1.2rem calc(1rem + 0.55rem);
    }

    .approach-showcase__meta {
        gap: 0.65rem;
        margin-bottom: 0.7rem;
    }

    .approach-showcase__title {
        font-size: 1rem;
        line-height: 1.28;
    }

    .approach-showcase__text {
        font-size: 0.88rem;
        line-height: 1.58;
    }

    .approach-closing {
        padding: 1.35rem 0.9rem;
        margin-top: 1.75rem;
        border-radius: 22px;
    }

    .approach-closing__text {
        font-size: 0.95rem;
        line-height: 1.65;
    }
}

.team-card .team-image {
    overflow: hidden;
}

.team-card .team-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.team-card .team-img {
    height: 260px;
    overflow: hidden;
    background: var(--lavender-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card .team-img.team-img--large {
    height: 500px;
}

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

.team-card .team-img i {
    font-size: 3rem;
    color: var(--purple-primary);
}

.team-content {
    padding: 1.5rem;
    text-align: center;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--purple-deep);
}

.team-position {
    color: var(--purple-primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.team-desc {
    text-align: left;
    font-size: 0.95rem;
    color: #444;
}

.team-info {
    padding: 1.25rem;
}

.team-role {
    color: var(--purple-primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.cta-section {
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-deep));
    color: #fff;
    padding: 80px 5%;
    text-align: center;
}

.cta-section h2 {
    font-weight: 800;
    margin-bottom: 1rem;
}

.impact-stats {
    background: whitesmoke;
    color:#5A1E7A;
    padding: 80px 5%;
}

.impact-stats .section-title {
    color: #5A1E7A !important;
}

.impact-stats .section-title:after {
    background: linear-gradient(90deg, #fff, var(--lavender-soft));
}

.impact-stats--reach-showcase .program-impact-header .section-title::after {
    background: linear-gradient(90deg, var(--purple-primary), var(--lavender-soft));
}

.impact-stats--reach-showcase .program-impact-showcase {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.impact-stats .stat-item {
    text-align: center;
    padding: 1.5rem 0.5rem;
}

.impact-stats .stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 1.05rem;
    opacity: 0.95;
}

.impact-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.75rem;
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--border);
    border-top: 4px solid var(--purple-primary);
}

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

.impact-icon {
    font-size: 2rem;
    color: var(--purple-primary);
    margin-bottom: 1rem;
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--lavender-light);
    border-radius: 50%;
}

.impact-card h3 {
    color: var(--purple-deep);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.services-sidebar {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    overflow: hidden;
}

.services-sidebar .nav-link {
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.services-sidebar .nav-link:hover,
.services-sidebar .nav-link.active {
    background: var(--lavender-light);
    color: var(--purple-deep);
    border-left: 3px solid var(--purple-primary);
    padding-left: calc(1.25rem - 3px);
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    align-items: flex-start;
}

.contact-info i {
    color: var(--purple-primary);
    margin-top: 4px;
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: 0.5rem;
    border-radius: 50%;
    background: var(--lavender-light);
    color: var(--purple-primary);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--purple-primary);
    color: #fff;
}

.map-container iframe {
    width: 100%;
    min-height: 360px;
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.page-header {
    background: linear-gradient(115deg, rgba(90, 30, 122, 0.58), rgba(123, 47, 157, 0.52)),
        url('https://images.unsplash.com/photo-1559757148-5c350d0d3c56?w=1200&h=400&fit=crop');
    background-size: cover;
    background-position: center;
    color: #fff;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 5%;
    text-align: center;
}

.page-header.hero-banner-project-2751,
.page-hero.hero-banner-project-2751 {
    background-image: linear-gradient(115deg, rgba(90, 30, 122, 0.58) 0%, rgba(123, 47, 157, 0.52) 50%, rgba(155, 107, 194, 0.45) 100%),
        url('img/project/IMG_2751.jpg');
}

/* gallery.php — dedicated banner background */
.page-header.gallery-page-hero {
    background-image: linear-gradient(115deg, rgba(90, 30, 122, 0.58) 0%, rgba(123, 47, 157, 0.52) 50%, rgba(155, 107, 194, 0.45) 100%),
        url('img/art.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero.hero-banner-project-4556 {
    background: linear-gradient(115deg, rgba(90, 30, 122, 0.58) 0%, rgba(123, 47, 157, 0.52) 50%, rgba(155, 107, 194, 0.45) 100%),
        url('img/IMG_4556.JPG');
    background-size: cover;
    background-position: center;
}

.hero.hero-banner-project-4556::before {
    display: none;
}

.contact-hero.hero-banner-project-4556,
.page-hero.hero-banner-project-4556 {
    background-image: linear-gradient(115deg, rgba(90, 30, 122, 0.58) 0%, rgba(123, 47, 157, 0.52) 50%, rgba(155, 107, 194, 0.45) 100%),
        url('img/IMG_4556.JPG');
}

/* impact.php — banner (body.page-impact, header.php) */
.page-impact .page-hero.hero-banner-project-4556 {
    background-image: linear-gradient(115deg, rgba(90, 30, 122, 0.58) 0%, rgba(123, 47, 157, 0.52) 50%, rgba(155, 107, 194, 0.45) 100%),
        url('img/project/impact.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero.hero-banner-project-4553 {
    background-image: linear-gradient(115deg, rgba(90, 30, 122, 0.58) 0%, rgba(123, 47, 157, 0.52) 50%, rgba(155, 107, 194, 0.45) 100%),
        url('img/about.png');
}

#volunteer-hero.page-hero.hero-banner-project-4553 {
    background-image: linear-gradient(115deg, rgba(90, 30, 122, 0.58) 0%, rgba(123, 47, 157, 0.52) 50%, rgba(155, 107, 194, 0.45) 100%),
        url('img/home1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-title {
    font-size: clamp(1.05rem, 1.2vw + 0.65rem, 1.35rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.page-subtitle {
    font-size: clamp(1.3rem, 2.6vw + 0.75rem, 2.05rem);
    line-height: 1.5;
    max-width: 48rem;
    margin: 0 auto;
    opacity: 0.95;
    font-weight: 500;
}

.gallery-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    height: 100%;
    transition: var(--transition);
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(91, 33, 126, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
    .gallery-card:hover .gallery-overlay {
        opacity: 1;
    }
}

/* Touch / narrow screens: no hover — show tap target (zoom) */
@media (max-width: 768px), (hover: none), (pointer: coarse) {
    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(
            to top,
            rgba(45, 20, 65, 0.92) 0%,
            rgba(91, 33, 126, 0.4) 42%,
            transparent 68%
        );
        align-items: flex-end;
        justify-content: flex-end;
        padding: 0 0.65rem 0.65rem;
    }
}

.gallery-info {
    padding: 1rem 1.25rem;
}

.gallery-title {
    font-weight: 700;
    color: var(--purple-deep);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.gallery-category {
    font-size: 0.8rem;
    font-weight: 600;
}

.btn-outline-brand {
    color: var(--purple-primary);
    border-color: var(--purple-primary);
}

.btn-outline-brand:hover,
.btn-outline-brand.active {
    background: var(--purple-primary);
    border-color: var(--purple-primary);
    color: #fff;
}

.filter-buttons .btn.active {
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-deep));
    border-color: var(--purple-primary);
    color: #fff;
}

@media (max-width: 991.98px) {
    .gallery-controls {
        margin-bottom: 0;
    }
    .gallery-controls .filter-buttons {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }
    .gallery-controls .filter-buttons .btn {
        width: 100%;
        justify-content: center;
        font-size: 0.8125rem;
        padding: 0.45rem 0.5rem;
        white-space: normal;
        line-height: 1.25;
    }
    .gallery-controls .filter-buttons .btn i {
        flex-shrink: 0;
    }
    .sort-options .form-select {
        width: 100%;
    }
    #galleryGrid .gallery-item {
        margin-bottom: 0;
    }
    .gallery-info {
        padding: 0.75rem 0.9rem;
    }
    .gallery-title {
        font-size: 0.9rem;
    }
    #imageModal .modal-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding: 0.75rem 1rem 1rem;
    }
    #imageModal .modal-footer .image-info {
        text-align: center;
    }
    #imageModal .modal-footer .image-actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    #imageModal .modal-footer .image-actions .btn {
        flex: 1 1 auto;
        min-width: 8rem;
    }
    #imageModal .modal-body img {
        max-height: min(70vh, 520px);
        width: auto;
        max-width: 100%;
        object-fit: contain;
    }
}

@media (max-width: 576px) {
    .gallery-controls .filter-buttons {
        grid-template-columns: 1fr;
    }
    .page-header .page-subtitle {
        font-size: clamp(1.15rem, 4.2vw, 1.55rem);
        padding: 0 0.25rem;
    }
    ul.pagination {
        flex-wrap: wrap;
        gap: 0.25rem;
        row-gap: 0.35rem;
        justify-content: center;
    }
    ul.pagination .page-link {
        padding: 0.35rem 0.55rem;
        font-size: 0.875rem;
    }
}

.text-brand {
    color: var(--purple-primary) !important;
}

.bg-brand {
    background-color: var(--purple-primary) !important;
}

.border-brand {
    border-color: var(--purple-primary) !important;
}

.footer-brand-title {
    color: var(--purple-deep);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.footer-address a {
    color: var(--purple-primary);
    display: inline !important;
    margin: 0 !important;
    text-decoration: none;
}

.footer-address a:hover {
    color: var(--purple-deep);
}

.footer-divider {
    margin: 2rem auto 1rem;
    border-color: #4a2e5e;
    max-width: 1300px;
}

.footer-copy {
    text-align: center;
    font-size: 0.85rem;
}

.footer-copy a {
    color: var(--purple-primary);
    text-decoration: none;
    font-weight: 700;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-deep)) !important;
    border: none !important;
}

.btn-primary:hover {
    filter: brightness(1.06);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.form-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: var(--radius);
}

.form-overlay .check-icon {
    font-size: 3rem;
    color: var(--purple-primary);
}

#ContactFormWrapper,
#VolunteerFormWrapper,
#DonationFormWrapper {
    position: relative;
}

.service-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    height: 100%;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 2rem;
    color: var(--purple-primary);
    margin-bottom: 0.75rem;
}

.project-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
    overflow: hidden;
}

.project-header {
    background: linear-gradient(135deg, var(--lavender-light), #fff);
    padding: 1.75rem;
    border-bottom: 3px solid var(--purple-soft);
}

.project-header h3 {
    color: var(--purple-deep);
    font-weight: 800;
}

.project-tagline {
    color: #555;
    margin-bottom: 0;
}

.project-content {
    padding: 1.75rem;
}

.project-content h4 {
    color: var(--purple-primary);
    margin: 1.25rem 0 0.75rem;
    font-size: 1.1rem;
}

.impact-highlight {
    background: var(--lavender-light);
    border-left: 4px solid var(--purple-primary);
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    border-radius: 0 8px 8px 0;
}

.resource-category {
    margin-bottom: 3rem;
}

.resource-category h3 {
    color: var(--purple-deep);
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.resource-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    background: #fff;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 1rem;
}

.resource-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--lavender-light);
    color: var(--purple-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.resource-info {
    flex: 1;
    min-width: 200px;
}

.resource-link {
    color: var(--purple-primary);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.resource-link:hover {
    text-decoration: underline;
}

.partner-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    height: 100%;
    transition: var(--transition);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.partner-logo {
    max-height: 64px;
    margin-bottom: 1rem;
    object-fit: contain;
}

.partner-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--lavender-light);
    color: var(--purple-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.benefit-list {
    text-align: left;
    padding-left: 1.25rem;
    margin: 0;
    color: #444;
}

.volunteer-page-section {
    padding: 80px 0;
    background: var(--gray-light);
}

.volunteer-info {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    height: 100%;
}

.volunteer-info .volunteer-hero-img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
    display: block;
}

.volunteer-info h2 {
    color: var(--purple-deep);
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.volunteer-info ul {
    margin: 0 0 1.25rem;
    padding-left: 1.25rem;
    color: #444;
    line-height: 1.6;
}

.volunteer-info ul li {
    margin-bottom: 0.5rem;
}

.volunteer-info .quote-box {
    background: var(--lavender-light);
    border-left: 4px solid var(--purple-primary);
    padding: 1rem 1.25rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: #444;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.volunteer-info .note-box {
    background: #fffef5;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    color: #555;
}

.volunteer-form {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    height: 100%;
}

.volunteer-form h2 {
    color: var(--purple-deep);
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.volunteer-form .join-as-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-bottom: 0.25rem;
}

.impact-section {
    padding: 80px 5%;
    background: var(--gray-light);
}

.impact-image {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.donation-content {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    text-align: center;
}

.qr-code {
    max-width: 220px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1rem auto;
    display: block;
}

/* Program initiative pages */
.program-pillar-title {
    letter-spacing: 0.05em;
}

.education-text-highlight {
    background: transparent;
    padding: 0;
}

.education-rise-arise-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.education-rise-arise-card__title {
    font-weight: 800;
    letter-spacing: 0.06em;
}

.education-rise-arise-card__subtitle {
    font-weight: 700;
    color: rgba(30, 16, 40, 0.85);
}

.education-rise-arise-card__icon {
    width: 120px;
    height: 120px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(123, 47, 157, 0.10);
    border: 1px solid rgba(123, 47, 157, 0.18);
    color: var(--purple-primary);
    font-size: 3rem;
}

.education-rise-arise-card__goal {
    font-weight: 700;
    color: rgba(30, 16, 40, 0.9);
    line-height: 1.65;
}

.education-rise-arise-card__link {
    margin-top: auto;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.6rem 1.25rem;
    background: var(--purple-primary);
    border-color: var(--purple-primary);
    color: #fff;
    box-shadow: 0 10px 26px -18px rgba(90, 30, 122, 0.85);
}

.education-rise-arise-card__link:hover {
    background: var(--purple-deep);
    border-color: var(--purple-deep);
    color: #fff;
}

.program-pillar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(5.5rem, 22vw, 7.5rem);
    height: clamp(5.5rem, 22vw, 7.5rem);
    border-radius: var(--radius);
    background: rgba(123, 47, 157, 0.08);
    border: 1px solid rgba(123, 47, 157, 0.2);
    font-size: clamp(2.25rem, 7vw, 3.25rem);
    color: var(--purple-primary);
    line-height: 1;
}

.program-pillar-icon--card {
    width: 4.25rem;
    height: 4.25rem;
    min-width: 4.25rem;
    font-size: 1.65rem;
}

.program-pillar-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem 1.25rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.program-pillar-card:hover {
    border-color: rgba(123, 47, 157, 0.22);
    box-shadow: 0 8px 24px rgba(18, 38, 63, 0.08);
}

.program-pillar-card__body {
    min-width: 0;
}

@media (min-width: 576px) {
    .program-pillar-card {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 1.15rem;
        padding: 1.5rem 1.35rem;
    }
}

.initiative-intro {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.initiative-intro--split {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

.initiative-intro--split .initiative-intro__figure {
    margin: 0;
}

.initiative-intro--split .impact-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.initiative-intro__figure--rounded {
    overflow: hidden;
    border-radius: var(--radius);
}

.initiative-intro__img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    vertical-align: middle;
}

.health-top-quote {
    display: inline-block;
    font-size: clamp(1.15rem, 2.1vw, 1.65rem);
    line-height: 1.35;
    font-weight: 700;
    color: var(--purple-deep);
    margin: 0;
    padding: 0.65rem 1rem;
    border-left: 4px solid var(--purple-primary);
    background: linear-gradient(90deg, rgba(123, 47, 157, 0.08) 0%, rgba(123, 47, 157, 0.02) 100%);
    border-radius: 0 12px 12px 0;
    box-shadow: 0 8px 20px -24px rgba(90, 30, 122, 0.9);
}

.health-intro-copy {
    font-size: 0.94rem;
    line-height: 1.58;
    color: rgba(30, 16, 40, 0.85);
}

.health-intro-copy p {
    margin-bottom: 0.9rem;
}
.initiative-areas {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}
.initiative-area-item {
    background: var(--gray-light);
    border-radius: var(--radius);
    padding: 1.25rem 1rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    min-width: 0;
    max-width: 240px;
    width: 100%;
    justify-self: center;
}
.initiative-area-item:hover {
    box-shadow: var(--shadow-sm);
    border-color: rgba(123, 47, 157, 0.25);
}
.initiative-area-item i {
    font-size: 1.75rem;
    color: var(--purple-primary);
    margin-bottom: 0.75rem;
    display: block;
}
.initiative-area-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.35;
    color: var(--dark);
}
.initiative-sdg-icons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.25rem 1.75rem;
    margin-bottom: 0;
}
.initiative-sdg-icon {
    height: auto;
    max-height: 92px;
    width: auto;
    max-width: min(104px, 32vw);
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
}
@media (min-width: 576px) {
    .initiative-sdg-icon {
        max-height: 110px;
        max-width: 118px;
    }
}
.initiative-subsection {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.health-quote-callout {
    max-width: 52rem;
    margin-inline: auto;
    padding: 1.5rem 1.25rem;
    border-radius: 22px;
    border: 1px solid rgba(123, 47, 157, 0.22);
    background: linear-gradient(135deg, rgba(123, 47, 157, 0.1) 0%, rgba(212, 175, 55, 0.08) 100%);
    box-shadow: 0 14px 36px -30px rgba(90, 30, 122, 0.55);
    position: relative;
}

.health-quote-callout::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    pointer-events: none;
}

.health-quote-callout__quote {
    position: relative;
    z-index: 1;
    margin: 0;
    text-align: center;
}

.health-quote-callout__quote p {
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    line-height: 1.6;
    font-style: italic;
    font-weight: 500;
    color: var(--purple-deep);
    margin: 0;
}

@media (min-width: 768px) {
    .health-quote-callout {
        padding: 1.75rem 2.25rem;
    }
}

.health-approach-list {
    max-width: 56rem;
    display: grid;
    gap: 0.75rem;
}

.health-reality-grid {
    max-width: 58rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.health-reality-card {
    background: #fff;
    border: 1px solid rgba(30, 16, 40, 0.12);
    border-radius: 12px;
    padding: 0.9rem 0.9rem 0.85rem;
    border-top-width: 3px;
    box-shadow: 0 10px 24px -28px rgba(20, 15, 25, 0.75);
}

.health-reality-card h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 700;
    color: #2e2438;
}

.health-reality-card p {
    margin: 0.45rem 0 0;
    font-size: 0.93rem;
    line-height: 1.48;
    color: rgba(30, 16, 40, 0.8);
}

.health-reality-card--silence {
    border-top-color: #db6b45;
}

.health-reality-card--hygiene {
    border-top-color: #d99136;
}

.health-reality-card--dropout {
    border-top-color: #7a73e0;
}

.health-reality-card--distress {
    border-top-color: #d26aa0;
}

.health-framework-grid {
    max-width: 56rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.health-framework-card {
    background: #fff;
    border: 1px solid rgba(30, 16, 40, 0.12);
    border-radius: 14px;
    padding: 1rem 1rem 1rem 1.15rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 14px 30px -30px rgba(20, 15, 25, 0.7);
}

.health-framework-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: #bbb;
}

.health-framework-card__letter {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    line-height: 1;
    font-weight: 700;
    margin-bottom: 0.45rem;
    border: 1px solid currentColor;
    background: rgba(255, 255, 255, 0.85);
}

.health-framework-card h3 {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.2;
    font-weight: 600;
}

.health-framework-card p {
    margin: 0.4rem 0 0;
    font-size: 0.93rem;
    line-height: 1.5;
}

.health-framework-card--poverty {
    border-color: #f1d2c8;
}

.health-framework-card--poverty .health-framework-card__letter,
.health-framework-card--poverty h3 {
    color: #99472f;
}

.health-framework-card--poverty p {
    color: #8a4c38;
}

.health-framework-card--poverty::before {
    background: #cc6d50;
}

.health-framework-card--awareness {
    border-color: #efd2e1;
}

.health-framework-card--awareness .health-framework-card__letter,
.health-framework-card--awareness h3 {
    color: #9d4067;
}

.health-framework-card--awareness p {
    color: #8f4f69;
}

.health-framework-card--awareness::before {
    background: #c8648d;
}

.health-framework-card--parenting {
    border-color: #cce8e3;
}

.health-framework-card--parenting .health-framework-card__letter,
.health-framework-card--parenting h3 {
    color: #1f7469;
}

.health-framework-card--parenting p {
    color: #2a6f69;
}

.health-framework-card--parenting::before {
    background: #2c9384;
}

.health-framework-card--planet {
    border-color: #dce8c7;
}

.health-framework-card--planet .health-framework-card__letter,
.health-framework-card--planet h3 {
    color: #5f7f3b;
}

.health-framework-card--planet p {
    color: #5e7446;
}

.health-framework-card--planet::before {
    background: #84a55b;
}

.health-approach-list__item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(30, 16, 40, 0.1);
    background: #fff;
    box-shadow: 0 8px 18px -24px rgba(20, 15, 25, 0.75);
}

.health-approach-list__icon {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    flex: 0 0 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--purple-primary);
    background: linear-gradient(135deg, rgba(123, 47, 157, 0.14), rgba(212, 175, 55, 0.16));
}

.health-approach-list__icon i {
    font-size: 0.9rem;
}

.health-approach-list__content h3 {
    margin: 0 0 0.2rem;
    font-size: 1.02rem;
    line-height: 1.25;
    color: var(--dark);
}

.health-approach-list__content p {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.45;
    color: rgba(30, 16, 40, 0.78);
}

@media (max-width: 576px) {
    .health-reality-grid {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .health-reality-card {
        padding: 0.85rem 0.8rem;
    }

    .health-reality-card h3 {
        font-size: 0.98rem;
    }

    .health-reality-card p {
        font-size: 0.91rem;
    }

    .health-framework-grid {
        grid-template-columns: 1fr;
    }

    .health-framework-card h3 {
        font-size: 1.02rem;
    }

    .health-framework-card p {
        font-size: 0.92rem;
    }

    .health-approach-list__item {
        padding: 0.8rem 0.85rem;
    }

    .health-approach-list__content h3 {
        font-size: 0.98rem;
    }

    .health-approach-list__content p {
        font-size: 0.92rem;
    }
}

/* program-education.php, program-livelihood.php, program-health.php, program-rural.php, program-nature.php & program-agriculture.php — SROI framework (flow / diagram layout) */
.education-sroi-framework__lead {
    max-width: 38rem;
    font-size: 0.98rem;
    line-height: 1.55;
    color: rgba(30, 16, 40, 0.68);
}

/* program-nature.php — Theory of Change flow (pills + arrows) */
.approach {
    max-width: 1150px;
    margin-left: auto;
    margin-right: auto;
}

.challenge {
    max-width: 1150px;
    margin-left: auto;
    margin-right: auto;
}

.challenge__lead {
    max-width: 62rem;
    color: rgba(30, 16, 40, 0.72);
    font-size: 0.98rem;
    line-height: 1.65;
}

.challenge-chain {
    padding: 1.2rem 1.1rem;
    border-radius: 18px;
    background: rgba(250, 249, 246, 0.95);
    border: 1px solid rgba(30, 16, 40, 0.12);
}

.challenge-chain__title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(30, 16, 40, 0.62);
    text-align: center;
    margin-bottom: 0.85rem;
}

.challenge-stepper {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
    position: relative;
}

.challenge-stepper::before {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    top: 1.05rem;
    height: 2px;
    background: linear-gradient(90deg, rgba(253, 126, 20, 0.35), rgba(253, 126, 20, 0.85));
    border-radius: 2px;
}

.challenge-step {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 0.55rem;
    position: relative;
    z-index: 1;
}

.challenge-step__node {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.95);
    background: linear-gradient(135deg, rgba(253, 126, 20, 0.95), rgba(255, 99, 71, 0.9));
    box-shadow: 0 10px 18px -12px rgba(253, 126, 20, 0.7);
    border: 3px solid rgba(250, 249, 246, 0.95);
}

.challenge-step__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.75rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(30, 16, 40, 0.14);
    color: rgba(30, 16, 40, 0.76);
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.2;
    min-height: 2.55rem;
}

@media (max-width: 980px) {
    .challenge-stepper {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .challenge-stepper::before {
        left: 1.05rem;
        right: auto;
        top: 0.9rem;
        bottom: 0.9rem;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, rgba(253, 126, 20, 0.35), rgba(253, 126, 20, 0.85));
    }
    .challenge-step {
        grid-template-columns: auto 1fr;
        justify-items: start;
        text-align: left;
        align-items: center;
        column-gap: 0.75rem;
        row-gap: 0;
    }
    .challenge-step__label {
        justify-content: flex-start;
        min-height: unset;
        width: 100%;
    }
}

.challenge-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.challenge-card {
    position: relative;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(30, 16, 40, 0.12);
    padding: 1.15rem 1.15rem 1rem;
    min-height: 320px;
    box-shadow: 0 18px 34px -30px rgba(30, 16, 40, 0.55);
    overflow: hidden;
}

.challenge-card__accent {
    position: absolute;
    inset: 0;
    border-top: 4px solid transparent;
    border-radius: 16px;
    pointer-events: none;
}

.challenge-card__head {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}

.challenge-card__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(30, 16, 40, 0.1);
    background: rgba(30, 16, 40, 0.04);
    font-size: 1.15rem;
    flex: 0 0 auto;
}

.challenge-card__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: rgba(30, 16, 40, 0.86);
    line-height: 1.25;
}

.challenge-card__body {
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(30, 16, 40, 0.72);
    margin-bottom: 1rem;
}

/* program-arise.php — challenge section headline (title + subtitle in one line) */
.arise-challenge__headline {
    max-width: 48rem;
    color: rgba(30, 16, 40, 0.88);
    font-size: clamp(1.05rem, 1.4vw + 0.45rem, 1.3rem);
    line-height: 1.5;
    font-weight: 600;
}

.arise-challenge .challenge-grid {
    gap: 0.85rem;
}

.arise-challenge .challenge-card {
    padding: 0.95rem 1rem 0.95rem;
    min-height: unset;
    border-radius: 14px;
}

.arise-challenge .challenge-card__head {
    gap: 0.65rem;
    margin-bottom: 0.55rem;
}

.arise-challenge .challenge-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 1.05rem;
}

.arise-challenge .challenge-card__title {
    font-size: 1rem;
}

.arise-challenge .challenge-card__body {
    font-size: 0.92rem;
    line-height: 1.6;
}

.challenge-card--energy .challenge-card__accent {
    border-top-color: rgba(255, 99, 71, 0.95);
}
.challenge-card--energy .challenge-card__icon {
    color: #ff5a3c;
    background: rgba(255, 90, 60, 0.1);
    border-color: rgba(255, 90, 60, 0.2);
}
.challenge-card--water .challenge-card__accent {
    border-top-color: rgba(255, 193, 7, 0.95);
}
.challenge-card--water .challenge-card__icon {
    color: #b58100;
    background: rgba(255, 193, 7, 0.12);
    border-color: rgba(255, 193, 7, 0.22);
}
.challenge-card--green .challenge-card__accent {
    border-top-color: rgba(111, 66, 193, 0.95);
}
.challenge-card--green .challenge-card__icon {
    color: #6f42c1;
    background: rgba(111, 66, 193, 0.1);
    border-color: rgba(111, 66, 193, 0.22);
}
/* program-rise.php — tighter "The challenge" section */
.rise-challenge .challenge-grid {
    gap: 0.75rem;
}
.rise-challenge .challenge-card {
    padding: 0.8rem 0.9rem 0.75rem;
    min-height: unset;
    border-radius: 14px;
    box-shadow: 0 14px 30px -26px rgba(30, 16, 40, 0.48);
}
.rise-challenge .challenge-card__accent {
    border-radius: 14px;
}
.rise-challenge .challenge-card__head {
    gap: 0.55rem;
    margin-bottom: 0.48rem;
}
.rise-challenge .challenge-card__icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: 1.02rem;
}
.rise-challenge .challenge-card__title {
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.24;
}
.rise-challenge .challenge-card__body {
    font-size: 0.88rem;
    line-height: 1.54;
    margin-bottom: 0;
}

/* program-rise.php — approach pathway (unified vertical timeline) */
.rise-approach-journey {
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    background: linear-gradient(180deg, rgba(240, 249, 255, 0.55) 0%, rgba(250, 245, 255, 0.6) 100%);
    border: 1px solid rgba(59, 130, 246, 0.16);
    border-radius: 20px;
    box-shadow: 0 20px 50px -36px rgba(30, 16, 40, 0.4);
    overflow: hidden;
}

.rise-approach-journey__track {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 1.5rem 1.1rem 1.6rem 2.85rem;
}

/* Single continuous spine (cyan → magenta) */
.rise-approach-journey__track::before {
    content: '';
    position: absolute;
    left: 1.45rem;
    top: 2.25rem;
    bottom: 2.2rem;
    width: 6px;
    margin-left: -3px;
    border-radius: 999px;
    background: linear-gradient(180deg, #22d3ee 0%, #3b82f6 24%, #6366f1 50%, #a855f7 76%, #d946ef 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
    z-index: 0;
}

.rise-approach-journey__step {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
}

.rise-approach-journey__step:not(:last-child) {
    margin-bottom: 0.9rem;
}

/* Step node on the spine */
.rise-approach-journey__step::before {
    content: '';
    position: absolute;
    left: -1.78rem;
    top: 1.15rem;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #cbd5e1;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
    z-index: 2;
}

.rise-approach-journey__step[data-rise-step='1']::before {
    border-color: #22d3ee;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.25);
}

.rise-approach-journey__step[data-rise-step='2']::before {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
}

.rise-approach-journey__step[data-rise-step='3']::before {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.22);
}

.rise-approach-journey__step[data-rise-step='4']::before {
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.22);
}

.rise-approach-journey__step[data-rise-step='5']::before {
    border-color: #d946ef;
    box-shadow: 0 0 0 3px rgba(217, 70, 239, 0.25);
}

/* Journey step status (timeline nodes + upcoming tone) */
.rise-approach-journey__step.rise-approach-journey__step--completed::before {
    border-color: #22c55e;
    background: #ecfdf5;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.28);
}

.rise-approach-journey__step.rise-approach-journey__step--in-progress::before {
    border-color: #f59e0b;
    background: #fffbeb;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.38);
}

.rise-approach-journey__step.rise-approach-journey__step--upcoming::before {
    border-color: #cbd5e1;
    background: #f8fafc;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.1);
}

.rise-approach-journey__step--upcoming .rise-approach-journey__desc {
    color: rgba(30, 16, 40, 0.68);
}

.rise-approach-journey__card {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: 0 8px 24px -20px rgba(15, 23, 42, 0.28);
    background: #fff;
}

.rise-approach-journey__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem 1rem;
    padding: 0.85rem 1rem;
    flex-wrap: nowrap;
}

.rise-approach-journey__title {
    margin: 0;
    padding: 0;
    font-size: clamp(0.95rem, 2.1vw, 1.05rem);
    font-weight: 800;
    line-height: 1.32;
    letter-spacing: -0.01em;
    flex: 1 1 auto;
    min-width: 0;
}

.rise-approach-journey__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.38rem 0.85rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    flex-shrink: 0;
    white-space: nowrap;
    border: 1px solid transparent;
    line-height: 1.15;
}

.rise-approach-journey__badge--completed {
    background: #fff;
    border-color: rgba(22, 101, 52, 0.4);
    color: #14532d;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.rise-approach-journey__badge--in-progress {
    background: #fff;
    border-color: rgba(180, 83, 9, 0.5);
    color: #9a3412;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.rise-approach-journey__badge--upcoming {
    background: #fff;
    border-color: rgba(71, 85, 105, 0.4);
    color: #334155;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

@media (max-width: 520px) {
    .rise-approach-journey__head {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .rise-approach-journey__title {
        flex-basis: 100%;
    }

    .rise-approach-journey__badge {
        margin-left: auto;
    }
}

.rise-approach-journey__desc {
    padding: 0.85rem 1rem 1rem;
    font-size: clamp(0.86rem, 1.9vw, 0.95rem);
    line-height: 1.55;
    color: rgba(30, 16, 40, 0.78);
    background: #fff;
}

.rise-approach-journey__step[data-rise-step="1"] .rise-approach-journey__head {
    background: linear-gradient(135deg, #a5f3fc 0%, #67e8f9 55%, #38bdf8 100%);
}

.rise-approach-journey__step[data-rise-step="1"] .rise-approach-journey__title {
    color: #0f172a;
}

.rise-approach-journey__step[data-rise-step="1"] .rise-approach-journey__desc {
    border-top: 3px solid #22d3ee;
}

.rise-approach-journey__step[data-rise-step="2"] .rise-approach-journey__head {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

.rise-approach-journey__step[data-rise-step="2"] .rise-approach-journey__title {
    color: #fff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

.rise-approach-journey__step[data-rise-step="2"] .rise-approach-journey__desc {
    border-top: 3px solid #3b82f6;
}

.rise-approach-journey__step[data-rise-step="3"] .rise-approach-journey__head {
    background: linear-gradient(135deg, #818cf8 0%, #6366f1 45%, #4f46e5 100%);
}

.rise-approach-journey__step[data-rise-step="3"] .rise-approach-journey__title {
    color: #fff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}

.rise-approach-journey__step[data-rise-step="3"] .rise-approach-journey__desc {
    border-top: 3px solid #6366f1;
}

.rise-approach-journey__step[data-rise-step="4"] .rise-approach-journey__head {
    background: linear-gradient(135deg, #c084fc 0%, #a855f7 50%, #9333ea 100%);
}

.rise-approach-journey__step[data-rise-step="4"] .rise-approach-journey__title {
    color: #fff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}

.rise-approach-journey__step[data-rise-step="4"] .rise-approach-journey__desc {
    border-top: 3px solid #a855f7;
}

.rise-approach-journey__step[data-rise-step="5"] .rise-approach-journey__head {
    background: linear-gradient(135deg, #f0abfc 0%, #e879f9 35%, #d946ef 100%);
}

.rise-approach-journey__step[data-rise-step="5"] .rise-approach-journey__title {
    color: #422006;
}

.rise-approach-journey__step[data-rise-step="5"] .rise-approach-journey__desc {
    border-top: 3px solid #d946ef;
}

@media (max-width: 575.98px) {
    .rise-approach-journey__track {
        padding: 1.25rem 0.85rem 1.35rem 2.35rem;
    }

    .rise-approach-journey__track::before {
        left: 1.15rem;
        top: 2rem;
        bottom: 2rem;
    }

    .rise-approach-journey__step::before {
        left: -1.55rem;
        width: 0.78rem;
        height: 0.78rem;
    }

}

/* program-rise.php — theory of change */
.rise-toc__eyebrow {
    background: rgba(111, 66, 193, 0.10);
    border-color: rgba(111, 66, 193, 0.18);
    color: rgba(85, 52, 153, 0.92);
}

/* Theory of change — connected pathway (nodes + gradient rail, no step numbers) */
.rise-toc-flow {
    max-width: 56rem;
    width: 100%;
}

.rise-toc-flow__panel {
    padding: clamp(1rem, 2.5vw, 1.35rem);
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(250, 245, 255, 0.95) 0%, rgba(255, 252, 249, 0.98) 100%);
    border: 1px solid rgba(123, 47, 157, 0.12);
    box-shadow: 0 14px 40px -28px rgba(90, 30, 122, 0.35);
    overflow: visible;
}

.rise-toc-flow__track {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 0 0.05rem;
    row-gap: 1rem;
}

.rise-toc-flow__step {
    box-sizing: border-box;
    width: 7.25rem;
    min-height: 9.75rem;
    flex: 0 0 7.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.55rem;
    padding: 0.75rem 0.65rem 0.85rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(30, 16, 40, 0.08);
    box-shadow: 0 8px 22px -18px rgba(30, 16, 40, 0.2);
}

.rise-toc-flow__icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 11px;
    display: grid;
    place-items: center;
    font-size: 1.05rem;
    color: #5a1e7a;
    background: linear-gradient(155deg, rgba(123, 47, 157, 0.14) 0%, rgba(194, 87, 43, 0.1) 100%);
    border: 1px solid rgba(123, 47, 157, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        0 2px 10px rgba(90, 30, 122, 0.12);
}

.rise-toc-flow__label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.78rem, 1.65vw, 0.9rem);
    font-weight: 650;
    line-height: 1.35;
    color: rgba(30, 16, 40, 0.9);
}

.rise-toc-flow__bridge {
    flex: 1 1 1rem;
    min-width: 0.45rem;
    max-width: 3.5rem;
    height: 5px;
    align-self: flex-start;
    margin-top: calc(0.75rem + 1.25rem - 2.5px);
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(123, 47, 157, 0.65), rgba(194, 87, 43, 0.82));
    box-shadow: 0 1px 3px rgba(194, 87, 43, 0.15);
}

@media (min-width: 640px) and (max-width: 991.98px) {
    .rise-toc-flow__bridge {
        display: none;
    }

    .rise-toc-flow__track {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        gap: 0.65rem;
        row-gap: 1rem;
    }

    .rise-toc-flow__step {
        flex: 0 1 7.25rem;
        width: 7.25rem;
        max-width: calc(50% - 0.5rem);
        min-height: 9.75rem;
    }
}

@media (min-width: 992px) {
    .rise-toc-flow__track {
        flex-wrap: nowrap;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        row-gap: 0;
        gap: 0 0.05rem;
    }

    .rise-toc-flow__step {
        flex: 0 0 7.25rem;
        width: 7.25rem;
        min-height: 9.75rem;
    }

    .rise-toc-flow__bridge {
        flex: 1 1 0.75rem;
        min-width: 0.35rem;
        max-width: 2.75rem;
    }
}

@media (max-width: 639.98px) {
    .rise-toc-flow__track {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding-left: 1.35rem;
    }

    .rise-toc-flow__track::before {
        content: "";
        position: absolute;
        left: calc(1.35rem + 0.35rem + 1.25rem - 2.5px);
        top: 0.85rem;
        bottom: 0.85rem;
        width: 5px;
        border-radius: 999px;
        background: linear-gradient(180deg, rgba(123, 47, 157, 0.65), rgba(194, 87, 43, 0.82));
        z-index: 0;
    }

    .rise-toc-flow__bridge {
        display: none;
    }

    .rise-toc-flow__step {
        position: relative;
        z-index: 1;
        width: 100%;
        min-height: 6.25rem;
        max-width: none;
        flex: none;
        flex-direction: row;
        justify-content: flex-start;
        align-items: stretch;
        text-align: left;
        gap: 0.85rem;
        padding: 0.75rem 1rem 0.75rem 0.35rem;
    }

    .rise-toc-flow__label {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
    }

    .rise-toc-flow__icon {
        align-self: center;
    }
}

/* program-arise.php — theory of change (centered two-pillar flow) */
.arise-toc__panel {
    max-width: 1040px;
    background: rgba(250, 249, 246, 0.92);
    border: 1px solid rgba(30, 16, 40, 0.1);
    border-radius: 18px;
    padding: 1rem 1.1rem;
    box-shadow: 0 18px 36px -34px rgba(30, 16, 40, 0.55);
    display: grid;
    gap: 1rem;
}

.arise-toc__lane {
    display: grid;
    gap: 0.7rem;
}

.arise-toc__lane + .arise-toc__lane {
    padding-top: 1rem;
    border-top: 1px solid rgba(30, 16, 40, 0.08);
}

.arise-toc__lane-title {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 800;
    color: rgba(30, 16, 40, 0.58);
    letter-spacing: 0.03em;
}

@media (max-width: 980px) {
    .challenge-grid {
        grid-template-columns: 1fr;
    }
    .challenge-card {
        min-height: unset;
    }

    .rise-challenge .challenge-card {
        padding: 0.8rem 0.9rem 0.78rem;
        min-height: unset;
    }

    .rise-approach-journey__track {
        padding: 1.1rem 0.75rem 1.2rem 2.2rem;
    }

}

.approach__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.08);
    border: 1px solid rgba(13, 110, 253, 0.18);
    color: rgba(13, 110, 253, 0.9);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.approach__lead {
    max-width: 62rem;
    color: rgba(30, 16, 40, 0.72);
    font-size: 0.98rem;
    line-height: 1.65;
}

.approach__subhead {
    max-width: 46rem;
    font-weight: 700;
    color: rgba(30, 16, 40, 0.72);
    font-size: 1.02rem;
    line-height: 1.4;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

/* program-arise.php — approach cards (2-up, bullet lists) */
.arise-approach-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

@media (max-width: 780px) {
    .arise-approach-grid {
        grid-template-columns: 1fr;
    }
}

.arise-approach-grid .approach-card {
    min-height: unset;
    padding: 1rem 1.05rem 0.95rem;
}

.arise-approach-list {
    margin: 0.75rem 0 0;
    padding-left: 1.05rem;
    display: grid;
    gap: 0.35rem;
    font-size: 0.88rem;
    line-height: 1.45;
    color: rgba(30, 16, 40, 0.74);
}

.arise-approach-list li::marker {
    color: rgba(30, 16, 40, 0.35);
}

.arise-approach-list--blue li::marker {
    color: #0d6efd;
}

.arise-approach-list--green li::marker {
    color: #146c43;
}

.approach-card {
    border-radius: 14px;
    border: 1px solid rgba(30, 16, 40, 0.12);
    background: rgba(250, 249, 246, 0.95);
    padding: 1rem 1rem 0.95rem;
    display: grid;
    gap: 0.75rem;
    min-height: 240px;
    box-shadow: 0 14px 28px -26px rgba(30, 16, 40, 0.55);
}

.approach-card__head {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}

.approach-card__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(30, 16, 40, 0.1);
    background: rgba(30, 16, 40, 0.04);
    font-size: 1.15rem;
    flex: 0 0 auto;
}

.approach-card__title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
    color: rgba(30, 16, 40, 0.86);
}

.approach-card__subtitle {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(30, 16, 40, 0.55);
}

.approach-card__body {
    font-size: 0.86rem;
    line-height: 1.55;
    color: rgba(30, 16, 40, 0.72);
}

.approach-card__tag {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(30, 16, 40, 0.68);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(30, 16, 40, 0.1);
}

.approach-card--water {
    background: rgba(227, 242, 253, 0.8);
    border-color: rgba(13, 110, 253, 0.18);
}
.approach-card--water .approach-card__icon { color: #0d6efd; background: rgba(13, 110, 253, 0.1); border-color: rgba(13, 110, 253, 0.2); }
.approach-card--water .approach-card__tag { background: rgba(13, 110, 253, 0.06); border-color: rgba(13, 110, 253, 0.18); }

.approach-card--solar {
    background: rgba(255, 243, 205, 0.75);
    border-color: rgba(255, 193, 7, 0.25);
}
.approach-card--solar .approach-card__icon { color: #b58100; background: rgba(255, 193, 7, 0.12); border-color: rgba(255, 193, 7, 0.25); }
.approach-card--solar .approach-card__tag { background: rgba(255, 193, 7, 0.08); border-color: rgba(255, 193, 7, 0.22); }

.approach-card--biogas {
    background: rgba(232, 245, 233, 0.82);
    border-color: rgba(25, 135, 84, 0.22);
}
.approach-card--biogas .approach-card__icon { color: #198754; background: rgba(25, 135, 84, 0.12); border-color: rgba(25, 135, 84, 0.22); }
.approach-card--biogas .approach-card__tag { background: rgba(25, 135, 84, 0.07); border-color: rgba(25, 135, 84, 0.2); }

.approach-card--trees {
    background: rgba(236, 248, 232, 0.9);
    border-color: rgba(25, 135, 84, 0.18);
}
.approach-card--trees .approach-card__icon { color: #146c43; background: rgba(20, 108, 67, 0.12); border-color: rgba(20, 108, 67, 0.2); }
.approach-card--trees .approach-card__tag { background: rgba(20, 108, 67, 0.07); border-color: rgba(20, 108, 67, 0.18); }

.approach-card--gardens {
    background: rgba(241, 233, 255, 0.75);
    border-color: rgba(111, 66, 193, 0.22);
}
.approach-card--gardens .approach-card__icon { color: #6f42c1; background: rgba(111, 66, 193, 0.1); border-color: rgba(111, 66, 193, 0.22); }
.approach-card--gardens .approach-card__tag { background: rgba(111, 66, 193, 0.06); border-color: rgba(111, 66, 193, 0.18); }

@media (max-width: 1200px) {
    .approach-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .approach-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .approach-grid {
        grid-template-columns: 1fr;
    }
}

.key-areas {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.key-areas__header {
    margin-bottom: 1.35rem;
}

.key-areas__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: rgba(30, 16, 40, 0.6);
    font-weight: 600;
    font-size: 0.95rem;
}

.key-areas__divider::before,
.key-areas__divider::after {
    content: "";
    display: block;
    height: 1px;
    width: min(220px, 24vw);
    background: rgba(30, 16, 40, 0.14);
}

.key-areas__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.key-area-card {
    display: grid;
    gap: 0.55rem;
    padding: 1.15rem 0.95rem;
    border-radius: 14px;
    background: rgba(250, 249, 246, 0.9);
    border: 1px solid rgba(30, 16, 40, 0.12);
    box-shadow: 0 10px 22px -18px rgba(30, 16, 40, 0.35);
    text-align: center;
    min-height: 116px;
}

.key-area-card__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 0 auto;
    border-radius: 12px;
    background: rgba(25, 135, 84, 0.12);
    color: #198754;
    border: 1px solid rgba(25, 135, 84, 0.18);
    font-size: 1.15rem;
}

.key-area-card__title {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.35;
    font-weight: 600;
    color: rgba(30, 16, 40, 0.78);
}

@media (max-width: 1100px) {
    .key-areas__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .key-areas__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .key-areas__grid {
        grid-template-columns: 1fr;
    }
}

.toc-card {
    max-width: 1060px;
    margin-left: auto;
    margin-right: auto;
    padding: 2px;
    border-radius: 30px;
    background: linear-gradient(
        135deg,
        rgba(25, 135, 84, 0.45) 0%,
        rgba(212, 175, 55, 0.18) 45%,
        rgba(25, 135, 84, 0.28) 100%
    );
    box-shadow:
        0 6px 26px rgba(25, 135, 84, 0.08),
        0 24px 64px -34px rgba(25, 135, 84, 0.28);
}

.toc-card__inner {
    border-radius: 28px;
    padding: 1.75rem 1.25rem 1.35rem;
    background: radial-gradient(circle at top, rgba(25, 135, 84, 0.08) 0%, rgba(255, 255, 255, 1) 58%);
}

.toc-card__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(25, 135, 84, 0.12);
    border: 1px solid rgba(25, 135, 84, 0.18);
    color: rgba(15, 90, 54, 0.92);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.toc-card__lead {
    max-width: 56rem;
    color: rgba(30, 16, 40, 0.72);
    font-size: 0.98rem;
    line-height: 1.65;
}

.toc-flow {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.25rem;
}

.toc-flow--strip {
    padding: 1rem 0.9rem;
    border-radius: 22px;
    background: rgba(25, 135, 84, 0.06);
    border: 1px dashed rgba(25, 135, 84, 0.22);
}

.toc-flow__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

.toc-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 1rem;
    border-radius: 999px;
    background: rgba(25, 135, 84, 0.12);
    border: 1px solid rgba(25, 135, 84, 0.25);
    color: #198754;
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.2;
    white-space: nowrap;
}

.toc-arrow {
    color: #198754;
    opacity: 0.85;
}

@media (max-width: 520px) {
    .toc-pill {
        white-space: normal;
        text-align: center;
    }
}

.education-sroi-panel {
    max-width: 1000px;
    padding: 2px;
    border-radius: 32px;
    background: linear-gradient(
        125deg,
        rgba(123, 47, 157, 0.38) 0%,
        rgba(212, 175, 55, 0.28) 48%,
        rgba(90, 30, 122, 0.35) 100%
    );
    box-shadow:
        0 4px 20px rgba(90, 30, 122, 0.07),
        0 24px 56px -28px rgba(90, 30, 122, 0.28);
}

.education-sroi-panel__inner {
    background: linear-gradient(180deg, #faf8fc 0%, #ffffff 55%);
    border-radius: 30px;
    padding: 1.35rem 1.25rem 1.5rem;
}

/* Diagram-style legend: steps linked by arrows (not a table header row) */
.education-sroi-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem 0.6rem;
    padding: 1rem 0.85rem 1.15rem;
    margin-bottom: 1.35rem;
    border-radius: 20px;
    background: rgba(123, 47, 157, 0.06);
    border: 1px dashed rgba(123, 47, 157, 0.22);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--purple-primary);
}

.education-sroi-legend__step {
    padding: 0.42rem 0.85rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(123, 47, 157, 0.14);
    box-shadow: 0 2px 10px rgba(90, 30, 122, 0.06);
    text-align: center;
    line-height: 1.35;
    max-width: min(100%, 16rem);
}

.education-sroi-legend__arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-accent);
    font-size: 1.05rem;
    line-height: 1;
    opacity: 0.92;
}

.education-sroi-list {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.education-sroi-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.2rem 1.15rem;
    position: relative;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(123, 47, 157, 0.1);
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.education-sroi-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--purple-primary), var(--gold-accent));
    border-radius: 22px 0 0 22px;
}

/* Link framework steps vertically */
.education-sroi-card:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -0.72rem;
    transform: translateX(-50%);
    width: 2px;
    height: 0.72rem;
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(123, 47, 157, 0.35), rgba(212, 175, 55, 0.45));
    pointer-events: none;
}

.education-sroi-card:hover {
    transform: translateY(-3px);
    border-color: rgba(123, 47, 157, 0.22);
    box-shadow: 0 18px 44px -20px rgba(90, 30, 122, 0.22);
}

.education-sroi-card__metric {
    display: block;
    margin-bottom: 0.9rem;
    padding-bottom: 0;
    border-bottom: none;
}

/* Baseline → outcome as a horizontal flow (framework), not table columns */
.education-sroi-card__flow {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
}

@media (min-width: 768px) {
    .education-sroi-card__flow {
        flex-direction: row;
        align-items: stretch;
        gap: 0;
    }

    .education-sroi-card__baseline,
    .education-sroi-card__outcome {
        flex: 1 1 0;
        min-width: 0;
    }

    .education-sroi-card__flow-arrow {
        flex: 0 0 2.65rem;
        display: flex !important;
        align-items: center;
        justify-content: center;
        align-self: stretch;
        margin: 0 0.5rem;
        border-radius: 14px;
        background: linear-gradient(
            160deg,
            rgba(212, 175, 55, 0.14) 0%,
            rgba(123, 47, 157, 0.1) 100%
        );
        border: 1px solid rgba(123, 47, 157, 0.1);
        color: var(--gold-accent);
        font-size: 1.2rem;
    }
}

.education-sroi-card__flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem;
    color: var(--gold-accent);
    font-size: 1.15rem;
}

@media (max-width: 767px) {
    .education-sroi-card__flow-arrow i {
        transform: rotate(90deg);
    }
}

.education-sroi-card__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--purple-deep);
    letter-spacing: -0.01em;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--purple-primary), rgba(212, 175, 55, 0.85)) 1;
}

.education-sroi-card__k {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(123, 47, 157, 0.75);
    margin-bottom: 0.45rem;
}

.education-sroi-card__text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(30, 16, 40, 0.88);
}

.education-sroi-card__baseline {
    padding: 0.85rem 1rem;
    border-radius: 16px;
    background: rgba(249, 247, 252, 0.95);
    border: 1px solid rgba(123, 47, 157, 0.08);
}

.education-sroi-card__outcome {
    padding: 0.9rem 1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(123, 47, 157, 0.07) 0%, rgba(212, 175, 55, 0.1) 100%);
    border: 1px solid rgba(123, 47, 157, 0.12);
}

.education-sroi-card__outcome .education-sroi-card__text {
    font-weight: 600;
    color: var(--purple-deep);
}

.education-sroi-card__em {
    font-weight: 800;
    color: var(--purple-primary);
    margin-right: 0.2em;
}

.education-sroi-legend--post .education-sroi-legend__step:last-child {
    white-space: normal;
    line-height: 1.35;
}

.education-sroi-legend__sub {
    display: block;
    font-size: 0.82em;
    letter-spacing: 0.12em;
    margin-top: 0.2rem;
    opacity: 0.95;
}

.education-sroi-card__k-sub {
    font-weight: 700;
    letter-spacing: 0.12em;
}

@media (max-width: 991px) {
    .education-sroi-panel {
        border-radius: 26px;
    }

    .education-sroi-panel__inner {
        border-radius: 24px;
        padding: 1.1rem 1rem 1.25rem;
    }

    .education-sroi-card {
        padding: 1.1rem 1rem;
    }

    .education-sroi-card__text {
        font-size: 0.875rem;
    }
}

/* program pages — SROI framework (single purple palette) */
.education-sroi-framework--branded {
    --sroi-purple: #6b278c;
}

.education-sroi-shell__body {
    margin: 0;
}

.education-sroi-shell {
    max-width: 72rem;
    margin-inline: auto;
    padding: clamp(1.35rem, 3.5vw, 2.15rem);
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(107, 39, 140, 0.15);
    box-shadow:
        0 1px 2px rgba(107, 39, 140, 0.06),
        0 16px 40px -28px rgba(107, 39, 140, 0.28),
        0 20px 44px -30px rgba(107, 39, 140, 0.18);
    position: relative;
    overflow: hidden;
}

.education-sroi-shell::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 5px;
    background: var(--sroi-purple);
}

.education-sroi-shell__header {
    margin-bottom: clamp(1.1rem, 2.5vw, 1.6rem);
    padding-bottom: clamp(1rem, 2.5vw, 1.45rem);
    border-bottom: 1px solid rgba(107, 39, 140, 0.2);
}

.education-sroi-shell__title {
    margin: 0;
    font-size: clamp(1.28rem, 2.8vw, 1.62rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--sroi-purple);
    text-align: center;
}

.education-sroi-shell__title::after {
    content: "";
    display: block;
    width: 88px;
    height: 4px;
    margin: 0.75rem auto 0;
    border-radius: 4px;
    background: var(--sroi-purple);
}

.education-sroi-shell__lead {
    max-width: 40rem;
    margin-top: 0.85rem;
    font-size: clamp(0.93rem, 1.75vw, 1.05rem);
    line-height: 1.6;
    color: rgba(55, 24, 72, 0.84);
    text-align: center;
}

.education-sroi-shell__table {
    margin: 0;
}

/* —— Modern SROI (program-education): simple surface, unified header, calm grid —— */
.education-sroi-framework--modern .education-sroi-shell--modern {
    background: #fafbfc;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 16px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 12px 40px -24px rgba(107, 39, 140, 0.18),
        0 8px 32px -28px rgba(107, 39, 140, 0.15);
}

.education-sroi-framework--modern .education-sroi-shell--modern::before {
    height: 4px;
    opacity: 0.95;
}

.education-sroi-shell__eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sroi-purple);
}

.education-sroi-framework--modern .education-sroi-shell__header {
    border-bottom-color: rgba(15, 23, 42, 0.08);
    margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
    padding-bottom: clamp(1.1rem, 2.2vw, 1.5rem);
}

.education-sroi-framework--modern .education-sroi-shell__title {
    font-size: clamp(1.35rem, 2.6vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--sroi-purple);
}

.education-sroi-framework--modern .education-sroi-shell__title-brand {
    font-weight: 600;
    color: inherit;
}

.education-sroi-framework--modern .education-sroi-shell__title::after {
    width: 56px;
    height: 3px;
    margin-top: 0.65rem;
    border-radius: 999px;
    opacity: 0.9;
}

.education-sroi-framework--modern .education-sroi-shell__lead {
    margin-top: 0.75rem;
    max-width: 34rem;
    font-size: clamp(0.9rem, 1.6vw, 1rem);
    line-height: 1.65;
    color: #64748b;
}

.education-sroi-framework--branded.education-sroi-framework--modern .education-sroi-matrix-wrap--modern {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.education-sroi-framework--branded.education-sroi-framework--modern .education-sroi-matrix {
    width: 100%;
    min-width: 100%;
    margin: 0;
    border-collapse: collapse;
    border-spacing: 0;
    background: #ffffff;
    table-layout: fixed;
}

.education-sroi-framework--branded.education-sroi-framework--modern .education-sroi-matrix thead {
    background: var(--sroi-purple);
}

.education-sroi-framework--branded.education-sroi-framework--modern .education-sroi-matrix thead th {
    padding: 0.95rem 1rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.96);
    text-align: center;
    vertical-align: middle;
    line-height: 1.4;
    border: none;
    background: transparent;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.education-sroi-framework--branded.education-sroi-framework--modern .education-sroi-matrix thead th:last-child {
    border-right: none;
}

.education-sroi-framework--branded.education-sroi-framework--modern .education-sroi-matrix tbody td {
    padding: 0.85rem 1rem;
    font-size: clamp(0.8125rem, 1.5vw, 0.9375rem);
    line-height: 1.55;
    text-align: center;
    vertical-align: middle;
    hyphens: auto;
    word-break: break-word;
    border-bottom: 1px solid #f1f5f9;
}

.education-sroi-framework--branded.education-sroi-framework--modern .education-sroi-matrix tbody tr:nth-child(even) td {
    background: #f8fafc;
}

.education-sroi-framework--branded.education-sroi-framework--modern .education-sroi-matrix tbody tr:last-child td {
    border-bottom: none;
}

.education-sroi-framework--branded.education-sroi-framework--modern .education-sroi-matrix tbody td:nth-child(1) {
    width: 30%;
    font-weight: 600;
    color: #1e293b;
    background: transparent;
    border-left: 3px solid var(--sroi-purple);
    padding-left: clamp(0.85rem, 2vw, 1.1rem);
}

.education-sroi-framework--branded.education-sroi-framework--modern .education-sroi-matrix tbody td:nth-child(2) {
    width: 34%;
    font-weight: 400;
    color: #64748b;
    background: transparent;
}

.education-sroi-framework--branded.education-sroi-framework--modern .education-sroi-matrix tbody td:nth-child(3) {
    width: 36%;
    font-weight: 600;
    color: var(--sroi-purple);
    background: transparent;
}

.education-sroi-framework--branded.education-sroi-framework--modern .education-sroi-matrix tbody td strong {
    font-weight: 700;
    color: var(--sroi-purple);
}

/* Tighter vertical rhythm below SROI framework (Impact strip, SDG footer strip, Partner CTAs, etc.) */
.initiative-subsection.education-sroi-framework ~ .initiative-footer-strip {
    margin-top: 1.25rem !important;
}

/* RISE-style layout: SROI block is nested; footer strip follows the wrapping subsection */
.initiative-subsection:has(> .education-sroi-framework:last-child) + .initiative-footer-strip {
    margin-top: 1.25rem !important;
}

.initiative-subsection.education-sroi-framework ~ .initiative-subsection:not(.education-sroi-framework) {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
}

@media (max-width: 991px) {
    .education-sroi-shell {
        padding: 1.1rem 0.85rem 1.15rem;
        border-radius: 18px;
    }

    .education-sroi-framework--modern .education-sroi-shell--modern {
        border-radius: 14px;
    }

    .education-sroi-framework--branded.education-sroi-framework--modern .education-sroi-matrix {
        min-width: 32rem;
    }

    .education-sroi-framework--branded.education-sroi-framework--modern .education-sroi-matrix thead th {
        padding: 0.75rem 0.55rem;
        font-size: 0.62rem;
        letter-spacing: 0.07em;
    }

    .education-sroi-framework--branded.education-sroi-framework--modern .education-sroi-matrix tbody td {
        padding: 0.7rem 0.55rem;
    }
}

/* program-education.php & program-health.php — impact showcase */
.initiative-subsection--program-impact {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
}

.program-impact-header__eyebrow {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--purple-primary);
    margin-bottom: 0.65rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(123, 47, 157, 0.12), rgba(212, 175, 55, 0.12));
    border: 1px solid rgba(123, 47, 157, 0.15);
}

.program-impact-header .section-title {
    margin-bottom: 0.5rem;
}

.program-impact-header .section-title::after {
    margin-top: 0.55rem;
}

.program-impact-header--home-programs .section-title {
    margin-bottom: 2.5rem;
}

.program-impact-header__lead {
    font-size: 0.95rem;
    color: rgba(30, 16, 40, 0.58);
    max-width: 26rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.45;
}

.program-impact-showcase {
    position: relative;
    border-radius: 28px;
    padding: clamp(1.1rem, 2.4vw, 1.6rem);
    background: linear-gradient(135deg, rgba(243, 234, 248, 0.95), rgba(255, 255, 255, 0.92));
    border: 1px solid rgba(123, 47, 157, 0.12);
    box-shadow:
        0 12px 34px rgba(90, 30, 122, 0.08),
        0 32px 70px -44px rgba(90, 30, 122, 0.35);
}

.program-impact-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    background:
        radial-gradient(closest-side at 20% 20%, rgba(123, 47, 157, 0.14), transparent 60%),
        radial-gradient(closest-side at 80% 80%, rgba(212, 175, 55, 0.12), transparent 62%);
    opacity: 0.75;
    z-index: 0;
    pointer-events: none;
}

.program-impact-showcase::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%237B2F9D' stroke-opacity='0.06'%3E%3Cpath d='M0 32h64M32 0v64'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
}

/* Impact metric grid (used by program pages) */
.impact-metric-grid {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.85rem, 2vw, 1.35rem);
}

@media (min-width: 992px) {
    .impact-metric-grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .impact-metric-grid--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.impact-metric {
    min-width: 0;
}

.impact-metric {
    position: relative;
    padding: 1.35rem 1.2rem 1.25rem;
    text-align: center;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(123, 47, 157, 0.14);
    box-shadow: 0 18px 46px -34px rgba(90, 30, 122, 0.42);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.impact-metric::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(closest-side at 18% 18%, rgba(123, 47, 157, 0.08), transparent 62%);
    pointer-events: none;
}

.impact-metric:hover {
    transform: translateY(-4px);
    border-color: rgba(123, 47, 157, 0.24);
    box-shadow: 0 30px 70px -52px rgba(90, 30, 122, 0.6);
}

.impact-metric__icon {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    line-height: 1;
    color: var(--purple-primary);
    background: rgba(123, 47, 157, 0.1);
    border: 1px solid rgba(123, 47, 157, 0.14);
    opacity: 1;
    pointer-events: none;
}

.impact-metric__body {
    position: relative;
    z-index: 1;
}

.impact-metric__value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.06em;
}

.impact-metric__value .stat-number {
    display: block;
    font-variant-numeric: tabular-nums;
    font-size: clamp(2.15rem, 5vw, 2.85rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple-primary) 55%, #8e4cb5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.impact-metric__label {
    margin-top: 0.45rem;
    font-weight: 700;
    color: rgba(30, 16, 40, 0.78);
    line-height: 1.25;
}

.impact-metric-grid--4 .impact-metric__label {
    font-size: 0.95rem;
}

.impact-metric-grid--3 .impact-metric__label {
    font-size: 1rem;
}

.stats-grid.stats-grid--program-impact {
    position: relative;
    z-index: 1;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.85rem, 2vw, 1.35rem);
    padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.15rem, 2.5vw, 2rem) clamp(1.65rem, 3vw, 2.35rem);
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--dark);
    flex-wrap: unset;
    justify-content: unset;
}

.stats-grid.stats-grid--program-impact.stats-grid--program-impact-cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stats-grid.stats-grid--program-impact.stats-grid--program-impact-cols-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 992px) {
    .stats-grid.stats-grid--program-impact.stats-grid--program-impact-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .stats-grid.stats-grid--program-impact.stats-grid--program-impact-cols-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* Keep long "stat-number" labels from breaking layout in 5-col rows */
.stats-grid.stats-grid--program-impact.stats-grid--program-impact-cols-5 .stat-number {
    font-size: clamp(0.95rem, 1.9vw, 1.35rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.stats-grid.stats-grid--program-impact.stats-grid--program-impact-cols-5 .program-impact-stat__inner p {
    font-size: 0.68rem;
    letter-spacing: 0.05em;
}

.stats-grid.stats-grid--program-impact.stats-grid--program-impact-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.stats-grid.stats-grid--program-impact.stats-grid--program-impact-cols-3 {
    grid-template-columns: 1fr;
    gap: clamp(0.65rem, 1.4vw, 0.95rem);
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 576px) {
    .stats-grid.stats-grid--program-impact.stats-grid--program-impact-cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 640px;
    }
}

@media (min-width: 992px) {
    .stats-grid.stats-grid--program-impact.stats-grid--program-impact-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: 820px;
    }
}

/* program-rise.php — compact 3-up impact strip */
.stats-grid.stats-grid--program-impact.rise-impact-stats--compact {
    gap: clamp(0.5rem, 1.1vw, 0.75rem);
}

.stats-grid.stats-grid--program-impact.rise-impact-stats--compact .program-impact-stat__inner {
    padding: 0.9rem 0.8rem 0.82rem;
    border-radius: 16px;
}

.stats-grid.stats-grid--program-impact.rise-impact-stats--compact .program-impact-stat__icon {
    top: 0.6rem;
    right: 0.6rem;
    width: 1.65rem;
    height: 1.65rem;
    font-size: 0.7rem;
}

.stats-grid.stats-grid--program-impact.rise-impact-stats--compact .stat-number {
    font-size: clamp(1.25rem, 2.8vw, 1.85rem);
}

.stats-grid.stats-grid--program-impact.rise-impact-stats--compact .rise-impact-stats__value-text {
    font-size: clamp(0.78rem, 1.35vw, 0.98rem);
    line-height: 1.15;
}

.stats-grid.stats-grid--program-impact.rise-impact-stats--compact .program-impact-stat__inner p {
    margin-top: 0.5rem;
    font-size: 0.6rem;
    letter-spacing: 0.07em;
}

.stats-grid.stats-grid--program-impact.rise-impact-stats--compact .program-impact-stat__inner p.small {
    font-size: 0.55rem;
    letter-spacing: 0.06em;
}

.stats-grid.stats-grid--program-impact .stat-item {
    flex: unset;
    min-width: 0;
}

.program-impact-stat__inner {
    position: relative;
    height: 100%;
    padding: 1.35rem 1.2rem 1.25rem;
    text-align: center;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(123, 47, 157, 0.14);
    box-shadow: 0 18px 46px -34px rgba(90, 30, 122, 0.42);
}

.program-impact-stat:nth-child(1) .program-impact-stat__inner {
    border-left: 6px solid rgba(123, 47, 157, 0.6);
}

.program-impact-stat:nth-child(2) .program-impact-stat__inner {
    border-left: 6px solid rgba(212, 175, 55, 0.65);
}

.program-impact-stat:nth-child(3) .program-impact-stat__inner {
    border-left: 6px solid rgba(90, 30, 122, 0.6);
}

.program-impact-stat:nth-child(4) .program-impact-stat__inner {
    border-left: 6px solid rgba(155, 107, 194, 0.65);
}

.program-impact-stat__inner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(closest-side at 18% 18%, rgba(123, 47, 157, 0.08), transparent 62%);
    pointer-events: none;
}

.program-impact-stat:hover .program-impact-stat__inner {
    transform: translateY(-4px);
    border-color: rgba(123, 47, 157, 0.24);
    box-shadow: 0 30px 70px -52px rgba(90, 30, 122, 0.6);
}

.program-impact-stat:hover .program-impact-stat__icon {
    opacity: 0.18;
    transform: translateY(-1px);
}

.program-impact-stat__icon {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    line-height: 1;
    color: var(--purple-primary);
    background: rgba(123, 47, 157, 0.1);
    border: 1px solid rgba(123, 47, 157, 0.14);
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.program-impact-stat__value {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.02em;
}

.stats-grid.stats-grid--program-impact .stat-number {
    position: relative;
    z-index: 1;
    display: block;
    font-variant-numeric: tabular-nums;
    font-size: clamp(2.35rem, 5.5vw, 3.15rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple-primary) 55%, #8e4cb5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.stats-grid.stats-grid--program-impact .program-impact-stat__value .stat-number {
    display: inline-block;
}

.stats-grid.stats-grid--program-impact .program-impact-stat__suffix {
    font-size: clamp(1.35rem, 3.2vw, 1.9rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple-primary) 55%, #8e4cb5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.stats-grid.stats-grid--program-impact .program-impact-stat__inner p {
    position: relative;
    z-index: 1;
    margin: 0.75rem 0 0;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(30, 16, 40, 0.62);
    line-height: 1.35;
}

/* program-arise.php — compact impact stats (same design, smaller scale) */
.stats-grid.stats-grid--program-impact.arise-impact-compact {
    gap: clamp(0.7rem, 1.4vw, 1rem);
    padding: clamp(1.05rem, 2.2vw, 1.6rem) clamp(0.95rem, 2vw, 1.35rem) clamp(1.1rem, 2.3vw, 1.7rem);
}

.stats-grid.stats-grid--program-impact.arise-impact-compact .program-impact-stat__inner {
    padding: 1.25rem 0.95rem 1.15rem;
    border-radius: 20px;
}

.stats-grid.stats-grid--program-impact.arise-impact-compact .program-impact-stat__icon {
    top: 0.75rem;
    right: 0.75rem;
    width: 1.75rem;
    height: 1.75rem;
    font-size: clamp(0.8rem, 1.9vw, 0.95rem);
}

.stats-grid.stats-grid--program-impact.arise-impact-compact .stat-number {
    font-size: clamp(1.85rem, 4.2vw, 2.55rem);
}

.stats-grid.stats-grid--program-impact.arise-impact-compact .program-impact-stat__inner p {
    margin-top: 0.65rem;
    font-size: 0.64rem;
    letter-spacing: 0.12em;
}

.stats-grid.stats-grid--program-impact.arise-impact-compact .stat-number.arise-impact-compact__text {
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.2;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    color: var(--purple-deep);
    -webkit-text-fill-color: initial;
    text-transform: none;
}

@media (max-width: 767px) {
    .stats-grid.stats-grid--program-impact {
        grid-template-columns: 1fr;
    }

    .stats-grid.stats-grid--program-impact.stats-grid--program-impact-cols-2 {
        max-width: none;
    }

    .program-impact-showcase {
        border-radius: 26px;
    }

    .program-impact-showcase::before,
    .program-impact-showcase::after {
        border-radius: 24px;
    }
}
.program-hub-grid .card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    height: 100%;
}
.program-hub-grid .card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(123, 47, 157, 0.2);
}
.program-hub-grid .card i {
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 2rem;
    color: var(--purple-primary);
}

.program-hub-grid .card h3,
.program-hub-grid .card .h5 {
    text-align: center;
}

.program-hub-grid .card p.small {
    text-align: center;
}

.programs-sdg-banner {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* programs.php — less space between program grid and SDG quote */
.programs-page-hub.section-padding {
    padding-bottom: 52px;
}

.programs-sdg-banner.section-padding {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* programs.php — less space between SDG quote and CTA */
#programs-cta.section-padding {
    padding-top: 40px;
}

.programs-sdg-quote {
    max-width: 48rem !important;
    margin: 0 auto !important;
    padding: 0 0.75rem !important;
    text-align: center !important;
    border: none !important;
    quotes: none !important;
}

.programs-sdg-quote p {
    margin: 0;
    font-size: 1.125rem !important;
    line-height: 1.7 !important;
    color: var(--purple-deep) !important;
    font-style: italic !important;
    font-weight: 500 !important;
}

/* Impact: SDG carousel & long stories */
.sdg-carousel-wrap {
    max-width: 900px;
    margin: 0 auto;
}
.sdg-carousel-wrap .carousel-control-prev,
.sdg-carousel-wrap .carousel-control-next {
    width: 10%;
    opacity: 1;
}
.sdg-carousel-wrap .carousel-control-prev-icon,
.sdg-carousel-wrap .carousel-control-next-icon {
    filter: invert(1);
    background-color: rgba(90, 30, 122, 0.55);
    border-radius: 50%;
    padding: 1.25rem;
    background-size: 60% 60%;
    background-position: center;
}
.sdg-carousel-wrap .carousel-indicators [data-bs-target] {
    background-color: var(--purple-primary);
}
.sdg-slide-card {
    background: linear-gradient(135deg, var(--lavender-light) 0%, #fff 100%);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    border: 1px solid var(--border);
    min-height: 280px;
}
.sdg-slide-card .sdg-num {
    display: inline-block;
    background: var(--purple-primary);
    color: #fff;
    font-weight: 800;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* Impact page: SDG goal carousel (local assets/img/sdg-logo PNGs) */
.sdg-logos-carousel {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.sdg-logos-carousel .sdg-carousel-inner {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.sdg-logo-slide {
    padding: 1rem 2.25rem 0.85rem;
    text-align: center;
}
.sdg-logo-img {
    display: block;
    margin: 0 auto;
    width: auto;
    max-width: 100%;
    max-height: 160px;
    height: auto;
    object-fit: contain;
}
.sdg-logo-caption {
    margin-top: 0.65rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--purple-deep);
    line-height: 1.35;
}
.sdg-logos-carousel .carousel-control-prev,
.sdg-logos-carousel .carousel-control-next {
    width: 2rem;
    opacity: 1;
}
.sdg-logos-carousel .carousel-control-prev {
    left: -0.15rem;
}
.sdg-logos-carousel .carousel-control-next {
    right: -0.15rem;
}
.sdg-logos-carousel .carousel-control-prev-icon,
.sdg-logos-carousel .carousel-control-next-icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    background-size: 45% 45%;
}
.sdg-carousel-dots {
    position: static;
    margin: 0.65rem 0 0;
    justify-content: center;
}
.sdg-carousel-dots [data-bs-target] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin: 0 3px;
    background-color: var(--purple-primary);
    opacity: 0.35;
}
.sdg-carousel-dots [data-bs-target].active {
    opacity: 1;
}
@media (min-width: 576px) {
    .sdg-logos-carousel .sdg-logo-img {
        max-height: 120px;
    }
}
@media (max-width: 767.98px) {
    .sdg-logos-carousel {
        overflow-x: hidden;
    }
    .sdg-logos-carousel .carousel-control-prev,
    .sdg-logos-carousel .carousel-control-next {
        width: 2.5rem;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        margin: 0;
    }
    .sdg-logos-carousel .carousel-control-prev {
        left: 0;
        right: auto;
    }
    .sdg-logos-carousel .carousel-control-next {
        right: 0;
        left: auto;
    }
    .sdg-logos-carousel .carousel-control-prev-icon,
    .sdg-logos-carousel .carousel-control-next-icon {
        width: 2.25rem;
        height: 2.25rem;
        background-color: var(--purple-deep);
        filter: none;
    }
    .sdg-carousel-dots {
        position: relative;
        bottom: auto;
        margin-top: 0.5rem;
        margin-bottom: 0;
    }
}

.story-long {
    text-align: left;
}
.story-long h4 {
    color: var(--purple-deep);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.story-long p {
    margin-bottom: 1rem;
    line-height: 1.65;
    color: #333;
}

.page-impact #impact-stories .impact-story-img {
    width: 100%;
    height: clamp(280px, 40vw, 460px);
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 1.25rem;
}
.milestone-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.milestone-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.milestone-list li i {
    color: var(--purple-primary);
    margin-top: 0.2rem;
}
.milestone-list--narrow {
    max-width: 640px;
    margin: 0 auto;
}

/* ========== Impact page: milestones rail & program impact bento ========== */
.milestones-band {
    background: linear-gradient(180deg, #fff 0%, var(--gray-light) 42%, #fff 100%);
    border-block: 1px solid var(--border);
}

.milestones-band__lead,
.program-impact-band__lead {
    max-width: 38rem;
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 2.25rem;
}

.milestone-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
    position: relative;
}

@media (min-width: 1200px) {
    .milestone-rail {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .milestone-rail::before {
        content: '';
        position: absolute;
        top: 2.35rem;
        left: 10%;
        right: 10%;
        height: 3px;
        background: linear-gradient(90deg, var(--purple-soft), var(--gold-accent), var(--purple-soft));
        border-radius: 999px;
        opacity: 0.4;
        z-index: 0;
        pointer-events: none;
    }

    .milestone-node {
        position: relative;
        z-index: 1;
    }
}

.milestone-node {
    background: #fff;
    border-radius: calc(var(--radius) + 6px);
    padding: 1.5rem 1.25rem 1.65rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
}

.milestone-node:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(123, 47, 157, 0.22);
}

.milestone-node__icon {
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--lavender-light), #fff);
    border: 2px solid rgba(123, 47, 157, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    color: var(--purple-primary);
    margin-bottom: 1rem;
    box-shadow: 0 8px 22px rgba(90, 30, 122, 0.1);
}

.milestone-node__step {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--purple-soft);
    margin-bottom: 0.45rem;
}

.milestone-node__subtitle {
    font-size: clamp(0.92rem, 1.05vw, 1.05rem);
    font-weight: 700;
    color: var(--purple-primary);
    line-height: 1.38;
    margin: 0 0 0.65rem;
}

.milestone-node__text {
    font-size: 0.98rem;
    line-height: 1.55;
    color: #3d3848;
}

@media (max-width: 991px) {
    .milestone-rail {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .milestone-node {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 1.1rem;
        padding: 1.2rem 1.15rem;
    }

    .milestone-node__icon {
        flex-shrink: 0;
        margin-bottom: 0;
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.2rem;
    }
}

.program-impact-band {
    position: relative;
    background: linear-gradient(165deg, #faf7fc 0%, #fff 38%, #f3eef8 100%);
    overflow: hidden;
}

.program-impact-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 85% 55% at 50% -15%, rgba(123, 47, 157, 0.14), transparent 55%),
        radial-gradient(ellipse 50% 45% at 100% 100%, rgba(21, 107, 82, 0.08), transparent 50%),
        radial-gradient(ellipse 40% 35% at 0% 85%, rgba(212, 175, 55, 0.06), transparent 45%);
    pointer-events: none;
}

.program-impact-band .container {
    position: relative;
    z-index: 1;
}

.program-impact-band__eyebrow {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--purple-primary);
    margin-bottom: 0.75rem;
    padding: 0.38rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(123, 47, 157, 0.11), rgba(212, 175, 55, 0.1));
    border: 1px solid rgba(123, 47, 157, 0.14);
    box-shadow: 0 2px 12px rgba(90, 30, 122, 0.06);
}

.program-impact-band__intro {
    margin-bottom: 2.25rem;
}

.program-impact-band__section-title {
    margin-bottom: 0.55rem;
    white-space: nowrap;
}

.program-impact-band__section-title::after {
    margin-top: 0.65rem;
}

.program-impact-band__intro .program-impact-band__lead {
    margin-bottom: 0;
    max-width: 36rem;
    font-size: 1.02rem;
    line-height: 1.65;
    color: rgba(35, 28, 46, 0.62);
}

.program-impact-bento-wrap {
    position: relative;
    border-radius: clamp(22px, 3vw, 28px);
    padding: clamp(1rem, 2.5vw, 1.5rem);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(243, 234, 248, 0.55));
    border: 1px solid rgba(123, 47, 157, 0.13);
    box-shadow:
        0 16px 44px rgba(90, 30, 122, 0.07),
        0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

.program-impact-bento-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(closest-side at 18% 12%, rgba(123, 47, 157, 0.1), transparent 58%),
        radial-gradient(closest-side at 88% 92%, rgba(212, 175, 55, 0.09), transparent 55%);
    opacity: 0.85;
    pointer-events: none;
}

.program-impact-bento-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%237B2F9D' stroke-opacity='0.055'%3E%3Cpath d='M0 36h72M36 0v72'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.85;
    pointer-events: none;
}

.program-impact-bento {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.85rem, 1.8vw, 1.15rem);
    align-items: stretch;
}

@media (max-width: 1199px) {
    .program-impact-bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .program-impact-bento {
        grid-template-columns: 1fr;
    }

    .program-impact-band__section-title {
        white-space: normal;
    }

    .program-impact-bento-wrap {
        padding: 1rem 0.85rem;
    }
}

@media (min-width: 1200px) {
    .program-impact-bento .impact-pillar__head {
        padding: 0.85rem 0.9rem;
        gap: 0.65rem;
    }

    .program-impact-bento .impact-pillar__icon {
        width: 42px;
        height: 42px;
        font-size: 1.15rem;
    }

    .program-impact-bento .impact-pillar__title {
        font-size: 1.05rem;
        white-space: normal;
        line-height: 1.25;
    }

    .program-impact-bento .impact-pillar__list li {
        font-size: 0.82rem;
        column-gap: 0.5rem;
        padding: 0.55rem 0.65rem 0.55rem 0.6rem;
    }

    .program-impact-bento .impact-pillar__row-icon {
        width: 1.85rem;
        height: 1.85rem;
        font-size: 0.8rem;
    }

    .program-impact-bento .impact-pillar__row-value {
        padding: 0.15rem 0.45rem;
        font-size: 0.78rem;
    }
}

/* Impact page — pillar cards inside Program Impact band */
.program-impact-band .impact-pillar {
    border-radius: 18px;
    border: 1px solid rgba(123, 47, 157, 0.1);
    box-shadow:
        0 6px 20px rgba(90, 30, 122, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.75) inset;
    overflow: hidden;
}

.program-impact-band .impact-pillar:hover {
    transform: translateY(-4px);
    box-shadow:
        0 14px 36px rgba(90, 30, 122, 0.11),
        0 0 0 1px rgba(255, 255, 255, 0.85) inset;
}

.program-impact-band .impact-pillar--education {
    border-top: 3px solid var(--purple-deep);
}

.program-impact-band .impact-pillar--health {
    border-top: 3px solid #a04578;
}

.program-impact-band .impact-pillar--livelihood {
    border-top: 3px solid #5c4a7a;
}

.program-impact-band .impact-pillar--nature {
    border-top: 3px solid #1d7a5c;
}

.program-impact-band .impact-pillar__head {
    padding: 1rem 1.2rem;
}

.program-impact-band .impact-pillar__icon {
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.program-impact-band .impact-pillar__list {
    flex: 1 1 auto;
    padding: 0;
}

.program-impact-band .impact-pillar__list li {
    transition: background 0.2s ease;
}

.program-impact-band .impact-pillar__list li:hover {
    background: rgba(123, 47, 157, 0.06) !important;
}

.program-impact-band .impact-pillar--nature .impact-pillar__list li:hover {
    background: rgba(21, 107, 82, 0.08) !important;
}

.program-impact-band .impact-pillar__row-value {
    font-variant-numeric: tabular-nums;
}

.program-impact-band .impact-pillar__row-label {
    white-space: normal;
    text-overflow: unset;
    line-height: 1.4;
    font-weight: 600;
}

.impact-pillar {
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.25s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.impact-pillar:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.impact-pillar__head {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.05rem 1.35rem;
    color: #fff;
    flex-wrap: nowrap;
}

.impact-pillar--education .impact-pillar__head {
    background: linear-gradient(115deg, var(--purple-deep), var(--purple-primary));
}

.impact-pillar--health .impact-pillar__head {
    background: linear-gradient(115deg, var(--purple-primary), #b85a8c);
}

.impact-pillar--livelihood .impact-pillar__head {
    background: linear-gradient(115deg, #4c3d69, var(--purple-soft));
}

.impact-pillar--nature .impact-pillar__head {
    background: linear-gradient(115deg, #156b52, #2a9d7a);
}

.impact-pillar__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.impact-pillar__title {
    margin: 0;
    font-size: 1.18rem;
    font-weight: 700;
    color: inherit;
    white-space: nowrap;
}

.impact-pillar__list {
    padding: 0.15rem 0 0;
}

.impact-pillar__list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 0.85rem;
    padding: 0.72rem 1.25rem 0.72rem 1.15rem;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #3a3444;
    border-bottom: 1px solid rgba(123, 47, 157, 0.07);
}

.impact-pillar__row-icon {
    flex-shrink: 0;
    width: 2.125rem;
    height: 2.125rem;
    margin-top: 0.06rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    line-height: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.impact-pillar--education .impact-pillar__row-icon {
    background: rgba(90, 30, 122, 0.1);
    color: var(--purple-deep);
}

.impact-pillar--health .impact-pillar__row-icon {
    background: rgba(123, 47, 157, 0.12);
    color: #8e3d6b;
}

.impact-pillar--livelihood .impact-pillar__row-icon {
    background: rgba(75, 61, 105, 0.12);
    color: #4c3d69;
}

.impact-pillar--nature .impact-pillar__row-icon {
    background: rgba(21, 107, 82, 0.12);
    color: #156b52;
}

.impact-pillar__list li:hover .impact-pillar__row-icon {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(90, 30, 122, 0.12);
}

.impact-pillar--health .impact-pillar__list li:hover .impact-pillar__row-icon {
    box-shadow: 0 4px 12px rgba(142, 61, 107, 0.16);
}

.impact-pillar--livelihood .impact-pillar__list li:hover .impact-pillar__row-icon {
    box-shadow: 0 4px 12px rgba(76, 61, 105, 0.18);
}

.impact-pillar--nature .impact-pillar__list li:hover .impact-pillar__row-icon {
    box-shadow: 0 4px 12px rgba(21, 107, 82, 0.15);
}

.impact-pillar__row-text {
    /* legacy */
    flex: 1;
    min-width: 0;
}

.impact-pillar__row-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

.impact-pillar__row-value {
    flex-shrink: 0;
    white-space: nowrap;
    font-weight: 700;
    color: var(--purple-deep);
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(123, 47, 157, 0.1);
}

.impact-pillar__row-text strong {
    font-weight: 700;
    color: var(--purple-deep);
}

.impact-pillar--nature .impact-pillar__row-text strong {
    color: #145a45;
}

.impact-pillar--nature .impact-pillar__row-value {
    color: #145a45;
    background: rgba(21, 107, 82, 0.12);
}

@media (max-width: 420px) {
    .impact-pillar__title {
        white-space: normal;
    }

    .impact-pillar__list li {
        grid-template-columns: auto 1fr;
        row-gap: 0.25rem;
        align-items: start;
    }

    .impact-pillar__row-value {
        grid-column: 2;
        justify-self: start;
    }
}

.impact-pillar__list li:nth-child(odd) {
    background: rgba(243, 234, 248, 0.4);
}

.impact-pillar--nature .impact-pillar__list li:nth-child(odd) {
    background: rgba(212, 237, 218, 0.35);
}

.impact-pillar__list li:last-child {
    border-bottom: none;
}

.impact-table-wrap {
    overflow-x: auto;
    margin-top: 2rem;
}
.impact-sdg-table th {
    background: var(--lavender-light);
    color: var(--purple-deep);
    font-weight: 600;
    font-size: 0.9rem;
}
.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.75rem;
    justify-content: center;
}
.hero-cta-row .btn-hero-solid {
    background: #fff;
    color: var(--purple-deep);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid #fff;
    transition: var(--transition);
}
.hero-cta-row .btn-hero-solid:hover {
    background: transparent;
    color: #fff;
}
.value-card-home p {
    font-size: 0.95rem;
    line-height: 1.55;
    text-align: left;
}
.why-started-block p {
    margin-bottom: 1.1rem;
    line-height: 1.65;
}
.why-started-block p:last-child {
    margin-bottom: 0;
}

.enlift-button {
    color: white;
}

.site-main img,
.site-main video {
    max-width: 100%;
    height: auto;
}

.site-main svg {
    max-width: 100%;
}

.site-main iframe {
    max-width: 100%;
}

/* Volunteer page — “Ways to get involved” cards */
.volunteer-involved-section {
    padding: 80px 0;
    background: #fff;
}

.volunteer-involved-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: clamp(1.65rem, 4vw, 2.5rem);
    color: var(--primary);
    font-weight: 700;
}

.volunteer-way-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border);
}

.volunteer-way-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.volunteer-way-heading {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 700;
}

.volunteer-way-btn {
    margin-top: 20px;
}

.volunteer-way-note {
    font-size: 0.9rem;
    margin-top: 10px;
    color: #555;
}

.partner-reason-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    height: 100%;
    border: 1px solid var(--border);
}

.partner-reason-title {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.15rem;
    font-weight: 700;
}

/* ========== HOME (index.php) LAYOUT ========== */
.home-content-narrow {
    max-width: 1200px;
    margin: 0 auto;
}
.home-about-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}
.home-about-col {
    flex: 1 1 280px;
    min-width: 0;
}
.home-about-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 28px;
    box-shadow: var(--shadow-md);
    display: block;
}
.section-home-highlight {
    background: var(--lavender-light);
    border-radius: 48px;
    margin: 0 5% 60px;
    width: auto;
}
.home-why-inner {
    max-width: 900px;
    margin: 0 auto;
}
.home-vision-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2.5rem;
}
.home-vision-col {
    flex: 1 1 260px;
    min-width: 0;
}
.home-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.8rem;
}
.home-team-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}
.home-team-card {
    flex: 1 1 280px;
    min-width: 0;
    max-width: 420px;
}

/* index.php — section spacing */
.page-home .section {
    padding: 64px 5%;
}

.page-home #about-enlift-home {
    padding-top: 3rem;
}

.page-home .section-padding,
.page-home section.section.section-padding {
    padding: 64px 5%;
}

.page-home .impact-stats {
    padding: 64px 5%;
}

.page-home .section-home-highlight {
    margin: 0 5% 3.5rem;
}

.page-home .section .section-title {
    margin-bottom: 2.15rem;
}

.page-home .program-impact-header--home-programs .section-title {
    margin-bottom: 1.65rem;
}

.page-home #program-hub.section.section-padding {
    padding-top: 0;
    padding-bottom: 0;
}

/* index.php — Our Programs block flush with adjacent sections */
.page-home section.home-section-programs.section {
    padding-bottom: 32px;
}

.page-home .home-section-programs + .section.home-section-tight {
    padding-top: 0;
}

.page-home section.home-section-programs #program-hub.section.section-padding {
    padding-bottom: 0;
}

.page-home #home-programs .mt-4 {
    margin-top: 1rem !important;
}

/* index.php — Values, Visionaries, Founder: no extra section padding */
.page-home .section.home-section-tight {
    padding-top: 40px;
    padding-bottom: 40px;
}

.page-home .section + .section.home-section-tight {
    padding-top: 40px;
}

.page-home .section.home-section-tight + .section.home-section-tight {
    padding-top: 40px;
}

.page-home .section.home-section-tight .section-title {
    margin-bottom: 1.25rem;
}

.page-home .section.home-section-tight .cta-block {
    padding: 1.65rem 1.85rem;
}

.page-home #home-visionaries .mt-4 {
    margin-top: 1rem !important;
}

/* teams.php: same card/image pattern as index, but full width inside Bootstrap columns */
.teams-page-section .home-team-card {
    flex: none;
    max-width: none;
    width: 100%;
}

.teams-page-section .home-team-card .team-position {
    font-weight: 500;
}
.stats-grid .stat-item {
    flex: 1 1 140px;
    min-width: 0;
}

@media (max-width: 768px) {
    .team-card .team-img.team-img--large {
        height: 420px;
    }

    .footer-rich {
        padding: 2.25rem 1.25rem 1.25rem;
    }
    .footer-container {
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 2rem;
    }
    .footer-col {
        width: 100%;
        min-width: 0;
    }
    .footer-logo {
        height: auto;
        max-height: 72px;
    }
    .footer-social {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem 1.25rem;
        align-items: center;
        justify-content: flex-start;
    }
    .footer-social a.me-3 {
        margin-right: 0 !important;
    }
    .footer-address {
        font-style: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .footer-copy {
        line-height: 1.55;
        padding: 0 0.25rem;
    }
}

@media (max-width: 576px) {
    html {
        scroll-padding-top: 76px;
    }
    .section {
        padding: 48px 1rem;
    }
    .page-home .section {
        /* Mobile home: restore vertical breathing room */
        padding: 32px 1rem;
    }
    .page-home #about-enlift-home {
        padding-top: 32px;
    }
    .page-home .section-padding,
    .page-home section.section.section-padding {
        padding: 32px 1rem;
    }
    .page-home .impact-stats {
        padding: 32px 1rem;
    }
    .page-home #program-hub.section.section-padding {
        padding-top: 0;
        padding-bottom: 0;
    }
    .page-home section.home-section-programs.section {
        padding-top: 32px;
        padding-bottom: 32px;
    }
    .page-home section.home-section-programs #program-hub.section.section-padding {
        padding-bottom: 0;
    }
    .page-home .section.home-section-tight {
        padding-top: 24px;
        padding-bottom: 24px;
    }
    .page-home .section + .section.home-section-tight {
        padding-top: 24px;
    }
    .page-home .home-section-programs + .section.home-section-tight {
        padding-top: 24px;
    }
    .page-home .section.home-section-tight + .section.home-section-tight {
        padding-top: 24px;
    }
    .page-about .section {
        padding: 36px 1rem;
    }
    .page-about .section-padding,
    .page-about section.section.section-padding {
        padding: 36px 1rem;
    }
    .page-about .cta-section {
        padding: 44px 1rem;
    }
    .page-about .section-home-highlight {
        margin: 0 0 28px;
    }
    .section-title {
        font-size: clamp(1.45rem, 6.5vw, 1.85rem);
        margin-bottom: 2rem;
    }
    .hero,
    .page-hero,
    .services-hero,
    .team-hero,
    .contact-hero,
    .page-header {
        min-height: min(78vh, 640px);
    }
    .hero-content {
        padding: 2.25rem 1.15rem;
    }
    .hero-content .tagline {
        font-size: 0.72rem;
        letter-spacing: 0.14em;
    }
    .hero-content h1 {
        font-size: clamp(1rem, 4.2vw, 1.25rem);
        line-height: 1.3;
    }
    .hero-content p {
        font-size: clamp(1.12rem, 4.5vw, 1.55rem);
    }
    .card-modern {
        padding: 1.35rem 1.15rem;
        border-radius: 22px;
    }
    .section-home-highlight {
        border-radius: 22px;
        margin: 0 0 36px;
    }
    .home-about-layout {
        gap: 1.5rem;
    }
    .home-vision-row {
        gap: 1.25rem;
        margin-top: 1.75rem;
    }
    .vision-mission-box {
        padding: 1.35rem 1.1rem;
        border-radius: 22px;
    }
    .home-values-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .home-team-row {
        gap: 1.25rem;
    }
    .home-team-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
    /* Mobile: avoid fixed heights that can cause overflow/awkward cropping */
    .team-card img,
    .team-card .team-image img {
        height: auto;
        aspect-ratio: 1 / 1;
    }
    .stats-grid {
        flex-direction: column;
        align-items: stretch;
        padding: 2rem 1.15rem;
        border-radius: 22px;
        gap: 1.35rem;
    }
    .stats-grid .stat-number {
        font-size: 2rem;
    }
    .cta-block {
        padding: 1.75rem 1.1rem;
        border-radius: 22px;
    }
    .cta-block .fa-3x {
        font-size: 2rem !important;
    }
    section.section-padding {
        padding: 48px 1rem;
    }

    section.section-padding.section-approach {
        padding-top: 48px;
        padding-bottom: 48px;
        padding-left: max(1rem, env(safe-area-inset-left, 0px));
        padding-right: max(1rem, env(safe-area-inset-right, 0px));
    }

    .page-about section.section-padding,
    .page-about section.section.section-padding {
        padding: 36px 1rem;
    }

    .page-about section.section-padding.section-approach {
        padding-top: 36px;
        padding-bottom: 36px;
        padding-left: max(1rem, env(safe-area-inset-left, 0px));
        padding-right: max(1rem, env(safe-area-inset-right, 0px));
    }

    .page-about #our-values {
        padding-bottom: 22px;
    }

    .page-about #our-goals {
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .page-about #our-people {
        padding-top: 22px;
    }

    .page-impact .impact-stats {
        padding: 36px 1rem;
    }

    .page-impact section.section-padding,
    .page-impact section.section.section-padding {
        padding: 36px 1rem;
    }

    .page-impact .cta-section {
        padding: 44px 1rem;
    }

    .page-impact #program-impact {
        padding-bottom: 22px;
    }

    .page-impact #impact-stories {
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .page-impact #footprint {
        padding-top: 22px;
    }

    .page-hero,
    .services-hero,
    .team-hero,
    .contact-hero {
        padding: 2.25rem 1rem;
    }

    .team-hero.teams-page-hero {
        padding-inline: max(1rem, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
    }

    .page-header {
        padding: 2.25rem 1rem;
    }
    .page-hero p,
    .services-hero p,
    .team-hero p,
    .contact-hero p {
        font-size: clamp(1.12rem, 4.5vw, 1.55rem);
    }
    .page-title {
        font-size: clamp(1rem, 4.2vw, 1.25rem);
    }
    .nav-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .logo-img {
        height: auto;
        max-height: 52px;
        width: auto;
        max-width: min(190px, 52vw);
    }
    #programs-cta .btn-lg {
        display: block;
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 0.65rem;
    }
    .cta-section .d-flex.gap-3 {
        flex-direction: column;
        align-items: stretch;
    }
    .cta-section .btn-lg {
        width: 100%;
    }
    .value-card,
    .approach-card {
        padding: 1.25rem 1.1rem;
    }
    .contact-form {
        padding: 1.35rem 1.1rem;
    }
    .map-container iframe {
        min-height: 260px;
    }
    .filter-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 0.45rem;
    }
    .filter-buttons .btn {
        font-size: 0.8125rem;
        padding: 0.35rem 0.65rem;
    }
    .resource-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .resource-link {
        white-space: normal;
    }
    .initiative-areas {
        grid-template-columns: 1fr;
    }
    .impact-stats {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .impact-stats .stat-number {
        font-size: clamp(1.65rem, 8vw, 2.25rem);
    }
    .volunteer-page-section {
        padding: 48px 0;
    }
    .volunteer-info,
    .volunteer-form {
        padding: 1.35rem 1.1rem;
    }
    .volunteer-involved-section {
        padding: 48px 0;
    }
    .volunteer-involved-title {
        margin-bottom: 2rem;
    }
    .volunteer-way-card {
        padding: 1.25rem 1.1rem;
    }
    .volunteer-way-icon {
        font-size: 2.35rem;
        margin-bottom: 14px;
    }
    .partner-reason-card {
        padding: 1.25rem 1.1rem;
    }
    .program-hub-grid .card.p-4 {
        padding: 1.25rem !important;
    }
    .donation-content {
        padding: 1.25rem 1rem;
    }
    .impact-section {
        padding: 48px 1rem;
    }
    .team-desc {
        font-size: 0.92rem;
        overflow-wrap: break-word;
    }
    .team-content {
        padding: 1.15rem;
    }
    .footer-copy {
        font-size: 0.78rem;
    }
}

/* volunteer.php — hero subtitle matches About (late cascade + ID beats generic .page-subtitle ~2051) */
#volunteer-hero.page-hero.hero-banner-project-4553 .page-subtitle {
    font-size: clamp(1.15rem, 2.1vw + 0.55rem, 1.85rem);
    line-height: 1.45;
    max-width: 62rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
    padding-inline: 1rem;
    font-weight: 500;
    opacity: 0.95;
}

@media (max-width: 991px) {
    #volunteer-hero.page-hero.hero-banner-project-4553 .page-subtitle {
        font-size: clamp(1.05rem, 3.4vw + 0.42rem, 1.55rem);
        line-height: 1.45;
    }
}

/* contact.php — same horizontal inset L/R as About (5% / 1rem) + one symmetric value for safe-area */
#contact-hero.page-hero.hero-banner-project-4556 {
    padding-inline: max(5%, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
    background-image: linear-gradient(115deg, rgba(90, 30, 122, 0.58) 0%, rgba(123, 47, 157, 0.52) 50%, rgba(155, 107, 194, 0.45) 100%),
        url('img/Get%20in%20Touch.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 576px) {
    #contact-hero.page-hero.hero-banner-project-4556 {
        padding-inline: max(1rem, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
    }
}
#contact-hero.page-hero.hero-banner-project-4556 .page-subtitle.contact-hero__subtitle {
    max-width: min(62rem, 100%);
    width: 100%;
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
    padding-inline: clamp(0.5rem, 2.5vw, 1.5rem);
    box-sizing: border-box;
    text-align: center;
    font-size: clamp(1.15rem, 2.1vw + 0.55rem, 1.85rem);
    line-height: 1.5;
    font-weight: 500;
    opacity: 0.95;
}

/* Contact hero: allow wrapping so long line 1 does not overflow off the right (global .hero-subtitle-line uses nowrap until 900px) */
#contact-hero.page-hero.hero-banner-project-4556 .container {
    max-width: min(1140px, 100%);
    margin-left: auto;
    margin-right: auto;
}

#contact-hero.page-hero.hero-banner-project-4556 .contact-hero__subtitle .hero-subtitle-line {
    display: block;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#contact-hero.page-hero.hero-banner-project-4556 .contact-hero__subtitle .hero-subtitle-line .nowrap {
    white-space: nowrap;
}

#contact-hero.page-hero.hero-banner-project-4556 .contact-hero__subtitle .hero-subtitle-line--1 {
    margin-bottom: 0.2em;
}

@media (max-width: 991px) {
    #contact-hero.page-hero.hero-banner-project-4556 .page-subtitle.contact-hero__subtitle {
        font-size: clamp(1.05rem, 3.4vw + 0.42rem, 1.55rem);
        line-height: 1.5;
        padding-inline: clamp(0.5rem, 3.5vw, 1.25rem);
    }
}
