/* ============================================================
   SOCARE IND – SOCIETY'S CARE FOR INDIGENT
   Global Stylesheet (Redesign Version)
   ============================================================ */

/* ── Reset & Base ────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ── Variables ───────────────────────────────────────── */
:root {
  --orange: #E85412;
  --orange-hover: #C4400A;
  --orange-dark: #C4400A;
  --orange-soft: #FEF0EA;
  --orange-bg: #FEF0EA;
  --orange-grad: linear-gradient(135deg, #F06A2A 0%, #E85412 55%, #C4400A 100%);
  --text-main: #1a1a1a;
  --text-muted: #5c5c5c;
  --text-light: #666;
  --border: #E5E7EB;
  --border-color: #E5E7EB;
  --bg-standard: #fff;
  --bg-alt: #F8F7F5;
  --bg-light: #F8F7F5;
  --footer-bg: #1a1410;
  --footer-bg-2: #241c16;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-btn: 0 6px 20px rgba(232, 84, 18, 0.28);
  --nav-h: 76px;
  --sec-pad: 56px;
  --wrap-pad: 24px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Common Layout Utilities ─────────────────────────── */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--wrap-pad);
}

.sec-pad {
  padding: var(--sec-pad) 0;
}

.sec-pad-top {
  padding-top: var(--sec-pad);
}

.bg-white {
  background: #fff;
}

.bg-alt {
  background: var(--bg-alt);
}

.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-2-start {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ══════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(26, 20, 16, 0.1);
  border-bottom-color: transparent;
}

.nav-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--wrap-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
}

.nav-ssp-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
}

.nav-brand-text {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #3d3d3d;
  line-height: 1.35;
  white-space: nowrap;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.nav-logo:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  background: var(--orange);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-icon svg {
  fill: #fff;
  width: 18px;
  height: 18px;
}

.nav-logo-name {
  font-size: .88rem;
  font-weight: 800;
  color: #111;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  padding: 10px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #444;
  border-radius: 8px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
  position: relative;
}

.nav-links a:hover {
  color: var(--orange);
  background: var(--orange-soft);
}

.nav-links a.active {
  color: var(--orange);
  font-weight: 600;
}

.nav-links a:focus-visible,
.hamburger:focus-visible,
.nav-logo:focus-visible,
.btn-hero-primary:focus-visible,
.btn-hero-outline:focus-visible,
.btn-resp:focus-visible,
.lm-btn:focus-visible,
.soc-link:focus-visible,
.back-top:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.nav-donate {
  flex-shrink: 0;
  background: var(--orange-grad);
  color: #fff;
  padding: 10px 24px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.3s var(--ease);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
}

.nav-donate:hover {
  background: var(--orange-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(232, 84, 18, 0.35);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  border-radius: 8px;
  flex-shrink: 0;
  transition: background 0.2s;
}

.hamburger:hover {
  background: var(--orange-soft);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: #fff;
  z-index: 999;
  padding: 12px 16px 20px;
  border-top: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  gap: 4px;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav[hidden] {
  display: flex !important;
}

.mobile-nav:not(.open)[hidden] {
  visibility: hidden;
}

.mobile-nav a {
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  transition: background 0.2s, color 0.2s;
}

.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
  background: var(--orange-bg);
  color: var(--orange);
}

.mobile-nav .mob-donate {
  background: var(--orange-grad);
  color: #fff;
  text-align: center;
  margin-top: 12px;
  padding: 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  justify-content: center;
}

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: calc(90vh - var(--nav-h));
  margin-top: var(--nav-h);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-center {
  min-height: 400px;
  text-align: center;
}

.hero-center .hero-content {
  text-align: center;
}

.hero-center .hero-text {
  max-width: 800px;
  margin: 0 auto;
}

.hero-center .hero-text p {
  margin: 0 auto 28px;
  max-width: 700px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    rgba(0, 0, 0, 0.08) 100%
  );
}

.hero-center .hero-overlay {
  background: linear-gradient(rgba(232, 84, 18, 0.45), rgba(70, 20, 0, 0.55));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px max(24px, 5vw);
  width: 100%;
}

.hero-text {
  max-width: 650px;
  color: #fff;
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 24px;
  letter-spacing: -.02em;
  color: #fff;
  text-wrap: balance;
}

.hero-text p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  margin: 0 0 32px;
  max-width: 520px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--orange);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  border: 2px solid transparent;
  box-shadow: var(--shadow-btn);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.btn-hero-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(232, 84, 18, 0.4);
  color: #fff;
}

.btn-hero-primary:active {
  transform: translateY(0);
}

.btn-hero-outline {
  background: transparent;
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.9);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.btn-hero-outline:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-2px);
  color: #fff;
}

/* ══════════════════════════════════════════════════════
   UTILITIES
══════════════════════════════════════════════════════ */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--wrap-pad);
}

.heading-c {
  text-align: center;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #111;
  margin-bottom: 20px;
  letter-spacing: -.025em;
  line-height: 1.25;
}

.heading {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #111;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -.025em;
  line-height: 1.25;
}

.ch-text .heading {
  text-align: left;
}

.section-accent {
  color: var(--orange);
  margin-bottom: 16px;
  font-size: 1.15rem;
  font-weight: 700;
}

.subtext {
  text-align: center;
  color: var(--text-light);
  font-size: 0.95rem;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.75;
}

.ch-header {
  margin-bottom: 48px;
  text-align: center;
}

.ch-header .subtext {
  margin-bottom: 0;
}

.about-home {
  padding-bottom: var(--space-4);
}

.about-home-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

/* ══════════════════════════════════════════════════════
   IMPACT STATS
══════════════════════════════════════════════════════ */
.impact-sec {
  padding: 48px 0;
  background: #fff;
}

.stats-row {
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.stat-item {
  text-align: center;
  padding: 32px 20px;
  border-right: 1px solid var(--border);
  transition: background .25s var(--ease);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: var(--orange-bg);
}

.stat-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.stat-lbl {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 600;
  line-height: 1.4;
}

/* ══════════════════════════════════════════════════════
   CARDS & GRIDS
══════════════════════════════════════════════════════ */
.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.pcard {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #fff;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  box-shadow: var(--shadow-sm);
}

.pcard:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.pcard-flex {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 30px;
}

.pcard-flex .card-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.pcard-flex h4 {
  margin-bottom: 8px;
  font-weight: 700;
}

.pcard-img {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.pcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease);
}

.pcard:hover .pcard-img img {
  transform: scale(1.05);
}

.pcard-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .74) 0%, transparent 100%);
  padding: 22px 14px 12px;
  color: #fff;
  font-size: .86rem;
  font-weight: 700;
}

.pcard-body {
  padding: 24px 24px 28px;
}

.pcard-body h4 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  font-weight: 700;
}

.pcard-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.lm-btn {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1.5px solid rgba(232, 84, 18, 0.35);
  border-radius: 8px;
  padding: 8px 14px;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}

.lm-btn:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════
   CHALLENGES / SPLIT SECTION
══════════════════════════════════════════════════════ */
.challenges-sec {
  padding: var(--sec-pad) 0;
  background: var(--bg-light);
}

.ch-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.ch-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.ch-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.ch-text h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #111;
  line-height: 1.3;
  margin-bottom: 16px;
}

.ch-text p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 24px;
}

.btn-resp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-grad);
  color: #fff;
  padding: 12px 26px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s;
  box-shadow: var(--shadow-btn);
  border: none;
}

.btn-resp:hover {
  filter: brightness(1.05);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(232, 84, 18, 0.35);
}

.btn-resp:active {
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════
   GALLERY (Lightbox included)
══════════════════════════════════════════════════════ */
.gallery-filter {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.fbtn {
  padding: 7px 18px;
  border-radius: 30px;
  border: 2px solid var(--border);
  background: none;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
}

.fbtn:hover,
.fbtn.active {
  border-color: var(--orange);
  background: var(--orange);
  color: white;
}

.ggrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gitem {
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  position: relative;
}

.gitem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.gitem:hover img {
  transform: scale(1.08);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-inner img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 6px;
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  background: var(--orange);
  color: white;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lprev,
.lnext {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .1);
  border: 2px solid rgba(255, 255, 255, .3);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s;
}

.lprev {
  left: -60px;
}

.lnext {
  right: -60px;
}

.lprev:hover,
.lnext:hover {
  background: var(--orange);
  border-color: var(--orange);
}

/* ══════════════════════════════════════════════════════
   IMPACT / DONATE
══════════════════════════════════════════════════════ */
.dpanel {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 50px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.dpanel h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.dpanel p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.dgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.dbtn {
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-color);
  background: none;
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
  text-align: center;
}

.dbtn:hover,
.dbtn.selected {
  border-color: var(--orange);
  background: var(--orange);
  color: white;
}

.dinput {
  width: 100%;
  padding: 14px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  outline: none;
  font-family: inherit;
}

.dinput:focus {
  border-color: var(--orange);
}

.form-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-sm);
  padding: 15px 20px;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.form-error-msg {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  padding: 15px 20px;
  font-size: 0.95rem;
}

/* Web3Forms honeypot — visually hidden, keeps form design unchanged */
.web3forms-botcheck {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.form-input-v2.input-error {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}

/* Progress bar */
.pbar-wrap {
  margin: 12px 0 6px;
}

.pbar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.pbar-fill {
  height: 100%;
  background: var(--orange);
  width: 0;
  transition: width 1s ease;
}

/* FAQ Accordion */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-q {
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: .2s;
}

.faq-q:hover {
  background: var(--orange-bg);
}

.faq-q.open {
  color: var(--orange);
  background: var(--orange-bg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
  background: #fff;
}

.faq-a.open {
  max-height: 300px;
  padding-bottom: 18px;
}

.faq-a-inner {
  padding: 0 20px;
  font-size: .88rem;
  color: var(--text-light);
}

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.footer {
  background: #fff;
  border-top: 1px solid #f0f0f0;
  padding: 80px 0 0;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col h5 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 25px;
  text-transform: none;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: #666;
  transition: all 0.3s;
}

.footer-col ul li a:hover {
  color: var(--orange);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid #f0f0f0;
  padding: 30px 0;
}

.footer-bot-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  font-size: 0.85rem;
  color: #999;
}

.footer-connect {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-connect span {
  font-size: 0.8rem;
  font-weight: 800;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.social-row {
  display: flex;
  gap: 15px;
}

.social-row a {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  color: #555;
  transition: .2s;
  font-weight: 700;
}

.social-row a:hover {
  background: var(--orange);
  color: #fff;
}

/* ── Back to top ──── */
.back-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(232, 84, 18, .35);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}

.back-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-l {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal-l.in {
  opacity: 1;
  transform: translateX(0);
}

.reveal-r {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal-r.in {
  opacity: 1;
  transform: translateX(0);
}

.sc {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}

.sc.in {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive (core layout) — see end of file for full system ── */

/* ══════════ TIMELINE ══════════ */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background-color: var(--border);
  top: 0;
  bottom: 0;
  left: 30px;
  margin-left: -1px;
}

.tm-item {
  padding: 10px 0 10px 60px;
  position: relative;
  background-color: inherit;
  width: 100%;
  margin-bottom: 40px;
}

.tm-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  left: 22px;
  background-color: #fff;
  border: 4px solid var(--orange);
  border-radius: 50%;
  z-index: 1;
  top: 15px;
}

.tm-year {
  position: absolute;
  left: -40px;
  top: 12px;
  font-weight: 700;
  color: var(--orange);
  font-size: 0.9rem;
}

.tm-content h4 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.tm-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Legacy Card aliases for backward compatibility if needed, 
   but ideally everything should use .pcard now. */
.rep-card, .prog-card, .stat-card-v2 {
  display: none; /* Marked for removal once HTML is updated */
}

/* ══════════ PREMIUM UI (V2) ══════════ */

/* Hero V2 */
.hero-v2 {
  min-height: 500px;
  margin-top: var(--nav-h);
  align-items: center;
  display: flex;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
}

.hero-v2-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(rgba(232, 84, 18, 0.45), rgba(70, 20, 0, 0.6));
  z-index: 1;
}

.hero-v2-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.hero-v2 h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-v2 p {
  font-size: 1.2rem;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
}

/* Purpose Grid */
.purpose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 30px;
  margin-top: 50px;
}

.prog-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.purpose-card {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  border: 1px solid #f0f0f0;
  transition: transform 0.3s ease;
}

.purpose-card:hover { transform: translateY(-5px); }

.p-icon {
  font-size: 2.5rem;
  margin-bottom: 25px;
  display: block;
}

.purpose-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: #111;
}

.purpose-card p {
  color: #555;
  line-height: 1.7;
}

/* Timeline V2 */
.timeline-v2 {
  max-width: 820px;
  margin: 64px auto;
  position: relative;
  padding-left: 128px;
}

.timeline-v2::before {
  content: '';
  position: absolute;
  left: 104px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: linear-gradient(180deg, var(--orange) 0%, rgba(232, 84, 18, 0.15) 100%);
  border-radius: 3px;
}

.tm-item-v2 {
  position: relative;
  margin-bottom: 40px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.tm-item-v2:last-child {
  margin-bottom: 0;
}

.tm-item-v2:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.tm-year-v2 {
  position: absolute;
  left: -128px;
  top: 28px;
  font-weight: 800;
  color: var(--orange);
  font-size: 1.15rem;
  width: 88px;
  text-align: right;
  letter-spacing: -0.02em;
}

.tm-dot-v2 {
  position: absolute;
  left: -30px;
  top: 34px;
  width: 14px;
  height: 14px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(232, 84, 18, 0.15);
  z-index: 1;
}

.tm-content-v2 h4 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #111;
  line-height: 1.3;
}

.tm-content-v2 p {
  color: #666;
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0;
}

/* Impact Stats V2 — Measuring Our Impact */
.impact-measure-sec {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232, 84, 18, 0.07) 0%, transparent 55%),
    linear-gradient(180deg, #faf9f7 0%, #fff 100%);
  overflow: hidden;
}

.impact-measure-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 8px;
}

.impact-measure-eyebrow {
  display: inline-block;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.impact-measure-head .heading-c {
  font-size: 2rem;
  margin-bottom: 12px;
}

.impact-measure-head .subtext {
  margin: 0 auto;
  max-width: 520px;
}

.impact-stats-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 44px;
  padding: 10px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(232, 84, 18, 0.08);
  box-shadow: 0 18px 50px rgba(26, 20, 16, 0.06);
}

.stat-box-v2 {
  position: relative;
  background: #fff;
  padding: 36px 20px 32px;
  text-align: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.stat-box-v2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--orange);
  opacity: 0;
  transition: opacity 0.3s var(--ease), left 0.3s var(--ease), right 0.3s var(--ease);
}

.stat-box-v2:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 84, 18, 0.22);
  box-shadow: 0 16px 36px rgba(232, 84, 18, 0.1);
}

.stat-box-v2:hover::before {
  opacity: 1;
  left: 12%;
  right: 12%;
}

.stat-box-v2 .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  line-height: 1;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange);
}

.stat-box-v2 .number {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--orange);
  display: block;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.stat-box-v2 .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  line-height: 1.4;
}

/* Report Grid V2 */
.reports-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.report-card-v2 {
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 8px 30px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
}

.report-card-v2 h4 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.report-card-v2 p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 25px;
  flex-grow: 1;
}

.btn-report-v2 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #111;
  transition: all 0.3s;
}

.btn-report-v2:hover {
  background: #f9f9f9;
  border-color: var(--orange);
  color: var(--orange);
}

/* Footer Minimal Upgrade */
.footer-v2 {
  background: #fff;
  color: #111;
  border-top: 1px solid #eee;
  padding: 80px 0 40px;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .impact-stats-v2 { grid-template-columns: repeat(2, 1fr); }
  .reports-grid-v2 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-v2 h1 { font-size: 2.5rem; }
  .purpose-grid, .impact-stats-v2, .reports-grid-v2 { grid-template-columns: 1fr; }
}
/* ------------------------------------------------------------ */
/* CHALLENGES & OUR RESPONSE PAGE STYLES                      */
/* ------------------------------------------------------------ */

.ch-split-v2 {
  display: flex;
  align-items: center;
  gap: 56px;
  margin-bottom: 56px;
}

.ch-split-v2 > * {
  flex: 1;
}

/* Order control for flex layout */
.ch-split-v2.rev {
  flex-direction: row-reverse;
}

.ch-text-v2 h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #111;
  line-height: 1.3;
}

.ch-text-v2 p {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

.ch-text-v2 ul {
  list-style: none;
  padding: 0;
}

.ch-text-v2 ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: #555;
}

.ch-text-v2 ul li::before {
  content: '?';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 900;
}

.ch-img-v2 {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0,0,0,0.08);
  transition: transform 0.4s ease;
}

.ch-img-v2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
}

.ch-img-v2:hover {
  transform: translateY(-5px);
}

.response-grid-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 36px;
}

@media (max-width: 991px) {
  .ch-split-v2 { gap: 40px; }
}

@media (max-width: 768px) {
  .ch-split-v2 {
    flex-direction: column !important;
    gap: 30px;
    margin-bottom: 40px;
  }
  .ch-split-v2.rev {
    flex-direction: column !important;
  }
  
  .response-grid-v2 {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------ */
/* NEW CHALLENGES UI COMPONENTS                                */
/* ------------------------------------------------------------ */

/* Feature Category Headers */
.feature-category {
  margin-top: 48px;
}

.feature-category:first-of-type {
  margin-top: 0;
}

.cat-header {
  text-align: center;
  margin-bottom: 40px;
}

.cat-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 10px;
}

.cat-header p {
  font-size: 0.9rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Icon Card (3-column grid) */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.icon-card {
  background: #fff;
  padding: 35px 25px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #f0f0f0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  transition: all 0.3s ease;
}

.icon-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border-color: #eee;
}

.icon-card .icon-v3 {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}

.icon-card h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: #111;
}

.icon-card p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
}

/* Partners Grid */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 60px;
  margin-top: 50px;
  opacity: 0.6;
}

.partner-logo {
  height: 40px;
  filter: grayscale(100%);
  transition: all 0.3s;
}

.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* CTA Banner (Orange) */
.cta-banner {
  background: var(--orange);
  padding: 56px 0;
  text-align: center;
  color: #fff;
}

.cta-banner h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-banner p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0.9;
  line-height: 1.6;
}

.btn-white {
  display: inline-block;
  background: #fff;
  color: var(--orange);
  padding: 14px 34px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.btn-white:hover {
  background: #f9f9f9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Minimal Footer Adjustment */
.footer-minimal {
  background: #fff;
  padding: 60px 0 30px;
  border-top: 1px solid #eee;
}

/* Responsive adjustments for new grids */
@media (max-width: 991px) {
  .icon-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { gap: 40px; }
}

@media (max-width: 768px) {
  .icon-grid { grid-template-columns: 1fr; }
  .cta-banner h2 { font-size: 1.8rem; }
  .cta-banner p { font-size: 1rem; }
}

/* ══════════ CONTACT PAGE V2 ══════════ */

/* Premium Form UI */
.form-card-v2 {
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 15px 40px rgba(0,0,0,0.04);
}

.form-group-v2 {
  margin-bottom: 25px;
}

.form-row-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-label-v2 {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.form-input-v2 {
  width: 100%;
  padding: 15px 20px;
  background: #f8f9fa;
  border: 1px solid #eee;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #111;
  transition: all 0.3s;
  outline: none;
}

.form-input-v2:focus {
  background: #fff;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(232, 84, 18, 0.05);
}

.btn-submit-v2 {
  width: 100%;
  background: var(--orange);
  color: #fff;
  padding: 16px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-submit-v2:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(232, 84, 18, 0.2);
}

.btn-submit-v2:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-submit-v2:disabled:hover {
  background: var(--orange);
  transform: none;
  box-shadow: none;
}

/* Get in Touch section */
.get-in-touch-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.get-in-touch-eyebrow {
  color: var(--orange) !important;
  margin-bottom: 10px;
}

.get-in-touch-header .heading {
  text-align: center;
  margin-bottom: 12px;
}

.get-in-touch-lead {
  margin: 0;
  color: #666;
  line-height: 1.7;
}

.get-in-touch-sec .ka-locations-block {
  margin-bottom: 36px;
}

.get-in-touch-sec .ka-map-lead {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.get-in-touch-sec .ka-map-heading {
  text-align: center;
}

.get-in-touch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: stretch;
}

.get-in-touch-form-title {
  margin-bottom: 24px;
  font-weight: 800;
}

.get-in-touch-grid .form-card-v2 {
  height: 100%;
}

/* Contact Info v2 */
.contact-info-v2 {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.contact-card-v2 {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid #eceae6;
  border-radius: 14px;
  transition: all 0.3s;
  flex: 1;
}

@media (max-width: 900px) {
  .get-in-touch-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-info-v2 {
    height: auto;
  }

  .contact-card-v2 {
    flex: none;
  }
}

@media (max-width: 768px) {
  .get-in-touch-header {
    margin-bottom: 28px;
  }

  .get-in-touch-sec .ka-locations-block {
    margin-bottom: 28px;
  }
}

.contact-card-v2:hover {
  transform: translateY(-2px);
  border-color: var(--orange);
  box-shadow: 0 8px 22px rgba(232, 84, 18, 0.08);
}

.contact-icon-v2 {
  width: 50px;
  height: 50px;
  background: var(--orange-bg);
  color: var(--orange);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-details-v2 h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.contact-details-v2 p {
  font-size: 0.85rem;
  color: #666;
}

/* ── Karnataka locations map (contact page) ───────────────── */
@keyframes ka-pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(0.65);
    opacity: 0.55;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.4);
    opacity: 0;
  }
}

@keyframes ka-card-pulse-border {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(232, 84, 18, 0.28);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(232, 84, 18, 0.08);
  }
}

.ka-locations-block {
  margin-bottom: 8px;
}

.ka-map-heading {
  font-size: 1.05rem;
  font-weight: 800;
  color: #111;
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
}

.ka-map-lead {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 22px 0;
  max-width: 520px;
}

.ka-map-layout {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(220px, 1.05fr);
  gap: 28px;
  align-items: start;
}

.ka-map-stage {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, #f8fafc 0%, #e2e8f0 100%);
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  min-height: 360px;
}

.karnataka-leaflet-map {
  width: 100%;
  height: 420px;
  min-height: 320px;
  z-index: 1;
}

.ka-leaflet-pin {
  width: 26px;
  height: 26px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.ka-leaflet-pin--bangalore {
  background: #2563eb;
}

.ka-leaflet-pin--gulbarga {
  background: var(--orange, #ea580c);
}

.ka-leaflet-pin.is-active {
  box-shadow: 0 0 0 4px rgba(232, 84, 18, 0.35), 0 2px 8px rgba(0, 0, 0, 0.35);
}

.leaflet-popup-content {
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 10px 14px;
  font-family: inherit;
}

.leaflet-popup-content b {
  color: #111;
}

.ka-map-svg {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  max-height: 420px;
}

.ka-state-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  fill: #64748b;
}

.ka-pin-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ka-pin-btn {
  position: absolute;
  pointer-events: auto;
  transform: translate(-50%, -100%);
  margin-top: -4px;
  padding: 0 6px 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font: inherit;
  color: #0f172a;
  transition: transform 0.2s ease;
}

.ka-pin-btn:hover,
.ka-pin-btn:focus-visible {
  transform: translate(-50%, -100%) scale(1.06);
  outline: none;
}

.ka-pin-btn:focus-visible .ka-pin-label {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ka-pin-visual {
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
}

.ka-pin-core {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  border: 2px solid #fff;
  box-shadow: 0 2px 10px rgba(232, 84, 18, 0.45);
  z-index: 2;
}

.ka-pin-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  margin: 0;
  border-radius: 50%;
  border: 2px solid var(--orange);
  animation: ka-pulse-ring 2.4s ease-out infinite;
  pointer-events: none;
}

.ka-pin-ring--delayed {
  animation-delay: 1.2s;
}

.ka-pin-btn.is-active .ka-pin-core {
  background: var(--orange-dark);
  transform: scale(1.08);
}

.ka-pin-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #334155;
  white-space: nowrap;
  text-shadow: 0 1px 0 #fff, 0 0 8px #fff;
}

.ka-loc-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ka-loc-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 20px 20px 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  border-left: 4px solid #e2e8f0;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.ka-loc-card:hover {
  border-color: #cbd5e1;
}

.ka-loc-card.is-active {
  border-color: rgba(232, 84, 18, 0.35);
  border-left-color: var(--orange);
  background: #fffdfb;
  animation: ka-card-pulse-border 2.4s ease-in-out infinite;
}

.ka-loc-sync {
  position: relative;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.ka-loc-sync-dot {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(232, 84, 18, 0.35);
  z-index: 2;
  transition: transform 0.2s ease;
}

.ka-loc-sync-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  opacity: 0;
  pointer-events: none;
}

.ka-loc-card.is-active .ka-loc-sync-ring {
  animation: ka-pulse-ring 2.4s ease-out infinite;
  opacity: 1;
}

.ka-loc-card.is-active .ka-loc-sync-ring--delayed {
  animation-delay: 1.2s;
}

.ka-loc-card.is-active .ka-loc-sync-dot {
  transform: scale(1.1);
  background: var(--orange-dark);
}

.ka-loc-body h4 {
  font-size: 0.98rem;
  font-weight: 800;
  margin: 0 0 10px 0;
  color: #111;
}

.ka-loc-sub {
  font-weight: 600;
  font-size: 0.82rem;
  color: #64748b;
}

.ka-loc-lines {
  font-size: 0.84rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 900px) {
  .ka-map-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ka-map-svg {
    max-height: 360px;
  }

  .karnataka-leaflet-map {
    height: 340px;
  }
}

@media (max-width: 991px) {
  .split-2-start {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* Map Container v2 */
.map-wrap-v2 {
  margin-top: 60px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eee;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  line-height: 0;
}

@media (max-width: 991px) {
  .form-card-v2 { padding: 30px; }
}

@media (max-width: 768px) {
  .form-row-v2 { grid-template-columns: 1fr; }
  .form-card-v2 { padding: 30px 20px; }
}

/* Responsive adjustments for new grids */
@media (max-width: 991px) {
  .icon-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { gap: 40px; }
}

@media (max-width: 768px) {
  .icon-grid { grid-template-columns: 1fr; }
  .cta-banner h2 { font-size: 1.8rem; }
  .cta-banner p { font-size: 1rem; }
}

/* -- Cause Selector -- */
.cause-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cause-btn {
  padding: 10px 18px;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  background: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
}

.cause-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.cause-btn.selected {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

@media (max-width: 768px) {
  .cause-grid { gap: 8px; }
  .cause-btn { font-size: 0.82rem; padding: 8px 14px; }
}

/* -- Location Sub-Map Grid -- */
@media (max-width: 768px) {
  .loc-submap-grid { grid-template-columns: 1fr !important; }
}

/* -- Partners Logo Grid -- */
.partners-sec {
  background: linear-gradient(180deg, #fff 0%, #faf9f7 100%);
  border-top: 1px solid #f0eeeb;
}

.partners-header {
  text-align: center;
  margin-bottom: 36px;
}

.partners-eyebrow {
  display: inline-block;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.partners-header .subtext {
  margin-bottom: 0;
  max-width: 640px;
}

.partners-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid #eceae6;
  border-radius: 16px;
  padding: 24px 16px 20px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
  min-height: 100%;
}

.partner-card:hover {
  border-color: rgba(232, 84, 18, 0.35);
  box-shadow: 0 12px 32px rgba(26, 20, 16, 0.08);
  transform: translateY(-4px);
}

.partner-logo-box {
  width: 100%;
  height: 112px;
  background: #ffffff;
  border: 1px solid #eceae6;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  padding: 14px 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.partner-card:hover .partner-logo-box {
  border-color: rgba(232, 84, 18, 0.28);
  box-shadow: 0 0 0 3px rgba(232, 84, 18, 0.06);
}

.partner-logo-placeholder {
  font-size: 1.6rem;
  opacity: 0.55;
}

.partner-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.partner-info h4 {
  font-size: 0.84rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0;
  line-height: 1.35;
}

.partner-info span {
  font-size: 0.74rem;
  color: #888;
  font-weight: 500;
}

/* -- Partner Logo Image -- */
.partner-logo-img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 78px;
  object-fit: contain;
  object-position: center;
  display: block;
}

@media (max-width: 1100px) {
  .partners-logo-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1024px) {
  .partners-logo-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .partners-logo-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .partner-logo-box { height: 92px; padding: 12px; }
  .partner-card { padding: 18px 12px 16px; }
  .partner-info h4 { font-size: 0.8rem; }
}

@media (max-width: 480px) {
  .partners-logo-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .partner-logo-box { height: 84px; }
}

/* --------------------------------------------
   ALUMNI SUCCESS STORIES PAGE
   -------------------------------------------- */

/* -- Stats Bar -- */
.alumni-stats-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.alumni-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 48px;
  color: #fff;
}

.alumni-stat-num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.alumni-stat-lbl {
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

.alumni-stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.3);
}

/* -- Section Label -- */
.alumni-label {
  display: inline-block;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* -- SPOTLIGHT CARD -- */
.spotlight-card {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 0;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 56px rgba(0,0,0,0.09);
  border: 1px solid #eee;
}

.spotlight-img-wrap {
  position: relative;
  overflow: hidden;
}

.spotlight-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 480px;
  transition: transform 0.5s ease;
}

.spotlight-card:hover .spotlight-img {
  transform: scale(1.04);
}

.spotlight-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--orange);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: 0.04em;
}

.spotlight-body {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spotlight-name {
  font-size: 2.2rem;
  font-weight: 800;
  color: #111;
  line-height: 1.1;
  margin-bottom: 6px;
}

.spotlight-role {
  font-size: 1rem;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 28px;
}

.spotlight-quote-wrap {
  position: relative;
  background: #fafafa;
  border-left: 4px solid var(--orange);
  border-radius: 0 10px 10px 0;
  padding: 20px 24px 20px 20px;
  margin-bottom: 30px;
}

.quote-mark {
  font-size: 3.5rem;
  color: var(--orange);
  font-family: Georgia, serif;
  line-height: 0;
  vertical-align: -20px;
  margin-right: 4px;
  opacity: 0.5;
  float: left;
}

.spotlight-quote {
  font-size: 0.97rem;
  color: #444;
  line-height: 1.8;
  font-style: italic;
}

.spotlight-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spotlight-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.86rem;
}

.meta-icon {
  font-size: 1.1rem;
  width: 32px;
  height: 32px;
  background: var(--orange-soft);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.spotlight-meta-item strong {
  display: block;
  font-weight: 700;
  color: #111;
  font-size: 0.8rem;
}

.spotlight-meta-item span {
  color: #666;
  font-size: 0.82rem;
}

/* -- ALUMNI CARDS GRID -- */
.alumni-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.alumni-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.alumni-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  border-color: var(--orange);
}

.alumni-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.alumni-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.alumni-card:hover .alumni-card-img {
  transform: scale(1.06);
}

.alumni-card-batch {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
}

.alumni-card-body {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.alumni-profession-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 0.73rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.alumni-card-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 4px;
  line-height: 1.2;
}

.alumni-card-role {
  font-size: 0.82rem;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 14px;
}

.alumni-card-quote {
  font-size: 0.84rem;
  color: #555;
  line-height: 1.7;
  font-style: italic;
  border-left: 3px solid #eee;
  padding-left: 12px;
  margin-bottom: 16px;
  flex: 1;
  transition: border-color 0.3s;
}

.alumni-card:hover .alumni-card-quote {
  border-color: var(--orange);
}

.alumni-card-footer {
  font-size: 0.78rem;
  color: #999;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
}

/* -- CTA SECTION -- */
.alumni-cta-section {
  background: linear-gradient(135deg, #111 0%, #1e1e1e 50%, #2a1a10 100%);
  padding: 80px 0;
}

.alumni-cta-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: center;
}

.alumni-cta-text h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}

.alumni-cta-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 28px;
}

.alumni-cta-outline {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.4);
  color: #fff;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.25s;
}

.alumni-cta-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}

.alumni-cta-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* -- RESPONSIVE -- */
@media (max-width: 1200px) {
  .alumni-grid { grid-template-columns: repeat(3, 1fr); }
  .spotlight-card { grid-template-columns: 360px 1fr; }
}

@media (max-width: 991px) {
  .alumni-grid { grid-template-columns: repeat(2, 1fr); }
  .spotlight-card { grid-template-columns: 1fr; }
  .spotlight-img { min-height: 320px; }
  .spotlight-body { padding: 36px 32px; }
  .spotlight-name { font-size: 1.8rem; }
  .alumni-cta-inner { grid-template-columns: 1fr; }
  .alumni-cta-card { max-width: 400px; }
  .alumni-stat-item { padding: 0 28px; }
}

@media (max-width: 768px) {
  .alumni-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .alumni-stat-divider { display: none; }
  .alumni-stats-bar { gap: 20px; }
  .alumni-cta-text h2 { font-size: 1.8rem; }
  .spotlight-body { padding: 28px 24px; }
}

@media (max-width: 480px) {
  .alumni-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════
   FOOTER SOCIAL ICONS — "Follow Our Journey"
   ════════════════════════════════════════════ */
.footer-bottom-bar {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-copy-txt {
  font-size: 0.82rem;
  color: #999;
}
.footer-copy-txt a {
  color: #999;
  text-decoration: none;
}
.footer-social-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.footer-social-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #bbb;
}
.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}
.soc-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f5f5f5;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  flex-shrink: 0;
}
.soc-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  background: #ececec;
}
.soc-link svg {
  display: block;
  pointer-events: none;
}
@media (max-width: 480px) {
  .footer-bottom-bar { flex-direction: column; align-items: flex-start; }
  .footer-social-block { align-items: flex-start; }
}

/* ══════════════════════════════════════════════════════
   DONATION / HELP PAGE COMPONENTS
══════════════════════════════════════════════════════ */
.cause-label {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border: 2px solid #e8e8e8;
  border-radius: 50px;
  background: #fafafa;
  font-size: 0.88rem;
  font-weight: 600;
  color: #555;
  cursor: default;
  user-select: none;
}

.donate-contact-panel {
  max-width: 100%;
}

/* -- Support Our Cause (Contact) -- */
.support-cause-sec {
  background:
    radial-gradient(ellipse 70% 60% at 10% 0%, rgba(232, 84, 18, 0.07), transparent 55%),
    radial-gradient(ellipse 50% 50% at 100% 100%, rgba(232, 84, 18, 0.05), transparent 50%),
    #fff;
  border-top: 1px solid #f0eeeb;
}

.support-cause-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.support-cause-eyebrow {
  display: inline-block;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.support-cause-lead {
  color: #666;
  line-height: 1.8;
  margin: 0;
}

.support-cause-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  align-items: stretch;
  max-width: 980px;
  margin: 0 auto;
}

.support-cause-card {
  background: #fff;
  border: 1px solid #eceae6;
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 10px 28px rgba(26, 20, 16, 0.04);
}

.support-cause-donate {
  border-color: rgba(232, 84, 18, 0.22);
  background: linear-gradient(165deg, #fff 0%, #fffaf6 100%);
}

.support-cause-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1a1410;
  margin: 0 0 10px;
}

.support-cause-card-text {
  color: #666;
  line-height: 1.7;
  margin: 0 0 22px;
  font-size: 0.95rem;
}

.support-cause-actions {
  margin-top: 22px;
}

.support-cause-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 100%;
  text-align: center;
}

.support-cause-tax {
  margin-top: 22px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff8f0, #fff3e6);
  border: 1.5px solid rgba(232, 84, 18, 0.55);
}

.support-cause-tax-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
  line-height: 1;
}

.support-cause-tax p {
  font-size: 0.88rem;
  color: #333;
  line-height: 1.6;
  margin: 0;
  font-weight: 600;
}

.support-cause-tax strong {
  color: var(--orange);
}

@media (max-width: 900px) {
  .support-cause-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .support-cause-header {
    margin-bottom: 28px;
  }

  .support-cause-card {
    padding: 24px 20px;
  }
}

.donate-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.donate-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.donate-contact-item:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 22px rgba(232, 84, 18, 0.08);
  transform: translateY(-2px);
}

.donate-contact-icon {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}

.donate-contact-item strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 4px;
}

.donate-contact-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
  word-break: break-word;
}

.help-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.help-card {
  padding: 40px;
  border-radius: 16px;
  border: 1px solid #eee;
  background: #fff;
  text-align: center;
}

.spread-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.spread-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1.5px solid #e6e6e6;
  background: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  color: #333;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.spread-social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.spread-social-ig:hover {
  border-color: #d6249f;
  background: #fff7fb;
}

.spread-social-li:hover {
  border-color: #0A66C2;
  background: #f3f8fc;
}

.contact-details-v2 a {
  color: inherit;
  word-break: break-word;
}

.contact-details-v2 a:hover {
  color: var(--orange);
}

/* ══════════════════════════════════════════════════════
   IMAGE COLLAGE
══════════════════════════════════════════════════════ */
.img-collage {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  margin-top: 48px;
  min-height: 420px;
}
.img-collage figure {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
}
.img-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.img-collage figure:hover img {
  transform: scale(1.04);
}
.img-collage-main {
  grid-row: 1 / 3;
  grid-column: 1;
}
.img-collage-side-top {
  grid-row: 1;
  grid-column: 2;
}
.img-collage-side-bottom {
  grid-row: 2;
  grid-column: 2;
}
.img-collage-compact {
  min-height: 320px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.img-collage-about {
  grid-template-columns: 1.35fr 0.9fr 1fr;
  grid-template-rows: 1.1fr 0.9fr;
  min-height: 480px;
  margin-top: 0;
}
.img-collage-about .img-collage-main {
  grid-row: 1 / 3;
  grid-column: 1;
}
.img-collage-about .img-collage-tall {
  grid-row: 1 / 3;
  grid-column: 2;
}
.img-collage-about .img-collage-wide {
  grid-row: 1;
  grid-column: 3;
}
.img-collage-about .img-collage-square {
  grid-row: 2;
  grid-column: 3;
}
.life-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.life-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 3 / 2;
}
.life-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.life-gallery figure:hover img {
  transform: scale(1.04);
}
@media (max-width: 768px) {
  .img-collage,
  .img-collage-about {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }
  .img-collage-main,
  .img-collage-about .img-collage-main {
    grid-row: auto;
    grid-column: 1 / 3;
    aspect-ratio: 16 / 10;
  }
  .img-collage-side-top,
  .img-collage-side-bottom,
  .img-collage-about .img-collage-tall,
  .img-collage-about .img-collage-wide,
  .img-collage-about .img-collage-square {
    grid-row: auto;
    grid-column: auto;
    aspect-ratio: 4 / 3;
  }
  .img-collage-about .img-collage-tall {
    grid-column: 1 / 3;
    aspect-ratio: 16 / 9;
  }
  .life-gallery {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .img-collage,
  .img-collage-about {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .img-collage-main,
  .img-collage-about .img-collage-main,
  .img-collage-about .img-collage-tall,
  .img-collage-side-top,
  .img-collage-side-bottom,
  .img-collage-about .img-collage-wide,
  .img-collage-about .img-collage-square {
    grid-column: 1;
    aspect-ratio: 16 / 10;
  }
  .life-gallery {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE SYSTEM — Desktop / Tablet (1024) / Mobile (768, 480)
══════════════════════════════════════════════════════ */

/* ── Tablet: max-width 1024px ── */
@media (max-width: 1024px) {
  :root {
    --sec-pad: 44px;
    --wrap-pad: 20px;
    --nav-h: 64px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
  }

  .nav-brand {
    grid-column: 1;
    justify-self: start;
  }

  .nav-logo {
    grid-column: 2;
    justify-self: center;
  }

  .hamburger {
    grid-column: 3;
    justify-self: end;
  }

  .nav-brand-text {
    display: block;
    font-size: 0.68rem;
    line-height: 1.3;
  }

  .nav-ssp-logo {
    height: 44px;
  }

  .nav-logo-img {
    height: 36px;
  }

  .split-2,
  .split-2-start {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .grid-3,
  .pgrid,
  .ggrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-top: 1px solid var(--border);
  }

  .ch-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ch-split-v2 {
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    padding: 0 var(--wrap-pad) 48px;
  }

  .footer-bot-inner {
    padding: 0 var(--wrap-pad);
  }

  .dpanel {
    padding: 36px;
  }

  .hero-content {
    padding: 52px max(24px, 5vw);
  }

  .hero-v2 h1 {
    font-size: 2.75rem;
  }

  .hero-v2 p {
    font-size: 1.05rem;
  }

  .impact-stats-v2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 10px;
  }

  .stat-box-v2 {
    padding: 28px 16px 26px;
  }

  .stat-box-v2 .icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
    margin-bottom: 14px;
  }

  .reports-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .purpose-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .icon-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .response-grid-v2 {
    grid-template-columns: 1fr;
  }

  .alumni-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .spotlight-card {
    grid-template-columns: 360px 1fr;
  }

  .lnext,
  .lprev {
    display: none;
  }

  .lightbox-inner {
    max-width: 94vw;
  }

  /* Inline grid layouts in HTML */
  .prog-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  [style*="grid-template-columns: repeat(auto-fit"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ── Mobile: max-width 768px ── */
@media (max-width: 768px) {
  :root {
    --sec-pad: 40px;
    --wrap-pad: 16px;
    --nav-h: 72px;
  }

  .nav-brand-text {
    display: block;
    font-size: 0.62rem;
    line-height: 1.25;
  }

  .nav-ssp-logo {
    height: 40px;
  }

  .nav-logo-img {
    height: 34px;
  }

  .nav-brand {
    gap: 8px;
  }

  .nav-inner {
    gap: 8px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero {
    min-height: calc(88vh - var(--nav-h));
    align-items: flex-end;
  }

  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.12) 0%,
        rgba(0, 0, 0, 0.28) 45%,
        rgba(0, 0, 0, 0.62) 100%
      ),
      linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.42) 0%,
        rgba(0, 0, 0, 0.22) 55%,
        rgba(0, 0, 0, 0.06) 100%
      );
  }

  .hero-center {
    min-height: 320px;
    align-items: center;
  }

  .hero-center .hero-overlay {
    background: linear-gradient(rgba(232, 84, 18, 0.45), rgba(70, 20, 0, 0.55));
  }

  .hero-content {
    padding: 40px max(20px, 5vw) 48px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-text p {
    max-width: 100%;
    font-size: 0.98rem;
    margin-bottom: 28px;
    line-height: 1.65;
  }

  .hero-text h1 {
    font-size: clamp(1.75rem, 6.2vw, 2.35rem);
    margin-bottom: 18px;
    line-height: 1.18;
  }

  .hero-btns {
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }

  .btn-hero-primary,
  .btn-hero-outline {
    width: 100%;
    text-align: center;
    min-height: 48px;
    padding: 14px 20px;
  }

  .heading-c,
  .heading {
    font-size: 1.4rem;
    margin-bottom: 28px;
  }

  .subtext {
    font-size: 0.84rem;
    margin-bottom: 32px;
  }

  .grid-3,
  .grid-4,
  .pgrid,
  .ggrid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-top: 1px solid var(--border);
  }

  .stat-num {
    font-size: 2rem;
  }

  .pcard-flex {
    flex-direction: column;
    padding: 24px;
  }

  .pcard-img {
    height: 200px;
  }

  .dpanel {
    padding: 28px 20px;
  }

  .dgrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-bot-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-connect {
    flex-wrap: wrap;
  }

  .impact-sec {
    padding: 48px 0 40px;
  }

  .challenges-sec {
    padding: 48px 0;
  }

  .ch-text h3,
  .ch-text-v2 h3 {
    font-size: 1.5rem;
  }

  .ch-split-v2 {
    flex-direction: column !important;
    gap: 28px;
    margin-bottom: 48px;
  }

  .ch-split-v2.rev {
    flex-direction: column !important;
  }

  .hero-v2 {
    min-height: 360px;
  }

  .hero-v2 h1 {
    font-size: 2rem;
  }

  .hero-v2 p {
    font-size: 0.95rem;
  }

  .hero-v2-content {
    padding: 0 var(--wrap-pad);
  }

  .timeline-v2 {
    padding-left: 0;
    margin: 40px auto;
    padding-top: 8px;
  }

  .timeline-v2::before {
    left: 14px;
    top: 0;
    bottom: 0;
  }

  .tm-item-v2 {
    margin-bottom: 24px;
    padding: 20px 18px 20px 44px;
  }

  .tm-year-v2 {
    position: static;
    display: inline-block;
    width: auto;
    text-align: left;
    font-size: 0.85rem;
    margin-bottom: 8px;
    padding: 4px 10px;
    background: var(--orange-soft);
    border-radius: 999px;
    letter-spacing: 0.02em;
  }

  .tm-dot-v2 {
    left: 9px;
    top: 28px;
    width: 12px;
    height: 12px;
  }

  .tm-content-v2 h4 {
    font-size: 1.1rem;
  }

  .tm-content-v2 p {
    font-size: 0.92rem;
  }

  .purpose-grid,
  .impact-stats-v2,
  .reports-grid-v2,
  .purpose-grid {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .impact-stats-v2 {
    padding: 8px;
    gap: 10px;
  }

  .impact-measure-head .heading-c {
    font-size: 1.55rem;
  }

  .purpose-card {
    padding: 28px 24px;
  }

  .icon-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cta-banner {
    padding: 56px var(--wrap-pad);
  }

  .cta-banner h2 {
    font-size: 1.75rem;
  }

  .cta-banner p {
    font-size: 0.95rem;
  }

  .form-card-v2 {
    padding: 28px 20px;
  }

  .form-row-v2 {
    grid-template-columns: 1fr;
  }

  .ka-map-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ka-map-svg {
    max-height: 320px;
  }

  .karnataka-leaflet-map {
    height: 300px;
  }

  .split-2-start {
    gap: 36px;
  }

  .gallery-filter {
    gap: 8px;
  }

  .fbtn {
    padding: 6px 14px;
    font-size: 0.78rem;
  }

  .alumni-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .alumni-stat-divider {
    display: none;
  }

  .alumni-stats-bar {
    gap: 16px;
    justify-content: center;
  }

  .alumni-stat-item {
    padding: 0 20px;
  }

  .spotlight-card {
    grid-template-columns: 1fr;
  }

  .spotlight-img {
    min-height: 280px;
  }

  .spotlight-body {
    padding: 28px 24px;
  }

  .spotlight-name {
    font-size: 1.75rem;
  }

  .alumni-cta-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .alumni-cta-text h2 {
    font-size: 1.75rem;
  }

  .alumni-cta-section {
    padding: 56px 0;
  }

  .reveal-l,
  .reveal-r {
    transform: translateY(20px);
  }

  .reveal-l.in,
  .reveal-r.in {
    transform: translateY(0);
  }

  .back-top {
    bottom: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
  }

  .map-wrap-v2 {
    margin-top: 40px;
  }

  .map-wrap-v2 iframe {
    height: 280px !important;
    min-height: 280px;
  }

  [style*="grid-template-columns: repeat(auto-fit"] {
    grid-template-columns: 1fr !important;
  }

  .cause-grid {
    gap: 8px;
  }

  .cause-btn {
    font-size: 0.82rem;
    padding: 8px 14px;
  }
}

/* ── Small mobile: max-width 480px ── */
@media (max-width: 480px) {
  :root {
    --sec-pad: 36px;
    --wrap-pad: 14px;
    --nav-h: 72px;
  }

  .nav-inner {
    gap: 6px;
  }

  .nav-brand {
    gap: 6px;
  }

  .nav-brand-text {
    display: block;
    font-size: 0.55rem;
    line-height: 1.2;
  }

  .nav-ssp-logo {
    height: 36px;
  }

  .nav-logo-img {
    height: 30px;
  }

  .hero {
    min-height: calc(90vh - var(--nav-h));
  }

  .hero-text h1 {
    font-size: clamp(1.55rem, 7vw, 1.9rem);
  }

  .hero-text p {
    font-size: 0.94rem;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .btn-hero-primary,
  .btn-hero-outline {
    width: 100%;
    text-align: center;
  }

  .heading-c,
  .heading {
    font-size: 1.25rem;
    margin-bottom: 22px;
  }

  .stats-row {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .stat-item {
    border-right: none !important;
    border-bottom: 1px solid var(--border);
    padding: 20px 12px;
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-top: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .dgrid {
    grid-template-columns: 1fr;
  }

  .hero-v2 {
    min-height: 300px;
  }

  .hero-v2 h1 {
    font-size: 1.65rem;
    margin-bottom: 14px;
  }

  .hero-v2 p {
    font-size: 0.88rem;
  }

  .dpanel h3 {
    font-size: 1.4rem;
  }

  .faq-q {
    padding: 14px 16px;
    font-size: 0.9rem;
  }

  .cta-banner h2 {
    font-size: 1.45rem;
  }

  .btn-white {
    width: 100%;
    text-align: center;
  }

  .alumni-grid {
    grid-template-columns: 1fr;
  }

  .alumni-stat-num {
    font-size: 1.65rem;
  }

  .alumni-stat-item {
    padding: 0 12px;
  }

  .mobile-nav {
    padding: 12px 14px;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }

  .mobile-nav a {
    padding: 12px 10px;
  }

  .ch-text-v2 h3 {
    font-size: 1.35rem;
  }

  .feature-category {
    margin-top: 48px;
  }

  .cat-header h3 {
    font-size: 1.25rem;
  }
}

/* Prevent horizontal overflow from wide content */
.wrap,
.nav-inner,
.footer-minimal,
.hero-content,
.hero-v2-content {
  max-width: 100%;
}

.pcard,
.help-card,
.partner-card,
.form-card-v2,
.dpanel {
  max-width: 100%;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

/* Lock scroll when mobile menu is open */
body.nav-open {
  overflow: hidden;
}

/* Touch-friendly tap targets */
@media (max-width: 768px) {
  .hamburger {
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .mobile-nav a,
  .mob-donate {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* ── Extra-small phones: max-width 360px (covers 320px) ── */
@media (max-width: 360px) {
  :root {
    --wrap-pad: 12px;
    --sec-pad: 32px;
    --nav-h: 70px;
  }

  .nav-ssp-logo {
    height: 32px;
  }

  .nav-logo-img {
    height: 28px;
  }

  .nav-brand-text {
    display: block;
    font-size: 0.5rem;
    max-width: 88px;
    white-space: normal;
  }

  .hero {
    min-height: calc(88vh - var(--nav-h));
  }

  .hero-bg {
    background-position: 62% center;
  }

  .hero-text h1,
  .hero-v2 h1 {
    font-size: 1.45rem;
    line-height: 1.22;
  }

  .hero-text p,
  .hero-v2 p {
    font-size: 0.9rem;
  }

  .help-card {
    padding: 28px 18px;
  }

  .help-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .spread-social {
    flex-direction: column;
    align-items: stretch;
  }

  .spread-social-btn {
    justify-content: center;
    width: 100%;
  }

  .cause-label {
    font-size: 0.78rem;
    padding: 8px 12px;
  }

  .help-card {
    padding: 28px 18px;
  }

  .footer-copy-txt {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .ch-split-v2 {
    gap: 20px;
  }

  .ka-map-svg {
    max-height: 260px;
  }

  .karnataka-leaflet-map {
    height: 260px;
  }
}

/* ------------------------------------------------------
   SITE FOOTER (Premium NGO) + UTILITIES
------------------------------------------------------ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  background: linear-gradient(165deg, var(--footer-bg) 0%, var(--footer-bg-2) 55%, #1f1712 100%);
  color: rgba(255, 255, 255, 0.82);
  padding: 72px 0 0;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 10% 0%, rgba(232, 84, 18, 0.18), transparent 60%),
    radial-gradient(ellipse 40% 35% at 90% 20%, rgba(232, 84, 18, 0.08), transparent 55%);
  pointer-events: none;
}

.site-footer .wrap {
  position: relative;
  z-index: 1;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}

.footer-logo-link {
  display: inline-block;
  transition: opacity 0.25s, transform 0.25s;
}

.footer-logo-link:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.footer-mission {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.68);
  max-width: 340px;
  margin-bottom: 0;
}

.footer-brand .footer-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0 0;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 340px;
}

.footer-nav h5,
.footer-contact h5 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  transition: color 0.25s, transform 0.25s;
  display: inline-block;
}

.footer-nav a:hover {
  color: var(--orange);
  transform: translateX(4px);
}

.footer-contact address {
  font-style: normal;
}

.footer-contact p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 14px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.25s;
}

.footer-contact a:hover {
  color: var(--orange);
}

.footer-social-row {
  display: flex;
  gap: 12px;
}

.site-footer .soc-link {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.25s, transform 0.25s, border-color 0.25s, color 0.25s;
}

.site-footer .soc-link:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(232, 84, 18, 0.35);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.25s;
}

.footer-credit a:hover {
  color: var(--orange);
}

.work-sec {
  padding-top: 36px;
  padding-bottom: var(--sec-pad);
}

.work-sec .heading {
  margin-bottom: 8px;
}

.work-sec .subtext {
  margin-bottom: 24px;
}

@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding-top: 56px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-mission {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* Keep legacy footer-minimal usable if present */
.footer-minimal {
  background: linear-gradient(165deg, var(--footer-bg) 0%, var(--footer-bg-2) 100%);
  color: rgba(255, 255, 255, 0.8);
  padding: 64px 0 28px;
  border-top: none;
}

.footer-minimal .footer-col h5 {
  color: #fff;
}

.footer-minimal .footer-col ul li a {
  color: rgba(255, 255, 255, 0.65);
}

.footer-minimal .footer-col ul li a:hover {
  color: var(--orange);
}

.footer-minimal .footer-bottom-bar {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.footer-minimal .footer-copy-txt,
.footer-minimal .footer-copy-txt a,
.footer-minimal .footer-social-label {
  color: rgba(255, 255, 255, 0.5);
}

.footer-minimal .soc-link {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.footer-minimal .soc-link:hover {
  background: var(--orange);
}

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
