/* =============================================
   RBWT — RAJ Bhanwar Welfare Trust
   Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800;900&display=swap');

:root {
  --crimson:    #D32F2F;
  --crimson-dk: #9A0007;
  --crimson-lt: #ffebee;
  --green:      #2E7D32;
  --green-dk:   #1B5E20;
  --green-lt:   #e8f5e9;
  --dark:       #1C1C2E;
  --dark-lt:    #2D1B2E;
  --text:       #1a1a1a;
  --text-muted: #616161;
  --border:     #e4e4e4;
  --bg-alt:     #f9f9fb;
  --white:      #fff;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 2px 20px rgba(0,0,0,0.07);
  --shadow-md:  0 4px 32px rgba(0,0,0,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.75;
  background: var(--white);
  overflow-x: hidden;
}

a { color: var(--crimson); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--crimson); outline-offset: 3px; border-radius: 4px; }

img { max-width: 100%; display: block; }

/* ---- LAYOUT ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section     { padding: 5.5rem 0; }
.section-alt { background: var(--bg-alt); }

/* ---- TYPOGRAPHY ---- */
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 900; line-height: 1.12; color: var(--dark); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; color: var(--dark); margin-bottom: 1.5rem; letter-spacing: -.01em; }
h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: .45rem; }

h1 em { font-style: normal; color: var(--crimson); }

.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: .5rem;
}
.section-label.light { color: rgba(255,255,255,.65); }

.section-header { margin-bottom: .5rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---- ANIMATE-IN ---- */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
  transition-delay: var(--delay, 0s);
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .8rem 1.9rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  font-family: inherit;
  transition: background .2s, color .2s, transform .15s, box-shadow .2s;
  cursor: pointer;
  text-decoration: none !important;
  border: none;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--crimson);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(211,47,47,.35);
}
.btn-primary:hover { background: var(--crimson-dk); box-shadow: 0 6px 24px rgba(211,47,47,.45); }

.btn-hero-outline {
  border: 2px solid rgba(255,255,255,.55);
  color: var(--white);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(4px);
}
.btn-hero-outline:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.8); }

.btn-white {
  background: var(--white);
  color: var(--crimson);
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.btn-white:hover { background: var(--crimson-lt); }

.btn-outline-white {
  border: 2px solid rgba(255,255,255,.7);
  color: var(--white);
  background: transparent;
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); }

.btn-nav {
  background: var(--crimson);
  color: var(--white) !important;
  padding: .45rem 1.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .88rem;
  font-family: inherit;
  transition: background .2s;
}
.btn-nav:hover { background: var(--crimson-dk); text-decoration: none !important; }

/* ---- HEADER / NAV ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  transition: box-shadow .2s;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none !important;
}
.logo-img  { height: 42px; width: auto; display: block; }
.logo-name { font-size: .92rem; font-weight: 700; color: var(--dark); }

.nav-links {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  align-items: center;
}
.nav-link {
  color: var(--text);
  font-size: .88rem;
  font-weight: 600;
  position: relative;
  transition: color .2s;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--crimson);
  border-radius: 2px;
  transition: width .25s ease;
}
.nav-link:hover,
.nav-link.active { color: var(--crimson); text-decoration: none; }
.nav-link.active::after,
.nav-link:hover::after { width: 100%; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  color: var(--dark);
}
.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.hamburger { position: relative; }
.hamburger::before,
.hamburger::after { content: ''; position: absolute; left: 0; }
.hamburger::before { top: -7px; }
.hamburger::after  { top:  7px; }

.menu-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.menu-toggle[aria-expanded="true"] .hamburger::before { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle[aria-expanded="true"] .hamburger::after  { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- HERO ---- */
.hero {
  --hero-bg: linear-gradient(135deg, #1C1C2E 0%, #3B0000 100%);
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center 50%;
  background-repeat: no-repeat;
  color: var(--white);
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 7rem;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28,28,46,.80) 0%, rgba(59,0,0,.65) 100%);
  z-index: 0;
}

/* decorative shapes */
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: .07;
}
.shape-1 {
  width: 500px; height: 500px;
  background: var(--crimson);
  right: -120px; top: -100px;
}
.shape-2 {
  width: 300px; height: 300px;
  background: var(--green);
  right: 180px; bottom: -80px;
}
.shape-3 {
  width: 180px; height: 180px;
  background: var(--white);
  left: 10%; top: 30%;
}

.hero-inner { position: relative; z-index: 1; max-width: 720px; }
.hero-tagline {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.hero-tagline::before {
  content: '';
  display: inline-block;
  width: 32px; height: 2px;
  background: var(--crimson);
  border-radius: 2px;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.hero-sub { font-size: 1.15rem; opacity: .88; margin-bottom: 2.5rem; font-weight: 400; line-height: 1.6; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* India flag strip at hero bottom */
.hero-flag-strip {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  height: 5px;
}
.flag-saffron { flex: 1; background: #FF9933; }
.flag-white   { flex: 1; background: var(--white); }
.flag-green   { flex: 1; background: var(--green); }

/* scroll-down indicator */
.scroll-down {
  position: absolute;
  bottom: 1.8rem;
  right: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: rgba(255,255,255,.6);
  animation: bob 2s ease-in-out infinite;
  transition: border-color .2s, color .2s;
}
.scroll-down:hover { border-color: rgba(255,255,255,.8); color: var(--white); text-decoration: none; }
.scroll-arrow {
  display: block;
  width: 8px; height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* ---- STATS STRIP ---- */
.stats-strip {
  background: linear-gradient(90deg, var(--crimson) 0%, #B71C1C 100%);
  padding: 2.5rem 0 2.25rem;
  margin-top: -1px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.stat {
  text-align: center;
  padding: .5rem 1rem;
  position: relative;
}
.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,.25);
}
.stat-number { display: block; font-size: 2.1rem; font-weight: 900; color: var(--white); line-height: 1; }
.stat-label  { font-size: .78rem; color: rgba(255,255,255,.88); font-weight: 600; margin-top: .3rem; display: block; }

/* ---- TWO-COL ---- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }

.check-list { list-style: none; margin-top: 1rem; }
.check-list li { padding: .35rem 0 .35rem 1.75rem; position: relative; }
.check-list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--green);
  font-weight: 800;
  font-size: .95rem;
}

/* ---- INFO CARD ---- */
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.85rem;
  box-shadow: var(--shadow-md);
}
.info-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.info-table td { padding: .55rem .4rem; vertical-align: top; border-bottom: 1px solid #f2f2f2; }
.info-table td:first-child { color: var(--text-muted); width: 44%; padding-right: 1rem; }
.info-table tr:last-child td { border-bottom: none; }

.card-quote {
  margin-top: 1.2rem;
  padding: .75rem 1rem;
  background: var(--crimson-lt);
  border-left: 3px solid var(--crimson);
  border-radius: 0 8px 8px 0;
  font-size: .88rem;
  font-weight: 600;
  color: var(--crimson-dk);
  font-style: italic;
}

.card-divider { border: none; border-top: 1px solid var(--border); margin: 1rem 0; }

/* ---- MISSION GRID ---- */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.mission-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.9rem 1.75rem;
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 4px solid var(--accent, var(--crimson));
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}
.mission-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.mission-icon { font-size: 2.4rem; margin-bottom: .85rem; display: block; }

/* ---- PROGRAMS ---- */
.program-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.85rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--crimson);
  transition: box-shadow .2s, transform .2s;
}
.program-block:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.program-block[data-category="education"] { border-left-color: var(--green); }
.program-block[data-category="food"]      { border-left-color: var(--crimson); }
.program-block[data-category="animal"]    { border-left-color: #0288d1; }
.program-block[data-category="relief"]    { border-left-color: #9c27b0; }

.program-header { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; flex-wrap: wrap; }
.program-badge {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--crimson);
  color: var(--white);
  padding: .22rem .7rem;
  border-radius: 50px;
}
.program-block[data-category="education"] .program-badge { background: var(--green); }
.program-block[data-category="animal"]    .program-badge { background: #0288d1; }
.program-block[data-category="relief"]    .program-badge { background: #9c27b0; }
.program-header h3 { margin: 0; }

.school-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.school-item {
  background: var(--green-lt);
  border-radius: 8px;
  padding: 1rem 1.1rem;
  font-size: .87rem;
  border: 1px solid #c8e6c9;
  transition: background .2s;
}
.school-item:hover { background: #d4edda; }

/* ---- IMPACT PARALLAX SECTION ---- */
.impact-parallax {
  --impact-bg: linear-gradient(135deg, #1C1C2E 0%, #3B0000 100%);
  background-image: var(--impact-bg);
  background-size: cover;
  background-position: center 50%;
  background-repeat: no-repeat;
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.impact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,10,10,.68);
  z-index: 0;
}
.impact-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}
.impact-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 1rem;
}
.impact-quote {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.impact-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

/* ---- QUOTE BANNER ---- */
.quote-banner {
  background: var(--dark);
  padding: 2.5rem 0;
  text-align: center;
}
.quote-banner blockquote {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: .02em;
  line-height: 1.4;
}
.quote-mark {
  color: var(--crimson);
  font-size: 1.8em;
  line-height: 0;
  vertical-align: -0.3em;
  font-family: Georgia, serif;
}

/* ---- TIMELINE ---- */
.timeline { margin-top: 2rem; border-left: 3px solid var(--crimson); padding-left: 1.75rem; }
.timeline-item {
  position: relative;
  margin-bottom: 1.6rem;
  padding: .85rem 1.1rem;
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.timeline-item:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.42rem;
  top: 1.1rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--crimson);
  border: 3px solid var(--bg-alt);
  box-shadow: 0 0 0 2px var(--crimson);
}
.timeline-date { font-size: .78rem; font-weight: 700; color: var(--crimson); display: block; margin-bottom: .25rem; }
.timeline-item p { margin: 0; font-size: .9rem; }

.tag {
  display: inline-block;
  background: var(--crimson-lt);
  color: var(--crimson-dk);
  font-size: .75rem;
  font-weight: 700;
  padding: .1rem .5rem;
  border-radius: 50px;
  margin-left: .4rem;
}

/* ---- TEAM ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--crimson);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.team-role { color: var(--crimson); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem; display: block; }
.team-badge {
  display: inline-block;
  margin-top: 1rem;
  background: var(--crimson-lt);
  color: var(--crimson-dk);
  font-size: .8rem;
  font-weight: 700;
  padding: .3rem .85rem;
  border-radius: 50px;
}

.ironman-note {
  margin-top: 1.75rem;
  padding: 1.1rem 1.4rem;
  background: var(--crimson-lt);
  border-left: 4px solid var(--crimson);
  border-radius: 0 10px 10px 0;
  font-size: .9rem;
  color: var(--text-muted);
}

/* ---- DONATE ---- */
.section-donate {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dk) 100%);
  color: var(--white);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.donate-shapes { position: absolute; inset: 0; pointer-events: none; }
.d-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.d-shape-1 { width: 400px; height: 400px; right: -80px; top: -100px; }
.d-shape-2 { width: 250px; height: 250px; left: -50px; bottom: -80px; }

.donate-inner { position: relative; }
.section-donate h2 { color: var(--white); }
.section-donate p { opacity: .92; max-width: 580px; margin: 0 auto 2.25rem; }
.donate-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- CONTACT ---- */
.contact-list { list-style: none; margin-top: .75rem; }
.contact-list li { display: flex; gap: .75rem; margin-bottom: 1rem; align-items: flex-start; }
.contact-icon { font-size: 1.1rem; margin-top: .15rem; flex-shrink: 0; }
.plain-list { list-style: none; }
.plain-list li { padding: .28rem 0; font-size: .88rem; color: var(--text-muted); border-bottom: 1px solid #f2f2f2; }
.plain-list li:last-child { border-bottom: none; }

/* ---- UPDATES / POSTS GRID ---- */
.updates-sub { color: var(--text-muted); margin-top: -.5rem; margin-bottom: 2rem; }

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

.post-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .45s ease, transform .45s ease, box-shadow .25s ease;
}
.post-card.visible { opacity: 1; transform: translateY(0); }
.post-card:hover   { box-shadow: var(--shadow-md); transform: translateY(-5px); }
.post-card:focus-visible { outline: 2px solid var(--crimson); outline-offset: 3px; }

.post-cover-wrap {
  position: relative;
  aspect-ratio: 4/3;
  background: #f0ece6;
  overflow: hidden;
}
.post-cover {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.post-card:hover .post-cover { transform: scale(1.04); }

.post-date-badge {
  position: absolute;
  bottom: .6rem; left: .6rem;
  background: rgba(26,35,64,.75);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .6rem;
  border-radius: 50px;
  backdrop-filter: blur(4px);
}
.post-count {
  position: absolute;
  top: .6rem; right: .6rem;
  background: rgba(0,0,0,.5);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 50px;
  backdrop-filter: blur(4px);
}
.post-snip {
  font-size: .84rem;
  color: var(--text-muted);
  padding: .85rem 1rem;
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.posts-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 3rem 0;
}

.updates-footer {
  text-align: center;
  margin-top: 2.5rem;
}

/* ---- SKELETON LOADERS ---- */
.skeleton-card { cursor: default; pointer-events: none; }
.skeleton-img  { aspect-ratio: 4/3; background: #e8e4de; }
.skeleton-line {
  height: 12px;
  background: #e8e4de;
  border-radius: 6px;
  margin: .85rem 1rem .5rem;
}
.skeleton-line.short { width: 55%; }
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position:  400px 0; }
}
.skeleton-img,
.skeleton-line {
  background-image: linear-gradient(90deg, #e8e4de 25%, #f0ece6 50%, #e8e4de 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite linear;
}

/* ---- LIGHTBOX ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10,10,20,.93);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: 1rem;
}
.lightbox.open { display: flex; }

.lb-stage {
  position: relative;
  max-width: min(90vw, 900px);
  max-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-stage img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  box-shadow: 0 8px 40px rgba(0,0,0,.6);
}

.lb-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgba(255,255,255,.12);
  border: none;
  color: var(--white);
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lb-close:hover { background: rgba(255,255,255,.25); }

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: none;
  color: var(--white);
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  z-index: 201;
}
.lb-nav:hover:not(:disabled) { background: rgba(255,255,255,.25); }
.lb-nav:disabled { opacity: .25; cursor: default; }
.lb-prev { left: .5rem; }
.lb-next { right: .5rem; }

.lb-info {
  text-align: center;
  max-width: min(90vw, 700px);
}
.lb-counter {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  font-weight: 600;
  display: block;
  margin-bottom: .3rem;
}
.lb-info h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: .3rem;
}
.lb-info p {
  font-size: .84rem;
  color: rgba(255,255,255,.7);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- SOCIAL BUTTONS ---- */
.social-links { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.social-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--crimson-lt); color: var(--crimson);
  transition: background .2s, color .2s, transform .15s;
  text-decoration: none !important;
}
.social-btn:hover { background: var(--crimson); color: var(--white); transform: translateY(-2px); }
.social-btn-footer { background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); }
.social-btn-footer:hover { background: var(--crimson); color: var(--white); }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.6);
  padding: 3.5rem 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo-mark {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--crimson);
  background: rgba(211,47,47,.12);
  padding: .2rem .6rem;
  border-radius: 7px;
  margin-bottom: .75rem;
}
.footer-tagline { font-size: .88rem; margin-bottom: .65rem; color: rgba(255,255,255,.75); }
.footer-reg     { font-size: .78rem; line-height: 1.6; }

.footer-col h4 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: .9rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul a {
  color: rgba(255,255,255,.65);
  font-size: .88rem;
  transition: color .2s;
}
.footer-col ul a:hover { color: var(--white); text-decoration: none; }

.footer-bottom {
  padding: 1.2rem 0;
  text-align: center;
  font-size: .76rem;
}

/* ---- BACK TO TOP ---- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--crimson);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(211,47,47,.4);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .25s, transform .25s, background .2s;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { background: var(--crimson-dk); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .two-col        { grid-template-columns: 1fr; gap: 2rem; }
  .stats-grid     { grid-template-columns: repeat(2, 1fr); }
  .menu-toggle    { display: flex; }
  .site-header    { position: sticky; }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 6px 24px rgba(0,0,0,.1);
    animation: slideDown .2s ease;
  }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a   { display: block; padding: .9rem 1.5rem; border-bottom: 1px solid var(--border); }
  .nav-link::after { display: none; }

  .logo-name { display: none; }
  .logo-img  { height: 36px; }
  .hero { padding: 5rem 0 5rem; min-height: 85vh; clip-path: none; background-attachment: scroll !important; }
  .impact-parallax { min-height: 50vh; background-attachment: scroll !important; }
  .scroll-down { display: none; }
}

@media (max-width: 480px) {
  .posts-grid   { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .donate-actions { flex-direction: column; align-items: center; }
  .back-to-top { bottom: 1.25rem; right: 1.25rem; }
  .footer-inner { grid-template-columns: 1fr; }
}
