/* ══════════════════════════════════════════════════════════════
   RORU Public Stylesheet
   ══════════════════════════════════════════════════════════════ */

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

a { color: var(--secondary); text-decoration: none; transition: color .2s cubic-bezier(.4,0,.2,1); }
a:hover { color: var(--primary); text-decoration: underline; }

img { max-width: 100%; height: auto; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Pre-header Bar ─────────────────────────────────────────── */
.pre-header {
    background: var(--preheader-bg);
    color: var(--preheader-text);
    font-size: .8rem;
    padding: .4rem 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.pre-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pre-header-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.pre-header-left a,
.pre-header-left span {
    color: rgba(255,255,255,.85);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: .3rem;
    transition: color .2s;
}

.pre-header-left a:hover { color: var(--white); text-decoration: none; }
.pre-header-left i { font-size: .85rem; color: var(--preheader-icon); }

.pre-header-right {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.pre-header-right a {
    color: rgba(255,255,255,.7);
    font-size: 1rem;
    transition: color .2s;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.pre-header-right a:hover { color: var(--white); text-decoration: none; }

.social-empty {
    opacity: .35;
    pointer-events: none;
}

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
    background: var(--navbar-bg);
    border-bottom: 1px solid var(--navbar-border);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow .2s cubic-bezier(.4,0,.2,1);
}

.navbar.scrolled {
    box-shadow: 0 2px 16px var(--navbar-shadow);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding-top: .25rem;
    padding-bottom: .25rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: 1.5rem;
}

.navbar-brand img {
    height: 64px;
    width: auto;
}

.navbar-brand-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -.02em;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary);
    padding: .25rem;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: .15rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: .2rem;
    padding: .55rem .7rem;
    color: var(--text-muted);
    font-size: .85rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: all .2s cubic-bezier(.4,0,.2,1);
    white-space: nowrap;
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
    background: var(--bg-alt);
    text-decoration: none;
}

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: .7rem;
    right: .7rem;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.nav-link i.ti-chevron-down {
    font-size: .65rem;
    transition: transform .2s;
}

.nav-dropdown:hover .nav-link i.ti-chevron-down {
    transform: rotate(180deg);
}

/* Dropdown */
.nav-dropdown { position: relative; }

.dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    box-shadow: 0 12px 32px var(--card-shadow);
    min-width: 210px;
    padding: .5rem;
    padding-top: calc(.5rem + 6px);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s, visibility .25s, transform .25s;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 0;
    right: 0;
    height: 6px;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .85rem;
    color: var(--text-muted);
    font-size: .84rem;
    text-decoration: none;
    border-radius: 6px;
    transition: all .2s cubic-bezier(.4,0,.2,1);
}

.dropdown-item:hover {
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
}

.dropdown-item.active {
    color: var(--primary);
    font-weight: 600;
    background: color-mix(in srgb, var(--primary) 6%, transparent);
}

/* Donate button in navbar */
.nav-donate-btn {
    margin-left: 1rem;
    padding: .5rem 1.25rem;
    font-size: .9rem;
    border-radius: 50px;
    font-weight: 600;
    white-space: nowrap;
    animation: pulse-donate 2s ease-in-out infinite;
}

@keyframes pulse-donate {
    0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary) 40%, transparent); }
    50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--primary) 0%, transparent); }
}

/* ── Hero Slider ────────────────────────────────────────────── */
.hero-slider {
    position: relative;
    height: 85vh;
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
}

.hero-slides { position: relative; width: 100%; height: 100%; }

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--primary);
    opacity: 0;
    transition: opacity .8s ease;
}

.hero-slide.active { opacity: 1; z-index: 1; }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,43,78,.88) 0%, rgba(20,61,107,.7) 50%, rgba(74,159,212,.45) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    max-width: 700px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,.85);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 550px;
}

.btn-hero {
    background: var(--primary);
    color: var(--white);
    padding: .8rem 1.8rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
    transition: all .2s cubic-bezier(.4,0,.2,1);
    border: none;
    cursor: pointer;
    width: fit-content;
}

.btn-hero:hover { background: var(--secondary); text-decoration: none; transform: translateY(-1px); }

.btn-outline {
    background: transparent;
    color: var(--white);
    padding: .8rem 1.8rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,.4);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
    transition: all .2s cubic-bezier(.4,0,.2,1);
    cursor: pointer;
}

.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.1); text-decoration: none; }

.hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: .5rem;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.6);
    background: transparent;
    cursor: pointer;
    transition: all .2s;
    padding: 0;
}

.hero-dot.active,
.hero-dot:hover {
    background: var(--white);
    border-color: var(--white);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,.15);
    border: none;
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    backdrop-filter: blur(4px);
}

.hero-arrow:hover { background: rgba(255,255,255,.3); }
.hero-prev { left: 1.5rem; }
.hero-next { right: 1.5rem; }

/* ── Page Hero ──────────────────────────────────────────────── */
.page-hero {
    background: var(--primary);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-hero[style*="background-image"]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
}

.page-hero[style*="background-image"] h1,
.page-hero[style*="background-image"] p { color: var(--white); }

.page-hero[style*="background-image"] .container { position: relative; z-index: 1; }

.page-hero h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: .5rem;
    animation: heroFadeUp .8s ease-out both;
}

.page-hero p {
    color: rgba(255,255,255,.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    animation: heroFadeUp .8s ease-out .2s both;
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-hero-sm { padding: 2rem 0; }

.hero-tag {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: .25rem .75rem;
    border-radius: 20px;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: .5rem;
    text-decoration: none;
}

.hero-meta {
    margin-top: 1rem;
    justify-content: center;
}

.page-hero-donate {
    background: linear-gradient(135deg, var(--primary) 0%, #1a365d 100%);
    text-align: center;
    padding: 4rem 0;
}

.page-hero-donate h1 { color: #fff; }
.page-hero-donate p { color: rgba(255,255,255,.8); }
.page-hero-donate h1 i { margin-right: .5rem; }

/* ── Section Base ───────────────────────────────────────────── */
.section { padding: 3.5rem 0; border-bottom: 1px solid var(--border); }
.section:last-child { border-bottom: none; }
.section-stats,
.section-cta,
.section-donate,
.section-newsletter { border-bottom: none; }
.section-gray { background: var(--bg-alt); }

/* ── Section Headers ────────────────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-label {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--secondary);
    margin-bottom: .4rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: .5rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-footer {
    text-align: center;
    margin-top: 2rem;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .6rem 1.2rem;
    border: none;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s cubic-bezier(.4,0,.2,1);
}

.btn:hover { text-decoration: none; }

.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--secondary); }

.btn-secondary { background: var(--bg-muted); color: var(--text); }
.btn-secondary:hover { background: var(--border); }

.btn-block { display: flex; justify-content: center; width: 100%; }

.btn-pulse { animation: btnPulse 2s ease-in-out infinite; }
@keyframes btnPulse {
    0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary) 40%, transparent); }
    50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--primary) 0%, transparent); }
}

.text-danger { color: #dc2626; }

/* ── Alerts ─────────────────────────────────────────────────── */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: .9rem;
}

.alert-success { background: var(--alert-success-bg); color: var(--alert-success-text); border: 1px solid var(--alert-success-border); }
.alert-error { background: var(--alert-error-bg); color: var(--alert-error-text); border: 1px solid var(--alert-error-border); }

/* ── Forms ──────────────────────────────────────────────────── */
.form-group { margin-bottom: 1rem; }

.form-group label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: .35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: .65rem .85rem;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    font-size: .9rem;
    font-family: inherit;
    background: var(--input-bg);
    color: var(--input-text);
    transition: border-color .2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--input-focus);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--secondary) 12%, transparent);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2rem;
}

/* ══════════════════════════════════════════════════════════════
   HOMEPAGE SECTIONS
   ══════════════════════════════════════════════════════════════ */

/* ── Intro Section ──────────────────────────────────────────── */
.section-intro .intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.section-intro .intro-text .section-label { margin-bottom: .5rem; }
.section-intro .intro-text h2 { font-size: 1.8rem; font-weight: 800; color: var(--primary); margin-bottom: 1rem; }
.section-intro .intro-body { color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; }
.section-intro .intro-image img { border-radius: 16px; box-shadow: 0 8px 32px rgba(0,0,0,.1); }

.md-quote { display: flex; gap: 1.25rem; align-items: flex-start; background: var(--bg-alt); border-left: 4px solid var(--secondary); border-radius: 0 12px 12px 0; padding: 1.5rem; margin-bottom: 1.5rem; }
.md-avatar { flex-shrink: 0; width: 80px; height: 80px; border-radius: 50%; overflow: hidden; border: 3px solid var(--secondary); }
.md-avatar img { width: 100%; height: 100%; object-fit: cover; }
.md-quote-content blockquote { font-style: italic; color: var(--text); line-height: 1.7; font-size: .95rem; margin: 0 0 .75rem; }
.md-name { font-weight: 700; color: var(--primary); font-size: .95rem; }
.md-title { font-size: .85rem; color: var(--text-muted); }

/* ── Mission Section ────────────────────────────────────────── */
.section-mission { padding: 5rem 0; background: var(--bg); }

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.mission-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,.1);
}

.mission-image-placeholder {
    width: 100%;
    height: 420px;
    background: var(--bg-muted);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-text .section-label { margin-bottom: .5rem; }

.mission-text h2,
.mission-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: .5rem;
}

.mission-text > p {
    color: var(--secondary);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: .75rem;
}

.mission-body {
    color: var(--text-muted);
    font-size: .95rem;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.mission-content h2 { font-size: 2rem; margin-bottom: 1rem; }

.mission-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    margin-bottom: 1.5rem;
}

.mission-highlight {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .95rem;
}

.mission-highlight i { color: var(--primary); font-size: 1.2rem; }

.mission-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: box-shadow .2s;
}

.stat-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.06); }

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: .35rem;
    transition: all .3s;
}

.stat-label {
    font-size: .85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Mission cards (about page) */
.mission-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
}

.mission-icon {
    width: 64px; height: 64px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1.25rem;
}

.mission-card h2 { font-size: 1.3rem; margin-bottom: .75rem; color: var(--primary); }
.mission-card p { color: var(--text-muted); line-height: 1.7; }

/* ── Vision Section ─────────────────────────────────────────── */
.section-vision { padding: 5rem 0; background: var(--bg-alt); }

.vision-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.vision-content h2 { font-size: 2rem; margin-bottom: 1rem; }
.vision-body { font-size: 1.05rem; line-height: 1.8; color: var(--text-muted); margin-bottom: 1.5rem; }

.vision-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,.1);
}

.vision-image-placeholder {
    width: 100%;
    height: 420px;
    background: var(--bg-muted);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vision-goals { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }

.vision-goal {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.vision-goal-icon {
    width: 40px; height: 40px; min-width: 40px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--primary) 12%, transparent);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.vision-goal p { font-size: .9rem; color: var(--text-muted); margin-top: .25rem; }

/* ── Mission & Vision Cards ─────────────────────────────────── */
.section-mission-vision .mv-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.mv-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; padding: 2rem; text-align: center; }
.mv-card-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--bg-muted); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: var(--secondary); margin: 0 auto 1rem; }
.mv-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--primary); margin-bottom: .75rem; }
.mv-card p { color: var(--text-muted); line-height: 1.6; font-size: .95rem; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.value-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
}

.value-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }

.value-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--bg-muted); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--secondary); margin: 0 auto .75rem; }
.value-card i { font-size: 2rem; color: var(--secondary); margin-bottom: .75rem; display: block; }
.value-card h3,
.value-card h4 { font-size: .95rem; font-weight: 700; color: var(--primary); margin-bottom: .5rem; }
.value-card p { font-size: .85rem; color: var(--text-muted); line-height: 1.5; }

/* ── Impact Stats ───────────────────────────────────────────── */
.section-stats {
    background: linear-gradient(135deg, #0d2b4e 0%, #1a4332 40%, #0d2b4e 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.section-stats::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(74,159,212,.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(125,196,232,.1) 0%, transparent 40%);
    animation: statsShimmer 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes statsShimmer {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(2%, -2%); }
}

.stats-overlay { position: absolute; inset: 0; background: transparent; z-index: 1; }
.section-stats .section-header-light .section-label { color: rgba(255,255,255,.6); }
.section-stats .section-header-light h2 { color: var(--white); }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem; }

.section-stats .stat-card { text-align: center; padding: 1.5rem; background: transparent; border: none; }
.section-stats .stat-card:hover { box-shadow: none; }
.section-stats .stat-number { font-size: 2rem; font-weight: 800; color: var(--white); }
.section-stats .stat-label { font-size: .85rem; color: rgba(255,255,255,.7); margin-top: .25rem; }

.stat-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    margin: 0 auto .75rem;
    transition: transform .3s, background .3s;
}

.stat-card:hover .stat-icon {
    transform: scale(1.15);
    background: rgba(255,255,255,.25);
}

/* ── Thematic Areas ─────────────────────────────────────────── */
.section-areas { background: var(--bg); }

.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.area-card {
    background: var(--bg-alt);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.75rem;
    text-decoration: none;
    transition: all .2s cubic-bezier(.4,0,.2,1);
}

.area-card:hover {
    text-decoration: none;
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    transform: translateY(-2px);
}

.area-icon {
    width: 48px; height: 48px;
    background: var(--primary);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.area-icon i { font-size: 1.3rem; color: var(--white); }

.area-card h3 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: .4rem; }
.area-card p { font-size: .85rem; color: var(--text-muted); line-height: 1.5; }

/* ── Strategic Objectives ───────────────────────────────────── */
.objectives-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.objective-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.75rem;
    transition: transform .2s, box-shadow .2s;
}

.objective-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }

.objective-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: var(--bg-muted);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.objective-card h3 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: .5rem; }
.objective-card p { font-size: .85rem; color: var(--text-muted); line-height: 1.5; }

/* Objective rows (about page) */
.objective-row {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--border);
}

.objective-row:last-child { border-bottom: none; }

.objective-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    min-width: 48px;
}

.objective-content h3 { font-size: 1.1rem; margin-bottom: .35rem; color: var(--primary); }
.objective-content p { color: var(--text-muted); line-height: 1.6; font-size: .92rem; }

/* Objectives on image background */
.section-objectives.animate-on-scroll[style*="background-image"] { padding: 5rem 0; }
.section-objectives .section-header-light .section-label { color: rgba(255,255,255,.6); }
.section-objectives .section-header-light h2 { color: #fff; }
.objectives-on-image .objective-card { background: rgba(255,255,255,.95); backdrop-filter: blur(4px); }

/* ── Theory of Change ───────────────────────────────────────── */
.section-toc { background: var(--bg-alt); }

.toc-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; position: relative; }

.toc-step {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    position: relative;
}

.toc-step-num {
    position: absolute;
    top: -.75rem; left: 50%;
    transform: translateX(-50%);
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--white);
    font-size: .75rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}

.toc-step-icon {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--bg-muted);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    color: var(--secondary);
    margin: .5rem auto .75rem;
}

.toc-step h3 { font-size: .95rem; font-weight: 700; color: var(--primary); margin-bottom: .5rem; }
.toc-step p { font-size: .85rem; color: var(--text-muted); line-height: 1.5; }

/* ── Gallery Grid (homepage) ────────────────────────────────── */
.section-gallery .gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }

.gallery-thumb {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    min-height: 150px;
    background: var(--bg-muted);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: transform .3s, box-shadow .3s;
}

.gallery-thumb:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
    display: block;
}

.gallery-thumb:hover img { transform: scale(1.05); }

.gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
    color: var(--white);
    padding: .75rem;
    font-size: .8rem;
}

/* ── Events List ────────────────────────────────────────────── */
.events-list { display: flex; flex-direction: column; gap: .75rem; }

.event-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}

.event-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,.08); text-decoration: none; }

.event-date-badge { min-width: 60px; text-align: center; padding: .75rem; background: var(--bg-muted); border-radius: 10px; }
.event-day { display: block; font-size: 1.5rem; font-weight: 800; color: var(--primary); line-height: 1; }
.event-month { display: block; font-size: .75rem; font-weight: 600; color: var(--secondary); text-transform: uppercase; }
.event-info { flex: 1; }
.event-info h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: .25rem; }
.event-meta { display: inline-flex; align-items: center; gap: .25rem; font-size: .8rem; color: var(--text-muted); margin-right: 1rem; }
.event-arrow { color: var(--text-muted); font-size: 1.2rem; }

.event-date { display: flex; flex-direction: column; align-items: center; background: var(--primary); color: var(--white); border-radius: 8px; padding: .5rem .75rem; width: fit-content; margin-bottom: .75rem; }

/* ── Partners Strip ─────────────────────────────────────────── */
.section-partners { background: var(--bg-alt); }

.partners-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.partner-logo {
    height: 60px;
    display: flex;
    align-items: center;
    opacity: .6;
    transition: opacity .2s;
    text-decoration: none;
}

.partner-logo:hover { opacity: 1; text-decoration: none; }

.partner-logo img {
    height: 100%;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter .2s;
}

.partner-logo:hover img { filter: grayscale(0); }

.partner-text { font-size: .9rem; font-weight: 700; color: var(--text-muted); padding: 0 1rem; }

/* Partners Grid (cards) */
.partners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.partner-card { display: flex; gap: 1rem; align-items: flex-start; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; padding: 1.25rem; transition: box-shadow .2s, transform .2s; }
.partner-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.06); }
.partner-card-logo { flex-shrink: 0; width: 64px; height: 64px; border-radius: 10px; background: var(--bg-muted); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.partner-card-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.partner-card-initials { font-size: 1.2rem; font-weight: 800; color: var(--primary); }
.partner-card-info { flex: 1; min-width: 0; }
.partner-card-info h3 { font-size: .95rem; font-weight: 700; color: var(--primary); margin-bottom: .25rem; line-height: 1.3; }
.partner-card-info h3 a { color: inherit; text-decoration: none; }
.partner-card-info h3 a:hover { color: var(--secondary); }
.partner-card-type { display: inline-block; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--secondary); background: color-mix(in srgb, var(--secondary) 12%, transparent); padding: .15rem .5rem; border-radius: 4px; margin-bottom: .35rem; }
.partner-card-info p { font-size: .8rem; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* Partner CTA */
.partner-cta-banner { display: grid; grid-template-columns: 1fr; gap: 2rem; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; padding: 2.5rem; }
.partner-cta-banner.has-image { grid-template-columns: 1fr 1fr; align-items: center; }
.partner-cta-content h2 { font-size: 1.4rem; font-weight: 800; color: var(--primary); margin-bottom: .75rem; }
.partner-cta-content p { color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; }
.partner-cta-image img { border-radius: 12px; }

/* Partners page (legacy) */
.partner-card-full { display: flex; gap: 1rem; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 10px; padding: 1.25rem; align-items: center; }
.partner-info h3 { font-size: 1rem; color: var(--primary); margin-bottom: .25rem; }
.partner-info p { font-size: .85rem; color: var(--text-muted); }
.partner-link { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; color: var(--secondary); text-decoration: none; margin-top: .5rem; }
.partner-link:hover { color: var(--primary); }

/* ── CTA Banner ─────────────────────────────────────────────── */
.section-cta {
    background: linear-gradient(135deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 70%, #000) 100%);
    padding: 3rem 0;
}

.cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cta-text h2 { font-size: 1.6rem; font-weight: 800; color: var(--white); margin-bottom: .5rem; }
.cta-text p { color: rgba(255,255,255,.75); font-size: .95rem; max-width: 480px; }
.cta-actions { display: flex; gap: .75rem; flex-shrink: 0; }

.cta-section {
    text-align: center;
    padding: 2rem 0;
    margin-top: 1rem;
}

.cta-section h3 { font-size: 1.3rem; color: var(--primary); margin-bottom: .5rem; }

/* ── Donate Banner ──────────────────────────────────────────── */
.section-donate { background: linear-gradient(135deg, var(--secondary), var(--primary)); padding: 3rem 0; }
.donate-banner { text-align: center; }
.donate-banner.has-image { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; text-align: left; align-items: center; }
.donate-image img { border-radius: 12px; }
.donate-content h2 { font-size: 1.6rem; font-weight: 800; color: var(--white); margin-bottom: .75rem; }
.donate-content p { color: rgba(255,255,255,.8); margin-bottom: 1.5rem; line-height: 1.6; }

/* ── Volunteer Section ──────────────────────────────────────── */
.section-volunteer { background: var(--bg-alt); position: relative; background-size: cover; background-position: center; overflow: hidden; }
.volunteer-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(13,43,78,.92) 0%, rgba(13,43,78,.75) 50%, rgba(13,43,78,.35) 100%); z-index: 1; }
.volunteer-banner { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.volunteer-image img { border-radius: 16px; }
.volunteer-content h2 { font-size: 1.75rem; font-weight: 800; color: #fff; margin-bottom: .75rem; }
.volunteer-content p { color: rgba(255,255,255,.85); line-height: 1.7; margin-bottom: 1rem; }
.volunteer-features { list-style: none; margin-bottom: 1.5rem; }
.volunteer-features li { display: flex; align-items: center; gap: .5rem; padding: .35rem 0; color: rgba(255,255,255,.9); font-size: .9rem; }
.volunteer-features i { color: var(--secondary); }
.section-volunteer .btn-primary { background: #fff; color: var(--primary); font-weight: 700; }
.section-volunteer .btn-primary:hover { background: var(--secondary); color: #fff; }

/* ── Newsletter Section ─────────────────────────────────────── */
.section-newsletter { background: var(--primary); padding: 3rem 0; }
.newsletter-banner { text-align: center; max-width: 600px; margin: 0 auto; }
.newsletter-text h2 { font-size: 1.5rem; font-weight: 800; color: var(--white); margin-bottom: .5rem; }
.newsletter-text p { color: rgba(255,255,255,.75); margin-bottom: 1.5rem; }
.newsletter-input-group { display: flex; gap: .5rem; }
.newsletter-input-group input { flex: 1; padding: .75rem 1rem; border-radius: 8px; border: none; font-size: .95rem; background: var(--white); color: var(--text); }
.newsletter-input-group .btn { flex-shrink: 0; }

/* ── Contact Preview ────────────────────────────────────────── */
.contact-preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.contact-info-cards { display: flex; flex-direction: column; gap: .75rem; }
.contact-info-card { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 10px; }
.contact-info-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-muted); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--secondary); flex-shrink: 0; }
.contact-info-detail strong { display: block; font-size: .8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .03em; }
.contact-info-detail span { font-size: .95rem; color: var(--text); }
.contact-map { border-radius: 12px; overflow: hidden; }

/* ── Map Section ────────────────────────────────────────────── */
.regions-grid { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2rem; }
.region-tag { display: inline-flex; align-items: center; gap: .35rem; padding: .5rem 1rem; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 20px; font-size: .85rem; color: var(--text); }
.region-tag i { color: var(--secondary); font-size: .9rem; }
.map-embed { border-radius: 12px; overflow: hidden; }

/* ── Careers List (homepage) ────────────────────────────────── */
.careers-list { display: flex; flex-direction: column; gap: .75rem; }
.career-card { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.career-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,.06); text-decoration: none; }
.career-info { flex: 1; }
.career-info h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: .25rem; }
.career-meta { display: inline-flex; align-items: center; gap: .25rem; font-size: .8rem; color: var(--text-muted); margin-right: 1rem; }
.career-arrow { color: var(--text-muted); font-size: 1.2rem; }

/* ── Resources Grid ─────────────────────────────────────────── */
.resources-grid { display: flex; flex-direction: column; gap: .75rem; }
.resource-card { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 10px; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.resource-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.06); text-decoration: none; }
.resource-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--bg-muted); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--secondary); flex-shrink: 0; }
.resource-info { flex: 1; }
.resource-info h3 { font-size: .95rem; font-weight: 600; color: var(--text); margin-bottom: .15rem; }
.resource-type { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .03em; }
.resource-arrow { color: var(--secondary); font-size: 1.1rem; }

/* ── Get Involved ───────────────────────────────────────────── */
.involve-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    justify-content: center;
    justify-items: center;
}

.involve-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
    max-width: 320px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.involve-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }

.involve-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--bg-muted);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: var(--secondary);
    margin: 0 auto 1rem;
}

.involve-card h3 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: .5rem; }
.involve-card p { font-size: .85rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 1rem; }

/* ── Organization History ───────────────────────────────────── */
.section-history .container { max-width: 1320px; }

.section-history .history-blocks {
    max-width: 1220px;
    margin: 0 auto 3rem;
}

.section-history .history-blocks::after {
    content: '';
    display: table;
    clear: both;
}

.section-history .history-text {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
}

.section-history .history-image {
    margin: 2rem 0;
    max-width: 60%;
}

.section-history .history-image.align-left { float: left; margin-right: 2rem; margin-left: 0; }
.section-history .history-image.align-right { float: right; margin-left: 2rem; margin-right: 0; }

.section-history .history-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
}

.section-history .history-image-caption {
    display: block;
    margin-top: .5rem;
    font-size: .8rem;
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
}

.section-history .history-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.section-history .history-gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    transition: transform .3s ease;
}

.section-history .history-gallery-item:nth-child(odd) { transform: translateY(-8px); }
.section-history .history-gallery-item:nth-child(even) { transform: translateY(8px); }
.section-history .history-gallery-item img:hover { transform: scale(1.03); }

/* ══════════════════════════════════════════════════════════════
   CONTENT PAGES, CARDS, DONATE
   ══════════════════════════════════════════════════════════════ */

/* ── Content Grid (main + sidebar) ──────────────────────────── */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: flex-start;
}

.content-sidebar { position: sticky; top: 90px; }
.content-main .lead { font-size: 1.1rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; }
.story-project { margin-top: 2rem; padding: 1rem; background: var(--bg-alt); border-radius: 8px; font-size: .9rem; }
.story-project a { color: var(--primary); }

/* ── Sidebar Card ───────────────────────────────────────────── */
.sidebar-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.sidebar-card h3,
.sidebar-card h4 {
    font-size: .95rem;
    color: var(--primary);
    margin-bottom: .75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.sidebar-card p { font-size: .9rem; margin-bottom: .25rem; }

.deadline-date {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.sidebar-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.sidebar-stat { text-align: center; padding: .75rem; background: var(--card-bg); border-radius: 8px; border: 1px solid var(--border); }
.sidebar-stat-value { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.sidebar-stat-label { font-size: .75rem; color: var(--text-faint); }

.sidebar-links { list-style: none; padding: 0; }
.sidebar-links li { margin-bottom: .5rem; }
.sidebar-links a { display: flex; align-items: center; gap: .5rem; color: var(--text-muted); text-decoration: none; font-size: .9rem; transition: color .2s; }
.sidebar-links a:hover { color: var(--primary); }
.sidebar-links a i { font-size: 1rem; }

.sidebar-meta > div { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px solid var(--border-light); font-size: .9rem; }
.sidebar-meta > div strong { color: var(--text-muted); }

.sidebar-story { display: block; padding: .75rem 0; border-bottom: 1px solid var(--border-light); text-decoration: none; }
.sidebar-story:last-child { border-bottom: none; }
.sidebar-story strong { display: block; color: var(--primary); font-size: .9rem; line-height: 1.4; }
.sidebar-story span { font-size: .8rem; color: var(--text-faint); }
.sidebar-story:hover strong { color: var(--primary); }

/* ── Cards ──────────────────────────────────────────────────── */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.card-body { padding: 1.5rem; }
.card-body h2 { font-size: 1.3rem; margin-bottom: 1rem; color: var(--primary); }

/* ── Card Grid ──────────────────────────────────────────────── */
.card-grid { display: grid; gap: 1.5rem; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* ── Content Card ───────────────────────────────────────────── */
.content-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all .2s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
}

.content-card:hover {
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    transform: translateY(-2px);
}

.content-card-img,
.content-card .card-image {
    position: relative;
    height: 200px;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-muted);
}

.content-card-img img,
.content-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.content-card:hover .content-card-img img,
.content-card:hover .card-image img { transform: scale(1.05); }

.content-card-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 2.5rem; color: var(--text-faint); }

.content-card .card-icon { height: 120px; display: flex; align-items: center; justify-content: center; background: var(--bg-alt); font-size: 2.5rem; color: var(--primary); }

.content-card-tag {
    position: absolute;
    top: .75rem; left: .75rem;
    background: var(--primary);
    color: var(--white);
    font-size: .75rem;
    font-weight: 600;
    padding: .25rem .65rem;
    border-radius: 20px;
}

.content-card-body,
.content-card .card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content-card-body h3,
.content-card .card-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: .4rem;
    line-height: 1.35;
}

.content-card-body p,
.content-card .card-body p {
    font-size: .875rem;
    color: var(--text-muted);
    line-height: 1.5;
    flex: 1;
}

.content-card-date {
    display: flex;
    align-items: center;
    gap: .3rem;
    font-size: .8rem;
    color: var(--text-faint);
    margin-top: .75rem;
}

.card-tag { display: inline-block; font-size: .75rem; font-weight: 600; color: var(--primary); margin-bottom: .4rem; text-transform: uppercase; letter-spacing: .03em; }
.card-meta { display: flex; flex-wrap: wrap; gap: .75rem; font-size: .8rem; color: var(--text-faint); margin-top: .75rem; align-items: center; }
.card-meta i { font-size: .85rem; }

/* ── Blog Grid ──────────────────────────────────────────────── */
.blog-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.blog-card { display: flex; flex-direction: column; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.blog-card-img { position: relative; height: 140px; overflow: hidden; background: var(--bg-muted); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-placeholder { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--text-faint); }
.blog-card-tag { position: absolute; top: .5rem; left: .5rem; font-size: .65rem; font-weight: 600; background: var(--secondary); color: var(--white); padding: .2rem .5rem; border-radius: 4px; }
.blog-card-body { padding: .85rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-body h3 { font-size: .85rem; font-weight: 700; color: var(--primary); margin-bottom: .35rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-date { font-size: .7rem; color: var(--text-faint); margin-top: auto; }
.blog-card-date i { margin-right: .2rem; }

/* ── Stories Grid ───────────────────────────────────────────── */
.section-stories { background: var(--bg-alt); }

.stories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.story-card {
    display: flex;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all .2s;
}

.story-card:hover { text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.08); }

.story-card-img {
    width: 220px;
    min-height: 200px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--bg-muted);
}

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

.story-card-body { padding: 1.5rem; display: flex; flex-direction: column; }
.story-card-body h3 { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin-bottom: .5rem; }
.story-subject { display: flex; align-items: center; gap: .3rem; font-size: .82rem; color: var(--secondary); font-weight: 600; margin-bottom: .5rem; }
.story-card-body p { font-size: .875rem; color: var(--text-muted); line-height: 1.6; }

/* ── Team Grid ──────────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.team-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; overflow: hidden; text-align: center; transition: box-shadow .2s; }
.team-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.06); }
.team-photo { height: 260px; overflow: hidden; background: var(--bg-muted); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo-placeholder { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--gray-300); }
.team-info { padding: 1.25rem; }
.team-info h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: .25rem; }
.team-role { font-size: .85rem; color: var(--secondary); font-weight: 600; margin-bottom: .5rem; }
.team-bio { font-size: .85rem; color: var(--text-muted); line-height: 1.5; }
.team-social { display: flex; justify-content: center; gap: .75rem; margin-top: .75rem; }
.team-social a { color: var(--text-faint); font-size: 1.1rem; transition: color .2s; }
.team-social a:hover { color: var(--primary); }

.team-card-link { display: block; text-decoration: none; color: inherit; }
.team-card-link:hover { text-decoration: none; }
.team-card-link:hover h3 { color: var(--primary); }

/* ── Member Detail ──────────────────────────────────────────── */
.member-hero-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 2.5rem;
    align-items: start;
    margin-bottom: 2.5rem;
}

.member-featured-image { border-radius: 12px; overflow: hidden; aspect-ratio: 3/4; background: var(--bg-muted); }
.member-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.member-photo-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 4rem; color: var(--gray-300); }
.member-intro h2 { font-size: 1.8rem; font-weight: 800; color: var(--primary); margin-bottom: .25rem; }
.member-position { font-size: 1.05rem; color: var(--secondary); font-weight: 600; margin-bottom: 1.25rem; }
.member-bio { font-size: .95rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; }

.member-social { display: flex; gap: .6rem; flex-wrap: wrap; }
.social-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--bg-muted);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all .2s;
}
.social-icon:hover { background: var(--primary); color: var(--white); text-decoration: none; }
.social-icon.social-empty { opacity: .35; pointer-events: none; }

.member-story { margin-bottom: 2.5rem; }
.member-story h3,
.member-gallery h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--border);
}
.member-gallery { margin-bottom: 2rem; }

/* ── Gallery Page ───────────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; }
.gallery-item { position: relative; border-radius: 8px; overflow: hidden; cursor: pointer; aspect-ratio: 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.05); }

/* ── Jobs List ──────────────────────────────────────────────── */
.jobs-list { display: flex; flex-direction: column; gap: 1rem; }

.job-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 1.5rem;
    transition: box-shadow .2s;
}

.job-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.job-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.job-card h3 a { color: var(--primary); text-decoration: none; }
.job-card h3 a:hover { color: var(--primary); }
.job-card p { color: var(--text-muted); font-size: .9rem; }

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: .5rem;
    font-size: .85rem;
    color: var(--text-muted);
}
.job-meta span { display: flex; align-items: center; gap: .3rem; }
.job-meta i { font-size: .9rem; }

/* ── Involvement Cards ──────────────────────────────────────── */
.involvement-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

/* ── Prose Blocks ───────────────────────────────────────────── */
.prose-block { margin-bottom: 2rem; font-size: .95rem; line-height: 1.7; color: var(--text); }
.prose-block h2 { font-size: 1.2rem; color: var(--primary); margin-bottom: .75rem; }

/* ── Empty State ────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 3rem 1rem; }
.empty-state h3 { font-size: 1.3rem; color: var(--text); margin: 1rem 0 .5rem; }
.empty-state p { color: var(--text-muted); }

/* ── Filter Pills ───────────────────────────────────────────── */
.filter-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.pill { display: inline-block; padding: .45rem 1rem; border: 1px solid var(--border); border-radius: 20px; font-size: .85rem; text-decoration: none; color: var(--text-muted); background: var(--card-bg); transition: all .2s; }
.pill:hover, .pill.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ── Share Links ────────────────────────────────────────────── */
.share-links { display: flex; gap: .5rem; }
.share-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; background: var(--bg-muted); color: var(--text-muted); text-decoration: none; transition: all .2s; font-size: 1.1rem; }
.share-btn:hover { background: var(--primary); color: var(--white); }

/* ── Search ─────────────────────────────────────────────────── */
.search-form-hero { display: flex; gap: .5rem; max-width: 600px; margin: 1.5rem auto 0; }
.search-form-hero input { flex: 1; padding: .75rem 1.25rem; border: 2px solid rgba(255,255,255,.3); border-radius: 8px; font-size: 1rem; background: rgba(255,255,255,.15); color: var(--white); }
.search-form-hero input::placeholder { color: rgba(255,255,255,.6); }
.search-form-hero .btn { padding: .75rem 1.25rem; }

.search-summary { font-size: .95rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.search-results { display: flex; flex-direction: column; gap: .75rem; }
.search-result { display: flex; gap: 1rem; padding: 1rem; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 10px; text-decoration: none; transition: border-color .2s; }
.search-result:hover { border-color: var(--primary); }
.search-thumb { width: 100px; height: 80px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.search-thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-type { font-size: .7rem; text-transform: uppercase; font-weight: 700; color: var(--secondary); letter-spacing: .05em; }
.search-info h3 { font-size: 1rem; color: var(--primary); margin: .15rem 0 .3rem; }
.search-info p { font-size: .85rem; color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════════
   DONATE PAGE
   ══════════════════════════════════════════════════════════════ */

.donate-section { padding: 3rem 0 4rem; }

.donate-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

.donate-card { border-radius: 12px; }
.donate-card .card-body { padding: 2rem; }

/* Currency Toggle */
.donate-currency-toggle {
    display: flex;
    background: var(--bg-muted);
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 1.5rem;
}

.currency-btn {
    flex: 1;
    padding: .6rem 1rem;
    border: none;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    font-size: .95rem;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    color: var(--text-muted);
}

.currency-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

/* Steps */
.donate-step { margin-bottom: 2rem; }

.donate-step h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .75rem;
}

.step-num {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Amount Grid */
.donate-amounts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
    margin-bottom: 1rem;
}

.amount-btn {
    padding: .75rem .5rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    background: var(--card-bg);
    cursor: pointer;
    font-weight: 600;
    font-size: .95rem;
    transition: all .2s;
    color: var(--text);
}

.amount-btn:hover { border-color: var(--primary); color: var(--primary); }
.amount-btn.active { border-color: var(--primary); background: var(--primary); color: #fff; }

/* Custom Amount */
.custom-amount-input {
    display: flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .2s;
}

.custom-amount-input:focus-within { border-color: var(--primary); }

.amount-prefix {
    padding: .6rem 1rem;
    background: var(--bg-muted);
    font-weight: 700;
    font-size: .9rem;
    border-right: 1px solid var(--border);
    color: var(--text-muted);
}

.custom-amount-input input {
    flex: 1;
    border: none;
    padding: .6rem 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: transparent;
    color: var(--text);
    outline: none;
}

/* Purpose Cards */
.donate-purpose-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.purpose-card { padding: .75rem .5rem; border: 2px solid var(--border); border-radius: 10px; text-align: center; cursor: pointer; transition: all .2s; }
.purpose-card input { display: none; }
.purpose-card i { display: block; font-size: 1.3rem; margin-bottom: .3rem; color: var(--text-muted); }
.purpose-card span { font-size: .8rem; font-weight: 500; }
.purpose-card:hover { border-color: var(--primary); }
.purpose-card.active { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 8%, transparent); }
.purpose-card.active i { color: var(--primary); }

/* Payment Methods */
.payment-methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.payment-card { cursor: pointer; }
.payment-card input { display: none; }

.payment-card-inner {
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    text-align: center;
    transition: all .2s;
    cursor: pointer;
}

.payment-logos { display: flex; justify-content: center; gap: .5rem; margin-bottom: .5rem; }
.payment-logos img { height: 28px; border-radius: 4px; }
.payment-card-inner span { display: block; font-weight: 600; font-size: .9rem; }
.payment-card-inner small { display: block; font-size: .75rem; color: var(--text-muted); margin-top: .15rem; }

.payment-card input:checked + .payment-card-inner {
    border-color: var(--primary);
    background: color-mix(in srgb, var(--primary) 8%, transparent);
    box-shadow: 0 0 0 1px var(--primary);
}

.payment-card:hover .payment-card-inner { border-color: var(--primary); }

/* Submit Button */
.btn-donate-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-top: 1rem;
}

/* Sidebar Cards */
.donate-sidebar { display: flex; flex-direction: column; gap: 1rem; }

.donate-impact-card, .donate-trust-card, .donate-note-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.donate-impact-card h4, .donate-trust-card h4 { font-size: .95rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.impact-item { padding: .75rem 0; border-bottom: 1px solid var(--border); }
.impact-item:last-child { border: none; padding-bottom: 0; }
.impact-amount { font-weight: 700; color: var(--primary); margin-bottom: .15rem; }
.impact-item p { font-size: .85rem; color: var(--text-muted); margin: 0; }
.impact-usd { font-size: .75rem; color: var(--text-muted); font-weight: 400; }

.donate-trust-card ul { list-style: none; }
.donate-trust-card li { display: flex; align-items: center; gap: .5rem; font-size: .875rem; margin-bottom: .5rem; }
.donate-trust-card li i { color: #43a047; font-size: 1rem; }

.donate-note-card { background: #fffde7; border-color: #fff59d; }
.donate-note-card h4 { margin-bottom: .5rem; display: flex; align-items: center; gap: .5rem; font-size: .95rem; }
.donate-note-card p { font-size: .85rem; color: #5d4037; margin: 0; line-height: 1.6; }

.donate-contact-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; }
.donate-contact-card h4 { font-size: .95rem; margin-bottom: .75rem; display: flex; align-items: center; gap: .5rem; }
.donate-contact-card p { font-size: .875rem; margin-bottom: .35rem; }
.donate-contact-card i { color: var(--primary); }

/* Dynamic Payment Forms */
.payment-form-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; }

/* Mobile Money */
.mm-provider-toggle { display: flex; gap: .5rem; margin-bottom: 1.25rem; }
.mm-provider { flex: 1; padding: .5rem; border: 2px solid var(--border); border-radius: 10px; text-align: center; cursor: pointer; transition: all .2s; }
.mm-provider input { display: none; }
.mm-provider img { height: 30px; }
.mm-provider.active { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 8%, transparent); }
.phone-input-wrap { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.phone-prefix { padding: .5rem .75rem; background: var(--bg-muted); font-weight: 600; font-size: .9rem; border-right: 1px solid var(--border); white-space: nowrap; }
.phone-input-wrap input { border: none; padding: .5rem .75rem; flex: 1; outline: none; background: transparent; }
.mm-hint { color: var(--text-muted); font-size: .82rem; margin-top: .5rem; display: block; }

/* Credit Card Preview */
.credit-card-preview {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #1a365d 100%);
    border-radius: 14px;
    padding: 1.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
    min-height: 180px;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.cc-chip { width: 40px; height: 28px; background: linear-gradient(135deg, #d4a832, #e8c547); border-radius: 5px; margin-bottom: 1.25rem; }
.cc-number { font-size: 1.25rem; letter-spacing: 3px; font-family: 'Courier New', monospace; margin-bottom: 1.25rem; }
.cc-bottom { display: flex; justify-content: space-between; }
.cc-label { font-size: .65rem; text-transform: uppercase; opacity: .7; margin-bottom: .15rem; letter-spacing: 1px; }
.cc-value { font-size: .9rem; font-weight: 600; letter-spacing: 1px; }
.card-security-note { display: flex; align-items: center; gap: .5rem; color: #43a047; font-size: .82rem; margin-top: 1rem; padding: .5rem .75rem; background: #e8f5e9; border-radius: 8px; }

/* PayPal */
.paypal-form { text-align: center; }
.paypal-logo-large { margin-bottom: 1rem; }
.paypal-desc { color: var(--text-muted); font-size: .9rem; margin-bottom: 1.25rem; }
.paypal-note { display: flex; align-items: center; justify-content: center; gap: .5rem; color: #003087; font-size: .82rem; margin-top: 1rem; }

/* Bank Transfer */
.bank-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.bank-info-item { padding: .5rem 0; }
.bank-label { display: block; font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: .15rem; }
.bank-value { font-weight: 600; font-size: .95rem; }
.bank-value-mono { font-family: 'Courier New', monospace; letter-spacing: 1px; }
.bank-note { margin-top: 1rem; padding: .75rem; background: #fff3e0; border-radius: 8px; font-size: .85rem; color: #e65100; display: flex; align-items: flex-start; gap: .5rem; }

/* Donation Summary */
.donate-summary { background: var(--bg-alt); border: 1px dashed var(--border); border-radius: 10px; padding: 1rem 1.25rem; margin-bottom: 1rem; }
.summary-row { display: flex; justify-content: space-between; padding: .3rem 0; font-size: .9rem; }
.donate-disclaimer { text-align: center; font-size: .78rem; color: var(--text-muted); margin-top: .75rem; }
.donate-disclaimer a { color: var(--primary); }

/* Success Modal */
.donate-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; }
.donate-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.donate-modal-content { position: relative; background: #fff; border-radius: 16px; padding: 2.5rem; text-align: center; max-width: 420px; width: 90%; box-shadow: 0 16px 48px rgba(0,0,0,.2); }
.donate-success-icon { width: 70px; height: 70px; border-radius: 50%; background: #e8f5e9; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-size: 2rem; color: #43a047; }
.donate-success-details { margin: 1rem 0; font-size: .9rem; }
.success-detail { padding: .35rem 0; margin: .5rem 0; font-size: .9rem; }
.success-detail code { background: var(--bg-muted); padding: .15rem .5rem; border-radius: 4px; font-size: .85rem; }
.success-note { font-size: .82rem; color: var(--text-muted); margin-top: 1rem; }

/* Processing modal */
.donate-processing-icon { width: 70px; height: 70px; border-radius: 50%; background: var(--bg-muted); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.processing-steps { text-align: left; margin: 1.5rem 0; }
.p-step { display: flex; align-items: center; gap: .75rem; padding: .6rem 0; font-size: .9rem; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.p-step:last-child { border-bottom: none; }
.p-step.completed { color: #16a34a; }
.p-step.completed i { color: #16a34a; }
.p-step.active { color: var(--primary); font-weight: 500; }
.p-step.active i { color: var(--primary); }
.p-step.failed { color: #e53e3e; }
.p-step.failed i { color: #e53e3e; }
.processing-note { font-size: .85rem; color: var(--text-muted); margin-top: .5rem; }

/* Failed modal */
.donate-failed-icon { width: 70px; height: 70px; border-radius: 50%; background: #fee2e2; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }

/* Bank details in modal */
.bank-details-modal { text-align: left; }
.bank-details-modal .success-detail { border-bottom: 1px solid var(--border); }
.bank-details-modal .success-detail:last-child { border-bottom: none; }

/* ══════════════════════════════════════════════════════════════
   CHAT, FOOTER, ANIMATIONS, RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

/* ── Chat Widget ────────────────────────────────────────────── */
.chat-widget {
    position: fixed;
    bottom: calc(2rem + 44px + .5rem);
    right: 1.5rem;
    z-index: 999;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.chat-toggle {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,.25);
    transition: transform .2s, background .2s;
    position: relative;
}

.chat-toggle:hover { transform: scale(1.08); }

.chat-toggle .chat-unread-dot {
    position: absolute; top: 2px; right: 2px;
    width: 10px; height: 10px;
    background: #e53e3e;
    border-radius: 50%;
    border: 2px solid #fff;
    display: none;
}

.chat-toggle .chat-unread-dot.active { display: block; }

.chat-window {
    position: absolute;
    bottom: 55px; right: 0;
    width: 380px;
    max-height: 520px;
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border);
    animation: chatSlideUp .25s ease-out;
}

@keyframes chatSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-header {
    background: var(--primary);
    color: #fff;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.chat-header-info { display: flex; align-items: center; gap: .75rem; }

.chat-header-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}

.chat-header-text h4 { margin: 0; font-size: .95rem; font-weight: 600; }
.chat-header-text p { margin: 0; font-size: .75rem; opacity: .8; }

.chat-close {
    background: none; border: none;
    color: rgba(255,255,255,.8);
    cursor: pointer; font-size: 1.2rem;
    padding: .25rem;
    transition: color .15s;
}

.chat-close:hover { color: #fff; }

/* Chat start screen */
.chat-start-screen { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.chat-start-screen h3 { font-size: 1rem; font-weight: 600; margin: 0; color: var(--text); }
.chat-start-screen p { font-size: .85rem; color: var(--text-muted); margin: 0; }
.chat-start-screen .form-group { margin-bottom: 0; }
.chat-start-screen .form-group label { font-size: .8rem; color: var(--text-muted); margin-bottom: .25rem; display: block; }

.chat-start-screen .form-control {
    width: 100%;
    padding: .6rem .75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: .85rem;
    background: var(--input-bg);
    color: var(--text);
}

.chat-start-btn {
    width: 100%;
    padding: .7rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    transition: background .15s;
}

.chat-start-btn:hover { filter: brightness(1.1); }

/* Chat messages */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    min-height: 280px;
    max-height: 320px;
    scroll-behavior: smooth;
}

.chat-msg { display: flex; gap: .5rem; max-width: 85%; }
.chat-msg.chat-msg-visitor { align-self: flex-end; flex-direction: row-reverse; }
.chat-msg.chat-msg-admin { align-self: flex-start; }

.chat-msg-bubble {
    padding: .6rem .85rem;
    border-radius: 12px;
    font-size: .85rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.chat-msg-visitor .chat-msg-bubble { background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg-admin .chat-msg-bubble { background: var(--bg-alt); color: var(--text); border-bottom-left-radius: 4px; }
.chat-msg-time { font-size: .65rem; color: var(--text-muted); margin-top: .15rem; text-align: right; }
.chat-msg-visitor .chat-msg-time { text-align: right; }
.chat-msg-admin .chat-msg-time { text-align: left; }

.chat-typing { align-self: flex-start; display: none; gap: .3rem; padding: .5rem .75rem; background: var(--bg-alt); border-radius: 12px; }
.chat-typing.active { display: flex; }

.chat-typing-dot {
    width: 6px; height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: chatTypingBounce .6s ease-in-out infinite;
}

.chat-typing-dot:nth-child(2) { animation-delay: .15s; }
.chat-typing-dot:nth-child(3) { animation-delay: .3s; }

@keyframes chatTypingBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.chat-welcome { text-align: center; padding: 1rem; color: var(--text-muted); font-size: .82rem; }
.chat-welcome i { display: block; font-size: 2rem; margin-bottom: .5rem; color: var(--primary); }

/* Chat form */
.chat-form {
    display: flex;
    gap: .5rem;
    padding: .75rem 1rem;
    border-top: 1px solid var(--border);
    background: var(--card-bg);
    flex-shrink: 0;
}

.chat-form input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: .5rem 1rem;
    font-size: .85rem;
    background: var(--input-bg);
    color: var(--text);
    outline: none;
}

.chat-form input:focus { border-color: var(--primary); }

.chat-form button {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: background .15s;
}

.chat-form button:hover { filter: brightness(1.1); }
.chat-form button:disabled { opacity: .5; cursor: default; }

.chat-status-bar {
    padding: .25rem .75rem;
    text-align: center;
    font-size: .7rem;
    background: var(--bg-muted);
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    display: none;
}

.chat-status-bar.active { display: block; }

/* ── Back to Top ────────────────────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 1.5rem;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .3s, visibility .3s, transform .3s, background .2s;
    z-index: 999;
}

.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.2); }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 3rem 0 0;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
}

.footer-col h3 { color: var(--footer-heading); font-size: 1.15rem; margin-bottom: .5rem; }
.footer-col h4 { color: var(--footer-heading); font-size: .95rem; font-weight: 700; margin-bottom: .75rem; }

.footer-tagline { color: var(--footer-accent); font-size: .9rem; margin-bottom: 1rem; }

.footer-social { display: flex; gap: .5rem; }

.footer-social a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: background .2s;
    text-decoration: none;
}

.footer-social a:hover { background: var(--white); color: var(--primary); }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: .4rem; }
.footer-links a { color: var(--footer-link); font-size: .875rem; text-decoration: none; transition: color .15s; display: flex; align-items: center; gap: .25rem; }
.footer-links a:hover { color: var(--footer-heading); text-decoration: none; }
.footer-links a i { font-size: .7rem; opacity: .5; }
.footer-links a:hover i { opacity: 1; }

.footer-contact { list-style: none; }
.footer-contact li { display: flex; align-items: flex-start; gap: .5rem; margin-bottom: .5rem; font-size: .875rem; }
.footer-contact i { margin-top: .15rem; flex-shrink: 0; color: var(--footer-accent); }
.footer-contact a { color: var(--footer-link); text-decoration: none; }
.footer-contact a:hover { color: var(--footer-heading); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 1.25rem 0;
    margin-top: 2.5rem;
    text-align: center;
    font-size: .82rem;
    color: var(--text-faint);
}

.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.footer-bottom-links { display: flex; gap: 1rem; }
.footer-bottom-links a { color: rgba(255,255,255,.5); font-size: .82rem; text-decoration: none; }
.footer-bottom-links a:hover { color: var(--footer-heading); text-decoration: none; }

/* Footer brand */
.footer-brand-col { max-width: none; }
.footer-brand-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.footer-logo { width: 60px; height: 60px; object-fit: contain; border-radius: 8px; }
.footer-org-name { font-size: 1.15rem; font-weight: 700; margin-bottom: .15rem; }
.footer-bio { font-size: .875rem; color: var(--footer-text); line-height: 1.6; margin-bottom: 1rem; }

/* Footer newsletter */
.footer-newsletter-desc { font-size: .85rem; color: var(--footer-text); margin-bottom: .75rem; }
.footer-newsletter-form .newsletter-input-group { display: flex; gap: 0; }

.newsletter-input {
    flex: 1;
    padding: .5rem .75rem;
    border: 1px solid rgba(255,255,255,.2);
    border-right: none;
    border-radius: 6px 0 0 6px;
    background: rgba(255,255,255,.1);
    color: #fff;
    font-size: .9rem;
}

.newsletter-input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-btn { border-radius: 0 6px 6px 0; padding: .5rem .75rem; }

.newsletter-input-full {
    width: 100%;
    padding: .6rem .85rem;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: .9rem;
    margin-bottom: .5rem;
    transition: border-color .2s, background .2s;
}

.newsletter-input-full:focus { outline: none; border-color: var(--primary); background: rgba(255,255,255,.12); }
.newsletter-input-full::placeholder { color: rgba(255,255,255,.45); }

.newsletter-btn-full {
    width: 100%;
    padding: .55rem 1rem;
    border-radius: 8px;
    font-size: .9rem;
    display: flex; align-items: center; justify-content: center; gap: .5rem;
}

.footer-newsletter-note { font-size: .75rem; color: rgba(255,255,255,.4); margin-top: .5rem; }

/* ── Lazy Images ────────────────────────────────────────────── */
img[loading="lazy"] { opacity: 0; transition: opacity .4s ease; }
img[loading="lazy"].loaded, img.loaded { opacity: 1; }
noscript ~ img[loading="lazy"], .no-js img[loading="lazy"] { opacity: 1; }
@keyframes lazyFallback { to { opacity: 1; } }
img[loading="lazy"] { animation: lazyFallback 0s 3s forwards; }

/* ── Thumbnails ─────────────────────────────────────────────── */
.thumb-img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; opacity: 0; transition: opacity .4s ease; }
.thumb-img.loaded { opacity: 1; }

.thumb-card {
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 10px;
    background: var(--bg-muted);
    position: relative;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: transform .3s, box-shadow .3s;
}

.thumb-card::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--bg-muted) 25%, transparent 25%, transparent 50%, var(--bg-muted) 50%, var(--bg-muted) 75%, transparent 75%);
    background-size: 40px 40px;
    animation: shimmer 1.5s linear infinite;
    z-index: 0;
    opacity: 1;
    transition: opacity .4s;
}

.thumb-card.img-loaded::before { opacity: 0; }

@keyframes shimmer {
    0% { background-position: 0 0; }
    100% { background-position: 80px 0; }
}

.thumb-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    opacity: 0;
    transition: opacity .4s, transform .3s;
}

.thumb-card.img-loaded img { opacity: 1; }
.thumb-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.thumb-card:hover img { transform: scale(1.05); }

/* ── Lightbox ───────────────────────────────────────────────── */
.lightbox { position: fixed; inset: 0; z-index: 9999; display: none; }
.lightbox.open { display: flex; align-items: center; justify-content: center; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.85); }
.lightbox-content { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: 4px; }
.lightbox-caption { text-align: center; color: var(--white); font-size: .9rem; margin-top: .75rem; }

.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
    animation: lightboxFadeIn .3s ease forwards;
}

@keyframes lightboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0,0,0,.5);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    width: 40px; height: 40px;
    background: rgba(255,255,255,.15);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
    z-index: 10000;
}

.lightbox-close:hover { background: rgba(255,255,255,.3); }

/* Page Lightbox (homepage gallery) */
.page-lightbox { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s; }
.page-lightbox.open { opacity: 1; }
.page-lightbox-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.85); }
.page-lightbox-wrap { position: relative; max-width: 90vw; max-height: 90vh; }
.page-lightbox-wrap img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 8px; }
.page-lightbox-close { position: absolute; top: -2.5rem; right: 0; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* ── Scroll Animations ──────────────────────────────────────── */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease-out, transform .6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.delay-1, .animate-on-scroll.animate-delay-1 { transition-delay: .1s; }
.delay-2, .animate-on-scroll.animate-delay-2 { transition-delay: .2s; }
.delay-3, .animate-on-scroll.animate-delay-3 { transition-delay: .3s; }
.delay-4, .animate-on-scroll.animate-delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }
.delay-6 { transition-delay: .6s; }

/* Fade variants */
.animate-fade-left { opacity: 0; transform: translateX(-30px); transition: opacity .6s ease-out, transform .6s ease-out; }
.animate-fade-left.animated { opacity: 1; transform: translateX(0); }
.animate-fade-right { opacity: 0; transform: translateX(30px); transition: opacity .6s ease-out, transform .6s ease-out; }
.animate-fade-right.animated { opacity: 1; transform: translateX(0); }

/* ── Card Hover & Decorative ────────────────────────────────── */
.card-hover { transition: transform .3s, box-shadow .3s; }
.card-hover:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.hover-zoom-wrapper { overflow: hidden; }
.hover-zoom-wrapper img.hover-zoom, img.hover-zoom { transition: transform .3s; }
.hover-zoom-wrapper:hover img.hover-zoom, img.hover-zoom:hover { transform: scale(1.05); }

.section-decorated { position: relative; overflow: hidden; }
.section-decorated::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: .06;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.section-wave {
    display: block;
    width: 100%;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23f8fafc' d='M0,30 C360,60 720,0 1080,30 C1260,45 1380,25 1440,30 L1440,60 L0,60 Z'/%3E%3C/svg%3E") no-repeat center / cover;
    margin-top: -1px;
}

[data-mode="dark"] .section-wave {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%231e293b' d='M0,30 C360,60 720,0 1080,30 C1260,45 1380,25 1440,30 L1440,60 L0,60 Z'/%3E%3C/svg%3E");
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

/* ── Tablet + Desktop small (max 1024px) ────────────────────── */
@media (max-width: 1024px) {
    .navbar-inner { height: 64px; }
    .navbar-brand img { height: 48px; }
    .navbar-toggle { display: flex; align-items: center; }

    .navbar-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0; right: 0;
        background: var(--navbar-bg);
        border-bottom: 1px solid var(--navbar-border);
        padding: .5rem 0;
        box-shadow: 0 8px 24px rgba(0,0,0,.1);
        max-height: 80vh;
        overflow-y: auto;
    }

    .navbar-nav.open { display: flex; }

    .nav-link { padding: .75rem 1.5rem; width: 100%; font-size: .9rem; }
    .nav-link.active::after { display: none; }

    .nav-dropdown .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0 0 0 1rem;
        min-width: 0;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
    }

    .nav-dropdown.open .dropdown-menu { display: block; }
    .dropdown-item { padding: .6rem 1.5rem; }

    .page-hero h1 { font-size: 1.6rem; }

    .hero-slider { height: 70vh; min-height: 400px; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content p { font-size: 1rem; }
    .hero-arrow { display: none; }

    .content-grid { grid-template-columns: 1fr; }
    .content-sidebar { position: static; }

    .mission-grid,
    .vision-grid { grid-template-columns: 1fr; gap: 2rem; }
    .mission-image img, .vision-image img { height: 300px; }

    .section-intro .intro-grid { grid-template-columns: 1fr; }
    .pre-header { display: none; }
    .md-quote { flex-direction: column; align-items: center; text-align: center; }
    .md-avatar { width: 64px; height: 64px; }

    .areas-grid { grid-template-columns: 1fr; }
    .card-grid-3 { grid-template-columns: 1fr; }
    .stories-grid { grid-template-columns: 1fr; }
    .story-card { flex-direction: column; }
    .story-card-img { width: 100%; min-height: 180px; }

    .mv-cards { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .objectives-grid { grid-template-columns: 1fr; }
    .involve-grid { grid-template-columns: 1fr; }
    .section-gallery .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .donate-banner.has-image { grid-template-columns: 1fr; text-align: center; }
    .volunteer-content h2 { font-size: 1.35rem; }
    .partner-cta-banner.has-image { grid-template-columns: 1fr; }
    .contact-preview-grid { grid-template-columns: 1fr; }
    .newsletter-input-group { flex-direction: column; }
    .blog-grid-5 { grid-template-columns: repeat(3, 1fr); }

    .cta-banner { flex-direction: column; text-align: center; }
    .cta-actions { justify-content: center; flex-wrap: wrap; }

    .job-card { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .involvement-options { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* ── Tablet range (481–1024px) ──────────────────────────────── */
@media (min-width: 481px) and (max-width: 1024px) {
    .areas-grid { grid-template-columns: repeat(2, 1fr); }
    .card-grid-3, .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .objectives-grid { grid-template-columns: repeat(2, 1fr); }
    .involve-grid { grid-template-columns: repeat(2, 1fr); }
    .section-gallery .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .team-grid { grid-template-columns: repeat(3, 1fr); }
    .blog-grid-5 { grid-template-columns: repeat(3, 1fr); }
}

/* ── Mobile (max 768px) ─────────────────────────────────────── */
@media (max-width: 768px) {
    .pre-header-left { flex-wrap: wrap; gap: .5rem; }
    .pre-header-inner { flex-direction: column; gap: .4rem; }

    .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .partners-grid { grid-template-columns: 1fr; }
    .partner-card-full { flex-direction: column; text-align: center; }
    .blog-grid-5 { grid-template-columns: repeat(2, 1fr); }
    .blog-card-img { height: 120px; }
    .search-result { flex-direction: column; }
    .search-thumb { width: 100%; height: 150px; }
    .search-form-hero input { background: rgba(255,255,255,.9); color: var(--text); border-color: var(--border); }

    .member-hero-grid { grid-template-columns: 1fr; }
    .member-featured-image { max-width: 320px; }

    .objective-row { flex-wrap: wrap; }
    .objective-number { min-width: auto; }

    .donate-layout { grid-template-columns: 1fr; }
    .donate-amounts { grid-template-columns: repeat(2, 1fr); }
    .payment-methods { grid-template-columns: 1fr; }
    .donate-purpose-grid { grid-template-columns: repeat(2, 1fr); }
    .bank-info-grid { grid-template-columns: 1fr; }
    .credit-card-preview { min-height: 160px; }

    .back-to-top { right: 1rem; bottom: 1.5rem; }
    .chat-widget { right: 1rem; bottom: calc(1.5rem + 44px + .75rem); }

    .section-history .history-image { max-width: 100%; float: none; margin-left: 0; margin-right: 0; }
    .section-history .history-gallery { grid-template-columns: repeat(2, 1fr); }
    .section-history .history-gallery-item:nth-child(odd),
    .section-history .history-gallery-item:nth-child(even) { transform: none; }

    .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* ── Small mobile (max 480px) ───────────────────────────────── */
@media (max-width: 480px) {
    .blog-grid-5 { grid-template-columns: 1fr; }
    .blog-card-img { height: 160px; }
    .team-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }

    .chat-window {
        position: fixed;
        width: calc(100vw - 2rem);
        right: 1rem;
        left: auto;
        bottom: calc(2rem + 44px + .5rem + 44px + .5rem);
        max-height: 70vh;
    }
}
