/* ============================================================
   style.css — ResponsibleCitizen.in
   Mobile-first, CSS custom properties, smooth animations
   ============================================================ */

/* ── Google Fonts ────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS Custom Properties ───────────────────────────────────────────────── */
:root {
  /* Brand colors */
  --saffron:        #FF9933;
  --saffron-light:  #FFF3E0;
  --saffron-dark:   #E67E00;
  --india-green:    #138808;
  --india-green-lt: #E8F5E9;
  --navy:           #003580;
  --navy-dark:      #002060;
  --navy-mid:       #004199;
  --white:          #FFFFFF;
  --gray-50:        #F8F9FA;
  --gray-100:       #F1F3F5;
  --gray-200:       #E9ECEF;
  --gray-400:       #ADB5BD;
  --gray-600:       #6C757D;
  --gray-800:       #343A40;

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Spacing */
  --section-py:  5rem;
  --container-w: 1200px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0,53,128,0.08);
  --shadow-md:  0 4px 20px rgba(0,53,128,0.12);
  --shadow-lg:  0 8px 40px rgba(0,53,128,0.18);

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* ── Reset & Base ────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* ── Container ───────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ── Section Defaults ────────────────────────────────────────────────────── */
section {
  padding-block: var(--section-py);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--saffron);
  background: var(--saffron-light);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 600px;
  line-height: 1.7;
}

/* ── Tricolor Stripe ─────────────────────────────────────────────────────── */
.tricolor-stripe {
  display: flex;
  height: 4px;
}
.tricolor-stripe span {
  flex: 1;
}
.tricolor-stripe .stripe-saffron { background: var(--saffron); }
.tricolor-stripe .stripe-white   { background: var(--white); }
.tricolor-stripe .stripe-green   { background: var(--india-green); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-align: center;
}

.btn-saffron {
  background: var(--saffron);
  color: var(--white);
  border-color: var(--saffron);
}
.btn-saffron:hover {
  background: var(--saffron-dark);
  border-color: var(--saffron-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,153,51,0.4);
}

.btn-green-outline {
  background: transparent;
  color: var(--india-green);
  border-color: var(--india-green);
}
.btn-green-outline:hover {
  background: var(--india-green);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(19,136,8,0.3);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-white-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ────────────────────────────────────────────────────────────────────────────
   NAVBAR
   ──────────────────────────────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0,53,128,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 0 var(--saffron), var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.nav-logo img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: 50%;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.15;
  color: var(--white);
  transition: color var(--transition);
}

.nav-logo-text span {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  opacity: 0.8;
}

#navbar.scrolled .nav-logo-text { color: var(--navy); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--saffron);
  background: rgba(255,153,51,0.12);
}

#navbar.scrolled .nav-links a      { color: var(--navy); }
#navbar.scrolled .nav-links a:hover{ color: var(--saffron); background: var(--saffron-light); }

.nav-cta {
  margin-left: 0.75rem;
  padding: 0.5rem 1.25rem !important;
  background: var(--saffron) !important;
  color: var(--white) !important;
  border-radius: 100px !important;
  font-weight: 700 !important;
}

.nav-cta:hover {
  background: var(--saffron-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255,153,51,0.4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

#navbar.scrolled .hamburger span { background: var(--navy); }

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  gap: 0.25rem;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mobile-nav a:hover {
  background: var(--saffron-light);
  color: var(--saffron);
}

.mobile-nav .nav-cta {
  margin-top: 0.5rem;
  background: var(--saffron) !important;
  color: var(--white) !important;
  text-align: center;
  border-radius: 100px !important;
  font-weight: 700 !important;
}


/* ────────────────────────────────────────────────────────────────────────────
   HERO SECTION
   ──────────────────────────────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy-dark);
  overflow: hidden;
  padding-top: 70px;
}

/* Gradient overlay */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(0,65,153,0.6) 0%, rgba(0,32,96,0.95) 70%);
  z-index: 1;
}

/* Ashoka Chakra watermark */
.hero-chakra {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: min(600px, 80vw);
  height: min(600px, 80vw);
  opacity: 0.06;
  animation: spin-slow 60s linear infinite;
  z-index: 0;
}

@keyframes spin-slow {
  from { transform: translateY(-50%) rotate(0deg); }
  to   { transform: translateY(-50%) rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,153,51,0.15);
  border: 1px solid rgba(255,153,51,0.4);
  color: var(--saffron);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: '🇮🇳';
  font-size: 1rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.hero-title .highlight {
  color: var(--saffron);
  position: relative;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.78);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat {
  text-align: left;
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--saffron);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* Tricolor divider at bottom of hero */
.hero-tricolor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 3;
}

/* ────────────────────────────────────────────────────────────────────────────
   ABOUT SECTION
   ──────────────────────────────────────────────────────────────────────────── */
#about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  font-size: 1.08rem;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.about-text p strong {
  color: var(--navy);
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.about-feature-icon {
  width: 28px;
  height: 28px;
  background: var(--india-green-lt);
  color: var(--india-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Stats cards */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat-card {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.4rem 1rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(255,153,51,0.3);
  transition: transform var(--transition);
}

.stat-card:hover { transform: translateY(-4px); }

.stat-card-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

/* About visual */
.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.about-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-logo-bg {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--saffron-light) 0%, rgba(255,243,224,0) 70%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-logo-bg img {
  width: 260px;
  height: 260px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0,53,128,0.2));
  animation: float 4s ease-in-out infinite;
}

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

.about-chakra-bg {
  position: absolute;
  width: 360px;
  height: 360px;
  opacity: 0.05;
  animation: spin-slow 40s linear infinite reverse;
}


/* ────────────────────────────────────────────────────────────────────────────
   PILLARS SECTION
   ──────────────────────────────────────────────────────────────────────────── */
#pillars {
  background: var(--gray-50);
}

.pillars-header {
  text-align: center;
  margin-bottom: 3rem;
}

.pillars-header .section-subtitle {
  margin-inline: auto;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.pillar-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  border-top: 4px solid var(--saffron);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.pillar-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--india-green);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pillar-card:hover::after {
  transform: scaleX(1);
}

.pillar-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  line-height: 1;
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.pillar-desc {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.pillar-link {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--india-green);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--transition);
}

.pillar-link:hover { gap: 0.6rem; }
.pillar-link::after { content: '→'; }


/* ────────────────────────────────────────────────────────────────────────────
   ENROLLMENT FORM SECTION
   ──────────────────────────────────────────────────────────────────────────── */
#enroll {
  background: var(--white);
}

.enroll-header {
  text-align: center;
  margin-bottom: 3rem;
}

.enroll-header .section-subtitle { margin-inline: auto; }

.enroll-wrap {
  max-width: 780px;
  margin-inline: auto;
}

.enroll-form-card {
  background: var(--saffron-light);
  border-radius: var(--radius-lg);
  border-left: 5px solid var(--india-green);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
}

/* Form grid */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group.full-width { grid-column: 1 / -1; }

.form-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.form-label .required {
  color: #E53E3E;
  font-size: 0.75rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--gray-400);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(255,153,51,0.18);
}

.form-input.invalid,
.form-select.invalid,
.form-textarea.invalid {
  border-color: #E53E3E;
  box-shadow: 0 0 0 3px rgba(229,62,62,0.15);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343A40' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 14px;
  padding-right: 2.5rem;
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.char-counter {
  font-size: 0.75rem;
  color: var(--gray-400);
  text-align: right;
}

.char-counter.warn { color: var(--saffron-dark); }
.char-counter.over { color: #E53E3E; }

/* Checkboxes for interests */
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.checkbox-pill input[type="checkbox"] {
  display: none;
}

.checkbox-pill label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 100px;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.checkbox-pill input[type="checkbox"]:checked + label {
  background: var(--india-green);
  color: var(--white);
  border-color: var(--india-green);
  box-shadow: 0 2px 8px rgba(19,136,8,0.25);
}

.checkbox-pill label:hover {
  border-color: var(--india-green);
  color: var(--india-green);
}

/* Pledge checkbox */
.pledge-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: var(--white);
  border: 1.5px solid var(--india-green);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  cursor: pointer;
}

.pledge-checkbox {
  width: 22px;
  height: 22px;
  accent-color: var(--india-green);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.pledge-text {
  font-size: 0.88rem;
  color: var(--gray-800);
  line-height: 1.55;
}

.pledge-text strong {
  color: var(--india-green);
  font-family: var(--font-heading);
}

/* Submit button */
.btn-enroll {
  margin-top: 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 1.1rem 2rem;
  border-radius: var(--radius-md);
  border: none;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 18px rgba(255,153,51,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.btn-enroll:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--saffron-dark), #c46900);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,153,51,0.5);
}

.btn-enroll:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Loading spinner */
.spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255,255,255,0.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success message */
.enroll-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
  animation: fadeScaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes fadeScaleIn {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--india-green-lt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--india-green);
}

.success-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--india-green);
  margin-bottom: 0.6rem;
}

.success-msg {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 440px;
  margin-inline: auto;
}

/* Error message */
.form-error-msg {
  background: #FFF5F5;
  border: 1.5px solid #FEB2B2;
  border-radius: var(--radius-sm);
  color: #C53030;
  font-size: 0.88rem;
  padding: 0.7rem 1rem;
  display: none;
}

/* Field error text */
.field-error {
  font-size: 0.78rem;
  color: #E53E3E;
  display: none;
}


/* ────────────────────────────────────────────────────────────────────────────
   STORIES SECTION
   ──────────────────────────────────────────────────────────────────────────── */
#stories {
  background: var(--gray-50);
}

.stories-header {
  text-align: center;
  margin-bottom: 3rem;
}

.stories-header .section-subtitle { margin-inline: auto; }

.stories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.story-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.story-quote-mark {
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--saffron);
  line-height: 0.6;
  margin-bottom: 1rem;
  display: block;
}

.story-text {
  font-size: 0.97rem;
  color: var(--gray-700);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.story-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.story-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--saffron), var(--india-green));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.story-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
}

.story-city-badge {
  display: inline-block;
  background: var(--india-green-lt);
  color: var(--india-green);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  margin-top: 0.2rem;
}

.stories-cta {
  text-align: center;
}


/* ────────────────────────────────────────────────────────────────────────────
   CHALLENGES SECTION
   ──────────────────────────────────────────────────────────────────────────── */
#challenges {
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
}

#challenges::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,65,153,0.4) 0%, transparent 70%);
}

.challenges-chakra {
  position: absolute;
  left: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  opacity: 0.04;
  animation: spin-slow 80s linear infinite;
}

.challenges-header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 3rem;
}

.challenges-header .section-tag {
  background: rgba(255,153,51,0.15);
  color: var(--saffron);
}

.challenges-header .section-title { color: var(--white); }
.challenges-header .section-subtitle { color: rgba(255,255,255,0.65); margin-inline: auto; }

.challenges-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.challenge-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  transition: background var(--transition), transform var(--transition);
}

.challenge-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-5px);
  border-color: rgba(255,153,51,0.4);
}

.challenge-hashtag {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--saffron);
  margin-bottom: 0.75rem;
  word-break: break-word;
}

.challenge-desc {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.challenge-participants {
  font-size: 0.78rem;
  color: rgba(255,153,51,0.8);
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 1rem;
}


/* ────────────────────────────────────────────────────────────────────────────
   FOOTER
   ──────────────────────────────────────────────────────────────────────────── */
#footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-block: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.footer-logo-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--saffron);
  text-transform: uppercase;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer-pledge {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  font-style: italic;
  max-width: 280px;
}

.footer-nav h4,
.footer-contact h4,
.footer-social-wrap h4 {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 1.25rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer-nav a:hover { color: var(--saffron); }

.footer-contact p {
  font-size: 0.88rem;
  line-height: 1.9;
}

.footer-contact a {
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--saffron); }

/* Social icons */
.social-icons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-icon {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  transition: var(--transition);
  text-decoration: none;
}

.social-icon:hover {
  background: var(--saffron);
  border-color: var(--saffron);
  color: var(--white);
  transform: translateY(-3px);
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-block: 1.5rem;
  text-align: center;
}

.footer-bottom-inner p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

.footer-bottom-inner a {
  color: var(--saffron);
  transition: opacity var(--transition);
}
.footer-bottom-inner a:hover { opacity: 0.8; }


/* ────────────────────────────────────────────────────────────────────────────
   SCROLL ANIMATIONS
   ──────────────────────────────────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.65s ease;
}

.fade-in.visible { opacity: 1; }

/* Stagger delay utility */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }


/* ────────────────────────────────────────────────────────────────────────────
   CONFETTI CANVAS
   ──────────────────────────────────────────────────────────────────────────── */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  display: none;
}


/* ────────────────────────────────────────────────────────────────────────────
   RESPONSIVE — Tablet (≥ 640px)
   ──────────────────────────────────────────────────────────────────────────── */
@media (min-width: 640px) {
  .form-grid                       { grid-template-columns: 1fr 1fr; }
  .stories-grid                    { grid-template-columns: repeat(2, 1fr); }
  .challenges-grid                 { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid                    { grid-template-columns: repeat(2, 1fr); }
  .footer-main                     { grid-template-columns: repeat(2, 1fr); }
}

/* ────────────────────────────────────────────────────────────────────────────
   RESPONSIVE — Desktop (≥ 1024px)
   ──────────────────────────────────────────────────────────────────────────── */
@media (min-width: 1024px) {
  :root { --section-py: 6rem; }

  .hamburger          { display: none; }
  .nav-links          { display: flex !important; }

  .about-grid         { grid-template-columns: 1fr 1fr; }
  .pillars-grid       { grid-template-columns: repeat(3, 1fr); }
  .stories-grid       { grid-template-columns: repeat(3, 1fr); }
  .challenges-grid    { grid-template-columns: repeat(3, 1fr); }

  .footer-main        { grid-template-columns: 2fr 1fr 1fr 1.2fr; }
  .footer-bottom-inner{ flex-direction: row; justify-content: space-between; text-align: left; }

  .enroll-form-card   { padding: 3rem; }
}

/* ────────────────────────────────────────────────────────────────────────────
   RESPONSIVE — Mobile (< 1024px) — hide desktop nav
   ──────────────────────────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .hamburger  { display: flex; }
  .nav-links  { display: none; }
}

/* ────────────────────────────────────────────────────────────────────────────
   PRINT
   ──────────────────────────────────────────────────────────────────────────── */
@media print {
  #navbar, #confetti-canvas { display: none; }
  * { color: #000 !important; background: transparent !important; }
}
