/* =========================================================
   NAMLAS National — shared stylesheet
   Edit colours in :root and every page updates.
   ========================================================= */
:root {
  --primary: #a51c30;        /* maroon */
  --primary-dark: #7d1324;
  --primary-light: #d42d45;
  --secondary: #2b4e8c;      /* deep blue */
  --accent: #f8b400;         /* gold */
  --green: #1f7a3f;          /* from the logo crescent */
  --bg: #f7f5f2;
  --surface: #ffffff;
  --surface-2: #f1ede8;
  --text: #2a2a2a;
  --text-light: #6b6b6b;
  --border: #e4ded6;
  --on-primary: #ffffff;
  --shadow: 0 6px 20px rgba(40, 20, 20, 0.08);
  --shadow-lg: 0 14px 40px rgba(40, 20, 20, 0.14);
  --radius: 14px;
  --transition: all 0.3s ease;
  --header-h: 72px;
}

[data-theme="dark"] {
  --primary: #d33a4f;
  --primary-dark: #a51c30;
  --primary-light: #e8566a;
  --secondary: #6f9be6;
  --accent: #ffc83d;
  --green: #3fb36a;
  --bg: #121212;
  --surface: #1d1d1f;
  --surface-2: #242427;
  --text: #ececec;
  --text-light: #a9a9ae;
  --border: #333338;
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 14px 40px rgba(0, 0, 0, 0.6);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  transition: background 0.3s ease, color 0.3s ease;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3,
[data-theme="dark"] h4, [data-theme="dark"] h5 { color: var(--accent); }
p + p { margin-top: 1rem; }
a { color: var(--secondary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 2000;
  background: var(--accent); color: #000; padding: 0.6rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.container { width: 92%; max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }
.mt-3 { margin-top: 3rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.75rem; border-radius: 50px; border: 2px solid var(--primary);
  background: var(--primary); color: var(--on-primary);
  font: 500 1rem 'Poppins', sans-serif; cursor: pointer;
  box-shadow: var(--shadow); transition: var(--transition);
}
.btn:hover { background: var(--primary-light); border-color: var(--primary-light); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-light { background: transparent; border-color: #fff; color: #fff; }
.btn-light:hover { background: #fff; color: var(--primary); border-color: #fff; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.875rem; }

/* ---------- Header ---------- */
header.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.logo { display: flex; align-items: center; gap: 0.7rem; color: var(--text); }
.logo img { height: 46px; width: auto; border-radius: 6px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--primary); }
[data-theme="dark"] .logo-text strong { color: var(--accent); }
.logo-text small { font-size: 0.7rem; color: var(--text-light); letter-spacing: 0.04em; }

.nav-menu { display: flex; list-style: none; gap: 0.25rem; align-items: center; }
.nav-link {
  display: block; padding: 0.5rem 0.85rem; border-radius: 50px;
  font-weight: 500; font-size: 0.95rem; color: var(--text);
}
.nav-link:hover { color: var(--primary); background: var(--surface-2); }
.nav-link.active { color: var(--on-primary); background: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem;
  transition: var(--transition);
}
.icon-btn:hover { color: var(--primary); border-color: var(--primary); }
.hamburger { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; text-align: center;
  padding: 7rem 0 6rem;
  background:
    linear-gradient(135deg, rgba(125, 19, 36, 0.88), rgba(20, 20, 30, 0.78)),
    url('images/conference-group.jpg') center/cover no-repeat;
}
.hero-content { max-width: 860px; margin: 0 auto; }
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.85rem; font-weight: 500;
  background: rgba(248, 180, 0, 0.18); color: var(--accent); border: 1px solid rgba(248, 180, 0, 0.5);
  margin-bottom: 1.5rem;
}
.hero h1 { color: #fff !important; font-size: clamp(2.1rem, 5vw, 3.6rem); margin-bottom: 1.25rem; }
.hero-subtitle { font-size: clamp(1.05rem, 2.2vw, 1.35rem); font-weight: 300; opacity: 0.92; margin-bottom: 2.25rem; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.page-hero {
  color: #fff; text-align: center; padding: 5rem 0 4rem;
  background:
    linear-gradient(135deg, rgba(125, 19, 36, 0.9), rgba(20, 20, 30, 0.8)),
    var(--hero-img, url('images/conference-group.jpg')) center/cover no-repeat;
}
.page-hero h1 { color: #fff !important; font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 0.5rem; }
.page-hero p { opacity: 0.9; font-size: 1.1rem; }
.breadcrumb { font-size: 0.85rem; opacity: 0.8; margin-top: 0.75rem; }
.breadcrumb a { color: var(--accent); }

/* ---------- Stats ---------- */
.stats { margin-top: -3rem; position: relative; z-index: 2; }
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.stat { padding: 1.75rem 1rem; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat-number { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700; color: var(--primary); line-height: 1; }
[data-theme="dark"] .stat-number { color: var(--accent); }
.stat-label { color: var(--text-light); font-size: 0.9rem; margin-top: 0.4rem; }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--surface); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.25rem; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin-bottom: 0.5rem; }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.5rem); position: relative; padding-bottom: 1rem; }
.section-title::after {
  content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 70px; height: 3px; border-radius: 3px; background: var(--accent);
}
.section-head p { color: var(--text-light); margin-top: 1rem; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.split-media:hover img { transform: scale(1.04); }
.split-text .btn { margin-top: 1.75rem; }
.check-list { list-style: none; margin-top: 1.25rem; display: grid; gap: 0.6rem; }
.check-list li { display: flex; gap: 0.7rem; align-items: flex-start; }
.check-list i { color: var(--green); margin-top: 0.35rem; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.75rem; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow); transition: var(--transition);
}
.section-alt .card { background: var(--bg); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 58px; height: 58px; border-radius: 14px; margin-bottom: 1.25rem;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem;
  background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary);
}
[data-theme="dark"] .card-icon { color: var(--accent); background: rgba(255, 200, 61, 0.12); }
.card h3 { font-size: 1.3rem; }
.card p { color: var(--text-light); }

/* ---------- Executives ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 270px)); justify-content: center; gap: 1.75rem; }
.member {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem 1.25rem 1.5rem; text-align: center; box-shadow: var(--shadow); transition: var(--transition);
}
.section-alt .member { background: var(--bg); }
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); }
.avatar {
  --hue: 350;
  position: relative; width: 132px; height: 132px; margin: 0 auto 1.25rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: linear-gradient(135deg, hsl(var(--hue) 62% 38%), hsl(calc(var(--hue) + 30) 58% 28%));
  color: #fff; font-family: 'Playfair Display', serif; font-size: 2.6rem; font-weight: 700; letter-spacing: 0.02em;
  box-shadow: 0 0 0 4px var(--surface), 0 0 0 7px var(--accent);
}
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity 0.4s; }
.avatar img.loaded { opacity: 1; }
.avatar.vacant { background: var(--surface-2); color: var(--text-light); font-size: 2.4rem; }
.member-name { font-size: 1.15rem; margin-bottom: 0.3rem; color: var(--text) !important; }
.member-role { color: var(--primary); font-weight: 600; font-size: 0.9rem; }
[data-theme="dark"] .member-role { color: var(--accent); }
.member-tag {
  display: inline-block; margin-top: 0.75rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.2rem 0.65rem; border-radius: 50px; background: var(--surface-2); color: var(--text-light);
}
.team-featured .avatar { width: 150px; height: 150px; }
.exec-group + .exec-group { margin-top: 4rem; }
.exec-group-title {
  display: flex; align-items: center; gap: 1rem; font-size: 1.5rem; margin-bottom: 1.75rem;
}
.exec-group-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.exec-tools { display: flex; justify-content: center; margin-bottom: 3rem; }
.search-box { position: relative; width: min(460px, 100%); }
.search-box i { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--text-light); }
.search-box input { padding-left: 2.8rem; border-radius: 50px; }
.no-results { display: none; text-align: center; color: var(--text-light); padding: 2rem; }

/* ---------- Donation ---------- */
.donate {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff; border-radius: calc(var(--radius) + 6px); padding: 3rem; box-shadow: var(--shadow-lg);
}
.donate h2 { color: #fff !important; }
.donate p { opacity: 0.9; }
.account-card { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: var(--radius); padding: 1.75rem; }
.account-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.25); }
.account-row:last-of-type { border-bottom: none; }
.account-row span { opacity: 0.8; }
.account-number { font-family: 'Courier New', monospace; font-size: 1.35rem; letter-spacing: 0.08em; font-weight: 700; }
.account-card .btn { margin-top: 1.25rem; width: 100%; justify-content: center; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3;
  cursor: zoom-in; border: none; padding: 0; background: var(--surface-2); box-shadow: var(--shadow);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-caption {
  position: absolute; inset: auto 0 0 0; padding: 2.5rem 1rem 0.9rem; text-align: left;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)); color: #fff; font: 500 0.95rem 'Poppins', sans-serif;
}
.lightbox {
  position: fixed; inset: 0; z-index: 3000; display: none; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.92); padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox figure { max-width: 1100px; width: 100%; text-align: center; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 8px; }
.lightbox figcaption { color: #eee; margin-top: 1rem; }
.lb-btn {
  position: absolute; width: 50px; height: 50px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 1.3rem;
}
.lb-btn:hover { background: var(--primary); }
.lb-close { top: 1.25rem; right: 1.25rem; }
.lb-prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.25rem; top: 50%; transform: translateY(-50%); }

/* ---------- Blog ---------- */
.post { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); display: flex; flex-direction: column; }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post img { height: 210px; width: 100%; object-fit: cover; }
.post-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: 0.8rem; color: var(--text-light); margin-bottom: 0.5rem; display: flex; gap: 1rem; }
.post-meta .tag { color: var(--green); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.post h3 { font-size: 1.25rem; }
.post p { color: var(--text-light); flex: 1; }
.post-link { margin-top: 1rem; font-weight: 600; display: inline-flex; gap: 0.4rem; align-items: center; }

/* ---------- Values / timeline ---------- */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.value { text-align: center; padding: 2rem 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.value i { font-size: 2rem; color: var(--accent); margin-bottom: 1rem; }
.mv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.75rem; }
.mv { padding: 2.25rem; border-radius: var(--radius); color: #fff; }
.mv h3 { color: #fff !important; display: flex; gap: 0.75rem; align-items: center; }
.mv.mission { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); }
.mv.vision { background: linear-gradient(135deg, #1d3766, var(--secondary)); }
.structure-list { display: grid; gap: 1rem; }
.structure-item { display: flex; gap: 1.1rem; padding: 1.25rem 1.5rem; border-radius: var(--radius); background: var(--surface); border-left: 4px solid var(--primary); box-shadow: var(--shadow); }
.structure-item i { font-size: 1.35rem; color: var(--primary); margin-top: 0.25rem; width: 28px; text-align: center; }
[data-theme="dark"] .structure-item i { color: var(--accent); }
.structure-item h4 { margin-bottom: 0.25rem; font-size: 1.1rem; }
.structure-item p { color: var(--text-light); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 0.9rem; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 0 1.4rem; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 0; font-weight: 600;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '\f067'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--primary); transition: transform 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.2rem; color: var(--text-light); }

/* ---------- CTA ---------- */
.cta { text-align: center; padding: 4.5rem 0; background: linear-gradient(135deg, #1d3766, var(--secondary)); color: #fff; }
.cta h2 { color: #fff !important; font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.cta p { opacity: 0.9; max-width: 620px; margin: 0 auto 2rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; }
.contact-info { display: grid; gap: 1rem; align-content: start; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.contact-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.contact-item h4 { margin-bottom: 0.15rem; font-size: 1.05rem; }
.contact-item p, .contact-item a { color: var(--text-light); word-break: break-word; }
.contact-item a:hover { color: var(--primary); }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.25rem; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.35rem; }
.form-input {
  width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg); color: var(--text); font: 400 1rem 'Poppins', sans-serif; transition: var(--transition);
}
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent); }
textarea.form-input { min-height: 150px; resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--text-light); margin-top: 0.75rem; }
.map-wrap { margin-top: 2.5rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
footer.site-footer { background: #1a0d10; color: rgba(255, 255, 255, 0.78); padding: 4.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer-col h3 { color: #fff !important; font-size: 1.2rem; margin-bottom: 1.25rem; position: relative; padding-bottom: 0.6rem; }
.footer-col h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--accent); }
.footer-brand { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 1rem; }
.footer-brand img { height: 52px; border-radius: 6px; }
.footer-brand strong { font-family: 'Playfair Display', serif; color: #fff; font-size: 1.4rem; }
.footer-links { list-style: none; display: grid; gap: 0.55rem; }
.footer-links a { color: rgba(255, 255, 255, 0.75); }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact { list-style: none; display: grid; gap: 0.75rem; font-size: 0.92rem; }
.footer-contact li { display: flex; gap: 0.7rem; }
.footer-contact i { color: var(--accent); margin-top: 0.3rem; }
.footer-contact a { color: rgba(255, 255, 255, 0.78); }
.social-links { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.social-link {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.social-link:hover { background: var(--accent); color: #1a0d10; transform: translateY(-3px); }
.copyright {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6);
}
.copyright a { color: var(--accent); }
.copyright p { margin: 0; }

/* ---------- Misc ---------- */
.back-to-top {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 900; width: 48px; height: 48px; border-radius: 50%;
  border: none; background: var(--primary); color: #fff; cursor: pointer; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: var(--transition);
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.toast {
  position: fixed; left: 50%; bottom: 2rem; transform: translate(-50%, 20px); z-index: 4000;
  background: #222; color: #fff; padding: 0.75rem 1.25rem; border-radius: 50px; font-size: 0.9rem;
  opacity: 0; pointer-events: none; transition: var(--transition);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-link { padding: 0.5rem 0.6rem; font-size: 0.9rem; }
}
@media (max-width: 900px) {
  .hamburger { display: inline-flex; }
  header.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--surface); }
  .nav-menu {
    position: fixed; top: var(--header-h); right: 0; bottom: 0; width: min(320px, 85%);
    flex-direction: column; align-items: stretch; gap: 0.25rem; padding: 1.5rem;
    background: var(--surface); border-left: 1px solid var(--border); box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform 0.3s ease; visibility: hidden;
  }
  .nav-menu.open { transform: none; visibility: visible; }
  .nav-link { padding: 0.8rem 1rem; font-size: 1rem; border-radius: 10px; }
  .split, .donate, .contact-grid { grid-template-columns: 1fr; }
  .split { gap: 2.5rem; }
  .donate { padding: 2rem; }
}
@media (max-width: 600px) {
  .section { padding: 4rem 0; }
  .hero { padding: 5rem 0 5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 1.25rem 0.5rem; border-bottom: 1px solid var(--border); }
  .stat:nth-child(2n) { border-right: none; }
  .stat-number { font-size: 2rem; }
  .logo-text small { display: none; }
  .copyright { justify-content: center; text-align: center; }
}

/* ---------- Directorates ---------- */
.dir-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.dir-card { display: flex; flex-direction: column; }
.dir-tag { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); margin-bottom: 0.35rem; }
.dir-card .check-list { margin: 0.5rem 0 1.25rem; font-size: 0.93rem; color: var(--text-light); }
.dir-lead { margin-top: auto; padding-top: 1rem; border-top: 1px dashed var(--border); font-size: 0.9rem; }
.dir-lead i { color: var(--primary); margin-right: 0.35rem; }
[data-theme="dark"] .dir-lead i { color: var(--accent); }
.dir-note { margin: 2.5rem auto 0; max-width: 760px; text-align: center; color: var(--text-light); }
.dir-note i { color: var(--accent); margin-right: 0.4rem; }
.dir-note a { color: var(--primary); font-weight: 600; }
[data-theme="dark"] .dir-note a { color: var(--accent); }
/* eight nav items: tighten spacing before the mobile menu kicks in */
@media (max-width: 1180px) and (min-width: 901px) {
  .nav-link { padding: 0.45rem 0.55rem; font-size: 0.86rem; }
  .logo-text small { display: none; }
}
