:root {
  --bg: #f5f0e8;
  --surface: #ede8dc;
  --text: #0d1b3e;
  --muted: rgba(13, 27, 62, 0.55);
  --accent: #c9a84c;
  --border: rgba(13, 27, 62, 0.1);
  --shadow-soft: 0 18px 60px rgba(13, 27, 62, 0.08);
  --shadow-gold: 0 0 0 1px rgba(201, 168, 76, 0.12), 0 20px 50px rgba(201, 168, 76, 0.16);
  --radius: 8px;
  --radius-lg: 16px;
  --content-width: 1180px;
  --nav-height: 82px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  opacity: 0;
  transition: opacity 0.5s ease;
}

body.is-loaded {
  opacity: 1;
}

body.dark-mode {
  background-color: #060d1e !important;
  color: #ffffff !important;
}

body.dark-mode .navbar-container {
  background: rgba(6, 13, 30, 0.95) !important;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15) !important;
}

body.dark-mode section {
  background-color: #060d1e !important;
}

body.dark-mode .stat-card,
body.dark-mode .info-card,
body.dark-mode .how-card,
body.dark-mode .yuvaad-card-item {
  background: #112347 !important;
  color: #ffffff !important;
  border-color: rgba(201, 168, 76, 0.2) !important;
}

body.dark-mode p,
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3 {
  color: #ffffff !important;
}

body.dark-mode .secondary-text {
  color: rgba(255, 255, 255, 0.6) !important;
}

#back-to-top:hover {
  background: rgba(255, 255, 255, 0.38);
  color: #0D1B3E;
  border-color: rgba(201, 168, 76, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(13, 27, 62, 0.18), 0 0 24px rgba(201, 168, 76, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  position: relative;
  overflow: clip;
}

.section-frame,
.site-header,
.site-footer {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
}

main {
  display: flow-root;
  position: relative;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--nav-height);
  padding: 18px 0;
  backdrop-filter: blur(18px);
  transition: border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 10px -14px;
  border: 1px solid rgba(13, 27, 62, 0.08);
  border-radius: 999px;
  background: rgba(245, 240, 232, 0.76);
  z-index: -1;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled::before {
  background: rgba(245, 240, 232, 0.97);
  border-color: rgba(201, 168, 76, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
}

/* Shared base for logo circles */
.brand-mark,
.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Footer logo clips image neatly inside circle */
.footer-logo {
  overflow: hidden;
}

/* Nav brand-mark: overflow VISIBLE so the gold ring glow
   can bleed outside the circle without being self-clipped */
.brand-mark {
  overflow: visible;
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(201, 168, 76, 0.52);
  box-shadow:
    0 0 0 3px rgba(201, 168, 76, 0.13),
    0 0 0 7px rgba(201, 168, 76, 0.05),
    0 2px 12px rgba(13, 27, 62, 0.10);
}

/* Image stays circular via its own border-radius — no parent clip needed */
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  /* Subtle inner shadow to make logo pop against white pill */
  box-shadow: inset 0 0 0 1px rgba(13, 27, 62, 0.08);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-tag {
  font-size: 0.75rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a,
.footer-links a,
.footer-social a,
.footer-legal a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--text);
  transition: color 0.25s ease;
}

.site-nav a::after,
.footer-links a::after,
.footer-social a::after,
.footer-legal a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible,
.footer-social a:hover,
.footer-social a:focus-visible,
.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--accent);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.footer-links a:hover::after,
.footer-links a:focus-visible::after,
.footer-social a:hover::after,
.footer-social a:focus-visible::after,
.footer-legal a:hover::after,
.footer-legal a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(13, 27, 62, 0.14);
  border-radius: 50%;
  background: rgba(237, 232, 220, 0.92);
  color: var(--text);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 132px 0 72px;
  isolation: isolate;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(13, 27, 62, 0.085) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: 0.28;
  z-index: -3;
}

.hero::before,
.impact-yuvaad::before,
.leadership::before {
  content: "";
  position: absolute;
  inset: auto;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.22), rgba(201, 168, 76, 0) 70%);
  filter: blur(16px);
  pointer-events: none;
  z-index: -2;
}

.hero::before {
  right: -160px;
  top: 10%;
}

.hero-logo-ghost {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 560px;
  height: 560px;
  transform: translate(-50%, -50%);
  filter: grayscale(0.1) blur(3px);
  opacity: 0.11;
  mix-blend-mode: multiply;
  z-index: 0;
  pointer-events: none;
}

.hero-logo-ghost img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.688rem;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

.eyebrow::after {
  content: "";
  width: 40px;
  height: 2px;
  background: #c9a84c;
  margin: 8px auto 0;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
}

.hero h1 {
  font-size: clamp(2.625rem, 9vw, 4.5rem);
  text-wrap: balance;
}

.hero-copy,
.section-copy,
.moments-copy p:last-child,
.leadership-copy p,
.info-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.95rem;
}

.hero-copy {
  max-width: 620px;
  margin: 22px auto 0;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.button {
  min-width: 140px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 8px;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--text);
  color: var(--bg);
  box-shadow: 0 12px 28px rgba(13, 27, 62, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 16px 34px rgba(13, 27, 62, 0.18), 0 0 24px rgba(201, 168, 76, 0.25);
}

.button-secondary {
  background: rgba(245, 240, 232, 0.78);
  color: var(--text);
  border-color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--text);
  color: var(--bg);
}

.button-large {
  min-width: 218px;
}

.button--bubble__container {
  position: relative;
  display: inline-flex;
  isolation: isolate;
}

.button--bubble__container .button {
  width: 100%;
}

.button--bubble {
  position: relative;
  z-index: 2;
}

.button--bubble__effect-container {
  position: absolute;
  top: -150%;
  left: -50%;
  width: 200%;
  height: 400%;
  filter: url("#goo-button-filter");
  pointer-events: none;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.12s ease-out, transform 0.12s ease-out;
}

.button--bubble__container.is-animating .button--bubble__effect-container {
  opacity: 1;
  transform: scale(1);
}

.button--bubble__circle {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  transform: translate(0, 0) scale(0.7);
}

.button--bubble__circle.top-left {
  top: 40%;
  left: 27%;
}

.button--bubble__circle.bottom-right {
  right: 27%;
  bottom: 40%;
}

.button--bubble__container.is-animating .button--bubble__circle.top-left-1 {
  animation: bubble-top-left-1 0.95s ease-out forwards;
}

.button--bubble__container.is-animating .button--bubble__circle.top-left-2 {
  animation: bubble-top-left-2 0.95s ease-out forwards;
}

.button--bubble__container.is-animating .button--bubble__circle.top-left-3 {
  animation: bubble-top-left-3 0.95s ease-out forwards;
}

.button--bubble__container.is-animating .button--bubble__circle.bottom-right-1 {
  animation: bubble-bottom-right-1 0.9s ease-out forwards;
}

.button--bubble__container.is-animating .button--bubble__circle.bottom-right-2 {
  animation: bubble-bottom-right-2 0.9s ease-out forwards;
}

.button--bubble__container.is-animating .button--bubble__circle.bottom-right-3 {
  animation: bubble-bottom-right-3 0.9s ease-out forwards;
}

.goo {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}

.impact-yuvaad,
.moments,
.leadership {
  position: relative;
  padding: 96px 0;
}

.impact-gavel-watermark {
  position: absolute;
  left: -212px;
  top: -228px;
  width: 717px;
  height: 493px;
  pointer-events: none;
  z-index: 0;
}

.impact-gavel-watermark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  filter: grayscale(1) contrast(1.08);
  opacity: 0.12;
  transform: scaleX(-1);
}

.impact-yuvaad>.section-heading,
.impact-yuvaad>.section-copy {
  position: relative;
  z-index: 2;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.section-heading h2 {
  font-size: clamp(2.25rem, 5vw, 3.85rem);
  font-style: normal;
}

.section-heading-left {
  text-align: left;
  margin: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.stat-card,
.info-card,
.leader-card {
  border: 1px solid var(--border);
  background: var(--surface);
}

.stat-card {
  min-height: 168px;
  border-radius: 18px;
  padding: 28px 24px;
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover,
.stat-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(13, 27, 62, 0.12);
}

.stat-card strong {
  display: block;
  color: var(--accent);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
}

.stat-card span {
  margin-top: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.section-copy {
  max-width: 620px;
  margin: 24px auto 0;
  text-align: center;
}

.yuvaad-block {
  margin-top: 92px;
  display: grid;
  gap: 32px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.info-card {
  min-height: 220px;
  padding: 30px 26px 28px;
  border-radius: 18px;
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-soft);
}

.info-card h3,
.leader-card h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 1.65rem;
  color: var(--text);
}

.info-card p {
  margin-top: 14px;
}

.center-action {
  display: flex;
  justify-content: center;
}

.moments {
  padding-top: 36px;
}

.moments-strip {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 20px 0;
}

.moments-strip::before,
.moments-strip::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.moments-strip::before {
  left: 0;
  background: linear-gradient(to right, #f5f0e8, transparent);
}

.moments-strip::after {
  right: 0;
  background: linear-gradient(to left, #f5f0e8, transparent);
}

.moments-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll-strip 30s linear infinite;
}

.moments-strip:hover .moments-track {
  animation-play-state: paused;
}

.photo-box {
  width: 280px;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  border: 1px solid rgba(13, 27, 62, 0.12);
  background:
    linear-gradient(145deg, rgba(237, 232, 220, 0.9), rgba(245, 240, 232, 0.82));
  display: block;
  overflow: hidden;
  cursor: pointer;
  flex: 0 0 auto;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.photo-box:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(201, 168, 76, 0.25);
}

.photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.photo-box:hover img {
  transform: scale(1.06);
}

.moments-copy {
  max-width: 600px;
  margin: 34px auto 0;
  text-align: center;
}

.leadership::before {
  left: -180px;
  bottom: 0;
}

.leaders-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 42px;
}

.leader-card {
  padding: 22px;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.15);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.leader-card:hover,
.leader-card:focus-within {
  box-shadow: 0 12px 40px rgba(201, 168, 76, 0.28);
}

.leader-photo {
  width: min(100%, 280px);
  height: 380px;
  margin: 0 auto;
  border-radius: 16px;
  border: 1.5px dashed rgba(13, 27, 62, 0.45);
  background:
    linear-gradient(180deg, rgba(237, 232, 220, 0.96), rgba(245, 240, 232, 0.98)),
    radial-gradient(circle at top, rgba(201, 168, 76, 0.18), transparent 45%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 20px;
}

.leader-photo span,
.leader-photo small {
  color: rgba(13, 27, 62, 0.58);
}

.leader-photo span {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
}

.leader-card h3 {
  margin-top: 24px;
  text-align: center;
}

.leader-card p {
  margin: 8px 0 0;
  text-align: center;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.leadership-copy {
  max-width: 640px;
  margin: 34px auto 0;
  text-align: center;
}

.site-footer {
  position: relative;
  margin-top: 20px;
  padding: 42px 0 32px;
  background: var(--text);
  color: var(--bg);
  width: 100%;
}

.site-footer>* {
  width: min(calc(100% - 32px), 920px);
  margin-left: auto;
  margin-right: auto;
}

.footer-mark {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.footer-logo {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(201, 168, 76, 0.7);
  box-shadow: 0 0 0 6px rgba(201, 168, 76, 0.08);
}

.footer-mark p {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
}

.footer-links,
.footer-social,
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-dot {
  color: rgba(245, 240, 232, 0.4);
}

.footer-links,
.footer-social {
  margin-top: 24px;
}

.footer-links a,
.footer-social a,
.footer-legal a {
  color: rgba(245, 240, 232, 0.82);
}

.footer-social a {
  gap: 10px;
}

.social-icon {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(201, 168, 76, 0.38);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.footer-links a::after,
.footer-social a::after,
.footer-legal a::after {
  bottom: 8px;
}

.footer-divider {
  margin-top: 28px;
  height: 1px;
  background: rgba(245, 240, 232, 0.16);
}

.footer-meta {
  margin-top: 22px;
  display: grid;
  gap: 16px;
}

.footer-meta p {
  margin: 0;
  color: rgba(245, 240, 232, 0.62);
  text-align: center;
  font-size: 0.92rem;
}

.register-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.join-page {
  min-height: 100vh;
  padding: 24px 0 80px;
}

.register-flow-page {
  min-height: 100vh;
  padding: 24px 0 80px;
}

.content-page {
  min-height: 100vh;
  padding: 24px 0 80px;
}

.join-shell {
  max-width: 1080px;
  overflow: hidden;
}

.register-shell {
  max-width: 1080px;
  overflow: hidden;
}

.content-shell {
  max-width: 860px;
}

.back-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-weight: 600;
  margin-top: 10px;
  transition: color 0.25s ease;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--accent);
}

.join-hero {
  max-width: 520px;
  margin: 42px auto 0;
  text-align: center;
}

.join-hero h1,
.join-success-card h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  color: var(--text);
}

.join-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 0.98;
}

.join-hero p:last-child,
.join-success-card p {
  margin: 18px auto 0;
  max-width: 500px;
  color: var(--muted);
  line-height: 1.75;
}

.join-form-wrap {
  margin-top: 34px;
}

.content-stack {
  display: grid;
  gap: 20px;
  margin-top: 34px;
}

.join-form-card,
.join-success-card {
  background: var(--surface);
  border: 1px solid rgba(13, 27, 62, 0.12);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-soft);
}

.join-form-card {
  display: grid;
  gap: 22px;
}

.form-row {
  display: grid;
  gap: 10px;
}

.form-row label {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 0 12px;
  border: 0;
  border-bottom: 1px solid rgba(13, 27, 62, 0.18);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  resize: vertical;
}

.form-row textarea {
  padding-top: 10px;
  line-height: 1.7;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(13, 27, 62, 0.42);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-bottom-color: var(--accent);
  box-shadow: inset 0 -1px 0 var(--accent);
}

.form-submit {
  width: 100%;
  margin-top: 10px;
}

.join-success-card {
  text-align: center;
}

.join-success-card[hidden] {
  display: none;
}

.join-success-card h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.closed-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.register-closed-card {
  text-align: center;
}

.content-card {
  background: var(--surface);
  border: 1px solid rgba(13, 27, 62, 0.12);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

.content-card h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.05;
}

.content-card p,
.content-card li {
  color: var(--muted);
  line-height: 1.75;
}

.content-card p:first-of-type {
  margin-top: 18px;
}

.content-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.content-card li+li {
  margin-top: 10px;
}

.link-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.success-home {
  min-width: 190px;
  margin-top: 24px;
}

.register-card {
  width: min(100%, 780px);
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(237, 232, 220, 0.95), rgba(245, 240, 232, 1));
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.register-card h1 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.02;
}

.register-card p {
  margin: 18px auto 0;
  max-width: 580px;
  color: var(--muted);
  line-height: 1.75;
}

.register-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.reveal-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.28);
  z-index: 999;
  animation: whatsapp-bounce-in 0.8s ease-out;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.28), 0 18px 34px rgba(37, 211, 102, 0.3);
}

.floating-whatsapp__icon {
  font-size: 1.4rem;
  line-height: 1;
}

.floating-whatsapp__tooltip {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(13, 27, 62, 0.92);
  color: #ffffff;
  font-size: 0.78rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.floating-whatsapp:hover .floating-whatsapp__tooltip,
.floating-whatsapp:focus-visible .floating-whatsapp__tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@keyframes scroll-strip {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 10px));
  }
}

@keyframes bubble-top-left-1 {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-28px, -30px) scale(0);
  }
}

@keyframes bubble-top-left-2 {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-40px, -18px) scale(0.2);
  }
}

@keyframes bubble-top-left-3 {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-18px, -42px) scale(0);
  }
}

@keyframes bubble-bottom-right-1 {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(28px, 30px) scale(0);
  }
}

@keyframes bubble-bottom-right-2 {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(40px, 18px) scale(0.2);
  }
}

@keyframes bubble-bottom-right-3 {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(18px, 42px) scale(0);
  }
}

@keyframes whatsapp-bounce-in {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.86);
  }

  60% {
    opacity: 1;
    transform: translateY(-6px) scale(1.04);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  .stats-grid,
  .info-grid,
  .leaders-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --nav-height: 74px;
  }

  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .site-header::before {
    inset: 8px -10px;
    border-radius: 28px;
  }

  .brand-copy {
    gap: 0;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 8px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 48px;
    justify-content: flex-start;
    padding: 0 8px;
    border-top: 1px solid rgba(13, 27, 62, 0.08);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .hero-logo-ghost {
    width: min(360px, 62vw);
    height: min(360px, 62vw);
  }

  .hero h1 {
    font-size: clamp(2.625rem, 12vw, 3.3rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button,
  .hero-actions .button--bubble__container,
  .center-action .button,
  .center-action .button--bubble__container,
  .register-actions .button,
  .closed-actions .button {
    width: 100%;
  }

  .floating-whatsapp {
    right: 18px;
    bottom: 18px;
  }

  .floating-whatsapp__tooltip {
    display: none;
  }

  .stats-grid,
  .info-grid,
  .leaders-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .impact-yuvaad,
  .moments,
  .leadership {
    padding: 76px 0;
  }

  .impact-gavel-watermark {
    left: -148px;
    top: -178px;
    width: 538px;
    height: 370px;
  }

  .photo-box {
    width: 240px;
  }

  .register-card {
    padding: 28px 20px;
  }

  .join-form-card,
  .join-success-card {
    padding: 28px 20px;
  }
}

@media (max-width: 420px) {

  .section-frame,
  .site-header {
    width: min(calc(100% - 24px), var(--content-width));
  }

  .eyebrow {
    letter-spacing: 0.28em;
  }

  .stats-grid {
    gap: 14px;
  }

  .stat-card {
    min-height: 146px;
    padding: 24px 16px;
  }

  .leader-card {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body,
  .button,
  .site-nav a,
  .footer-links a,
  .footer-social a,
  .footer-legal a,
  .nav-toggle span,
  .moments-track,
  .button--bubble__circle,
  .site-header,
  .site-header::before,
  .stat-card,
  .leader-card,
  .reveal-section,
  .floating-whatsapp,
  .floating-whatsapp__tooltip {
    transition: none;
    animation: none;
  }

  .button:hover,
  .button:focus-visible {
    transform: none;
  }
}

/* ==========================================================================
   Liquid Glass Redesign Styles
   ========================================================================== */

body.home-page,
body.register-page-glass,
body.join-page-glass {
  background-color: #fafaf8 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.home-page::before,
body.register-page-glass::before,
body.join-page-glass::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

body.home-page .page-shell,
body.register-page-glass .page-shell,
body.join-page-glass .page-shell {
  position: relative;
  background-color: transparent;
  z-index: 1;
}

/* Background Ellipses */
.home-page .bg-ellipses {
  position: absolute;
  top: -140px;
  left: 0;
  width: 100%;
  height: calc(100% + 140px);
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.home-page .ellipse {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.home-page .ellipse-1 {
  width: 680px;
  height: 680px;
  background: #60B1FF;
  filter: blur(150px);
  opacity: 0.24;
  top: 34px;
  left: -260px;
  z-index: 0;
}

.home-page .ellipse-2 {
  width: 460px;
  height: 460px;
  background: #319AFF;
  filter: blur(110px);
  opacity: 0.14;
  top: 112px;
  left: -118px;
  /* slightly offset */
  z-index: 0;
}

/* Glass Navbar Styles */
.home-page .site-header,
.register-page-glass .site-header,
.join-page-glass .site-header {
  position: sticky;
  top: 16px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: calc(100% - 32px);
  margin: 0 auto;
  min-height: auto;
  /* More vertical padding so the 48px logo + 4px ring sits comfortably */
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.9),
    0 8px 32px rgba(13, 27, 62, 0.12),
    0 2px 8px rgba(13, 27, 62, 0.06);
  gap: 28px;
  transition: all 0.3s ease;
  /* Critical: let the logo's gold ring glow exceed the pill boundary */
  overflow: visible;
}

.home-page .site-header::before,
.register-page-glass .site-header::before,
.join-page-glass .site-header::before {
  display: none !important;
}

.home-page .brand-glass,
.register-page-glass .brand-glass,
.join-page-glass .brand-glass {
  font-family: 'Fustat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #0D1B3E;
  white-space: nowrap;
}

.home-page .site-nav,
.register-page-glass .site-nav,
.join-page-glass .site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.home-page .site-nav a,
.register-page-glass .site-nav a,
.join-page-glass .site-nav a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.6);
  font-weight: 500;
  min-height: auto;
  padding: 4px 0;
  transition: color 0.2s ease;
  position: relative;
}

.home-page .site-nav a::after,
.register-page-glass .site-nav a::after,
.join-page-glass .site-nav a::after {
  display: none !important;
  /* disable original underline effect */
}

.home-page .site-nav a:hover,
.register-page-glass .site-nav a:hover,
.join-page-glass .site-nav a:hover {
  color: #0D1B3E;
}

.home-page .nav-right,
.register-page-glass .nav-right,
.join-page-glass .nav-right {
  display: flex;
  align-items: center;
}

.home-page .button-join-glass,
.register-page-glass .button-join-glass,
.join-page-glass .button-join-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 140px;
  min-height: 34px;
  background: rgba(0, 132, 255, 0.8);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 12px;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px;
  box-shadow: inset 0px 4px 4px 0px rgba(255, 255, 255, 0.35);
  border: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.home-page .button-join-glass:hover,
.register-page-glass .button-join-glass:hover,
.join-page-glass .button-join-glass:hover {
  background: rgba(0, 132, 255, 0.95);
  transform: scale(1.02);
}

.home-page .button-join-glass .arrow-icon,
.register-page-glass .button-join-glass .arrow-icon,
.join-page-glass .button-join-glass .arrow-icon {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.home-page .button-join-glass:hover .arrow-icon,
.register-page-glass .button-join-glass:hover .arrow-icon,
.join-page-glass .button-join-glass:hover .arrow-icon {
  transform: translateX(2px);
}

.home-page .mobile-join-link,
.register-page-glass .mobile-join-link,
.join-page-glass .mobile-join-link {
  display: none;
}

/* Glass Hero Section */
.home-page .hero-glass {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 140px 24px 48px;
  box-sizing: border-box;
  z-index: 10;
  background-image: repeating-linear-gradient(45deg,
      transparent,
      transparent 40px,
      rgba(13, 27, 62, 0.015) 40px,
      rgba(13, 27, 62, 0.015) 41px);
}

.home-page .hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 48px;
  width: min(100%, 1180px);
  margin: auto;
}

.home-page .hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.home-page .hero-headline {
  font-family: 'Fustat', sans-serif;
  font-weight: 800;
  font-size: 72px;
  line-height: 1.05;
  letter-spacing: -2px;
  color: #0D1B3E;
  margin: 0 0 20px 0;
}

.home-page .hero-subheadline {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: -1px;
  color: rgba(13, 27, 62, 0.6);
  margin: 0 0 32px 0;
  max-width: 600px;
}

.home-page .hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.home-page .btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 132, 255, 0.8);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 16px;
  color: #ffffff;
  font-family: 'Fustat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  box-shadow: inset 0px 4px 4px 0px rgba(255, 255, 255, 0.35);
  transition: transform 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.home-page .btn-hero-primary:hover {
  background: rgba(0, 132, 255, 0.95);
  transform: scale(1.02);
}

.home-page .button-join-glass,
.register-page-glass .button-join-glass,
.join-page-glass .button-join-glass,
.home-page .btn-hero-primary {
  position: relative;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #0d1b3e 0%, #1769c8 62%, #3aa7ff 100%);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 14px 28px rgba(13, 27, 62, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-page .button-join-glass .join-orb,
.register-page-glass .button-join-glass .join-orb,
.join-page-glass .button-join-glass .join-orb,
.home-page .btn-hero-primary .join-orb {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #3aa7ff;
  opacity: 0.92;
  transition: transform 0.6s ease, opacity 0.6s ease;
  z-index: 0;
}

.home-page .button-join-glass .join-orb--1,
.register-page-glass .button-join-glass .join-orb--1,
.join-page-glass .button-join-glass .join-orb--1,
.home-page .btn-hero-primary .join-orb--1 {
  background: rgba(201, 168, 76, 0.9);
  transform: translate(-3.3em, -4em);
}

.home-page .button-join-glass .join-orb--2,
.register-page-glass .button-join-glass .join-orb--2,
.join-page-glass .button-join-glass .join-orb--2,
.home-page .btn-hero-primary .join-orb--2 {
  background: rgba(47, 156, 255, 0.95);
  transform: translate(-6em, 1.3em);
}

.home-page .button-join-glass .join-orb--3,
.register-page-glass .button-join-glass .join-orb--3,
.join-page-glass .button-join-glass .join-orb--3,
.home-page .btn-hero-primary .join-orb--3 {
  background: rgba(22, 105, 200, 0.95);
  transform: translate(-0.2em, 1.8em);
}

.home-page .button-join-glass .join-orb--4,
.register-page-glass .button-join-glass .join-orb--4,
.join-page-glass .button-join-glass .join-orb--4,
.home-page .btn-hero-primary .join-orb--4 {
  background: rgba(255, 255, 255, 0.24);
  transform: translate(3.5em, 1.4em);
}

.home-page .button-join-glass .join-orb--5,
.register-page-glass .button-join-glass .join-orb--5,
.join-page-glass .button-join-glass .join-orb--5,
.home-page .btn-hero-primary .join-orb--5 {
  background: rgba(201, 168, 76, 0.86);
  transform: translate(3.5em, -3.8em);
}

.home-page .button-join-glass .join-button-text,
.home-page .button-join-glass .arrow-icon,
.register-page-glass .button-join-glass .join-button-text,
.register-page-glass .button-join-glass .arrow-icon,
.join-page-glass .button-join-glass .join-button-text,
.join-page-glass .button-join-glass .arrow-icon,
.home-page .btn-hero-primary .join-button-text {
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.home-page .button-join-glass:hover,
.register-page-glass .button-join-glass:hover,
.join-page-glass .button-join-glass:hover,
.home-page .btn-hero-primary:hover {
  background: linear-gradient(135deg, #0d1b3e 0%, #1769c8 62%, #3aa7ff 100%);
  border-color: rgba(201, 168, 76, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    0 18px 34px rgba(13, 27, 62, 0.24);
  transform: translateY(-1px) scale(1.02);
}

.home-page .button-join-glass:hover .join-orb,
.register-page-glass .button-join-glass:hover .join-orb,
.join-page-glass .button-join-glass:hover .join-orb,
.home-page .btn-hero-primary:hover .join-orb {
  opacity: 1;
  transform: translate(-50%, -50%) scale(4.6);
  transition: transform 1.2s ease, opacity 0.8s ease;
}

.home-page .btn-hero-primary:hover .join-orb {
  transform: translate(-50%, -50%) scale(5.2);
}

/* Blob Button - Register for Yuvaad */
.blob-btn {
  z-index: 1;
  position: relative;
  padding: 14px 28px;
  text-align: center;
  color: #0D1B3E;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  background-color: transparent;
  outline: none;
  border: none;
  transition: color 0.5s;
  cursor: pointer;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.blob-btn:before {
  content: "";
  z-index: 1;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(13, 27, 62, 0.3);
  border-radius: 30px;
  box-sizing: border-box;
}

.blob-btn:hover {
  color: #FFFFFF;
}

.blob-btn__inner {
  z-index: -1;
  overflow: hidden;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  background: transparent;
}

.blob-btn__blobs {
  position: relative;
  display: block;
  height: 100%;
  filter: url('#goo');
}

.blob-btn__blob {
  position: absolute;
  top: 2px;
  width: 25%;
  height: 100%;
  background: #0D1B3E;
  border-radius: 100%;
  transform: translate3d(0, 150%, 0) scale(1.7);
  transition: transform 0.45s;
}

@supports(filter: url('#goo')) {
  .blob-btn__blob {
    transform: translate3d(0, 150%, 0) scale(1.4);
  }
}

.blob-btn__blob:nth-child(1) {
  left: 0%;
  transition-delay: 0s;
}

.blob-btn__blob:nth-child(2) {
  left: 30%;
  transition-delay: 0.08s;
}

.blob-btn__blob:nth-child(3) {
  left: 60%;
  transition-delay: 0.16s;
}

.blob-btn__blob:nth-child(4) {
  left: 90%;
  transition-delay: 0.24s;
}

.blob-btn:hover .blob-btn__blob {
  transform: translateZ(0) scale(1.7);
}

@supports(filter: url('#goo')) {
  .blob-btn:hover .blob-btn__blob {
    transform: translateZ(0) scale(1.4);
  }
}

.home-page .hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Animated Logo Components */
.home-page .logo-container {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-page .logo-float-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

.home-page .logo-rotate-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: logoGlow 3s ease-in-out infinite;
}

.home-page .outer-ring-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(201, 168, 76, 0.3);
  z-index: 1;
  pointer-events: none;
  animation: ringPulse 3s ease-in-out infinite;
  box-sizing: border-box;
}

.home-page .outer-ring-dashed {
  position: absolute;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  border-radius: 50%;
  border: 1px dashed rgba(201, 168, 76, 0.2);
  z-index: 0;
  pointer-events: none;
  animation: rotateOpposite 40s linear infinite;
  box-sizing: border-box;
}

/* Animations */
@keyframes logoGlow {

  0%,
  100% {
    filter: drop-shadow(0 0 20px rgba(201, 168, 76, 0.4)) drop-shadow(0 0 60px rgba(201, 168, 76, 0.15));
  }

  50% {
    filter: drop-shadow(0 0 40px rgba(201, 168, 76, 0.7)) drop-shadow(0 0 100px rgba(201, 168, 76, 0.3));
  }
}

@keyframes ringPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.3);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 0 20px rgba(201, 168, 76, 0);
    transform: scale(1.05);
  }
}

@keyframes rotateOpposite {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

/* Register Flow & Join Page Styles */
body.register-page-glass .register-flow-page,
body.join-page-glass .join-page {
  background-image: repeating-linear-gradient(45deg,
      transparent,
      transparent 40px,
      rgba(13, 27, 62, 0.015) 40px,
      rgba(13, 27, 62, 0.015) 41px);
}

body.register-page-glass .form-row label,
body.register-page-glass .form-row input,
body.register-page-glass .form-row select,
body.register-page-glass .form-row textarea,
body.join-page-glass .form-row label,
body.join-page-glass .form-row input,
body.join-page-glass .form-row select,
body.join-page-glass .form-row textarea {
  font-family: 'Inter', sans-serif !important;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 760px) {

  .home-page .site-header,
  .register-page-glass .site-header,
  .join-page-glass .site-header {
    width: calc(100% - 32px);
    border-radius: 16px;
    padding: 12px 20px;
    position: sticky;
    top: 20px;
    gap: 12px;
    flex-wrap: wrap;
  }

  .home-page .nav-toggle,
  .register-page-glass .nav-toggle,
  .join-page-glass .nav-toggle {
    display: inline-flex;
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    margin-left: auto;
  }

  .home-page .nav-toggle span,
  .register-page-glass .nav-toggle span,
  .join-page-glass .nav-toggle span {
    background-color: #0D1B3E;
  }

  .home-page .site-nav,
  .register-page-glass .site-nav,
  .join-page-glass .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }

  .home-page .site-nav.is-open,
  .register-page-glass .site-nav.is-open,
  .join-page-glass .site-nav.is-open {
    display: flex;
  }

  .home-page .site-nav a,
  .register-page-glass .site-nav a,
  .join-page-glass .site-nav a {
    font-size: 16px;
    padding: 8px 0;
    border-top: none;
  }

  .home-page .nav-right,
  .register-page-glass .nav-right,
  .join-page-glass .nav-right {
    display: none;
  }

  .home-page .mobile-join-link,
  .register-page-glass .mobile-join-link,
  .join-page-glass .mobile-join-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 132, 255, 0.8);
    color: white !important;
    padding: 10px;
    border-radius: 12px;
    font-weight: 600;
    margin-top: 8px;
    text-align: center;
  }

  .home-page .hero-glass {
    padding: 100px 16px 40px;
    min-height: auto;
  }

  .home-page .hero-container {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .home-page .hero-left {
    align-items: center;
    text-align: center;
    order: 2;
    /* Content below */
  }

  .home-page .hero-right {
    order: 1;
    /* Visual on top */
    margin-bottom: 12px;
  }

  .home-page .hero-headline {
    font-size: 40px;
    letter-spacing: -1px;
  }

  .home-page .hero-subheadline {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .home-page .hero-buttons {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 12px;
  }

  .home-page .btn-hero-primary,
  .home-page .btn-hero-secondary {
    width: 100%;
  }

  .home-page .logo-container {
    width: 220px;
    height: 220px;
  }

  .home-page .outer-ring-dashed {
    width: calc(100% + 20px);
    height: calc(100% + 20px);
  }
}

.home-page .site-header.is-scrolled,
.register-page-glass .site-header.is-scrolled,
.join-page-glass .site-header.is-scrolled {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
  backdrop-filter: blur(50px) !important;
  -webkit-backdrop-filter: blur(50px) !important;
}

/* ==========================================================================
   New Visual Elements & Layout Extensions
   ========================================================================== */

/* Background Ellipses Extensions */
.home-page .ellipse-3 {
  width: 500px;
  height: 500px;
  background: #FFE5A3;
  filter: blur(120px);
  opacity: 0.15;
  bottom: 10%;
  right: -100px;
  z-index: 0;
}

.home-page .ellipse-4 {
  width: 350px;
  height: 350px;
  background: #FFC107;
  filter: blur(100px);
  opacity: 0.12;
  bottom: 15%;
  right: -50px;
  z-index: 0;
}

.home-page .ellipse-impact {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.2), rgba(201, 168, 76, 0) 70%);
  filter: blur(140px);
  opacity: 0.18;
  top: 35%;
  left: -150px;
  z-index: 0;
}

.home-page .ellipse-leadership {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(13, 27, 62, 0.15), rgba(13, 27, 62, 0) 70%);
  filter: blur(160px);
  opacity: 0.12;
  bottom: 5%;
  left: -150px;
  z-index: 0;
}

/* Floating background icons */
.hero-floating-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.floating-icon {
  position: absolute;
  opacity: 0.035;
  transition: opacity 0.3s ease;
}

.floating-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1);
}

.icon-gavel {
  top: 15%;
  left: 10%;
  width: 90px;
  height: 90px;
  animation: floatGavel 6s ease-in-out infinite;
}

.icon-scales {
  top: 45%;
  left: 5%;
  width: 110px;
  height: 110px;
  animation: floatScales 8s ease-in-out infinite;
}

.icon-scroll {
  top: 25%;
  right: 12%;
  width: 80px;
  height: 80px;
  animation: floatScroll 7s ease-in-out infinite;
}

@keyframes floatGavel {

  0%,
  100% {
    transform: translateY(0) rotate(-15deg);
  }

  50% {
    transform: translateY(-12px) rotate(-10deg);
  }
}

@keyframes floatScales {

  0%,
  100% {
    transform: translateY(0) rotate(10deg);
  }

  50% {
    transform: translateY(-15px) rotate(5deg);
  }
}

@keyframes floatScroll {

  0%,
  100% {
    transform: translateY(0) rotate(20deg);
  }

  50% {
    transform: translateY(-10px) rotate(24deg);
  }
}

/* Glass Card Base Utility */
.glass-card {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-soft);
}

/* Hero Scrolling Marquee Ticker */
.hero-ticker-wrap {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  border-top: 1px solid rgba(13, 27, 62, 0.06);
  border-bottom: 1px solid rgba(13, 27, 62, 0.06);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 14px 0;
  margin-top: 48px;
  position: relative;
  z-index: 10;
}

.hero-ticker {
  display: flex;
  width: max-content;
  animation: scroll-ticker 30s linear infinite;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  font-family: 'Fustat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: rgba(13, 27, 62, 0.42);
  letter-spacing: 0.15em;
  padding-right: 20px;
}

.ticker-dot {
  color: var(--accent);
  font-size: 16px;
}

@keyframes scroll-ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Hero Stats Pill Bar */
.hero-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 16px 36px;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(13, 27, 62, 0.08);
  border-radius: 999px;
  box-shadow: inset 0px 4px 4px 0px rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(45px);
  -webkit-backdrop-filter: blur(45px);
  margin-top: 48px;
  position: relative;
  z-index: 10;
}

.hero-stat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pill-number {
  font-family: 'Fustat', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #0D1B3E;
  line-height: 1.1;
}

.pill-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 11px;
  color: rgba(13, 27, 62, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.pill-divider {
  width: 1px;
  height: 28px;
  background: rgba(13, 27, 62, 0.1);
}

/* Section Dividers & Pull-Quotes */
.section-divider-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  margin: 92px auto;
  width: min(calc(100% - 32px), var(--content-width));
}

.quote-lady-justice {
  position: absolute;
  left: -68px;
  top: 50%;
  width: 484px;
  height: 600px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}

.quote-lady-justice img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  filter: grayscale(1) contrast(1.08);
  opacity: 0.14;
}

.quote-ambedkar .quote-lady-justice {
  width: 339px;
  height: 420px;
}

.glass-divider {
  position: relative;
  z-index: 1;
  border: none;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, rgba(13, 27, 62, 0), rgba(13, 27, 62, 0.08) 20%, rgba(13, 27, 62, 0.08) 80%, rgba(13, 27, 62, 0));
  margin: 0;
}

/* Premium glass quote plate */
.glass-quote {
  border: none;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(255, 255, 255, 0.25) 100%);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border-left: 4px solid var(--accent);
  padding: 32px 40px;
  border-radius: 0 24px 24px 0;
  max-width: 720px;
  margin: 0;
  /* Shiny border + layered shadows */
  border-top: 1px solid rgba(255, 255, 255, 0.75);
  border-right: 1px solid rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.9) inset,
    0 4px 24px rgba(13, 27, 62, 0.10),
    0 16px 48px rgba(13, 27, 62, 0.08),
    0 1px 0 rgba(201, 168, 76, 0.18) inset;
  text-align: center;
}

.glass-quote p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 21px;
  line-height: 1.5;
  color: #0D1B3E;
  margin: 0 0 12px 0;
}

.glass-quote cite {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-style: normal;
  display: block;
}

/* How It Works Section */
.how-it-works {
  margin-top: 40px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.step-card {
  padding: 44px 32px;
  position: relative;
  overflow: hidden;
  /* Premium white glossy glass plate */
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.72) 0%,
      rgba(255, 255, 255, 0.40) 100%);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-radius: 24px;
  /* Shiny top highlight + sides */
  border-top: 1.5px solid rgba(255, 255, 255, 0.95);
  border-left: 1px solid rgba(255, 255, 255, 0.6);
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  /* Layered shadows for depth */
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 1) inset,
    0 6px 24px rgba(13, 27, 62, 0.08),
    0 20px 60px rgba(13, 27, 62, 0.06),
    0 1px 0 rgba(201, 168, 76, 0.10) inset;
  min-height: 240px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 1) inset,
    0 12px 40px rgba(13, 27, 62, 0.12),
    0 28px 72px rgba(13, 27, 62, 0.09),
    0 1px 0 rgba(201, 168, 76, 0.18) inset;
}

.step-number {
  position: absolute;
  top: -12px;
  right: 12px;
  font-family: 'Fustat', sans-serif;
  font-weight: 800;
  font-size: 80px;
  color: rgba(13, 27, 62, 0.05);
  line-height: 1;
  z-index: 1;
  pointer-events: none;
}

.step-card h3 {
  font-family: 'Fustat', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #0D1B3E;
  margin: 0 0 12px 0;
  position: relative;
  z-index: 2;
}

.step-card p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(13, 27, 62, 0.65);
  margin: 0;
  position: relative;
  z-index: 2;
}

/* Upcoming Events */
.upcoming-events {
  margin-top: 40px;
}

.event-glass-card {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  background: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-soft);
  padding: 48px;
  margin-top: 40px;
  align-items: center;
}

.event-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.event-badge {
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.28);
  color: var(--accent);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.15em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.event-glass-card h3 {
  font-family: 'Fustat', sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: #0D1B3E;
  margin: 0 0 12px 0;
  line-height: 1.15;
}

.event-meta-info {
  display: flex;
  gap: 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #0D1B3E;
  margin: 0 0 20px 0;
}

.event-desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(13, 27, 62, 0.68);
  margin: 0 0 28px 0;
}

.event-countdown-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(13, 27, 62, 0.03);
  border: 1px solid rgba(13, 27, 62, 0.08);
  padding: 32px 24px;
  border-radius: 20px;
}

.countdown-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: rgba(13, 27, 62, 0.48);
  letter-spacing: 0.15em;
  margin: 0 0 20px 0;
  text-align: center;
}

.countdown-timer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 58px;
}

.countdown-number {
  font-family: 'Fustat', sans-serif;
  font-weight: 800;
  font-size: 34px;
  color: var(--accent);
  line-height: 1.1;
}

.countdown-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 11px;
  color: rgba(13, 27, 62, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.countdown-separator {
  font-family: 'Fustat', sans-serif;
  font-weight: 800;
  font-size: 30px;
  color: rgba(13, 27, 62, 0.22);
  line-height: 1.1;
  padding-bottom: 16px;
}

/* Voices from Yuvaad (Testimonials) */
.testimonials-section {
  margin-top: 40px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.testimonial-card {
  padding: 38px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}

.quote-icon {
  font-family: 'Playfair Display', serif;
  font-size: 90px;
  color: rgba(201, 168, 76, 0.12);
  position: absolute;
  top: -12px;
  left: 20px;
  line-height: 1;
}

.testimonial-text {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(13, 27, 62, 0.76);
  margin: 0 0 24px 0;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fustat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #0D1B3E;
  flex-shrink: 0;
}

.author-info h4 {
  font-family: 'Fustat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #0D1B3E;
  margin: 0 0 1px 0;
}

.author-info p {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: rgba(13, 27, 62, 0.55);
  margin: 0;
}

/* FAQ Accordion */
.faq-section {
  margin-top: 40px;
}

.faq-accordion-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 840px;
  margin: 40px auto 0;
}

.faq-item {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(13, 27, 62, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.25);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(201, 168, 76, 0.25);
  box-shadow: 0 8px 24px rgba(13, 27, 62, 0.04);
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 22px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
  font-family: 'Fustat', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #0D1B3E;
  transition: background-color 0.2s ease;
}

.faq-trigger:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.faq-icon {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--accent);
  line-height: 1;
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
  padding: 0 30px;
}

.faq-panel.is-active {
  max-height: 220px;
  padding-bottom: 24px;
}

.faq-panel p {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(13, 27, 62, 0.68);
  margin: 0;
}

/* ==========================================================================
   Split Form Layouts for Join & Register Pages
   ========================================================================== */
.join-split-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  margin-top: 36px;
  align-items: start;
}

.join-info-col {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.join-info-col .join-hero {
  margin-top: 0;
  text-align: left;
}

.join-info-col .join-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  text-align: left;
}

.join-info-col .join-hero p {
  text-align: left;
  margin-left: 0;
}

/* Progress Indicator */
.form-progress-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(13, 27, 62, 0.05);
  border: 1px solid rgba(13, 27, 62, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fustat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: rgba(13, 27, 62, 0.45);
  transition: all 0.3s ease;
}

.progress-step.active .step-num {
  background: rgba(0, 132, 255, 0.85);
  border-color: rgba(0, 132, 255, 0.85);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 132, 255, 0.25);
}

.step-text {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: rgba(13, 27, 62, 0.45);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.progress-step.active .step-text {
  color: #0D1B3E;
}

.progress-line {
  flex: 1;
  height: 1px;
  background: rgba(13, 27, 62, 0.08);
  min-width: 8px;
}

/* Premium glass sidebar quote card (join/register pages) */
.sidebar-quote-card {
  position: relative;
  padding: 30px 32px;
  border-left: 4px solid var(--accent);
  border-radius: 0 20px 20px 0;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.58) 0%,
      rgba(255, 255, 255, 0.28) 100%);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  border-right: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.9) inset,
    0 8px 32px rgba(13, 27, 62, 0.10),
    0 20px 56px rgba(13, 27, 62, 0.07),
    0 1px 0 rgba(201, 168, 76, 0.15) inset;
}

.sidebar-quote-card p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.5;
  color: #0D1B3E;
  margin: 0 0 10px 0;
}

.sidebar-quote-card cite {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-style: normal;
  display: block;
}

/* Chamber Illustration */
.chamber-illustration {
  width: 100%;
  max-width: 300px;
  opacity: 0.78;
  margin: 10px auto 0;
}

/* Responsive Overrides for New Styles */
@media (max-width: 1024px) {
  .join-split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .event-glass-card {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 36px;
  }

  .event-countdown-wrap {
    width: 100%;
  }
}

@media (max-width: 760px) {

  .steps-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .step-card,
  .testimonial-card {
    padding: 36px 24px;
    min-height: auto;
  }

  .event-glass-card {
    padding: 28px 20px;
  }

  .event-glass-card h3 {
    font-size: 25px;
  }

  .countdown-timer {
    gap: 8px;
  }

  .countdown-number {
    font-size: 28px;
  }

  .countdown-separator {
    font-size: 24px;
    padding-bottom: 12px;
  }

  .hero-stats-bar {
    gap: 16px;
    padding: 12px 24px;
    border-radius: 24px;
    flex-wrap: wrap;
    justify-content: space-evenly;
  }

  .hero-stat-pill .pill-number {
    font-size: 20px;
  }

  .hero-stat-pill .pill-label {
    font-size: 10px;
  }

  .pill-divider {
    height: 24px;
  }

  .section-divider-wrap {
    margin: 64px auto;
    gap: 28px;
  }

  .glass-quote {
    padding: 20px 24px;
  }

  .glass-quote p {
    font-size: 18px;
  }

  .form-progress-indicator {
    flex-wrap: wrap;
    gap: 8px;
  }

  .progress-line {
    display: none;
  }

  .progress-step {
    background: rgba(13, 27, 62, 0.03);
    padding: 6px 12px;
    border-radius: 99px;
    border: 1px solid rgba(13, 27, 62, 0.06);
  }

  .progress-step.active {
    background: rgba(0, 132, 255, 0.08);
    border-color: rgba(0, 132, 255, 0.2);
  }

  .step-num {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }

  .step-text {
    font-size: 10px;
  }
}

/* Scattered Watermark Motifs */
.watermark-motif {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.watermark-motif img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1) contrast(1.2);
  opacity: 0.25;
  /* 25% opacity */
}

.watermark-1 {
  top: 18%;
  right: 5%;
  width: 322px;
  /* 280px + 15% */
  height: 322px;
}

.watermark-2 {
  top: 48%;
  left: 3%;
  width: 391px;
  /* 340px + 15% */
  height: 391px;
}

.watermark-3 {
  top: auto;
  bottom: -20px;
  right: 0;
  width: 345px;
  /* 300px + 15% */
  height: 345px;
}

.footer-edge-watermark {
  position: absolute;
  bottom: 100%;
  pointer-events: none;
  z-index: 0;
}

.footer-edge-watermark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1) contrast(1.08);
}

.footer-edge-watermark-lady {
  left: 10px;
  width: 257px;
  height: 420px;
}

.footer-edge-watermark-lady img {
  object-position: left bottom;
  opacity: 0.14;
}

.footer-edge-watermark-emblem {
  right: 0.01px;
  width: 345px;
  height: 345px;
}

.footer-edge-watermark.footer-edge-watermark-emblem {
  bottom: calc(100% + 10px);
}

.footer-edge-watermark-emblem img {
  opacity: 0.25;
}

/* ── Responsive: hide edge watermarks on mobile so they don't overlap the quote card ── */
@media (max-width: 768px) {
  .footer-edge-watermark {
    display: none;
  }
}

/* ==========================================================================
   Section-level Corner Watermark System (to fill empty whitespace)
   ========================================================================== */

.hero-glass,
.how-it-works,
.impact-yuvaad,
.upcoming-events,
.testimonials-section,
.faq-section,
.join-shell,
.register-shell,
.quote-with-decor {
  position: relative;
  /* We allow overflow so watermarks bleed into wide margins on PC instead of having hard cropped edges.
     The overall .page-shell has overflow: clip, preventing horizontal scrollbars. */
}

/* Elevate section content above background watermarks */
.hero-container,
.hero-stats-bar,
.steps-grid,
.stats-grid,
.yuvaad-block,
.event-glass-card,
.testimonials-grid,
.faq-accordion-wrap,
.join-split-layout {
  position: relative;
  z-index: 2;
}

.section-corner-decor {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  width: 575px;
  /* Base 500px + 15% increase */
  height: 575px;
  opacity: 0.25;
  /* 25% opacity */
  filter: grayscale(1) contrast(1.15);
  transition: opacity 0.3s ease;
}

.decor-left {
  left: -172.5px;
  /* Exactly 30% of 575px is outside */
  top: 50%;
  transform: translateY(-50%);
}

.decor-right {
  right: -172.5px;
  /* Exactly 30% of 575px is outside */
  top: 50%;
  transform: translateY(-50%);
}

.decor-center {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 860px;
  /* 50% larger than 575px */
  height: 860px;
}

.kalam-decor {
  width: 700px;
  /* Make it a bit bigger than standard 575px */
  height: 700px;
}

.kalam-decor.decor-left {
  left: -210px;
  /* Exactly 30% of 700px is outside */
}

.kalam-decor.decor-right {
  right: -210px;
  /* Exactly 30% of 700px is outside */
}

.section-corner-decor img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Responsive scaling for mobile and tablets */
@media (max-width: 980px) {
  .section-corner-decor {
    width: 402px;
    /* Base 350px + 15% increase */
    height: 402px;
  }

  .decor-left {
    left: -120.6px;
    /* Exactly 30% of 402px is outside */
  }

  .decor-right {
    right: -120.6px;
    /* Exactly 30% of 402px is outside */
  }

  .decor-center {
    width: 600px;
    /* 50% larger than 402px */
    height: 600px;
  }

  .kalam-decor {
    width: 480px;
    /* Scaled up from 402px */
    height: 480px;
  }

  .kalam-decor.decor-left {
    left: -144px;
    /* 30% of 480px */
  }

  .kalam-decor.decor-right {
    right: -144px;
  }
}

@media (max-width: 760px) {
  .section-corner-decor {
    width: 287px;
    /* Base 250px + 15% increase */
    height: 287px;
  }

  .decor-left {
    left: -86.1px;
    /* Exactly 30% of 287px is outside */
  }

  .decor-right {
    right: -86.1px;
    /* Exactly 30% of 287px is outside */
  }

  .decor-center {
    width: 430px;
    /* 50% larger than 287px */
    height: 430px;
  }

  .kalam-decor {
    width: 350px;
    /* Scaled up from 287px */
    height: 350px;
  }

  .kalam-decor.decor-left {
    left: -105px;
    /* 30% of 350px */
  }

  .kalam-decor.decor-right {
    right: -105px;
  }
}

/* Event State Banner Styles */
.event-state-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 8px;
  animation: fadeInState 0.4s ease;
}

.event-state-icon {
  font-size: 42px;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
}

.event-state-title {
  font-family: 'Fustat', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #0D1B3E;
  margin: 0 0 6px 0;
  letter-spacing: -0.5px;
}

.event-state-sub {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(13, 27, 62, 0.6);
  margin: 0;
  max-width: 280px;
}

@keyframes fadeInState {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Lightbox Modal for Moments Gallery
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(13, 27, 62, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox-modal.is-active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox-modal.is-active .lightbox-content {
  transform: scale(1);
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(201, 168, 76, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: #ede8dc;
  font-size: 3rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.25s, color 0.25s, transform 0.25s;
  z-index: 10001;
}

.lightbox-close:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: rotate(90deg);
}

/* Prevent body scrolling when lightbox is open */
body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .lightbox-close {
    top: 16px;
    right: 16px;
    font-size: 2.5rem;
    width: 40px;
    height: 40px;
  }

  .lightbox-content {
    max-width: 95vw;
    max-height: 80vh;
  }

  .lightbox-content img {
    max-height: 80vh;
  }
}

/* ==========================================================================
   Firebase Countdown UI
   ========================================================================== */
.countdown-wrap {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.countdown-label {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.countdown-boxes {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.countdown-box {
  background-color: #0d1b3e;
  flex: 1;
  min-width: 100px;
  padding: 20px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(13, 27, 62, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.15);
}

.countdown-box span {
  font-family: "Playfair Display", serif;
  font-size: 48px;
  font-weight: 700;
  color: #c9a84c;
  line-height: 1.1;
}

.countdown-box label {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #ffffff;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 576px) {
  .countdown-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .countdown-box {
    padding: 16px;
    min-width: 0;
  }

  .countdown-box span {
    font-size: 38px;
  }
}

/* ==========================================================================
   Hero Lady Justice (left decorative figure)
   ========================================================================== */
.hero-lady-justice {
  position: absolute;
  left: -40px;
  bottom: 0;
  width: 340px;
  height: 560px;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.hero-lady-justice img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom left;
  filter: grayscale(1) contrast(1.1);
  opacity: 0.18;
}

@media (max-width: 1100px) {
  .hero-lady-justice {
    width: 240px;
    height: 400px;
    left: -20px;
    opacity: 0.12;
  }

  .quote-lady-justice {
    left: -40px;
    width: 367px;
    height: 500px;
  }

  .quote-ambedkar .quote-lady-justice {
    width: 257px;
    height: 350px;
  }
}

@media (max-width: 760px) {

  .hero-lady-justice,
  .quote-lady-justice {
    display: none;
  }
}

/* ==========================================================================
   Join Form Right Column
   ========================================================================== */
.join-form-col {
  position: relative;
}

.join-form-col .join-form-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 24px;
  border: 1px solid rgba(13, 27, 62, 0.08);
  box-shadow: 0 8px 32px rgba(13, 27, 62, 0.08);
  padding: 40px 36px;
}

.join-form-col .form-row {
  margin-bottom: 24px;
}

.join-form-col .form-row label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #0D1B3E;
  margin-bottom: 8px;
}

.join-form-col .form-row input,
.join-form-col .form-row select,
.join-form-col .form-row textarea {
  width: 100%;
  padding: 14px 0;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(13, 27, 62, 0.15);
  border-radius: 0;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #0D1B3E;
  outline: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.join-form-col .form-row input::placeholder,
.join-form-col .form-row select option:first-child {
  color: rgba(13, 27, 62, 0.35);
}

.join-form-col .form-row input:focus,
.join-form-col .form-row select:focus,
.join-form-col .form-row textarea:focus {
  border-bottom-color: rgba(0, 132, 255, 0.6);
}

.join-form-col .form-submit {
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  font-size: 16px;
  border-radius: 14px;
  background: #0D1B3E;
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: 'Fustat', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.15s ease;
}

.join-form-col .form-submit:hover {
  background: #1769c8;
  transform: translateY(-1px);
}

.join-form-col .form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ==========================================================================
   Join-page success card adjustments
   ========================================================================== */
.join-form-col .join-success-card {
  padding: 48px 36px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(30px);
  border-radius: 24px;
  border: 1px solid rgba(13, 27, 62, 0.08);
  text-align: center;
}

/* ==========================================================================
   Mobile Optimizations — Full site
   ========================================================================== */

/* Make sections not overflow on mobile */
@media (max-width: 760px) {

  /* Base shell */
  body {
    overflow-x: hidden;
  }

  .page-shell {
    overflow-x: hidden;
  }

  /* Watermarks too large on mobile */
  .watermark-motif {
    display: none;
  }

  /* Section frames */
  .section-frame {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Hero stats bar stack */
  .hero-stats-bar {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 20px;
  }

  .pill-divider {
    display: none;
  }

  /* Steps grid single column — already in CSS */

  /* Impact stats grid */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-card {
    padding: 24px 16px;
  }

  .stat-card strong {
    font-size: clamp(1.4rem, 5vw, 2.2rem);
  }

  /* Info grid (Yuvaad) */
  .info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Leaders grid */
  .leaders-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Moments strip */
  .moments-strip {
    overflow: hidden;
  }

  .photo-box {
    width: 240px;
  }

  /* Event glass card */
  .event-glass-card {
    padding: 24px 18px;
  }

  /* Footer */
  .site-footer {
    padding: 40px 20px;
    gap: 28px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .footer-social {
    gap: 16px;
  }

  /* Join page split layout — stacks on mobile */
  .join-split-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .join-info-col .join-hero h1 {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .chamber-illustration {
    display: none;
  }

  .join-form-col .join-form-card {
    padding: 28px 20px;
    border-radius: 18px;
  }

  /* Register page form */
  .register-shell .join-form-card {
    padding: 28px 20px;
  }

  /* Section headings */
  .section-heading h2 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  /* Pull-quote glass */
  .glass-quote {
    margin: 0 8px;
  }

  /* Floating elements hide on mobile */
  .hero-floating-elements {
    display: none;
  }

  /* Corner decors smaller */
  .section-corner-decor {
    opacity: 0.15;
  }
}

@media (max-width: 480px) {

  /* Extra-small screens */
  .hero-headline {
    font-size: 36px !important;
    letter-spacing: -0.5px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats-bar {
    gap: 8px;
  }

  .event-badge {
    font-size: 10px;
  }

  .event-glass-card h3 {
    font-size: 20px;
  }
}

/* ══════════════════════════════════════════════════════════
   POSTERS SECTION
═══════════════════════════════════════════════════════════ */
.posters-section {
  padding: 72px 0 60px;
  text-align: center;
}

.poster-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 36px;
  padding: 0 24px;
}

.poster-glow {
  position: absolute;
  width: min(960px, calc(100% - 48px));
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  background: radial-gradient(ellipse, rgba(201, 168, 76, 0.22) 0%, transparent 72%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

/* ── Banner card: 16:9 landscape on all screen sizes ── */
.poster-card {
  position: relative;
  z-index: 1;
  width: min(960px, calc(100% - 48px));
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(13, 27, 62, 0.32),
    0 0 0 1px rgba(201, 168, 76, 0.16);
  background: rgba(13, 27, 62, 0.12);
}

.poster-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.poster-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.poster-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.poster-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.poster-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.poster-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(13, 27, 62, 0.2);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.poster-dot.is-active {
  background: var(--accent);
  transform: scale(1.25);
}

/* ── Mobile: tighter side padding, still 16:9 ── */
@media (max-width: 600px) {
  .poster-stage {
    padding: 0 16px;
  }

  .poster-card,
  .poster-glow {
    width: calc(100% - 32px);
    border-radius: 12px;
  }
}


/* --- ABOUT US SECTION STYLES --- */
.about-us-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 40px;
}

.about-us .section-heading {
  margin-bottom: 24px;
}

.info-grid.about-values {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

article.info-card.value-chip {
  min-height: auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

article.info-card.value-chip .value-icon {
  font-size: 1.5rem;
  line-height: 1;
}

article.info-card.value-chip p {
  margin: 0;
  font-weight: 600;
  color: var(--text);
  font-size: 1.05rem;
}

@media (max-width: 980px) {
  .info-grid.about-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .info-grid.about-values {
    grid-template-columns: 1fr;
  }
}

/* --- User Requested Updates: About Us Card & Animations --- */

/* Change 1: About Us Card */
.about-us-card {
  background: var(--surface);
  border-left: 4px solid var(--accent);
  border-radius: 18px;
  padding: 32px 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  text-align: center;
}

body.dark-mode .about-us-card {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Change 2: Value Chips Animation */
.value-chip {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s ease, border-left-color 0.3s ease;
  border-left-color: var(--accent);
  /* Keep existing gold but allow transition */
}

.value-chip.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.value-chip:hover {
  transform: translateY(-4px) !important;
  /* Force lift */
  border-left-color: #ffd700 !important;
  /* Brighter gold on hover */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

body.dark-mode .value-chip:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Move Lady Justice to the right for About Us section */
.about-us .quote-lady-justice {
  left: auto;
  right: -68px;
  transform: translateY(-50%) scaleX(-1);
}

@media (max-width: 980px) {
  .about-us .quote-lady-justice {
    left: auto;
    right: -40px;
  }
}

/* Founder Attribution */
.founder-divider {
  border: none;
  border-top: 1px solid var(--accent);
  margin: 32px 4 16px 0;
  width: 100%;
}

.founder-attribution {
  text-align: right;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}