/* ============================================================
   ANNAI THERASA EDUCATIONAL & CHARITABLE TRUST
   Main Stylesheet — style.css
   Color Scheme: Blue, Gold & White
   ============================================================ */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
    --primary-blue:  #2563EB;
    --dark-blue:     #1E40AF;
    --deep-blue:     #1E3A8A;
    --light-blue:    #EFF6FF;
    /*--gold:          #D4A017;*/
    --gold:#FFD700;
    --gold-dark:     #B8901A;
    --gold-light:   #ffbf00;
    --white:         #FFFFFF;
    --dark-text:     #1F2937;
    --light-gray:    #F8F9FA;
    --muted:         #5B6470;
    --border:        #E4E9EE;

    --font-head: 'Poppins', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    --radius:    16px;
    --radius-sm: 10px;
    --shadow-sm: 0 2px 10px rgba(30, 58, 138, .06);
    --shadow:    0 10px 30px rgba(30, 58, 138, .10);
    --shadow-lg: 0 18px 45px rgba(30, 58, 138, .16);

    /* Focus card background images (override per card via inline style or class) */
    --focus-bg-1: url('../images/story-2.jpg');
    --focus-bg-2: url('../images/activity-healthcare.jpg');
    --focus-bg-3: url('../images/activity-women.jpg');
    --focus-bg-4: url('../images/rural-hero.jpg');
    --focus-bg-5: url('../images/sports-hero.jpg');
    --focus-bg-6: url('../images/activity-poverty.jpg');
}

/* ---------- 2. BASE ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: var(--font-body);
    color: var(--dark-text);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--deep-blue); }
p { line-height: 1.7; }
img { max-width: 100%; }
::selection { background: var(--primary-blue); color: #fff; }

a, button, .form-control, .form-select {
    outline: none;
}
a:focus-visible, button:focus-visible,
.form-control:focus-visible, .form-select:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .45);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Skip-to-content link */
.skip-link {
    position: absolute; left: 1rem; top: -60px; z-index: 2000;
    background: var(--deep-blue); color: #fff;
    padding: .6rem 1.2rem; border-radius: 0 0 10px 10px;
    font-weight: 600; text-decoration: none; transition: top .25s;
}
.skip-link:focus { top: 0; color: #fff; }

.lead-text { font-size: 1.06rem; color: var(--muted); }
.img-rounded { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }

/* ---------- 3. BUTTONS ---------- */
.btn { font-weight: 600; border-radius: 50rem; transition: all .25s ease; }
.btn-lg { padding: .8rem 1.9rem; font-size: 1rem; }

.btn-gold {
    background: var(--gold); border: 2px solid var(--gold); color: #1F2937;
}
.btn-gold:hover, .btn-gold:focus-visible {
    background: var(--gold-dark); border-color: var(--gold-dark);
    color: #1F2937; transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 160, 23, .35);
}

.btn-blue {
    background: var(--dark-blue); border: 2px solid var(--dark-blue); color: #fff;
}
.btn-blue:hover, .btn-blue:focus-visible {
    background: var(--deep-blue); border-color: var(--deep-blue);
    color: #fff; transform: translateY(-2px); box-shadow: var(--shadow);
}

.btn-outline-deep {
    border: 2px solid var(--deep-blue); color: var(--deep-blue); background: transparent;
}
.btn-outline-deep:hover, .btn-outline-deep:focus-visible {
    background: var(--deep-blue); color: #fff; transform: translateY(-2px);
}

.btn-ghost-light {
    border: 2px solid rgba(255, 255, 255, .85); color: #fff;
    background: rgba(255, 255, 255, .08);
}
.btn-ghost-light:hover, .btn-ghost-light:focus-visible {
    background: #fff; color: var(--deep-blue);
}

/* ---------- 4. HEADER / NAVBAR ---------- */
.site-navbar {
    background: var(--white);
    box-shadow: 0 2px 14px rgba(30, 58, 138, .08);
    padding-block: .55rem;
    transition: box-shadow .3s;
}
.site-header.scrolled .site-navbar { box-shadow: 0 8px 24px rgba(30, 58, 138, .15); }

.brand-logo { width: 46px; height: 46px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong {
    font-family: var(--font-head); font-size: 1rem;
    color: var(--deep-blue); letter-spacing: .4px;
}
.brand-text small {
    font-size: .66rem; font-weight: 600; letter-spacing: .5px;
    color: var(--gold); text-transform: uppercase;
}

.navbar-nav .nav-link {
    font-family: var(--font-head);
    font-size: .66rem; font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase;
    color: var(--dark-text);
    padding: .55rem .55rem;
    position: relative;
}
.navbar-nav .nav-link::before {
    content: ''; position: absolute; left: .55rem; right: .55rem; bottom: 3px;
    height: 2px; border-radius: 2px; background: var(--gold);
    transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus-visible,
.navbar-nav .nav-link.active { color: var(--primary-blue); }
.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link:focus-visible::before,
.navbar-nav .nav-link.active::before { transform: scaleX(1); }

.dropdown-menu {
    border: 0; border-radius: 12px; box-shadow: var(--shadow-lg);
    padding: .5rem; margin-top: .4rem;
}
.dropdown-item {
    font-size: .86rem; font-weight: 500;
    padding: .55rem .9rem; border-radius: 8px; color: var(--dark-text);
}
.dropdown-item i { color: var(--primary-blue); }
.dropdown-item:hover, .dropdown-item:focus-visible {
    background: var(--light-blue); color: var(--dark-blue);
}

.btn-sm-nav { font-size: .78rem; padding: .5rem 1.05rem; }

.navbar-toggler { border: 1.5px solid var(--light-blue); padding: .4rem .6rem; }
.navbar-toggler:focus-visible { outline: 3px solid rgba(37, 99, 235, .45); }

@media (max-width: 1199.98px) {
    .site-navbar .navbar-collapse {
        margin-top: .8rem; border-top: 1px solid var(--border); padding-top: .7rem;
    }
}
@media (max-width: 575.98px) {
    .brand-text strong { font-size: .88rem; }
    .brand-text small  { font-size: .58rem; }
    .brand-logo { width: 40px; height: 40px; }
}

/* ---------- 5. HOME HERO ---------- */
.hero {
    position: relative; overflow: hidden;
    min-height: min(92vh, 780px);
    display: flex; align-items: center;
    background-color: var(--deep-blue);
    background-size: cover; background-position: center;
    color: #fff;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(30,58,138,.93) 8%, rgba(30,64,175,.8) 55%, rgba(37,99,235,.55) 100%);
}
.hero > .container { position: relative; z-index: 2; padding-block: 5.5rem; }

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: .55rem;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
    padding: .5rem 1.15rem; border-radius: 50rem;
    font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.hero-eyebrow i { color: var(--gold-light); }

.hero h1 {
    color: #fff; font-weight: 700; line-height: 1.16;
    font-size: clamp(2.05rem, 5.2vw, 3.6rem);
}
.hero-text {
    max-width: 640px; color: rgba(255,255,255,.92);
    font-size: 1.05rem; line-height: 1.75;
}
.hero .shape { position: absolute; border-radius: 50%; z-index: 1; }
.shape-1 { width: 340px; height: 340px; border: 2px solid rgba(255,255,255,.12); top: -120px; right: -80px; }
.shape-2 { width: 220px; height: 220px; background: rgba(212,160,23,.16); bottom: -90px; left: -70px; }
.shape-3 { width: 120px; height: 120px; background: rgba(255,255,255,.06); bottom: 18%; right: 12%; }

.fade-up { opacity: 0; animation: fadeUp .9s cubic-bezier(.22,.68,.4,1) forwards; }
.d-1 { animation-delay: .1s; } .d-2 { animation-delay: .25s; }
.d-3 { animation-delay: .4s; } .d-4 { animation-delay: .55s; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: none; }
}

/* ---------- 6. SECTIONS ---------- */
.section { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }
.bg-light-gray { background: var(--light-gray); }
.bg-light-blue { background: var(--light-blue); }

@media (max-width: 767.98px) {
    .section { padding: 3.6rem 0; }
    .section-sm { padding: 2.6rem 0; }
}

.eyebrow {
    display: block; font-weight: 700; font-size: .8rem;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--gold); margin-bottom: .6rem;
}
.bg-deep .eyebrow, .impact-band .eyebrow, .cta-band .eyebrow { color: var(--gold-light); }

.section-title {
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    font-weight: 700; color: var(--deep-blue);
}
.bg-deep .section-title, .impact-band .section-title, .cta-band .section-title { color: #fff; }

.title-divider {
    display: block; width: 64px; height: 4px; border-radius: 4px;
    background: linear-gradient(90deg, var(--gold), var(--primary-blue));
    margin: .95rem auto 1.15rem;
}
.section-desc { color: var(--muted); max-width: 720px; margin-inline: auto; }
.bg-deep .section-desc, .impact-band .section-desc, .cta-band .section-desc { color: rgba(255,255,255,.85); }
.section-head { margin-bottom: 3rem; }

/* Inner page hero */
.page-hero {
    position: relative; color: #fff;
    background-color: var(--deep-blue);
    background-size: cover; background-position: center;
    padding: 4.2rem 0 3.6rem;
}
.page-hero .breadcrumb { margin-bottom: .6rem; }
.page-hero .breadcrumb-item a { color: rgba(255,255,255,.85); text-decoration: none; font-size: .85rem; }
.page-hero .breadcrumb-item a:hover { color: #fff; text-decoration: underline; }
.page-hero .breadcrumb-item.active { color: var(--gold-light); font-size: .85rem; }
.page-hero-title { color: #fff; font-weight: 700; font-size: clamp(1.9rem, 4.4vw, 2.9rem); }
.page-hero-sub { color: rgba(255,255,255,.88); max-width: 760px; margin-bottom: 0; }

/* ---------- 7. CARDS ---------- */
/* ===== Focus area card (home) — BACKGROUND IMAGE + HIGH CONTRAST ===== */
.focus-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.6rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform .3s, box-shadow .3s;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

/* Background image layer — opacity 0.2 */
.focus-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--card-bg, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 0;
    transition: opacity .4s ease, transform .6s ease;
    pointer-events: none;
}

/* Top accent gradient bar */
.focus-card::after {
    content: '';
    position: absolute;
    left: 0; top: 0;
    height: 4px; width: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s;
    z-index: 3;
}

.focus-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.focus-card:hover::after { transform: scaleX(1); }
.focus-card:hover::before {
    opacity: 0.28;
    transform: scale(1.05);
}

/* High-contrast: all content above the bg image */
.focus-card > * {
    position: relative;
    z-index: 2;
}

/* High-contrast text colours */
.focus-title {
    font-size: 1.13rem;
    font-weight: 700;
    color: var(--deep-blue);
    text-shadow: 0 1px 2px rgba(255,255,255,.8);
}
.focus-card p {
    font-size: .92rem;
    color: var(--dark-text);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(255,255,255,.9);
}

/* ===== Individual background images per focus-card ===== */
.focus-card-1::before { background-image: var(--focus-bg-1); }
.focus-card-2::before { background-image: var(--focus-bg-2); }
.focus-card-3::before { background-image: var(--focus-bg-3); }
.focus-card-4::before { background-image: var(--focus-bg-4); }
.focus-card-5::before { background-image: var(--focus-bg-5); }
.focus-card-6::before { background-image: var(--focus-bg-6); }

/* Hover state intensifies bg slightly per card */
.focus-card-1:hover::before,
.focus-card-2:hover::before,
.focus-card-3:hover::before,
.focus-card-4:hover::before,
.focus-card-5:hover::before,
.focus-card-6:hover::before { opacity: 0.3; }

.focus-icon, .programme-icon, .value-icon {
    width: 60px; height: 60px; border-radius: 16px;
    background: var(--light-blue); color: var(--primary-blue);
    display: grid; place-items: center; font-size: 1.55rem;
    margin-bottom: 1.05rem; transition: background .3s, color .3s;
}
.focus-card:hover .focus-icon,
.programme-card:hover .programme-icon,
.value-item:hover .value-icon { background: var(--dark-blue); color: #fff; }

/* High-contrast focus icon */
.focus-card .focus-icon {
    background: rgba(239, 246, 255, .92);
    backdrop-filter: blur(6px);
    border: 1.5px solid var(--primary-blue);
}
.focus-card:hover .focus-icon {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
    color: var(--gold-light);
}

.card-link-btn {
    display: inline-flex; align-items: center; gap: .4rem;
    font-weight: 700; font-size: .88rem; color: var(--primary-blue);
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(255,255,255,.9);
}
.card-link-btn i { transition: transform .25s; }
.card-link-btn:hover { color: var(--dark-blue); }
.card-link-btn:hover i { transform: translateX(4px); }

/* Why support */
.why-item {
    display: flex; gap: 1rem; align-items: flex-start;
    background: #fff; border: 1px solid var(--border); border-radius: 14px;
    padding: 1.15rem 1.25rem; height: 100%; box-shadow: var(--shadow-sm);
    transition: transform .3s, box-shadow .3s;
}
.why-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-icon {
    min-width: 46px; width: 46px; height: 46px; border-radius: 12px;
    background: var(--light-blue); color: var(--dark-blue);
    display: grid; place-items: center; font-size: 1.25rem;
}
.why-item h3 { font-size: 1rem; font-weight: 600; margin: .15rem 0 0; }

/* Impact band (home) */
.impact-band {
    background:
        radial-gradient(circle at 12% 18%, rgba(255,255,255,.07) 0 140px, transparent 141px),
        radial-gradient(circle at 88% 82%, rgba(255,255,255,.06) 0 180px, transparent 181px),
        linear-gradient(135deg, var(--deep-blue), var(--dark-blue));
    color: #fff;
}
.stat-box {
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
    border-radius: 14px; padding: 1.7rem 1rem; text-align: center; height: 100%;
    transition: background .3s, transform .3s;
}
.stat-box:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }
.stat-value {
    display: block; font-family: var(--font-head); font-weight: 700;
    font-size: clamp(1.35rem, 3vw, 2.5rem); line-height: 1.2; color: #fff;
}
.stat-label { display: block; margin-top: .4rem; font-size: .92rem; color: rgba(255,255,255,.85); }
.impact-note { font-size: .86rem; color: rgba(255,255,255,.78); }
@media (max-width: 575.98px) { .stat-value { font-size: 1.15rem; } }

/* CTA band */
.cta-band {
    position: relative; overflow: hidden; color: #fff;
    background: linear-gradient(120deg, var(--dark-blue), var(--primary-blue));
}
.cta-band::before, .cta-band::after {
    content: ''; position: absolute; border-radius: 50%;
}
.cta-band::before { width: 260px; height: 260px; background: rgba(255,255,255,.07); top: -110px; left: -90px; }
.cta-band::after  { width: 320px; height: 320px; border: 2px solid rgba(255,255,255,.12); bottom: -160px; right: -110px; }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: clamp(1.55rem, 3.4vw, 2.3rem); font-weight: 700; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 1.05rem; }

/* Activity cards */
.activity-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; height: 100%; box-shadow: var(--shadow-sm);
    transition: transform .3s, box-shadow .3s;
}
.activity-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.activity-card img { width: 100%; height: 220px; object-fit: cover; }
.activity-body { padding: 1.5rem; }
.activity-tag {
    font-size: .72rem; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: var(--primary-blue);
}
.activity-body h3 { font-size: 1.15rem; margin: .4rem 0 .5rem; }
.activity-body p { font-size: .92rem; color: var(--muted); }

/* Programme cards */
.programme-card {
    background: #fff; border: 1px solid var(--border); border-top: 4px solid transparent;
    border-radius: var(--radius); padding: 1.7rem 1.5rem; height: 100%;
    box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s, border-color .3s;
}
.programme-card:hover {
    transform: translateY(-6px); box-shadow: var(--shadow); border-top-color: var(--gold);
}
.programme-card h3 { font-size: 1.05rem; font-weight: 600; }
.programme-card p { font-size: .9rem; color: var(--muted); margin: 0; }

/* Vision / Mission cards */
.vm-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 2rem; height: 100%; box-shadow: var(--shadow-sm); transition: transform .3s;
}
.vm-card:hover { transform: translateY(-5px); }
.vm-card .vm-icon {
    width: 58px; height: 58px; border-radius: 14px; background: var(--light-blue);
    color: var(--dark-blue); display: grid; place-items: center;
    font-size: 1.45rem; margin-bottom: 1rem;
}
.vm-card p { color: var(--muted); margin: 0; }

/* Values */
.value-item {
    background: #fff; border: 1px solid var(--border); border-radius: 14px;
    padding: 1.5rem 1rem; text-align: center; height: 100%;
    box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s;
}
.value-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value-item .value-icon { margin-inline: auto; }
.value-item h3 { font-size: .98rem; font-weight: 600; margin: 0; }

/* Profile / team cards */
.profile-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; height: 100%; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s;
}
.profile-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.profile-photo { width: 100%; height: 260px; object-fit: cover; background: var(--light-blue); }
.profile-body { padding: 1.4rem; text-align: center; }
.profile-body h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.profile-role {
    display: inline-block; background: var(--light-blue); color: var(--dark-blue);
    font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    padding: .32rem .95rem; border-radius: 50rem;
}
.profile-desc { font-size: .88rem; color: var(--muted); margin: .8rem 0 0; }
.team-note-card {
    border: 2px dashed var(--border); border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: var(--muted); padding: 2rem; height: 100%;
    font-size: .92rem;
}

/* President message */
.message-quote {
    background: var(--light-blue); border-left: 5px solid var(--primary-blue);
    border-radius: 0 14px 14px 0; padding: 1.5rem 1.7rem;
    font-size: 1.02rem; color: var(--dark-text); font-style: italic;
}

/* Success story cards */
.story-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; height: 100%; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s;
}
.story-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.story-img { width: 100%; height: 200px; object-fit: cover; background: var(--light-blue); }
.story-body { padding: 1.4rem; }
.story-badge {
    background: var(--gold); color: #1F2937; font-size: .7rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    padding: .3rem .85rem; border-radius: 50rem;
}
.story-body h3 { font-size: 1.05rem; margin: .8rem 0 .6rem; }
.story-body p { font-size: .88rem; color: var(--muted); margin-bottom: .55rem; }
.story-body strong { color: var(--dark-text); }

/* Metric cards (impact page) */
.metric-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.6rem 1rem; text-align: center; height: 100%;
    box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s;
}
.metric-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.metric-icon { color: var(--primary-blue); font-size: 1.6rem; }
.metric-value {
    display: block; font-family: var(--font-head); font-weight: 700;
    font-size: 1.35rem; color: var(--deep-blue); margin: .35rem 0; line-height: 1.3;
}
.metric-label { font-size: .85rem; color: var(--muted); font-weight: 500; }
@media (max-width: 575.98px) { .metric-value { font-size: 1.05rem; } }

/* Document / report cards */
.doc-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.6rem; height: 100%; box-shadow: var(--shadow-sm);
    transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column;
}
.doc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.doc-icon {
    width: 54px; height: 54px; border-radius: 14px; background: var(--light-blue);
    color: var(--dark-blue); display: grid; place-items: center;
    font-size: 1.45rem; margin-bottom: 1rem;
}
.doc-card h3 { font-size: 1.02rem; font-weight: 600; }
.doc-card p { font-size: .87rem; color: var(--muted); }
.doc-actions { margin-top: auto; display: flex; gap: .6rem; flex-wrap: wrap; padding-top: 1rem; }

/* ---------- 8. GALLERY ---------- */
.filter-btn {
    border: 2px solid var(--border); background: #fff; color: var(--dark-text);
    font-weight: 600; font-size: .85rem; padding: .5rem 1.25rem;
    border-radius: 50rem; transition: all .25s;
}
.filter-btn:hover { border-color: var(--primary-blue); color: var(--primary-blue); }
.filter-btn.active { background: var(--dark-blue); border-color: var(--dark-blue); color: #fff; }

.gallery-item {
    display: block; width: 100%; padding: 0; border: 0; background: none;
    border-radius: 14px; overflow: hidden; position: relative;
    cursor: zoom-in; box-shadow: var(--shadow-sm);
}
.gallery-item img {
    display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
    transition: transform .45s ease;
}
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.07); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(30,58,138,.92) 0%, rgba(30,58,138,.28) 55%, transparent 100%);
    opacity: 0; transition: opacity .35s;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 1rem; text-align: left; color: #fff;
}
.gallery-item:hover .gallery-overlay, .gallery-item:focus-visible .gallery-overlay { opacity: 1; }
.g-title { font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
.g-meta { font-size: .78rem; color: rgba(255,255,255,.85); }
.g-zoom {
    position: absolute; top: .8rem; right: .8rem; width: 36px; height: 36px;
    border-radius: 50%; background: rgba(255,255,255,.22); backdrop-filter: blur(4px);
    display: grid; place-items: center; color: #fff; font-size: 1rem;
}
.pop-in { animation: popIn .45s ease both; }
@keyframes popIn {
    from { opacity: 0; transform: scale(.94); }
    to   { opacity: 1; transform: none; }
}
.gallery-strip-img {
    width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px;
    box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; background: var(--light-blue);
}
.gallery-strip-img:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

#lightboxImage {
    width: 100%; max-height: 70vh; object-fit: contain; background: var(--deep-blue);
}
.lightbox-caption { padding: 1rem 1.25rem; }
.lightbox-caption h3 { font-size: 1.05rem; margin: 0 0 .25rem; }
.lightbox-caption p { font-size: .87rem; color: var(--muted); margin: 0; }

/* ---------- 9. DONATE ---------- */
.amount-btn {
    border: 2px solid var(--border); background: #fff; border-radius: 12px;
    padding: .75rem 1.1rem; min-width: 104px; font-family: var(--font-head);
    font-weight: 700; font-size: .95rem; color: var(--deep-blue); transition: all .25s;
}
.amount-btn:hover { border-color: var(--primary-blue); transform: translateY(-2px); }
.amount-btn.active {
    background: var(--dark-blue); border-color: var(--dark-blue);
    color: #fff; box-shadow: var(--shadow-sm);
}

.donate-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.8rem; height: 100%; box-shadow: var(--shadow-sm);
}
.donate-card h3 { font-size: 1.12rem; display: flex; align-items: center; gap: .6rem; }
.donate-card h3 i { color: var(--primary-blue); }

.qr-box {
    border: 2px dashed var(--primary-blue); background: var(--light-blue);
    border-radius: 14px; padding: 1.1rem; text-align: center;
}
.qr-box img {
    width: 210px; height: 210px; object-fit: contain; display: block;
    margin-inline: auto; background: #fff; border-radius: 10px; padding: .5rem;
}
.qr-box .qr-note { font-size: .82rem; color: var(--muted); margin: .7rem 0 0; }

.bank-list { list-style: none; padding: 0; margin: 0; }
.bank-list li {
    display: flex; justify-content: space-between; gap: 1rem;
    padding: .68rem 0; border-bottom: 1px dashed var(--border); font-size: .92rem;
}
.bank-list li:last-child { border-bottom: 0; }
.bank-list .k { color: var(--muted); font-weight: 500; white-space: nowrap; }
.bank-list .v { font-weight: 700; color: var(--deep-blue); text-align: right; word-break: break-word; }

.alert-note {
    background: #FFF8E6; border: 1px solid #EAD9A8; color: #6B5410;
    border-radius: 12px; font-size: .92rem;
}
.alert-note i { color: var(--gold-dark); }

.alert-success-custom {
    background: var(--light-blue); border: 1.5px solid #BFE3CD;
    color: #0B4A2F; border-radius: 12px;
}

/* ---------- 10. FORMS ---------- */
.form-panel {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); padding: 2rem;
}
@media (max-width: 575.98px) { .form-panel { padding: 1.4rem; } }

.form-label { font-weight: 600; font-size: .88rem; }
.form-control, .form-select {
    border-radius: 10px; border: 1.5px solid #D8DEE5;
    padding: .65rem .9rem; font-size: .95rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 .2rem rgba(37, 99, 235, .15);
}
.form-hint { font-size: .82rem; color: var(--muted); }

/* ---------- 11. CONTACT / VOLUNTEER ---------- */
.contact-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.7rem 1.3rem; text-align: center; height: 100%;
    box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.contact-icon {
    width: 58px; height: 58px; margin: 0 auto 1rem; border-radius: 50%;
    background: var(--light-blue); color: var(--dark-blue);
    display: grid; place-items: center; font-size: 1.35rem;
}
.contact-card h3 { font-size: 1.02rem; }
.contact-card p { font-size: .9rem; color: var(--muted); margin: 0; word-break: break-word; }

.map-placeholder {
    border: 2px dashed #B9C6BF; border-radius: var(--radius);
    background: repeating-linear-gradient(45deg, var(--light-gray), var(--light-gray) 12px, #F1F4F2 12px, #F1F4F2 24px);
    min-height: 340px; display: flex; flex-direction: column; gap: .4rem;
    align-items: center; justify-content: center; text-align: center;
    color: var(--muted); padding: 2rem; font-size: .95rem;
}
.map-placeholder i { font-size: 2.2rem; color: var(--primary-blue); }

.chip {
    display: inline-flex; align-items: center; gap: .5rem;
    background: #fff; border: 1.5px solid var(--border); border-radius: 50rem;
    padding: .55rem 1.15rem; font-size: .88rem; font-weight: 600;
    color: var(--dark-blue); transition: all .25s;
}
.chip i { color: var(--primary-blue); }
.chip:hover { border-color: var(--primary-blue); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.opportunity-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: .55rem; background: #fff; border: 2px solid var(--border);
    border-radius: 14px; padding: 1.3rem .8rem; height: 100%;
    font-family: var(--font-head); font-weight: 600; font-size: .9rem;
    color: var(--dark-text); transition: all .25s; text-align: center;
}
.opportunity-card i { font-size: 1.5rem; color: var(--primary-blue); transition: color .25s; }
.opportunity-card:hover {
    transform: translateY(-4px); border-color: var(--primary-blue); box-shadow: var(--shadow-sm);
}
.opportunity-card.selected { background: var(--dark-blue); border-color: var(--dark-blue); color: #fff; }
.opportunity-card.selected i { color: var(--gold-light); }

/* ---------- 12. LEGAL / ACCORDION ---------- */
.compliance-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.6rem; text-align: center; height: 100%; box-shadow: var(--shadow-sm);
}
.compliance-card .k { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-blue); }
.compliance-card .v { font-family: var(--font-head); font-weight: 700; color: var(--deep-blue); font-size: 1.02rem; margin-top: .4rem; }

.accordion-item { border: 1px solid var(--border); border-radius: 12px !important; overflow: hidden; margin-bottom: .75rem; }
.accordion-button { font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--dark-text); }
.accordion-button:not(.collapsed) { background: var(--light-blue); color: var(--deep-blue); box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(37,99,235,.15); border-color: var(--primary-blue); }
.accordion-body { font-size: .93rem; color: var(--muted); }

.badge-registered { background: var(--primary-blue); }
.badge-pending { background: #E4E9EE; color: var(--dark-text); font-weight: 600; }

/* ---------- 13. FOOTER ---------- */
.site-footer { background: var(--deep-blue); color: rgba(255,255,255,.82); font-size: .92rem; }
.footer-brand strong {
    display: block; color: #fff; font-family: var(--font-head);
    font-size: 1.05rem; line-height: 1.25;
}
.footer-brand small {
    color: var(--gold-light); font-size: .68rem; font-weight: 600;
    letter-spacing: .5px; text-transform: uppercase;
}
.footer-tagline { color: var(--gold-light); font-weight: 600; font-style: italic; }
.footer-desc { font-size: .87rem; color: rgba(255,255,255,.72); }
.footer-heading {
    font-family: var(--font-head); font-size: .92rem; font-weight: 600;
    letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a {
    color: rgba(255,255,255,.78); text-decoration: none; font-size: .9rem;
    display: inline-flex; align-items: center; gap: .4rem; transition: all .2s;
}
.footer-links a:hover { color: var(--gold-light); transform: translateX(3px); }
.footer-links i { color: var(--primary-blue); }
.footer-social { display: flex; gap: .5rem; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,.1); color: #fff;
    display: grid; place-items: center; font-size: 1rem; transition: all .25s;
    text-decoration: none;
}
.footer-social a:hover { background: var(--gold); color: #1F2937; transform: translateY(-3px); }
.footer-divider { border-color: rgba(255,255,255,.15); }
.footer-bottom { font-size: .85rem; color: rgba(255,255,255,.72); }
.footer-bottom a { color: rgba(255,255,255,.88); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- 14. FLOATING ELEMENTS ---------- */
.floating-btn {
    position: fixed; z-index: 1040; width: 48px; height: 48px;
    border-radius: 50%; display: grid; place-items: center;
    font-size: 1.25rem; border: 0; cursor: pointer;
    box-shadow: var(--shadow); transition: all .3s; text-decoration: none;
}
.back-to-top {
    right: 1.25rem; bottom: 1.25rem;
    background: var(--dark-blue); color: #fff;
    opacity: 0; visibility: hidden; transform: translateY(12px);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--primary-blue); color: #fff; }

.whatsapp-btn {
    right: 1.25rem; bottom: 5.4rem;
    background: #25D366; color: #fff; font-size: 1.45rem;
}
.whatsapp-btn:hover { background: #1DA851; color: #fff; transform: scale(1.08); }

.mobile-donate {
    left: 1.25rem; bottom: 1.25rem; width: auto; height: auto;
    border-radius: 50rem; padding: .62rem 1.15rem;
    background: var(--gold); color: #1F2937;
    font-weight: 700; font-size: .85rem;
    display: inline-flex; align-items: center; gap: .45rem;
}
.mobile-donate:hover { background: var(--gold-dark); color: #1F2937; }

/* ---------- 15. REVEAL ON SCROLL ---------- */
.js [data-reveal] {
    opacity: 0; transform: translateY(26px);
    transition: opacity .7s ease, transform .7s ease;
    transition-delay: var(--rd, 0s);
}
.js [data-reveal].revealed { opacity: 1; transform: none; }

/* ---------- 16. PRINT ---------- */
@media print {
    .site-header, .site-footer, .floating-btn, .back-to-top,
    .whatsapp-btn, .mobile-donate, .page-hero, .cta-band { display: none !important; }
    body { color: #000; }
    a { color: #000; text-decoration: none; }
    .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---------- 17. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .fade-up { opacity: 1; animation: none; }
    .js [data-reveal] { opacity: 1; transform: none; }
}