/* Azolla Amrit — Brand Design System */
:root {
  --brand-dark: #182628;
  --brand-green: #3b945e;
  --brand-accent: #799351;
  --brand-teal: #65ccb8;
  --brand-red: #ee4e4e;
  --brand-light: #f2f2f2;
  --brand-cream: #f6eec9;
  --text-body: #272727;
  --text-muted: #5d5c5c;
  --shadow-sm: 0 2px 8px rgba(24, 38, 40, 0.08);
  --shadow-md: 0 8px 24px rgba(24, 38, 40, 0.12);
  --shadow-lg: 0 16px 40px rgba(24, 38, 40, 0.16);
  --radius: 12px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Bootstrap overrides */
.btn-brand {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  transition: var(--transition);
}
.btn-brand:hover,
.btn-brand:focus {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-brand-outline {
  background: transparent;
  border: 2px solid var(--brand-dark);
  color: var(--brand-dark);
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  transition: var(--transition);
}
.btn-brand-outline:hover {
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-2px);
}
.btn-brand-green {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition);
}
.btn-brand-green:hover {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: #fff;
  transform: translateY(-2px);
}

/* Base */
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Montserrat", sans-serif;
  color: var(--text-body);
  background: #fff;
  padding-top: 76px;
  line-height: 1.7;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  color: var(--brand-dark);
  font-weight: 700;
}
p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.badge-brand {
  background: var(--brand-teal);
  color: var(--brand-dark);
  font-weight: 600;
  padding: 0.4em 0.9em;
  border-radius: 50px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Navbar */
.site-navbar {
  background: rgba(24, 38, 40, 0.97) !important;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 0.65rem 0;
  transition: transform var(--transition), box-shadow var(--transition);
}
.site-navbar.navbar-hidden {
  transform: translateY(-100%);
}
.site-navbar .navbar-brand img {
  height: 48px;
  width: auto;
  transition: var(--transition);
}
.site-navbar .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.5rem 0.85rem !important;
  border-radius: 6px;
  transition: var(--transition);
}
.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
  color: var(--brand-accent) !important;
  background: rgba(121, 147, 81, 0.15);
}
.site-navbar .dropdown-menu {
  background: var(--brand-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 0.5rem;
  box-shadow: var(--shadow-lg);
  margin-top: 0.5rem;
}
.site-navbar .dropdown-item {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  transition: var(--transition);
}
.site-navbar .dropdown-item:hover,
.site-navbar .dropdown-item.active {
  background: var(--brand-accent);
  color: #fff;
}
.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
  padding: 0.35rem 0.6rem;
}
.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(121, 147, 81, 0.4);
}

/* Modern Hero */
.hero-modern {
  position: relative;
  background: linear-gradient(130deg, var(--brand-dark) 0%, #1f3d33 55%, #2a5a41 100%);
  padding: 4.5rem 0;
  overflow: hidden;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-shape-1 {
  width: 420px;
  height: 420px;
  top: -160px;
  right: -120px;
  background: radial-gradient(circle, rgba(101, 204, 184, 0.16), transparent 70%);
}
.hero-shape-2 {
  width: 320px;
  height: 320px;
  bottom: -140px;
  left: -100px;
  background: radial-gradient(circle, rgba(121, 147, 81, 0.22), transparent 70%);
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(101, 204, 184, 0.15);
  color: var(--brand-teal);
  border: 1px solid rgba(101, 204, 184, 0.35);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.45em 1em;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}
.hero-title {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero-title span {
  color: var(--brand-teal);
}
.hero-text {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  max-width: 460px;
  margin-bottom: 1.75rem;
}
.hero-modern .text-center .hero-text {
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.btn-hero-outline {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition);
}
.btn-hero-outline:hover {
  background: #fff;
  color: var(--brand-dark);
  border-color: #fff;
  transform: translateY(-2px);
}
.hero-trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 500;
}
.hero-trust i {
  color: var(--brand-teal);
  margin-right: 0.35rem;
}

/* Hero carousel card */
.hero-carousel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.hero-viewport {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--brand-light);
}
.hero-strip {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  touch-action: pan-y;
}
.hero-slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slide img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-carousel-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0.5rem 0.35rem;
}
.hero-counter {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.hero-counter b {
  color: #fff;
  font-size: 1rem;
}
.hero-progress {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  overflow: hidden;
}
.hero-progress-fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--brand-teal);
  border-radius: 2px;
}
.hero-progress-fill.running {
  animation: heroProgress 5s linear forwards;
}
@keyframes heroProgress {
  from { width: 0; }
  to { width: 100%; }
}
.hero-nav {
  display: flex;
  gap: 0.5rem;
}
.hero-prev,
.hero-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-prev:hover,
.hero-next:hover {
  background: var(--brand-teal);
  border-color: var(--brand-teal);
  color: var(--brand-dark);
  transform: scale(1.08);
}

/* Cards */
.card-brand {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  background: #fff;
}
.card-brand:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card-brand .card-img-top {
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card-brand:hover .card-img-top {
  transform: scale(1.05);
}
.card-brand .card-body {
  padding: 1.5rem;
}
.card-brand .card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.card-brand .card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Info cards */
.info-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  height: 100%;
  border-left: 4px solid var(--brand-accent);
  transition: var(--transition);
}
.info-card:hover {
  box-shadow: var(--shadow-lg);
}
.info-card .info-card-title {
  background: var(--brand-dark);
  color: #fff;
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Announcements ticker */
.ticker-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  height: 100%;
}
.ticker-header {
  background: var(--brand-dark);
  color: #fff;
  text-align: center;
  padding: 1rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
}
.scroll-container {
  overflow: hidden;
  height: 320px;
  position: relative;
}
.scroll-text {
  position: absolute;
  width: 100%;
  padding: 1.5rem;
  text-align: center;
  animation: scroll-up 18s linear infinite;
}
.scroll-text p {
  color: var(--brand-dark);
  margin: 1rem 0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.scroll-container:hover .scroll-text {
  animation-play-state: paused;
}
@keyframes scroll-up {
  0% { top: 100%; }
  100% { top: -100%; }
}

/* Feature section with bg */
.feature-section {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  padding: 4rem 0;
}
.feature-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(24, 38, 40, 0.75);
}
.feature-section .container {
  position: relative;
  z-index: 1;
}
.feature-section h2 {
  color: #fff;
  text-align: center;
  margin-bottom: 0.5rem;
}

/* Miracle section */
.miracle-card {
  background: var(--brand-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.miracle-card:hover {
  box-shadow: var(--shadow-md);
}
.miracle-card h2 {
  background: var(--brand-dark);
  color: #fff;
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.miracle-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.miracle-image img {
  width: 100%;
  transition: transform 0.5s ease;
}
.miracle-image:hover img {
  transform: scale(1.03);
}

/* Gallery grid */
.gallery-section {
  background: linear-gradient(135deg, var(--brand-green) 0%, #2d7348 100%);
  padding: 4rem 0;
}
.gallery-section .section-title {
  color: #fff;
  background: var(--brand-dark);
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 3px solid rgba(255, 255, 255, 0.9);
  background: #fff;
  transition: var(--transition);
}
.gallery-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-lg);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Gallery page: category filter */
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}
.gallery-filter-btn {
  border: 1.5px solid var(--brand-green);
  background: #fff;
  color: var(--brand-green);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.gallery-filter-btn .count {
  background: rgba(121, 147, 81, 0.15);
  color: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.12em 0.55em;
  border-radius: 50px;
}
.gallery-filter-btn:hover {
  background: rgba(121, 147, 81, 0.12);
  transform: translateY(-2px);
}
.gallery-filter-btn.active {
  background: var(--brand-green);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.gallery-filter-btn.active .count {
  background: rgba(255, 255, 255, 0.25);
}

/* Gallery page: clickable cards */
.gallery-col {
  animation: galleryFade 0.4s ease both;
}
@keyframes galleryFade {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
.gallery-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #fff;
  cursor: zoom-in;
}
.gallery-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}
.gallery-card:hover img {
  transform: scale(1.08);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24, 38, 40, 0.85), rgba(24, 38, 40, 0.2) 55%, transparent);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: #fff;
}
.gallery-card:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay i {
  font-size: 1.75rem;
  color: var(--brand-teal);
}
.gallery-overlay span {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Lightbox popup */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 24, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(6px);
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}
.lightbox-inner {
  position: relative;
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: 76vh;
  border-radius: var(--radius);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  animation: lightboxZoom 0.3s ease;
  object-fit: contain;
}
@keyframes lightboxZoom {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}
.lightbox-caption {
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.9rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.lightbox-caption .lb-counter {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  padding: 0.2em 0.85em;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  z-index: 2001;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--brand-teal);
  color: var(--brand-dark);
  border-color: var(--brand-teal);
}
.lightbox-close {
  top: 1.25rem;
  right: 1.25rem;
}
.lightbox-prev {
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-next {
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 575.98px) {
  .lightbox-prev, .lightbox-next {
    top: auto;
    bottom: 1.5rem;
    transform: none;
    width: 42px;
    height: 42px;
  }
  .lightbox-prev { left: calc(50% - 60px); }
  .lightbox-next { right: calc(50% - 60px); }
  .lightbox-img { max-height: 62vh; }
}

/* Page banner */
.page-banner {
  background: linear-gradient(rgba(24, 38, 40, 0.72), rgba(24, 38, 40, 0.72)),
    url("../assets/bg-DhjBEEcY.jpg") center/cover no-repeat;
  padding: 4rem 0;
  margin-bottom: 0;
}
.page-banner .breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.page-banner a {
  color: var(--brand-teal);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.page-banner a:hover {
  color: #fff;
}
.page-banner .current {
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
}
.page-banner .separator {
  color: rgba(255, 255, 255, 0.5);
}

/* Content sections */
.content-section {
  padding: 3rem 0 4rem;
  background: #fbfcfa;
}
.content-narrow {
  max-width: 960px;
}
.content-block {
  margin-bottom: 2.5rem;
}
.content-block h2 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--brand-accent);
  display: inline-block;
}
.page-heading {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--brand-dark);
  padding: 1.5rem 0 0;
  position: relative;
}
.page-heading::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--brand-accent);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}
.page-lead {
  max-width: 620px;
  margin: 1rem auto 2.5rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}
.content-sep {
  margin: 3rem 0 1.5rem;
}

/* Content cards (About / Benefits / Growing pages) */
.content-card {
  background: #fff;
  border: 1px solid rgba(24, 38, 40, 0.07);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.content-card:hover {
  box-shadow: var(--shadow-md);
}
.content-card.hindi-card {
  background: linear-gradient(135deg, #f4f8f1 0%, #eef5ee 100%);
  border-left: 4px solid var(--brand-teal);
}
.content-card-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(24, 38, 40, 0.08);
}
.content-card-head h2 {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 700;
  color: var(--brand-dark);
  margin: 0;
  flex: 1;
  border: none;
  padding: 0;
}
.content-card-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: rgba(59, 148, 94, 0.12);
  color: var(--brand-green);
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hindi-card .content-card-icon {
  background: rgba(101, 204, 184, 0.18);
  color: #2a8a74;
}
.lang-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35em 0.9em;
  border-radius: 50px;
  background: rgba(59, 148, 94, 0.1);
  color: var(--brand-green);
  white-space: nowrap;
}
.lang-badge-hi {
  background: rgba(101, 204, 184, 0.2);
  color: #1f7a66;
}

/* Split layout: image + text (Benefits page) */
.split-block {
  display: flex;
  gap: 2rem;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(24, 38, 40, 0.07);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.split-block:hover {
  box-shadow: var(--shadow-md);
}
.split-block.flip {
  flex-direction: row-reverse;
}
.split-media {
  flex: 0 0 38%;
}
.split-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.split-body {
  flex: 1;
  min-width: 0;
}
@media (max-width: 991.98px) {
  .split-block,
  .split-block.flip {
    flex-direction: column;
  }
  .split-media {
    flex: 0 0 auto;
    width: 100%;
    max-width: 420px;
  }
}

/* Rich text: consistent typography for CMS content */
.rich-content {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-body);
}
.rich-content p,
.rich-content div {
  margin-bottom: 1rem;
}
.rich-content p:last-child,
.rich-content div:last-child {
  margin-bottom: 0;
}
.rich-content span,
.rich-content font {
  font-size: inherit !important;
  font-family: inherit !important;
  color: inherit !important;
}
.rich-content strong,
.rich-content b {
  color: var(--brand-dark);
  font-weight: 700;
}
.rich-content u strong,
.rich-content strong u {
  display: inline-block;
  color: var(--brand-green);
  font-size: 1.1rem;
  text-decoration: none;
  border-bottom: 2px solid var(--brand-accent);
  padding-bottom: 2px;
  margin: 0.5rem 0 0.25rem;
}
.rich-content h1,
.rich-content h2,
.rich-content h3,
.rich-content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin: 1.5rem 0 0.75rem;
}
.rich-content ul,
.rich-content ol {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}
.rich-content li {
  margin-bottom: 0.5rem;
}
.rich-content li::marker {
  color: var(--brand-green);
}
.rich-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin: 1rem 0;
}
.rich-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.92rem;
}
.rich-content table td,
.rich-content table th {
  border: 1px solid rgba(24, 38, 40, 0.12);
  padding: 0.55rem 0.75rem;
}
.rich-content table tr:nth-child(odd) {
  background: rgba(121, 147, 81, 0.06);
}
.hindi-card .rich-content {
  font-size: 1.05rem;
  line-height: 2;
}

.half-img {
  display: block;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-md);
}

/* Legacy hindi block (still used on other pages) */
.hindi-block {
  background: var(--brand-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem 0;
  border-left: 4px solid var(--brand-teal);
}

/* CTA band placed inside a content container */
.content-section .cta-band {
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
}
.content-section .cta-band h3 {
  color: #fff;
  font-weight: 700;
}

/* KSSS page */
.ksss-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.ksss-pill {
  background: #fff;
  border: 1px solid rgba(24, 38, 40, 0.08);
  border-radius: var(--radius);
  padding: 1.35rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.ksss-pill:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.ksss-pill i {
  display: block;
  font-size: 1.6rem;
  color: var(--brand-green);
  margin-bottom: 0.5rem;
}
.ksss-pill strong {
  display: block;
  font-size: 0.92rem;
  color: var(--brand-dark);
  margin-bottom: 0.25rem;
}
.ksss-pill span {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.join-card {
  background: #fff;
  border: 1px solid rgba(24, 38, 40, 0.07);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.join-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.join-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(59, 148, 94, 0.12);
  color: var(--brand-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 1rem;
}
.join-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 0.75rem;
}
.join-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  text-align: left;
  margin-bottom: 0.75rem;
}
.join-card ul {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: left;
  padding-left: 1.1rem;
  margin: 0 0 auto;
  line-height: 1.65;
}
.join-card ul li {
  margin-bottom: 0.4rem;
}
.join-card ul li::marker {
  color: var(--brand-green);
}
.join-card .btn {
  align-self: stretch;
}
@media (max-width: 767.98px) {
  .ksss-strip {
    grid-template-columns: 1fr;
  }
}

/* Contact */
.contact-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
  height: 100%;
  transition: var(--transition);
  border-top: 4px solid var(--brand-green);
}
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.contact-card .icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--brand-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}
.contact-form-card {
  max-width: 560px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.form-control-brand {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  transition: var(--transition);
}
.form-control-brand:focus {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 0.2rem rgba(121, 147, 81, 0.25);
}
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
}
.map-wrap iframe {
  display: block;
  width: 100%;
  border: 0;
}

/* Auth / form pages */
.auth-section {
  background: linear-gradient(135deg, var(--brand-green) 0%, #2a6b42 100%);
  min-height: calc(100vh - 76px);
  padding: 3rem 0;
  display: flex;
  align-items: center;
}
.auth-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}
.auth-card-dark {
  background: var(--brand-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}
.auth-card-dark .form-control {
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}
.auth-title {
  color: #fff;
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}
.auth-card-dark .auth-title {
  margin-bottom: 1rem;
}
.member-logo {
  width: 80px;
  margin: 0 auto 1.5rem;
  display: block;
}
.qr-card {
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.qr-card img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.qr-title {
  color: #fff;
  font-weight: 800;
  text-align: center;
  font-size: 1.25rem;
  margin: 1rem 0;
}
.qr-notice {
  background: var(--brand-light);
  color: var(--brand-green);
  padding: 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: 1rem;
}
.registration-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.registration-card label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--brand-dark);
  margin-bottom: 0.35rem;
}

/* Footer */
.site-footer {
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 4rem 0 2rem;
}
.site-footer h5 {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}
.site-footer h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--brand-red);
  border-radius: 2px;
}
.footer-logo {
  max-width: 160px;
  margin-bottom: 1rem;
}
.footer-about {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.6rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-links a:hover {
  color: var(--brand-accent);
  padding-left: 4px;
}
.footer-links a span {
  color: var(--brand-red);
  font-weight: 800;
}
.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}
.footer-contact-item i {
  color: var(--brand-red);
  font-size: 1.1rem;
  margin-top: 3px;
}
.footer-contact-item a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
}
.footer-contact-item a:hover {
  color: var(--brand-teal);
}
.subfooter {
  background: var(--brand-green);
  padding: 1.25rem 0;
  text-align: center;
}
.subfooter p {
  color: #fff;
  font-size: 0.85rem;
  margin: 0;
}
.subfooter a {
  color: var(--brand-cream);
  text-decoration: underline;
  transition: var(--transition);
}
.subfooter a:hover {
  color: #fff;
}

/* Scroll to top */
.top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 998;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}
.top-btn:hover {
  background: #d43d3d;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Stats strip */
.stats-strip {
  background: #fff;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(24, 38, 40, 0.08);
}
.stat-item {
  padding: 1.5rem 1rem;
  border-radius: var(--radius-lg);
  background: var(--brand-light);
  height: 100%;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}
.stat-item:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--brand-accent);
  transform: translateY(-4px);
}
.stat-item i {
  font-size: 2rem;
  color: var(--brand-green);
  display: block;
  margin-bottom: 0.75rem;
}
.stat-item h6 {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}
.stat-item p {
  font-size: 0.8rem;
  margin: 0;
  color: var(--text-muted);
}

/* Eyebrow labels */
.eyebrow,
.eyebrow-light {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}
.eyebrow {
  color: var(--brand-green);
}
.eyebrow-light {
  color: var(--brand-teal);
}

/* Updates / get involved list */
.updates-list {
  list-style: none;
  margin: 0;
  padding: 1rem;
}
.updates-list li + li {
  margin-top: 0.5rem;
}
.updates-list a {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text-body);
  transition: var(--transition);
  border: 1px solid transparent;
}
.updates-list a:hover {
  background: var(--brand-light);
  border-color: rgba(121, 147, 81, 0.35);
  transform: translateX(4px);
}
.updates-list i {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.updates-list span {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.updates-list strong {
  color: var(--brand-dark);
  font-size: 0.95rem;
}

/* Card image wrapper */
.card-img-wrap {
  overflow: hidden;
  background: #fff;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--brand-dark) 0%, #24463c 100%);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(101, 204, 184, 0.08);
}
.cta-band h2 {
  color: #fff;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}
.cta-band .btn {
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition);
}
.cta-band .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Animations */
.fade-in {
  animation: fadeIn 0.6s ease forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 991.98px) {
  body { padding-top: 70px; }
  .site-navbar .navbar-collapse {
    background: var(--brand-dark);
    padding: 1rem;
    border-radius: var(--radius);
    margin-top: 0.75rem;
    max-height: 70vh;
    overflow-y: auto;
  }
  .feature-section { background-attachment: scroll; }
}
@media (max-width: 767.98px) {
  .hero-modern { padding: 3rem 0; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-prev, .hero-next { width: 36px; height: 36px; font-size: 0.9rem; }
  .scroll-container { height: 260px; }
  .auth-section { padding: 2rem 0; }
  .top-btn { bottom: 1.25rem; right: 1.25rem; width: 44px; height: 44px; }
}
