/* =========================================================================
   NTR Foundation USA — modern design system
   Loaded AFTER Bootstrap; layers a contemporary theme on top without
   touching the legacy style1.css. Pure CSS — no jQuery, no build step.
   ========================================================================= */

:root {
    /* Logo-matched palette: deep navy + warm coral-red, with an amber spark. */
    --ntr-primary:   #c0392b;   /* logo red / coral */
    --ntr-primary-d: #962d22;
    --ntr-accent:    #f39c12;   /* warm amber spark */
    --ntr-navy:      #16233c;   /* logo navy — deep anchor */
    --ntr-navy-2:    #1f3358;   /* lighter navy for gradients */
    --ntr-ink:       #16233c;   /* headings now use the logo navy */
    --ntr-muted:     #5a6678;
    --ntr-bg-soft:   #f6f8fc;   /* cool, slightly blue-tinted off-white */
    --ntr-bg-warm:   #fdf6f2;   /* warm cream tint for alternating sections */
    --ntr-line:      #e6eaf2;
    --ntr-radius:    18px;
    --ntr-shadow:    0 18px 40px -18px rgba(22, 35, 60, .32);
    --ntr-shadow-sm: 0 8px 24px -12px rgba(22, 35, 60, .24);
    --ntr-grad:      linear-gradient(120deg, var(--ntr-primary) 0%, #e74c3c 55%, var(--ntr-accent) 130%);
    --ntr-grad-navy: linear-gradient(135deg, var(--ntr-navy) 0%, var(--ntr-navy-2) 100%);
}

body {
    color: var(--ntr-ink);
    font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;   /* no stray horizontal scroll from off-canvas panels */
}

/* <picture> should behave like the <img> it wraps so object-fit boxes work.
   The inner <img> fills the picture; the picture fills its container. */
picture { display: block; width: 100%; height: 100%; }
picture > img { display: block; width: 100%; height: 100%; }

.section-pad { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.bg-soft     { background: var(--ntr-bg-soft); }

/* Section heading kit ----------------------------------------------------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--ntr-primary);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--ntr-primary); display: inline-block; }
.section-title {
    font-weight: 800; line-height: 1.12;
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    letter-spacing: -.02em;
}
.section-title .hl { color: var(--ntr-primary); }
.section-lead { color: var(--ntr-muted); font-size: 1.06rem; max-width: 620px; }

/* Buttons ----------------------------------------------------------------- */
.btn-ntr {
    --bs-btn-focus-shadow-rgb: 192,57,43;
    background: var(--ntr-grad); color: #fff; border: 0;
    font-weight: 700; padding: .8rem 1.7rem; border-radius: 999px;
    box-shadow: 0 12px 26px -12px rgba(192,57,43,.7);
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.btn-ntr:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 18px 34px -12px rgba(192,57,43,.78); }
.btn-ghost {
    border: 2px solid rgba(255,255,255,.7); color: #fff; background: transparent;
    font-weight: 700; padding: .72rem 1.6rem; border-radius: 999px;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.btn-ghost:hover { background: #fff; color: var(--ntr-primary); transform: translateY(-2px); }
.btn-outline-ntr {
    border: 2px solid var(--ntr-primary); color: var(--ntr-primary); background: transparent;
    font-weight: 700; padding: .7rem 1.5rem; border-radius: 999px; transition: all .2s ease;
}
.btn-outline-ntr:hover { background: var(--ntr-primary); color: #fff; transform: translateY(-2px); }

/* ===== HEADER (self-contained — replaces legacy style1.css) ============ */
.header { background: #fff; position: relative; z-index: 1000; box-shadow: 0 2px 20px -16px rgba(22,35,60,.5); }
.header-top { background: var(--ntr-grad); color: #fff; font-size: .9rem; padding: .5rem 0; }
.header-top a { color: rgba(255,255,255,.85); text-decoration: none; transition: color .18s ease; }
.header-top a:hover { color: #fff; }
.header-top .top-info { list-style: none; padding: 0; margin: 0; }
.header-top .top-info li { display: inline-block; margin-right: 1.2rem; }
.header-top .top-info li i { color: var(--ntr-accent); margin-right: .35rem; }

.header .navbar { padding: .5rem 0; }
.header .navbar-brand { padding: 0; }
.header .navbar-nav .nav-link { color: var(--ntr-ink); padding: .5rem 1rem; transition: color .18s ease; }
.header .navbar-nav .nav-link:hover,
.header .navbar-nav .nav-item.dropdown:hover > .nav-link { color: var(--ntr-primary); }

/* pill "Donate Now" in the header */
.custom-btn {
    display: inline-block; background: var(--ntr-grad); color: #fff; font-weight: 700;
    padding: .7rem 1.6rem; border-radius: 999px; text-decoration: none;
    box-shadow: 0 12px 26px -12px rgba(192,57,43,.7);
    transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.custom-btn:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.04); }

/* ===== MEGA MENU ======================================================== */
.navbar .nav-link { font-weight: 600; }

/* 60%-width viewport-centered dropdown panel.
   Centered with left:0 + right:0 + margin auto (NOT translateX) so it stays
   centered even if an ancestor has a transform — and can never overflow. */
.mega-menu {
    position: fixed; top: 118px;
    left: 0 !important; right: 0 !important; margin-inline: auto;
    width: 60%; max-width: 880px; margin-top: 0; transform: none !important;
    border: 1px solid var(--ntr-line);
    border-radius: var(--ntr-radius); overflow: hidden;
    box-shadow: var(--ntr-shadow); padding: 1.8rem; background: #fff;
}
.mega-menu .container { width: 100%; max-width: 100%; padding: 0; }
.mega-menu .mega-heading {
    font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--ntr-primary); margin-bottom: 1rem; padding-left: .25rem;
}
.mega-link {
    display: flex; align-items: center; gap: .85rem;
    padding: .7rem .8rem; border-radius: 14px; text-decoration: none; color: var(--ntr-ink);
    transition: background .2s ease, transform .2s ease;
}
.mega-link:hover { background: var(--ntr-bg-soft); transform: translateX(3px); color: var(--ntr-ink); }
.mega-ico {
    flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
    background: linear-gradient(135deg, #fdecea, #fff4e2); color: var(--ntr-primary); font-size: 1.1rem;
    transition: transform .2s ease;
}
.mega-link:hover .mega-ico { transform: scale(1.06); }
.mega-link strong { display: block; font-size: .96rem; line-height: 1.2; }
.mega-link small { color: var(--ntr-muted); font-size: .8rem; }

/* feature promo tile inside the About mega menu */
.mega-feature {
    display: block; position: relative; height: 100%; min-height: 200px; border-radius: 16px;
    overflow: hidden; text-decoration: none; box-shadow: var(--ntr-shadow-sm);
}
.mega-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mega-feature:hover img { transform: scale(1.06); }
.mega-feature-body {
    position: absolute; inset: auto 0 0 0; padding: 1.2rem; color: #fff;
    background: linear-gradient(transparent, rgba(0,0,0,.8));
}
.mega-feature-body small { color: var(--ntr-accent); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .72rem; }
.mega-feature-body strong { display: block; font-size: 1.02rem; line-height: 1.3; margin: .25rem 0 .5rem; }
.mega-feature-cta { font-size: .85rem; font-weight: 700; color: #fff; }
.mega-feature-cta i { transition: transform .2s ease; }
.mega-feature:hover .mega-feature-cta i { transform: translateX(4px); }

/* desktop: the mega menu is shown via JS (.show-mega) with a close delay, so
   it never vanishes as the cursor crosses the gap from the nav item onto it. */
@media (min-width: 992px) {
    .mega-menu { display: none; }
    .mega-menu.show-mega { display: block; animation: megaIn .18s ease; }
    /* transparent bridge fills the gap between nav bar and the fixed panel so
       the pointer never leaves a hoverable surface */
    .mega-menu.show-mega::after {
        content: ""; position: absolute; left: 0; right: 0; top: -30px; height: 30px;
    }
}
/* fade-in only — no transform (centering uses margin auto, not translate) */
@keyframes megaIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* mobile: no hover — show the mega menus inline as stacked lists when the
   collapsed nav is open (pure CSS, no Bootstrap dropdown JS needed). */
@media (max-width: 991.98px) {
    .mega-menu {
        display: block !important;       /* always visible inside the open nav */
        position: static; transform: none; width: 100%; max-width: 100%;
        box-shadow: none; border: 0; padding: .25rem 0 .75rem; animation: none; margin: 0;
    }
    .mega-feature { display: none; }
    .mega-menu .mega-heading { margin-top: .75rem; }
    .nav-item.dropdown > .nav-link.dropdown-toggle::after { float: right; margin-top: .6rem; }
}

/* ===== HERO carousel ===================================================== */
.hero {
    position: relative;
    background: radial-gradient(1200px 600px at 15% -10%, #fff5f3 0%, transparent 60%),
                radial-gradient(1000px 500px at 100% 0%, #fdf3e2 0%, transparent 55%),
                var(--ntr-bg-soft);
    overflow: hidden;
}
.hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(circle at 90% 90%, rgba(192,57,43,.06), transparent 40%);
}
.hero-grid {
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: center;
    min-height: 360px; padding: 1.75rem 0;   /* compact hero */
}
.hero-kicker {
    display: inline-flex; align-items: center; gap: .55rem;
    background: #fff; border: 1px solid var(--ntr-line); border-radius: 999px;
    padding: .4rem .9rem; font-weight: 600; font-size: .85rem; color: var(--ntr-primary);
    box-shadow: var(--ntr-shadow-sm);
}
.hero-title {
    font-weight: 800; letter-spacing: -.025em; line-height: 1.05;
    font-size: clamp(2.2rem, 5vw, 3.9rem); margin: 1.1rem 0 1rem;
}
.hero-title .hl {
    background: var(--ntr-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: var(--ntr-muted); font-size: 1.12rem; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }
.hero-trust { display: flex; gap: 1.8rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-trust .num { font-weight: 800; font-size: 1.5rem; color: var(--ntr-ink); }
.hero-trust .lbl { font-size: .82rem; color: var(--ntr-muted); }

.hero-media { position: relative; }
.hero-figure {
    border-radius: var(--ntr-radius); overflow: hidden; box-shadow: var(--ntr-shadow);
    margin-inline: auto; background: var(--ntr-bg-soft);
    max-width: 380px; height: 380px;            /* compact but tall enough to show the face */
}
.hero-figure img {
    width: 100%; height: 100%; object-fit: cover; object-position: center 30%; /* show the FACE, not just turban */
    display: block;
}
.hero-figure picture { height: 100%; }
.hero-badge {
    position: absolute; left: -18px; bottom: 26px; z-index: 5;
    background: #fff; border-radius: 16px; padding: .9rem 1.1rem;
    box-shadow: var(--ntr-shadow); display: flex; align-items: center; gap: .75rem;
}
.hero-badge i { color: var(--ntr-primary); font-size: 1.5rem; }
.hero-badge .b-num { font-weight: 800; line-height: 1; }
.hero-badge .b-lbl { font-size: .76rem; color: var(--ntr-muted); }

/* ===== Hero marquee (continuous left-to-right) ========================= */
.hero-marquee {
    width: 100%; overflow: hidden; margin-top: 1.5rem;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
    display: flex; gap: 1.25rem; width: max-content;
    animation: marqueeRTL 45s linear infinite;
}
.hero-marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
    flex: 0 0 auto; height: clamp(150px, 16vw, 210px);
    border-radius: var(--ntr-radius); overflow: hidden; box-shadow: var(--ntr-shadow-sm);
    background: #fff;
}
/* width auto-sizes to the image's own ratio so wide banners show in FULL —
   no side-cropping. Fixed height; width follows naturally. */
.marquee-item img { height: 100%; width: auto; object-fit: contain; display: block; }
/* track holds the image list twice; shifting by -50% loops seamlessly.
   left-to-right motion: start shifted, move toward 0. */
@keyframes marqueeRTL {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; transform: translateX(-50%); }
}

/* ===== Impact stat band (edge-to-edge, full length) ==================== */
.impact-band {
    background: var(--ntr-grad); color: #fff; width: 100%;   /* brand logo colors */
    padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 5vw, 4rem);
}
.impact-row {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; align-items: center;
    max-width: 1500px; margin: 0 auto;
}
.impact-item { text-align: center; position: relative; }
.impact-item + .impact-item::before {
    content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    height: 56px; width: 1px; background: rgba(255,255,255,.28);
}
.impact-num { font-weight: 800; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; text-shadow: 0 2px 8px rgba(0,0,0,.12); }
.impact-num .suf { color: #fff; opacity: .85; }
.impact-lbl { font-size: .9rem; color: rgba(255,255,255,.9); margin-top: .45rem; letter-spacing: .03em; }

/* ===== About — 3 captioned portraits =================================== */
.about-portraits {
    display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 1rem;
}
.about-portraits .portrait { position: relative; margin: 0; border-radius: var(--ntr-radius);
    overflow: hidden; box-shadow: var(--ntr-shadow-sm); }
.about-portraits .portrait:first-child { grid-row: span 2; }   /* NTR taller, like the old layout */
.about-portraits .portrait img { width: 100%; height: 100%; object-fit: cover;
    object-position: top center; display: block; transition: transform .5s ease; }
.about-portraits .portrait:first-child img { min-height: 360px; }
.about-portraits .portrait:not(:first-child) img { height: 210px; }   /* taller so heads aren't clipped */
.about-portraits .portrait:hover img { transform: scale(1.06); }
.about-portraits figcaption {
    position: absolute; bottom: 0; left: 0; right: 0; color: #fff; font-weight: 700;
    padding: 1.2rem 1rem .8rem; letter-spacing: .04em; font-size: .82rem;
    background: linear-gradient(transparent, rgba(0,0,0,.78));
}
.about-feat { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.6rem; }
.about-feat .f {
    display: flex; gap: .75rem; align-items: flex-start;
    background: #fff; border: 1px solid var(--ntr-line); border-radius: 14px; padding: 1rem;
}
.about-feat i { color: var(--ntr-primary); font-size: 1.2rem; margin-top: .15rem; }
.about-feat strong { display: block; font-size: .98rem; }
.about-feat span { color: var(--ntr-muted); font-size: .85rem; }

/* ===== Program cards ("What we do") ===================================== */
.prog-card {
    background: #fff; border: 1px solid var(--ntr-line); border-radius: var(--ntr-radius);
    padding: 2rem 1.6rem; height: 100%;
    transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease;
    position: relative; overflow: hidden;
}
.prog-card::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--ntr-grad);
    transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.prog-card:hover { transform: translateY(-8px); box-shadow: var(--ntr-shadow); border-color: transparent; }
.prog-card:hover::before { transform: scaleX(1); }
.prog-ico {
    width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
    background: linear-gradient(135deg, #fdecea, #fff4e2); color: var(--ntr-primary);
    font-size: 1.5rem; margin-bottom: 1.1rem;
}
.prog-card h5 { font-weight: 700; }
.prog-card p { color: var(--ntr-muted); font-size: .94rem; margin-bottom: 1rem; }
.prog-card .more { color: var(--ntr-primary); font-weight: 700; font-size: .9rem; text-decoration: none; }
.prog-card .more i { transition: transform .2s ease; }
.prog-card:hover .more i { transform: translateX(4px); }

/* ===== Causes (with progress) ========================================== */
.cause-card {
    background: #fff; border: 1px solid var(--ntr-line); border-radius: var(--ntr-radius);
    overflow: hidden; height: 100%; transition: transform .26s ease, box-shadow .26s ease;
}
.cause-card:hover { transform: translateY(-6px); box-shadow: var(--ntr-shadow); }
.cause-thumb { position: relative; height: 220px; overflow: hidden; }
.cause-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cause-card:hover .cause-thumb img { transform: scale(1.07); }
.cause-tag {
    position: absolute; top: 14px; left: 14px; background: var(--ntr-primary); color: #fff;
    font-size: .72rem; font-weight: 700; padding: .3rem .7rem; border-radius: 999px; letter-spacing: .04em;
}
.cause-body { padding: 1.4rem; }
.cause-body h5 { font-weight: 700; }
.cause-body p { color: var(--ntr-muted); font-size: .9rem; min-height: 48px; }
.cause-meta { display: flex; justify-content: space-between; font-size: .85rem; margin: .9rem 0 .4rem; }
.cause-meta .raised { font-weight: 700; }
.cause-meta .goal { color: var(--ntr-muted); }
.bar { height: 9px; background: var(--ntr-line); border-radius: 999px; overflow: hidden; }
.bar > span { display: block; height: 100%; width: 0; background: var(--ntr-grad); border-radius: 999px;
    transition: width 1.1s cubic-bezier(.16,.84,.44,1); }

/* ===== Board preview ==================================================== */
.board-card {
    border-radius: var(--ntr-radius); overflow: hidden; background: #fff;
    border: 1px solid var(--ntr-line); transition: transform .26s ease, box-shadow .26s ease;
}
.board-card:hover { transform: translateY(-6px); box-shadow: var(--ntr-shadow); }
/* 5-per-row board layout on large screens (Bootstrap has no 1/5 column). */
@media (min-width: 992px) {
    .col-board { flex: 0 0 auto; width: 20%; }
    .col-board .board-photo { height: 260px; }
}
.board-photo {
    position: relative; height: 320px; overflow: hidden;
    /* clean light backdrop behind the transparent (bg-removed) portraits */
    background: linear-gradient(180deg, #f3f6fb 0%, #e9eef6 100%);
}
.board-photo img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; transition: transform .5s ease; }
.board-card:hover .board-photo img { transform: scale(1.06); }
.board-photo .socials {
    position: absolute; inset: auto 0 0 0; display: flex; gap: .5rem; justify-content: center;
    padding: .8rem; background: linear-gradient(transparent, rgba(0,0,0,.6));
    opacity: 0; transform: translateY(8px); transition: all .26s ease;
}
.board-card:hover .socials { opacity: 1; transform: translateY(0); }
.board-photo .socials a {
    width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--ntr-primary);
    display: grid; place-items: center; font-size: .85rem; text-decoration: none;
}
.board-info { text-align: center; padding: 1rem; }
.board-info h6 { margin: 0; font-weight: 700; }
.board-info small { color: var(--ntr-primary); font-weight: 600; }

/* ===== Testimonials ==================================================== */
.quote-card {
    background: #fff; border: 1px solid var(--ntr-line); border-radius: var(--ntr-radius);
    padding: 2rem; height: 100%; box-shadow: var(--ntr-shadow-sm);
}
.quote-card .fa-quote-left { color: var(--ntr-accent); font-size: 1.6rem; }
.quote-card p { font-size: 1rem; color: var(--ntr-ink); margin: .9rem 0 1.2rem; }
.quote-who { display: flex; align-items: center; gap: .8rem; }
.quote-who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.quote-who strong { display: block; font-size: .95rem; }
.quote-who span { font-size: .82rem; color: var(--ntr-muted); }

/* ===== CTA band ======================================================== */
.cta-band {
    background: var(--ntr-grad); color: #fff; border-radius: var(--ntr-radius);
    padding: clamp(2.2rem, 5vw, 3.5rem); text-align: center; position: relative; overflow: hidden;
    box-shadow: var(--ntr-shadow);
}
.cta-band::before, .cta-band::after {
    content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.12);
}
.cta-band::before { width: 260px; height: 260px; top: -120px; right: -60px; }
.cta-band::after  { width: 200px; height: 200px; bottom: -110px; left: -40px; }
.cta-band h2 { font-weight: 800; position: relative; }
.cta-band p { opacity: .92; position: relative; }

/* ===== PAGE HERO (inner content pages) ================================= */
.page-hero {
    position: relative; overflow: hidden; color: #fff;
    background: var(--ntr-grad);
    padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}
.page-hero::before, .page-hero::after {
    content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.1);
}
.page-hero::before { width: 320px; height: 320px; top: -150px; right: -60px; }
.page-hero::after  { width: 220px; height: 220px; bottom: -130px; left: 8%; }
.page-crumb { position: relative; font-size: .9rem; margin-bottom: .9rem; display: flex; align-items: center; gap: .55rem; }
.page-crumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.page-crumb a:hover { color: #fff; }
.page-crumb i { font-size: .7rem; opacity: .7; }
.page-crumb span { color: #fff; font-weight: 600; }
.page-hero-title { position: relative; font-weight: 800; letter-spacing: -.02em; font-size: clamp(2rem, 4.5vw, 3rem); margin: 0; }
.page-hero-rule { position: relative; width: 64px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.85); margin-top: 1rem; }

/* styled content body for admin-authored HTML */
.content-body { font-size: 1.06rem; line-height: 1.85; color: #3a4252; }
.content-body h1, .content-body h2, .content-body h3, .content-body h4 {
    font-weight: 800; color: var(--ntr-ink); letter-spacing: -.01em; margin: 1.8rem 0 .8rem;
}
.content-body h2 { font-size: 1.6rem; } .content-body h3 { font-size: 1.3rem; }
.content-body p { margin-bottom: 1.15rem; }
.content-body a { color: var(--ntr-primary); font-weight: 600; }
.content-body ul, .content-body ol { padding-left: 1.2rem; margin-bottom: 1.15rem; }
.content-body li { margin-bottom: .5rem; }
.content-body img { max-width: 100%; height: auto; border-radius: var(--ntr-radius); box-shadow: var(--ntr-shadow-sm); margin: 1rem 0; }
.content-body blockquote {
    border-left: 4px solid var(--ntr-primary); background: var(--ntr-bg-soft);
    padding: 1rem 1.2rem; border-radius: 0 12px 12px 0; margin: 1.4rem 0; color: var(--ntr-ink);
}
.content-body strong { color: var(--ntr-ink); }

.content-cta {
    margin-top: 2.5rem; padding: clamp(1.5rem, 3vw, 2.2rem); border-radius: var(--ntr-radius);
    background: var(--ntr-bg-soft); border: 1px solid var(--ntr-line);
    display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; justify-content: space-between;
}
.content-cta h4 { font-weight: 800; margin: 0 0 .25rem; }
.content-cta p { margin: 0; color: var(--ntr-muted); }

/* ===== FORMS (modern design system) ==================================== */
.form-wrap { background:
    radial-gradient(1000px 500px at 10% -10%, #fff5f3 0%, transparent 55%),
    radial-gradient(900px 450px at 100% 0%, #fdf3e2 0%, transparent 50%),
    var(--ntr-bg-soft);
    min-height: 100%; padding: clamp(2.5rem, 6vw, 5rem) 0;
}
.form-card {
    background: #fff; border: 1px solid var(--ntr-line); border-radius: var(--ntr-radius);
    box-shadow: var(--ntr-shadow); padding: clamp(1.6rem, 3.5vw, 2.8rem); position: relative; overflow: hidden;
}
.form-card::before { content:""; position:absolute; inset:0 0 auto 0; height:5px; background: var(--ntr-grad); }
.form-head { text-align: center; margin-bottom: 1.6rem; }
.form-head .form-ico {
    width: 60px; height: 60px; border-radius: 16px; margin: 0 auto .9rem; display: grid; place-items: center;
    background: linear-gradient(135deg, #fdecea, #fff4e2); color: var(--ntr-primary); font-size: 1.6rem;
}
.form-head h3 { font-weight: 800; letter-spacing: -.02em; margin-bottom: .25rem; }
.form-head p { color: var(--ntr-muted); font-size: .94rem; margin: 0; }

/* labels + fields */
.form-card .form-label { font-weight: 600; font-size: .88rem; color: var(--ntr-ink); margin-bottom: .35rem; }
.form-card .form-control,
.form-card .form-select {
    border: 1.5px solid var(--ntr-line); border-radius: 12px; padding: .7rem .9rem; font-size: .96rem;
    background: #fff; transition: border-color .18s ease, box-shadow .18s ease;
}
.form-card .form-control::placeholder { color: #aab2c0; }
.form-card .form-control:focus,
.form-card .form-select:focus {
    border-color: var(--ntr-primary); box-shadow: 0 0 0 4px rgba(192,57,43,.12); outline: 0;
}
/* inline validation — invalid fields + per-field messages on the same page */
.form-card .form-control.is-invalid,
.form-card .form-select.is-invalid {
    border-color: #dc3545; background-image: none;
}
.form-card .form-control.is-invalid:focus { box-shadow: 0 0 0 4px rgba(220,53,69,.14); }
.field-error {
    color: #dc3545; font-size: .82rem; font-weight: 600; margin: .35rem 0 .2rem;
    display: flex; align-items: center; gap: .35rem;
}
.field-error i { font-size: .8rem; }
.form-card .input-icon { position: relative; }
.form-card .input-icon > i {
    position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--ntr-muted); font-size: .95rem;
}
.form-card .input-icon > .form-control { padding-left: 2.5rem; }

/* segmented toggles (frequency / amount presets) */
.seg-group { display: flex; gap: .5rem; flex-wrap: wrap; }
.seg-group .btn-check + label {
    flex: 1 1 auto; border: 1.5px solid var(--ntr-line); border-radius: 12px; padding: .6rem .8rem;
    font-weight: 700; color: var(--ntr-ink); background: #fff; cursor: pointer; text-align: center;
    transition: all .18s ease; margin: 0;
}
.seg-group .btn-check:hover + label { border-color: var(--ntr-primary); }
.seg-group .btn-check:checked + label {
    background: var(--ntr-grad); color: #fff; border-color: transparent; box-shadow: 0 8px 18px -10px rgba(192,57,43,.7);
}
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.amount-grid .seg-label {
    border: 1.5px solid var(--ntr-line); border-radius: 12px; padding: .7rem .5rem;
    font-weight: 700; text-align: center; cursor: pointer; margin: 0; color: var(--ntr-ink);
    transition: all .18s ease; user-select: none;
}
.amount-grid .btn-check:hover + .seg-label { border-color: var(--ntr-primary); transform: translateY(-2px); }
.amount-grid .btn-check:checked + .seg-label {
    background: var(--ntr-grad); color: #fff; border-color: transparent !important;
    box-shadow: 0 8px 18px -10px rgba(192,57,43,.7);
}

.form-divider { display: flex; align-items: center; gap: .8rem; margin: 1.4rem 0 1rem; }
.form-divider::before, .form-divider::after { content:""; height:1px; background: var(--ntr-line); flex: 1; }
.form-divider span { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ntr-muted); }

.form-card .btn-submit { width: 100%; margin-top: .4rem; }
.form-foot { text-align: center; margin-top: 1.1rem; font-size: .92rem; color: var(--ntr-muted); }
.form-foot a { color: var(--ntr-primary); font-weight: 700; text-decoration: none; }
.form-foot a:hover { text-decoration: underline; }
.form-secure { text-align: center; font-size: .82rem; color: var(--ntr-muted); margin-top: .75rem; }
.form-secure i { color: #2e7d32; }

/* alerts restyled to match */
.form-card .alert { border: 0; border-radius: 12px; font-size: .92rem; }

/* donation result pages (success / failure) */
.result-card { padding: clamp(2rem, 4vw, 3rem); }
.result-icon {
    width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
    margin: 0 auto; font-size: 2.2rem; color: #fff;
    animation: resultPop .4s cubic-bezier(.18,.89,.32,1.28);
}
.result-icon.success { background: linear-gradient(135deg, #2ecc71, #27ae60); box-shadow: 0 14px 30px -12px rgba(39,174,96,.6); }
.result-icon.failure { background: linear-gradient(135deg, #e74c3c, var(--ntr-primary)); box-shadow: 0 14px 30px -12px rgba(192,57,43,.6); }
@keyframes resultPop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.result-receipt { background: var(--ntr-bg-soft); border: 1px solid var(--ntr-line); border-radius: var(--ntr-radius); padding: 1.2rem 1.4rem; }
.rr-row { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px dashed var(--ntr-line); }
.rr-row:last-child { border-bottom: 0; }
.rr-row span { color: var(--ntr-muted); font-size: .9rem; }
.rr-row strong { text-align: right; word-break: break-all; }
.result-note { display: flex; gap: .7rem; align-items: flex-start; background: #fff7ed; border: 1px solid #fde4c8; border-radius: 12px; padding: 1rem 1.2rem; color: #92590f; font-size: .92rem; }
.result-note i { margin-top: .15rem; color: var(--ntr-accent); }

/* donation form extras */
.donate-card { padding: clamp(1.5rem, 3.5vw, 2.6rem); }
.donate-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; color: var(--ntr-muted); font-size: .85rem; }
.donate-trust span { display: inline-flex; align-items: center; gap: .4rem; }
.donate-trust i { color: #2e7d32; }
.form-card .form-label i { width: 1rem; }

@media (max-width: 575.98px) { .amount-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== FOOTER (light, elegant, 4-column) =============================== */
.site-footer {
    background:
        radial-gradient(900px 420px at 8% 0%, rgba(192,57,43,.22) 0%, transparent 55%),
        radial-gradient(800px 400px at 100% 10%, rgba(243,156,18,.14) 0%, transparent 50%),
        var(--ntr-grad-navy);
    padding: clamp(3.5rem, 6vw, 5rem) 0 1.5rem;
    color: rgba(255,255,255,.78);
    position: relative; overflow: hidden;
}
.site-footer::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--ntr-grad);
}
.site-footer .container { position: relative; z-index: 1; }
.ft-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.ft-brand img { border-radius: 10px; background: #fff; padding: 6px; }
.ft-brand span { font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; color: #fff; }
.ft-about { color: rgba(255,255,255,.66); font-size: .92rem; line-height: 1.65; max-width: 340px; }

.ft-social { display: flex; gap: .55rem; margin-top: 1.1rem; }
.ft-social a {
    width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.8);
    transition: all .2s ease; text-decoration: none;
}
.ft-social a:hover { background: var(--ntr-grad); color: #fff; border-color: transparent; transform: translateY(-3px); }

.ft-head {
    font-weight: 800; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
    color: #fff; margin-bottom: 1.1rem; position: relative; padding-bottom: .6rem;
}
.ft-head::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; border-radius: 3px; background: var(--ntr-grad); }

.ft-links { list-style: none; padding: 0; margin: 0; }
.ft-links li { margin-bottom: .6rem; }
.ft-links a {
    color: rgba(255,255,255,.68); text-decoration: none; font-size: .94rem; transition: color .18s ease;
    display: inline-flex; align-items: center;
}
.ft-links a::before {
    content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    color: var(--ntr-accent); margin-right: .5rem; opacity: 0; transform: translateX(-4px); transition: all .18s ease;
}
.ft-links a:hover { color: #fff; }
.ft-links a:hover::before { opacity: 1; transform: translateX(0); }

.ft-contact { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.ft-contact li { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .85rem; color: rgba(255,255,255,.7); font-size: .94rem; }
.ft-contact li i {
    flex: 0 0 auto; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
    background: rgba(255,255,255,.08); color: var(--ntr-accent); font-size: .9rem; margin-top: .1rem;
}
.ft-contact a { color: rgba(255,255,255,.7); text-decoration: none; transition: color .18s ease; }
.ft-contact a:hover { color: #fff; }

.ft-bottom {
    margin-top: 2.5rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.12);
    display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between; align-items: center;
    color: rgba(255,255,255,.6);
}
.ft-legal a { color: rgba(255,255,255,.6); text-decoration: none; }
.ft-legal a:hover { color: #fff; }
.ft-legal span { margin: 0 .35rem; opacity: .5; }

/* ===== Inner-page components (events, gallery, membership, donate) ====== */
.empty-state { padding: 3rem 1rem; color: var(--ntr-muted); }
.empty-state i { font-size: 3rem; color: var(--ntr-line); margin-bottom: 1rem; display: block; }
.empty-state p { font-size: 1.05rem; max-width: 480px; margin: 0 auto 1rem; }

/* event cards */
.event-card { background:#fff; border:1px solid var(--ntr-line); border-radius:var(--ntr-radius); overflow:hidden; height:100%; transition:transform .26s ease, box-shadow .26s ease; }
.event-card:hover { transform:translateY(-6px); box-shadow:var(--ntr-shadow); }
.event-thumb { position:relative; height:200px; overflow:hidden; background:var(--ntr-bg-soft); }
.event-thumb img { width:100%; height:100%; object-fit:cover; }
.event-noimg { width:100%; height:100%; display:grid; place-items:center; color:var(--ntr-line); font-size:2.5rem; background:linear-gradient(135deg,#fdecea,#fff4e2); }
.event-date { position:absolute; top:12px; left:12px; background:#fff; color:var(--ntr-primary); font-size:.78rem; font-weight:700; padding:.3rem .7rem; border-radius:999px; box-shadow:var(--ntr-shadow-sm); }
.event-body { padding:1.3rem; }
.event-body h5 { font-weight:700; }
.event-loc { color:var(--ntr-primary); font-size:.85rem; font-weight:600; margin-bottom:.5rem; }
.event-body p { color:var(--ntr-muted); font-size:.92rem; margin:0; }

/* gallery grid */
.gallery-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:1rem; }
.gallery-item { position:relative; display:block; border-radius:var(--ntr-radius); overflow:hidden; aspect-ratio:4/3; box-shadow:var(--ntr-shadow-sm); }
.gallery-item img { width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.gallery-item:hover img { transform:scale(1.08); }
.gallery-zoom { position:absolute; inset:0; display:grid; place-items:center; color:#fff; font-size:1.4rem; background:rgba(22,35,60,.45); opacity:0; transition:opacity .25s ease; }
.gallery-item:hover .gallery-zoom { opacity:1; }

/* membership steps */
.step-card { position:relative; background:#fff; border:1px solid var(--ntr-line); border-radius:var(--ntr-radius); padding:2.2rem 1.6rem 1.6rem; height:100%; text-align:center; transition:transform .26s ease, box-shadow .26s ease; }
.step-card:hover { transform:translateY(-6px); box-shadow:var(--ntr-shadow); }
.step-num { position:absolute; top:-18px; left:50%; transform:translateX(-50%); width:40px; height:40px; border-radius:50%; background:var(--ntr-grad); color:#fff; font-weight:800; display:grid; place-items:center; box-shadow:0 8px 18px -8px rgba(192,57,43,.7); }
.step-card .prog-ico { margin:.8rem auto 1rem; }
.step-card h5 { font-weight:700; }
.step-card p { color:var(--ntr-muted); font-size:.94rem; }

/* wide cause cards */
.cause-wide { display:flex; gap:1.3rem; background:#fff; border:1px solid var(--ntr-line); border-radius:var(--ntr-radius); padding:1.6rem; height:100%; transition:transform .26s ease, box-shadow .26s ease; }
.cause-wide:hover { transform:translateY(-4px); box-shadow:var(--ntr-shadow); }
.cause-wide-ico { flex:0 0 auto; width:62px; height:62px; border-radius:16px; display:grid; place-items:center; background:linear-gradient(135deg,#fdecea,#fff4e2); color:var(--ntr-primary); font-size:1.6rem; }
.cause-wide-body { flex:1; }
.cause-wide-body h5 { font-weight:700; }
.cause-wide-body p { color:var(--ntr-muted); font-size:.92rem; }

/* contributors */
.contributor-card { background:#fff; border:1px solid var(--ntr-line); border-radius:var(--ntr-radius); padding:1.6rem 1rem; text-align:center; transition:transform .26s ease, box-shadow .26s ease; }
.contributor-card:hover { transform:translateY(-5px); box-shadow:var(--ntr-shadow); }
.contributor-avatar { width:64px; height:64px; border-radius:50%; margin:0 auto .8rem; display:grid; place-items:center; background:var(--ntr-grad); color:#fff; font-size:1.6rem; font-weight:800; }
.contributor-card h6 { font-weight:700; margin:0; }
.contributor-card small { color:var(--ntr-primary); font-weight:600; }

/* ===== CERTIFICATE (printable) ========================================= */
.cert-page { background: #eef1f6; padding: 2rem 1rem; }
.cert-toolbar { max-width: 1000px; margin: 0 auto 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.cert-sheet { max-width: 1000px; margin: 0 auto; background: #fff; box-shadow: var(--ntr-shadow); }
.cert-border { padding: 14px; background: var(--ntr-grad); }
.cert-inner {
    border: 2px solid rgba(192,57,43,.35); background:
        radial-gradient(600px 300px at 12% 0%, #fff6f3 0%, transparent 60%),
        radial-gradient(600px 300px at 100% 100%, #fdf6ea 0%, transparent 55%), #fff;
    padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 6vw, 5rem); text-align: center; position: relative;
}
.cert-logo { height: 80px; width: auto; margin-bottom: .5rem; }
.cert-org { font-weight: 800; letter-spacing: .12em; color: var(--ntr-navy); font-size: 1rem; }
.cert-kicker { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ntr-primary); margin-top: .35rem; }
.cert-title { font-family: "Playfair Display", serif; font-weight: 700; font-size: clamp(2.4rem, 6vw, 3.6rem); color: var(--ntr-navy); margin: 1rem 0 .25rem; }
.cert-sub { color: var(--ntr-muted); font-size: 1rem; }
.cert-name { font-family: "Playfair Display", serif; font-weight: 700; font-size: clamp(1.8rem, 4.5vw, 2.6rem);
    color: var(--ntr-primary); margin: 1.2rem 0 .3rem; }
.cert-rule { width: 280px; max-width: 70%; height: 2px; background: var(--ntr-grad); margin: 0 auto 1.4rem; }
.cert-body { color: var(--ntr-ink); font-size: 1.06rem; line-height: 1.8; max-width: 640px; margin: 0 auto; }
.cert-extra { margin-top: 1rem; color: var(--ntr-navy); font-size: 1rem; }
.cert-footer { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 3rem; gap: 1rem; }
.cert-meta { text-align: center; }
.cert-meta span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ntr-muted); }
.cert-meta strong { font-size: .95rem; color: var(--ntr-ink); }
.cert-seal { width: 80px; height: 80px; border-radius: 50%; background: var(--ntr-grad); color: #fff;
    display: grid; place-items: center; font-size: 2rem; box-shadow: 0 10px 24px -10px rgba(192,57,43,.7); }
.cert-sign { margin-top: 2rem; }
.cert-sign-line { display: inline-block; border-top: 1.5px solid var(--ntr-ink); padding-top: .4rem;
    font-size: .85rem; color: var(--ntr-muted); min-width: 220px; }

@media print {
    .no-print { display: none !important; }
    .cert-page { background: #fff; padding: 0; }
    .cert-sheet { box-shadow: none; max-width: 100%; }
    @page { size: landscape; margin: 12mm; }
}

/* ===== Scroll reveal ==================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Responsive ====================================================== */
@media (max-width: 991.98px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; min-height: auto; }
    .hero-cta, .hero-trust { justify-content: center; }
    .hero-sub { margin-inline: auto; }
    .impact-row { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; }
    .impact-item:nth-child(3)::before, .impact-item:nth-child(2)::before { display: none; }
    .about-feat { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
    .impact-row { grid-template-columns: 1fr; }
    .impact-item + .impact-item::before { display: none; }
    .hero-figure img { height: 320px; }
    .about-portraits { grid-template-columns: 1fr 1fr; }
    .about-portraits .portrait:first-child { grid-row: auto; grid-column: span 2; }
    .about-portraits .portrait:first-child img { min-height: 240px; }
}




