/* ===== ROOT VARIABLES ===== */
:root {
    --primary: #458438;
    --primary-dark: #34632a;
    --primary-light: #ecf3eb;
    --accent: #e2632a;
    --accent-dark: #aa4a1f;
    --accent-light: #fcefea;
    --navy: #00a9de;
    --gold: #f6c52d;
    --charcoal: #4c4c4d;
    --text-dark: #000;
    --text-muted: #6c757d;
    --white: #fefefe;
    --light-bg: #f8f9fa;
    --border: #e9ecef;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif; color: var(--text-dark); overflow-x: hidden; }
h1, h2, h3, h4, h5, h6, .section-title, .navbar-brand-text { font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif; letter-spacing: -0.02em; }
a { text-decoration: none; }

/* TOP BAR */
.top-bar { background: #083a4b; color: #eafff2; font-size: 0.82rem; padding: 7px 0; }
.top-bar a { color: #eafff2; }
.top-bar a:hover { color: #fff; }
.top-bar-social { display: flex; align-items: center; gap: 8px; }
.top-bar-social a {
    width: 24px; height: 24px; border-radius: 50%; background: #fff;
    font-size: 0.72rem; color: var(--primary); display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.25); transition: all 0.25s ease;
}
.top-bar-social a:hover { background: var(--gold); color: var(--primary-dark); transform: translateY(-2px); }
.top-bar-social a.top-bar-whatsapp:hover { background: #25d366; color: #fff; }

/* Floating WhatsApp bar, sticked bottom-right */
.floating-whatsapp-bar {
    position: fixed; right: 24px; bottom: 22px; z-index: 1040;
    display: flex; align-items: center; background: #25d366; color: #fff !important;
    font-weight: 700; font-size: 0.85rem; padding: 5px 16px; border-radius: 20px;
    box-shadow: 0 4px 18px rgba(37,211,102,0.55); transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: floatingWhatsappPulse 2.2s infinite;
}
.floating-whatsapp-bar i { font-size: 1rem; }
.floating-whatsapp-bar:hover { color: #fff !important; transform: translateY(-2px); box-shadow: 0 6px 22px rgba(37,211,102,0.7); animation-play-state: paused; }
@keyframes floatingWhatsappPulse {
    0% { box-shadow: 0 4px 18px rgba(37,211,102,0.55), 0 0 0 0 rgba(37,211,102,0.55); }
    70% { box-shadow: 0 4px 18px rgba(37,211,102,0.55), 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 4px 18px rgba(37,211,102,0.55), 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 575px) {
    .floating-whatsapp-bar { right: 16px; bottom: 16px; padding: 11px 18px; font-size: 0.85rem; }
}
.top-bar-causes-btn {
    background: rgba(255,255,255,0.12); backdrop-filter: blur(6px); border: 1.5px solid rgba(255,255,255,0.55);
    color: #fff !important; border-radius: 20px; padding: 3px 16px; font-weight: 600;
    font-size: 0.8rem; transition: all 0.25s ease; display: inline-block;
}
.top-bar-causes-btn:hover { background: rgba(255,255,255,0.22); border-color: #fff; color: #fff !important; transform: translateY(-1px); }
.top-bar-csr-btn {
    position: relative; overflow: hidden; background: rgba(239,127,26,0.16); backdrop-filter: blur(6px);
    border: 1.5px solid rgba(239,127,26,0.7);
    color: #fff !important; border-radius: 20px; padding: 4px 18px 4px 14px; font-weight: 700;
    font-size: 0.8rem; letter-spacing: 0.2px; transition: all 0.25s ease; display: inline-flex; align-items: center;
    margin-left: 10px; box-shadow: 0 0 0 0 rgba(239,127,26,0.6);
    animation: topBarCsrPulse 2.2s infinite;
}
.top-bar-csr-btn::before {
    content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
    background: linear-gradient(115deg, transparent, rgba(255,255,255,0.55), transparent);
    transform: skewX(-20deg); animation: topBarCsrShine 3s ease-in-out infinite;
}
.top-bar-csr-btn i { animation: topBarCsrWiggle 2.2s ease-in-out infinite; }
.top-bar-csr-btn:hover { background: rgba(239,127,26,0.3); border-color: #fff; color: #fff !important; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(239,127,26,0.45); animation-play-state: paused; }
@keyframes topBarCsrShine {
    0% { left: -60%; }
    45% { left: 130%; }
    100% { left: 130%; }
}
@keyframes topBarCsrWiggle {
    0%, 100% { transform: rotate(0deg); }
    5% { transform: rotate(-12deg); }
    10% { transform: rotate(10deg); }
    15% { transform: rotate(0deg); }
}
@keyframes topBarCsrPulse {
    0% { box-shadow: 0 0 0 0 rgba(239,127,26,0.55); }
    70% { box-shadow: 0 0 0 7px rgba(239,127,26,0); }
    100% { box-shadow: 0 0 0 0 rgba(239,127,26,0); }
}

/* NAVBAR */
.main-navbar { background: var(--white) !important; box-shadow: 0 2px 15px rgba(0,0,0,0.08); padding: 6px 0; position: static; }
.navbar-brand-text { font-size: 1.3rem; font-weight: 800; color: var(--primary); line-height: 1.1; }
.navbar-brand-text small { font-size: 0.7rem; font-weight: 400; color: var(--text-muted); display: block; }
.nav-link-custom {
    color: var(--text-dark) !important; font-weight: 600; font-size: 0.90rem; letter-spacing: 0.1px;
    padding: 10px 15px !important; white-space: nowrap; position: relative; transition: color 0.2s;
}
.nav-link-custom::before {
    content: ''; position: absolute; left: 18px; right: 18px; bottom: 4px; height: 2px;
    background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: center;
    transition: transform 0.25s ease;
}
@media (min-width: 992px) and (max-width: 1200px) {
    .nav-link-custom { font-size: 0.86rem; padding: 10px 12px !important; }
}
.nav-link-custom:hover { color: var(--primary) !important; }
.nav-link-custom:hover::before { transform: scaleX(1); }
.nav-link-custom.active { color: var(--primary) !important; font-weight: 700; }
.nav-link-custom.active::before { transform: scaleX(1); background: var(--primary); }
.btn-donate-nav { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: var(--white) !important; border-radius: 25px; padding: 8px 22px !important; font-weight: 700; font-size: 0.88rem; transition: all 0.25s; box-shadow: 0 4px 14px rgba(239,127,26,0.3); }
.btn-donate-nav:hover { color: var(--white) !important; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(239,127,26,0.45); }
/* Tighter than the desktop button so it comfortably shares the mobile header
   row with the logo and hamburger toggle, even on narrow (~320px) screens. */
.btn-donate-nav--mobile { padding: 6px 14px !important; font-size: 0.8rem; white-space: nowrap; }

/* NAVBAR — "Projects" mega menu (one column per program, projects listed below each) */
.mega-menu-programs {
    display: none;
    position: fixed; top: var(--sticky-header-height, 90px); left: 0; right: 0;
    transform: none; width: 100%; max-width: 100%; margin: 0;
    max-height: calc(100vh - var(--sticky-header-height, 90px));
    overflow-y: auto; padding: 30px max(36px, calc((100% - 1240px) / 2)); border-radius: 0;
    border-top: 1px solid var(--border); box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    background: var(--white); z-index: 1049;
}
.mega-menu-programs.is-open { display: block; }
.mega-menu-program-title { display: block; font-weight: 800; font-size: 0.98rem; color: var(--primary); text-decoration: none; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--primary-light); }
.mega-menu-program-title:hover { color: var(--accent); }
.mega-menu-project-list { list-style: none; margin: 0; padding: 0; }
.mega-menu-project-list li { margin-bottom: 2px; }
.mega-menu-project-list a { display: block; color: var(--text-dark); font-size: 0.82rem; line-height: 1.4; padding: 5px 8px; border-radius: 6px; text-decoration: none; transition: all 0.2s; }
.mega-menu-project-list a:hover { background: var(--light-bg); color: var(--primary); padding-left: 12px; }
.mega-menu-empty { color: var(--text-muted); font-size: 0.8rem; font-style: italic; padding: 5px 8px; }
@media (max-width: 991px) {
    .mega-menu-programs { position: static; width: 100%; max-width: 100%; max-height: none; left: 0; transform: none; box-shadow: none !important; padding: 10px 20px; }
}

/* HERO — full-bleed background photo */
.hero-section {
    background: linear-gradient(160deg, #081f11 0%, #0f4025 48%, #081f11 100%); /* instant-paint fallback under the photo */
    min-height: 92vh; display: flex; align-items: center; position: relative; overflow: hidden; padding: 15px 0 70px;
}
.hero-section::before { content: ''; position: absolute; top: -100px; right: -100px; width: 500px; height: 500px; background: rgba(255,255,255,0.03); border-radius: 50%; z-index: 1; }
.hero-section::after { content: ''; position: absolute; bottom: -150px; left: -80px; width: 400px; height: 400px; background: rgba(255,255,255,0.03); border-radius: 50%; z-index: 1; }
.hero-section > .container { position: relative; z-index: 2; }
.hero-bg-carousel, .hero-bg-carousel .carousel, .hero-bg-carousel .carousel-inner { position: absolute; inset: 0; height: 100%; }
.hero-bg-carousel { z-index: 0; }
/* cover, biased toward the top: guarantees the photo always fills the hero
   edge-to-edge both ways (no letterbox bars, no stretching/distortion) — the
   hero is much wider/shorter than these 16:9 photos, so cover has to crop a
   fair amount off the top+bottom to fill it; centering that crop (the
   default) cut into people's heads near the top of the frame, so the bias
   keeps more of the top and trims the bottom instead. */
.hero-bg-carousel img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; display: block; }
/* Slides sit permanently visible/opaque (no fade), stacked purely by z-index
   on .active — the actual transition effect is a pair of "sliding door" panel
   divs, built in JS (see the hero door-reveal block in main.js) that show a
   snapshot of the OUTGOING photo and slide apart to reveal the new one
   already sitting underneath. That JS needs the underlying items to switch
   instantly with no animation of their own, so it isn't fighting/double-
   animating alongside the doors. */
.hero-bg-carousel .carousel-item {
    position: absolute !important; inset: 0; height: 100%;
    display: block !important;
    opacity: 1 !important; z-index: 0; pointer-events: none;
    transform: none !important; transition: none !important;
}
.hero-bg-carousel .carousel-item.active { z-index: 1; pointer-events: auto; }
/* The two door panels main.js creates per transition. */
.hero-door-panel {
    position: absolute; top: 0; bottom: 0; width: 50%; z-index: 5;
    background-size: 200% 100%; background-repeat: no-repeat; pointer-events: none;
    transition: transform 0.9s cubic-bezier(0.77, 0, 0.175, 1);
}
.hero-door-panel--left { left: 0; background-position: left center; transform-origin: left center; }
.hero-door-panel--right { right: 0; background-position: right center; transform-origin: right center; }
.hero-door-panel.is-open.hero-door-panel--left { transform: translateX(-100%); }
.hero-door-panel.is-open.hero-door-panel--right { transform: translateX(100%); }
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
        radial-gradient(circle at 88% 8%, rgba(226,99,42,0.5) 0%, transparent 42%),
        radial-gradient(circle at 6% 95%, rgba(52,99,42,0.55) 0%, transparent 48%),
        linear-gradient(180deg, rgba(5,18,10,0.4) 0%, rgba(5,18,10,0.82) 100%);
}
.hero-badge { background: rgba(226,99,42,0.18); color: #ffc199; border: 1px solid rgba(226,99,42,0.45); border-radius: 25px; padding: 6px 18px; font-size: 0.82rem; font-weight: 700; display: inline-block; margin-bottom: 18px; letter-spacing: 1px; text-transform: uppercase; }
.hero-section h1 { font-size: 2.6rem; font-weight: 800; color: var(--white); line-height: 1.15; margin-bottom: 18px; letter-spacing: -0.03em; }
.hero-section h1 span { color: var(--accent); }
.hero-section .hero-desc { color: rgba(255,255,255,0.85); font-size: 1.05rem; line-height: 1.8; margin-bottom: 30px; }
.hero-h1-oneline { font-weight: 800; color: #fff; line-height: 1.25; margin: 16px 0 18px; }
.hero-trust-row { margin-bottom: 28px; }
.hero-trust-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.8); font-size: 0.85rem; }
.hero-trust-item i { color: var(--accent); }
.hero-avatars-row { display: flex; align-items: center; gap: 12px; margin-top: 32px; }
.hero-avatars-stack { display: flex; }
.hero-avatars-stack .hero-avatar-img:last-child { margin-right: 0; }
.hero-avatar-initial { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff; margin-right: -10px; background: var(--avatar-bg, var(--accent)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.82rem; flex-shrink: 0; }
.hero-avatars-stack .hero-avatar-initial:last-child { margin-right: 0; }
.hero-donor-count { color: #fff; font-weight: 700; font-size: 0.88rem; }
.hero-donor-sub { color: rgba(255,255,255,0.65); font-size: 0.78rem; }
/* z-index raised well above the hero content/overlay, and pointer-events
   split (none on the row, auto only on each button) so nothing above it can
   ever silently swallow the click — the buttons themselves are given a much
   bigger 26x26 tap target than the visible 9px dot (drawn via ::after), since
   the tiny dot alone was an easy miss to click precisely. */
.hero-bg-indicators { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 10; display: flex; justify-content: center; gap: 2px; pointer-events: none; }
.hero-bg-indicators button { position: relative; width: 26px; height: 26px; border: none; background: transparent; padding: 0; margin: 0; cursor: pointer; pointer-events: auto; }
.hero-bg-indicators button::after {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.45); transition: all 0.3s ease;
}
.hero-bg-indicators button:hover::after { background: rgba(255,255,255,0.8); }
.hero-bg-indicators button.active::after { background: var(--accent); width: 26px; border-radius: 5px; }
@media (max-width: 991px) {
    .hero-section h1 { font-size: 2.2rem; }
    .hero-section { min-height: auto; padding: 60px 0; }
}
@media (max-width: 576px) {
    .hero-section h1 { font-size: 1.8rem; }
}

/* Full-bleed hero buttons — also used on inner page banners (program-hero, etc.) */
.btn-hero-primary { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: var(--white); border-radius: 25px; padding: 10px 24px; font-weight: 700; font-size: 0.88rem; border: none; display: inline-block; transition: all 0.3s; box-shadow: 0 8px 25px rgba(226,99,42,0.35); }
.btn-hero-primary:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(226,99,42,0.5); }
.btn-hero-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); border-radius: 25px; padding: 9px 20px; font-weight: 600; font-size: 0.88rem; display: inline-block; transition: all 0.3s; }
.btn-hero-outline:hover { background: rgba(255,255,255,0.1); color: var(--white); border-color: var(--white); }
.hero-stat-strip { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 32px; margin-top: 32px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.18); }
.hero-stat-strip .hs-num { font-size: 1.55rem; font-weight: 800; color: var(--accent); line-height: 1; }
.hero-stat-strip .hs-label { font-size: 0.76rem; color: rgba(255,255,255,0.75); margin-top: 4px; }

/* HERO — right-side image carousel frame */
.hero-image-wrap { position: relative; }
.hero-image-frame { position: relative; height: 460px; border-radius: 24px; overflow: hidden; border: 2px solid rgba(255,255,255,0.28); box-shadow: 0 25px 60px rgba(0,0,0,0.35); }
.hero-image-frame .carousel-inner, .hero-image-frame .carousel-item { height: 100%; }
.hero-slide-img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(1.12); }
@media (max-width: 767px) {
    .hero-image-frame { height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-slide-img { animation: none; }
}

/* HERO — entrance animation */
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.reveal-up { opacity: 0; animation: heroFadeUp 0.75s cubic-bezier(0.22,1,0.36,1) forwards; }
.reveal-up.d1 { animation-delay: .05s; } .reveal-up.d2 { animation-delay: .15s; }
.reveal-up.d3 { animation-delay: .28s; } .reveal-up.d4 { animation-delay: .40s; }
.reveal-up.d5 { animation-delay: .52s; } .reveal-up.d6 { animation-delay: .64s; }
.text-gradient-accent { background: linear-gradient(90deg, var(--accent) 0%, #ffb066 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* SECTION COMMON */
.section-pad { padding: 80px 0; }
.section-badge { background: var(--primary-light); color: var(--primary); border-radius: 25px; padding: 5px 16px; font-size: 0.8rem; font-weight: 700; display: inline-block; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
.section-title { font-size: 1.9rem; font-weight: 800; color: var(--text-dark); margin-bottom: 10px; }
.section-title span { color: var(--primary); }
.section-subtitle { color: var(--text-muted); font-size: 0.98rem; max-width: 560px; margin: 0 auto; line-height: 1.7; }
.title-line { width: 55px; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 2px; margin: 12px auto 0; }

/* STATS BAR */
.stat-sep { width: 1px; background: rgba(255,255,255,0.15); height: 70px; margin: auto; }

/* CAUSES */
.cause-card { border: none; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.07); transition: all 0.3s; }
.cause-card:hover, .cause-card-new:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,126,63,0.18); }
.cause-card img { height: 195px; object-fit: cover; width: 100%; }
.cause-tag { background: var(--primary-light); color: var(--primary); font-size: 0.73rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; }
.cause-meta { font-size: 0.82rem; color: var(--text-muted); }
.cause-meta strong { color: var(--primary); }
.btn-cause { background: var(--primary); color: var(--white); border: none; border-radius: 25px; padding: 9px 22px; font-size: 0.88rem; font-weight: 600; width: 100%; transition: all 0.3s; cursor: pointer; }
.btn-cause:hover { background: var(--primary-dark); color: var(--white); }
.urgent-badge { background: #dc3545; color: #fff; font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; }

/* HOW IT WORKS */
.how-section { background: var(--light-bg); }
.step-card { text-align: center; padding: 30px 20px; position: relative; }
.step-num { width: 55px; height: 55px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 800; margin: 0 auto 18px; }
.step-icon-box { width: 80px; height: 80px; background: var(--primary-light); border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--primary); margin: 0 auto 18px; }
.step-arrow { position: absolute; right: -20px; top: 50%; transform: translateY(-50%); color: var(--primary); font-size: 1.5rem; opacity: 0.3; }

/* PROGRAMS */
.program-card { border: none; border-radius: 16px; padding: 28px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: all 0.3s; border-left: 4px solid var(--border); height: 100%; }
.program-card:hover { transform: translateY(-4px); box-shadow: 0 16px 35px rgba(0,126,63,0.16); border-left-color: var(--primary); }
.prog-icon { width: 62px; height: 62px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; margin-bottom: 16px; }

/* PROGRAM PAGE — shared brand hero/CTA gradient */
.program-hero, .program-cta {
    background:
        radial-gradient(circle at 88% 10%, rgba(239,127,26,0.45) 0%, transparent 42%),
        radial-gradient(circle at 6% 92%, rgba(0,126,63,0.45) 0%, transparent 48%),
        linear-gradient(160deg, #081f11 0%, #0f4025 48%, #081f11 100%);
    position: relative; overflow: hidden;
}
.program-hero {
    padding: 80px 0 60px;
    background:
        linear-gradient(160deg, rgba(8,31,17,0.88) 0%, rgba(15,64,37,0.82) 48%, rgba(8,31,17,0.88) 100%),
        url('../images/inner-hero.png');
    background-size: cover;
    background-position: center;
}
.program-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }
.program-cta { padding: 70px 0; }

/* PROJECT DETAIL — section design system */
.pd-hero-bg { background-position: center 50%; will-change: background-position; }
.pd-section { padding: 40px 0; }
.pd-section-header { text-align: center; margin-bottom: 30px; }
.pd-section-title { font-size: 1.7rem; font-weight: 800; color: var(--text-dark); margin: 0; }
.pd-section-header .title-line { margin: 12px auto 0; }
.pd-section-header--light .pd-section-title { color: #fff; }

.pd-objective-card { position: relative; display: flex; gap: 16px; background: #fff; border-radius: 16px; padding: 26px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); height: 100%; overflow: hidden; border-top: 3px solid transparent; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.pd-objective-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,0.1); border-top-color: var(--primary); }
.pd-objective-num { position: absolute; top: -6px; right: 10px; font-size: 3.2rem; font-weight: 800; color: var(--text-dark); opacity: 0.05; line-height: 1; }
.pd-objective-icon { position: relative; width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; color: #fff; box-shadow: 0 8px 18px rgba(0,0,0,0.12); }
.pd-objective-icon--t1 { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.pd-objective-icon--t2 { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }
.pd-objective-icon--t3 { background: linear-gradient(135deg, var(--gold), var(--accent-dark)); }
.pd-objective-icon--t4 { background: linear-gradient(135deg, var(--primary-dark), #072a17); }
.pd-objective-card h6 { font-weight: 800; font-size: 1rem; margin-bottom: 6px; color: var(--text-dark); }
.pd-objective-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; margin: 0; }

/* Project detail CTA — "Donate Now" pulsing button + per-project quick-contribution calculator */
.pd-contribute-btn { position: relative; overflow: hidden; padding: 15px 34px; font-size: 1rem; border-radius: 30px; animation: pdContributePulse 2.4s ease-in-out infinite; }
.pd-contribute-btn:hover { animation-play-state: paused; transform: translateY(-3px) scale(1.03); }
.pd-contribute-btn::before { content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255,255,255,0.45), transparent); transform: skewX(-20deg); transition: left 0.6s ease; }
.pd-contribute-btn:hover::before { left: 125%; }
@keyframes pdContributePulse {
    0%, 100% { box-shadow: 0 8px 25px rgba(239,127,26,0.35); }
    50% { box-shadow: 0 8px 25px rgba(239,127,26,0.35), 0 0 0 8px rgba(239,127,26,0.15); }
}
.pd-quick-contrib {
    display: inline-flex; flex-direction: column; align-items: center;
    background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.04));
    border: 1px solid rgba(255,255,255,0.16); border-radius: 24px; padding: 36px 40px 32px;
    margin: 0 auto; max-width: 420px; width: 100%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25); backdrop-filter: blur(6px);
}
.pd-quick-contrib-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff; font-size: 1.4rem; display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px; box-shadow: 0 8px 20px rgba(239,127,26,0.4);
}
.pd-quick-contrib-label { color: #fff; font-weight: 800; font-size: 1.25rem; margin-bottom: 4px; text-align: center; }
.pd-quick-contrib-unit-price { color: rgba(255,255,255,0.65); font-size: 0.85rem; margin-bottom: 22px; }
.pd-qty-stepper { display: flex; align-items: center; gap: 22px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); border-radius: 40px; padding: 6px 10px; margin-bottom: 22px; }
.pd-qty-btn { width: 38px; height: 38px; border-radius: 50%; border: none; background: var(--accent); color: #fff; font-size: 1.2rem; font-weight: 800; line-height: 1; cursor: pointer; transition: all 0.2s ease; flex-shrink: 0; }
.pd-qty-btn:hover { background: var(--accent-dark); transform: scale(1.08); }
.pd-qty-value { min-width: 30px; text-align: center; color: #fff; font-weight: 800; font-size: 1.2rem; }
.pd-quick-contrib-total-box { display: flex; flex-direction: column; align-items: center; background: rgba(239,127,26,0.12); border: 1px solid rgba(239,127,26,0.3); border-radius: 14px; padding: 12px 28px; margin-bottom: 24px; width: 100%; }
.pd-quick-contrib-total-label { color: rgba(255,255,255,0.7); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.pd-quick-contrib-total-value { color: var(--accent); font-weight: 800; font-size: 1.7rem; }
@media (max-width: 480px) {
    .pd-quick-contrib { padding: 28px 22px 26px; }
    .pd-qty-stepper { gap: 16px; }
}

.pd-impact-band {
    background: linear-gradient(160deg, #081f11 0%, #0f4025 48%, #081f11 100%);
    position: relative; overflow: hidden;
    padding: 40px 0;
}
.pd-goal-quote { max-width: 760px; margin: 0 auto; text-align: center; }
.pd-band-divider { width: 60px; height: 2px; background: rgba(255,255,255,0.18); margin: 26px auto; }
.pd-impact-callout { max-width: 760px; margin: 0 auto 24px; text-align: center; }
.pd-stat-item { text-align: center; }

.pd-story-row { margin-bottom: 50px; }
.pd-story-row:last-child { margin-bottom: 0; }

.pd-sibling-card { position: sticky; top: 100px; background: #fff; border-radius: 20px; padding: 24px; box-shadow: 0 6px 24px rgba(0,0,0,0.07); }

.pd-sibling-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--text-dark); font-weight: 600; font-size: 0.9rem; transition: color 0.2s ease; }
.pd-sibling-link:last-child { border-bottom: 0; }
.pd-sibling-link:hover { color: var(--primary); }
.pd-sibling-link-arrow { color: var(--accent); flex-shrink: 0; }

/* PROGRAM PAGE — project showcase cards */
.project-card { position: relative; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.07); transition: all 0.35s ease; height: 100%; display: flex; flex-direction: column; }
.project-card:hover { transform: translateY(-6px); box-shadow: 0 20px 42px rgba(0,126,63,0.16); }
.project-card-media { position: relative; height: 250px; overflow: hidden; flex-shrink: 0; }
.project-card-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 16px; color: var(--primary); font-weight: 700; font-size: 0.85rem; text-decoration: none; transition: gap 0.25s ease; }
.project-card-btn:hover { gap: 10px; color: var(--primary); }
.project-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.45s ease; }
.project-card:hover .project-card-media img { transform: scale(1.08); }
.project-card .project-num { position: absolute; top: 10px; right: 14px; font-size: 0.72rem; font-weight: 800; color: rgba(255,255,255,0.9); background: rgba(0,0,0,0.28); backdrop-filter: blur(3px); padding: 4px 10px; border-radius: 20px; letter-spacing: 0.5px; z-index: 2; }
.project-card-media img ~ .project-num { color: rgba(255,255,255,0.95); }
.project-card-body { position: relative; padding: 26px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.project-card h5 { font-weight: 800; font-size: 1.08rem; margin-bottom: 8px; }
.project-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.65; margin: 0; }

@media (min-width: 992px) {
    .vision-mission-col { border-right: 1px solid var(--border); }
}

/* Homepage/About "Partners & Associates" */
.partner-logo-box { display: flex; align-items: center; justify-content: center; height: 96px; width: 190px; background: #fff; border: 1px solid #d3d8dd; border-radius: 12px; padding: 12px 18px; transition: all 0.3s ease; }
.partner-logo-box img { max-height: 66px; max-width: 100%; object-fit: contain; transition: all 0.3s ease; }
.partner-logo-box:hover { border-color: var(--primary); box-shadow: 0 8px 20px rgba(0,126,63,0.12); transform: translateY(-3px); }
.partner-name-badge { display: inline-flex; align-items: center; height: 96px; background: var(--light-bg); color: var(--text-dark); border: 1px solid #d3d8dd; border-radius: 12px; padding: 0 22px; font-size: 0.88rem; font-weight: 700; transition: all 0.3s ease; }
.partner-name-badge:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }
.partners-logo-slider { padding-bottom: 4px; }
.partners-logo-slider .slick-track { display: flex; align-items: center; }
.partners-logo-slider .slick-slide { display: flex; justify-content: center; }
.partners-logo-slider .px-2 { display: flex; justify-content: center; width: 100%; }

/* Prev/Next project navigation on the project detail page */
.prevnext-link { display: inline-flex; align-items: center; color: var(--text-dark); font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: color 0.25s ease; }
.prevnext-link:hover { color: var(--primary); text-decoration: none; }

/* DONATE */
.donate-section { background: linear-gradient(135deg, #0a2e18, #458438); padding: 80px 0; position: relative; overflow: hidden; }
.donate-section::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: rgba(255,255,255,0.03); border-radius: 50%; }
.donate-box { background: rgba(255,255,255,0.07); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.12); border-radius: 20px; padding: 40px; }
.donate-box h3 { color: var(--white); font-weight: 800; font-size: 1.6rem; }
.donate-box p { color: rgba(255,255,255,0.8); }
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.amount-btn { background: rgba(255,255,255,0.1); color: var(--white); border: 2px solid rgba(255,255,255,0.25); border-radius: 10px; padding: 12px 8px; font-size: 1rem; font-weight: 700; cursor: pointer; transition: all 0.3s; text-align: center; }
.amount-btn:hover, .amount-btn.active { background: var(--accent); border-color: var(--accent); }
.donate-input { background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.25); color: var(--white); border-radius: 10px; padding: 13px 16px; font-size: 1rem; width: 100%; margin-bottom: 12px; }
.donate-input::placeholder { color: rgba(255,255,255,0.5); }
.donate-input:focus { outline: none; border-color: var(--accent); }
.btn-donate-now { background: var(--accent); color: var(--white); border: none; border-radius: 30px; padding: 16px; font-size: 1.05rem; font-weight: 700; width: 100%; cursor: pointer; transition: all 0.3s; }
.btn-donate-now:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(239,127,26,0.4); }
.payment-note { color: rgba(255,255,255,0.6); font-size: 0.8rem; text-align: center; margin-top: 10px; }
.donate-feature { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.85); margin-bottom: 16px; font-size: 0.95rem; }
.donate-feature i { color: var(--accent); font-size: 1.2rem; flex-shrink: 0; }

/* REGISTER */
.register-section { background: var(--light-bg); }
.reg-card { background: var(--white); border-radius: 20px; padding: 35px 28px; box-shadow: 0 4px 20px rgba(0,0,0,0.07); text-align: center; transition: all 0.3s; border-top: 4px solid transparent; height: 100%; }
.reg-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0,126,63,0.16); border-top-color: var(--primary); }
.reg-icon { width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 20px; }
.btn-reg { border-radius: 25px; padding: 10px 26px; font-weight: 600; font-size: 0.9rem; border: 2px solid var(--primary); color: var(--primary); background: transparent; transition: all 0.3s; display: inline-block; }
.btn-reg:hover { background: var(--primary); color: var(--white); }

/* VERIFY */
.verify-section { background: var(--white); }
.verify-box { background: var(--light-bg); border-radius: 20px; padding: 40px; }
.verify-input { border: 2px solid var(--border); border-radius: 12px; padding: 14px 18px; font-size: 1rem; width: 100%; transition: border-color 0.3s; background: var(--white); }
.verify-input:focus { outline: none; border-color: var(--primary); }
.btn-verify { background: var(--primary); color: var(--white); border: none; border-radius: 12px; padding: 14px 28px; font-weight: 700; font-size: 1rem; cursor: pointer; transition: all 0.3s; white-space: nowrap; }
.btn-verify:hover { background: var(--primary-dark); }

/* TESTIMONIALS */
.testi-section { background: var(--light-bg); }
.testi-card { background: var(--white); border-radius: 16px; padding: 28px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); border-top: 4px solid var(--primary); height: 100%; }
.testi-quote { font-size: 3.5rem; color: var(--primary); line-height: 0.8; opacity: 0.2; font-family: Georgia, serif; }
.testi-text { color: var(--text-dark); font-size: 0.95rem; line-height: 1.7; font-style: italic; }
.testi-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary-light); }
.testi-name { font-weight: 700; font-size: 0.92rem; color: var(--text-dark); }
.testi-role { font-size: 0.8rem; color: var(--text-muted); }
.stars { color: var(--accent); font-size: 0.85rem; }

/* NEWS */
.news-card { border: none; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: all 0.3s; height: 100%; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 16px 35px rgba(0,126,63,0.15); }
.news-card img { height: 195px; object-fit: cover; width: 100%; }
.news-tag { background: var(--primary-light); color: var(--primary); font-size: 0.73rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.news-date { font-size: 0.8rem; color: var(--text-muted); }
.btn-read { color: var(--primary); font-weight: 600; font-size: 0.88rem; }
.btn-read:hover { color: var(--primary-dark); }

/* FOOTER */
footer { background: #083a4b; color: #8aab96; }
footer h5, footer h6 { color: var(--white); font-weight: 700; }
footer a { color: #8aab96; transition: color 0.2s; }
footer a:hover { color: var(--accent); }

.footer-main { padding-top: 20px; }
.footer-col-title { position: relative; font-size: 1.08rem; padding-bottom: 14px; margin-bottom: 18px; }
.footer-col-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 42px; height: 3px; background: var(--accent); border-radius: 2px; }
.footer-link { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 0.88rem; transition: transform 0.2s, color 0.2s; }
.footer-link-sep { border: none; border-top: 1px dotted #8aab96; border-bottom: 1px dotted #8aab96; height: 3px; opacity: 0.7; width: 180px; margin: 10px 0; }
.footer-link i { color: var(--accent); font-size: 0.72rem; }
.footer-link:hover { transform: translateX(4px); }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; padding: 5px 0; }
.footer-contact-item i { color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.social-btn { width: 38px; height: 38px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: #8aab96; transition: all 0.3s; font-size: 0.9rem; }
.social-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--white); transform: translateY(-3px); }
.footer-policy-badge { font-size: 0.7rem; color: #8aab96; border: 1px solid rgba(138,171,150,0.35); border-radius: 20px; padding: 3px 10px; transition: all 0.25s; }
.footer-policy-badge:hover { color: var(--white); border-color: var(--accent); background: rgba(239,127,26,0.12); }
.footer-newsletter-group { display: flex; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); border-radius: 30px; padding: 4px; }
.footer-newsletter-arrow-btn { width: 40px; height: 40px; flex-shrink: 0; border: none; border-radius: 50%; background: var(--accent); color: var(--white); display: flex; align-items: center; justify-content: center; transition: background 0.2s; cursor: pointer; }
.footer-newsletter-arrow-btn:hover { background: var(--accent-dark); }
.footer-bottom { background: var(--white); font-size: 0.83rem; padding: 16px 0; color: var(--text-muted); border-top: 1px solid var(--border); }
@media (min-width: 768px) {
    .footer-bottom .container { padding-right: 90px; }
}
.footer-bottom p { color: var(--text-dark); }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent); text-decoration: underline; }
.footer-admin-link { color: var(--text-dark) !important; border: 1px solid var(--border); border-radius: 20px; padding: 4px 12px; font-weight: 600; transition: all 0.2s; }
.footer-admin-link:hover { background: var(--light-bg); border-color: var(--accent); color: var(--accent) !important; }

/* CAUSES PAGE */
.cause-card-new img { transition: transform 0.4s; }
.cause-card-new:hover img { transform: scale(1.05); }

/* RESPONSIVE */
@media (max-width: 991px) {
    .section-title { font-size: 1.6rem; }
    .stat-sep { display: none; }
    .step-arrow { display: none; }
}
@media (max-width: 576px) {
    .amount-grid { grid-template-columns: repeat(2, 1fr); }
    .section-pad { padding: 55px 0; }
}

/* ===== SCROLL-REVEAL (used across program pages) ===== */
.reveal-on-scroll { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll { opacity: 1; transform: none; transition: none; }
}

/* ===== PROGRAM PAGE POLISH ===== */

/* Story cards (reuse .cause-card) — photo zoom + accent top bar */
.story-card { position: relative; }
.story-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.story-card:hover::before { transform: scaleX(1); }
.story-card-photo-wrap { overflow: hidden; }
.story-card-photo-wrap img { transition: transform 0.5s ease; }
.story-card:hover .story-card-photo-wrap img { transform: scale(1.08); }

/* Gallery: zoom + caption overlay on hover */
.gallery-item { display: block; position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.08); transition: box-shadow 0.35s ease; cursor: pointer; text-decoration: none; }
.gallery-item:hover { box-shadow: 0 16px 34px rgba(0,0,0,0.18); }
.gallery-item img { width: 100%; height: 280px; object-fit: cover; display: block; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px; font-size: 0.82rem; font-weight: 600; color: #fff; background: linear-gradient(to top, rgba(0,0,0,0.72), transparent); }
.gallery-video-wrap { border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.08); transition: box-shadow 0.35s ease; }
.gallery-video-wrap:hover { box-shadow: 0 16px 34px rgba(0,0,0,0.18); }

/* Gallery lightbox */
.gallery-lightbox-overlay { display: none; position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.92); align-items: center; justify-content: center; }
.gallery-lightbox-overlay.is-open { display: flex; }
.gallery-lightbox-img { max-width: min(650px, 80vw); max-height: 60vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.gallery-lightbox-caption { position: absolute; left: 0; right: 0; bottom: 28px; text-align: center; color: #fff; font-size: 0.9rem; font-weight: 600; }
.gallery-lightbox-close { position: absolute; top: 18px; right: 24px; background: transparent; border: 0; color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer; opacity: 0.8; }
.gallery-lightbox-close:hover { opacity: 1; }
.gallery-lightbox-prev, .gallery-lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; transition: background 0.2s ease; }
.gallery-lightbox-prev:hover, .gallery-lightbox-next:hover { background: rgba(255,255,255,0.25); }
.gallery-lightbox-prev { left: 20px; }
.gallery-lightbox-next { right: 20px; }
@media (max-width: 576px) {
    .gallery-lightbox-prev, .gallery-lightbox-next { width: 40px; height: 40px; font-size: 1rem; }
    .gallery-lightbox-prev { left: 8px; }
    .gallery-lightbox-next { right: 8px; }
}

/* Related/relevant CTA buttons already have transitions via .btn-hero-primary etc. — add a gentle press effect */
.btn-hero-primary, .btn-hero-outline { transition: all 0.3s ease, transform 0.15s ease; }
.btn-hero-primary:active, .btn-hero-outline:active { transform: scale(0.97); }

/* Section badges: subtle shimmer on hover for a premium feel */
.section-badge { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.section-badge:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,126,63,0.18); }

/* Stories of Change — sliding carousel controls */
#storiesCarousel { padding-bottom: 50px; }
.story-carousel-arrow {
    width: 46px; height: 46px; border-radius: 50%; background: #fff; opacity: 1;
    box-shadow: 0 6px 18px rgba(0,0,0,0.14); color: var(--primary); display: flex; align-items: center; justify-content: center;
    top: 40%; transition: all 0.3s ease;
}
.story-carousel-arrow:hover { background: var(--primary); color: #fff; transform: scale(1.08); }
.story-carousel-arrow.carousel-control-prev { left: -10px; }
.story-carousel-arrow.carousel-control-next { right: -10px; }
@media (max-width: 767px) {
    .story-carousel-arrow.carousel-control-prev { left: -6px; }
    .story-carousel-arrow.carousel-control-next { right: -6px; }
}
.story-carousel-indicators { position: static; margin-top: 30px; }
.story-carousel-indicators button { width: 9px !important; height: 9px !important; border-radius: 50% !important; border: none !important; background-color: var(--border) !important; opacity: 1 !important; transition: all 0.3s; }
.story-carousel-indicators button.active { width: 26px !important; border-radius: 5px !important; background-color: var(--primary) !important; }

/* Homepage "Who We Are" — compassion (hands + heart) accent badge on the image collage */
.about-heart-badge {
    position: absolute; top: -16px; left: -16px; width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.5rem;
    box-shadow: 0 10px 26px rgba(69,132,56,0.4); border: 3px solid #fff;
    animation: aboutHeartPulse 2.8s ease-in-out infinite; z-index: 3;
}
@keyframes aboutHeartPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@media (max-width: 575px) {
    .about-heart-badge { width: 52px; height: 52px; font-size: 1.2rem; top: -10px; left: -10px; }
}

/* "Our Stories, In Their Words" — video testimonial cards */
.video-testi-card { background: #fff; border-radius: 16px; padding: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: all 0.3s ease; height: 100%; max-width: 300px; margin: 0 auto; }
.video-testi-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(0,126,63,0.15); }
.stories_words_slider { padding-bottom: 20px; }
.stories_words_slider .slick-track { display: flex; align-items: stretch; }
.stories_words_slider .slick-slide { height: auto; }
.stories_words_slider .slick-slide > div { height: 100%; }
.stories_words_slider .slick-dots { bottom: -10px; }
.stories_words_slider .slick-dots li button:before { font-size: 9px; color: var(--border); opacity: 1; }
.stories_words_slider .slick-dots li.slick-active button:before { color: var(--primary); }

/* Photo gallery carousels on the Impact Stories page */
.photo-gallery-slider { padding-bottom: 20px; }
.photo-gallery-slider .slick-slide { padding: 0; }
.photo-gallery-slider .slick-dots { bottom: -8px; }
.photo-gallery-slider .slick-dots li button:before { font-size: 9px; color: var(--border); opacity: 1; }
.photo-gallery-slider .slick-dots li.slick-active button:before { color: var(--primary); }

/* "Precious Moments" style gallery — framed image + italic caption + visible arrows */
.pm-frame { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.pm-frame img { width: 100%; height: 260px; object-fit: cover; display: block; }
.pm-caption { text-align: center; font-style: italic; font-weight: 600; font-size: 0.85rem; color: var(--text-dark); margin: 12px 0 0; }
.photo-gallery-slider-arrows { padding: 0 40px; }
.photo-gallery-slider-arrows .slick-prev,
.photo-gallery-slider-arrows .slick-next { width: 38px; height: 38px; background: rgba(0,0,0,0.5); border-radius: 50%; z-index: 2; transition: background 0.25s ease; }
.photo-gallery-slider-arrows .slick-prev:hover,
.photo-gallery-slider-arrows .slick-next:hover { background: rgba(0,0,0,0.75); }
.photo-gallery-slider-arrows .slick-prev:before,
.photo-gallery-slider-arrows .slick-next:before { font-size: 16px; opacity: 1; }
.photo-gallery-slider-arrows .slick-prev { left: -6px; }
.photo-gallery-slider-arrows .slick-next { right: -6px; }

/* ============================================================
   HOMEPAGE (home.php) — styles moved here from inline attributes.
   Colors/percentages that vary per PHP loop item are still set
   inline as CSS custom properties (--icon-bg, --icon-color, etc.)
   and consumed by the rules below via var().
   ============================================================ */

/* --- Part 1: Hero --- */
.hero-bg-circle-tr { position: absolute; top: -120px; right: -120px; width: 500px; height: 500px; background: rgba(255,255,255,0.04); border-radius: 50%; pointer-events: none; }
.hero-bg-circle-bl { position: absolute; bottom: -150px; left: -80px; width: 420px; height: 420px; background: rgba(255,255,255,0.03); border-radius: 50%; pointer-events: none; }
.hero-avatar-img { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff; margin-right: -10px; object-fit: cover; }
.hero-slide-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(10,46,24,0.32) 0%, transparent 45%); pointer-events: none; }
.hero-slide-caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 20px 24px 44px; background: linear-gradient(to top, rgba(6,26,15,0.55) 0%, rgba(6,26,15,0.15) 60%, transparent 100%); }
.hero-slide-caption-title { color: #fff; font-size: 1.15rem; font-weight: 800; margin: 0 0 4px; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.hero-slide-caption-text { color: rgba(255,255,255,0.9); font-size: 0.85rem; margin: 0; line-height: 1.5; text-shadow: 0 1px 4px rgba(0,0,0,0.5); }
@media (max-width: 767px) {
    .hero-slide-caption { padding: 16px 18px 38px; }
    .hero-slide-caption-title { font-size: 1rem; }
    .hero-slide-caption-text { font-size: 0.8rem; }
}

/* --- Welcome popup (current/upcoming event on site open) --- */
.wp-modal-dialog { max-width: 560px; }
.wp-modal-content { border: none; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.18); }

.wp-header { background: #fff; text-align: center; padding: 22px 24px 0; position: relative; border-bottom: 1px solid #f0f0f0; }
.wp-close { position: absolute; top: 12px; right: 14px; }
.wp-logo { width: auto; height: auto; max-width: 100%; display: block; margin: 0 auto 12px; }
.wp-divider { height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 2px; width: 44px; margin: 0 auto 10px; }
.wp-section-label { font-size: .7rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .8px; margin: 0 0 10px; }

.wp-body { padding: 12px 16px 16px; background: #fff; }

.wp-events-slider { margin-bottom: 4px; }
.wp-slide-item { padding: 0 5px; }
.wp-events-slider .slick-list { margin: 0 -5px; }
.wp-events-slider .slick-dots { position: static; margin-top: 8px; text-align: center; padding: 0; }
.wp-events-slider .slick-dots li { margin: 0 2px; }
.wp-events-slider .slick-dots li button:before { font-size: 7px; color: #ccc; opacity: 1; }
.wp-events-slider .slick-dots li.slick-active button:before { color: var(--primary); }

.wp-event-card { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid #eef0f2; border-radius: 14px; padding: 10px 11px; box-shadow: 0 2px 8px rgba(0,0,0,.05); height: 100%; }

.wp-event-top { display: flex; align-items: center; gap: 10px; }

.wp-event-cal { width: 54px; height: 54px; border-radius: 10px; overflow: hidden; flex-shrink: 0; display: flex; flex-direction: column; box-shadow: 0 2px 8px rgba(0,0,0,.12); position: relative; }
.wp-event-cal-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wp-event-cal-icon { flex: 1; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.wp-event-cal-date { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,.62); color: #fff; font-size: .52rem; font-weight: 800; text-align: center; padding: 2px 0; text-transform: uppercase; letter-spacing: .3px; }

.wp-event-info { flex: 1; min-width: 0; }
.wp-event-title { font-weight: 800; font-size: .8rem; margin: 0 0 3px; color: #1a1a1a; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wp-event-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.wp-event-meta-item { color: #6c757d; font-size: .72rem; display: inline-flex; align-items: center; gap: 3px; }
.wp-event-map-link { color: var(--primary); font-size: .7rem; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; }
.wp-event-map-link:hover { text-decoration: underline; }
.wp-event-desc { color: #6c757d; font-size: .74rem; line-height: 1.5; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.wp-event-actions { display: flex; gap: 6px; }
.wp-btn-view { flex: 1; background: rgba(226,99,42,.1); color: var(--accent); border: 1.5px solid rgba(226,99,42,.35); border-radius: 16px; padding: 5px 8px; font-size: .7rem; font-weight: 700; white-space: nowrap; text-decoration: none; text-align: center; transition: all .2s; }
.wp-btn-view:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.wp-footer { text-align: center; padding-top: 10px; border-top: 1px solid #f0f0f0; margin-top: 8px; }
.wp-all-events-link { color: var(--primary); font-size: .78rem; font-weight: 700; text-decoration: none; }
.wp-all-events-link:hover { text-decoration: underline; }
.wp-empty { color: #6c757d; font-size: .85rem; text-align: center; padding: 10px 0; }

/* --- Part 2: Stats band --- */
.stats-band { background: linear-gradient(rgba(0,169,222,0.88), rgba(0,90,128,0.92)), url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?w=1600&q=80') center/cover; padding: 56px 0; scroll-margin-top: 110px; }
.stats-band-item { position: relative; }
.stat-sep { position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
.stats-band-icon { color: #fff; font-size: 1.8rem; margin-bottom: 8px; display: block; opacity: 0.9; }
.stats-band-value { font-size: 2.2rem; font-weight: 800; color: #fff; margin: 0; line-height: 1; }
.stats-band-label { color: rgba(255,255,255,0.9); font-size: 0.82rem; margin: 6px 0 0; }

/* --- Part 3: About — heart-shaped photo collage --- */
.about-collage-wrap { position: relative; max-width: 780px; width: 100%; margin: 0 auto; padding: 26px 30px 70px 26px; }
.about-collage-wrap::before {
    content: ''; position: absolute; inset: 0 10px 46px 10px; z-index: 0;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    border-radius: 42% 58% 56% 44% / 46% 40% 60% 54%;
    transform: rotate(-3deg) scale(0.97);
}
.about-img-main {
    position: relative; width: 100%; aspect-ratio: 1 / 0.9; display: block; object-fit: cover;
    border-radius: 28px; border: 6px solid #fff; z-index: 1;
    box-shadow: 0 28px 54px -14px rgba(20,40,20,0.32);
}
.about-img-secondary {
    width: 38%; aspect-ratio: 1 / 1; border-radius: 22px; box-shadow: 0 16px 34px rgba(0,0,0,0.28);
    position: absolute; bottom: -7%; right: -5%; border: 6px solid #fff; object-fit: cover; z-index: 2;
}
.about-years-badge {
    position: absolute; top: -18px; right: 8%; background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff; border-radius: 18px; padding: 18px 26px; text-align: center; transform: rotate(-3deg);
    box-shadow: 0 12px 28px rgba(226,99,42,0.45); z-index: 3;
}
.about-years-badge-num { font-size: 2.3rem; font-weight: 800; line-height: 1; }
.about-years-badge-label { font-size: 0.8rem; opacity: 0.95; white-space: nowrap; }
@media (max-width: 575px) {
    .about-collage-wrap { padding: 20px 20px 56px 18px; }
    .about-img-secondary { width: 34%; right: -4%; }
    .about-years-badge { padding: 10px 14px; right: 4%; }
    .about-years-badge-num { font-size: 1.4rem; }
}

.about-text-col { padding-top: 20px; }
.about-text-col .section-badge { background: transparent; color: var(--accent); padding: 0 0 0 26px; margin-bottom: 14px; position: relative; }
.about-text-col .section-badge::before { content: '\f004'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 0.95rem; }
.about-lead-para { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }

.about-trust-badges-row { margin-bottom: 28px; }
.about-trust-badge { display: flex; align-items: center; gap: 14px; background: transparent; border-radius: 0; padding: 10px 0; }
.about-trust-badge i { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); font-size: 1.05rem; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 0; box-shadow: 0 8px 18px rgba(239,127,26,0.3); }
.about-trust-badge-title { font-weight: 800; font-size: 1rem; color: var(--text-dark); }
.about-trust-badge-desc { font-size: 0.82rem; color: var(--text-muted); position: relative; padding-left: 18px; }
.about-trust-badge-desc::before { content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 1px; color: var(--accent); font-size: 0.75rem; }

.about-quote { color: var(--primary); font-weight: 700; font-style: italic; line-height: 1.7; margin: 22px 0 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--accent); }
.about-creds { margin-top: 56px; padding-top: 42px; border-top: 1px solid var(--border); }
.about-cred-card { display: flex; align-items: flex-start; gap: 14px; height: 100%; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 20px 20px 22px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.about-cred-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0,0,0,0.08); border-color: transparent; }
.about-cred-icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.05rem; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); box-shadow: 0 8px 18px rgba(239,127,26,0.3); }
.about-cred-title { font-weight: 800; font-size: 0.98rem; color: var(--text-dark); margin-bottom: 4px; }
.about-cred-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.55; }
@media (max-width: 575px) { .about-creds { margin-top: 40px; padding-top: 30px; } }

/* Our Presence — interactive India map */
.presence-wrap { max-width: 1120px; margin: 0 auto; }
.presence-map { width: 100%; max-width: 660px; margin: -40px auto -20px; filter: drop-shadow(0 22px 34px rgba(20,40,20,0.22)) drop-shadow(0 6px 10px rgba(20,40,20,0.12)); }
@media (max-width: 991px) { .presence-map { margin: -20px auto 10px; filter: drop-shadow(0 16px 24px rgba(20,40,20,0.20)); } }
.presence-map svg { width: 100%; height: auto; display: block; overflow: visible; }
.presence-map svg #points, .presence-map svg #label_points { display: none; }
.presence-map svg #features path { fill: #ffffff; stroke: #7c8a93; stroke-width: 1.1; transition: fill .25s ease; }
.presence-map svg #features path.presence-active { stroke: #3d4a52; stroke-width: 1.3; }
.presence-dot { cursor: pointer; }
.presence-pulse { transform-box: fill-box; transform-origin: center; animation: presencePulse 2.4s ease-out infinite; }
@keyframes presencePulse { 0% { transform: scale(0.4); opacity: 0.7; } 100% { transform: scale(2.6); opacity: 0; } }
.presence-legend { list-style: none; margin: 0; padding: 0; }
.presence-legend li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-weight: 700; color: var(--accent); }
.presence-legend-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 1px 3px rgba(0,0,0,0.25); }
@media (min-width: 768px) { .presence-legend { columns: 2; column-gap: 28px; } .presence-legend li { break-inside: avoid; } }

.about-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.about-cta-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; border-radius: 30px;
    padding: 6px 26px 6px 6px; font-weight: 700; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 12px;
    transition: all 0.3s; box-shadow: 0 10px 24px rgba(239,127,26,0.35);
}
.about-cta-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(239,127,26,0.48); }
.about-cta-btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); box-shadow: none; padding: 4px 24px 4px 4px; }
.about-cta-btn-outline .about-cta-btn-icon { background: var(--primary); color: #fff; }
.about-cta-btn-outline:hover { color: var(--primary); background: var(--primary-light); box-shadow: none; }
.about-cta-btn-icon { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.22); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.about-cta-btn-icon i { margin: 0; }
.about-cta-btn--sm { padding: 4px 20px 4px 4px; font-size: 0.82rem; gap: 10px; }
.about-cta-btn--sm .about-cta-btn-icon { width: 34px; height: 34px; font-size: 0.8rem; }

/* HISTORY PAGE — year-by-year vertical timeline */
.rh-timeline { position: relative; max-width: 900px; margin: 0 auto; padding-top: 6px; }
.rh-timeline::before {
    content: ''; position: absolute; left: 50%; top: 0; bottom: 10px; width: 3px;
    background: linear-gradient(180deg, var(--primary), var(--accent)); transform: translateX(-50%); border-radius: 3px;
}
.rh-timeline-item { position: relative; width: 50%; padding: 0 44px 50px; }
.rh-timeline-item:last-child { padding-bottom: 0; }
.rh-timeline-item:nth-child(odd) { left: 0; text-align: right; }
.rh-timeline-item:nth-child(even) { left: 50%; text-align: left; }
.rh-timeline-dot {
    position: absolute; top: 0; width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
    border: 4px solid #fff; box-shadow: 0 6px 16px rgba(69,132,56,0.38); z-index: 2;
}
.rh-timeline-item:nth-child(odd) .rh-timeline-dot { right: -24px; }
.rh-timeline-item:nth-child(even) .rh-timeline-dot { left: -24px; }
.rh-timeline-card { background: #fff; border-radius: 18px; padding: 24px 26px; box-shadow: 0 6px 20px rgba(0,0,0,0.07); }
.rh-timeline-year { display: inline-block; background: var(--accent-light); color: var(--accent-dark); font-weight: 800; font-size: 0.82rem; padding: 4px 14px; border-radius: 20px; margin-bottom: 10px; letter-spacing: 0.3px; }
.rh-timeline-title { font-weight: 800; margin-bottom: 8px; color: var(--text-dark); }
.rh-timeline-body { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; margin: 0; }
@media (max-width: 767px) {
    .rh-timeline::before { left: 23px; }
    .rh-timeline-item, .rh-timeline-item:nth-child(even) { width: 100%; left: 0; text-align: left; padding: 0 0 40px 60px; }
    .rh-timeline-item:nth-child(odd) .rh-timeline-dot, .rh-timeline-item:nth-child(even) .rh-timeline-dot { left: 0; right: auto; }
}
.about-call-block { display: flex; align-items: center; gap: 12px; }
.about-call-icon { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-dark); flex-shrink: 0; }
.about-call-label { font-size: 0.78rem; color: var(--text-muted); }
.about-call-number { font-weight: 800; color: var(--text-dark); font-size: 0.95rem; }

/* --- Part 4: Programs --- */
/* "Our Programs" home slider */
.programs-slider .slick-list { margin: 0 -8px; padding-left: 0 !important; }
.programs-slider .slick-slide { margin: 0 8px; }
.programs-slider .slick-track { display: flex; }
.programs-slider .slick-slide > div { height: 100%; }
.programs-slider .slick-dots { display: flex !important; align-items: center; justify-content: center; padding: 0; margin-top: 30px; }
.programs-slider .slick-dots li { margin: 0 6px; }
.programs-slider .slick-dots li button { width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%; background: var(--border); opacity: 1; text-indent: -9999px; display: block; transition: all 0.3s; }
.programs-slider .slick-dots li.slick-active button { background: var(--accent); width: 24px; border-radius: 4px; }
.prog-slide-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all 0.35s; height: 100%; }
.prog-slide-card:hover { border-color: var(--accent); box-shadow: 0 20px 45px rgba(0,0,0,0.13); transform: translateY(-6px); }
.prog-slide-media { position: relative; display: block; height: 240px; overflow: hidden; }
.prog-slide-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s ease; }
.prog-slide-card:hover .prog-slide-media img { transform: scale(1.09); }
/* Icon-tile fallback for programs without an uploaded photo yet */
.prog-slide-media-icon { display: flex; align-items: center; justify-content: center; transition: transform 0.4s ease; }
.prog-slide-card:hover .prog-slide-media-icon { transform: scale(1.05); }
.prog-slide-media-icon i { font-size: 3.4rem; color: rgba(255,255,255,0.92); }
.prog-slide-media-icon.t1 { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.prog-slide-media-icon.t2 { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }
.prog-slide-media-icon.t3 { background: linear-gradient(135deg, var(--gold), var(--accent-dark)); }
.prog-slide-media-icon.t4 { background: linear-gradient(135deg, var(--primary-dark), #072a17); }
.prog-slide-body { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.prog-slide-body strong { font-size: 1rem; font-weight: 800; color: var(--text-dark); line-height: 1.3; }
.prog-slide-link { display: inline-flex; align-items: center; gap: 5px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--accent); white-space: nowrap; transition: gap 0.3s; }
.prog-slide-card:hover .prog-slide-link { gap: 9px; }

/* About page — "What We Do" program cards */
.wwd-card { display: block; background: #fff; border-radius: 18px; padding: 32px 26px; text-align: center; height: 100%; box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: all 0.3s; text-decoration: none; }
.wwd-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,0.1); }
.wwd-card-icon { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; overflow: hidden; }
.wwd-card-icon img { width: 100%; height: 100%; object-fit: cover; }
.wwd-card-icon i { font-size: 1.7rem; color: #fff; }
.wwd-card-icon--t1 { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.wwd-card-icon--t2 { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }
.wwd-card-icon--t3 { background: linear-gradient(135deg, var(--gold), var(--accent-dark)); }
.wwd-card-icon--t4 { background: linear-gradient(135deg, var(--primary-dark), #072a17); }
.wwd-card-title { font-weight: 800; margin-bottom: 10px; color: var(--text-dark); }
.wwd-card-desc { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; margin: 0 0 14px; }
.wwd-card-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 700; color: var(--accent); transition: gap 0.3s; }
.wwd-card:hover .wwd-card-link { gap: 10px; }

/* Project Categories — CSR / Government / NGO Rahi */
.proj-cat-card { display: block; background: #fff; border-radius: 18px; padding: 40px 30px; text-align: center; height: 100%; box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: all 0.3s; text-decoration: none; }
.proj-cat-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,0.1); }
.proj-cat-icon { width: 84px; height: 84px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.proj-cat-icon i { font-size: 2.1rem; color: #fff; }
.proj-cat-icon img { width: 56px; height: 56px; object-fit: contain; }
.proj-cat-icon--t1 { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.proj-cat-icon--t2 { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }
.proj-cat-icon--t3 { background: var(--primary-light); }
.proj-cat-title { font-weight: 800; margin-bottom: 10px; color: var(--text-dark); }
.proj-cat-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin: 0 0 18px; }
.proj-cat-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 700; color: var(--accent); transition: gap 0.3s; }
.proj-cat-card:hover .proj-cat-link { gap: 10px; }

/* Program attribution on a category-listing project card */
.proj-cat-program-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.76rem; font-weight: 700; color: var(--primary); background: var(--primary-light); padding: 4px 10px; border-radius: 20px; margin-bottom: 10px; text-decoration: none; transition: all 0.2s; }
.proj-cat-program-link i { font-size: 0.7rem; }
.proj-cat-program-link:hover { background: var(--primary); color: #fff; }

/* Shared "View All X" outline pill buttons */
.outline-pill-btn { border: 2px solid var(--primary); color: var(--primary); border-radius: 25px; padding: 9px 22px; font-weight: 700; font-size: 0.88rem; display: inline-block; transition: all 0.3s; }
.outline-pill-btn-sm { border: 2px solid var(--primary); color: var(--primary); border-radius: 20px; padding: 7px 18px; font-weight: 700; font-size: 0.8rem; display: inline-block; }

/* Story detail: rich-body typography + meta bar + share button + related cards */
.story-prose { color: var(--text-dark); line-height: 1.95; font-size: 1.05rem; }
.story-prose p { margin: 0 0 20px; }
.story-prose h1, .story-prose h2, .story-prose h3, .story-prose h4 { font-weight: 800; color: var(--text-dark); margin: 32px 0 16px; line-height: 1.35; }
.story-prose h1:first-child, .story-prose h2:first-child, .story-prose h3:first-child { margin-top: 0; }
.story-prose ul, .story-prose ol { margin: 0 0 20px; padding-left: 22px; }
.story-prose li { margin-bottom: 8px; }
.story-prose img { max-width: 100%; height: auto; border-radius: 12px; margin: 24px 0; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.story-prose blockquote { border-left: 4px solid var(--accent); background: var(--light-bg); border-radius: 0 12px 12px 0; padding: 18px 24px; margin: 24px 0; font-style: italic; color: var(--text-dark); }
.story-prose a { color: var(--primary); font-weight: 600; }

.story-meta-bar { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.story-meta-item { color: rgba(255,255,255,0.75); font-size: 0.85rem; font-weight: 600; }
.story-share-btn { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 0.9rem; cursor: pointer; transition: all 0.25s; }
.story-share-btn:hover, .story-share-btn.is-copied { background: var(--accent); border-color: var(--accent); }
.story-share-btn-light { flex-shrink: 0; width: 40px; height: 40px; border-radius: 20px; background: var(--light-bg); border: none; color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-size: 0.9rem; cursor: pointer; transition: all 0.25s; }
.story-share-btn-light:hover, .story-share-btn-light.is-copied { background: var(--primary); color: #fff; }

.story-more-card { display: block; text-decoration: none; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 4px 18px rgba(0,0,0,0.07); height: 100%; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.story-more-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(0,0,0,0.1); }
.story-more-img { width: 100%; height: 170px; object-fit: cover; display: block; }
.story-more-body { padding: 18px 20px; }
.story-more-title { font-weight: 800; color: var(--text-dark); font-size: 0.95rem; line-height: 1.4; margin: 0; min-height: 2.6rem; }

.story-pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.story-pager-link { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--text-dark); font-weight: 700; font-size: 0.9rem; text-decoration: none; border: 2px solid var(--border); transition: all 0.25s ease; }
.story-pager-link:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.story-pager-link.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.story-pager-ellipsis { color: var(--text-muted); font-weight: 700; padding: 0 4px; }

.story-date-badge { position: absolute; left: 10px; bottom: 10px; background: rgba(0,0,0,0.6); backdrop-filter: blur(2px); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 5px 12px; border-radius: 20px; }

/* Founder/Mentor "Bio" button that opens the shared bio modal */
.btn-bio { border: 2px solid var(--primary); background: transparent; color: var(--primary); border-radius: 20px; padding: 7px 20px; font-weight: 700; font-size: 0.82rem; transition: all 0.3s; }
.btn-bio:hover { background: var(--primary); color: #fff; }

/* --- Part 5: Featured causes --- */
.cause-home-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.07); transition: all 0.3s; height: 100%; }
.cause-home-media { position: relative; overflow: hidden; }
.cause-home-media-link { display: block; position: relative; width: 100%; border: none; background: none; padding: 0; margin: 0; text-align: left; cursor: pointer; }
.cause-home-img { width: 100%; height: 210px; object-fit: cover; display: block; transition: transform 0.4s; }
.cause-home-gradient { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 45%, rgba(0,0,0,0.55)); }
.cause-home-play-badge { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; background: rgba(220,53,69,0.92); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: 0 4px 14px rgba(0,0,0,0.35); transition: transform 0.25s; }
.cause-home-media:hover .cause-home-play-badge { transform: translate(-50%, -50%) scale(1.1); }
/* Cause video, embedded directly — responsive 16:9 box, never letterboxed. */
.cause-home-video-wrap { position: relative; width: 100%; padding-top: 56.25%; }
.cause-home-video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.cause-home-tags-row { position: absolute; top: 14px; left: 14px; display: flex; gap: 8px; }
.cause-home-tag { background: var(--tag-bg); color: var(--tag-color); font-size: 0.72rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.cause-home-urgent-badge { background: #dc3545; color: #fff; font-size: 0.7rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.cause-home-days-badge-wrap { position: absolute; bottom: 12px; right: 14px; }
.cause-home-days-badge { background: rgba(0,0,0,0.5); color: #fff; font-size: 0.75rem; padding: 4px 10px; border-radius: 20px; backdrop-filter: blur(4px); }
.cause-home-days-badge i { color: var(--accent); }
.cause-home-body { padding: 22px; }
.cause-home-title { font-weight: 800; font-size: 1rem; margin-bottom: 8px; line-height: 1.4; }
.cause-home-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
.cause-progress-wrap { margin-bottom: 14px; }
.cause-progress-row { display: flex; justify-content: space-between; margin-bottom: 5px; }
.cause-progress-raised { font-size: 0.78rem; color: var(--text-muted); }
.cause-progress-raised strong { color: var(--primary); }
.cause-progress-pct { font-size: 0.78rem; font-weight: 700; color: var(--primary); }
.cause-progress-track { background: #e9ecef; border-radius: 10px; height: 7px; overflow: hidden; }
.cause-progress-fill { background: linear-gradient(90deg, var(--primary), var(--accent)); height: 100%; border-radius: 10px; }
.cause-progress-meta-row { display: flex; justify-content: space-between; margin-top: 5px; }
.cause-progress-meta-row span { font-size: 0.75rem; color: var(--text-muted); }
.cause-donate-btn { display: block; background: var(--primary); color: #fff; border-radius: 8px; padding: 9px; text-align: center; font-weight: 700; font-size: 0.85rem; transition: all 0.3s; flex: 1; }
.btn-cause-share { flex-shrink: 0; width: 44px; background: var(--light-bg); color: var(--primary); border: none; border-radius: 10px; font-size: 1rem; cursor: pointer; transition: all 0.25s; }
.btn-cause-share:hover, .btn-cause-share.is-copied { background: var(--primary); color: #fff; }

/* --- Part 7: Get Involved --- */
.involve-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.07); transition: all 0.3s; height: 100%; position: relative; }
.involve-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(239,127,26,0.18) !important; }
.involve-card:hover img { transform: scale(1.05); }
.involve-card-featured { border: 2px solid var(--accent); }
.involve-ribbon { position: absolute; top: 14px; right: -32px; background: var(--accent); color: #fff; font-size: 0.68rem; font-weight: 800; padding: 4px 38px; transform: rotate(45deg); z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.involve-media { position: relative; overflow: hidden; }
.involve-img { width: 100%; height: 190px; object-fit: cover; display: block; transition: transform 0.4s; }
.involve-gradient { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.55)); }
.involve-icon-badge { position: absolute; top: 16px; left: 16px; background: var(--icon-bg); color: var(--icon-color); width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.involve-icon-pulse { position: relative; }
.involve-icon-pulse::after { content: ''; position: absolute; inset: -6px; border-radius: 16px; border: 2px solid var(--accent); animation: involvePulse 1.8s ease-out infinite; }
@keyframes involvePulse {
    0% { transform: scale(0.9); opacity: 0.9; }
    70% { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1.35); opacity: 0; }
}
.involve-body { padding: 24px; }
.involve-title { font-weight: 800; margin-bottom: 8px; }
.involve-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.involve-perks-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.involve-perk-badge { background: var(--light-bg); color: var(--text-dark); font-size: 0.75rem; font-weight: 600; padding: 4px 10px; border-radius: 20px; }
.involve-perk-badge i { color: var(--primary); }
.involve-cta-btn { display: block; background: var(--btn-bg, var(--primary)); color: #fff; border-radius: 8px; padding: 9px; text-align: center; font-weight: 700; font-size: 0.85rem; transition: all 0.3s; }

/* --- Part 8.5: Video testimonials (home) --- */
.video-testi-file { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; border-radius: 14px; }
.video-testi-iframe-wrap { position: relative; padding-top: 125%; border-radius: 14px; overflow: hidden; }
.video-testi-iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.video-testi-name { font-weight: 800; margin: 14px 0 2px; text-align: center; }
.video-testi-role { color: var(--text-muted); font-size: 0.82rem; text-align: center; margin: 0; }

/* --- Part 9: Little Voices video grid + Upcoming Events --- */
.lv-video-card { border-radius: 14px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); background: #fff; }
.lv-video-wrap { position: relative; padding-top: 130%; }
.lv-video-iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.lv-video-caption { margin: 0; padding: 9px 10px; font-weight: 700; font-size: 0.78rem; color: var(--text-dark); }

/* --- Part 9.5: Little Voices — YouTube share-style thumbnail card (impact-stories) --- */
.lv-yt-card { display: block; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.15); text-decoration: none; }
.lv-yt-thumb { position: relative; padding-top: 62%; background-size: cover; background-position: center; background-color: #111; transition: transform 0.4s ease; }
.lv-yt-card:hover .lv-yt-thumb { transform: scale(1.03); }
.lv-yt-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.05) 32%, rgba(0,0,0,0.05) 55%, rgba(0,0,0,0.75) 100%); }
.lv-yt-brand { position: absolute; top: 10px; left: 10px; display: flex; align-items: center; gap: 7px; z-index: 2; }
.lv-yt-avatar { width: 26px; height: 26px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 1px 4px rgba(0,0,0,0.3); }
.lv-yt-avatar i { color: var(--accent); font-size: 0.68rem; }
.lv-yt-brand-name { color: #fff; font-size: 0.68rem; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,0.6); }
.lv-yt-share { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; background: rgba(0,0,0,0.45); display: flex; align-items: center; justify-content: center; z-index: 2; }
.lv-yt-share i { color: #fff; font-size: 0.66rem; }
.lv-yt-title { position: absolute; left: 10px; right: 44px; top: 40px; color: #fff; font-weight: 800; font-size: 0.85rem; line-height: 1.3; text-shadow: 0 1px 4px rgba(0,0,0,0.75); z-index: 2; }
.lv-yt-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 46px; height: 32px; border-radius: 8px; background: #ff0000; display: flex; align-items: center; justify-content: center; z-index: 2; box-shadow: 0 2px 10px rgba(0,0,0,0.4); }
.lv-yt-play i { color: #fff; font-size: 0.82rem; margin-left: 2px; }
.lv-yt-badge { position: absolute; bottom: 10px; right: 10px; display: flex; align-items: center; gap: 5px; background: rgba(0,0,0,0.55); color: #fff; font-size: 0.66rem; font-weight: 700; padding: 4px 9px; border-radius: 20px; z-index: 2; }
.lv-yt-badge i { color: #ff0000; font-size: 0.8rem; }
.events-widget-card { background: #fff; border-radius: 20px; padding: 26px; box-shadow: 0 4px 20px rgba(0,0,0,0.07); height: 100%; }
.events-widget-title { font-weight: 800; margin-bottom: 20px; font-size: 1.1rem; }
.events-widget-title i { color: var(--primary); }
.event-row { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.event-icon-box { width: 66px; height: 66px; border-radius: 14px; overflow: hidden; flex-shrink: 0; box-shadow: 0 3px 10px rgba(0,0,0,0.1); }
.event-icon-top { background: var(--icon-color); color: #fff; font-size: 1.3rem; text-align: center; padding: 10px 0 6px; }
.event-icon-badge { background: #fff; color: var(--icon-color); font-size: 0.62rem; font-weight: 800; text-align: center; padding: 5px 0; text-transform: uppercase; letter-spacing: 0.5px; }
.event-info-title { font-weight: 700; margin-bottom: 2px; font-size: 0.92rem; line-height: 1.3; }
.event-info-location { font-size: 0.8rem; color: var(--text-muted); margin: 0; }
.events-empty-text { color: var(--text-muted); font-size: 0.85rem; }

/* Events list page — card with image, map link, attendance, RSVP button */
.event-card { background: #fff; border-radius: 18px; padding: 24px; margin-bottom: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.07); display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.event-card-media { position: relative; width: 110px; height: 110px; border-radius: 16px; overflow: hidden; flex-shrink: 0; box-shadow: 0 3px 10px rgba(0,0,0,0.12); }
.event-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-card-date-badge { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.55); color: #fff; font-size: 0.62rem; font-weight: 800; text-align: center; padding: 4px 0; text-transform: uppercase; letter-spacing: 0.5px; }
.event-card-meta-row { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-top: 2px; }
.event-card-meta-item { color: var(--text-muted); font-size: 0.85rem; display: inline-flex; align-items: center; }
.event-card-map-link { color: var(--primary); font-size: 0.8rem; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; }
.event-card-map-link:hover { text-decoration: underline; }
.event-card-attendees-btn { background: none; border: none; padding: 0; color: var(--primary); font-size: 0.85rem; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; }
.event-card-attendees-btn:hover { text-decoration: underline; }

/* Event detail page — photo gallery grid */
.event-detail-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.event-detail-gallery-item { border-radius: 12px; overflow: hidden; aspect-ratio: 1 / 1; display: block; box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.event-detail-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.event-detail-gallery-item:hover img { transform: scale(1.06); }
.event-card-actions { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; margin-left: auto; }
.event-card-btn { border-radius: 20px; padding: 8px 18px; font-size: 0.8rem; font-weight: 700; white-space: nowrap; text-decoration: none; text-align: center; border: none; cursor: pointer; }
.event-card-btn-outline { background: rgba(239,127,26,0.12); color: var(--accent); border: 1px solid rgba(239,127,26,0.35); }
.event-card-btn-primary { background: var(--primary); color: #fff; }
.event-card-btn-primary:hover { background: var(--primary-dark); color: #fff; }
/* Fallback "calendar" date badge shown when an event has no photo. */
.event-calendar-badge { width: 78px; height: 78px; border-radius: 16px; overflow: hidden; flex-shrink: 0; box-shadow: 0 3px 10px rgba(0,0,0,0.12); display: flex; flex-direction: column; }
.event-calendar-badge-top { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; font-size: 1.3rem; text-align: center; padding: 12px 0 6px; }
.event-calendar-badge-bottom { background: #fff; color: var(--primary); font-size: 0.66rem; font-weight: 800; text-align: center; padding: 5px 0; text-transform: uppercase; letter-spacing: 0.5px; }
.event-calendar-badge--sm { width: 64px; height: 64px; }
.event-calendar-badge--sm .event-calendar-badge-top { font-size: 1.1rem; padding: 9px 0 4px; }
.event-rsvp-alert { border-radius: 10px; padding: 14px 18px; margin-bottom: 20px; font-size: 0.9rem; }
.event-rsvp-alert-success { background: #e3f7ec; border: 1px solid #c3e6cb; color: #155724; }
.event-rsvp-alert-danger { background: #ffe8e8; border: 1px solid #f5c6cb; color: #721c24; }
@media (max-width: 575px) {
    .event-card-actions { flex-direction: row; flex-wrap: wrap; margin-left: 0; width: 100%; }
}

/* --- Part 10: (formerly CTA banner, replaced by "Our Presence" on the homepage) --- */

/* "Our Presence" — center cards with live embedded maps */
.presence-card { background: #fff; border-radius: 18px; overflow: hidden; height: 100%; box-shadow: 0 4px 20px rgba(0,0,0,0.07); transition: all 0.3s; }
.presence-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,0.12); }
.presence-card-map { position: relative; height: 190px; overflow: hidden; background: var(--light-bg); }
.presence-card-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.15) contrast(1.02); }
.presence-card-body { padding: 22px 24px; }
.presence-card-state { display: inline-flex; align-items: center; background: var(--primary-light); color: var(--primary); font-weight: 800; font-size: 0.92rem; padding: 5px 14px; border-radius: 20px; margin-bottom: 12px; }
.presence-card-address { color: var(--text-dark); font-size: 0.85rem; font-weight: 600; line-height: 1.6; margin-bottom: 10px; }
.presence-card-focus { color: var(--text-muted); font-size: 0.85rem; line-height: 1.7; margin: 0; }

/* Small shared utilities used across home.php sections */
.bg-section-white { background: #fff; }
.bg-section-light { background: var(--light-bg); }
.title-line-left { margin: 12px 0 20px; }
.about-lead-para--last { margin-bottom: 24px; }
.scroll-anchor { scroll-margin-top: 110px; }
.empty-state-text { color: var(--text-muted); padding: 20px 0; }
.text-accent { color: var(--accent); }
.min-w-0 { min-width: 0; }

/* Global page behaviour (was an inline <style> in the header) */
html { scroll-behavior: smooth; }

/* "See Our Presence Across India" jump button */
.presence-jump { display: inline-flex; align-items: center; gap: 12px; background: linear-gradient(135deg, var(--primary), #2f6b1e); color: #fff; font-weight: 800; font-size: 0.95rem; letter-spacing: 0.01em; padding: 14px 30px; border-radius: 40px; text-decoration: none; box-shadow: 0 10px 30px rgba(69,132,56,0.35); transition: transform .25s ease, box-shadow .25s ease; animation: presenceJumpPulse 2.6s ease-in-out infinite; }
.presence-jump:hover, .presence-jump:focus { color: #fff; transform: translateY(-3px); box-shadow: 0 18px 42px rgba(69,132,56,0.45); }
.presence-jump .pj-arrow { animation: presenceJumpArrow 1.4s ease-in-out infinite; }
.presence-jump:hover .pj-arrow { animation: none; transform: translateX(5px); }
@keyframes presenceJumpArrow { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
@keyframes presenceJumpPulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(69,132,56,0.35), 0 0 0 0 rgba(69,132,56,0.30); }
    50%      { box-shadow: 0 10px 30px rgba(69,132,56,0.20), 0 0 0 14px rgba(69,132,56,0); }
}
@media (prefers-reduced-motion: reduce) { .presence-jump, .presence-jump .pj-arrow { animation: none; } }

/* Sticky header wrapper */
#stickyHeader { position: fixed; top: 0; left: 0; right: 0; z-index: 1050; }

/* Top bar - mobile compact links */
.top-bar-mobile-link { color: #cde8d8; font-size: 0.75rem; }
@media (max-width: 767px) {
    .top-bar-csr-btn { font-size: 0.72rem; padding: 2px 10px; }
}

/* Navbar brand logo — shown at its actual/natural size */
.navbar-logo-img { width: auto; height: auto; }

/* Footer */
.footer-logo-img { height: 64px; width: auto; background: var(--white); padding: 4px 10px; border-radius: 10px; }
.footer-tagline { font-size: 0.9rem; line-height: 1.8; }
.footer-legal-text { font-size: 0.8rem; color: #8aab96; }
.footer-newsletter-title { font-size: 0.88rem; }
.footer-newsletter-input {
    border: none; background: transparent; color: var(--white);
    padding: 9px 16px; font-size: 0.85rem; flex: 1; outline: none; min-width: 0;
}
.footer-newsletter-input::placeholder { color: #8aab96; }
.footer-newsletter-btn {
    background: var(--accent); color: #fff; border: none; border-radius: 8px;
    padding: 9px 16px; font-size: 0.85rem; cursor: pointer; white-space: nowrap;
}

/* Home: donation progress bar - width is data-driven (% raised) */
.cause-progress-fill { width: var(--progress); }

/* Home: featured cause card - fallback media block when no image is set */
.cause-home-media--fallback { height: 210px; background: var(--fallback-bg); display: flex; align-items: center; justify-content: center; }
.cause-home-icon-fallback { font-size: 2.6rem; color: var(--icon-color); }
.cause-donate-row { display: flex; gap: 8px; }
.involve-cta-btn--featured { --btn-bg: var(--accent); }

/* Home: "Verify ID" widget result box */
.verify-result-box { border-radius: 12px; padding: 18px; margin-bottom: 12px; display: flex; align-items: center; gap: 14px; }
.verify-result-box--valid { background: #e3f7ec; border: 2px solid var(--primary); }
.verify-result-box--invalid { background: #ffe8e8; border: 2px solid #dc3545; }
.verify-result-icon-badge { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.verify-result-icon-badge--valid { background: var(--primary); }
.verify-result-icon-badge--invalid { background: #dc3545; }
.verify-result-icon-badge i { color: #fff; font-size: 1.2rem; }
.verify-result-heading { font-weight: 800; margin: 0; }
.verify-result-heading--valid { color: var(--primary); }
.verify-result-heading--invalid { color: #dc3545; }
.verify-result-text { color: var(--text-muted); font-size: 0.82rem; margin: 0; }
.verify-result-text a { color: var(--primary); }
