:root {
  /* ── New palette ── */
  --saffron: #e0651e;
  --saffron-deep: #b84915;
  --green: #1f5a2e;
  --ink: #1a1108;
  --ink-2: #3a2a1c;
  --ink-3: #6a5440;
  --paper: #f4ebd7;
  --paper-2: #eadfc4;
  --paper-3: #dbcba5;
  --blood: #8b1a1a;
  --gold: #c9a227;

  /* ── Mapped aliases (keep rest of CSS unchanged) ── */
  --black: var(--ink);
  --black-deep: #000000;
  --white: var(--paper);
  --off-white: var(--paper-2);
  --grey-light: var(--paper-3);
  --grey-mid: var(--paper-3);
  --grey-text: var(--ink-3);
  --grey-muted: var(--ink-3);
  --border: var(--paper-3);
  --red: var(--blood);
  --dark-red: var(--saffron-deep);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--black);
  font-family: "Hind Siliguri", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── TOP TICKER ─── */
.top-strip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  height: 32px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ticker {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
  gap: 0;
}

.ticker span {
  font-family: "Hind Siliguri", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  padding: 0 28px;
  position: relative;
  color: var(--white);
}

.ticker span::after {
  content: "✦";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  color: var(--saffron);
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ─── NAVBAR ─── */
nav {
  position: fixed;
  top: 32px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  background: rgba(244, 235, 215, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--black);
  font-family: "Noto Serif Bengali", serif;
  letter-spacing: 0.01em;
}

.nav-logo .roach {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo .roach .brand-name {
  font-family: "Bowlby One", sans-serif;
  font-size: 16px;
  letter-spacing: 0.01em;
  line-height: 0.94;
  text-transform: uppercase;
}

.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  margin-bottom: -5px;
}

.nav-logo .sub-brand {
  font-size: 10px;
  color: var(--green);
  font-family: "Hind Siliguri", sans-serif;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--grey-text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--black);
}

/* ─── LANGUAGE SELECTOR ─── */
.lang-selector {
  position: relative;
  display: inline-block;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--ink-3);
  color: var(--grey-text);
  padding: 6px 12px;
  font-family: "Noto Sans Bengali", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s;
}

/* ─── MOBILE MENU ─── */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: background 0.2s;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--ink);
  left: 0;
  transition: transform 0.2s;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

.mobile-menu-btn.active .hamburger {
  background: transparent;
}

.mobile-menu-btn.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-menu-btn.active .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

.lang-btn:hover {
  border-color: var(--saffron);
  color: var(--saffron);
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  overflow: hidden;
  z-index: 200;
}

.lang-dropdown.show {
  display: block;
}

.lang-option {
  display: block;
  padding: 10px 16px;
  color: var(--grey-text);
  text-decoration: none;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: background 0.2s;
}

.lang-option:hover {
  background: var(--off-white);
  color: var(--saffron);
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 150px 24px 80px;
  position: relative;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(26, 17, 8, 0.04) 40px
    ),
    var(--paper);
}

.hero-roach {
  font-size: 6rem;
  line-height: 1;
  margin-bottom: 20px;
  display: block;
  animation: sway 3s ease-in-out infinite;
}

@keyframes sway {
  0%,
  100% {
    transform: rotate(-4deg) scale(1);
  }

  50% {
    transform: rotate(4deg) scale(1.05);
  }
}

.hero-badge {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 5px 18px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: "Noto Serif Bengali", serif;
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--black);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.hero h1 span {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.hero-sub {
  font-family: "Noto Serif Bengali", serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--grey-text);
  letter-spacing: 0.05em;
  margin-bottom: 28px;
}

.hero-desc {
  max-width: 620px;
  color: var(--grey-text);
  font-size: 1.05rem;
  margin-bottom: 44px;
  line-height: 1.85;
}

.hero-stats {
  display: flex;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
  border: 1px solid var(--border);
}

.stat {
  text-align: center;
  padding: 24px 36px;
  border-right: 1px solid var(--border);
}

.stat:last-child {
  border-right: none;
}

.stat-num {
  display: block;
  font-family: "Noto Serif Bengali", serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--grey-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Stats responsive handled in main media query */

.btn-primary {
  background: var(--saffron);
  color: var(--paper);
  border: 2px solid var(--saffron);
  padding: 15px 36px;
  font-family: "Noto Sans Bengali", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.15s;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.03em;
}

.btn-primary:hover {
  background: var(--saffron-deep);
  color: var(--paper);
  border-color: var(--saffron-deep);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
  padding: 13px 34px;
  font-family: "Noto Sans Bengali", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--grey-muted);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ─── SECTION BASE ─── */
section {
  padding: 90px 24px;
}

.container {
  max-width: 960px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  padding: 4px 14px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: "Noto Serif Bengali", serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--black);
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--saffron);
  margin-bottom: 36px;
}

/* ─── ABOUT ─── */
.about {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  color: var(--grey-text);
  margin-bottom: 18px;
}

.about-text p strong {
  color: var(--black);
}

.about-callout {
  border-left: 4px solid var(--saffron);
  padding: 22px 26px;
  background: var(--white);
  font-family: "Noto Serif Bengali", serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--black);
  font-style: italic;
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 16px 20px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.about-pill:hover {
  border-color: var(--saffron);
  box-shadow: 2px 2px 0 var(--saffron);
}

.pill-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.pill-text {
  font-size: 0.93rem;
  color: var(--grey-text);
}

.pill-text strong {
  color: var(--black);
  display: block;
  font-size: 1rem;
}

/* ─── MANIFESTO ─── */
.manifesto {
  background: var(--black);
}

.manifesto .section-title {
  color: var(--white);
}

.manifesto .divider {
  background: var(--saffron);
}

.manifesto .section-tag {
  background: var(--white);
  color: var(--black);
}

.manifesto-intro {
  color: rgba(255, 255, 255, 0.65);
  max-width: 600px;
  margin-bottom: 50px;
  font-size: 1.05rem;
}

.demands-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.demand {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
  background: transparent;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.2s;
}

.demand:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.demand:hover {
  background: rgba(255, 255, 255, 0.04);
  padding-left: 12px;
}

.demand-num {
  font-family: "Noto Serif Bengali", serif;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.15);
  line-height: 1;
  text-align: center;
}

.demand-content h3 {
  font-family: "Noto Serif Bengali", serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.demand-content p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
}

/* ─── ELIGIBILITY ─── */
.eligibility {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.elig-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 40px;
  border: 1px solid var(--border);
  background: var(--border);
}

.elig-card {
  background: var(--white);
  padding: 32px 28px;
  position: relative;
  transition: background 0.2s;
}

.elig-card:hover {
  background: var(--off-white);
}

.elig-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}

.elig-card h3 {
  font-family: "Noto Serif Bengali", serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
}

.elig-card p {
  color: var(--grey-text);
  font-size: 0.92rem;
}

.elig-note {
  margin-top: 1px;
  padding: 20px;
  background: var(--grey-light);
  border: 1px solid var(--border);
  color: var(--grey-text);
  font-size: 0.9rem;
  text-align: center;
}

/* ─── VISION ─── */
.vision {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.vision-quote {
  max-width: 780px;
  font-family: "Noto Serif Bengali", serif;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 600;
  color: var(--black);
  line-height: 1.7;
  text-align: center;
  margin: 0 auto;
}

.vision-quote span {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.vision-attr {
  text-align: center;
  margin-top: 24px;
  color: var(--grey-muted);
  font-size: 0.83rem;
  letter-spacing: 0.1em;
}

/* ─── JOIN ─── */
.join {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.join-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

.join-info p {
  color: var(--grey-text);
  margin-bottom: 16px;
  font-size: 0.97rem;
}

.join-info ul {
  list-style: none;
  padding: 0;
  margin-top: 24px;
}

.join-info ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--grey-text);
  margin-bottom: 12px;
  font-size: 0.93rem;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--grey-light);
}

.join-info ul li::before {
  content: "🪳";
  font-size: 1rem;
  flex-shrink: 0;
}

/* ─── FORM ─── */
.form-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 40px 36px;
}

.form-card h3 {
  font-family: "Noto Serif Bengali", serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--saffron);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--grey-text);
  margin-bottom: 7px;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--black);
  padding: 12px 14px;
  font-family: "Noto Sans Bengali", sans-serif;
  font-size: 0.95rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--saffron);
  box-shadow: 2px 2px 0 var(--saffron);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-group select option {
  background: var(--white);
  color: var(--black);
}

/* Checkboxes */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  color: var(--grey-text);
  font-size: 0.92rem;
  line-height: 1.5;
}

.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--saffron);
  cursor: pointer;
}

.form-submit {
  width: 100%;
  background: var(--saffron);
  color: var(--paper);
  border: 2px solid var(--saffron);
  padding: 18px;
  font-family: "Noto Serif Bengali", serif;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.15s;
  letter-spacing: 0.03em;
}

.form-submit:hover {
  background: var(--saffron-deep);
  border-color: var(--saffron-deep);
  color: var(--paper);
  transform: translateY(-2px);
}

.form-error {
  color: var(--blood);
  font-size: 0.82rem;
  margin-top: 4px;
  display: none;
}

/* ─── FOOTER ─── */
footer {
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 50px 24px 30px;
  text-align: center;
}

.footer-logo {
  font-family: "Noto Serif Bengali", serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
}

.footer-logo .roach {
  display: flex;
  flex-direction: column;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-disclaimer {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.78rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── MODAL OVERLAY ─── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(6px);
}

.modal-overlay.active {
  display: flex;
}

/* ─── CERTIFICATE ─── */
.certificate-wrapper {
  background: var(--paper);
  max-width: 720px;
  width: 100%;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
  max-height: 90vh;
  overflow-y: auto;
}

#certificate {
  background: var(--paper);
  color: var(--ink);
  padding: 50px 60px;
  position: relative;
  font-family: "Noto Serif Bengali", serif;
}

.cert-outer-border {
  position: absolute;
  inset: 10px;
  border: 3px solid var(--red);
  pointer-events: none;
}

.cert-inner-border {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(192, 21, 30, 0.4);
  pointer-events: none;
}

.cert-corner {
  position: absolute;
  width: 32px;
  height: 32px;
  font-size: 1.4rem;
  line-height: 32px;
  text-align: center;
}

.cert-corner.tl {
  top: 22px;
  left: 22px;
}

.cert-corner.tr {
  top: 22px;
  right: 22px;
}

.cert-corner.bl {
  bottom: 22px;
  left: 22px;
}

.cert-corner.br {
  bottom: 22px;
  right: 22px;
}

.cert-header {
  text-align: center;
  margin-bottom: 24px;
}

.cert-roach {
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.cert-party-name {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--dark-red);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cert-sub-name {
  font-size: 1rem;
  color: var(--red);
  font-weight: 600;
  margin-top: 4px;
}

.cert-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}

.cert-divider-line {
  flex: 1;
  height: 1px;
  background: var(--red);
}

.cert-divider-star {
  color: var(--red);
  font-size: 1.2rem;
}

.cert-title {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-red);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.cert-body {
  text-align: center;
  color: var(--ink);
  line-height: 2;
  font-size: 1rem;
  margin-bottom: 16px;
}

.cert-name {
  font-size: 2rem;
  font-weight: 900;
  color: var(--dark-red);
  display: block;
  margin: 4px 0;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: rgba(192, 21, 30, 0.35);
}

.cert-id {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 6px 18px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 10px auto;
  font-family: "Noto Sans Bengali", sans-serif;
}

.cert-details {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin: 16px 0;
  font-size: 0.88rem;
  color: rgba(26, 16, 9, 0.65);
}

.cert-detail {
  text-align: center;
}

.cert-detail span {
  display: block;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
}

.cert-oath {
  background: rgba(192, 21, 30, 0.06);
  border: 1px solid rgba(192, 21, 30, 0.2);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 0.88rem;
  color: rgba(26, 16, 9, 0.7);
  line-height: 1.8;
  text-align: center;
  font-style: italic;
}

.cert-footer {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px dashed rgba(192, 21, 30, 0.3);
}

.cert-sign {
  text-align: center;
}

.cert-sign-line {
  border-bottom: 1px solid var(--ink);
  margin-bottom: 6px;
  height: 40px;
}

.cert-sign-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}

.cert-sign-title {
  font-size: 0.78rem;
  color: rgba(26, 16, 9, 0.55);
}

.cert-seal {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cert-seal-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid var(--red);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 2.2rem;
}

.cert-seal-text {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.05em;
  text-align: center;
  margin-top: 4px;
}

.cert-disclaimer {
  text-align: center;
  font-size: 0.7rem;
  color: rgba(26, 16, 9, 0.4);
  margin-top: 20px;
  font-family: "Noto Sans Bengali", sans-serif;
}

/* Modal buttons */
.cert-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 20px 40px;
  background: var(--paper);
  border-top: 1px solid rgba(192, 21, 30, 0.2);
}

.cert-btn-download {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 13px 28px;
  font-family: "Noto Sans Bengali", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.cert-btn-download:hover {
  background: var(--dark-red);
}

.cert-btn-close {
  background: transparent;
  color: var(--ink);
  border: 2px solid rgba(26, 16, 9, 0.2);
  padding: 11px 24px;
  font-family: "Noto Sans Bengali", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s;
}

.cert-btn-close:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ─── PRINT ─── */
@media print {
  body * {
    visibility: hidden !important;
  }

  .modal-overlay,
  .modal-overlay * {
    visibility: visible !important;
  }

  .modal-overlay {
    position: fixed;
    inset: 0;
    background: white !important;
    backdrop-filter: none !important;
  }

  .certificate-wrapper {
    box-shadow: none;
    max-height: none;
    overflow: visible;
  }

  .cert-actions,
  .cert-btn-close,
  .cert-btn-download {
    display: none !important;
  }

  #certificate {
    padding: 60px 80px;
  }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav {
    padding: 12px 20px;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 24px;
    gap: 0;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    z-index: 100;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--paper-3);
    width: 100%;
  }

  .nav-links .lang-selector {
    margin-top: 16px;
    width: 100%;
  }

  .nav-links .lang-btn {
    width: 100%;
    justify-content: space-between;
    padding: 12px 16px;
  }

  .nav-links .lang-dropdown {
    position: static;
    box-shadow: none;
    border: 1px solid var(--paper-3);
    margin-top: 8px;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
  }

  .nav-overlay.active {
    display: block;
  }

  /* ─── STATS RESPONSIVE ─── */
  .hero-stats {
    flex-wrap: wrap;
    border: none;
    gap: 0;
    margin-bottom: 30px;
  }

  .stat {
    flex: 1 1 45%;
    min-width: 120px;
    padding: 20px 16px;
    border-right: none;
  }

  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: 1px solid var(--paper-3);
  }

  .stat:nth-child(odd):not(:last-child) {
    border-right: 1px solid var(--paper-3);
  }

  .stat-num {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  /* ─── HERO ─── */
  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.1;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas a {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .about-grid,
  .join-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .elig-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  #certificate {
    padding: 40px 30px;
  }

  .cert-footer {
    grid-template-columns: 1fr;
  }

  .cert-actions {
    padding: 16px 20px;
  }

.vision-quote br {
        display: none;
    }
}

/* ─── FADE-IN ANIMATION ─── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
