/* ============================================================
   L.I.N.K. Empowerment Ministry – Main Stylesheet
   Self-contained: no external CDN dependencies
   Colors: Navy #144579 | Red #de2a2f | Light Blue #90c8f0
   ============================================================ */

/* Fonts – loaded via preconnect in each HTML page; system fonts used as fallback */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Poppins', 'Roboto', Arial, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { opacity: .85; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-pad { padding: 80px 0; }
.bg-light  { background: #f6f8fc; }
.bg-dark   { background: #0d1e3a; }
.text-center { text-align: center; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3 { line-height: 1.25; font-weight: 700; }

.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: #de2a2f; margin-bottom: .5rem;
}
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); color: #144579; margin-bottom: 1rem; }
.section-subtitle { font-size: 1.05rem; color: #555; margin-bottom: 2.5rem; }
.highlight-text { color: #144579; font-size: 1.1rem; font-weight: 500; max-width: 780px; margin: 0 auto; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block; padding: .75rem 1.8rem; border-radius: 4px;
  font-size: .95rem; font-weight: 600; cursor: pointer;
  transition: all .25s ease; border: 2px solid transparent; text-align: center;
}
.btn-primary { background: #de2a2f; color: #fff; border-color: #de2a2f; }
.btn-primary:hover { background: #b81f24; border-color: #b81f24; opacity: 1; }
.btn-outline { background: transparent; color: #144579; border-color: #144579; }
.btn-outline:hover { background: #144579; color: #fff; opacity: 1; }
.btn-outline-small {
  display: inline-block; padding: .45rem 1.2rem; border-radius: 4px; font-size: .85rem;
  font-weight: 600; background: transparent; color: #144579; border: 2px solid #144579; transition: all .25s;
}
.btn-outline-small:hover { background: #144579; color: #fff; opacity: 1; }
.btn-white { background: #fff; color: #144579; border-color: #fff; margin-top: 1rem; }
.btn-white:hover { background: transparent; color: #fff; opacity: 1; }
.btn-zeffy {
  background: #144579; color: #fff !important; border-color: #144579;
  display: inline-flex; align-items: center; gap: .5rem;
}
.btn-zeffy:hover { background: #0f3460; border-color: #0f3460; opacity: 1; }

/* ── Inline SVG icon utilities ────────────────────────────── */
/* .btn-ico  – icons inside buttons */
.btn-ico {
  display: inline-block; width: .95em; height: .95em;
  fill: currentColor; vertical-align: middle; flex-shrink: 0;
  position: relative; top: -1px;
}
/* .btn-ico inside .btn-white / .btn-outline should inherit the text colour */
.btn-white .btn-ico, .btn-outline .btn-ico { fill: currentColor; }
/* Social icon links */
.social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
}
/* Testimonial avatar placeholder – swap emoji div for SVG */
.testimonial-avatar-placeholder {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: #e8f0fb; flex-shrink: 0;
}
/* Resource category icon circle */
.resource-cat-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.6rem; height: 2.6rem; border-radius: 50%; flex-shrink: 0;
}

/* ── Reveal Animation ─────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   HEADER
   ============================================================ */
#site-header { position: sticky; top: 0; z-index: 1000; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.1); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem 1.5rem; max-width: 1280px; margin: 0 auto;
}
.logo-link img { height: 52px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: .1rem; }
.nav-menu > li > a {
  display: block; padding: .5rem .7rem; font-size: .82rem; font-weight: 600;
  color: #222; border-radius: 4px; transition: color .2s, background .2s; white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active { color: #de2a2f; background: #fef0f0; }
.has-dropdown { position: relative; }
.dropdown {
  display: none; position: absolute; top: 110%; left: 0; background: #fff;
  min-width: 220px; border-radius: 6px; box-shadow: 0 8px 30px rgba(0,0,0,.15);
  padding: .5rem 0; z-index: 999;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a { display: block; padding: .6rem 1.2rem; font-size: .83rem; font-weight: 500; color: #333; }
.dropdown li a:hover { color: #144579; background: #f0f5ff; }

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: .3rem; }
.burger span { display: block; width: 26px; height: 3px; background: #144579; border-radius: 2px; transition: all .3s; }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   HERO SLIDER (Vanilla JS — no Swiper dependency)
   ============================================================ */
#hero { position: relative; height: 100vh; min-height: 500px; max-height: 800px; overflow: hidden; }

.hero-track { display: flex; height: 100%; transition: transform .7s ease; }

.hero-slide {
  min-width: 100%; height: 100%; background-size: cover; background-position: center; position: relative; flex-shrink: 0;
}
.slide-1 { background-image: url('https://images.pexels.com/photos/6646918/pexels-photo-6646918.jpeg?auto=compress&cs=tinysrgb&w=1400'); }
.slide-2 { background-image: url('https://images.pexels.com/photos/6646917/pexels-photo-6646917.jpeg?auto=compress&cs=tinysrgb&w=1400'); }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(20,69,121,.82) 0%, rgba(13,30,58,.6) 100%);
}
.hero-content {
  position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  padding: 2rem clamp(1.5rem, 8vw, 10rem); max-width: 800px; color: #fff;
}
.hero-content h1 { font-size: clamp(1.8rem, 4.5vw, 3.2rem); margin-bottom: 1rem; line-height: 1.2; }
.hero-content p { font-size: clamp(.95rem, 1.5vw, 1.15rem); margin-bottom: 2rem; opacity: .9; max-width: 580px; }

@keyframes fadeUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
.animate-up { animation: fadeUp .8s ease forwards; }

/* Hero nav arrows */
.hero-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  background: rgba(255,255,255,.2); border: 2px solid rgba(255,255,255,.6);
  color: #fff; width: 48px; height: 48px; border-radius: 50%;
  font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.hero-btn:hover { background: rgba(255,255,255,.4); }
.hero-btn.prev { left: 1.5rem; }
.hero-btn.next { right: 1.5rem; }

/* Hero dots */
.hero-dots { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); display: flex; gap: .5rem; z-index: 10; }
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.5);
  cursor: pointer; transition: background .3s, transform .3s; border: none;
}
.hero-dot.active { background: #de2a2f; transform: scale(1.3); }

/* ============================================================
   STATS BANNER
   ============================================================ */
#stats-banner { background: #144579; padding: 2.5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat-item { color: #fff; }
.stat-number { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: #FFEE00; line-height: 1.1; }
.stat-suffix { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: #FFEE00; }
.stat-label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-top: .3rem; opacity: .85; }

/* ============================================================
   TWO-COLUMN LAYOUT
   ============================================================ */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.two-col.reverse .col-images { order: 2; }
.two-col.reverse .col-text   { order: 1; }
.col-images { position: relative; }
.img-main { width: 100%; border-radius: 10px; object-fit: cover; box-shadow: 0 12px 40px rgba(0,0,0,.15); }
.img-accent { position: absolute; bottom: -24px; right: -24px; width: 38%; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.2); border: 4px solid #fff; }
.col-text h2 { color: #144579; font-size: clamp(1.5rem, 2.5vw, 2.1rem); margin-bottom: 1rem; }
.col-text p  { color: #555; margin-bottom: 1rem; }
.col-text .eyebrow { margin-bottom: .4rem; }
.about-logo { max-width: 200px; margin-bottom: 1.2rem; }

/* ============================================================
   OUR CAUSES — FLIP CARDS
   ============================================================ */
.causes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 4rem; }
.flip-card { height: 340px; perspective: 1000px; }
.flip-card-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .6s ease; }
.flip-card:hover .flip-card-inner { transform: rotateY(180deg); }
.flip-card-front, .flip-card-back { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; border-radius: 10px; overflow: hidden; }
.flip-card-front { background-size: cover; background-position: center; }
.flip-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,69,121,.9) 40%, rgba(20,69,121,.4) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; color: #fff;
}
.flip-overlay h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.flip-overlay p  { font-size: .85rem; opacity: .9; }
.flip-card-back {
  background: #144579; color: #fff; transform: rotateY(180deg);
  display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 2rem; text-align: center;
}
.flip-card-back h3 { font-size: 1.1rem; margin-bottom: .8rem; }
.flip-card-back p  { font-size: .88rem; opacity: .9; }
.causes-cta { margin-top: 1rem; }
.causes-cta h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); color: #144579; margin-bottom: 1rem; }

/* ============================================================
   DONATE (ZEFFY)
   ============================================================ */
.donate-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 3rem; }
.donate-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.15); transition: transform .25s, box-shadow .25s; }
.donate-card:hover { transform: translateY(-6px); box-shadow: 0 10px 35px rgba(0,0,0,.22); }
.donate-card-img { height: 190px; background-size: cover; background-position: center; }
.donate-card-body { padding: 1.4rem; }
.donate-card-body h3 { font-size: 1.05rem; color: #144579; margin-bottom: .6rem; }
.donate-card-body p { font-size: .88rem; color: #555; margin-bottom: 1.2rem; }
.zeffy-embed-wrapper { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); border-radius: 12px; padding: 2rem; margin-top: 1rem; }
.zeffy-embed-label { color: rgba(255,255,255,.75); font-size: .9rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; text-align: center; }
.zeffy-embed-container { border-radius: 8px; overflow: hidden; background: #fff; }
.zeffy-note { color: rgba(255,255,255,.65); font-size: .82rem; text-align: center; margin-top: 1.2rem; display: flex; align-items: center; justify-content: center; gap: .5rem; }
.zeffy-note strong { color: rgba(255,255,255,.85); }

/* ============================================================
   NEWS
   ============================================================ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.news-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 3px 16px rgba(0,0,0,.08); transition: transform .25s, box-shadow .25s; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,.14); }
.news-img { height: 200px; background-size: cover; background-position: center; transition: transform .4s ease; }
.news-card:hover .news-img { transform: scale(1.04); }
.news-body { padding: 1.2rem 1.4rem 1.5rem; }
.news-body h3 { font-size: .95rem; color: #144579; margin-bottom: .8rem; line-height: 1.4; }
.news-body h3 a:hover { color: #de2a2f; }
.read-more { font-size: .82rem; font-weight: 600; color: #de2a2f; display: inline-flex; align-items: center; gap: .4rem; }

/* ============================================================
   TESTIMONIALS — vanilla CSS carousel
   ============================================================ */
#testimonials { background: #f6f8fc; }
.testimonials-track-wrap { overflow: hidden; max-width: 820px; margin: 0 auto; position: relative; }
.testimonials-track { display: flex; transition: transform .6s ease; }
.testimonial-slide { min-width: 100%; padding: 0 .5rem; box-sizing: border-box; }
.testimonial-card { background: #fff; border-radius: 12px; padding: 2.5rem; box-shadow: 0 4px 20px rgba(0,0,0,.08); text-align: center; }
.quote-icon { font-size: 2.5rem; color: #de2a2f; margin-bottom: 1rem; opacity: .25; line-height: 1; }
.testimonial-text { font-size: 1rem; color: #444; line-height: 1.8; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: .8rem; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-avatar-placeholder { width: 48px; height: 48px; border-radius: 50%; background: #144579; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.testimonial-name { font-weight: 700; color: #144579; }
.testimonial-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.5rem; }
.testimonial-dot { width: 10px; height: 10px; border-radius: 50%; background: #144579; opacity: .3; border: none; cursor: pointer; transition: opacity .3s; }
.testimonial-dot.active { opacity: 1; background: #de2a2f; }
.testimonial-nav { position: absolute; top: 50%; transform: translateY(-50%); background: #144579; color: #fff; border: none; width: 40px; height: 40px; border-radius: 50%; font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.testimonial-nav.prev { left: -50px; }
.testimonial-nav.next { right: -50px; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer { background: #0d1e3a; color: #c5d4e8; }
.footer-top { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 3rem; }
.footer-brand img { margin-bottom: 1rem; filter: brightness(10); }
.footer-brand p { font-size: .85rem; color: #8fa8c8; line-height: 1.7; }
.footer-col h3 { font-size: .9rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 2px solid #de2a2f; display: inline-block; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a { font-size: .85rem; color: #8fa8c8; display: flex; align-items: center; gap: .5rem; transition: color .2s; }
.footer-col ul li a:hover { color: #fff; }
.social-icons { display: flex; gap: .7rem; margin-top: 1rem; }
.social-icons a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); color: #c5d4e8; display: flex; align-items: center; justify-content: center; font-size: .85rem; transition: background .2s, color .2s; }
.social-icons a:hover { background: #de2a2f; color: #fff; }
.contact-list li { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: #8fa8c8; margin-bottom: .6rem; }
.contact-list li a { color: #8fa8c8; }
.contact-list li a:hover { color: #fff; }
.footer-donate-cta { margin-top: 1.2rem; }
.footer-bottom { background: #060f1e; padding: 1.2rem 0; text-align: center; }
.footer-bottom p { font-size: .78rem; color: #5a7a9a; }
.footer-tax { margin-top: .3rem; font-size: .73rem !important; }

/* ============================================================
   EVENTS (kept for inner pages)
   ============================================================ */
.events-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.event-card { display: flex; gap: 1.5rem; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 3px 16px rgba(0,0,0,.09); padding: 1.5rem; align-items: flex-start; transition: transform .25s, box-shadow .25s; }
.event-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.14); }
.event-img { flex-shrink: 0; }
.event-img img { width: 120px; height: 120px; object-fit: cover; border-radius: 8px; }
.event-body h3 { font-size: 1rem; color: #144579; margin: .4rem 0 .5rem; }
.event-body p  { font-size: .85rem; color: #555; margin-bottom: .8rem; }
.event-date, .event-time { font-size: .78rem; font-weight: 600; color: #de2a2f; display: flex; align-items: center; gap: .4rem; }
.event-time { color: #144579; margin-top: .15rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col.reverse .col-images { order: 1; }
  .two-col.reverse .col-text   { order: 2; }
  .img-accent { display: none; }
  .causes-grid  { grid-template-columns: 1fr 1fr; }
  .donate-cards { grid-template-columns: 1fr 1fr; }
  .news-grid    { grid-template-columns: 1fr 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .stats-grid   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .testimonial-nav { display: none; }
}

/* ── Mobile nav backdrop ────────────────────────────────── */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 998;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.nav-overlay.visible { display: block; }

@media (max-width: 768px) {
  /* ── Nav ── */
  .nav-menu {
    display: none; position: fixed; top: 0; right: 0; height: 100%;
    width: min(320px, 85vw); background: #fff; flex-direction: column;
    align-items: flex-start; padding: 5rem 0 2rem;
    box-shadow: -4px 0 24px rgba(0,0,0,.22); gap: 0; z-index: 999;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    transform: translateX(100%); transition: transform .3s ease;
  }
  .nav-menu.open { display: flex; transform: translateX(0); }
  .nav-menu > li { width: 100%; }
  .nav-menu > li > a {
    padding: .9rem 1.5rem; border-bottom: 1px solid #f0f0f0;
    font-size: 1rem; display: block; min-height: 44px;
    display: flex; align-items: center;
  }
  /* Dropdown: toggle via .open class (JS-driven), not hover */
  .has-dropdown > a::after { content: ' ▾'; }
  .has-dropdown:hover .dropdown { display: none; }
  .dropdown {
    position: static; box-shadow: none; padding: 0 0 .5rem 0;
    display: none; border-radius: 0; background: #f6f8fc;
  }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown li a {
    font-size: .92rem; padding: .7rem 1.5rem .7rem 2.5rem;
    border-bottom: 1px solid #e8ecf0; min-height: 44px;
    display: flex; align-items: center;
  }
  .burger { display: flex; z-index: 1001; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }

  /* ── Hero ── */
  #hero { height: 85vh; min-height: 460px; }
  .hero-content { padding: 1.5rem 1.2rem; max-width: 100%; }
  .hero-content h1 { font-size: clamp(1.5rem, 5vw, 2.4rem); }
  .hero-content p  { font-size: .95rem; }
  .hero-content .btn { width: 100%; text-align: center; justify-content: center; }
  .hero-btn { width: 38px; height: 38px; font-size: 1rem; }
  .hero-btn.prev { left: .7rem; }
  .hero-btn.next { right: .7rem; }

  /* ── Sections ── */
  .section-pad { padding: 52px 0; }
  .container { padding: 0 1.1rem; }

  /* ── Flip cards: tap reveals back ── */
  .flip-card { height: auto; perspective: none; }
  .flip-card-inner { transform: none !important; transition: none; display: flex; flex-direction: column; }
  .flip-card-front, .flip-card-back {
    position: static; backface-visibility: visible; transform: none !important;
    width: 100%; border-radius: 10px;
  }
  .flip-card-front { height: 220px; }
  .flip-card-back { padding: 1.5rem; }
  .causes-grid { grid-template-columns: 1fr; gap: 1.2rem; }

  /* ── Donate cards ── */
  .donate-cards { grid-template-columns: 1fr; }

  /* ── News grid ── */
  .news-grid { grid-template-columns: 1fr; }

  /* ── Events ── */
  .events-grid  { grid-template-columns: 1fr; }
  .event-card   { flex-direction: column; }
  .event-img img { width: 100%; height: 160px; }

  /* ── Stats ── */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-number { font-size: clamp(1.8rem, 6vw, 2.8rem); }

  /* ── Buttons ── */
  .btn { min-height: 44px; padding: .75rem 1.5rem; }
  .cta-band-btns { flex-direction: column; align-items: stretch; }
  .cta-band-btns .btn { text-align: center; justify-content: center; width: 100%; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-donate-cta .btn { width: 100%; justify-content: center; }
  .footer-donate-cta { margin-top: 1rem; }

  /* ── Testimonials ── */
  .testimonials-track-wrap { margin: 0; }
  .testimonial-card { padding: 1.8rem 1.2rem; }

  /* ── Zeffy iframes ── */
  .zeffy-embed-wrapper { padding: .8rem; }
  .zeffy-embed-container iframe { min-height: 700px !important; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-btn { width: 34px; height: 34px; font-size: .9rem; }
  .hero-dots { bottom: 1rem; }
  .hero-dot  { width: 8px; height: 8px; }
  .section-pad { padding: 40px 0; }
  .container { padding: 0 1rem; }
  .footer-grid { gap: 1.5rem; }

  /* ── Zeffy/Tally iframes full-width ── */
  iframe { max-width: 100%; }

  /* ── Donate card buttons full-width ── */
  .donate-card-body .btn { width: 100%; justify-content: center; display: flex; }

  /* ── Flip card reduce gap ── */
  .causes-grid { gap: .8rem; }
}

/* ── Touch-device safe hover states ── */
@media (hover: none) {
  .flip-card:hover .flip-card-inner { transform: none; }
  .nav-menu > li > a:hover { color: inherit; background: none; }
  a:hover { opacity: 1; }
  .btn:hover { opacity: 1; }
  .donate-card:hover { transform: none; box-shadow: 0 4px 20px rgba(0,0,0,.15); }
  .news-card:hover { transform: none; box-shadow: 0 3px 16px rgba(0,0,0,.08); }
  .icon-card:hover { transform: none; box-shadow: 0 3px 16px rgba(0,0,0,.07); }
  .value-card:hover { transform: none; box-shadow: 0 4px 20px rgba(0,0,0,.07); }
  .social-icons a:hover { background: rgba(255,255,255,.1); color: #c5d4e8; }
}
