/* ==========================================================================
   VISHWAM & JAI CONCLAVE 2026 - MASTER INSTITUTIONAL DESIGN SYSTEM
   Primary Palette: Crisp White (#ffffff), Deep Royal Navy (#0b192c), Lotus Orange (#ea580c)
   Includes: Full-Screen Glassmorphic Council Expansion Modal, 13 Youth Councils Radial Wheel, Our Journey, Secretariat
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&display=swap');

:root {
  /* Rich Deep Navy System */
  --color-navy: #0b192c;          /* Primary Deep Royal Navy */
  --color-navy-dark: #070f1e;     /* Obsidian Midnight Navy */
  --color-navy-light: #1e293b;    /* Slate Navy */
  --color-navy-muted: #334155;    /* Body Text Contrast */
  
  /* Brand Accent Colors */
  --color-orange: #ea580c;        /* Vibrant Lotus Orange */
  --color-orange-glow: #f97316;   /* Bright Orange Glow */
  --color-orange-light: #fff7ed;  /* Soft Orange Tint */
  --color-orange-dark: #c2410c;   /* Dark Orange Hover */
  --color-gold: #f59e0b;          /* Executive Saffron Gold */
  --color-gold-light: #fef3c7;    /* Soft Gold Background Tint */
  --color-teal: #0d9488;          /* Globe Teal Accent */
  --color-purple: #7c3aed;        /* SHAKTI Leadership Accent */

  /* Neutral Surface System */
  --bg-white: #ffffff;            /* Crisp White Background */
  --bg-slate: #f8fafc;            /* Soft Section Slate */
  --bg-slate-accent: #f1f5f9;     /* Light Card Surface */

  /* Text Colors */
  --text-primary: #0b192c;        /* Navy Text on White */
  --text-body: #334155;           /* Readable Slate Body */
  --text-muted: #64748b;          /* Muted Subtitles */
  --text-white: #ffffff;          /* White Text on Navy */
  --text-white-muted: #f1f5f9;     /* High Contrast Crisp Off-White */


  /* Fonts */
  --font-display: 'Outfit', -apple-system, sans-serif;
  --font-editorial: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout Spacing */
  --section-padding: 7rem 0;
  --border-light: 1px solid #e2e8f0;
  --border-medium: 1px solid #cbd5e1;
  --border-gold: 1px solid rgba(245, 158, 11, 0.4);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-subtle: 0 4px 16px rgba(11, 25, 44, 0.04);
  --shadow-card: 0 12px 32px rgba(11, 25, 44, 0.08);
  --shadow-hover: 0 20px 45px rgba(11, 25, 44, 0.15);
  --shadow-navy-glow: 0 20px 50px rgba(11, 25, 44, 0.3);
  --shadow-gold-glow: 0 0 30px rgba(245, 158, 11, 0.35);
}

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

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

/* Smooth Page Transitions */
@view-transition {
  navigation: auto;
}

@keyframes pageFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

body {
  font-family: var(--font-body);
  background-color: #ffffff;
  color: var(--text-body);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  animation: pageFadeIn 0.35s ease forwards;
  transition: opacity 0.25s ease;
}

body.page-exiting {
  opacity: 0.15;
}

/* Modal-open scroll lock (applied to <html> so body stays in flow, no position jump) */
html.modal-open {
  overflow: hidden;
  /* Prevent layout shift from disappearing scrollbar */
  padding-right: var(--scrollbar-width, 0px);
}


/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1.25rem;
  max-width: 70ch;
  font-size: 1.0625rem;
  color: var(--text-body);
}

p:last-child {
  margin-bottom: 0;
}

.text-orange {
  color: var(--color-orange);
}

.text-gold {
  color: var(--color-gold);
}

.section-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-num::after {
  content: '';
  height: 2px;
  width: 45px;
  background: linear-gradient(90deg, #ea580c, transparent);
}

.section-title {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.2rem;
  color: var(--text-body);
  line-height: 1.7;
  max-width: 760px;
}

.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-editorial);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(234, 88, 12, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(234, 88, 12, 0.4);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #070f1e;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.45);
}

.btn-navy {
  background: var(--color-navy);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(11, 25, 44, 0.2);
}

.btn-navy:hover {
  background: var(--color-navy-light);
  transform: translateY(-2px);
}

.btn-secondary {
  background: #f1f5f9;
  color: var(--color-navy);
  border: 1px solid #cbd5e1;
}

.btn-secondary:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-navy);
  border: 1.5px solid var(--color-navy);
}

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

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

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

.btn-sm {
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
}

/* NAVBAR (Rich Royal Navy Header Line) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  padding: 1.1rem 0;
  transition: all 0.3s ease;
  background: var(--color-navy); /* Added blue color for navbar */
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.navbar.scrolled {
  padding: 0.75rem 0;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
  background: var(--color-navy);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.navbar-banner {
  height: 38px;
  width: auto;
  object-fit: contain;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  padding-left: 0.75rem;
  margin-left: 0.25rem;
}


.brand-text-container {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ffffff;
  line-height: 1;
}

.brand-subtitle {
  font-size: 0.7rem;
  font-style: italic;
  letter-spacing: 0.03em;
  color: var(--color-orange);
  font-weight: 700;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: #3b82f6; /* Blue contrast for active/hover */
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: #3b82f6; /* Blue contrast for active underline */
}

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

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* SECTION SYSTEMS */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-bg-slate {
  background: var(--bg-slate);
  border-top: var(--border-light);
  border-bottom: var(--border-light);
}

.section-bg-navy {
  background: var(--color-navy);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.section-bg-navy .section-title {
  color: #ffffff;
}

.section-bg-navy .section-desc, 
.section-bg-navy p {
  color: #cbd5e1;
}

/* HERO SECTION */
.hero-section {
  padding-top: 10.5rem;
  padding-bottom: 6rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid-blended {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: flex-start;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill);
  background: var(--color-navy);
  color: var(--color-orange);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(234, 88, 12, 0.3);
}

.hero-title {
  font-size: clamp(2.85rem, 5.2vw, 4.5rem);
  line-height: 1.1;
  color: var(--color-navy);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-top: 2.5rem;
  border-top: var(--border-medium);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.hero-visual-organic {
  position: relative;
  margin-top: -0.5rem;
}

.flagship-poster-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-navy-glow);
  border: 3px solid var(--color-navy);
  background: var(--color-navy);
}

.flagship-poster-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
}

.hero-poster-overlay {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(11, 25, 44, 0.95);
  backdrop-filter: blur(16px);
  color: #ffffff;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

/* PERFECT CIRCLE EXPANDING RADIAL PIE WHEEL FOR 13 YOUTH COUNCILS */
.radial-wheel-section {
  padding: 6.5rem 0;
  background: var(--color-navy);
  color: #ffffff;
  position: relative;
  /* overflow:hidden intentionally removed — it creates a clipping
     containing block for position:fixed children (council modal overlay) */
}

.radial-wheel-section .section-title {
  color: #ffffff;
}

.radial-wheel-section .section-desc {
  color: #cbd5e1;
}

/* Domain Filter Pills for 13 Youth Councils Radial Wheel */
.domain-filter-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.domain-pill {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.domain-pill:hover, .domain-pill.active {
  background: var(--color-orange);
  color: #ffffff;
  border-color: var(--color-orange);
  box-shadow: 0 4px 18px rgba(234, 88, 12, 0.4);
  transform: translateY(-2px);
}

.radial-wrapper {
  position: relative;
  width: 100%;
  max-width: 760px;
  height: 760px;
  margin: 3.5rem auto 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radial-track-circle {
  position: absolute;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  border: 2px dashed rgba(234, 88, 12, 0.45);
  animation: spin-slow 80s linear infinite;
  pointer-events: none;
}

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

.radial-center-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 370px;
  height: 370px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #1e293b 0%, #070f1e 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2.25rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 0 35px rgba(234, 88, 12, 0.25);
  z-index: 10;
  border: 4px solid var(--color-orange);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  cursor: pointer;
}

.hub-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-orange);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
  box-shadow: 0 0 22px rgba(234, 88, 12, 0.7);
}

.hub-title {
  font-size: 1.25rem;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.65rem;
  font-weight: 700;
  max-width: 280px;
}

.hub-agenda {
  font-size: 0.825rem;
  color: #cbd5e1;
  font-style: italic;
  line-height: 1.45;
  max-width: 270px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.radial-nodes-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.radial-node {
  position: absolute;
  width: 54px;
  height: 54px;
  margin-left: -27px;
  margin-top: -27px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid var(--color-navy);
  color: var(--color-navy);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  z-index: 20;
  pointer-events: auto;
}

.radial-node:hover {
  background: rgba(234, 88, 12, 0.12);
  color: var(--color-orange);
  border-color: var(--color-orange);
  transform: scale(1.28);
  box-shadow: 0 0 0 6px rgba(234, 88, 12, 0.12), 0 8px 24px rgba(234, 88, 12, 0.35);
  z-index: 30;
}

.radial-node.active {
  background: var(--color-orange);
  color: #ffffff;
  border-color: var(--color-orange);
  transform: scale(1.3);
  box-shadow: 0 0 0 5px rgba(234, 88, 12, 0.15), 0 4px 18px rgba(234, 88, 12, 0.35);
  z-index: 30;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-shakti {
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.4);
  color: #a78bfa;
}

.badge-flagship {
  background: rgba(234, 88, 12, 0.15);
  border: 1px solid rgba(234, 88, 12, 0.4);
  color: #ff9e88;
}

.badge-teal {
  background: rgba(13, 148, 136, 0.15);
  border: 1px solid rgba(13, 148, 136, 0.4);
  color: #2dd4bf;
}

/* 13 YOUTH COUNCILS DIRECTORY MATRIX STYLES & HOVER EXPANSION */
.councils-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.councils-search input {
  width: 320px;
  padding: 0.85rem 1.25rem 0.85rem 2.85rem;
  border-radius: var(--radius-pill);
  border: var(--border-medium);
  background: #ffffff;
  color: var(--color-navy);
  font-size: 0.95rem;
  outline: none;
}

.councils-search input:focus {
  border-color: var(--color-orange);
  box-shadow: 0 0 14px rgba(234, 88, 12, 0.2);
}

.councils-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.council-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 2.25rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1.5px solid #cbd5e1;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
}

.council-card.featured-wide {
  grid-column: span 2;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.council-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-md);
  padding: 2px;
  background: linear-gradient(90deg, #ea580c, #7c3aed, #0d9488, #2563eb, #ea580c);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: animated-border 4s linear infinite;
  pointer-events: none;
}

.council-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 22px 50px rgba(11, 25, 44, 0.2);
  z-index: 10;
  border-color: var(--color-orange);
}

.council-card:hover::before {
  opacity: 1;
}

.council-agenda-box {
  background: var(--bg-slate);
  border-left: 3px solid var(--color-orange);
  padding: 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 1.25rem;
  transition: background-color 0.3s ease;
}

.council-card:hover .council-agenda-box {
  background: #fff7ed;
  border-left-color: var(--color-orange-dark);
}

.council-agenda-text {
  font-size: 0.95rem;
  color: var(--color-navy);
  font-style: italic;
  line-height: 1.6;
}

.council-expand-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-orange);
  margin-top: 1.25rem;
  transition: gap 0.2s ease;
}

.council-card:hover .council-expand-hint {
  gap: 0.75rem;
  color: var(--color-orange-dark);
}

/* ==========================================================================
   SILKY SMOOTH GLASSMORPHISM COUNCIL EXPANSION MODAL OVERLAY (ROOT-LEVEL FIXED STACKING CONTEXT)
   ========================================================================== */

.council-modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(7, 15, 30, 0.92) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  z-index: 9999999 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.council-modal-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.council-modal-container {
  width: 100%;
  max-width: 1100px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.75);
  position: relative;
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  border: 2px solid var(--color-navy);
  margin: auto;
  z-index: 10000000;
}

.council-modal-overlay.active .council-modal-container {
  transform: scale(1) translateY(0) !important;
  opacity: 1 !important;
}

.council-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(11, 25, 44, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.council-modal-close:hover {
  background: var(--color-orange);
  transform: rotate(90deg) scale(1.1);
}

.council-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}

.council-modal-media {
  position: relative;
  background: var(--color-navy-dark);
  min-height: 380px;
  overflow: hidden;
}

.council-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.council-modal-overlay.active .council-modal-media img {
  transform: scale(1.05);
}

.council-modal-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,15,30,0.2) 0%, rgba(7,15,30,0.9) 100%);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
}

.council-modal-body {
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
}

/* DIGNITARIES ROSTER STYLES */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.speaker-card {
  background: #ffffff;
  border: var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.35s ease;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.speaker-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-orange);
  box-shadow: var(--shadow-hover);
}

.speaker-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top center;
  background: var(--color-navy-dark);
  transition: transform 0.4s ease;
}

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

.speaker-info {
  padding: 1.75rem;
}

.speaker-title {
  font-size: 0.78rem;
  color: var(--color-orange-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.speaker-name {
  font-size: 1.25rem;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

/* Lightbox Modal Backdrop */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 15, 30, 0.92);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 2rem;
}

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

.modal-close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.modal-close-btn:hover {
  background: var(--color-orange);
}

/* Editorial Layouts & Cards */
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: flex-start;
}

.editorial-quote {
  font-family: var(--font-editorial);
  font-size: 1.45rem;
  line-height: 1.6;
  font-weight: 600;
  color: var(--color-navy);
  border-left: 4px solid var(--color-orange);
  padding-left: 1.75rem;
  margin: 2rem 0;
  font-style: italic;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.pillar-card {
  background: var(--color-navy);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all 0.25s ease;
}

.pillar-card h4, .pillar-card h3 {
  color: #ffffff;
}

.pillar-card p {
  color: #cbd5e1;
}

.pillar-card:hover {
  border-color: var(--color-orange);
  box-shadow: var(--shadow-navy-glow);
  transform: translateY(-4px);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(234, 88, 12, 0.15);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.shakti-feature-box {
  background: var(--color-navy);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 4rem;
  box-shadow: var(--shadow-navy-glow);
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.shakti-feature-box h2, .shakti-feature-box h3 {
  color: #ffffff;
}

.shakti-feature-box p {
  color: #cbd5e1;
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  margin-top: 3rem;
}

.card-editorial {
  background: #ffffff;
  border: var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-editorial:hover {
  transform: translateY(-6px);
  border-color: var(--color-orange);
  box-shadow: var(--shadow-card);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--color-navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  transition: all 0.25s ease;
}

.card-editorial:hover .card-icon {
  background: var(--color-orange);
  color: #ffffff;
}

/* SECRETARIAT PAGE — Consistent White & Navy Institutional Palette */
.secretariat-hero {
  padding-top: 11rem;
  padding-bottom: 7rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: var(--color-navy);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #e2e8f0;
}

.secretariat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-pill);
  background: rgba(234, 88, 12, 0.08);
  border: 1.5px solid rgba(234, 88, 12, 0.35);
  color: var(--color-orange);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.secretariat-title {
  font-size: clamp(2.85rem, 5vw, 4.5rem);
  color: var(--color-navy);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.secretariat-title span {
  color: var(--color-orange);
  background: linear-gradient(90deg, var(--color-orange) 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* WRITE TO US PAGE — Consistent White & Navy Institutional Palette */
.write-hero {
  padding-top: 11rem;
  padding-bottom: 7rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: var(--color-navy);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #e2e8f0;
}

.write-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-pill);
  background: rgba(234, 88, 12, 0.08);
  border: 1.5px solid rgba(234, 88, 12, 0.35);
  color: var(--color-orange);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.write-title {
  font-size: clamp(2.85rem, 5vw, 4.5rem);
  color: var(--color-navy);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.write-title span {
  color: var(--color-orange);
  background: linear-gradient(90deg, var(--color-orange) 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Removed .section-bg-violet dark theme — replaced with standard slate bg */

.executive-roster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  margin-top: 3.5rem;
}

.executive-card {
  background: #ffffff;
  border: var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.executive-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold-glow);
}

.executive-img-wrap {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: var(--color-navy-dark);
}

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

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

.executive-role-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(7, 15, 30, 0.9);
  backdrop-filter: blur(8px);
  color: var(--color-gold);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.executive-body {
  padding: 2rem;
}

.executive-name {
  font-size: 1.35rem;
  color: var(--color-navy);
  margin-bottom: 0.35rem;
}

.executive-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 0;
}

.track-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.track-tab {
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: var(--border-medium);
  color: var(--color-navy);
  font-family: var(--font-editorial);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.track-tab:hover, .track-tab.active {
  background: var(--color-navy);
  color: var(--color-gold);
  border-color: var(--color-navy);
  box-shadow: 0 6px 20px rgba(11, 25, 44, 0.25);
}

.application-portal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 4rem;
  box-shadow: var(--shadow-hover);
  border: 2px solid #e2e8f0;
}

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

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-control {
  width: 100%;
  padding: 0.95rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: var(--color-navy);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.25);
}

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

/* BESPOKE EDITORIAL MILESTONE LEDGER & HERITAGE ARCHIVE (OUR JOURNEY) */
.ledger-hero {
  padding-top: 10.5rem;
  padding-bottom: 5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #e2e8f0;
}

.ledger-hero-watermark {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-family: var(--font-display);
  font-size: clamp(8rem, 16vw, 15rem);
  font-weight: 900;
  color: var(--color-navy);
  opacity: 0.035;
  user-select: none;
  pointer-events: none;
  line-height: 1;
}

.ledger-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  margin-top: 3.5rem;
  position: relative;
  align-items: flex-start;
}

.ledger-sidebar {
  position: sticky;
  top: 100px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  box-shadow: 0 8px 24px rgba(11, 25, 44, 0.05);
  z-index: 50;
}

.ledger-sidebar-title {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ledger-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ledger-nav-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.ledger-nav-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(11, 25, 44, 0.08);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.ledger-nav-item:hover {
  background: #f1f5f9;
  color: var(--color-navy);
}

.ledger-nav-item.active {
  background: var(--color-navy);
  color: #ffffff;
  border-color: var(--color-navy);
  box-shadow: 0 6px 18px rgba(11, 25, 44, 0.2);
}

.ledger-nav-item.active .ledger-nav-num {
  background: var(--color-orange);
  color: #ffffff;
}

.monograph-card {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 3.25rem;
  margin-bottom: 3.5rem;
  box-shadow: 0 12px 35px rgba(11, 25, 44, 0.06);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.monograph-card:hover {
  border-color: var(--color-orange);
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(11, 25, 44, 0.12);
}

.monograph-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.monograph-year {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-orange);
}

.monograph-title {
  font-size: 2rem;
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.monograph-outcome-box {
  background: #fff7ed;
  border-left: 4px solid var(--color-orange);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* OUR JOURNEY VERTICAL TIMELINE STYLES */
.timeline-section {
  padding: 6rem 0;
  position: relative;
  background: var(--bg-slate);
  border-top: var(--border-light);
  border-bottom: var(--border-light);
}

.timeline-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 2.5rem auto 0 auto;
}

.timeline-track {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2.5px;
  background: #e2e8f0;
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-progress-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, #ea580c 0%, #7c3aed 100%);
  border-radius: 2px;
  transition: height 0.2s ease-out;
}

.timeline-item {
  position: relative;
  margin-bottom: 3.25rem;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
}

.timeline-node {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  color: #0b192c;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(11, 25, 44, 0.08);
  z-index: 10;
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-node,
.timeline-item.active .timeline-node {
  background: #0b192c;
  color: #ffffff;
  border-color: #0b192c;
  box-shadow: 0 0 14px rgba(11, 25, 44, 0.25);
  transform: translate(-50%, -50%) scale(1.12);
}

.timeline-card {
  width: 45%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 14px rgba(11, 25, 44, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:hover .timeline-card,
.timeline-item.active .timeline-card {
  border-color: #0b192c;
  box-shadow: 0 10px 28px rgba(11, 25, 44, 0.1);
  transform: translateY(-3px);
}

.timeline-date {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ea580c;
  margin-bottom: 0.4rem;
}

.timeline-title {
  font-size: 1.45rem;
  color: #0b192c;
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.timeline-img-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.timeline-img-grid.single-img {
  grid-template-columns: 1fr;
}

.timeline-img-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #f1f5f9;
  padding: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-img-grid.single-img img {
  height: 230px;
}

.timeline-img-grid img:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.cta-box {
  background: var(--color-navy);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 5.5rem 3rem;
  text-align: center;
  box-shadow: var(--shadow-navy-glow);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-box h2 {
  color: #ffffff;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  margin-bottom: 1.25rem;
}

.cta-box p {
  color: #cbd5e1;
  font-size: 1.2rem;
  margin: 0 auto 2.5rem auto;
}

/* Footer */
.footer {
  background: var(--color-navy-dark);
  color: #ffffff;
  padding: 5rem 0 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand .brand-name {
  color: #ffffff;
}

.footer-title {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-orange);
}

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

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-icon:hover {
  background: var(--color-orange);
  transform: translateY(-2px);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid-blended, .editorial-grid, .executive-roster-grid, .form-grid-2, .speakers-grid, .council-modal-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual-organic {
    margin-top: 0;
  }
  .cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline-track {
    left: 24px;
    transform: none;
  }
  .timeline-node {
    left: 24px;
    transform: translate(-50%, -50%);
  }
  .timeline-item, .timeline-item:nth-child(even) {
    justify-content: flex-end;
  }
  .timeline-card {
    width: calc(100% - 70px);
  }
  .radial-wrapper {
    width: 100%;
    height: 600px;
  }
  .radial-track-circle {
    width: 440px;
    height: 440px;
  }
  .radial-center-hub {
    width: 300px;
    height: 300px;
    padding: 1.75rem 1.25rem;
  }
  .hub-title {
    font-size: 1.05rem;
  }
  .radial-node {
    width: 46px;
    height: 46px;
    margin-left: -23px;
    margin-top: -23px;
    font-size: 0.85rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-hover);
    border-bottom: var(--border-medium);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    z-index: 999;
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-menu-toggle {
    display: block;
    padding: 0.5rem;
    font-size: 1.4rem;
  }
  .brand-subtitle {
    display: block;
    font-size: 0.7rem;
    max-width: 180px;
    white-space: normal;
  }
  .cards-grid-4, .cards-grid-3, .pillars-grid, .speakers-grid, .executive-roster-grid, .form-grid-2 {
    grid-template-columns: 1fr !important;
  }
  .metrics-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  /* Inline two-column hero/editorial layouts collapse to 1fr on tablets/phones */
  div[style*="grid-template-columns: 1.15fr 0.85fr"],
  div[style*="grid-template-columns: 1.2fr 0.8fr"],
  div[style*="grid-template-columns: 2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  /* Responsive modal dialogs */
  #pillarModal > div, #imageViewerModal > div {
    max-width: 92vw !important;
    max-height: 88vh !important;
    overflow-y: auto !important;
    padding: 1.5rem !important;
  }
}

/* ==========================================================================
   SMALL PHONE REFINEMENTS (iPhone SE and similar, <=560px)
   ========================================================================== */
@media (max-width: 560px) {
  .container {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
  .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .timeline-card {
    padding: 1.5rem;
    width: calc(100% - 55px);
  }
  .metrics-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* 13-Council Radial Wheel: a 13-node trigonometric circle is very hard to
     tap accurately on small phones, so we swap to a simple stacked list
     that reuses the same data and opens the same expansion modal. */
  .radial-wrapper {
    display: none;
  }
  .council-mobile-list {
    display: flex;
  }

  /* Large inline padding on feature/callout boxes eats too much width on small phones */
  div[style*="padding: 4rem"],
  div[style*="padding: 3rem"] {
    padding: 1.75rem !important;
  }
}

.council-mobile-list {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.5rem;
  text-align: left;
}

.council-mobile-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.council-mobile-item:active,
.council-mobile-item:hover {
  background: rgba(234, 88, 12, 0.18);
  border-color: var(--color-orange);
}

.council-mobile-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-orange);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
}

.council-mobile-text {
  flex: 1;
  min-width: 0;
}

.council-mobile-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.council-mobile-badge {
  color: var(--color-orange);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.council-mobile-item i {
  color: #cbd5e1;
  flex-shrink: 0;
}

/* ==========================================================================
   GALLERY PAGE STYLES
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-navy-dark);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.32s ease;
}

.gallery-item:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow: var(--shadow-hover);
}

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

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

.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(11, 25, 44, 0.88));
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 1.5rem 1rem 0.75rem;
  opacity: 0;
  transition: opacity 0.28s ease;
}

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

.gallery-item.hidden {
  display: none;
}

/* Gallery filter pills - light mode variant */
.gallery-filter {
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-editorial);
  font-weight: 700;
}

.gallery-filter:hover {
  background: var(--color-navy) !important;
  color: #ffffff !important;
  border-color: var(--color-navy) !important;
}

.gallery-filter.active {
  background: var(--color-navy) !important;
  color: #ffffff !important;
  border-color: var(--color-navy) !important;
}

/* LIGHTBOX CLICK ZOOM ANIMATION */
@keyframes lightboxZoomIn {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

#lightboxImage, #lightbox-img-main {
  animation: lightboxZoomIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
