/* ==========================================================================
   আল মানাহ ফাউন্ডেশন — Main Stylesheet
   Colors derived from the official logo
   ========================================================================== */

:root {
  /* Brand (from logo) */
  --primary: #0e8f86;        /* teal */
  --primary-600: #0b7a72;
  --primary-700: #09625c;
  --primary-50: #e8f6f4;
  --primary-100: #cdeeea;
  --navy: #134a63;           /* deep blue-teal */
  --navy-900: #0b2f40;
  --navy-950: #082431;
  --accent: #e8650a;         /* orange hands */
  --accent-600: #cc5507;
  --accent-50: #fff1e6;
  --gold: #f8b038;           /* yellow flame */
  --gold-100: #fde9c4;
  --coral: #f05840;

  /* Neutrals */
  --ink: #16242c;
  --text: #3d4b53;
  --muted: #6b7a82;
  --line: #e3e9ec;
  --surface: #ffffff;
  --bg: #ffffff;
  --bg-soft: #f5f8f9;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(11, 47, 64, .06);
  --shadow: 0 10px 30px rgba(11, 47, 64, .10);
  --shadow-lg: 0 20px 50px rgba(11, 47, 64, .16);

  --container: 1240px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font: "Anek Bangla", "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;

  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.2' opacity='.55'%3E%3Cpath d='M40 6l9.9 14.1L66.9 13l-7.1 17L74 40l-14.2 10 7.1 17-17-7.1L40 74l-9.9-14.1L13.1 67l7.1-17L6 40l14.2-10-7.1-17 17 7.1z'/%3E%3Ccircle cx='40' cy='40' r='12'/%3E%3Cpath d='M0 0l12 12M80 0L68 12M0 80l12-12M80 80L68 68'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(56px, 8vw, 100px); }
.section-sm { padding-block: clamp(40px, 5vw, 64px); }
.bg-soft { background: var(--bg-soft); }
.bg-primary-soft { background: var(--primary-50); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(32px, 4vw, 52px); }
.section-head .eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; font-size: .95rem; letter-spacing: .02em; margin-bottom: 8px; }
.section-head .eyebrow::before, .section-head .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-title { font-size: clamp(1.75rem, 3.6vw, 2.6rem); color: var(--navy); margin-bottom: .3em; }
.section-title span { color: var(--primary); }
.section-sub { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section-foot { text-align: center; margin-top: clamp(28px, 4vw, 44px); }

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--primary); --fg: #fff; --bd: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 24px; border-radius: 10px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font-weight: 600; font-size: 1rem; line-height: 1.2; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(14, 143, 134, .28); --bg: var(--primary-600); --bd: var(--primary-600); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn-accent { --bg: var(--accent); --bd: var(--accent); }
.btn-accent:hover { --bg: var(--accent-600); --bd: var(--accent-600); box-shadow: 0 10px 22px rgba(232, 101, 10, .3); }
.btn-navy { --bg: var(--navy); --bd: var(--navy); }
.btn-navy:hover { --bg: var(--navy-900); --bd: var(--navy-900); box-shadow: 0 10px 22px rgba(19, 74, 99, .3); }
.btn-ghost { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn-ghost:hover { --bg: #fff; --fg: var(--navy); --bd: #fff; box-shadow: none; }
.btn-outline { --bg: transparent; --fg: var(--primary); --bd: var(--primary); }
.btn-outline:hover { --bg: var(--primary); --fg: #fff; }
.btn-light { --bg: var(--primary-50); --fg: var(--primary-700); --bd: var(--primary-50); }
.btn-light:hover { --bg: var(--primary); --fg: #fff; --bd: var(--primary); }
.btn-white { --bg: #fff; --fg: var(--navy); --bd: #fff; }
.btn-white:hover { --bg: var(--gold); --fg: var(--navy-950); --bd: var(--gold); box-shadow: none; }
.btn-sm { min-height: 38px; padding: 6px 16px; font-size: .92rem; border-radius: 8px; }
.btn-lg { min-height: 54px; padding: 12px 32px; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; padding-top: 14px; transition: padding .3s var(--ease); }
.header-bar {
  display: flex; align-items: center; gap: 16px; height: var(--header-h);
  padding: 0 14px 0 18px; border-radius: 16px;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 6px 24px rgba(8, 36, 49, .12); border: 1px solid rgba(255,255,255,.6);
  transition: border-radius .3s, box-shadow .3s;
}
.site-header.is-scrolled { padding-top: 0; }
.site-header.is-scrolled .header-bar { border-radius: 0 0 16px 16px; box-shadow: 0 8px 28px rgba(8, 36, 49, .14); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1.28rem; color: var(--navy); font-weight: 700; }
.brand-text small { font-size: .82rem; color: var(--primary); font-weight: 600; letter-spacing: .06em; display: block; text-align: center; margin-top: 2px; }

.main-nav { margin-inline: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav a, .main-nav .nav-drop > button {
  display: flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 8px;
  font-weight: 500; font-size: .98rem; color: var(--ink); background: none; border: 0; white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.main-nav a:hover, .main-nav .nav-drop > button:hover, .main-nav .nav-drop:focus-within > button { color: var(--primary); background: var(--primary-50); }
.main-nav a.active, .main-nav .nav-drop.active > button { color: var(--primary); background: var(--primary-50); font-weight: 600; }
.nav-drop { position: relative; }
.nav-drop > button .icon { width: 14px; height: 14px; transition: transform .2s; }
.nav-drop:hover > button .icon, .nav-drop:focus-within > button .icon { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 250px; padding: 8px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: all .22s var(--ease);
}
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav-drop:hover .dropdown, .nav-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { padding: 9px 12px; font-size: .95rem; }
.dropdown a .icon { color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; color: var(--navy); transition: all .2s;
}
.icon-btn:hover { background: var(--primary-50); color: var(--primary); border-color: var(--primary-100); }
.icon-btn.gold { background: var(--gold-100); border-color: var(--gold-100); color: #8a5a00; }
.icon-btn.gold:hover { background: var(--gold); color: var(--navy-950); }
.nav-toggle { display: none; }

@media (max-width: 1180px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-grid; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .site-header { padding-top: 8px; }
  .site-header .container { padding-inline: 10px; }
  .header-bar { padding: 0 8px 0 10px; gap: 8px; border-radius: 14px; }
  .brand img { width: 42px; height: 42px; }
  .brand-text strong { font-size: 1.08rem; }
  .brand-text small { font-size: .72rem; }
  .header-actions .btn { padding: 6px 12px; min-height: 40px; font-size: .92rem; }
  .header-actions .hide-xs { display: none; }
  .icon-btn { width: 40px; height: 40px; }
}
@media (max-width: 560px) {
  .brand { min-width: 0; flex: 1 1 auto; }
  .brand-text { min-width: 0; }
  .brand-text strong { font-size: .95rem; white-space: nowrap; }
  .brand-text small { font-size: .66rem; letter-spacing: 0; }
  .header-actions { gap: 6px; }
  .header-actions .btn { padding: 6px 10px; font-size: .88rem; }
  .header-actions .btn .icon { width: 1em; height: 1em; }
}
@media (max-width: 400px) {
  .brand img { width: 36px; height: 36px; }
  .brand-text strong { font-size: .86rem; }
}
@media (max-width: 380px) {
  .header-bar { gap: 6px; padding: 0 6px 0 8px; }
  .brand { gap: 6px; }
  .brand-text strong { font-size: .8rem; }
  .brand-text small { font-size: .6rem; }
  .header-actions { gap: 4px; }
  .header-actions .btn { padding: 6px 9px; font-size: .82rem; gap: 5px; }
  .icon-btn { width: 38px; height: 38px; }
}
@media (max-width: 330px) { .brand-text { display: none; } }

/* ---------- Mobile drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(8, 36, 49, .55); opacity: 0; transition: opacity .3s; backdrop-filter: blur(2px); }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; inset: 0 0 0 auto; width: min(360px, 88vw); background: #fff;
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--ease);
  box-shadow: var(--shadow-lg);
}
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.drawer-head .brand img { width: 44px; height: 44px; }
.drawer-nav { flex: 1; overflow-y: auto; padding: 10px 12px; overscroll-behavior: contain; }
.drawer-nav a, .drawer-nav summary {
  display: flex; align-items: center; gap: 12px; padding: 12px 12px; border-radius: 10px;
  font-weight: 500; color: var(--ink); cursor: pointer; list-style: none;
}
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav summary .chev { margin-left: auto; transition: transform .2s; }
.drawer-nav details[open] summary .chev { transform: rotate(180deg); }
.drawer-nav a:hover, .drawer-nav summary:hover, .drawer-nav a.active { background: var(--primary-50); color: var(--primary); }
.drawer-nav .icon { color: var(--primary); }
.drawer-nav details > div { padding-left: 22px; border-left: 2px solid var(--primary-100); margin-left: 22px; }
.drawer-nav details > div a { padding: 9px 12px; font-size: .95rem; }
.drawer-foot { padding: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer-foot .contact-mini { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .95rem; }
body.no-scroll { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 860px); display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate; background: var(--navy-950); }
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero-slide.active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8, 36, 49, .92) 0%, rgba(8, 36, 49, .72) 45%, rgba(8, 36, 49, .25) 100%), linear-gradient(0deg, rgba(8,36,49,.6), transparent 40%);
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--pattern); background-size: 120px; opacity: .07; mask-image: linear-gradient(90deg, #000 0%, transparent 60%); -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 60%); }
.hero-content { padding-top: calc(var(--header-h) + 60px); padding-bottom: 160px; max-width: 720px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); font-size: .92rem; margin-bottom: 20px; }
.hero-badge b { background: var(--accent); color: #fff; border-radius: 999px; padding: 2px 10px; font-weight: 600; font-size: .82rem; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 7vw, 4.6rem); font-weight: 700; margin-bottom: .25em; letter-spacing: -.01em; text-shadow: 0 4px 30px rgba(0,0,0,.25); }
.hero h1 .hl { color: var(--gold); }
.hero p.lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: rgba(255,255,255,.9); max-width: 620px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-dots { position: absolute; right: 24px; bottom: 150px; display: flex; flex-direction: column; gap: 10px; z-index: 2; }
.hero-dots button { width: 12px; height: 12px; border-radius: 999px; border: 2px solid #fff; background: transparent; padding: 0; transition: all .3s; }
.hero-dots button.active { background: var(--gold); border-color: var(--gold); height: 30px; }
@media (max-width: 640px) { .hero-dots { flex-direction: row; right: 50%; transform: translateX(50%); bottom: 120px; } .hero-dots button.active { height: 12px; width: 30px; } .hero-content { padding-bottom: 150px; } }

/* ---------- Quick donate band ---------- */
.quick-donate { position: relative; z-index: 5; margin-top: -110px; }
.quick-donate-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px);
  background: linear-gradient(135deg, #f9bb4c 0%, var(--gold) 50%, #f3a42a 100%); box-shadow: var(--shadow-lg);
}
.quick-donate-card::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 90px; opacity: .22; pointer-events: none; }
.quick-donate-card > * { position: relative; }
.quick-donate-card h2 { text-align: center; color: var(--navy-950); font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 18px; }
.qd-form { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr auto; gap: 14px; align-items: end; }
.qd-form label { display: block; font-weight: 600; color: var(--navy-950); font-size: .95rem; margin-bottom: 6px; }
.qd-form label .req { color: #b4231b; }
.qd-note { text-align: center; margin: 14px 0 0; color: var(--navy-950); font-size: .95rem; }
.qd-note a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .qd-form { grid-template-columns: 1fr 1fr; } .qd-form .btn { grid-column: 1 / -1; } }
@media (max-width: 520px) { .qd-form { grid-template-columns: 1fr; } .quick-donate { margin-top: -90px; } }

/* ---------- Forms ---------- */
.field { position: relative; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 10px; border: 1.5px solid var(--line);
  background: #fff; color: var(--ink); font-size: 1rem; transition: border-color .2s, box-shadow .2s; appearance: none;
}
.textarea { min-height: 130px; resize: vertical; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23134a63' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(14, 143, 134, .15); }
.input.with-prefix { padding-left: 38px; }
.field .prefix { position: absolute; left: 14px; bottom: 12px; font-weight: 700; color: var(--navy); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: .96rem; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-msg { display: none; padding: 12px 16px; border-radius: 10px; background: var(--primary-50); color: var(--primary-700); font-weight: 500; margin-top: 12px; }
.form-msg.show { display: block; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar { text-align: center; padding: 24px clamp(16px, 3vw, 40px); position: relative; }
.pillar + .pillar::before { content: ""; position: absolute; left: 0; top: 15%; bottom: 15%; width: 1px; background: linear-gradient(transparent, var(--line), transparent); }
.pillar-icon { width: 76px; height: 76px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 22px; background: var(--accent-50); color: var(--accent); transition: transform .4s var(--ease), background-color .3s, color .3s; }
.pillar:nth-child(2) .pillar-icon { background: var(--primary-50); color: var(--primary); }
.pillar:nth-child(3) .pillar-icon { background: #e7f0f5; color: var(--navy); }
.pillar-icon .icon { width: 36px; height: 36px; stroke-width: 1.6; }
.pillar:hover .pillar-icon { transform: translateY(-6px) rotate(-6deg); }
.pillar h3 { font-size: 1.6rem; color: var(--navy); }
.pillar p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; gap: 8px; } .pillar + .pillar::before { left: 15%; right: 15%; top: 0; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); } }

/* ---------- Cards ---------- */
.card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-tag { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--primary-700); font-size: .82rem; font-weight: 600; box-shadow: var(--shadow-sm); }
.card-tag.accent { color: var(--accent-600); }
.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card-meta { display: flex; align-items: center; gap: 6px; color: var(--accent); font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.card-title { font-size: 1.25rem; color: var(--navy); margin-bottom: 8px; }
.card-title a:hover { color: var(--primary); }
.card-text { color: var(--muted); font-size: .98rem; margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { margin-top: auto; }
.card-foot .btn { width: 100%; }

/* Fund card */
.fund-card .card-body { text-align: center; }
.fund-card .card-title { font-size: 1.3rem; }
.progress { height: 8px; border-radius: 999px; background: var(--primary-50); overflow: hidden; margin: 4px 0 8px; }
.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--gold)); }

/* ---------- Carousel ---------- */
.carousel { position: relative; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 26px) / 3); gap: 26px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 8px 4px 22px; margin: -8px -4px 0;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
@media (max-width: 1024px) { .carousel-track { grid-auto-columns: calc((100% - 20px) / 2); gap: 20px; } }
@media (max-width: 640px) { .carousel-track { grid-auto-columns: 86%; gap: 16px; } }
.carousel-btn {
  position: absolute; top: 38%; z-index: 3; width: 46px; height: 46px; border-radius: 999px; display: grid; place-items: center;
  background: #fff; color: var(--navy); border: 1px solid var(--line); box-shadow: var(--shadow); transition: all .2s;
}
.carousel-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.carousel-btn[disabled] { opacity: 0; pointer-events: none; }
.carousel-btn.prev { left: -22px; } .carousel-btn.next { right: -22px; }
@media (max-width: 1300px) { .carousel-btn.prev { left: 4px; } .carousel-btn.next { right: 4px; } }
@media (max-width: 640px) { .carousel-btn { display: none; } }

/* ---------- Stats ---------- */
.stats-band { position: relative; background: linear-gradient(120deg, var(--navy-900), var(--navy) 55%, var(--primary-700)); color: #fff; overflow: hidden; }
.stats-band::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 110px; opacity: .06; }
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 10px; }
.stat-icon { width: 62px; height: 62px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 18px; background: rgba(255,255,255,.1); color: var(--gold); }
.stat-icon .icon { width: 30px; height: 30px; }
.stat-num { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; color: #fff; line-height: 1.1; }
.stat-label { color: rgba(255,255,255,.8); font-size: 1rem; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 30px; } }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }
.media-stack { position: relative; padding: 0 0 50px 0; }
.media-stack .main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.2; }
.media-stack .main img { width: 100%; height: 100%; object-fit: cover; }
.media-stack .float { position: absolute; right: -10px; bottom: 0; width: 46%; border-radius: var(--radius); overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-lg); aspect-ratio: 1; }
.media-stack .float img { width: 100%; height: 100%; object-fit: cover; }
.media-stack .badge-year { position: absolute; left: -10px; bottom: 20px; background: var(--accent); color: #fff; border-radius: var(--radius); padding: 14px 20px; box-shadow: var(--shadow-lg); text-align: center; line-height: 1.2; }
.media-stack .badge-year b { display: block; font-size: 2rem; }
@media (max-width: 560px) { .media-stack .float { right: 0; } .media-stack .badge-year { left: 0; } }
.check-list { display: grid; gap: 12px; margin: 18px 0 26px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li .icon { color: #fff; background: var(--primary); border-radius: 999px; padding: 4px; width: 24px; height: 24px; margin-top: 3px; stroke-width: 3; }
.check-list.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .check-list.two { grid-template-columns: 1fr; } }
.prose { color: var(--text); }
.prose p { text-align: left; }
@media (min-width: 768px) { .prose p { text-align: justify; } }
@media (max-width: 480px) { .hero-actions .btn { flex: 1 1 0; padding-inline: 14px; } .hero-badge { font-size: .82rem; } }
.prose h3 { color: var(--navy); margin-top: 1.4em; }
.prose ul { list-style: none; display: grid; gap: 8px; margin-bottom: 1em; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .65em; width: 9px; height: 9px; border-radius: 3px; background: var(--accent); transform: rotate(45deg); }
.prose blockquote { margin: 1.4em 0; padding: 18px 22px; border-left: 4px solid var(--primary); background: var(--primary-50); border-radius: 0 var(--radius) var(--radius) 0; color: var(--navy); font-weight: 500; }

/* ---------- Video ---------- */
.video-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; background: var(--navy-950); }
.video-wrap img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.video-wrap .play { position: absolute; inset: 0; margin: auto; width: 86px; height: 86px; border-radius: 999px; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(232,101,10,.6); animation: pulse 2s infinite; }
.video-wrap .play .icon { width: 32px; height: 32px; margin-left: 4px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(232,101,10,.55); } 70% { box-shadow: 0 0 0 26px rgba(232,101,10,0); } 100% { box-shadow: 0 0 0 0 rgba(232,101,10,0); } }

/* ---------- Get involved tiles ---------- */
.involve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.involve-grid .wide { grid-column: 1 / -1; }
.involve-tile { padding: 10px; border: 2px dashed var(--c, var(--primary)); border-radius: 22px; transition: transform .3s var(--ease); }
.involve-tile:hover { transform: translateY(-4px); }
.involve-tile a {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  min-height: 190px; padding: 26px; border-radius: 16px; background: var(--c, var(--primary)); color: #fff; text-align: center;
}
.involve-tile a::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 90px; opacity: .1; }
.involve-tile a > * { position: relative; }
.involve-tile .icon { width: 54px; height: 54px; stroke-width: 1.3; }
.involve-tile h3 { color: #fff; font-size: 1.45rem; margin: 0; }
.involve-tile p { margin: 0; color: rgba(255,255,255,.88); font-size: .96rem; max-width: 460px; }
.involve-tile.wide a { min-height: 230px; }
.c-teal { --c: var(--primary); } .c-navy { --c: var(--navy); } .c-orange { --c: var(--accent); } .c-gold { --c: #d98f12; } .c-coral { --c: #d9472f; }
@media (max-width: 860px) { .involve-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .involve-grid { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-grid.masonry { grid-auto-rows: 220px; grid-auto-flow: dense; }
.gallery-grid.masonry .tall { grid-row: span 2; }
.gallery-grid.masonry .wide { grid-column: span 2; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .gallery-grid.masonry { grid-auto-rows: 150px; } .gallery-grid.masonry .wide { grid-column: span 2; } }
.g-item { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); aspect-ratio: 4 / 3; cursor: zoom-in; }
.gallery-grid.masonry .g-item { aspect-ratio: auto; height: 100%; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,36,49,.75), transparent 55%); opacity: 0; transition: opacity .3s; }
.g-item .g-cap { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; color: #fff; font-weight: 600; text-align: left; transform: translateY(10px); opacity: 0; transition: all .3s var(--ease); }
.g-item .g-zoom { position: absolute; z-index: 1; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px; border-radius: 999px; background: rgba(255,255,255,.95); color: var(--primary); display: grid; place-items: center; transform: scale(.6); opacity: 0; transition: all .3s var(--ease); }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.08); }
.g-item:hover::after, .g-item:hover .g-cap, .g-item:hover .g-zoom, .g-item:focus-visible::after, .g-item:focus-visible .g-cap { opacity: 1; transform: none; }
.g-item.hide { display: none; }

.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.filter-bar button { padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 500; color: var(--text); transition: all .2s; }
.filter-bar button:hover { border-color: var(--primary); color: var(--primary); }
.filter-bar button.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Lightbox */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(5, 22, 30, .94); color: #fff; }
.lightbox::backdrop { background: rgba(5, 22, 30, .9); }
.lightbox[open] { display: grid; place-items: center; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox figure { margin: 0; max-width: min(1200px, 92vw); text-align: center; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox figcaption { margin-top: 14px; color: rgba(255,255,255,.85); }
.lb-btn { position: fixed; width: 52px; height: 52px; border-radius: 999px; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; transition: background .2s; }
.lb-btn:hover { background: var(--primary); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-count { position: fixed; top: 28px; left: 24px; font-size: .95rem; color: rgba(255,255,255,.75); }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; } .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); } }

/* ---------- Testimonials / stories ---------- */
.story-card { background: #fff; border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); height: 100%; display: flex; flex-direction: column; position: relative; }
.story-card .quote-ic { position: absolute; right: 22px; top: 18px; color: var(--primary-100); width: 54px; height: 54px; }
.story-card p { color: var(--text); flex: 1; position: relative; }
.story-card .who { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px dashed var(--line); }
.story-card .who .av { width: 46px; height: 46px; border-radius: 999px; display: grid; place-items: center; background: var(--accent-50); color: var(--accent); font-weight: 700; font-size: 1.2rem; flex: none; }
.story-card .who b { display: block; color: var(--navy); }
.story-card .who small { color: var(--muted); }

/* ---------- Partners / institutions ---------- */
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.logo-pill { display: flex; align-items: center; gap: 12px; padding: 14px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); font-weight: 600; color: var(--navy); }
.logo-pill .icon { color: var(--primary); width: 28px; height: 28px; }

/* ---------- Newsletter + Footer ---------- */
.newsletter { position: relative; z-index: 2; margin-bottom: -110px; }
.newsletter-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(30px, 5vw, 56px) 24px; text-align: center;
  background: linear-gradient(120deg, var(--primary-600), var(--primary) 60%, #18a99e); color: #fff; box-shadow: var(--shadow-lg);
}
.newsletter-card::before, .newsletter-card::after { content: ""; position: absolute; border-radius: 999px; border: 34px solid rgba(255,255,255,.07); }
.newsletter-card::before { width: 260px; height: 260px; left: -80px; top: -110px; }
.newsletter-card::after { width: 320px; height: 320px; right: -100px; bottom: -170px; }
.newsletter-card h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 2.1rem); margin-bottom: 20px; position: relative; }
.nl-form { position: relative; z-index: 1; display: flex; gap: 8px; max-width: 520px; margin: 0 auto; padding: 6px; background: #fff; border-radius: 12px; }
.nl-form .input { border: 0; min-height: 46px; }
.nl-form .input:focus { box-shadow: none; }
.nl-form .btn { --bg: var(--gold); --bd: var(--gold); --fg: var(--navy-950); }
@media (max-width: 480px) { .nl-form { flex-direction: column; } }

.site-footer { position: relative; background: var(--navy-950); color: rgba(255,255,255,.78); padding-top: 170px; overflow: hidden; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--pattern); background-size: 120px; opacity: .04; }
.footer-skyline { position: absolute; left: 0; right: 0; bottom: 56px; height: 180px; z-index: -1; color: rgba(255,255,255,.035); }
.footer-skyline svg { width: 100%; height: 100%; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 50px; }
.footer-brand img { width: 150px; margin-bottom: 14px; }
.footer-brand p { font-size: .97rem; max-width: 380px; }
.footer-col h4 { color: #fff; font-size: 1.15rem; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--accent); }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a { transition: color .2s, padding .2s; display: inline-flex; align-items: center; gap: 6px; }
.footer-col a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; }
.footer-contact .icon { color: var(--gold); margin-top: 4px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: all .2s; }
.socials a:hover { background: var(--accent); transform: translateY(-3px); }
.socials .icon { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .93rem; }
.footer-bottom .container { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px 20px; }
.footer-bottom .fb-links { text-align: center; }
.footer-bottom .fb-credit { text-align: right; }
.footer-bottom .fb-credit a { color: var(--gold); font-weight: 600; }
.footer-bottom a:hover { color: var(--gold); }
@media (max-width: 900px) { .footer-bottom { padding-bottom: 84px; } .footer-bottom .container { grid-template-columns: 1fr; justify-items: center; text-align: center; } .footer-bottom .fb-credit { text-align: center; } }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } .footer-bottom .container { justify-content: center; text-align: center; } }

/* ---------- Floating buttons ---------- */
.fab-stack { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.fab { width: 54px; height: 54px; border-radius: 999px; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-lg); border: 0; transition: transform .2s, opacity .3s; }
.fab:hover { transform: scale(1.08); }
.fab .icon { width: 26px; height: 26px; }
.fab-wa { background: #25d366; }
.fab-top { background: var(--navy); opacity: 0; pointer-events: none; }
.fab-top.show { opacity: 1; pointer-events: auto; }
@media (max-width: 560px) { .fab { width: 48px; height: 48px; } .fab-stack { right: 12px; bottom: 12px; } }

/* ---------- Page banner (inner pages) ---------- */
.page-banner { position: relative; padding: calc(var(--header-h) + 80px) 0 70px; color: #fff; text-align: center; overflow: hidden; isolation: isolate; background: var(--navy-950); }
.page-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,36,49,.82), rgba(8,36,49,.7) 60%, rgba(9,98,92,.78)); }
.page-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--pattern); background-size: 110px; opacity: .06; }
.page-banner h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: .2em; }
.page-banner p { max-width: 720px; margin: 0 auto 14px; color: rgba(255,255,255,.88); }
.breadcrumb { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 6px 16px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: .93rem; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span[aria-current] { color: var(--gold); }

/* ---------- Activity detail ---------- */
.act-hero { position: relative; padding: calc(var(--header-h) + 70px) 0 70px; color: #fff; overflow: hidden; isolation: isolate; background: var(--navy-950); }
.act-hero > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: blur(2px); transform: scale(1.05); }
.act-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,36,49,.94), rgba(8,36,49,.78) 55%, rgba(8,36,49,.5)); }
.act-hero .split { align-items: center; }
.act-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); }
.act-hero p { color: rgba(255,255,255,.88); font-size: 1.08rem; }
.act-hero .tag { display: inline-flex; gap: 6px; align-items: center; background: var(--accent); color: #fff; border-radius: 999px; padding: 4px 14px; font-size: .88rem; font-weight: 600; margin-bottom: 14px; }
.orbit { position: relative; aspect-ratio: 1; max-width: 480px; margin-left: auto; width: 100%; }
.orbit .big { position: absolute; inset: 8% 0 0 14%; border-radius: 999px; overflow: hidden; border: 6px dashed rgba(255,255,255,.45); padding: 8px; }
.orbit .big img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px; }
.orbit .sm { position: absolute; width: 34%; aspect-ratio: 1; border-radius: 999px; overflow: hidden; border: 5px solid #fff; box-shadow: var(--shadow-lg); }
.orbit .sm img { width: 100%; height: 100%; object-fit: cover; }
.orbit .s1 { left: 0; top: 40%; } .orbit .s2 { right: 4%; top: -2%; width: 26%; } .orbit .s3 { right: 10%; bottom: -2%; width: 24%; }
@media (max-width: 900px) { .orbit { max-width: 380px; margin: 10px auto 0; } }

.detail-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 44px); align-items: start; }
@media (max-width: 980px) { .detail-layout { grid-template-columns: 1fr; } }
.side-stack { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 30px); }
@media (max-width: 980px) { .side-stack { position: static; } }
.info-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.info-box h4 { font-size: 1.08rem; color: var(--navy); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.info-box h4 .icon { color: var(--accent); }
.info-box ul { display: grid; gap: 8px; }
.info-box li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; }
.info-box li .icon { color: var(--primary); margin-top: 4px; width: 18px; height: 18px; }
.detail-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 24px; aspect-ratio: 16 / 9; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.mini-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
@media (max-width: 520px) { .mini-gallery { grid-template-columns: repeat(2, 1fr); } }

.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); background: linear-gradient(120deg, var(--primary-700), var(--primary)); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 100px; opacity: .08; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 4px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.88); }
.cta-band.orange { background: linear-gradient(120deg, var(--accent-600), var(--accent) 60%, #f5862f); }

/* ---------- Donate page ---------- */
.donate-box { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.donate-box .db-head { background: linear-gradient(120deg, var(--primary-700), var(--primary)); color: #fff; padding: 22px 24px; }
.donate-box .db-head h3 { color: #fff; margin-bottom: 4px; }
.donate-box .db-head p { margin: 0; color: rgba(255,255,255,.88); font-size: .96rem; }
.donate-box .db-body { padding: 22px 24px 26px; display: grid; gap: 16px; }
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amount-grid button { min-height: 46px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; color: var(--navy); transition: all .2s; }
.amount-grid button:hover { border-color: var(--primary); color: var(--primary); }
.amount-grid button.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.pay-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.pay-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; overflow: hidden; }
.pay-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pay-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--c, var(--primary)); }
.pay-card .pc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pay-card .pc-logo { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--c, var(--primary)); font-weight: 700; font-size: .85rem; flex: none; }
.pay-card .pc-logo .icon { width: 26px; height: 26px; }
.pay-card h3 { margin: 0; font-size: 1.2rem; }
.pay-card h3 small { display: block; font-size: .85rem; color: var(--muted); font-weight: 500; }
.pay-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px dashed var(--line); font-size: .97rem; }
.pay-row span { color: var(--muted); }
.pay-row b { color: var(--ink); font-weight: 600; text-align: right; word-break: break-word; }
.copy-btn { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--primary-100); background: var(--primary-50); color: var(--primary-700); font-size: .85rem; font-weight: 600; flex: none; }
.copy-btn:hover { background: var(--primary); color: #fff; }
.copy-btn.copied { background: var(--accent); border-color: var(--accent); color: #fff; }
.c-bkash { --c: #e2136e; } .c-nagad { --c: #ec1c24; } .c-rocket { --c: #8c3494; } .c-bank { --c: var(--navy); }

/* ---------- Tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 30px; }
.tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; color: var(--text); transition: all .2s; }
.tabs button .icon { color: var(--primary); }
.tabs button:hover { border-color: var(--primary); }
.tabs button[aria-selected="true"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.tabs button[aria-selected="true"] .icon { color: #fff; }
.tab-panel[hidden] { display: none; }
.panel-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: clamp(22px, 4vw, 40px); }

/* ---------- Team ---------- */
.team-card { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 18px; transition: transform .3s var(--ease), box-shadow .3s; height: 100%; }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.team-card .av { width: 96px; height: 96px; margin: 0 auto 14px; border-radius: 999px; display: grid; place-items: center; font-size: 2rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--primary), var(--navy)); border: 4px solid var(--primary-50); overflow: hidden; }
.team-card .av img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1.15rem; margin-bottom: 2px; color: var(--navy); }
.team-card p { margin: 0; color: var(--accent); font-weight: 500; font-size: .95rem; }

/* Message card */
.message-card { display: grid; grid-template-columns: 280px 1fr; gap: 34px; align-items: start; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 40px); position: relative; overflow: hidden; }
.message-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 999px; background: var(--primary-50); z-index: 0; }
.message-card > * { position: relative; z-index: 1; }
.message-card .photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--bg-soft); box-shadow: var(--shadow); }
.message-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.message-card .sign { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); }
.message-card .sign b { display: block; color: var(--navy); font-size: 1.15rem; }
.message-card .sign small { color: var(--accent); font-weight: 600; }
@media (max-width: 760px) { .message-card { grid-template-columns: 1fr; } .message-card .photo { max-width: 260px; margin: 0 auto; } }

/* Values list */
.value-list { display: grid; gap: 14px; }
.value-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.value-item .num { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--primary); color: #fff; font-weight: 700; }
.value-item:nth-child(3n+2) .num { background: var(--accent); }
.value-item:nth-child(3n+3) .num { background: var(--navy); }
.value-item p { margin: 0; }

/* Feature icon boxes */
.feature { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); height: 100%; transition: all .3s var(--ease); position: relative; overflow: hidden; }
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.feature .f-icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); margin-bottom: 16px; }
.feature .f-icon .icon { width: 30px; height: 30px; }
.feature h3 { font-size: 1.25rem; color: var(--navy); }
.feature p { margin: 0; color: var(--muted); }
.feature.orange .f-icon { background: var(--accent-50); color: var(--accent); }
.feature.navy .f-icon { background: #e7f0f5; color: var(--navy); }

/* Doc / certificate cards */
.doc-card { text-align: center; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.doc-card .doc-img { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); margin-bottom: 14px; }
.doc-card .doc-img img { width: 100%; height: 100%; object-fit: cover; }
.doc-card h3 { font-size: 1.15rem; color: var(--navy); }

/* Notice list */
.notice-item { display: grid; grid-template-columns: 90px 1fr auto; gap: 20px; align-items: center; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: all .25s; }
.notice-item + .notice-item { margin-top: 14px; }
.notice-item:hover { border-color: var(--primary-100); box-shadow: var(--shadow); }
.notice-date { text-align: center; background: var(--primary-50); border-radius: 12px; padding: 8px 6px; color: var(--primary-700); line-height: 1.15; }
.notice-date b { display: block; font-size: 1.6rem; }
.notice-date small { font-size: .85rem; }
.notice-item h3 { font-size: 1.12rem; margin-bottom: 4px; color: var(--navy); }
.notice-item p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 640px) { .notice-item { grid-template-columns: 70px 1fr; } .notice-item .btn { grid-column: 1 / -1; } }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.contact-card .ic { width: 54px; height: 54px; border-radius: 16px; flex: none; display: grid; place-items: center; background: var(--primary); color: #fff; }
.contact-card:nth-child(2) .ic { background: var(--accent); }
.contact-card:nth-child(3) .ic { background: var(--navy); }
.contact-card h3 { font-size: 1.12rem; margin-bottom: 4px; }
.contact-card p, .contact-card a { margin: 0; color: var(--text); word-break: break-word; }
.contact-card a:hover { color: var(--primary); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 380px; height: 100%; background: var(--bg-soft); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

/* Timeline */
.timeline { position: relative; display: grid; gap: 26px; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--primary), var(--accent)); }
.tl-item { position: relative; }
.tl-item::before { content: ""; position: absolute; left: -28px; top: 6px; width: 16px; height: 16px; border-radius: 999px; background: #fff; border: 4px solid var(--primary); }
.tl-item h4 { color: var(--navy); margin-bottom: 4px; }
.tl-item .when { color: var(--accent); font-weight: 600; font-size: .92rem; }
.tl-item p { margin: 0; color: var(--muted); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; } .reveal[data-delay="2"] { transition-delay: .2s; } .reveal[data-delay="3"] { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, 120%); background: var(--navy-950); color: #fff; padding: 12px 20px; border-radius: 12px; box-shadow: var(--shadow-lg); transition: transform .35s var(--ease); max-width: calc(100vw - 32px); }
.toast.show { transform: translate(-50%, 0); }

/* 404 */
.error-page { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 60px) 20px 80px; }
.error-page .code { font-size: clamp(6rem, 20vw, 11rem); font-weight: 700; line-height: 1; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Header login menu ---------- */
.login-drop { position: relative; }
.login-btn { min-height: 44px; padding: 8px 14px; gap: 6px; }
.login-btn .icon:last-child { width: 14px; height: 14px; transition: transform .2s; }
.login-drop:hover .login-btn .icon:last-child, .login-drop:focus-within .login-btn .icon:last-child { transform: rotate(180deg); }
.login-menu { left: auto; right: 0; transform: translate(0, 8px); min-width: 280px; }
.login-drop:hover .login-menu, .login-drop:focus-within .login-menu { opacity: 1; visibility: visible; transform: translate(0, 0); }
.login-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink); }
.login-menu a:hover { background: var(--primary-50); }
.login-menu a b { display: block; font-weight: 600; line-height: 1.2; }
.login-menu a small { color: var(--muted); font-size: .82rem; }
.login-menu .lm-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; color: #fff; }
.lm-ic.navy { background: var(--navy); } .lm-ic.teal { background: var(--primary); } .lm-ic.orange { background: var(--accent); }
.login-menu .lm-ic .icon { color: #fff; width: 20px; height: 20px; }
.login-menu .lm-sep { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.login-menu .lm-sep .icon { width: 38px; color: var(--accent); }
@media (max-width: 1320px) and (min-width: 1181px) { .login-btn span { display: none; } }

/* ---------- Share bar ---------- */
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 0; }
.share-label { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy); margin-right: 4px; }
.share-label .icon { color: var(--accent); }
.sh { width: 42px; height: 42px; border-radius: 12px; display: inline-grid; place-items: center; border: 0; color: #fff; transition: transform .2s var(--ease), box-shadow .2s, filter .2s; }
.sh .icon { width: 19px; height: 19px; }
.sh:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0,0,0,.18); filter: brightness(1.06); }
.sh-fb { background: #1877f2; } .sh-in { background: #0a66c2; } .sh-wa { background: #25d366; } .sh-native { background: var(--accent); }
.share-bar.on-dark { margin-top: 18px; }
.share-bar.on-dark .share-label { color: #fff; }
.share-bar.on-dark .share-label .icon { color: var(--gold); }
.share-bar.on-dark .sh { width: 38px; height: 38px; border-radius: 10px; }
.share-center { text-align: center; margin-top: 34px; }
.share-center .share-bar { justify-content: center; margin: 0 0 10px; }
.share-center p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Sitemap page */
.sitemap-list { display: grid; gap: 4px; margin-top: 6px; }
.sitemap-list a { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 8px; color: var(--ink); font-weight: 500; }
.sitemap-list a:hover { background: var(--primary-50); color: var(--primary-700); }
.sitemap-list .icon { width: 14px; height: 14px; color: var(--accent); }
.muted { color: var(--muted); }

/* Print */
@media print { .site-header, .site-footer, .fab-stack, .newsletter, .quick-donate { display: none !important; } .page-banner { padding: 20px 0; } }
