/* ==========================================================================
   Rashtra Seva Dal (राष्ट्र सेवा दल) - Ultra-Premium Modern Stylesheet
   Design: Luxury Editorial, Glassmorphism, Dynamic Gradients, Micro-Interactions
   ========================================================================== */

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

:root {
  /* Curated Brand Colors */
  --red-primary: #D40C0C;
  --red-dark: #A80808;
  --red-light: #FFF0F0;
  --red-glow: rgba(212, 12, 12, 0.28);
  --red-gradient: linear-gradient(135deg, #E61E1E 0%, #B80A0A 100%);

  --blue-brand: #2263C1;
  --blue-hover: #1852A6;
  --blue-light: #EAF2FF;
  --blue-glow: rgba(34, 99, 193, 0.25);
  --blue-gradient: linear-gradient(135deg, #2A72DB 0%, #1A52A3 100%);

  --deep-blue: #123B73;
  --deep-blue-dark: #081D3D;
  --deep-blue-surface: #0E2E5C;

  --gold-accent: #E5A93C;
  --gold-light: #FFF8EB;

  --bg-warm-white: #FFFFFF;
  --bg-light-grey: #FFFFFF;
  --bg-white: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.95);

  --text-dark: #121826;
  --text-secondary: #4E5D78;
  --text-muted: #8A94A6;
  --text-light: #F8FAFC;

  /* Borders & Highlights */
  --border-subtle: rgba(18, 59, 115, 0.08);
  --border-card: rgba(226, 232, 240, 0.9);
  --border-glass: rgba(255, 255, 255, 0.22);
  --border-glow: rgba(34, 99, 193, 0.35);

  /* Luxury Shadows */
  --shadow-xs: 0 1px 3px rgba(18, 59, 115, 0.04);
  --shadow-sm: 0 4px 12px rgba(18, 59, 115, 0.06);
  --shadow-md: 0 8px 24px rgba(18, 59, 115, 0.08);
  --shadow-lg: 0 16px 36px rgba(18, 59, 115, 0.12);
  --shadow-xl: 0 24px 56px rgba(8, 29, 61, 0.18);
  --shadow-red: 0 8px 25px rgba(212, 12, 12, 0.35);
  --shadow-blue: 0 8px 25px rgba(34, 99, 193, 0.3);

  /* Typography */
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-devanagari: 'Yantramanav', sans-serif;

  /* Radius & Motion */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.18s ease-out;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-sans);
  background-color: #FFFFFF;
  color: var(--text-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #F1F4F9;
}

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 10px;
  border: 2px solid #F1F4F9;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--blue-brand);
}

/* Top Scroll Progress Bar */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  background: linear-gradient(90deg, var(--red-primary) 0%, var(--blue-brand) 50%, var(--gold-accent) 100%);
  z-index: 9999;
  width: 0%;
  transition: width 0.1s ease-out;
}

/* Headings - Crisp Editorial Typography with Georgia 400 */
h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.serif-font,
.section-header h2,
.about-editorial-heading {
  font-family: var(--font-heading);
  font-weight: 400;
  color: #111827;
  /* Rich black */
  line-height: 1.2;
  letter-spacing: -0.015em;
}

/* Global Heading Highlight - Black Base with Red Theme Highlight & Italic Serif */
.highlight-text,
.highlight-gradient,
.highlight-red,
h1 .highlight-text,
h1 .highlight-gradient,
h1 .highlight-red,
h1 em,
h2 .highlight-text,
h2 .highlight-gradient,
h2 .highlight-red,
h2 em,
h3 .highlight-text,
h3 .highlight-gradient,
h3 .highlight-red,
h3 em,
.section-header h2 .highlight-text,
.section-header h2 em,
.about-editorial-heading .highlight-text,
.about-editorial-heading em {
  color: var(--red-primary) !important;
  font-style: italic !important;
  font-weight: inherit;
  background: none !important;
  -webkit-text-fill-color: var(--red-primary) !important;
  display: inline;
}

p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.7;
}

a {
  color: var(--blue-brand);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--blue-hover);
}

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

.container-narrow {
  max-width: 880px;
}

/* Top Announcement Ticker Bar */
.top-notice-bar {
  background: linear-gradient(90deg, var(--deep-blue-dark) 0%, #153C73 50%, var(--deep-blue-dark) 100%);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 8px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1001;
}

.top-notice-bar a {
  color: #FFD270;
  text-decoration: underline;
  margin-left: 8px;
  font-weight: 700;
}

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

/* Section Tag & Headers - Unified Consistent Red Pill Badge */
.section-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 13px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1.25;
  box-shadow: var(--shadow-xs);
  background: var(--red-light);
  color: var(--red-primary);
  border: 1px solid rgba(212, 12, 12, 0.2);
}

.section-tag-pill.red,
.section-tag-pill.blue,
.section-tag-pill.gold {
  background: var(--red-light);
  color: var(--red-primary);
  border: 1px solid rgba(212, 12, 12, 0.2);
}

.section-tag-pill.glass-white {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.section-header {
  text-align: center;
  margin-bottom: 35px;
  position: relative;
}

.section-header .section-subtitle-badge {
  display: inline-block;
  margin-bottom: 14px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: 2.85rem;
  font-weight: 400;
  margin-bottom: 16px;
  color: #111827;
  /* Rich dark black */
  letter-spacing: -0.015em;
  line-height: 1.22;
}

.section-header p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.12rem;
  color: var(--text-secondary);
}

/* Luxury Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.2px;
}

.btn svg {
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover svg {
  transform: scale(1.12);
}

.btn .btn-arrow-icon {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover .btn-arrow-icon {
  transform: translateX(4px);
}

.btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%);
  transform: rotate(30deg) translateX(-100%);
  transition: transform 0.65s ease;
}

.btn:hover::after {
  transform: rotate(30deg) translateX(100%);
}

.btn-primary {
  background: var(--red-gradient);
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(212, 12, 12, 0.32), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(212, 12, 12, 0.48), 0 4px 10px rgba(0, 0, 0, 0.12);
}

.btn-secondary {
  background: var(--blue-gradient);
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(34, 99, 193, 0.3), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(34, 99, 193, 0.45), 0 4px 10px rgba(0, 0, 0, 0.12);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--deep-blue) !important;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline-blue {
  background: transparent;
  color: var(--blue-brand) !important;
  border: 2px solid var(--blue-brand);
}

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

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  gap: 7px;
}

/* ==========================================================================
   1. NAVBAR & DYNAMIC ANIMATED MENU
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(18, 59, 115, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 30px rgba(18, 59, 115, 0.09);
  border-bottom-color: rgba(212, 12, 12, 0.15);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo-wrap:hover {
  transform: scale(1.06) rotate(-1deg);
}

.brand-logo-img {
  height: 64px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
  transition: filter 0.3s ease;
}

.brand-logo-wrap:hover .brand-logo-img {
  filter: drop-shadow(0 4px 12px rgba(212, 12, 12, 0.18));
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 16px;
}

.nav-menu li {
  position: relative;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  padding: 9px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.2px;
  display: inline-block;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  z-index: 1;
}

/* Background floating glow pill on hover */
.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full);
  background: rgba(212, 12, 12, 0.08);
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.nav-link:hover::before {
  opacity: 1;
  transform: scale(1);
}

/* Dynamic glowing gradient underline indicator */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2.5px;
  border-radius: 3px;
  background: var(--red-gradient);
  box-shadow: 0 0 8px rgba(212, 12, 12, 0.5);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
  color: var(--red-primary);
  transform: translateY(-2px);
}

.nav-link.active {
  color: var(--red-primary);
  font-weight: 700;
}

.nav-link.active::before {
  opacity: 1;
  background: rgba(212, 12, 12, 0.06);
  transform: scale(1);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Modern Language Switcher Pill with Micro-Elevation */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(18, 59, 115, 0.06);
  border: 1px solid rgba(18, 59, 115, 0.12);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.lang-switcher:hover {
  border-color: rgba(18, 59, 115, 0.25);
  background: rgba(18, 59, 115, 0.09);
}

.lang-btn {
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-btn:hover {
  color: var(--deep-blue);
  transform: scale(1.04);
}

.lang-btn.active {
  background: var(--deep-blue);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(18, 59, 115, 0.3);
  transform: scale(1);
}

/* Animated Hamburger Toggle Button */
.mobile-toggle {
  display: none;
  background: rgba(18, 59, 115, 0.06);
  border: 1px solid rgba(18, 59, 115, 0.12);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  position: relative;
  padding: 0;
  transition: all 0.3s ease;
}

.mobile-toggle:hover {
  background: rgba(212, 12, 12, 0.08);
  border-color: var(--red-primary);
}

.hamburger-bar {
  position: absolute;
  left: 10px;
  width: 22px;
  height: 2.2px;
  background-color: var(--deep-blue);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger-bar:nth-child(1) {
  top: 13px;
}

.hamburger-bar:nth-child(2) {
  top: 20px;
}

.hamburger-bar:nth-child(3) {
  top: 27px;
}

.mobile-toggle.active .hamburger-bar:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
  background-color: var(--red-primary);
}

.mobile-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.mobile-toggle.active .hamburger-bar:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
  background-color: var(--red-primary);
}

/* ==========================================================================
   2. HERO SECTION (FULL-WIDTH BANNER IMAGE WITH CONTENT OVERLAY ON LEFT)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: #ffffff;
  padding: 120px 0 130px;
  overflow: hidden;
  background-color: var(--deep-blue-dark);
}

.hero-banner-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-banner-overlay-scrim {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg,
      rgba(6, 21, 45, 0.96) 0%,
      rgba(8, 29, 61, 0.92) 40%,
      rgba(8, 29, 61, 0.72) 60%,
      rgba(8, 29, 61, 0.35) 82%,
      rgba(8, 29, 61, 0.2) 100%);
  z-index: 2;
}

.hero-section .container {
  position: relative;
  z-index: 3;
}

.hero-overlay-content-left {
  max-width: 660px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: left;
}

.hero-title {
  font-size: 3.6rem;
  color: #ffffff;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.55);
}

.hero-title .highlight-gradient {
  background: linear-gradient(135deg, #FFF176 0%, #FFB74D 50%, #FF8A65 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.2rem;
  line-height: 1.7;
  max-width: 580px;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 10px;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .hero-section {
    min-height: 560px;
    padding: 100px 0 110px;
  }

  .hero-overlay-content-left {
    max-width: 560px;
  }

  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 85px 0 95px;
  }

  .hero-banner-overlay-scrim {
    background: linear-gradient(180deg,
        rgba(6, 21, 45, 0.95) 0%,
        rgba(8, 29, 61, 0.9) 65%,
        rgba(8, 29, 61, 0.8) 100%);
  }

  .hero-overlay-content-left {
    max-width: 100%;
    text-align: left;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-desc {
    font-size: 1.05rem;
  }
}

/* ==========================================================================
   3. ABOUT SECTION (EDITORIAL SPLIT DESIGN)
   ========================================================================== */
.about-editorial-section {
  padding: 100px 0 110px;
  background-color: #FFFFFF;
  position: relative;
}

.about-editorial-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 68px;
  align-items: center;
}

.about-editorial-left {
  display: flex;
  flex-direction: column;
  padding-right: 15px;
}

.about-editorial-heading {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  font-weight: 400;
  color: #111827;
  /* Deep Black */
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin-bottom: 34px;
}

.about-quote-container {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.about-quote-mark {
  font-family: Georgia, serif;
  font-size: 4.2rem;
  line-height: 0.82;
  color: #D4A373;
  user-select: none;
  flex-shrink: 0;
  font-style: normal;
  display: inline-block;
  margin-top: -2px;
}

.about-pull-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.52;
  color: #2D3748;
  margin: 0;
  border: none;
  padding: 0;
  background: transparent;
}

.about-attribution-line {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #718096;
  margin-left: 2px;
  margin-bottom: 8px;
}

.about-editorial-divider {
  width: 100%;
  height: 1.5px;
  background-color: #CBD5E1;
  margin: 32px 0 28px 0;
}

.about-narrative-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4A5568;
  margin: 0;
}

.about-editorial-right {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.about-portrait-frame {
  width: 100%;
  height: 530px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.09);
  background-color: #F8FAFC;
  position: relative;
}

/* ==========================================================================
   IMAGE REVEAL CURTAIN & DE-ZOOM ANIMATION (STEWARD / ROCKET SYSTEM)
   ========================================================================== */
.image-reveal {
  position: relative;
  overflow: hidden;
}

.reveal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #E8E4DF;
  /* Elegant warm neutral curtain */
  z-index: 10;
  transform: translateX(0);
  transition: transform 1.4s cubic-bezier(0.77, 0, 0.175, 1);
  border-radius: inherit;
  pointer-events: none;
}

.image-reveal img,
.about-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.12);
  transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Triggered state on scroll intersection */
.image-reveal.revealed .reveal-overlay {
  transform: translateX(101%);
}

.image-reveal.revealed img,
.image-reveal.revealed .about-portrait-img {
  transform: scale(1);
}

/* Interactive Hover state after reveal */
.image-reveal.revealed:hover img,
.image-reveal.revealed:hover .about-portrait-img {
  transform: scale(1.04);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Stagger Animation for Narrative Children */
.stagger-children>* {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-children.revealed>* {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.revealed> :nth-child(1) {
  transition-delay: 0s;
}

.stagger-children.revealed> :nth-child(2) {
  transition-delay: 0.12s;
}

.stagger-children.revealed> :nth-child(3) {
  transition-delay: 0.22s;
}

.stagger-children.revealed> :nth-child(4) {
  transition-delay: 0.32s;
}

.stagger-children.revealed> :nth-child(5) {
  transition-delay: 0.42s;
}

.stagger-children.revealed> :nth-child(6) {
  transition-delay: 0.52s;
}

.about-stat-accent-box {
  display: flex;
  flex-direction: column;
  border-left: 3.5px solid #D4A373;
  padding-left: 16px;
  margin-top: 4px;
}

.about-stat-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 400;
  color: #1A202C;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.about-stat-caption {
  font-size: 0.85rem;
  color: #718096;
  line-height: 1.45;
  margin-top: 4px;
}

@media (max-width: 991px) {
  .about-editorial-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-editorial-left {
    padding-right: 0;
  }

  .about-editorial-heading {
    font-size: 2.8rem;
  }

  .about-portrait-frame {
    height: 440px;
  }
}

@media (max-width: 640px) {
  .about-editorial-section {
    padding: 70px 0 80px;
  }

  .about-editorial-heading {
    font-size: 2.2rem;
    margin-bottom: 24px;
  }

  .about-pull-quote {
    font-size: 1.25rem;
  }

  .about-portrait-frame {
    height: 340px;
    border-radius: 20px;
  }
}

/* ==========================================================================
   4. HORIZONTAL ALTERNATING TIMELINE (JOURNEY SECTION)
   ========================================================================== */
.journey-horizontal-section {
  padding: 50px 0 60px;
  background-color: var(--bg-warm-white);
  position: relative;
  overflow: hidden;
}

.timeline-horizontal-container {
  position: relative;
  width: 100%;
  margin-top: 15px;
}

.timeline-horizontal-wrapper {
  width: 100%;
  overflow-x: auto;
  padding: 30px 0 70px;
  position: relative;
  scroll-behavior: smooth;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
}

.timeline-horizontal-wrapper::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari and Opera */
  width: 0;
  height: 0;
}

.timeline-horizontal-track {
  display: inline-flex;
  position: relative;
  min-width: 100%;
  padding: 0 50px;
  align-items: center;
  height: 350px;
}

/* Central Continuous Baseline */
.timeline-horizontal-baseline {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  height: 2.5px;
  background: linear-gradient(90deg, #3B82F6 0%, #2563EB 50%, #1D4ED8 100%);
  transform: translateY(-50%);
  z-index: 1;
}

/* Individual Milestone Node Column - Compact & Balanced Spacing */
.timeline-h-node {
  position: relative;
  width: 350px;
  height: 350px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  z-index: 2;
  padding: 0 10px;
  overflow: visible;
  cursor: pointer;
}

.timeline-h-node:hover,
.timeline-h-node.active {
  z-index: 50;
}

/* Top & Bottom Slots - Generous headroom to never clip */
.h-slot-top {
  height: 155px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  padding-bottom: 6px;
  position: relative;
  overflow: visible;
  z-index: 5;
}

.h-slot-bottom {
  height: 155px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  padding-top: 6px;
  position: relative;
  overflow: visible;
  z-index: 5;
}

/* Central Bullet Node (Cyan Ring with Core) */
.h-bullet-wrap {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  border: 3.5px solid #00B4D8;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.2);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  flex-shrink: 0;
}

.h-bullet-core {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00B4D8;
  transition: background 0.25s ease;
}

.timeline-h-node:hover .h-bullet-wrap,
.timeline-h-node.active .h-bullet-wrap {
  border-color: var(--blue-brand);
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.28);
  transform: scale(1.22);
}

.timeline-h-node:hover .h-bullet-core,
.timeline-h-node.active .h-bullet-core {
  background: var(--blue-brand);
}

/* Year Label */
.h-year-label {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 800;
  color: #2563EB;
  line-height: 1.1;
  letter-spacing: -0.5px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}

.timeline-h-node:hover .h-year-label,
.timeline-h-node.active .h-year-label {
  color: var(--deep-blue);
  transform: scale(1.08);
}

/* Stem connector line */
.h-connector-stem {
  width: 1.5px;
  height: 14px;
  background: #93C5FD;
  display: block;
  position: relative;
  margin: 3px 0;
  flex-shrink: 0;
  transition: background 0.25s ease;
}

.h-slot-bottom .h-connector-stem::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #93C5FD;
  transition: background 0.25s ease;
}

.h-slot-top .h-connector-stem::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #93C5FD;
  transition: background 0.25s ease;
}

.timeline-h-node:hover .h-connector-stem,
.timeline-h-node.active .h-connector-stem,
.timeline-h-node:hover .h-connector-stem::before,
.timeline-h-node:hover .h-connector-stem::after,
.timeline-h-node.active .h-connector-stem::before,
.timeline-h-node.active .h-connector-stem::after {
  background: #2563EB;
}

/* Milestone Description Card - Clean, Floating & Never Clipped */
.h-desc-box {
  max-width: 350px;
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  border: 1.5px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 14px rgba(18, 59, 115, 0.06);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 10;
  box-sizing: border-box;
}

.timeline-h-node:hover .h-desc-box,
.timeline-h-node.active .h-desc-box {
  background: #FFFFFF;
  box-shadow: 0 16px 36px rgba(18, 59, 115, 0.16), 0 2px 8px rgba(0, 0, 0, 0.04);
  border-color: #2563EB;
  z-index: 100;
}

.h-slot-top .timeline-h-node:hover .h-desc-box,
.h-slot-top .timeline-h-node.active .h-desc-box,
.timeline-h-node:hover .h-slot-top .h-desc-box,
.timeline-h-node.active .h-slot-top .h-desc-box {
  transform: translateY(-4px) scale(1.03);
}

.h-slot-bottom .timeline-h-node:hover .h-desc-box,
.h-slot-bottom .timeline-h-node.active .h-desc-box,
.timeline-h-node:hover .h-slot-bottom .h-desc-box,
.timeline-h-node.active .h-slot-bottom .h-desc-box {
  transform: translateY(4px) scale(1.03);
}

.h-desc-title {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  color: #1E293B;
  line-height: 1.32;
  transition: color 0.25s ease;
}

.timeline-h-node:hover .h-desc-title,
.timeline-h-node.active .h-desc-title {
  color: #2563EB;
}

/* Narrative text expanded smoothly */
.h-desc-text {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.5;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-3px);
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), margin-top 0.25s ease;
  margin-top: 0;
  pointer-events: none;
}

.timeline-h-node:hover .h-desc-text,
.timeline-h-node.active .h-desc-text {
  max-height: 220px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 6px;
  pointer-events: auto;
}

/* Interactive Navigation Controls */
.timeline-h-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
  position: relative;
  z-index: 10;
}

.timeline-ctrl-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid rgba(34, 99, 193, 0.16);
  color: #1E40AF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(18, 59, 115, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.timeline-ctrl-btn svg {
  transition: transform 0.25s ease;
}

.timeline-ctrl-btn.prev:hover svg {
  transform: translateX(-3px);
}

.timeline-ctrl-btn.next:hover svg {
  transform: translateX(3px);
}

.timeline-ctrl-btn:hover {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #ffffff;
  border-color: #2563EB;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.32);
}

.timeline-ctrl-btn:active {
  transform: translateY(0) scale(0.94);
}

/* Mini indicator dots between buttons */
.timeline-nav-dots-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.timeline-nav-dots-indicator .t-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #CBD5E1;
  transition: all 0.3s ease;
}

.timeline-nav-dots-indicator .t-dot.active {
  width: 22px;
  border-radius: 10px;
  background: #2563EB;
}

/* ==========================================================================
   5. CORE VALUES / PRINCIPLES CAROUSEL
   ========================================================================== */
.values-section {
  padding: 100px 0;
  background-color: var(--bg-warm-white);
  position: relative;
  overflow: hidden;
}

.principle-carousel-wrap {
  position: relative;
  width: 100%;
  margin-top: 10px;
}

.principle-carousel-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 12px 6px 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}

.principle-carousel-track::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

/* Individual Principle Card: Exactly 4 cards in one row on desktop */
.principle-card {
  flex: 0 0 calc((100% - (3 * 22px)) / 4);
  width: calc((100% - (3 * 22px)) / 4);
  min-width: calc((100% - (3 * 22px)) / 4);
  min-height: 410px;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
  scroll-snap-align: start;
  position: relative;
}

.principle-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(18, 59, 115, 0.13), 0 4px 12px rgba(0, 0, 0, 0.04);
  border-color: rgba(37, 99, 235, 0.25);
}

/* Card Image & Overlay Container */
.principle-card-img-wrap {
  position: relative;
  width: 100%;
  height: 275px;
  flex-shrink: 0;
  overflow: hidden;
  background-color: #0c1829;
}

.principle-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.principle-card:hover .principle-card-img {
  transform: scale(1.08);
}

/* Scrim Gradient Overlay matching reference */
.principle-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.0) 0%,
      rgba(0, 0, 0, 0.05) 35%,
      rgba(6, 18, 38, 0.72) 75%,
      rgba(6, 18, 38, 0.92) 100%);
  pointer-events: none;
}

/* Typography on Image */
.principle-card-overlay-text {
  position: absolute;
  bottom: 20px;
  left: 16px;
  right: 16px;
  text-align: center;
  color: #ffffff;
  z-index: 2;
  pointer-events: none;
}

.principle-card-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.principle-card-subtitle {
  font-family: var(--font-sans);
  font-size: 0.70rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Card Detailed Text Body */
.principle-card-body {
  flex: 1;
  min-height: 135px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 20px;
  border-top: 1px solid rgba(241, 245, 249, 0.95);
  transition: background-color 0.25s ease;
}

.principle-card:hover .principle-card-body {
  background-color: #f8fafc;
}

.principle-card-desc {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  line-height: 1.55;
  color: #475569;
  font-weight: 500;
  margin: 0;
  text-align: center;
  transition: color 0.25s ease;
}

.principle-card:hover .principle-card-desc {
  color: #1E293B;
}

/* Floating Navigation Arrows */
.principle-nav-arrow {
  position: absolute;
  top: calc(50% - 24px);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.14), 0 2px 6px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1E293B;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.principle-nav-arrow.prev {
  left: -20px;
  opacity: 1;
  pointer-events: auto;
}

.principle-nav-arrow.next {
  right: -20px;
  opacity: 1;
  pointer-events: auto;
}

.principle-nav-arrow:hover {
  background: #ffffff;
  color: var(--red-primary);
  transform: scale(1.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  border-color: rgba(212, 12, 12, 0.3);
}

.principle-nav-arrow:active {
  transform: scale(0.95);
}

@media (max-width: 1200px) {
  .principle-card {
    flex: 0 0 calc((100% - (2 * 20px)) / 3);
    width: calc((100% - (2 * 20px)) / 3);
    min-width: calc((100% - (2 * 20px)) / 3);
  }
}

@media (max-width: 860px) {
  .principle-card {
    flex: 0 0 calc((100% - 16px) / 2);
    width: calc((100% - 16px) / 2);
    min-width: calc((100% - 16px) / 2);
    min-height: 390px;
  }

  .principle-card-img-wrap {
    height: 250px;
  }
}

@media (max-width: 600px) {
  .principle-card {
    flex: 0 0 85%;
    width: 85%;
    min-width: 85%;
    min-height: 380px;
  }

  .principle-card-img-wrap {
    height: 240px;
  }

  .principle-card-title {
    font-size: 1.6rem;
  }

  .principle-card-body {
    min-height: 125px;
    padding: 14px 16px;
  }

  .principle-card-desc {
    font-size: 0.82rem;
  }

  .principle-nav-arrow {
    display: flex;
    width: 38px;
    height: 38px;
    top: calc(50% - 19px);
    z-index: 25;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
    border-color: rgba(226, 232, 240, 0.95);
  }

  .principle-nav-arrow.prev {
    left: -6px;
  }

  .principle-nav-arrow.next {
    right: -6px;
  }

  .principle-nav-arrow svg {
    width: 18px;
    height: 18px;
  }
}

/* ==========================================================================
   6. ACTIVITIES SECTION (INTERACTIVE 3D BOOK FLIP SPREAD DESIGN - DARK BG)
   ========================================================================== */
.activities-section {
  padding: 110px 0 120px;
  background: linear-gradient(180deg, #071730 0%, #0A1E3E 50%, #06152B 100%);
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
}

/* Atmospheric glowing backdrop accents */
.activities-section::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 960px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 12, 12, 0.16) 0%, rgba(34, 99, 193, 0.14) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.activities-section .container {
  position: relative;
  z-index: 2;
}

.activities-section .section-header h2 {
  color: #FFFFFF !important;
}

.activities-section .section-header p {
  color: #94A3B8;
}

.activities-book-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

/* --- 3D Book Container & Arrows --- */
.book-flip-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Book 3D Stage & Hardcover Base --- */
.book-stage {
  width: 100%;
  position: relative;
  perspective: 2000px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  padding: 8px;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.65),
    0 0 50px rgba(212, 12, 12, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  height: 520px;
  min-height: 520px;
  max-height: 520px;
}

/* Outer paper edging stack simulation */
.book-stage::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 22px;
  background: #142848;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* --- Book Spread Structure & 3D Realistic Page Flip --- */
.book-spread {
  display: none !important;
  width: 100%;
  height: 100%;
  min-height: 504px;
  max-height: 504px;
  grid-template-columns: 1fr 18px 1.08fr;
  background: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  z-index: 5;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.02);
  transform-style: preserve-3d;
}

.book-spread.active {
  display: grid !important;
  position: relative;
  z-index: 6;
  opacity: 1;
  height: 100%;
  min-height: 504px;
  max-height: 504px;
}

/* FLIP FORWARD (NEXT PAGE TURN) */
.book-spread.active.flip-in-right .book-page-right {
  animation: bookFlipPageRightIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transform-origin: left center;
  backface-visibility: hidden;
}

.book-spread.active.flip-in-right .book-page-left {
  animation: bookPageLeftReveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes bookFlipPageRightIn {
  0% {
    opacity: 0.1;
    transform: perspective(2200px) rotateY(82deg) scaleY(0.96);
    box-shadow: -35px 15px 50px rgba(18, 59, 115, 0.28);
    filter: brightness(0.92);
  }

  40% {
    opacity: 0.9;
    filter: brightness(0.96);
  }

  100% {
    opacity: 1;
    transform: perspective(2200px) rotateY(0deg) scaleY(1);
    box-shadow: none;
    filter: brightness(1);
  }
}

@keyframes bookPageLeftReveal {
  0% {
    opacity: 0.35;
    transform: scale(0.98) translateX(-15px);
    filter: brightness(0.88);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateX(0);
    filter: brightness(1);
  }
}

/* FLIP BACKWARD (PREVIOUS PAGE TURN) */
.book-spread.active.flip-in-left .book-page-left {
  animation: bookFlipPageLeftIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transform-origin: right center;
  backface-visibility: hidden;
}

.book-spread.active.flip-in-left .book-page-right {
  animation: bookPageRightReveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes bookFlipPageLeftIn {
  0% {
    opacity: 0.1;
    transform: perspective(2200px) rotateY(-82deg) scaleY(0.96);
    box-shadow: 35px 15px 50px rgba(18, 59, 115, 0.28);
    filter: brightness(0.92);
  }

  40% {
    opacity: 0.9;
    filter: brightness(0.96);
  }

  100% {
    opacity: 1;
    transform: perspective(2200px) rotateY(0deg) scaleY(1);
    box-shadow: none;
    filter: brightness(1);
  }
}

@keyframes bookPageRightReveal {
  0% {
    opacity: 0.35;
    transform: scale(0.98) translateX(15px);
    filter: brightness(0.88);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateX(0);
    filter: brightness(1);
  }
}

/* --- Individual Book Pages --- */
.book-page {
  display: flex;
  flex-direction: column;
  padding: 34px 40px;
  position: relative;
  background: #FFFFFF;
  transform-style: preserve-3d;
  height: 100%;
}

.book-page-left {
  background: linear-gradient(to right, #FFFFFF 0%, #FAFAFA 88%, #EDF0F5 100%);
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
}

.book-page-left.book-page-full-cover {
  padding: 0 !important;
  margin: 0;
  overflow: hidden;
  background-color: #0E2E5C;
  position: relative;
  display: flex;
  height: 100%;
  min-height: 504px;
  max-height: 504px;
  border-right: none;
}

.book-page-left.book-page-full-cover .book-page-img-wrap {
  width: 100%;
  height: 100%;
  min-height: 504px;
  max-height: 504px;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  background: #0E2E5C;
}

.book-page-left.book-page-full-cover .book-page-img-wrap img {
  width: 100%;
  height: 100%;
  min-height: 504px;
  max-height: 504px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.book-spread:hover .book-page-left.book-page-full-cover .book-page-img-wrap img {
  transform: scale(1.05);
}

.book-page-left.book-page-full-cover .book-page-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  background: rgba(8, 29, 61, 0.88);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  z-index: 10;
  letter-spacing: 0.03em;
}

.book-page-right {
  background: linear-gradient(to right, #EDF0F5 0%, #FAFAFA 12%, #FFFFFF 100%);
  border-left: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 42px 48px;
  height: 100%;
  min-height: 504px;
  max-height: 504px;
  box-sizing: border-box;
}

.book-page-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.book-spread:hover .book-page-img-wrap img {
  transform: scale(1.04);
}

.book-page-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(8, 29, 61, 0.88);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Realistic Book Spine Binding */
.book-spine-binding {
  position: relative;
  background: linear-gradient(90deg,
      rgba(0, 0, 0, 0.18) 0%,
      rgba(0, 0, 0, 0.05) 35%,
      #FFFFFF 50%,
      rgba(0, 0, 0, 0.05) 65%,
      rgba(0, 0, 0, 0.18) 100%);
  box-shadow:
    inset 2px 0 4px rgba(0, 0, 0, 0.1),
    inset -2px 0 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.spine-stitch {
  width: 2px;
  height: 90%;
  background: repeating-linear-gradient(to bottom,
      rgba(18, 59, 115, 0.2) 0px,
      rgba(18, 59, 115, 0.2) 6px,
      transparent 6px,
      transparent 12px);
}

/* Right Page Content Body */
.book-page-body {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  padding: 4px 0 0;
}

.book-chapter-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 12px;
}

.book-chapter-num {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #94A3B8;
}

.book-heading {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-weight: 400 !important;
  font-size: 2rem;
  line-height: 1.22;
  color: #111827;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}

.book-paragraph {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.68;
  margin-bottom: 16px;
}

.book-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.activity-tag-item {
  background: #F1F5F9;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid #E2E8F0;
  transition: all 0.2s ease;
}

.activity-tag-item:hover {
  background: #FFFFFF;
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.book-page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  width: 100%;
}

.book-footer-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.book-footer-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  color: #1E293B;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(18, 59, 115, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.book-footer-arrow svg {
  pointer-events: none;
  transition: transform 0.2s ease;
}

.book-footer-arrow:hover {
  background: var(--red-primary);
  color: #FFFFFF;
  border-color: var(--red-primary);
  box-shadow: 0 6px 18px rgba(212, 12, 12, 0.32);
  transform: translateY(-2px);
}

.book-footer-arrow:active {
  transform: scale(0.92);
}

.book-folio-num-bottom {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.3rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: 0.02em;
  margin: 0;
  text-align: right;
  display: flex;
  justify-content: flex-end;
  align-self: center;
  user-select: none;
  line-height: 1;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .book-stage {
    height: 490px;
    min-height: 490px;
    max-height: 490px;
  }

  .book-spread,
  .book-spread.active {
    min-height: 474px;
    max-height: 474px;
  }

  .book-page-left.book-page-full-cover,
  .book-page-left.book-page-full-cover .book-page-img-wrap,
  .book-page-left.book-page-full-cover .book-page-img-wrap img,
  .book-page-right {
    min-height: 474px;
    max-height: 474px;
  }

  .book-prev-btn {
    left: -14px;
  }

  .book-next-btn {
    right: -14px;
  }

  .book-page-right {
    padding: 30px 32px;
  }

  .book-heading {
    font-size: 1.75rem;
  }

  .book-paragraph {
    font-size: 0.94rem;
    line-height: 1.6;
  }
}

@media (max-width: 900px) {
  .book-stage {
    height: auto;
    min-height: auto;
    max-height: none;
  }

  .book-spread {
    display: none !important;
    height: auto;
    min-height: auto;
    max-height: none;
  }

  .book-spread.active {
    display: grid !important;
    grid-template-columns: 1fr;
    position: relative;
    border-radius: 18px;
    height: auto;
    min-height: auto;
    max-height: none;
  }

  .book-spine-binding {
    display: none;
  }

  .book-page-left.book-page-full-cover {
    height: 280px;
    min-height: 280px;
    max-height: 280px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  }

  .book-page-left.book-page-full-cover .book-page-img-wrap {
    height: 280px;
    min-height: 280px;
    max-height: 280px;
  }

  .book-page-left.book-page-full-cover .book-page-img-wrap img {
    height: 280px;
    min-height: 280px;
    max-height: 280px;
  }

  .book-page-right {
    height: auto;
    min-height: auto;
    max-height: none;
    padding: 28px 24px;
    border-left: none;
  }

  .book-page-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
  }

  .book-footer-nav {
    display: contents;
  }

  .book-footer-prev {
    order: 1;
  }

  .book-folio-num-bottom {
    order: 2;
    text-align: center;
    font-size: 2rem;
    margin: 0;
    align-self: center;
  }

  .book-footer-next {
    order: 3;
  }
}

@media (max-width: 600px) {

  .book-page-left.book-page-full-cover,
  .book-page-left.book-page-full-cover .book-page-img-wrap,
  .book-page-left.book-page-full-cover .book-page-img-wrap img {
    height: 230px;
    min-height: 230px;
    max-height: 230px;
  }

  .book-heading {
    font-size: 1.45rem;
  }

  .book-paragraph {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .book-page-right {
    padding: 22px 18px;
  }

  .book-footer-arrow {
    width: 40px;
    height: 40px;
  }

  .book-folio-num-bottom {
    font-size: 1.75rem;
  }
}

/* ==========================================================================
   7. PHOTO GALLERY & LEGACY LUMINARIES
   ========================================================================== */
.gallery-section {
  padding: 110px 0 120px;
  background-color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.gallery-filter-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.gal-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-card);
  background: var(--bg-white);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.gal-btn:hover,
.gal-btn.active {
  background: var(--red-primary);
  color: #ffffff;
  border-color: var(--red-primary);
  box-shadow: var(--shadow-red);
  transform: translateY(-2px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.gallery-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.07);
  border: 1px solid rgba(226, 232, 240, 0.9);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: #0c1829;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(18, 59, 115, 0.16);
  border-color: rgba(37, 99, 235, 0.35);
}

.gallery-img-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

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

.gallery-card:hover .gallery-card-img {
  transform: scale(1.09);
}

.gallery-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(6, 18, 38, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gallery-card:hover .gallery-img-overlay {
  opacity: 1;
}

.gallery-zoom-badge {
  align-self: flex-end;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-blue);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transform: translateY(-6px);
  transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-zoom-badge {
  transform: translateY(0);
}

.gallery-img-caption {
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  transform: translateY(6px);
  transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-img-caption {
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

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

/* Lightbox Modal */
.gallery-lightbox-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 18, 38, 0.92);
  backdrop-filter: blur(12px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gallery-lightbox-backdrop.active {
  display: flex;
}

.lightbox-modal-wrap {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-box {
  width: 100%;
  max-height: 75vh;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-modal-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 16px;
}

.lightbox-modal-caption {
  margin-top: 14px;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
}

.lightbox-close-btn {
  position: absolute;
  top: -46px;
  right: 0;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.25s ease;
}

.lightbox-close-btn:hover {
  background: var(--red-primary);
  border-color: var(--red-primary);
  transform: scale(1.1);
}

.notable-role {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ==========================================================================
   8. EVENTS & CONFERENCES SECTION (ENHANCED MODERN EDITORIAL CARDS)
   ========================================================================== */
.events-section {
  padding: 110px 0 120px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 50%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.event-card {
  background: #FFFFFF;
  border-radius: 22px;
  box-shadow: 0 6px 24px rgba(18, 59, 115, 0.07);
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(18, 59, 115, 0.14);
  border-color: rgba(212, 12, 12, 0.3);
}

.event-card.featured {
  border: 1.5px solid rgba(212, 12, 12, 0.28);
  box-shadow: 0 10px 32px rgba(212, 12, 12, 0.09);
}

.event-card-cover {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: #0E2E5C;
}

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

.event-card:hover .event-card-cover img {
  transform: scale(1.08);
}

/* Date Ribbon on cover */
.event-date-ribbon {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(8, 29, 61, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 6px 12px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  z-index: 5;
}

.event-date-ribbon .ribbon-month {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #FFD270;
}

.event-date-ribbon .ribbon-day {
  font-family: Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
}

/* Location overlay on cover */
.event-cover-location {
  position: absolute;
  bottom: 14px;
  left: 16px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 5;
}

.event-card-body {
  padding: 26px 28px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #FFFFFF;
}

.event-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  gap: 8px;
  flex-wrap: wrap;
}

.event-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: #F1F5F9;
  color: var(--text-secondary);
}

.event-status-chip.flagship {
  background: #FFF0F0;
  color: var(--red-primary);
}

.event-status-chip.open {
  background: #ECFDF5;
  color: #059669;
}

.event-status-chip.active {
  background: #EFF6FF;
  color: #2563EB;
}

.status-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.status-pulse-dot.red {
  background: var(--red-primary);
  box-shadow: 0 0 0 3px rgba(212, 12, 12, 0.25);
}

.status-pulse-dot.green {
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.status-pulse-dot.blue {
  background: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.event-card-title {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 1.45rem;
  font-weight: 400;
  color: #111827;
  line-height: 1.28;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.event-card:hover .event-card-title {
  color: var(--red-primary);
}

.event-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: #F8FAFC;
  border-radius: var(--radius-sm);
  border: 1px solid #EDF2F7;
}

.event-meta-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
}

.event-meta-chip .chip-icon {
  font-size: 0.95rem;
}

.event-card-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 22px;
  flex-grow: 1;
}

.event-card-action {
  margin-top: auto;
}

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

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

@media (max-width: 768px) {
  .events-grid {
    grid-template-columns: 1fr;
  }

  .event-card-body {
    padding: 22px 20px 24px;
  }
}

/* ==========================================================================
   9. JOIN US SECTION (SPLIT CONTAINER)
   ========================================================================== */
.join-section {
  padding: 110px 0;
  background-color: #FFFFFF;
  position: relative;
}

.join-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-card);
  overflow: hidden;
}

.join-info-pane {
  background: radial-gradient(circle at 10% 10%, #1a4a8c 0%, var(--deep-blue-dark) 100%);
  color: #ffffff;
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.join-info-pane h3 {
  color: #ffffff;
  font-size: 2.3rem;
  margin: 16px 0 18px;
}

.join-info-pane p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  line-height: 1.7;
}

.join-perks {
  list-style: none;
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.join-perk-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.02rem;
  color: #ffffff;
  font-weight: 500;
}

.perk-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(212, 12, 12, 0.4);
}

.join-contact-hint {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.join-form-pane {
  padding: 56px;
}

.join-form-pane h3 {
  font-size: 1.9rem;
  margin-bottom: 8px;
}

.join-form-pane p.form-subtitle {
  margin-bottom: 28px;
  font-size: 0.98rem;
}

.form-group {
  margin-bottom: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  color: var(--text-dark);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--blue-brand);
  box-shadow: 0 0 0 4px rgba(34, 99, 193, 0.14);
}

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

.form-alert {
  display: none;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 0.98rem;
  font-weight: 600;
}

.form-alert.success {
  background: #E3FCEF;
  color: #006644;
  border: 1.5px solid #ABF5D1;
  display: block;
}

.form-alert.error {
  background: var(--red-light);
  color: var(--red-primary);
  border: 1.5px solid rgba(212, 12, 12, 0.3);
  display: block;
}

/* ==========================================================================
   10. MOTTO QUOTE / CALL TO ACTION BANNER (SPOTLIGHT CARD - HEADER BUTTON GRADIENT)
   ========================================================================== */
.motto-banner-section {
  padding: 40px 0 70px;
  background-color: var(--bg-warm-white);
}

.motto-banner-card {
  width: 90%;
  max-width: 90%;
  margin: 0 auto;
  background: linear-gradient(135deg, #E61E1E 0%, #B80A0A 100%);
  border-radius: 40px;
  position: relative;
  overflow: hidden;
  padding: 85px 32px 90px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-top: 1.5px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 24px 60px rgba(184, 10, 10, 0.35), 0 10px 24px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.motto-spotlight-glow {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 220px;
  background: radial-gradient(ellipse 65% 60% at 50% 0%, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.15) 45%, transparent 75%);
  pointer-events: none;
  z-index: 1;
  filter: blur(8px);
}

.motto-banner-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.motto-card-title {
  font-family: var(--font-devanagari), var(--font-sans);
  font-size: 2.5rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.35;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
}

.motto-card-subtitle {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto 34px;
  font-weight: 400;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.motto-card-action {
  display: flex;
  justify-content: center;
}

.motto-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #FFFFFF;
  color: var(--red-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 34px;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  cursor: pointer;
}

.motto-cta-btn svg {
  stroke: var(--red-primary);
  transition: transform 0.25s ease, stroke 0.25s ease;
}

.motto-cta-btn:hover {
  transform: translateY(-3px) scale(1.02);
  background: #FFFFFF;
  color: var(--deep-blue-dark);
  box-shadow: 0 14px 36px rgba(255, 255, 255, 0.5), 0 6px 16px rgba(0, 0, 0, 0.18);
}

.motto-cta-btn:hover svg {
  stroke: var(--deep-blue-dark);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .motto-banner-card {
    width: 90%;
    max-width: 90%;
    border-radius: 28px;
    padding: 60px 22px 65px;
  }

  .motto-card-title {
    font-size: 1.85rem;
  }

  .motto-card-subtitle {
    font-size: 0.98rem;
    margin-bottom: 26px;
  }

  .motto-cta-btn {
    width: 100%;
    max-width: 280px;
    padding: 13px 26px;
  }
}

/* ==========================================================================
   11. MODERN FLOATING CARD FOOTER
   ========================================================================== */
.site-footer-wrapper {
  background-color: var(--bg-warm-white);
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}

.site-footer-wrapper .container {
  width: 90%;
  max-width: 90%;
  padding: 0;
}

.footer-giant-watermark {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-size: 14vw;
  font-weight: 800;
  color: rgba(18, 59, 115, 0.035);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -2px;
  z-index: 1;
}

.footer-card {
  background: #FFFFFF;
  border-radius: 28px;
  padding: 56px 64px 40px;
  box-shadow: 0 16px 48px rgba(18, 59, 115, 0.06);
  border: 1px solid rgba(18, 59, 115, 0.08);
  position: relative;
  z-index: 2;
  width: 100%;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr;
  gap: 48px;
  margin-bottom: 44px;
}

.footer-brand-pane {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.footer-brand-logo:hover {
  transform: scale(1.05);
}

.footer-brand-logo img {
  height: 76px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.06));
}

.footer-brand-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--deep-blue);
  font-weight: 700;
  line-height: 1.1;
}

.footer-bio-text {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 360px;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-light-grey);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-blue);
  transition: var(--transition);
  text-decoration: none;
}

.social-icon-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.social-icon-btn:hover {
  background: var(--red-primary);
  color: #ffffff;
  border-color: var(--red-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 12, 12, 0.35);
}

.social-icon-btn:hover svg {
  transform: scale(1.1);
}

.footer-nav-col h5 {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: 0.2px;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-list a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.footer-nav-list a:hover {
  color: var(--red-primary);
  padding-left: 4px;
}

/* Footer Contact Information Block */
.footer-contact-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.footer-contact-icon {
  color: var(--red-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-contact-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--deep-blue);
}

.footer-contact-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.footer-contact-link:hover {
  color: var(--red-primary);
}

.footer-card-divider {
  height: 1px;
  background: rgba(18, 59, 115, 0.08);
  margin-bottom: 28px;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-legal-links a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}

.footer-legal-links a:hover {
  color: var(--deep-blue);
}

/* Floating Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--deep-blue);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  background: var(--red-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-red);
}

/* ==========================================================================
   MODAL & TOASTS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 29, 61, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

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

.modal-container {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  padding: 44px;
  box-shadow: var(--shadow-xl);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--border-card);
}

.modal-close-btn {
  position: absolute;
  top: 22px;
  right: 22px;
  background: var(--bg-light-grey);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--red-primary);
  color: #ffffff;
}

/* Compact No-Scroll Single Screen Join Modal */
.modal-container.modal-join-wrap {
  max-width: 680px;
  width: 95%;
  padding: 26px 32px 24px;
  border-radius: 24px;
  overflow: hidden;
  max-height: 96vh;
}

.modal-header-compact {
  text-align: center;
  margin-bottom: 14px;
}

.modal-header-compact .section-tag-pill {
  padding: 3px 12px;
  font-size: 0.72rem;
  margin-bottom: 4px;
}

.modal-header-compact h3 {
  font-size: 1.5rem;
  margin: 4px 0 2px;
  color: #111827;
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.modal-header-compact p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.35;
}

.modal-join-form .form-group {
  margin-bottom: 8px;
}

.modal-join-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 8px;
}

.modal-join-form .form-label {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
  color: var(--text-dark);
}

.modal-join-form .form-control {
  padding: 7px 12px;
  font-size: 0.88rem;
  border-radius: 8px;
  height: 38px;
  line-height: 1.3;
}

.modal-join-form .btn-submit-modal {
  margin-top: 6px;
  padding: 10px 20px;
  font-size: 0.94rem;
  width: 100%;
}

.modal-join-form .form-alert {
  padding: 6px 12px;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .join-wrapper {
    grid-template-columns: 1fr;
  }

  .activities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile Menu Keyframes */
@keyframes menuSlideDown {
  from {
    opacity: 0;
    transform: translateY(-16px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes menuItemReveal {
  from {
    opacity: 0;
    transform: translateX(-14px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px 20px 28px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    display: none;
    border-bottom: 3px solid var(--red-primary);
    gap: 6px;
  }

  .nav-menu.open {
    display: flex;
    animation: menuSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .nav-menu.open li {
    width: 100%;
    opacity: 0;
    animation: menuItemReveal 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .nav-menu.open li:nth-child(1) {
    animation-delay: 0.04s;
  }

  .nav-menu.open li:nth-child(2) {
    animation-delay: 0.08s;
  }

  .nav-menu.open li:nth-child(3) {
    animation-delay: 0.12s;
  }

  .nav-menu.open li:nth-child(4) {
    animation-delay: 0.16s;
  }

  .nav-menu.open li:nth-child(5) {
    animation-delay: 0.20s;
  }

  .nav-menu.open li:nth-child(6) {
    animation-delay: 0.24s;
  }

  .nav-link {
    width: 100%;
    padding: 12px 18px;
    font-size: 1.05rem;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-actions .btn {
    display: none !important;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .section-header h2 {
    font-size: 2.1rem;
  }

  /* Vertical Timeline Layout on Mobile */
  .timeline-horizontal-wrapper {
    overflow-x: visible;
    padding: 20px 0 10px;
  }

  .timeline-horizontal-track {
    display: flex;
    flex-direction: column;
    height: auto;
    min-width: 0;
    width: 100%;
    padding: 10px 0 10px 38px;
    position: relative;
    gap: 26px;
  }

  .timeline-horizontal-baseline {
    top: 0;
    bottom: 0;
    left: 12px;
    width: 2.5px;
    height: 100%;
    transform: none;
    background: linear-gradient(180deg, #3B82F6 0%, #2563EB 50%, #1D4ED8 100%);
  }

  .timeline-h-node {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    align-items: flex-start;
    text-align: left;
    padding: 0;
    position: relative;
    cursor: default;
  }

  .h-slot-top,
  .h-slot-bottom {
    display: contents;
  }

  .h-connector-stem {
    display: none !important;
  }

  .h-bullet-wrap {
    position: absolute;
    left: -37px;
    top: 3px;
    width: 24px;
    height: 24px;
    z-index: 5;
  }

  .h-year-label {
    order: 1;
    font-size: 1.35rem;
    margin-bottom: 6px;
    line-height: 1.1;
  }

  .h-desc-box {
    order: 2;
    width: 100%;
    max-width: 100%;
    padding: 14px 16px;
    box-shadow: 0 4px 14px rgba(18, 59, 115, 0.08);
  }

  .h-desc-title {
    font-size: 0.98rem;
    margin-bottom: 4px;
  }

  .h-desc-text {
    max-height: none;
    opacity: 1;
    transform: none;
    margin-top: 6px;
    pointer-events: auto;
    display: block;
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--text-secondary);
  }

  .timeline-h-controls {
    display: none;
  }

  .activities-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid,
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-card {
    padding: 36px 24px 28px;
  }

  .modal-container {
    padding: 32px 20px;
  }

  .modal-container.modal-join-wrap {
    padding: 20px 18px;
    overflow-y: auto;
  }

  .modal-join-form .form-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .motto-title-mr {
    font-size: 1.7rem;
  }
}

/* Extra Small Mobile Devices (<= 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.15rem;
    line-height: 1.16;
  }

  .hero-desc {
    font-size: 1.02rem;
    line-height: 1.6;
  }

  .hero-cta-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    gap: 10px;
  }

  .hero-cta-group .btn {
    flex: 1 1 50%;
    width: auto;
    min-width: 0;
    padding: 11px 12px;
    font-size: 0.88rem;
    white-space: nowrap;
    justify-content: center;
    gap: 6px;
  }

  .hero-cta-group .btn svg {
    width: 15px;
    height: 15px;
  }

  .section-header h2 {
    font-size: 1.85rem;
    line-height: 1.25;
  }

  .section-header p {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .about-editorial-heading {
    font-size: 1.85rem;
    line-height: 1.25;
  }

  .about-pull-quote {
    font-size: 1.05rem;
    line-height: 1.55;
  }

  .principle-card {
    flex: 0 0 88vw;
    width: 88vw;
    min-width: 88vw;
  }

  .book-page-left.book-page-full-cover,
  .book-page-left.book-page-full-cover .book-page-img-wrap,
  .book-page-left.book-page-full-cover .book-page-img-wrap img {
    height: 230px;
    min-height: 230px;
    max-height: 230px;
  }

  .book-heading {
    font-size: 1.55rem;
  }

  .book-paragraph {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .book-folio-num-bottom {
    font-size: 1.85rem;
  }

  .motto-card-title {
    font-size: 1.45rem;
    line-height: 1.35;
  }

  .motto-card-subtitle {
    font-size: 0.92rem;
  }

  .footer-card {
    padding: 28px 18px 24px;
    border-radius: 20px;
  }

  .footer-giant-watermark {
    display: none;
  }

  .back-to-top-btn {
    bottom: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
  }
}

/* ==========================================================================
   12. ULTRA-PREMIUM SECTION & TEXT ANIMATIONS SYSTEM
   ========================================================================== */

/* --- Keyframe Animations --- */
@keyframes heroTitleFadeIn {
  0% {
    opacity: 0;
    transform: translateY(36px);
    filter: blur(5px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes heroDescFadeIn {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroCtaFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroBgZoom {
  0% {
    transform: scale(1.06);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes badgePopIn {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.86);
  }

  65% {
    opacity: 1;
    transform: translateY(-2px) scale(1.03);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes textRevealUp {
  0% {
    opacity: 0;
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
    transform: translateY(32px);
  }

  100% {
    opacity: 1;
    clip-path: polygon(0 0%, 100% 0%, 100% 100%, 0% 100%);
    transform: translateY(0);
  }
}

@keyframes textRevealMask {
  0% {
    opacity: 0;
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
    transform: translateY(100%);
  }

  100% {
    opacity: 1;
    clip-path: polygon(0 0%, 100% 0%, 100% 100%, 0% 100%);
    transform: translateY(0);
  }
}

@keyframes textRevealSlideIn {
  0% {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(4px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes textRevealFade {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes highlightShimmerGlow {

  0%,
  100% {
    text-shadow: 0 0 0 rgba(212, 12, 12, 0);
  }

  50% {
    text-shadow: 0 0 18px rgba(212, 12, 12, 0.42);
  }
}

@keyframes quoteBorderGrow {
  0% {
    border-left-color: transparent;
    transform: translateX(-14px);
    opacity: 0;
  }

  100% {
    border-left-color: var(--red-primary);
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes spotlightBreath {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 0.95;
    transform: scale(1.08);
  }
}

@keyframes pulseGlowRed {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(212, 12, 12, 0.4);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(212, 12, 12, 0);
  }
}

/* --- Hero Section Load Animations --- */
.hero-title,
.hero-desc,
.hero-cta-group {
  opacity: 0;
}

.hero-loaded .hero-banner-bg-img {
  animation: heroBgZoom 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-loaded .hero-title {
  animation: textRevealUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.12s forwards;
}

.hero-loaded .hero-desc {
  animation: heroDescFadeIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.32s forwards;
}

.hero-loaded .hero-cta-group {
  animation: heroCtaFadeIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.hero-loaded .hero-title .highlight-text {
  animation: textRevealSlideIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards, highlightShimmerGlow 3.5s ease-in-out infinite 1.1s;
}

/* --- Universal Scroll Reveal States --- */
.reveal-init {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-init.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Section Header Scroll Reveal & Text Animations */
.section-header {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-header.revealed {
  opacity: 1;
  transform: translateY(0);
}

.section-header.revealed .section-subtitle-badge {
  animation: badgePopIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.section-header.revealed h2 {
  animation: textRevealUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.08s forwards;
}

.section-header.revealed p {
  animation: textRevealFade 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.section-header.revealed .highlight-text {
  animation: textRevealSlideIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards, highlightShimmerGlow 3.5s ease-in-out infinite 1s;
}

/* About Section Editorial Reveal */
.about-editorial-left {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-editorial-left.revealed {
  opacity: 1;
  transform: translateY(0);
}

.about-editorial-left.revealed .about-editorial-heading {
  animation: textRevealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.about-editorial-left.revealed .about-quote-container {
  animation: quoteBorderGrow 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.18s forwards;
}

.about-editorial-left.revealed .about-attribution-line {
  animation: textRevealFade 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.32s forwards;
}

.about-editorial-left.revealed .about-narrative-body {
  animation: textRevealFade 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.44s forwards;
}

.about-editorial-left.revealed .highlight-text {
  animation: highlightShimmerGlow 3.5s ease-in-out infinite 0.9s;
}

.about-editorial-right {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-editorial-right.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.about-stat-accent-box {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.about-stat-accent-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(18, 59, 115, 0.18);
}

/* Timeline Horizontal Nodes Cascading Reveal */
.timeline-horizontal-container {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-horizontal-container.revealed {
  opacity: 1;
  transform: translateY(0);
}

.timeline-h-node {
  opacity: 0;
  transform: translateY(22px) scale(0.94);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-horizontal-container.revealed .timeline-h-node {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.timeline-h-node:hover .h-bullet-core {
  transform: scale(1.3);
  box-shadow: 0 0 12px rgba(212, 12, 12, 0.6);
}

/* Principle Cards Cascading Reveal */
.principle-carousel-wrap {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.principle-carousel-wrap.revealed {
  opacity: 1;
  transform: translateY(0);
}

.principle-card {
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.principle-carousel-wrap.revealed .principle-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.principle-card:hover {
  transform: translateY(-8px) scale(1.02);
}

/* Activities Book Stage Reveal */
.book-stage {
  opacity: 0;
  transform: translateY(32px) scale(0.97);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.book-stage.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Photo Gallery Cards Cascading Reveal */
.gallery-grid {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-grid.revealed {
  opacity: 1;
  transform: translateY(0);
}

.gallery-card {
  opacity: 0;
  transform: translateY(24px) scale(0.95);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.gallery-grid.revealed .gallery-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.gallery-card:hover {
  transform: translateY(-6px) scale(1.02);
}

/* Upcoming Programmes / Event Cards Cascading Reveal */
.events-grid {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.events-grid.revealed {
  opacity: 1;
  transform: translateY(0);
}

.event-card {
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.events-grid.revealed .event-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.event-card:hover {
  transform: translateY(-8px) scale(1.015);
}

/* Motto Banner Section Reveal & Spotlight Breathing */
.motto-banner-card {
  opacity: 0;
  transform: translateY(32px) scale(0.97);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.motto-banner-card.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.motto-banner-card.revealed .motto-spotlight-glow {
  animation: spotlightBreath 4.5s ease-in-out infinite;
}

.motto-banner-card.revealed .motto-card-title {
  animation: textRevealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.motto-banner-card.revealed .motto-card-subtitle {
  animation: textRevealFade 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
}

.motto-banner-card.revealed .motto-card-action {
  animation: heroCtaFadeIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

/* Footer Card Lift Reveal */
.footer-card {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Status dot pulse micro-animation */
.status-pulse-dot.red {
  animation: pulseGlowRed 2s infinite ease-in-out;
}

/* ==========================================================
   11. THANK YOU & CONFIRMATION PAGE STYLING
   ========================================================== */
.thank-you-body {
  background-color: var(--bg-cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.thank-you-main {
  flex: 1;
  padding: 140px 0 80px 0;
  display: flex;
  align-items: center;
}

.thank-you-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.thank-you-badge-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto 24px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thank-you-pulse-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: rgba(212, 12, 12, 0.15);
  animation: pulseRing 2.2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

.thank-you-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(212, 12, 12, 0.4);
  position: relative;
  z-index: 2;
}

@keyframes pulseRing {
  0% { transform: scale(0.85); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 0.2; }
  100% { transform: scale(0.85); opacity: 0.8; }
}

.thank-you-title {
  font-family: var(--font-display);
  font-size: 2.75rem;
  line-height: 1.15;
  color: var(--text-primary);
  margin: 16px 0 16px 0;
}

.thank-you-subtitle {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 28px auto;
}

.thank-you-reg-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(212, 12, 12, 0.06);
  border: 1px dashed rgba(212, 12, 12, 0.3);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 40px;
}

.thank-you-reg-box .reg-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.thank-you-reg-box .reg-number {
  font-size: 1.05rem;
  color: var(--brand-red);
  letter-spacing: 0.5px;
}

/* Next Steps Roadmap */
.next-steps-container {
  margin: 40px 0;
  text-align: left;
}

.next-steps-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 28px;
}

.next-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.next-step-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.next-step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.next-step-card .step-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-red);
  margin-bottom: 10px;
  display: inline-block;
  background: rgba(212, 12, 12, 0.08);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
}

.next-step-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.next-step-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Thank You Social Section */
.thank-you-social-section {
  background: rgba(24, 23, 22, 0.03);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin: 36px 0;
}

.thank-you-social-section h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.thank-you-social-section p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.thank-you-social-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-social-fb,
.btn-social-insta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  color: #ffffff;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-social-fb {
  background: #1877F2;
}

.btn-social-fb:hover {
  background: #0d65d9;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(24, 119, 242, 0.35);
  color: #ffffff;
}

.btn-social-insta {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.btn-social-insta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(220, 39, 67, 0.35);
  color: #ffffff;
}

.thank-you-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* ==========================================================
   12. POLICY PAGES STYLING (Privacy, Terms, Refund)
   ========================================================== */
.policy-page-body {
  background-color: var(--bg-cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.policy-page-main {
  flex: 1;
  padding: 130px 0 80px 0;
}

.policy-article-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.policy-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 28px;
  margin-bottom: 36px;
}

.policy-title {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--text-primary);
  margin: 12px 0 8px 0;
}

.policy-meta {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

.policy-body-content {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
}

.policy-section {
  margin-bottom: 32px;
}

.policy-section h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--text-primary);
  margin: 28px 0 12px 0;
}

.policy-section p {
  margin-bottom: 14px;
}

.policy-section ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.policy-section li {
  margin-bottom: 8px;
}

.policy-contact-box {
  background: rgba(212, 12, 12, 0.05);
  border-left: 4px solid var(--brand-red);
  padding: 18px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: 14px;
  font-size: 0.98rem;
  line-height: 1.6;
}

.compact-footer {
  margin-top: auto;
  background: var(--bg-dark);
  padding: 30px 0;
}

.compact-footer .footer-bottom-bar {
  border-top: none;
  padding-top: 0;
}

/* ==========================================================
   13. FORM RECAPTCHA & RESPONSIVE VALIDATION TWEAKS
   ========================================================== */
.form-captcha-row {
  margin-bottom: 18px;
  display: flex;
  justify-content: flex-start;
}

.g-recaptcha {
  transform-origin: 0 0;
}

@media (max-width: 480px) {
  .g-recaptcha {
    transform: scale(0.85);
  }
}

@media (max-width: 360px) {
  .g-recaptcha {
    transform: scale(0.77);
  }
}

/* Responsive Tweaks across devices */
@media (max-width: 900px) {
  .next-steps-grid {
    grid-template-columns: 1fr;
  }
  
  .thank-you-card,
  .policy-article-card {
    padding: 40px 24px;
  }
  
  .thank-you-title {
    font-size: 2.1rem;
  }
  
  .policy-title {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .thank-you-main,
  .policy-page-main {
    padding-top: 100px;
    padding-bottom: 50px;
  }

  .thank-you-card,
  .policy-article-card {
    padding: 32px 18px;
    border-radius: var(--radius-lg);
  }

  .thank-you-title {
    font-size: 1.8rem;
  }

  .thank-you-subtitle {
    font-size: 1rem;
  }

  .thank-you-actions {
    flex-direction: column;
    width: 100%;
  }

  .thank-you-actions .btn {
    width: 100%;
  }
}

/* --- Reduced Motion Accessibility Override --- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-title,
  .hero-desc,
  .hero-cta-group,
  .section-header,
  .about-editorial-left,
  .about-editorial-right,
  .timeline-horizontal-container,
  .timeline-h-node,
  .principle-carousel-wrap,
  .principle-card,
  .book-stage,
  .gallery-grid,
  .gallery-card,
  .events-grid,
  .event-card,
  .motto-banner-card,
  .footer-card {
    opacity: 1 !important;
    transform: none !important;
  }
}