/* 🏛️ Shree Vankar Samaj Trust - Core Design System & Styling */

/* Self-Hosted Zero-Latency Local Fonts (Eliminates FOUT / Font Jump permanently) */
@font-face {
  font-family: 'Noto Sans Gujarati';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: block;
  src: url('../fonts/noto-sans-gujarati.woff2') format('woff2');
  unicode-range: U+0951-0952, U+0964-0965, U+0A80-0AFF, U+200C-200D, U+20B9, U+25CC, U+A830-A839;
}

@font-face {
  font-family: 'Noto Sans Gujarati';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: block;
  src: url('../fonts/noto-sans-gujarati-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: block;
  src: url('../fonts/inter.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand Identity Colors (From Official Seal) */
  --brand-navy: #1a3c87;
  --brand-navy-dark: #122b63;
  --brand-navy-light: #2552b5;
  --brand-gold: #fed801;
  --brand-gold-hover: #e5c300;
  --brand-crimson: #c42128;

  /* Neutral Surfaces & Text */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-surface-alt: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --border-focus: #1a3c87;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.03);
  --shadow-card: 0 2px 8px -2px rgba(26, 60, 135, 0.08), 0 1px 4px -1px rgba(0, 0, 0, 0.04);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Typography: Prioritize Gujarati web font with matched system fallback */
  --font-family: 'Noto Sans Gujarati', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Nirmala UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px; /* Mobile bottom bar offset */
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }
}

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

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

button, input, select {
  font-family: inherit;
}

/* ====================================================
   Strict SVG Iconography Sizing Rules (Prevents Blowup)
   ==================================================== */
svg.icon, .icon, [data-icon] svg {
  width: 1.125rem;
  height: 1.125rem;
  max-width: 1.125rem;
  max-height: 1.125rem;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.top-bar svg, .badge-reg svg, .top-helpline svg {
  width: 14px;
  height: 14px;
  max-width: 14px;
  max-height: 14px;
}

.btn-nav-action svg {
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
}

.hero-tag svg {
  width: 15px;
  height: 15px;
  max-width: 15px;
  max-height: 15px;
}

.btn-primary svg, .btn-secondary svg {
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
}

.event-badge-top svg, .event-meta-icon svg, .btn-register-melo svg {
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
}

.stat-icon-wrapper svg {
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
}

.pillar-icon svg {
  width: 24px;
  height: 24px;
  max-width: 24px;
  max-height: 24px;
}

/* Crucial Fix: Member Card Address & Button Icon Constraints */
.member-address svg {
  width: 15px !important;
  height: 15px !important;
  max-width: 15px !important;
  max-height: 15px !important;
  min-width: 15px !important;
  flex-shrink: 0;
  color: var(--brand-navy);
  margin-top: 3px;
}

.btn-call-member svg {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  flex-shrink: 0;
}

.activity-date-tag svg {
  width: 14px;
  height: 14px;
  max-width: 14px;
  max-height: 14px;
}

.activity-banner-wrap svg {
  width: 44px;
  height: 44px;
  max-width: 44px;
  max-height: 44px;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
  margin-top: 3px;
}

.mobile-nav-item svg {
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Top Institutional Header */
.top-bar {
  background-color: var(--brand-navy-dark);
  color: #e2e8f0;
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  width: 100%;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .top-bar-left {
    display: none;
  }
  .top-bar-right {
    width: 100%;
    justify-content: space-between;
  }
}

.badge-reg {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: rgba(254, 216, 1, 0.15);
  color: var(--brand-gold);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.top-helpline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #ffffff;
  font-weight: 500;
  transition: color 0.2s;
}

.top-helpline:hover {
  color: var(--brand-gold);
}

/* Language Toggle Button */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  padding: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background-color: var(--brand-gold);
  color: var(--brand-navy-dark);
}

/* Main Navbar & Stretched Header Layout */
.top-bar .container,
.main-header .container {
  max-width: 1480px;
  width: 100%;
  padding-left: clamp(0.75rem, 2vw, 2.5rem);
  padding-right: clamp(0.75rem, 2vw, 2.5rem);
  box-sizing: border-box;
}

.main-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  width: 100%;
  overflow: hidden;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: clamp(0.5rem, 1.5vw, 2rem);
  width: 100%;
  box-sizing: border-box;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 1;
  min-width: 0;
  text-decoration: none;
  overflow: hidden;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-gold);
  box-shadow: 0 0 0 2px var(--brand-navy);
  flex-shrink: 0;
}

.brand-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.brand-info h1 {
  font-size: clamp(0.85rem, 3.2vw, 1.15rem);
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.25;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

.brand-info p {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

@media (min-width: 1024px) {
  .brand-logo {
    width: 48px;
    height: 48px;
  }
  .brand-info h1, .brand-info p {
    white-space: nowrap;
  }
}

.nav-menu {
  display: none;
  list-style: none;
  gap: clamp(0.5rem, 1.1vw, 1.35rem);
  align-items: center;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  font-size: clamp(0.8125rem, 0.88vw, 0.9375rem);
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  position: relative;
  padding: 0.35rem 0;
  white-space: nowrap;
  display: inline-block;
  line-height: 1.3;
  text-decoration: none;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-navy);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background-color: var(--brand-navy);
  border-radius: 2px;
}

.btn-nav-action {
  background-color: var(--brand-navy);
  color: #ffffff;
  padding: 0.52rem clamp(0.75rem, 1vw, 1.15rem);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: clamp(0.8125rem, 0.86vw, 0.875rem);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
  border: 1px solid var(--brand-navy);
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

.btn-nav-action:hover {
  background-color: var(--brand-navy-dark);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #0d2354 0%, #1a3c87 60%, #2552b5 100%);
  color: #ffffff;
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

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

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.25fr 0.95fr;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(254, 216, 1, 0.2);
  border: 1px solid rgba(254, 216, 1, 0.4);
  color: var(--brand-gold);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: #ffffff;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.35rem;
  }
}

.hero-lead {
  font-size: 1.0625rem;
  color: #cbd5e1;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.btn-primary {
  background-color: var(--brand-gold);
  color: var(--brand-navy-dark);
  font-weight: 700;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  box-shadow: 0 4px 14px rgba(254, 216, 1, 0.35);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--brand-gold-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
}

/* Event Spotlight Card in Hero */
.event-card-spotlight {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  color: var(--text-primary);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.event-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: #fee2e2;
  color: var(--brand-crimson);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.event-card-spotlight h3 {
  font-size: 1.25rem;
  color: var(--brand-navy);
  font-weight: 700;
  margin-bottom: 1rem;
}

.event-meta-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.event-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.event-meta-icon {
  color: var(--brand-navy);
  flex-shrink: 0;
  margin-top: 2px;
}

.event-card-spotlight .btn-register-melo {
  width: 100%;
  background-color: var(--brand-navy);
  color: #ffffff;
  text-align: center;
  justify-content: center;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s;
}

.event-card-spotlight .btn-register-melo:hover {
  background-color: var(--brand-navy-dark);
}

/* Statistics Strip */
.stats-strip {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem 0;
  box-shadow: var(--shadow-sm);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.stat-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: rgba(26, 60, 135, 0.08);
  color: var(--brand-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-info .stat-number {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.1;
}

.stat-info .stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Sections General */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background-color: var(--bg-surface-alt);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
}

.section-tag {
  display: inline-block;
  background-color: rgba(26, 60, 135, 0.08);
  color: var(--brand-navy);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

.section-title {
  font-size: 1.75rem;
  color: var(--brand-navy);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* About Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
}

.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(26, 60, 135, 0.2);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: rgba(26, 60, 135, 0.08);
  color: var(--brand-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.pillar-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.65rem;
}

.pillar-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Committee Section */
.committee-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.75rem;
  width: 100%;
}

.tab-btn {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  max-width: 100%;
  text-align: center;
}

.tab-btn.active, .tab-btn:hover {
  background-color: var(--brand-navy);
  color: #ffffff;
  border-color: var(--brand-navy);
}

.committee-grid {
  display: grid;
  grid-template-columns: 100%;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .committee-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .committee-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.member-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.member-card:hover {
  border-color: var(--brand-navy-light);
  transform: translateY(-2px);
}

.member-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  min-width: 0;
  width: 100%;
}

.member-avatar-placeholder {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(26, 60, 135, 0.08);
  color: var(--brand-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.9375rem;
}

.member-designation-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-navy);
  background-color: rgba(26, 60, 135, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 0.25rem;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
}

.member-card.president-card .member-designation-badge {
  background-color: var(--brand-gold);
  color: var(--brand-navy-dark);
}

.member-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  word-break: break-word;
  overflow-wrap: break-word;
}

.btn-call-member {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background-color: var(--bg-surface-alt);
  color: var(--brand-navy);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  border: 1px solid var(--border-light);
  box-sizing: border-box;
  text-decoration: none;
}

.btn-call-member:hover {
  background-color: var(--brand-navy);
  color: #ffffff;
  border-color: var(--brand-navy);
}

/* Committee Dedicated Page Elements */
.committee-page-hero {
  background: linear-gradient(135deg, #0b1c40 0%, #1a3c87 100%);
  color: #ffffff;
  padding: 2.5rem 1rem 2rem;
  text-align: center;
  border-bottom: 3px solid var(--brand-gold);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.committee-page-hero .section-tag {
  background-color: rgba(254, 216, 1, 0.15);
  border: 1px solid rgba(254, 216, 1, 0.4);
  color: var(--brand-gold);
}

.committee-page-hero .section-title {
  font-size: clamp(1.35rem, 4vw, 2.15rem);
  word-break: break-word;
  overflow-wrap: break-word;
}

.committee-page-hero .section-subtitle {
  font-size: clamp(0.8125rem, 2.5vw, 0.9375rem);
  word-break: break-word;
  overflow-wrap: break-word;
}

.committee-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  padding: 1rem 1.25rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.committee-search-wrap {
  position: relative;
  flex: 1 1 200px;
  width: 100%;
  max-width: 100%;
}

.committee-search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.committee-search-box {
  width: 100%;
  padding: 0.6rem 1rem 0.6rem 2.5rem;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  background-color: var(--bg-surface);
  color: var(--text-primary);
  font-family: inherit;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.committee-search-box:focus {
  outline: none;
  border-color: var(--brand-navy);
  box-shadow: 0 0 0 3px rgba(26, 60, 135, 0.15);
}

.committee-stats-badge {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

/* Trust Contact Callout Card */
.trust-contact-callout {
  margin-top: 3rem;
  background: linear-gradient(135deg, rgba(26, 60, 135, 0.05) 0%, rgba(254, 216, 1, 0.08) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  text-align: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.trust-contact-callout h3 {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.5rem;
}

.trust-contact-callout p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 1.25rem;
  line-height: 1.5;
}

.trust-callout-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  width: 100%;
}

.btn-callout-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--brand-navy);
  color: #ffffff;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  max-width: 100%;
  word-break: break-word;
  transition: background-color 0.2s;
  box-sizing: border-box;
}

.btn-callout-phone:hover {
  background-color: var(--brand-navy-dark);
}

.btn-callout-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #ffffff;
  color: var(--brand-navy);
  border: 1px solid var(--border-light);
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  max-width: 100%;
  transition: all 0.2s;
  box-sizing: border-box;
}

.btn-callout-home:hover {
  background-color: var(--bg-surface-alt);
}

/* Activities / Events */
.activities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1040px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .activities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ====================================================
   Dedicated Samaj Bandharan & Documents Section
   ==================================================== */
.bandharan-section {
  background-color: #f8fafc;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 4rem 0;
}

.documents-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1080px;
  margin: 0 auto;
}

@media (min-width: 860px) {
  .documents-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.document-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.document-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(26, 60, 135, 0.12);
  border-color: rgba(26, 60, 135, 0.25);
}

.document-media {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background-color: #0f172a;
  cursor: pointer;
}

.document-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.document-card:hover .document-img {
  transform: scale(1.03);
}

.document-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.75) 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 1rem;
}

.document-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.document-zoom-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
}

.document-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.document-meta-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.doc-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(26, 60, 135, 0.08);
  color: var(--brand-navy);
}

.document-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.document-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

.bandharan-rules-list {
  font-size: 0.8125rem;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  flex-grow: 1;
}

.bandharan-highlights-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex-grow: 1;
}

.highlight-item {
  font-size: 0.8125rem;
  color: #166534;
  line-height: 1.45;
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
}

.highlight-bullet {
  color: #15803d;
  font-weight: 800;
}

.document-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: auto;
}

/* ====================================================
   Interactive Constitution Reader Modal
   ==================================================== */
.constitution-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

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

.constitution-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
}

.constitution-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 2;
  animation: modalSlideUp 0.3s ease-out;
}

.constitution-modal-header {
  background: var(--brand-navy);
  color: #ffffff;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--brand-gold);
}

.constitution-modal-header .modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.constitution-modal-header .modal-header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.constitution-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.convention-alert-card {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-left: 4px solid var(--brand-navy);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
}

.constitution-chapter-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.chapter-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}

.chapter-content p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 0.75rem;
}

.resolution-card {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 1rem;
}

.resolution-card:last-child {
  margin-bottom: 0;
}

.resolution-card h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.65rem;
}

.resolution-card ol {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.85rem;
  line-height: 1.65;
  color: #334155;
}

.resolution-card ol li {
  margin-bottom: 0.45rem;
}

.resolution-card p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: #334155;
  margin: 0;
}

.ambedkar-quote-card {
  background: #1e293b;
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  border-top: 3px solid var(--brand-gold);
}

.ambedkar-header h4 {
  color: var(--brand-gold);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.ambedkar-quote-card blockquote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #e2e8f0;
  margin: 0 0 0.75rem 0;
  font-style: italic;
}

.ambedkar-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: #94a3b8;
}

.constitution-modal-footer {
  background: #f1f5f9;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-light);
}

.activity-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.activity-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(26, 60, 135, 0.12);
}

.activity-banner-wrap {
  height: 180px;
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-gold);
}

.activity-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.activity-date-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--brand-navy);
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.activity-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.65rem;
}

.activity-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1rem;
}

/* Activity Poster & Enhanced Event Card */
.activity-poster-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background-color: #0f224a;
  cursor: pointer;
}

.activity-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-normal);
}

.activity-poster-wrap:hover .activity-poster-img {
  transform: scale(1.05);
}

.activity-poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 34, 74, 0.85) 0%, rgba(15, 34, 74, 0.2) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  color: #ffffff;
}

.activity-badge-pill {
  background: var(--brand-gold);
  color: var(--brand-navy);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.activity-zoom-hint {
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #e2e8f0;
}

.activity-quote-box {
  background: rgba(254, 216, 1, 0.1);
  border-left: 3px solid var(--brand-gold);
  padding: 0.65rem 0.85rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-navy);
  margin-bottom: 1rem;
  line-height: 1.45;
}

.activity-actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.85rem;
}

.btn-whatsapp-act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background-color: #25D366;
  color: #ffffff;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-whatsapp-act:hover {
  background-color: #1da851;
  transform: translateY(-1px);
  color: #ffffff;
}

.btn-view-flyer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background-color: #f1f5f9;
  color: var(--brand-navy);
  border: 1px solid var(--border-light);
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-view-flyer:hover {
  background-color: #e2e8f0;
  color: var(--brand-navy);
}

/* Bandharan & Social Reform Rules Section */
.bandharan-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.bandharan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .bandharan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bandharan-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bandharan-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--brand-navy);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-left-color var(--transition-fast);
}

.bandharan-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -5px rgba(26, 60, 135, 0.1);
  border-left-color: var(--brand-gold);
}

.bandharan-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.bandharan-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: rgba(26, 60, 135, 0.08);
  color: var(--brand-navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bandharan-card:hover .bandharan-card-icon {
  background-color: rgba(254, 216, 1, 0.2);
  color: #8c7300;
}

.bandharan-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  background-color: #f1f5f9;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

.bandharan-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.5rem;
}

.bandharan-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  flex-grow: 1;
}

.bandharan-footer-cta {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .bandharan-footer-cta {
    flex-direction: row;
    text-align: left;
  }
}

.bandharan-cta-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.25rem;
}

.bandharan-cta-text p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Flyer / Circular Viewer Modal */
.circular-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.circular-modal.active {
  display: flex;
}

.circular-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(6px);
}

.circular-modal-dialog {
  position: relative;
  z-index: 10;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  animation: modalScaleIn 0.25s ease-out;
}

@keyframes modalScaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.circular-modal-header {
  padding: 0.85rem 1.25rem;
  background: var(--brand-navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.circular-modal-header h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
}

.circular-modal-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.circular-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.circular-modal-body {
  padding: 1rem;
  overflow-y: auto;
  text-align: center;
  background-color: #f8fafc;
}

.circular-modal-body img {
  max-width: 100%;
  height: auto;
  max-height: 65vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.circular-modal-footer {
  padding: 0.75rem 1.25rem;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Video Showcase (YouTube Responsive) */
.video-single-wrap {
  max-width: 760px;
  margin: 0 auto;
}

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

@media (min-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.video-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

.video-responsive {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  background-color: #0f172a;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-info {
  padding: 1rem 1.25rem;
}

.video-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.5rem;
}

.video-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* Video Facade (Instant Zero-Latency Thumbnails) */
.video-facade-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #0f172a;
  overflow: hidden;
  cursor: pointer;
}

.video-facade-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-facade-wrapper:hover .video-facade-img {
  transform: scale(1.05);
}

.video-facade-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
}

.video-facade-badge {
  align-self: flex-start;
  background: rgba(15, 23, 42, 0.85);
  color: var(--brand-gold);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(254, 216, 1, 0.3);
}

.video-play-trigger {
  align-self: center;
  width: 62px;
  height: 62px;
  background: #dc2626;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.5);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease;
}

.video-facade-wrapper:hover .video-play-trigger {
  transform: scale(1.14);
  background-color: #b91c1c;
}

.video-play-trigger svg {
  width: 26px;
  height: 26px;
  margin-left: 3px;
  stroke: #ffffff;
  fill: #ffffff;
}

.video-card-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-video-play {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  background: var(--brand-navy);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-video-play:hover {
  background: #122b60;
}

.btn-video-yt {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  background: #ffffff;
  color: #dc2626;
  border: 1px solid #fca5a5;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-video-yt:hover {
  background: #fef2f2;
  border-color: #ef4444;
}

/* YouTube Channel Card Banner */
.yt-channel-card {
  background: linear-gradient(135deg, #1A3C87 0%, #0f172a 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(254, 216, 1, 0.25);
}

.yt-channel-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.yt-channel-icon-box {
  width: 54px;
  height: 54px;
  background: #dc2626;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
}

.yt-channel-icon-box svg {
  width: 28px;
  height: 28px;
  stroke: #ffffff;
}

.yt-channel-text h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.25rem 0;
}

.yt-channel-text p {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin: 0;
}

.btn-yt-subscribe {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  background: #dc2626;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

.btn-yt-subscribe:hover {
  background: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.45);
}

/* Video Lightbox Modal */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.video-modal.active {
  display: flex;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
}

.video-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 860px;
  background: #0f172a;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 1;
}

.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: #1e293b;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.video-modal-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.video-modal-close {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.video-modal-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.video-modal-body {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.video-modal-body iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: #1e293b;
  flex-wrap: wrap;
  gap: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Footer */
.site-footer {
  background-color: var(--brand-navy-dark);
  color: #cbd5e1;
  padding: 3rem 0 1.5rem 0;
  border-top: 4px solid var(--brand-gold);
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--brand-gold);
}

.footer-brand h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.4rem;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--brand-gold);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.875rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: #cbd5e1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: #94a3b8;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* Mobile Sticky Bottom Navigation */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 64px;
  z-index: 999;
}

@media (min-width: 1024px) {
  .mobile-bottom-nav {
    display: none;
  }
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 0.6875rem;
  font-weight: 600;
  flex: 1;
  height: 100%;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 4px 0;
  position: relative;
}

.mobile-nav-item.active, .mobile-nav-item:hover {
  color: var(--brand-navy);
}

.mobile-nav-item.active {
  font-weight: 700;
}

.mobile-nav-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 3px;
  background-color: var(--brand-navy);
  border-radius: 0 0 3px 3px;
}

/* ====================================================
   5-Step Matrimonial Registration Wizard Styling
   ==================================================== */
.wizard-section {
  padding: 3.5rem 0;
  background-color: #f1f5f9;
}

/* Upcoming Event Announcement Pill (Permanent Matrimonial Header) */
.upcoming-event-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background-color: #ffffff;
  border: 1px solid rgba(26, 60, 135, 0.16);
  box-shadow: 0 2px 10px rgba(26, 60, 135, 0.06);
  border-radius: var(--radius-full);
  padding: 0.35rem 1rem 0.35rem 0.45rem;
  margin-top: 1.15rem;
  font-size: 0.8125rem;
  color: var(--text-primary);
  max-width: 100%;
  transition: all 0.25s ease-in-out;
}

.upcoming-event-pill:hover {
  border-color: rgba(26, 60, 135, 0.35);
  box-shadow: 0 4px 14px rgba(26, 60, 135, 0.1);
  transform: translateY(-1px);
}

.upcoming-event-pill .pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: var(--brand-navy);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.upcoming-event-pill .pill-badge svg {
  stroke: var(--brand-gold);
  flex-shrink: 0;
}

.upcoming-event-pill .pill-text {
  font-weight: 600;
  color: #334155;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .upcoming-event-pill {
    flex-direction: column;
    padding: 0.65rem 0.85rem;
    gap: 0.45rem;
    border-radius: var(--radius-md);
    text-align: center;
  }
}

.wizard-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .wizard-card {
    padding: 2.5rem;
  }
}

/* Stepper Indicator */
.stepper-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-bottom: 2.5rem;
  padding: 0 0.5rem;
}

.stepper-container::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 30px;
  right: 30px;
  height: 2px;
  background-color: var(--border-light);
  z-index: 1;
}

.stepper-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  gap: 0.5rem;
}

.stepper-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 2px solid var(--border-light);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
}

.stepper-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  max-width: 90px;
  display: none;
}

@media (min-width: 640px) {
  .stepper-label {
    display: block;
  }
}

.stepper-node.active .stepper-circle {
  background-color: var(--brand-navy);
  border-color: var(--brand-navy);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(26, 60, 135, 0.15);
}

.stepper-node.active .stepper-label {
  color: var(--brand-navy);
  font-weight: 700;
}

.stepper-node.completed .stepper-circle {
  background-color: var(--brand-gold);
  border-color: var(--brand-gold);
  color: var(--brand-navy-dark);
}

/* Form Groups & Grid Layouts */
.form-step {
  display: none;
  animation: fadeIn 0.3s ease;
}

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

.step-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--bg-surface-alt);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

@media (min-width: 640px) {
  .form-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

@media (min-width: 768px) {
  .form-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.form-group.has-error label {
  color: var(--brand-crimson);
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-size: 0.9375rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background-color: #ffffff;
  color: var(--text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-control:focus {
  border-color: var(--brand-navy);
  box-shadow: 0 0 0 3px rgba(26, 60, 135, 0.12);
}

.form-control.input-error {
  border-color: var(--brand-crimson);
  background-color: #fff5f5;
}

/* Radio Group (Segmented Pills) */
.radio-pill-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.radio-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  background-color: var(--bg-surface-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.radio-pill input[type="radio"] {
  accent-color: var(--brand-navy);
  width: 16px;
  height: 16px;
}

.radio-pill:has(input:checked) {
  background-color: rgba(26, 60, 135, 0.08);
  border-color: var(--brand-navy);
  color: var(--brand-navy);
}

/* Photo Upload Box with Preview */
.photo-upload-wrapper {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem;
  background-color: var(--bg-surface-alt);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-light);
}

.photo-preview-box {
  width: 90px;
  height: 110px;
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.photo-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-preview-placeholder {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-align: center;
  padding: 0.25rem;
}

/* File Upload Dropzone */
.file-dropzone {
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  background-color: var(--bg-surface-alt);
  cursor: pointer;
  transition: all 0.2s;
}

.file-dropzone:hover {
  border-color: var(--brand-navy);
  background-color: rgba(26, 60, 135, 0.03);
}

.file-dropzone input[type="file"] {
  display: block;
  margin: 0.5rem auto 0 auto;
  font-size: 0.8125rem;
  max-width: 100%;
}

/* Payment Module Card */
.payment-module-box {
  background: linear-gradient(135deg, rgba(26, 60, 135, 0.04) 0%, rgba(254, 216, 1, 0.08) 100%);
  border: 1px solid rgba(26, 60, 135, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.btn-upi-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  background-color: var(--brand-navy);
  color: #ffffff;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(26, 60, 135, 0.25);
  transition: background-color 0.2s;
  text-align: center;
  margin-bottom: 1rem;
}

.btn-upi-mobile:hover {
  background-color: var(--brand-navy-dark);
}

.qr-display-container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1rem;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-bottom: 1rem;
}

.qr-box {
  width: 130px;
  height: 130px;
  background-color: #ffffff;
  border: 2px solid var(--brand-navy);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  flex-shrink: 0;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-navy);
}

/* Legal Consent Box */
.consent-box {
  background-color: #fffbeb;
  border: 1px solid #fef3c7;
  border-left: 4px solid var(--brand-gold-hover);
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #78350f;
}

.checkbox-agree-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  margin-top: 0.75rem;
}

.checkbox-agree-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-navy);
  margin-top: 2px;
  flex-shrink: 0;
}

/* Wizard Navigation Bar */
.wizard-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  gap: 1rem;
}

.btn-wizard-prev {
  background-color: var(--bg-surface-alt);
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s;
}

.btn-wizard-prev:hover {
  background-color: var(--border-light);
}

.btn-wizard-next, .btn-wizard-submit {
  background-color: var(--brand-navy);
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 8px rgba(26, 60, 135, 0.25);
  transition: all 0.2s;
}

.btn-wizard-next:hover, .btn-wizard-submit:hover {
  background-color: var(--brand-navy-dark);
}

/* Floating Toast Notification */
.wizard-toast {
  position: fixed;
  bottom: 84px;
  right: 20px;
  z-index: 9999;
  background-color: #0f172a;
  color: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.wizard-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.wizard-toast.toast-error {
  background-color: #b91c1c;
}

/* ====================================================
   Application Confirmation Receipt (Printable)
   ==================================================== */
.receipt-card {
  display: none;
  max-width: 720px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 2px solid var(--brand-navy);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  text-align: center;
}

.receipt-header {
  border-bottom: 2px dashed var(--border-light);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.receipt-header img {
  width: 68px;
  height: 68px;
  margin: 0 auto 0.75rem auto;
  border-radius: 50%;
  border: 2px solid var(--brand-gold);
}

.receipt-code-box {
  background-color: rgba(26, 60, 135, 0.06);
  border: 2px dashed var(--brand-navy);
  padding: 1rem;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
}

.receipt-code-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.receipt-code-value {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--brand-navy);
  letter-spacing: 0.05em;
  font-family: monospace;
}

.receipt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  text-align: left;
  background-color: var(--bg-surface-alt);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.receipt-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Print Rules */
@media print {
  body {
    background-color: #ffffff;
    padding: 0;
  }
  .top-bar, .main-header, .hero-section, .stats-strip, #about, #committee, #activities, #videos, #contact, .site-footer, .mobile-bottom-nav, .receipt-actions {
    display: none !important;
  }
  .wizard-section {
    padding: 0;
    background: transparent;
  }
  .receipt-card {
    display: block !important;
    border: 1px solid #000000;
    box-shadow: none;
    padding: 1.5rem;
  }
}

/* ==========================================================================
   🚀 FLOATING SCROLL-TO-TOP BUTTON
   ========================================================================== */
.btn-scroll-top {
  position: fixed;
  right: 1.75rem;
  bottom: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--brand-navy);
  color: var(--brand-gold);
  border: 2px solid var(--brand-gold);
  box-shadow: 0 6px 16px rgba(26, 60, 135, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s,
              background-color 0.2s,
              box-shadow 0.2s;
  outline: none;
}

.btn-scroll-top:hover {
  background-color: var(--brand-navy-dark);
  color: #ffffff;
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 10px 22px rgba(26, 60, 135, 0.45);
}

.btn-scroll-top:active {
  transform: translateY(0) scale(0.95);
}

.btn-scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* On mobile devices, clear the sticky bottom navigation */
@media (max-width: 768px) {
  .btn-scroll-top {
    right: 1.25rem;
    bottom: 5.25rem; /* Sits right above .mobile-bottom-nav */
    width: 44px;
    height: 44px;
  }
}

@media print {
  .btn-scroll-top {
    display: none !important;
  }
}

/* ==========================================================================
   🏛️ ADMIN BACK-OFFICE & VERIFICATION PORTAL STYLING
   ========================================================================== */

/* Admin Login View */
.admin-login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f172a 0%, #1a3c87 100%);
  padding: 1.5rem;
}

.admin-login-card {
  background: #ffffff;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
  padding: 2.5rem 2rem;
  text-align: center;
}

.admin-login-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--brand-gold);
  margin: 0 auto 1.25rem;
  display: block;
}

.admin-login-title {
  font-size: 1.35rem;
  color: var(--brand-navy);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.admin-login-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.admin-form-group {
  text-align: left;
  margin-bottom: 1.25rem;
}

.admin-form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.admin-form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.admin-form-group input:focus {
  outline: none;
  border-color: var(--brand-navy);
  box-shadow: 0 0 0 3px rgba(26, 60, 135, 0.15);
}

.btn-admin-primary {
  width: 100%;
  padding: 0.85rem;
  background-color: var(--brand-navy);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background-color 0.2s, transform 0.1s;
}

.btn-admin-primary:hover {
  background-color: var(--brand-navy-dark);
}

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

.admin-login-error {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--brand-crimson);
  padding: 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  text-align: left;
}

/* Admin Dashboard Header */
.admin-navbar {
  background-color: var(--brand-navy);
  color: #ffffff;
  padding: 0.85rem 1.5rem;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--brand-gold);
}

.admin-brand-text h1 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.admin-brand-text span {
  font-size: 0.75rem;
  color: var(--brand-gold);
  font-weight: 500;
}

.admin-nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-user-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: #ffffff;
}

.btn-admin-logout {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-family: inherit;
  transition: all 0.2s;
}

.btn-admin-logout:hover {
  background-color: var(--brand-crimson);
  border-color: var(--brand-crimson);
}

/* Admin Dashboard Container */
.admin-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* Stats Cards Grid */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-stat-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.admin-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--brand-navy);
}

.admin-stat-card.card-male::before { background-color: #0284c7; }
.admin-stat-card.card-female::before { background-color: #db2777; }
.admin-stat-card.card-approved::before { background-color: #16a34a; }
.admin-stat-card.card-pending::before { background-color: #ea580c; }
.admin-stat-card.card-payment::before { background-color: #6366f1; }

.admin-stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.admin-stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

/* Toolbar & Filters */
.admin-toolbar {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-search-wrapper {
  position: relative;
  flex: 1;
  min-width: 260px;
}

.admin-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.admin-search-input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.4rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-family: inherit;
}

.admin-search-input:focus {
  outline: none;
  border-color: var(--brand-navy);
}

.admin-filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.admin-filter-btn {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-light);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  color: var(--text-secondary);
}

.admin-filter-btn:hover {
  background: #e2e8f0;
}

.admin-filter-btn.active {
  background-color: var(--brand-navy);
  color: #ffffff;
  border-color: var(--brand-navy);
}

.admin-select {
  padding: 0.5rem 0.75rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-family: inherit;
  background-color: #ffffff;
}

.admin-action-btn {
  padding: 0.55rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: none;
  font-family: inherit;
  transition: background-color 0.2s;
}

.btn-export-csv {
  background-color: #16a34a;
  color: #ffffff;
}

.btn-export-csv:hover {
  background-color: #15803d;
}

.btn-print-roster {
  background-color: var(--brand-navy);
  color: #ffffff;
}

.btn-print-roster:hover {
  background-color: var(--brand-navy-dark);
}

/* Master Candidates Table */
.admin-table-container {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.admin-table th {
  background-color: #f8fafc;
  padding: 0.85rem 1rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1.5px solid var(--border-light);
  white-space: nowrap;
}

.admin-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.admin-table tbody tr:hover {
  background-color: #f8fafc;
}

.candidate-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-light);
  background-color: #e2e8f0;
}

.reg-code-badge {
  display: inline-block;
  font-family: monospace;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--brand-navy);
  background-color: rgba(26, 60, 135, 0.08);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

.badge-gender {
  display: inline-block;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-gender.male {
  background-color: #e0f2fe;
  color: #0369a1;
}

.badge-gender.female {
  background-color: #fce7f3;
  color: #be185d;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge-status.status-pending {
  background-color: #fff7ed;
  color: #c2410c;
}

.badge-status.status-approved {
  background-color: #f0fdf4;
  color: #15803d;
}

.badge-status.status-payment {
  background-color: #e0e7ff;
  color: #4338ca;
}

.badge-status.status-rejected {
  background-color: #fef2f2;
  color: #b91c1c;
}

.btn-table-action {
  background-color: var(--bg-surface-alt);
  color: var(--brand-navy);
  border: 1px solid var(--border-light);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: inherit;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-table-action:hover {
  background-color: var(--brand-navy);
  color: #ffffff;
  border-color: var(--brand-navy);
}

/* Candidate Detail & Document Inspection Modal */
.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.admin-modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.admin-modal-header {
  background-color: var(--brand-navy);
  color: #ffffff;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-modal-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.btn-modal-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  border-radius: var(--radius-sm);
}

.btn-modal-close:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.admin-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.modal-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin: 1.25rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-section-title:first-child {
  margin-top: 0;
}

.modal-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.85rem;
  font-size: 0.875rem;
}

.modal-info-item {
  background-color: #f8fafc;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.modal-info-item label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.modal-info-item span {
  font-weight: 600;
  color: var(--text-primary);
}

/* KYC Documents Grid in Modal */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.doc-card {
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.doc-card.no-file {
  opacity: 0.6;
  border-style: dashed;
}

.doc-card-header {
  background: #f8fafc;
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
}

.badge-uploaded {
  font-size: 0.7rem;
  background: #dcfce7;
  color: #15803d;
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-full);
}

.badge-missing {
  font-size: 0.7rem;
  background: #f1f5f9;
  color: #94a3b8;
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-full);
}

.doc-card-body {
  padding: 0.75rem;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
}

.doc-preview-img {
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.2s;
}

.doc-preview-img:hover {
  transform: scale(1.02);
}

.pdf-preview-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.btn-doc-view {
  background: var(--brand-navy);
  color: #ffffff;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.doc-card-footer {
  padding: 0.5rem 0.85rem;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  text-align: right;
}

.btn-doc-download {
  color: var(--brand-navy);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* Modal Status Action Footer */
.modal-status-action-box {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-top: 1.5rem;
}

.modal-status-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.btn-status-action {
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: none;
  font-family: inherit;
  transition: opacity 0.2s;
}

.btn-status-action:hover {
  opacity: 0.9;
}

.btn-act-approve {
  background-color: #16a34a;
  color: #ffffff;
}

.btn-act-payment {
  background-color: #4f46e5;
  color: #ffffff;
}

.btn-act-reject {
  background-color: #dc2626;
  color: #ffffff;
}

.btn-act-pending {
  background-color: #d97706;
  color: #ffffff;
}

/* Print Styling for Admin Roster */
@media print {
  body {
    background: #ffffff;
  }
  .admin-navbar, .admin-toolbar, .btn-table-action, .admin-modal-backdrop, .btn-admin-logout {
    display: none !important;
  }
  .admin-container {
    padding: 0;
    max-width: 100%;
  }
  .admin-table {
    font-size: 9pt;
  }
  .admin-table th, .admin-table td {
    padding: 4px 6px;
    border: 1px solid #999999;
  }
  .admin-stats-grid {
    display: none;
  }
}

/* ==========================================================================
   🖼️ FULL-SCREEN HERO SLIDER & SPOTLIGHT BAR
   ========================================================================== */
.hero-slider-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #0b1c40;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: calc(100vh - 106px);
  min-height: 620px;
  overflow: hidden;
  outline: none;
}

@media (max-width: 768px) {
  .hero-slider {
    height: calc(100vh - 96px);
    min-height: 500px;
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

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

.hero-scroll-indicator {
  position: absolute;
  bottom: 1.25rem;
  right: 1.5rem;
  z-index: 8;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(13, 35, 84, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  animation: heroBounce 2.2s infinite;
  transition: all 0.2s ease;
  text-decoration: none;
}

.hero-scroll-indicator:hover {
  background: var(--brand-gold);
  color: var(--brand-navy-dark);
}

@keyframes heroBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-7px); }
  60% { transform: translateY(-3px); }
}

.hero-slider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(7, 21, 48, 0.15) 0%, transparent 40%, rgba(7, 21, 48, 0.55) 100%);
  pointer-events: none;
  z-index: 3;
}

/* Slider Controls (Minimalist Vector SVGs) */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(13, 35, 84, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.slider-btn:hover {
  background: var(--brand-gold);
  color: var(--brand-navy-dark);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.slider-btn-prev {
  left: 1.25rem;
}

.slider-btn-next {
  right: 1.25rem;
}

@media (max-width: 768px) {
  .slider-btn {
    width: 38px;
    height: 38px;
  }
  .slider-btn-prev { left: 0.75rem; }
  .slider-btn-next { right: 0.75rem; }
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  background: rgba(11, 28, 64, 0.6);
  backdrop-filter: blur(8px);
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.85);
}

.slider-dot.active {
  background: var(--brand-gold);
  width: 26px;
  border-radius: 9999px;
}

/* Slider Progress Bar */
.slider-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 6;
}

.slider-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--brand-gold);
  will-change: width;
}

/* Spotlight Event Bar Directly Below Hero */
.hero-spotlight-bar {
  background: linear-gradient(135deg, #0e2352 0%, #1a3c87 100%);
  color: #ffffff;
  padding: 1.25rem 0;
  border-bottom: 3px solid var(--brand-gold);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 10;
}

.hero-spotlight-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.hero-spotlight-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hero-spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: rgba(254, 216, 1, 0.15);
  border: 1px solid rgba(254, 216, 1, 0.4);
  color: var(--brand-gold);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  width: fit-content;
}

.hero-spotlight-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.hero-spotlight-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.hero-spotlight-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-spotlight-meta-item svg {
  width: 15px;
  height: 15px;
  color: var(--brand-gold);
}

.hero-spotlight-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-spotlight-register {
  background-color: var(--brand-gold);
  color: var(--brand-navy-dark);
  font-weight: 700;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(254, 216, 1, 0.35);
  text-decoration: none;
}

.btn-spotlight-register:hover {
  background-color: var(--brand-gold-hover);
  transform: translateY(-2px);
}

.btn-spotlight-gallery {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-spotlight-gallery:hover {
  background-color: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
}

/* ==========================================================================
   🖼️ PHOTO GALLERY PAGE & INTERACTIVE LIGHTBOX
   ========================================================================== */
.gallery-page-hero {
  background: linear-gradient(135deg, #0b1c40 0%, #1a3c87 100%);
  color: #ffffff;
  padding: 3rem 0 2.5rem;
  text-align: center;
  border-bottom: 3px solid var(--brand-gold);
}

.gallery-page-hero .section-tag {
  background-color: rgba(254, 216, 1, 0.15);
  border: 1px solid rgba(254, 216, 1, 0.4);
  color: var(--brand-gold);
}

.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.gallery-filters {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-filter-btn:hover {
  border-color: var(--brand-navy);
  color: var(--brand-navy);
}

.gallery-filter-btn.active {
  background-color: var(--brand-navy);
  color: #ffffff;
  border-color: var(--brand-navy);
  box-shadow: var(--shadow-sm);
}

.gallery-stats-badge {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Responsive Photo Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem;
}

@media (max-width: 540px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  cursor: pointer;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-gold);
}

.gallery-thumb-wrapper {
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
  position: relative;
  background-color: #e2e8f0;
}

.gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.gallery-item:hover .gallery-thumb {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 28, 64, 0.85) 0%, rgba(11, 28, 64, 0.25) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  color: #ffffff;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-zoom-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(254, 216, 1, 0.9);
  color: var(--brand-navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-zoom-badge {
  transform: translate(-50%, -50%) scale(1);
}

.gallery-item-title {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: #f8fafc;
}

/* Lightbox Modal */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.gallery-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 42, 0.94);
  backdrop-filter: blur(14px);
}

.lightbox-dialog {
  position: relative;
  z-index: 10;
  max-width: 94vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  outline: none;
}

.lightbox-image-wrap {
  position: relative;
  max-width: 100%;
  max-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
  transition: opacity 0.25s ease;
  display: block;
}

.lightbox-footer {
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 800px;
  color: #e2e8f0;
  font-size: 0.875rem;
  gap: 1rem;
}

.lightbox-caption {
  font-weight: 600;
  color: #ffffff;
}

.lightbox-counter {
  font-weight: 700;
  color: var(--brand-gold);
  background: rgba(254, 216, 1, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(13, 35, 84, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 15;
}

.lightbox-btn:hover {
  background: var(--brand-gold);
  color: var(--brand-navy-dark);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-btn-prev {
  left: 1.5rem;
}

.lightbox-btn-next {
  right: 1.5rem;
}

.lightbox-btn-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(13, 35, 84, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 20;
}

.lightbox-btn-close:hover {
  background: var(--brand-crimson);
  color: #ffffff;
  transform: scale(1.08);
}

.lightbox-loader {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--brand-gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

/* ==========================================================================
   Events & Announcements Hub Page (events.html)
   ========================================================================== */
.events-page-hero {
  background: linear-gradient(135deg, #0b1c40 0%, #1a3c87 100%);
  color: #ffffff;
  padding: 3rem 0 2.5rem;
  text-align: center;
  border-bottom: 3px solid var(--brand-gold);
}

.events-page-hero .section-tag {
  background-color: rgba(254, 216, 1, 0.15);
  border: 1px solid rgba(254, 216, 1, 0.4);
  color: var(--brand-gold);
}

.events-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

@media (min-width: 900px) {
  .events-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.event-featured-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.event-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -8px rgba(26, 60, 135, 0.15);
}

.event-card-media {
  position: relative;
  height: 240px;
  background-color: #0b1c40;
  overflow: hidden;
  cursor: pointer;
}

.event-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.event-featured-card:hover .event-card-media img {
  transform: scale(1.04);
}

.event-card-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 28, 64, 0.85) 0%, rgba(11, 28, 64, 0.1) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1rem 1.25rem;
}

.event-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-meta-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.event-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-navy);
  background: #f1f5f9;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
}

.event-venue-text {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.event-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.event-card-desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.event-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}


