/* SVIRA Foundation — homepage styles. Loads after /assets/css/style.css */

/* Homepage colour and font names, mapped to the shared design system in style.css */
:root {
  --navy:        var(--svira-navy);
  --navy-mid:    var(--svira-navy-deep);
  --navy-light:  var(--svira-navy-tint);
  --green:       var(--svira-green);
  --green-mid:   var(--svira-green);
  --green-light: var(--svira-green-tint);
  --saffron:     var(--svira-orange);
  --saffron-lt:  var(--svira-orange-tint);
  --text:        var(--svira-text);
  --muted:       var(--svira-muted);
  --border:      var(--svira-border);
  --bg:          var(--svira-bg);
  --bg-alt:      var(--svira-surface);
  --serif:       var(--font-heading);
  --sans:        var(--font-body);
  --stencil:     var(--font-brand);
}

/* style.css gives headings, paragraphs and links site-wide spacing and styles.
   The homepage sets its own, so reset them first; the rules below then apply. */
.home h1, .home h2, .home h3, .home h4 { font-family: var(--sans); color: inherit; margin: 0; line-height: 1.3; }
.home p { margin: 0; max-width: none; }
.home a { text-decoration: none; }
.home .c-detail a { text-decoration: underline; }
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.7; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--navy);
  border-bottom: 3px solid var(--saffron);
  padding: 0 2.5rem; height: 80px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; white-space: nowrap; }
.nav-logo img { height: 50px; width: auto; background: white; border-radius: var(--radius); padding: 4px; }
.nav-logo-text {
  font-family: var(--stencil);
  font-weight: normal;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: 20px;
  color: white;
  display: flex;
  align-items: center;
  gap: .35em;
  line-height: 1;
}
.nav-logo-text .nav-svira { color: white; }
.nav-logo-text .nav-foundation { color: rgba(255,255,255,.75); }
.nav-links { display: flex; gap: 1.5rem; list-style: none; align-items: center; justify-content: center; flex-wrap: nowrap; }
.nav-links a { text-decoration: none; color: rgba(255,255,255,.85); font-size: 13px; font-weight: 500; transition: color .2s; white-space: nowrap; }
.nav-links a:hover { color: var(--saffron); }
.nav-btn {
  background: var(--saffron); color: white !important;
  padding: 9px 20px; border-radius: var(--radius);
  font-size: 13px !important; font-weight: 600 !important;
  letter-spacing: .03em; transition: background .2s;
}
.nav-btn:hover { background: #B8720A !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; border: none; background: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: white; border-radius: 2px; }

/* ── HERO ── */
.hero-wrap { background: var(--bg-alt); }
.hero {
  min-height: 90vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 4rem;
  max-width: 1200px; margin: 0 auto;
  padding: 5rem 2.5rem 4rem;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy-light); border: 1px solid rgba(30,58,95,.15);
  border-radius: 100px; padding: 5px 14px 5px 6px;
  font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 1.75rem;
}
.hero-eyebrow-dot {
  width: 20px; height: 20px; background: var(--navy); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: white; font-weight: 700; font-family: var(--stencil);
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 700; line-height: 1.12;
  color: var(--text); margin-bottom: 1.25rem; letter-spacing: -.01em;
}
.hero h1 .accent   { color: var(--green); }
.hero h1 .accent-s { color: var(--saffron); }
.hero-desc { font-size: 1.05rem; color: var(--muted); max-width: 500px; margin-bottom: 2.25rem; font-weight: 400; line-height: 1.75; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.btn-primary {
  background: var(--navy); color: white;
  padding: 13px 28px; border-radius: var(--radius);
  text-decoration: none; font-weight: 600; font-size: 14px; letter-spacing: .02em;
  transition: background .2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-primary:hover { background: var(--navy-mid); }
.btn-outline {
  background: transparent; color: var(--navy);
  padding: 13px 28px; border-radius: var(--radius);
  text-decoration: none; font-weight: 600; font-size: 14px;
  border: 1.5px solid var(--navy); transition: background .2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-outline:hover { background: var(--navy-light); }
.hero-trust { display: flex; gap: 2.5rem; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 1.75rem; }
.hero-trust-item { display: flex; flex-direction: column; gap: 2px; }
.trust-num { font-family: var(--serif); font-size: 1.8rem; font-weight: 700; color: var(--navy); line-height: 1; }
.trust-label { font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }

/* hero logo frame */
.hero-logo-frame {
  background: var(--navy-light);
  border-radius: var(--radius); padding: 3rem 2.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
  border: 1px solid rgba(30,58,95,.1);
  position: relative; overflow: hidden;
}

.hero-logo-frame .logo-icon { width: 160px; height: auto; position: relative; z-index: 1; }
.hero-logo-name {
  position: relative; z-index: 1;
  text-align: center; width: 100%;
}
/* Brand name — matches letterhead: orange/gold stencil, no background */
.brand-banner {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  justify-content: center;
  flex-wrap: wrap;
}
.brand-svira {
  font-family: var(--stencil);
  font-size: 2.6rem;
  font-weight: normal;
  color: var(--saffron);
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1;
}
.brand-foundation {
  font-family: var(--stencil);
  font-size: 2.6rem;
  font-weight: normal;
  color: var(--saffron);
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1;
}
/* Tagline below name */
.brand-tagline {
  font-family: var(--sans);
  font-size: .88rem;
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: .6rem;
  font-weight: 500;
}
.hero-tagline-box {
  background: white; border-radius: var(--radius); padding: 1rem 1.5rem;
  text-align: center; border: 1px solid var(--border);
  position: relative; z-index: 1; width: 100%;
}
.hero-tagline-box .tagline { font-family: var(--serif); font-size: 1.05rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.reg-chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; position: relative; z-index: 1; }
.chip { background: white; border: 1px solid var(--border); border-radius: 100px; padding: 4px 12px; font-size: 11px; font-weight: 600; color: var(--navy); letter-spacing: .04em; }

/* ── SECTIONS ── */
.section { padding: 5rem 2.5rem; max-width: 1200px; margin: 0 auto; }
.section-alt { background: var(--bg-alt); }
.section-alt .section { padding: 5rem 2.5rem; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--saffron); margin-bottom: .5rem; }
.section-h { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; color: var(--text); margin-bottom: .75rem; letter-spacing: -.01em; }
.section-sub { color: var(--muted); font-size: 1rem; max-width: 550px; margin-bottom: 3rem; font-weight: 400; line-height: 1.75; }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.about-text p { color: var(--muted); line-height: 1.8; margin-bottom: 1rem; font-size: .97rem; }
.name-expand { margin-top: 1.5rem; background: var(--navy-light); border-left: 3px solid var(--navy); border-radius: 0; padding: 1rem 1.25rem; }
.name-expand .lbl { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: 4px; }
.name-expand .full { font-family: var(--serif); font-size: 1.05rem; font-weight: 700; color: var(--text); line-height: 1.4; }
.values-stack { display: flex; flex-direction: column; gap: .9rem; }
.value-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.25rem; display: flex; align-items: flex-start; gap: 12px; transition: border-color .2s; }
.value-card:hover { border-color: var(--navy); }
.v-icon { width: 38px; height: 38px; border-radius: var(--radius); background: var(--navy-light); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.value-card h4 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.value-card p { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ── FOCUS AREAS ── */
.focus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.2rem; }
.focus-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1.25rem; transition: border-color .2s; }
.focus-card:hover { border-color: var(--navy); }
.focus-icon { font-size: 1.75rem; display: block; margin-bottom: .75rem; }
.focus-card h3 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: .4rem; }
.focus-card p { font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* ── PROGRAMS ── */
.programs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.prog-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .2s; }
.prog-card:hover { }
.prog-body { padding: 1.5rem; }
.prog-tag { font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; margin-bottom: .5rem; }
.prog-body h3 { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: .5rem; }
.prog-body p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }

/* ── IMPACT ── */
.impact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.25rem; }
.impact-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem 1.25rem; text-align: center; }
.impact-num { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; color: var(--navy); line-height: 1; margin-bottom: 6px; }
.impact-lbl { font-size: 12px; color: var(--muted); font-weight: 500; letter-spacing: .03em; }

/* ── TEAM ── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.team-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; align-items: center; text-align: left; }
.avatar { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 24px; font-weight: 700; color: white; margin: 0 auto 1rem; }
.team-card h3 { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.team-card .role { font-size: 13px; color: var(--green); font-weight: 600; margin-bottom: .25rem; letter-spacing: .02em; }
.team-card .qual { font-size: 12px; color: var(--muted); font-weight: 600; margin-bottom: .75rem; }
.team-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── GET INVOLVED ── */
.involve-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.involve-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; transition: border-color .2s; }
.involve-card:hover { border-color: var(--navy); }
.involve-card h3 { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: .5rem; }
.involve-card p { font-size: 13.5px; color: var(--muted); margin-bottom: 1.25rem; line-height: 1.6; }
.involve-card a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; border-bottom: 1.5px solid var(--navy); padding-bottom: 1px; transition: color .2s; }
.involve-card a:hover { color: var(--green); border-color: var(--green); }

/* ── MARATHI STRIP ── */
.marathi-strip { background: var(--navy-light); color: white; padding: 3rem 2rem; text-align: center; }
.marathi-strip h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; margin-bottom: .5rem; }
.marathi-strip p { opacity: .85; font-size: .95rem; max-width: 500px; margin: 0 auto; }

/* ── DONATE STRIP ── */
.donate-strip { background: var(--navy-light); color: white; text-align: center; padding: 5rem 2rem; }
.donate-strip h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; margin-bottom: .75rem; }
.donate-strip p { opacity: .85; max-width: 520px; margin: 0 auto 2rem; font-size: 1rem; font-weight: 400; line-height: 1.7; }
.btn-white { background: white; color: var(--navy); padding: 13px 32px; border-radius: var(--radius); font-weight: 700; font-size: 14px; text-decoration: none; display: inline-block; letter-spacing: .02em; transition: background .2s; }
.btn-white:hover { }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.contact-info p.intro { font-size: .97rem; color: var(--muted); margin-bottom: 1.5rem; line-height: 1.75; font-weight: 400; }
.c-detail { display: flex; align-items: flex-start; gap: 10px; margin-bottom: .9rem; font-size: 14px; color: var(--muted); }
.c-icon { width: 34px; height: 34px; background: var(--navy-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.legal-badges { display: flex; flex-direction: column; gap: .5rem; margin-top: 1.75rem; }
.legal-badge { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.legal-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: inline-block; flex-shrink: 0; }
.cform { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.cform h3 { font-size: 19px; font-weight: 600; color: var(--text); margin-bottom: 1.5rem; }
.fg { margin-bottom: 1rem; }
.fg label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 5px; letter-spacing: .02em; text-transform: uppercase; }
.fg input, .fg textarea, .fg select {
  width: 100%; padding: 10px 13px;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-family: var(--sans); font-size: 14px; color: var(--text);
  background: white; outline: none; transition: border-color .2s;
  resize: vertical; appearance: none; -webkit-appearance: none;
}
.fg input:focus, .fg textarea:focus, .fg select:focus { border-color: var(--navy); }
.fg textarea { min-height: 100px; }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fsub { width: 100%; background: var(--navy); color: white; border: none; padding: 13px; border-radius: var(--radius); font-size: 15px; font-weight: 600; font-family: var(--sans); cursor: pointer; transition: background .2s; margin-top: .5rem; letter-spacing: .02em; }
.fsub:hover { background: var(--navy-mid); }

/* ── FOOTER ── */
footer { background: #0D1B2A; color: #8899AA; padding: 3.5rem 2.5rem 1.5rem; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-brand p { font-size: 13px; color: #667788; line-height: 1.75; margin-top: .75rem; }
.footer-logo-wrap { display: flex; align-items: center; gap: 10px; }
.footer-logo-wrap img { height: 50px; width: auto; background: white; border-radius: var(--radius); padding: 4px; }
.footer-logo-wrap .footer-brand-name {
  font-family: var(--stencil);
  font-weight: normal;
  text-transform: uppercase;
  font-size: 18px;
  color: var(--saffron);
  letter-spacing: .08em;
  display: flex;
  align-items: center;
  gap: .35em;
  line-height: 1;
}
.footer-logo-wrap .footer-svira { color: var(--saffron); }
.footer-logo-wrap .footer-foundation { color: var(--saffron); }
.footer-col h4 { font-size: 11px; font-weight: 700; color: #CCDDEE; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col a { font-size: 13px; color: #667788; text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: white; }
.footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid #1E2D3D; padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #445566; flex-wrap: wrap; gap: .5rem; }
.f-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.04); border: 1px solid #1E2D3D; border-radius: var(--radius); padding: 4px 10px; font-size: 11px; color: #556677; }

/* ── CAROUSEL ── */
.carousel-wrap { position: relative; display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.carousel-track-wrap { overflow: hidden; flex: 1; min-width: 0; }
.carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform .4s ease;
  will-change: transform;
}

/* mentor cards */
.mentor-card {
  flex: 0 0 calc((100% - 1.5rem) / 2);
  min-width: 0;
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem 1.5rem; text-align: center;
  transition: border-color .2s;
}
.mentor-card:hover { }
.mentor-card .avatar { margin: 0 auto 1rem; }
.mentor-card h3 { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.mentor-card .role { font-size: 13px; color: var(--green); font-weight: 600; margin-bottom: .2rem; }
.mentor-card .qual { font-size: 12px; color: var(--muted); font-weight: 600; margin-bottom: .75rem; }
.mentor-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* volunteer cards */
.vol-card {
  flex: 0 0 calc((100% - 4.5rem) / 4);
  min-width: 0;
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem 1rem; text-align: center;
  transition: border-color .2s;
}
.vol-card:hover { }
.vol-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 16px; font-weight: 700; color: white;
  margin: 0 auto .75rem;
}
.vol-card h4 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.vol-card .vol-role { font-size: 12px; color: var(--green); font-weight: 600; margin-bottom: 4px; }
.vol-card .vol-loc { font-size: 11px; color: var(--muted); }

.carousel-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--border); background: white;
  font-size: 16px; cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s, opacity .2s; color: var(--navy);
}
.carousel-btn:hover { background: var(--navy); color: white; border-color: var(--navy); }

.carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: .75rem; margin-bottom: .5rem; flex-wrap: wrap; }
.carousel-dots .cdot { width: 8px; height: 8px; border: 0; padding: 0; border-radius: 50%; background: var(--border); cursor: pointer; transition: background .2s; display: inline-block; }
.carousel-dots .cdot.active { background: var(--navy);  }

@media (max-width: 899px) {
  .vol-card { flex-basis: calc((100% - 1.5rem) / 2); }
}

@media (max-width: 599px) {
  .carousel-wrap { gap: .65rem; }
  .carousel-btn { width: 34px; height: 34px; font-size: 14px; }
  .mentor-card, .vol-card { flex-basis: 100%; }
}

/* join CTA */
.join-cta { margin-top: 3rem; background: var(--navy-light); border: 1px solid rgba(30,58,95,.12); border-radius: var(--radius); padding: 2rem; }
.join-cta-inner { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.join-icon { font-size: 2.5rem; flex-shrink: 0; }
.join-cta-inner div { flex: 1; min-width: 200px; }
.join-cta-inner h3 { font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: .3rem; }
.join-cta-inner p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ── RESPONSIVE ── */
/* ── LANGUAGE BAR ── */
.lang-bar {
  position: sticky; top: 80px; z-index: 199;
  background: #162d4a;
  border-bottom: 2px solid var(--saffron);
  height: 36px;
  display: flex; align-items: center; justify-content: center;
  gap: 6px;
}
.lang-bar-label {
  font-size: 10px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
  margin-right: .5rem;
}
.lang-btn {
  background: none; border: 1px solid rgba(255,255,255,.2);
  cursor: pointer; font-family: var(--sans);
  font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,.7); padding: 3px 14px;
  border-radius: 100px; transition: all .2s;
  letter-spacing: .05em; line-height: 1;
}
.lang-btn:hover { color: white; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); }
.lang-btn.active { background: var(--saffron); color: white; border-color: var(--saffron); }
.lang-divider { color: rgba(255,255,255,.2); font-size: 10px; }

/* ── NAV DROPDOWN ── */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { cursor: pointer; }
.nav-dropdown-menu {
  display: none;
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%);
  background: var(--navy); border: 1px solid rgba(255,255,255,.15);
  border-top: 2px solid var(--saffron);
  border-radius: 0 0 var(--radius) var(--radius); padding: .5rem;
  list-style: none; min-width: 180px;
  z-index: 300;
}
.nav-dropdown-menu::before {
  content: ''; position: absolute; top: -7px; left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--saffron);
}
.nav-dropdown-menu li a {
  display: block; padding: 9px 14px; border-radius: var(--radius);
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,.85);
  text-decoration: none; transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-dropdown-menu li a:hover { background: rgba(255,255,255,.1); color: var(--saffron); }
.nav-dropdown:hover .nav-dropdown-menu { display: block; }

/* ── EVENTS SECTION ── */
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.event-cs-card {
  background: var(--bg-alt); border: 1.5px dashed var(--border);
  border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center;
  transition: border-color .2s;
}
.event-cs-card:hover { border-color: var(--navy); }
.event-cs-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.event-cs-date {
  display: inline-block; background: var(--navy-light);
  color: var(--navy); font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px; margin-bottom: .75rem;
}
.event-cs-card h3 { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: .4rem; }
.event-cs-card p  { font-size: 13px; color: var(--muted); line-height: 1.6; }
.event-cs-tag {
  display: inline-block; margin-top: .75rem; background: white;
  border: 1px solid var(--border); border-radius: 100px; padding: 3px 12px;
  font-size: 11px; font-weight: 600; color: var(--muted);
}
.events-cta { margin-top: 2rem; text-align: center; display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── BLOG & NEWS STRIP ── */
.blog-strip {
  background: var(--navy-light);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 4rem 2rem;
}
.blog-strip-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.blog-strip-left { flex: 1; min-width: 280px; }
.blog-strip-left h2 {
  font-family: var(--serif); font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700; color: var(--navy); margin-bottom: .75rem; line-height: 1.2;
}
.blog-strip-left p { font-size: .97rem; color: var(--muted); max-width: 480px; line-height: 1.75; font-weight: 400; }
.blog-strip-right { display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; flex-shrink: 0; }
.blog-meta-chips { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: flex-end; }
.blog-chip {
  background: white; border: 1px solid var(--border); border-radius: 100px;
  padding: 5px 14px; font-size: 12px; font-weight: 600; color: var(--navy);
  display: flex; align-items: center; gap: 5px;
}
.btn-blog {
  background: var(--navy); color: white; padding: 13px 32px; border-radius: var(--radius);
  text-decoration: none; font-weight: 600; font-size: 14px; letter-spacing: .02em;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s;
}
.btn-blog:hover { background: var(--navy-mid); }

@media (max-width: 900px) {
  .brand-svira { font-size: 1.4rem; }
  .brand-foundation { font-size: 1.4rem; }
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 116px; left: 0; right: 0; background: var(--navy); border-bottom: 3px solid var(--saffron); padding: 1rem 1.5rem; gap: 1rem; z-index: 198; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero { grid-template-columns: 1fr; gap: 2rem; padding: 3.5rem 1.5rem; min-height: auto; }
  .hero-logo-frame { padding: 2rem; }
  .hero-logo-frame .logo-icon { width: 110px; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section, .section-alt .section { padding: 3.5rem 1.5rem; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 1.5rem; }
  .fg-row { grid-template-columns: 1fr; }
}

/* =====================================================================
   Design-system integration (October 2026)
   Keeps the homepage consistent with style.css and readable for everyone.
   ===================================================================== */

/* Restore spacing and fonts for rules that use a single class name */
.home .section-h { font-family: var(--serif); line-height: 1.2; margin-bottom: .75rem; color: var(--text); }
.home .section-sub { max-width: 550px; margin-bottom: 3rem; }
.home .hero-desc { max-width: 500px; margin-bottom: 2.25rem; }
.home .eyebrow { margin-bottom: .5rem; }
.home .prog-tag { margin-bottom: .5rem; }

/* Brand name: orange Allerta Stencil on navy, at least 24px so it stays readable */
.nav-logo-text { font-family: var(--stencil); font-size: 24px; letter-spacing: .08em; }
.nav-logo-text .nav-svira, .nav-logo-text .nav-foundation { color: var(--saffron); }
.nav-logo img, .footer-logo-wrap img { background: #FFFFFF; }

/* Hero brand panel: navy like the letterhead, so the orange name is readable */
.hero-logo-frame { background: var(--navy); border: 0; }
.hero-logo-frame .logo-icon { background: #FFFFFF; border-radius: var(--radius); padding: 8px; }
.brand-svirafoundation {
  font-family: var(--stencil); font-size: 2.6rem; color: var(--saffron);
  letter-spacing: .12em; text-transform: uppercase; line-height: 1.1; text-align: center;
}
.hero-logo-frame .brand-tagline { color: rgba(255, 255, 255, .85); }

/* Orange as text uses the darker shade on light backgrounds */
.eyebrow { color: var(--svira-orange-dark); }
.hero h1 .accent-s { color: var(--svira-orange-dark); }

/* Primary actions are blue; Donate is orange with deep navy text */
.btn-primary, .fsub, .btn-blog { background: var(--svira-blue); color: #FFFFFF; }
.btn-primary:hover, .fsub:hover, .btn-blog:hover { background: var(--svira-blue-dark); color: #FFFFFF; }
.btn-outline { color: var(--svira-blue); border-color: var(--svira-blue); }
.btn-outline:hover { background: var(--svira-blue-tint); color: var(--svira-blue-dark); }
.nav-btn { color: var(--svira-navy-deep) !important; }
.nav-btn:hover { background: #E06F00 !important; color: var(--svira-navy-deep) !important; }
.lang-btn.active { color: var(--svira-navy-deep); }
.involve-card a { color: var(--svira-blue); border-color: var(--svira-blue); }
.involve-card a:hover { color: var(--svira-blue-dark); border-color: var(--svira-blue-dark); }
.value-card:hover, .focus-card:hover, .involve-card:hover, .event-cs-card:hover { border-color: var(--svira-blue); }
.carousel-btn:hover { background: var(--svira-blue); border-color: var(--svira-blue); }
.fg input:focus, .fg textarea:focus, .fg select:focus { border-color: var(--svira-blue); outline: 2px solid var(--svira-blue); outline-offset: 1px; }

/* (4) Focus areas: short labels instead of emoji */
.focus-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-bottom: .75rem;
  border-radius: var(--radius); background: var(--svira-blue-tint);
  color: var(--svira-blue-dark); font-family: var(--stencil);
  font-size: 15px; letter-spacing: .04em;
}

/* (9) Program tags without the coloured stripe */
.prog-body .prog-tag-navy   { color: var(--svira-navy); }
.prog-body .prog-tag-orange { color: var(--svira-orange-dark); }
.prog-body .prog-tag-green  { color: var(--svira-green); }
.prog-body .prog-tag-blue   { color: var(--svira-blue); }

/* Language bar and footer in the shared navy shades */
.lang-bar { background: var(--svira-navy-deep); }
footer { background: var(--svira-navy); color: rgba(255, 255, 255, .85); border-top: 3px solid var(--saffron); }
.footer-brand p, .footer-col a { color: rgba(255, 255, 255, .8); }
.footer-col a:hover { color: var(--saffron); }
.footer-col h4 { color: #FFFFFF; }
.footer-bottom { color: rgba(255, 255, 255, .75); border-top-color: rgba(255, 255, 255, .15); }
.footer-bottom a { color: #FFFFFF; text-decoration: underline; }
.f-badge { color: rgba(255, 255, 255, .8); border-color: rgba(255, 255, 255, .2); background: transparent; }

/* Flat colour strips */
.marathi-strip { background: var(--green); }
.donate-strip { background: var(--navy); }
.blog-strip { background: var(--navy-light); }

/* Devanagari letters join together, so no extra letter spacing in Marathi and Hindi
   (the English brand name keeps its stencil spacing) */
:is(:lang(mr), :lang(hi)) body *:not(.nav-logo-text, .nav-logo-text *, .brand-svirafoundation, .footer-brand-name, .footer-brand-name *, .focus-icon) {
  letter-spacing: normal;
}

/* Narrow phones: keep the brand name on one line */
@media (max-width: 420px) {
  .nav-logo img { height: 40px; }
  .nav-logo-text { font-size: 19px; letter-spacing: .04em; }
  nav { padding: 0 .9rem; gap: .75rem; }
  .brand-svirafoundation { font-size: 1.9rem; letter-spacing: .08em; }
}

/* Hero word "Inclusive": brighter orange for this large heading (still readable) */
.hero h1 .accent-s { color: #F57C00; }

/* Section labels in SVIRA blue */
.eyebrow { color: var(--svira-blue); }

/* =====================================================================
   Header: brand on the left, Donate + Menu on the right, links in a panel.
   The header lines up with the page content, so left and right margins match.
   ===================================================================== */
nav {
  --side: 2.5rem;
  display: flex;
  justify-content: space-between;
  padding: 0 calc(max(0px, (100% - 1200px) / 2) + var(--side));
}
.nav-actions { display: flex; align-items: center; gap: .75rem; }

/* Menu button */
.hamburger {
  display: inline-flex; flex-direction: row; align-items: center; gap: .55rem;
  padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .4); border-radius: var(--radius);
  background: transparent; color: #FFFFFF; cursor: pointer;
  font-family: var(--sans); font-size: 14px; font-weight: 600; line-height: 1;
}
.hamburger:hover { background: rgba(255, 255, 255, .08); }
.hamburger .menu-icon { display: flex; flex-direction: column; gap: 4px; width: auto; height: auto; background: none; }
.hamburger .menu-icon span { display: block; width: 18px; height: 2px; background: #FFFFFF; border-radius: 2px; }
.hamburger .menu-label { display: inline; width: auto; height: auto; background: none; }

/* Links panel (all screen sizes) */
.nav-links {
  display: none;
  position: absolute; top: 100%; left: auto;
  right: calc(max(0px, (100% - 1200px) / 2) + var(--side));
  width: min(320px, calc(100% - 2 * var(--side)));
  flex-direction: column; align-items: stretch; justify-content: flex-start;
  gap: 0; padding: .5rem; list-style: none; z-index: 250;
  background: var(--svira-navy);
  border: 1px solid rgba(255, 255, 255, .15); border-top: 3px solid var(--saffron);
  border-radius: 0 0 var(--radius) var(--radius);
}
.nav-links.open { display: flex; }
.nav-links > li > a { display: block; padding: .7rem .9rem; font-size: 15px; border-radius: var(--radius); }
.nav-links > li > a:hover { background: rgba(255, 255, 255, .08); color: var(--saffron); }

/* Sub-links (Focus Areas, Programs…) shown indented inside the panel */
.nav-links .nav-dropdown-menu {
  display: block; position: static; transform: none; min-width: 0;
  background: none; border: 0; padding: 0 0 .25rem 1rem;
}
.nav-links .nav-dropdown-menu::before { display: none; }
.nav-links .nav-dropdown-menu li a { font-size: 14px; color: rgba(255, 255, 255, .75); }

/* Donate sits in the header on wider screens, inside the menu on phones */
.nav-links .menu-donate { display: none; }

@media (max-width: 900px) {
  nav { --side: 1.5rem; }
}
@media (max-width: 600px) {
  .nav-actions .nav-btn { display: none; }
  .nav-links .menu-donate { display: block; padding: .5rem .25rem .25rem; }
  .nav-links .menu-donate .nav-btn { display: block; text-align: center; }
  .hamburger .menu-label { display: none; }
  .hamburger { padding: 10px 12px; }
  .nav-links { left: var(--side); right: var(--side); width: auto; }
}
@media (max-width: 420px) {
  nav { gap: .5rem; }
}

/* Phones: events and blog chips stack instead of running off the screen */
@media (max-width: 900px) {
  .events-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .blog-strip-right { align-items: flex-start; flex-shrink: 1; width: 100%; }
  .blog-meta-chips { justify-content: flex-start; }
}

/* Health screening call-out on the homepage */
.screening-strip { background: var(--svira-blue-tint); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.screening-inner {
  max-width: 1200px; margin: 0 auto; padding: 3.5rem 2.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.screening-inner > div { flex: 1; min-width: 260px; }
.home .screening-inner .section-sub { margin-bottom: 0; }
@media (max-width: 900px) { .screening-inner { padding: 3rem 1.5rem; } }

/* Mentors (coming soon) and volunteers block on the homepage */
.mentor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.mentor-slot { background: transparent; border: 1.5px dashed var(--border); border-radius: var(--radius); padding: 1.5rem 1.25rem; display: flex; flex-direction: column; gap: .35rem; }
.mentor-slot .soon { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--svira-blue-dark); background: var(--svira-blue-tint); border-radius: 100px; padding: 3px 10px; margin-bottom: .5rem; }
.mentor-slot h3 { font-size: 15px; font-weight: 600; color: var(--text); }
.mentor-slot .spec { font-size: 13px; font-weight: 600; color: var(--green); }
.mentor-slot p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.link-more { display: inline-block; margin-top: 1.25rem; font-weight: 600; color: var(--svira-blue); }
.link-more:hover { color: var(--svira-blue-dark); text-decoration: underline; }
.vol-block { margin-top: 4rem; }
.vol-block .section-h a { color: inherit; }
.vol-block .section-h a:hover { color: var(--svira-blue); text-decoration: underline; }
.home .vol-block .section-sub { margin-bottom: 1.5rem; }
@media (max-width: 900px) { .mentor-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .mentor-grid { grid-template-columns: 1fr; } }
