/* ================================================
   KHANDAL VIPRA MAHASABHA — Design System v2
   ================================================ */

/* ---- Tokens ---- */
:root {
  /* Logo-matched palette — primary is the deep saffron from the seal */
  --cream:      #F8F5EF;
  --cream-d:    #EDE5D2;
  --white:      #FFFFFF;
  --ink:        #18100A;
  --ink-2:      #2A1808;
  --saffron:    #CC5500;   /* exact logo orange */
  --saffron-l:  #E87030;
  --saffron-d:  #A83E00;   /* darker for text on light bg */
  --gold:       #B07C18;
  --gold-l:     #CFA030;
  --gold-pale:  rgba(176, 124, 24, 0.08);
  --text:       #1A0E08;
  --muted:      #6A4C30;
  --faint:      #9C7858;
  --border:     rgba(176, 124, 24, 0.14);
  --border-2:   rgba(176, 124, 24, 0.26);
  --shadow-s:   0 1px 8px rgba(18, 10, 4, 0.06);
  --shadow-m:   0 6px 28px rgba(18, 10, 4, 0.09);
  --shadow-l:   0 20px 64px rgba(18, 10, 4, 0.11);
  --shadow-xl:  0 36px 100px rgba(18, 10, 4, 0.14);
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  --r-xl: 36px;
  --hh:  76px;
  --px:  48px;
  --max: 1240px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Mukta', system-ui, sans-serif;
  font-size: 16px;
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ---- Container ---- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--px);
}

/* ---- Eyebrow ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 5px 16px;
  border-radius: 999px;
  background: rgba(204, 85, 0, 0.07);
  border: 1px solid rgba(204, 85, 0, 0.20);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--saffron-d);
  margin-bottom: 18px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.93rem;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--saffron);
  color: #fff;
  border-color: var(--saffron);
  box-shadow: 0 4px 18px rgba(204, 85, 0, 0.32);
  letter-spacing: 0.01em;
}
.btn-primary:hover {
  background: var(--saffron-l);
  border-color: var(--saffron-l);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(204, 85, 0, 0.42);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-2);
}
.btn-secondary:hover {
  background: var(--cream-d);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.09);
  color: #fff;
  border-color: rgba(255,255,255,0.18);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.16);
  transform: translateY(-2px);
}

/* ================================================
   HEADER
   ================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--hh);
  background: var(--ink);
  border-bottom: 1px solid rgba(204, 85, 0, 0.18);
  transition: box-shadow 300ms ease, background 300ms ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 32px rgba(0,0,0,0.35);
  background: rgba(24, 16, 10, 0.97);
  backdrop-filter: blur(20px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

/* Logo */
.logo-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.logo-mark {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 2px solid rgba(204, 85, 0, 0.30);
  overflow: hidden;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.08), 0 4px 16px rgba(0,0,0,0.25);
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.logo-mark-fallback {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--saffron);
}
.brand-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.brand-subtitle {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.42);
  margin-top: 2px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Desktop Nav */
.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; gap: 2px; }
.nav-link {
  display: block;
  padding: 8px 13px;
  border-radius: var(--r-s);
  color: rgba(255,255,255,0.68);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 180ms ease;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.09);
}

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Hamburger */
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-s);
  background: rgba(255,255,255,0.08);
  color: #fff;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all 280ms ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--hh);
  left: 0; right: 0; bottom: 0;
  background: var(--ink);
  z-index: 190;
  padding: 28px 24px 40px;
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav .nav-list { flex-direction: column; gap: 4px; }
.mobile-nav .nav-link { padding: 14px 18px; font-size: 1.05rem; color: rgba(255,255,255,0.75); border-radius: var(--r-m); }
.mobile-nav .nav-link:hover { color: #fff; background: rgba(255,255,255,0.09); }
.mobile-nav .nav-actions { margin-top: 24px; }

/* ================================================
   HERO
   ================================================ */
.hero-section {
  padding: 88px 0 88px;
  position: relative;
  overflow: hidden;
}

/* Giant decorative OM behind hero */
.hero-section::after {
  content: 'ॐ';
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(280px, 34vw, 520px);
  font-weight: 900;
  color: var(--ink);
  opacity: 0.025;
  pointer-events: none;
  line-height: 1;
  z-index: 0;
  user-select: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--gold-pale);
  border: 1px solid var(--border);
  font-size: 0.80rem;
  font-weight: 600;
  color: var(--saffron);
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.hero-copy h1 {
  font-family: 'Poppins', 'Mukta', sans-serif;
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 22px;
}

.hero-desc {
  font-size: 1.06rem;
  color: var(--muted);
  line-height: 1.85;
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero card */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-card {
  width: 100%;
  max-width: 380px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  padding: 36px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  animation: float-card 8s ease-in-out infinite;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--gold-l), var(--saffron));
  background-size: 200% 100%;
}

.hero-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(204, 85, 0, 0.20);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 22px;
  box-shadow: 0 4px 16px rgba(204, 85, 0, 0.15);
  overflow: hidden;
}
.hero-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card h3 {
  font-family: 'Poppins', 'Mukta', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.35;
}

.hero-card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.78;
}

.hero-card-badge {
  display: inline-flex;
  margin-top: 22px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--gold-pale);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--saffron);
}

/* ================================================
   STATS STRIP
   ================================================ */
.stats-strip {
  background: var(--ink-2);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-cell {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.stat-cell:last-child { border-right: none; }

.stat-num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--gold-l);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.50);
  font-weight: 500;
}

/* ================================================
   SECTIONS
   ================================================ */
.section {
  padding: 96px 0;
}

.section-white {
  background: var(--white);
}

.section-dark {
  background: var(--ink);
  color: rgba(255,255,255,0.80);
}

/* Centered header */
.sec-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 56px;
}

.sec-head h2, .sec-head h3 {
  font-family: 'Poppins', 'Mukta', sans-serif;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 14px;
}

.sec-head p {
  color: var(--muted);
  font-size: 1.01rem;
  line-height: 1.82;
}

/* 2-col section */
.sec-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.sec-2col.flip { direction: rtl; }
.sec-2col.flip > * { direction: ltr; }

.sec-text h2, .sec-text h3 {
  font-family: 'Poppins', 'Mukta', sans-serif;
  font-size: clamp(1.65rem, 2.6vw, 2.3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 18px;
}

.sec-text p {
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 14px;
  font-size: 1rem;
}

.sec-text p:last-child { margin-bottom: 0; }

/* Decorative block for sections without images */
.sec-decor {
  position: relative;
  border-radius: var(--r-l);
  background: linear-gradient(135deg, var(--cream-d) 0%, var(--white) 100%);
  border: 1px solid var(--border);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.sec-decor::after {
  content: 'ॐ';
  font-size: 180px;
  font-weight: 900;
  color: var(--ink);
  opacity: 0.04;
  user-select: none;
}

/* ================================================
   CARDS
   ================================================ */
.cards-grid { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }

/* Base card */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  padding: 32px;
  transition: transform 230ms ease, box-shadow 230ms ease, border-color 230ms ease;
  box-shadow: var(--shadow-s);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-l);
  border-color: var(--border-2);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-m);
  background: var(--gold-pale);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}

.card h4 {
  font-family: 'Poppins', 'Mukta', sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.35;
}

.card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.75;
}

/* Step card */
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  padding: 32px;
  box-shadow: var(--shadow-s);
  transition: transform 230ms ease, box-shadow 230ms ease;
  position: relative;
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); }

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--saffron);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(204, 85, 0, 0.32);
  font-family: 'Poppins', sans-serif;
}

.step-card h4 { font-family: 'Poppins', 'Mukta', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: 0.93rem; line-height: 1.75; }

/* Exec card */
.exec-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  padding: 28px;
  box-shadow: var(--shadow-s);
  transition: transform 230ms ease, box-shadow 230ms ease;
  position: relative;
  overflow: hidden;
}
.exec-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--saffron);
  transition: width 300ms ease;
}
.exec-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.exec-card:hover::after { width: 100%; }
.exec-card h4 { font-family: 'Poppins', 'Mukta', sans-serif; font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.exec-role { font-size: 0.74rem; font-weight: 700; color: var(--saffron); text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 12px; display: block; }
.exec-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.65; }

/* News card */
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  transition: transform 230ms ease, box-shadow 230ms ease;
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); }
.news-card-top {
  background: var(--saffron);
  padding: 18px 26px;
  position: relative;
  overflow: hidden;
}
.news-card-top::after {
  content: '';
  position: absolute;
  right: -20px; top: -20px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  pointer-events: none;
}
.news-date { font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.82); letter-spacing: 0.06em; }
.news-card-body { padding: 22px 26px; flex: 1; display: flex; flex-direction: column; }
.news-card h4 { font-family: 'Poppins', 'Mukta', sans-serif; font-size: 1.02rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.news-card p { color: var(--muted); font-size: 0.91rem; line-height: 1.7; flex: 1; }
.news-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 18px;
  color: var(--saffron-d);
  font-size: 0.86rem;
  font-weight: 700;
  transition: gap 180ms ease;
}
.news-link:hover { gap: 10px; }
.news-link::after { content: '→'; }

/* Archive card */
.archive-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  padding: 28px;
  box-shadow: var(--shadow-s);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.archive-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.archive-card h4 { font-family: 'Poppins', 'Mukta', sans-serif; font-size: 1.03rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.archive-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.72; }
.archive-issue { font-size: 0.78rem; font-weight: 700; color: var(--saffron); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 8px; display: block; }
.archive-contact { margin-top: 14px; font-size: 0.85rem; color: var(--faint); }

/* Contact card */
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  padding: 28px;
  box-shadow: var(--shadow-s);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.contact-card h4 { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--saffron-d); margin-bottom: 14px; }
.contact-card p { color: var(--muted); font-size: 0.91rem; line-height: 1.85; }

/* ================================================
   PAGE BANNER (inner pages)
   ================================================ */
.page-banner {
  background: var(--ink);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191,147,24,0.10) 0%, transparent 70%);
  top: -250px; right: -100px;
  pointer-events: none;
}
.page-banner::after {
  content: 'ॐ';
  position: absolute;
  right: 4%;
  bottom: -20%;
  font-size: 380px;
  font-weight: 900;
  color: #fff;
  opacity: 0.022;
  pointer-events: none;
  user-select: none;
}
.page-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 740px;
}
.page-banner .eyebrow {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.14);
  color: var(--gold-l);
}
.page-banner h1 {
  font-family: 'Poppins', 'Mukta', sans-serif;
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.14;
  margin-bottom: 20px;
}
.page-banner p {
  color: rgba(255,255,255,0.65);
  font-size: 1.04rem;
  line-height: 1.85;
  margin-bottom: 32px;
}

/* ================================================
   MAGAZINE
   ================================================ */
.magazine-display {
  display: flex;
  justify-content: center;
  position: relative;
}

@keyframes float-mag {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(-2deg); }
}

.magazine-cover {
  width: 240px;
  aspect-ratio: 2/3;
  background: linear-gradient(160deg, var(--saffron) 0%, var(--saffron-d) 55%, var(--ink-2) 100%);
  border-radius: var(--r-l);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 28px 24px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  color: #fff;
  animation: float-mag 9s ease-in-out infinite;
  transform: rotate(-2deg);
}
.magazine-cover::before {
  content: 'हितैषी';
  position: absolute;
  font-size: 80px;
  font-weight: 900;
  opacity: 0.12;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
.magazine-cover-om {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  font-size: 100px;
  opacity: 0.15;
  user-select: none;
}
.magazine-cover-title {
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.magazine-cover-sub {
  font-size: 0.78rem;
  opacity: 0.82;
  text-align: center;
  position: relative;
  z-index: 1;
  margin-top: 4px;
}

/* ================================================
   TABS (executive page)
   ================================================ */
.tabs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  margin-bottom: 48px;
  box-shadow: var(--shadow-s);
}

.tab-btn {
  padding: 10px 18px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.86rem;
  transition: all 200ms ease;
}
.tab-btn:hover { background: var(--gold-pale); color: var(--saffron); }
.tab-btn.active {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 4px 14px rgba(22,12,5,0.18);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ================================================
   TABLE
   ================================================ */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-l);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-m);
}

.data-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.data-table th {
  background: var(--ink);
  color: rgba(255,255,255,0.88);
  padding: 15px 20px;
  text-align: left;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.data-table td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.91rem;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover td { background: rgba(191,147,24,0.04); }

/* ================================================
   SEARCH & PORTAL
   ================================================ */
.search-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 56px;
  box-shadow: var(--shadow-m);
  max-width: 860px;
}
.search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 22px;
}

.form-input {
  width: 100%;
  padding: 13px 18px;
  border-radius: var(--r-m);
  border: 1.5px solid var(--border);
  background: var(--cream);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  outline: none;
}
.form-input:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 4px rgba(200, 112, 10, 0.10);
  background: var(--white);
}

.portal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.portal-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  padding: 36px;
  box-shadow: var(--shadow-s);
}
.portal-card h4 { font-family: 'Poppins', 'Mukta', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 22px; }
.portal-form { display: grid; gap: 14px; }
.portal-form .btn { justify-self: start; }

.portal-features {
  background: var(--ink);
  border-radius: var(--r-l);
  padding: 36px;
  color: rgba(255,255,255,0.80);
}
.portal-features h4 { color: #fff; font-family: 'Poppins', 'Mukta', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 22px; }
.portal-features ul { display: grid; gap: 0; }
.portal-features li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.72);
}
.portal-features li::before { content: '✦'; color: var(--gold-l); font-size: 0.65rem; flex-shrink: 0; }
.portal-features li:last-child { border-bottom: none; }

/* ================================================
   DECLARATION BOX
   ================================================ */
.declaration-box {
  background: var(--ink);
  border-radius: var(--r-l);
  padding: 40px 48px;
  border-left: 4px solid var(--saffron);
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  line-height: 2;
  box-shadow: var(--shadow-m);
  font-style: italic;
}
.declaration-box strong { color: rgba(255,255,255,0.95); font-style: normal; }

/* ================================================
   CONTACT GRID
   ================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}

/* ================================================
   CTA BAND
   ================================================ */
.cta-band {
  background: var(--ink);
  border: 1px solid rgba(204, 85, 0, 0.20);
  border-radius: var(--r-l);
  padding: 56px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--saffron);
}
.cta-band::after {
  content: 'ॐ';
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 200px;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  user-select: none;
  pointer-events: none;
}
.cta-band-text h3 {
  font-family: 'Poppins', 'Mukta', sans-serif;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.cta-band-text p { color: rgba(255,255,255,0.65); font-size: 1rem; }
.cta-band .btn-ghost {
  flex-shrink: 0;
  border-color: var(--saffron);
  color: #fff;
}
.cta-band .btn-ghost:hover {
  background: var(--saffron);
}

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.58);
  padding: 80px 0 0;
  margin-top: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand p {
  font-size: 0.91rem;
  line-height: 1.82;
  max-width: 300px;
  margin-top: 16px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 200ms ease;
}
.footer-social a:hover { background: var(--saffron); color: #fff; border-color: var(--saffron); transform: translateY(-2px); }

.footer-col h5 {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 0.91rem;
  color: rgba(255,255,255,0.50);
  line-height: 2.1;
  transition: color 180ms ease;
}
.footer-col a:hover { color: rgba(255,255,255,0.88); }
.footer-col p { font-size: 0.91rem; line-height: 2.1; color: rgba(255,255,255,0.50); }

.footer-bottom {
  padding: 22px 0;
  text-align: center;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.28);
}

/* ================================================
   WHATSAPP FAB
   ================================================ */
.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 28px rgba(37,211,102,0.38);
  z-index: 50;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.whatsapp-fab:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(37,211,102,0.48); }

/* ================================================
   ANIMATIONS
   ================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.78s ease, transform 0.78s ease;
}
[data-animate].entered {
  opacity: 1;
  transform: translateY(0);
}
[data-animate] .card,
[data-animate] .exec-card,
[data-animate] .news-card,
[data-animate] .archive-card,
[data-animate] .contact-card,
[data-animate] .step-card {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease 0.14s, transform 0.7s ease 0.14s;
}
[data-animate].entered .card,
[data-animate].entered .exec-card,
[data-animate].entered .news-card,
[data-animate].entered .archive-card,
[data-animate].entered .contact-card,
[data-animate].entered .step-card {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   CONTACT PAGE
   ================================================ */
.contact-page-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info-col { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-m);
  padding: 20px;
}
.cic-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-card h5 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 4px;
}
.contact-info-card p {
  font-size: 0.93rem;
  color: var(--text);
  margin: 0;
  line-height: 1.5;
}
.contact-info-card a { color: var(--saffron); text-decoration: none; }
.contact-info-card a:hover { text-decoration: underline; }

.whatsapp-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--r-m);
  text-decoration: none;
  transition: background 0.2s;
  margin-top: 8px;
}
.whatsapp-cta:hover { background: #1ebe59; color: #fff; }
.whatsapp-cta-icon { font-size: 1.3rem; }

/* Form column */
.contact-form-col {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  padding: 40px;
}
.cf-header { margin-bottom: 32px; }
.cf-header h3 { font-size: 1.35rem; margin: 0 0 6px; color: var(--text); }
.cf-header p { font-size: 0.93rem; color: var(--muted); margin: 0; }

.cf-row { display: flex; flex-direction: column; gap: 20px; margin-bottom: 20px; }
.cf-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }

.cf-field { display: flex; flex-direction: column; gap: 6px; }
.cf-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}
.req-star { color: var(--saffron); margin-left: 2px; }
.cf-input,
.cf-select,
.cf-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-s);
  background: var(--cream);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.cf-input:focus,
.cf-select:focus,
.cf-textarea:focus {
  outline: none;
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(204,85,0,0.12);
}
.cf-textarea { resize: vertical; min-height: 130px; }
.cf-char-count {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: right;
  margin-top: 2px;
}

.cf-field-error .cf-input,
.cf-field-error .cf-select,
.cf-field-error .cf-textarea {
  border-color: #d63031;
}
.cf-error {
  font-size: 0.8rem;
  color: #d63031;
  display: none;
}
.cf-field-error .cf-error { display: block; }

.cf-submit {
  margin-top: 8px;
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
}

/* Feedback states */
.form-success-card {
  text-align: center;
  padding: 60px 40px;
}
.form-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #00b894;
  color: #fff;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.form-success-card h3 { font-size: 1.4rem; color: var(--text); margin: 0 0 10px; }
.form-success-card p { color: var(--muted); margin: 0 0 24px; }

.form-error-banner {
  background: #fff3f3;
  border: 1.5px solid #d63031;
  border-radius: var(--r-s);
  padding: 14px 18px;
  color: #d63031;
  font-size: 0.93rem;
  margin-bottom: 24px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 14px;
  text-align: center;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  :root { --px: 32px; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-section { padding: 64px 0; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: none; }

  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .sec-2col { grid-template-columns: 1fr; gap: 40px; }
  .sec-decor { display: none; }

  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-page-grid { grid-template-columns: 1fr; }
  .portal-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  :root { --px: 20px; --hh: 66px; }

  .main-nav { display: none; }
  .nav-actions { display: none; }
  .menu-toggle { display: flex; }

  .hero-section { padding: 52px 0 52px; }
  .hero-copy h1 { font-size: 1.95rem; }
  .hero-desc { font-size: 0.97rem; }

  .section { padding: 64px 0; }
  .cards-3, .cards-4, .cards-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cf-row-2 { grid-template-columns: 1fr; }
  .contact-form-col { padding: 28px 20px; }

  .search-box { padding: 28px 22px; border-radius: var(--r-l); }
  .search-form { grid-template-columns: 1fr; }

  .tabs-bar { border-radius: var(--r-l); gap: 6px; }
  .tab-btn { padding: 8px 13px; font-size: 0.80rem; }

  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .page-banner { padding: 52px 0; }
  .page-banner h1 { font-size: 1.75rem; }

  .cta-band { padding: 36px 28px; }
  .cta-band::before { display: none; }

  .portal-features { display: none; }
}

@media (max-width: 480px) {
  :root { --px: 16px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .hero-copy h1 { font-size: 1.7rem; }
  .sec-head h2, .sec-head h3 { font-size: 1.55rem; }
}
