/* ===================================================================
   SAHAKAR BHARATI & JANKALYAN MAHILA NSSS
   Design System & Main Stylesheet (Light Theme)
   =================================================================== */

:root {
  /* Brand Color Palette */
  --primary-saffron: #f37021;
  --primary-saffron-dark: #d95a0e;
  --primary-saffron-light: #fff3eb;
  --primary-navy: #0d2b45;
  --primary-navy-deep: #071929;
  --primary-navy-light: #164269;
  --accent-gold: #d4a317;
  --accent-gold-light: #fef8e7;
  --accent-green: #1f8a44;
  --accent-green-light: #e8f7ee;
  
  /* Neutral Palette (Crisp Light Theme) */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-gradient-header: linear-gradient(135deg, #0d2b45 0%, #164269 100%);
  --bg-gradient-saffron: linear-gradient(135deg, #f37021 0%, #ff893b 100%);
  --bg-gradient-gold: linear-gradient(135deg, #d4a317 0%, #f3c235 100%);
  --bg-gradient-hero: linear-gradient(to right, rgba(13, 43, 69, 0.94) 0%, rgba(13, 43, 69, 0.75) 60%, rgba(13, 43, 69, 0.4) 100%);
  
  /* Text Colors */
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #ffffff;
  --text-heading: #0f172a;
  
  /* Borders & Shadows */
  --border-light: #e2e8f0;
  --border-saffron: rgba(243, 112, 33, 0.25);
  --border-gold: rgba(212, 163, 23, 0.3);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 18px rgba(13, 43, 69, 0.08);
  --shadow-lg: 0 14px 34px rgba(13, 43, 69, 0.12);
  --shadow-hover: 0 20px 40px rgba(243, 112, 33, 0.18);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
}

/* ================= Global Reset & Typography ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Poppins', 'Mukta', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.75;
  overflow-x: hidden;
  font-size: 17px;
}

h1, h2, h3, h4, h5, h6, .heading-font {
  font-family: 'Outfit', 'Mukta', 'Noto Sans Devanagari', sans-serif;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.35;
}

p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 1.25rem;
}

.text-secondary {
  color: #374151 !important;
}

.text-muted {
  color: #4b5563 !important;
}

small, .small {
  font-size: 0.94rem;
}

[lang="hi"] body,
body.lang-hindi {
  font-family: 'Mukta', 'Noto Sans Devanagari', 'Poppins', sans-serif;
  font-size: 17.5px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

/* ================= Accessibility Font Scaling ================= */
body.font-sm {
  font-size: 15px;
}
body.font-lg {
  font-size: 19.5px;
}

/* ================= Top Bar Utility ================= */
.top-utility-bar {
  background-color: var(--primary-navy-deep);
  color: #e2e8f0;
  font-size: 0.92rem;
  padding: 8px 0;
  border-bottom: 2px solid var(--primary-saffron);
}

.top-utility-bar a {
  color: #e2e8f0;
}

.top-utility-bar a:hover {
  color: #ffffff;
}

.font-size-ctrl button {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 3px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.font-size-ctrl button:hover {
  background: var(--primary-saffron);
  border-color: var(--primary-saffron);
}

.lang-btn-group .btn-lang {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lang-btn-group .btn-lang.active {
  background: var(--primary-saffron);
  border-color: var(--primary-saffron);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(243, 112, 33, 0.4);
}

.lang-btn-group .btn-lang:hover:not(.active) {
  background: rgba(255, 255, 255, 0.25);
}

/* ================= Main Branding Header ================= */
.main-branding-header {
  background: #ffffff;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.main-branding-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #f37021 0%, #f37021 33%, #ffffff 33%, #ffffff 66%, #1f8a44 66%, #1f8a44 100%);
}

.brand-logo-img {
  height: 84px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
  transition: transform var(--transition-fast);
}

.brand-logo-img:hover {
  transform: scale(1.04);
}

.brand-logo-nsss {
  height: 88px;
}

.footer-logo-card {
  background: #ffffff;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 82px;
  width: 82px;
  transition: transform var(--transition-fast);
}

.footer-logo-card:hover {
  transform: translateY(-2px);
}

.footer-logo-img {
  height: 66px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.org-motto-badge {
  display: inline-block;
  background: var(--accent-gold-light);
  color: #92400e;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-gold);
}

.org-main-title {
  font-size: 1.85rem;
  color: var(--primary-navy);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 2px;
}

.org-subtitle {
  font-size: 0.94rem;
  color: var(--primary-saffron-dark);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.leader-badge-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--primary-saffron);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.leader-thumb-sm {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-saffron);
}

.leader-badge-pill .leader-title {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  font-weight: 700;
}

.leader-badge-pill .leader-name {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary-navy);
}

/* ================= PROPER MODERN NAVBAR ================= */
.main-navbar-sticky {
  background: var(--primary-navy);
  position: sticky;
  top: 0;
  z-index: 1040;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: all var(--transition-normal);
  padding: 0 !important;
}

.main-navbar-sticky .navbar-nav {
  align-items: center;
  flex-wrap: nowrap;
}

.main-navbar-sticky .navbar-nav .nav-item {
  position: relative;
}

.main-navbar-sticky .navbar-nav .nav-link {
  color: #f1f5f9;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 14px 10px !important;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all var(--transition-fast);
  border-bottom: 3px solid transparent;
}

.main-navbar-sticky .navbar-nav .nav-link:hover,
.main-navbar-sticky .navbar-nav .nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-bottom-color: var(--primary-saffron);
}

/* Dropdown arrow styling */
.main-navbar-sticky .navbar-nav .dropdown-toggle::after {
  display: inline-block;
  margin-left: 4px;
  vertical-align: 0.15em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  opacity: 0.8;
}

.navbar-dropdown-custom {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 280px;
  margin-top: 0;
  animation: dropdownFadeIn 0.2s ease-in-out;
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.navbar-dropdown-custom .dropdown-item {
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  white-space: normal;
  line-height: 1.45;
}

.navbar-dropdown-custom .dropdown-item:hover {
  background: var(--primary-saffron-light);
  color: var(--primary-saffron-dark);
  padding-left: 18px;
}

.btn-nav-cta {
  background: var(--bg-gradient-saffron);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--radius-full);
  padding: 7px 16px !important;
  box-shadow: 0 3px 10px rgba(243, 112, 33, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(243, 112, 33, 0.5);
  background: linear-gradient(135deg, #d95a0e 0%, #f37021 100%);
}

/* ================= Live News Ticker Strip ================= */
.news-ticker-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  height: 46px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.ticker-badge {
  background: var(--primary-saffron);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0 18px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  position: relative;
  z-index: 2;
  box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
}

.ticker-badge::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 0;
  border-top: 23px solid transparent;
  border-bottom: 23px solid transparent;
  border-left: 10px solid var(--primary-saffron);
}

.ticker-content {
  flex-grow: 1;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

.ticker-marquee {
  display: inline-block;
  animation: marqueeAnim 35s linear infinite;
  padding-left: 100%;
}

.ticker-marquee:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-block;
  margin-right: 44px;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--primary-navy);
}

.ticker-item-dot {
  color: var(--primary-saffron);
  margin-right: 8px;
  font-weight: bold;
}

@keyframes marqueeAnim {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ================= Hero Banner Carousel ================= */
.hero-slider-section {
  position: relative;
  background-color: var(--primary-navy);
  color: #ffffff;
  overflow: hidden;
}

.hero-carousel-item {
  min-height: 560px;
  position: relative;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.hero-carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 25, 41, 0.95) 0%, rgba(13, 43, 69, 0.85) 50%, rgba(13, 43, 69, 0.45) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 55px 0 75px;
}

.hero-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(243, 112, 33, 0.2);
  color: #ff9d5c;
  border: 1px solid rgba(243, 112, 33, 0.4);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 3.1rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.22;
  margin-bottom: 18px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title .text-highlight-saffron {
  color: #ff893b;
}

.hero-title .text-highlight-gold {
  color: #f3c235;
}

.hero-subtitle {
  font-size: 1.22rem;
  color: #e2e8f0;
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 30px;
  font-weight: 400;
}

.hero-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-primary-saffron {
  background: var(--bg-gradient-saffron);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  border: none;
  box-shadow: 0 6px 20px rgba(243, 112, 33, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.btn-primary-saffron:hover {
  background: linear-gradient(135deg, #d95a0e 0%, #f37021 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(243, 112, 33, 0.5);
}

.btn-outline-light-custom {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.btn-outline-light-custom:hover {
  background: #ffffff;
  color: var(--primary-navy);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.hero-image-card {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 255, 255, 0.2);
  transition: transform var(--transition-normal);
}

.hero-image-card:hover {
  transform: translateY(-5px);
}

.hero-image-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.hero-floating-quote {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(7, 25, 41, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 0.98rem;
  line-height: 1.5;
  border-left: 4px solid var(--primary-saffron);
}

/* ================= Quick Action Cards Overlay ================= */
.quick-action-strip {
  position: relative;
  margin-top: -45px;
  z-index: 10;
  padding-bottom: 25px;
}

.quick-action-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  border-bottom: 4px solid var(--primary-saffron);
  transition: all var(--transition-normal);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  height: 100%;
}

.quick-action-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-saffron);
}

.quick-action-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--primary-saffron-light);
  color: var(--primary-saffron);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.quick-action-card:hover .quick-action-icon {
  background: var(--primary-saffron);
  color: #ffffff;
}

.quick-action-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

.quick-action-desc {
  font-size: 0.98rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ================= Section Headers ================= */
.section-wrapper {
  padding: 70px 0;
  position: relative;
}

.section-wrapper.bg-subtle-pattern {
  background-color: #f8fafc;
  background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
  background-size: 24px 24px;
}

.section-tag-pill {
  display: inline-block;
  background: var(--primary-saffron-light);
  color: var(--primary-saffron-dark);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(243, 112, 33, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.35rem;
  color: var(--primary-navy);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-divider {
  width: 65px;
  height: 4px;
  background: var(--bg-gradient-saffron);
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}

.section-divider.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  font-size: 1.18rem;
  color: #475569;
  line-height: 1.75;
  max-width: 760px;
}

/* ================= Leader Spotlight Section ================= */
.leader-card-featured {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.leader-portrait-wrap {
  position: relative;
  height: 100%;
  min-height: 420px;
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.leader-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.leader-portrait-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(13, 43, 69, 0.92);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-saffron);
  font-size: 1.02rem;
}

.leader-quote-box {
  background: var(--accent-gold-light);
  border-left: 4px solid var(--accent-gold);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 24px;
  position: relative;
}

.leader-quote-box .quote-icon {
  font-size: 1.8rem;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 6px;
}

.leader-quote-text {
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 600;
  color: #78350f;
  line-height: 1.75;
}

.position-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--border-light);
}

.position-list-item:last-child {
  border-bottom: none;
}

.position-icon {
  color: var(--primary-saffron);
  font-size: 1.15rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.position-role {
  font-weight: 700;
  color: var(--primary-navy);
  font-size: 1.08rem;
}

.position-org {
  font-size: 0.98rem;
  color: #475569;
}

/* ================= Vision & Mission Cards ================= */
.vision-mission-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  border-top: 5px solid var(--primary-navy);
  height: 100%;
  transition: all var(--transition-normal);
}

.vision-mission-card.saffron-accent {
  border-top-color: var(--primary-saffron);
}

.vision-mission-card.gold-accent {
  border-top-color: var(--accent-gold);
}

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

.vm-icon-bubble {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.vm-icon-bubble.navy {
  background: rgba(13, 43, 69, 0.08);
  color: var(--primary-navy);
}

.vm-icon-bubble.saffron {
  background: var(--primary-saffron-light);
  color: var(--primary-saffron);
}

.vm-icon-bubble.gold {
  background: var(--accent-gold-light);
  color: #b45309;
}

/* ================= Key Objectives 4 Pillars ================= */
.pillar-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 26px 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  height: 100%;
  transition: all var(--transition-normal);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-saffron);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
  transform-origin: left;
}

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

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-saffron);
}

.pillar-number {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 2.2rem;
  font-weight: 900;
  color: #e2e8f0;
  line-height: 1;
}

.pillar-title {
  font-size: 1.25rem;
  color: var(--primary-navy);
  font-weight: 700;
  margin-bottom: 12px;
  margin-top: 8px;
}

.pillar-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.pillar-list li {
  position: relative;
  padding-left: 20px;
  font-size: 1.02rem;
  color: #475569;
  margin-bottom: 10px;
  line-height: 1.65;
}

.pillar-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary-saffron);
  font-weight: bold;
}

/* ================= Women Empowerment Section ================= */
.feature-card-we {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  height: 100%;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.feature-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.feature-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.feature-card-we:hover .feature-img-wrap img {
  transform: scale(1.06);
}

.feature-card-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.feature-card-body p {
  font-size: 1.02rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 20px;
}

.feature-card-body .btn,
.feature-card-body a.btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 9px 20px;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.feature-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  background: var(--primary-saffron-light);
  color: var(--primary-saffron-dark);
}

/* ================= Interactive Counter Strip ================= */
.stats-counter-strip {
  background: var(--bg-gradient-header);
  color: #ffffff;
  padding: 55px 0;
  position: relative;
}

.stat-item-box {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 12px;
}

.stat-number {
  font-size: 3.2rem;
  font-weight: 800;
  color: #ff9d5c;
  line-height: 1;
  margin-bottom: 10px;
  font-family: 'Outfit', sans-serif;
}

.stat-label {
  font-size: 1.08rem;
  color: #f1f5f9;
  font-weight: 600;
}

/* ================= Programs & Initiatives Tabs ================= */
.nav-pills .nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  padding: 10px 22px;
}

.initiative-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  height: 100%;
  transition: all var(--transition-normal);
}

.initiative-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-saffron);
}

.initiative-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

.initiative-card .card-body p {
  font-size: 1.02rem;
  line-height: 1.65;
  color: #475569;
}

/* ================= States & Presence ================= */
.state-pill-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  transition: all var(--transition-normal);
  text-align: center;
  height: 100%;
}

.state-pill-card:hover {
  border-color: var(--primary-saffron);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.state-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-saffron-light);
  color: var(--primary-saffron);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.35rem;
}

.state-pill-card h5 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.state-pill-card p {
  font-size: 0.98rem;
  color: #475569;
  line-height: 1.55;
}

/* ================= Awards & Recognitions ================= */
.award-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  height: 100%;
  transition: all var(--transition-normal);
}

.award-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-gold);
}

.award-img-wrap {
  height: 210px;
  overflow: hidden;
  background: #f1f5f9;
}

.award-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.award-card:hover .award-img-wrap img {
  transform: scale(1.05);
}

.award-trophy-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #b45309;
  background: var(--accent-gold-light);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.award-card h5 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.award-card p {
  font-size: 1.02rem;
  line-height: 1.65;
  color: #475569;
}

/* ================= Gallery Section & Lightbox ================= */
.gallery-filter-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 0.95rem;
}

.gallery-filter-btn.active,
.gallery-filter-btn:hover {
  background: var(--primary-saffron);
  border-color: var(--primary-saffron);
  color: #ffffff;
}

.gallery-grid-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  height: 230px;
}

.gallery-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 43, 69, 0) 30%, rgba(13, 43, 69, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: #ffffff;
  opacity: 0.9;
  transition: all var(--transition-fast);
}

.gallery-grid-item:hover img {
  transform: scale(1.08);
}

.gallery-caption-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.gallery-caption-sub {
  font-size: 0.88rem;
  color: #cbd5e1;
}

/* ================= Upcoming Events & News ================= */
.event-card-horizontal {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  transition: all var(--transition-normal);
  margin-bottom: 20px;
}

.event-card-horizontal:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-saffron);
}

.event-date-badge {
  background: var(--primary-navy);
  color: #ffffff;
  min-width: 95px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  flex-shrink: 0;
  text-align: center;
}

.event-date-day {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: #ff9d5c;
}

.event-date-month {
  font-size: 0.88rem;
  text-transform: uppercase;
  font-weight: 700;
}

.event-content-body {
  padding: 18px 20px;
  flex-grow: 1;
}

.event-content-body h5 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

.event-content-body p {
  font-size: 1.02rem;
  color: #475569;
  line-height: 1.6;
}

.media-press-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.media-press-card h5 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.media-press-card p {
  font-size: 1.02rem;
  line-height: 1.65;
  color: #475569;
}

/* ================= Join Us / Call to Action ================= */
.join-us-section {
  background: linear-gradient(135deg, #071929 0%, #0d2b45 50%, #164269 100%);
  color: #ffffff;
  padding: 85px 0;
  position: relative;
  overflow: hidden;
}

.join-us-section h1,
.join-us-section h2,
.join-us-section h3,
.join-us-section .display-6 {
  color: #ffffff !important;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.join-us-section p,
.join-us-section .lead {
  color: #e2e8f0 !important;
  font-size: 1.18rem !important;
  line-height: 1.8;
  opacity: 1 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.join-us-section .join-feature-text {
  color: #ffffff !important;
  font-size: 1.08rem;
  font-weight: 500;
}

.join-form-card {
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-lg);
}

.join-form-card label {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

.join-form-card .form-control,
.join-form-card .form-select {
  font-size: 1.02rem;
  padding: 10px 14px;
}

/* ================= Footer ================= */
.main-footer {
  background-color: var(--primary-navy-deep);
  color: #94a3b8;
  font-size: 0.98rem;
  padding-top: 65px;
  border-top: 3px solid var(--primary-saffron);
}

.footer-heading {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--primary-saffron);
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 1rem;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 1rem;
}

.footer-contact-icon {
  color: var(--primary-saffron);
  font-size: 1.15rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  transition: var(--transition-fast);
}

.footer-social-link:hover {
  background: var(--primary-saffron);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-bottom-strip {
  background: #040e18;
  padding: 20px 0;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
}

/* ================= Lightbox Modal ================= */
.lightbox-modal-img {
  max-height: 80vh;
  object-fit: contain;
  margin: 0 auto;
}

/* ================= Responsive Queries ================= */
@media (max-width: 1200px) {
  .main-navbar-sticky .navbar-nav .nav-link {
    font-size: 0.82rem;
    padding: 12px 7px !important;
  }
}

@media (max-width: 991.98px) {
  .main-navbar-sticky .navbar-nav {
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 10px 0;
  }
  .main-navbar-sticky .navbar-nav .nav-link {
    padding: 10px 14px !important;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .org-main-title {
    font-size: 1.3rem;
  }
  .brand-logo-img {
    height: 68px;
  }
  .brand-logo-nsss {
    height: 72px;
  }
  .hero-carousel-item {
    min-height: auto;
  }
  .quick-action-strip {
    margin-top: 20px;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 1.7rem;
  }
  .section-title {
    font-size: 1.65rem;
  }
  .top-utility-bar {
    text-align: center;
  }
  .event-card-horizontal {
    flex-direction: column;
  }
  .event-date-badge {
    width: 100%;
    flex-direction: row;
    gap: 10px;
  }
}
