/* ============================================================
   Centennial Leo Club of Richmond College – Main Stylesheet
   Color Palette:
     Primary Dark Navy  : #0a1628
     Mid Navy           : #0d1f3c
     Accent Cyan        : #00bcd4
     Accent Gold/Maroon : #8b1a1a → used for highlights
     Light Text         : #e8eaf6
     Muted Text         : #90a4ae
     Card BG            : #112240
     Border             : #1e3a5f
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@600;700&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { 
  scroll-behavior: smooth; 
  overflow-x: hidden; 
  max-width: 100vw; 
  scrollbar-gutter: stable;
}
body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(160deg, #080f1e 0%, #0d1428 25%, #120d1e 50%, #0a1628 75%, #080f1e 100%);
  background-attachment: fixed;
  color: #e8eaf6;
  line-height: 1.7;
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ════════════════════════════════════════
   MODERN REVEAL ANIMATIONS
   ════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform, opacity;
}
.reveal-up {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.visible, .reveal-up.visible, .reveal-left.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Staggered Reveal Delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Pulse Glow for key CTAs */
.pulse-cyan {
  animation: pulseCyan 3s infinite;
}
@keyframes pulseCyan {
  0% { box-shadow: 0 0 0 0 rgba(0, 188, 212, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(0, 188, 212, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 188, 212, 0); }
}

/* Glassmorphism Refinement */
.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-up, .reveal-left {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ── CSS Variables ── */
:root {
  --navy-deep:   #0a1628;
  --navy-mid:    #0d1f3c;
  --navy-card:   #112240;
  --navy-border: #1e3a5f;
  --cyan:        #00bcd4;
  --cyan-light:  #4dd0e1;
  --cyan-glow:   rgba(0,188,212,0.15);
  --maroon:      #8b1a1a;
  --maroon-light:#c62828;
  --gold:        #e53935;
  --gold-light:  #ff6b6b;
  --white:       #ffffff;
  --text-main:   #e8eaf6;
  --text-muted:  #90a4ae;
  --border:      #1e3a5f;
  --radius:      12px;
  --shadow:      0 8px 32px rgba(0,0,0,0.4);
  --transition:  0.3s ease;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--navy-deep); }
::-webkit-scrollbar-thumb { 
  background: linear-gradient(var(--cyan), var(--maroon)); 
  border-radius: 10px; 
  border: 2px solid var(--navy-deep);
}
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }

/* ── Preloader ── */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--navy-deep);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s;
}
.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader .spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--navy-border);
  border-top-color: var(--cyan);
  border-right-color: var(--maroon);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* ════════════════════════════════════════
   NEWS TICKER
════════════════════════════════════════ */
.news-ticker-bar {
  position: fixed;
  top: 98px;
  left: 20px;
  right: 20px;
  z-index: 998;
  height: 28px;
  background: rgba(10, 22, 40, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 188, 212, 0.3);
  border-radius: 50px;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4), 
              0 0 10px rgba(0, 188, 212, 0.15);
  transition: all 0.3s ease;
}

.news-ticker-bar:hover {
  border-color: rgba(0, 188, 212, 0.6);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 
              0 0 15px rgba(0, 188, 212, 0.25);
}

.ticker-label {
  flex-shrink: 0;
  padding: 0 1rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
  height: 100%;
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(0, 188, 212, 0.3);
  white-space: nowrap;
  position: relative;
}

.ticker-label::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--cyan);
  opacity: 0.5;
}

.ticker-track {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.ticker-inner {
  display: flex;
  animation: tickerScroll 40s linear infinite;
  white-space: nowrap;
}

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

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.85);
  padding: 0 2rem;
  font-weight: 500;
}

.ticker-item .ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.ticker-item a {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 600;
}

/* Push hero down to account for floating ticker */
body .hero {
  padding-top: 130px !important;
}

@media (max-width: 640px) {
  .news-ticker-bar {
    top: 94px;
    left: 5px;
    right: 5px;
    height: auto;
    min-height: 24px;
    flex-direction: column;
    border-radius: 12px;
  }
  .ticker-label { 
    width: 100%;
    font-size: 0.5rem; 
    padding: 0.2rem 0.6rem;
    justify-content: center;
    border-right: none;
    border-bottom: 1px solid rgba(0, 188, 212, 0.2);
  }
  .ticker-item { font-size: 0.62rem; padding: 0.3rem 1rem; }
  body .hero { padding-top: 154px !important; }
}

/* ════════════════════════════════════════
   NAVBAR
════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(90deg, #0a1628 0%, #1a0a0a 100%);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--maroon);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), inset 0 -1px 1px rgba(0, 188, 212, 0.15);
}
.navbar.scrolled {
  padding: 0.75rem 5%;
  background: linear-gradient(90deg, #08101e 0%, #140808 100%);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.8);
  border-bottom-color: var(--cyan);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cyan);
  box-shadow: 0 0 12px var(--cyan-glow);
}
.nav-title {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav-title .name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: 0.5px;
}
.nav-title .sub {
  font-size: 0.95rem;
  color: var(--cyan);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.5rem 1.15rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition);
  position: relative;
}
.nav-links a:hover {
  color: var(--white);
  background: rgba(0, 188, 212, 0.08);
  transform: translateY(-1px);
}
.nav-links a.active {
  color: var(--cyan);
  background: rgba(0, 188, 212, 0.12);
  box-shadow: inset 0 0 10px rgba(0, 188, 212, 0.05);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: background var(--transition);
}
.nav-toggle:hover { background: var(--cyan-glow); }
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── Mobile Nav ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: linear-gradient(180deg, rgba(8, 15, 30, 0.98) 0%, rgba(13, 24, 48, 0.98) 100%);
  border-bottom: 2px solid var(--cyan);
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  backdrop-filter: blur(20px);
  padding: 1rem 2rem;
  z-index: 999;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}
.mobile-menu a:hover, .mobile-menu a.active {
  color: var(--cyan);
  background: rgba(0,188,212,0.08);
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  position: relative;
  overflow: hidden;
  padding: 100px 2rem 60px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(139, 26, 26, 0.1) 0%, transparent 40%),
              radial-gradient(circle at 80% 70%, rgba(0, 188, 212, 0.1) 0%, transparent 40%);
  z-index: -2;
}

#tsparticles {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -3; /* Behind even the hero radial glows */
  background: #050510;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  align-items: center;
  gap: 3rem;
  width: 100%;
  max-width: 1400px;
  position: relative;
  z-index: 1;
  padding: 0 2rem;
}
.hero-text-content { text-align: left; }

/* Animated Circle Logo */
.hero-logo-wrap {
  display: inline-block;
  position: relative;
  width: 220px;
  height: 220px;
  padding: 8px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(0, 243, 255, 0.2), transparent);
  box-shadow: 0 0 40px rgba(0, 243, 255, 0.25);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-logo-wrap:hover {
  transform: scale(1.05);
  box-shadow: 0 0 60px rgba(0, 243, 255, 0.4);
}

.hero-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, var(--cyan), transparent 30%, var(--maroon-light), transparent 70%);
  animation: logoSpin 4s linear infinite;
  z-index: -1;
  filter: blur(5px);
}

@keyframes logoSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(5, 5, 20, 0.8);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
  display: block;
}

.hero-visual { position: relative; width: 100%; display: flex; justify-content: flex-end; align-items: center; }
.hero-group-frame {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid rgba(0, 243, 255, 0.5); /* Matching neon border */
  box-shadow: 
    0 24px 60px rgba(0,0,0,0.6), 
    0 0 30px rgba(0,188,212,0.3); /* Soft cyan glow */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent),
              linear-gradient(to bottom, transparent, black 2%, black 98%, transparent);
  mask-composite: intersect;
}
.hero-group-frame:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 
    0 32px 70px rgba(0,0,0,0.65), 
    0 0 60px rgba(0,188,212,0.4);
}
.hero-img-main {
  width: 100%;
  max-height: none;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.hero-group-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-group-caption span:first-child {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.hero-group-caption span:last-child {
  font-size: 0.82rem;
  color: var(--cyan);
  font-weight: 500;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; padding: 0 1.5rem; }
  .hero-text-content { text-align: center; }
  .hero-mobile-center { justify-content: center !important; flex-wrap: wrap; }
  .hero-mobile-align { text-align: center !important; }
  .hero-visual { justify-content: center; margin-top: 2rem; }
  .hero-group-caption { display: none !important; }
  .mobile-motto { display: inline; }
  .desktop-motto { display: none; }
}
.mobile-motto { display: none; }
.desktop-motto { display: inline; }

.hero-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(0,188,212,0.12);
  border: 1px solid rgba(0,188,212,0.3);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.hero h1 span { color: var(--cyan); }
.hero-sub {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.hero-motto {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 2.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, #8b1a1a, #b52020, #00bcd4);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(139,26,26,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(139,26,26,0.55);
  background: linear-gradient(135deg, #a82222, #c92525, #00bcd4);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 50px;
  border: 2px solid var(--cyan);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-outline:hover {
  background: var(--cyan-glow);
  transform: translateY(-2px);
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ════════════════════════════════════════
   STATS BAR
════════════════════════════════════════ */
.stats-bar {
  background: linear-gradient(90deg, rgba(17,10,10,0.8) 0%, rgba(26,13,13,0.8) 20%, rgba(13,24,48,0.8) 50%, rgba(13,10,18,0.8) 80%, rgba(17,10,10,0.8) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem;
  backdrop-filter: blur(5px);
}
.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.stat-item .number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--cyan);
  display: block;
  line-height: 1;
}
.stat-item .label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 0.3rem;
}

/* ════════════════════════════════════════
   SECTIONS – GENERAL
════════════════════════════════════════ */
.section { padding: 5rem 2rem; background: transparent; }
.section-alt { background: linear-gradient(160deg, rgba(14,12,26,0.7) 0%, rgba(20,13,14,0.7) 25%, rgba(13,24,48,0.7) 55%, rgba(18,10,16,0.7) 80%, rgba(14,12,26,0.7) 100%); backdrop-filter: blur(2px); }
.container { max-width: 1100px; margin: 0 auto; position: relative; z-index: 10; }
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-left: 3px solid var(--cyan);
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.section-title span { color: var(--cyan); }
.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  line-height: 1.8;
}
.section-head { margin-bottom: 3rem; }

/* ════════════════════════════════════════
   CARDS
════════════════════════════════════════ */
.card {
  background: linear-gradient(145deg, #1a0f0f 0%, #110d1e 40%, #0e1c36 80%, #0c1c36 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--transition);
}
.card:hover {
  border-color: rgba(139,26,26,0.4);
  transform: translateY(-4px);
  background: linear-gradient(145deg, #220f0f 0%, #1a0d18 40%, #0e1c36 80%, #0e2240 100%);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 0 0 1px rgba(139,26,26,0.18);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan-glow), transparent);
  border: 1px solid rgba(0,188,212,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}
.card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

/* grid helpers */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

/* ════════════════════════════════════════
   PAGE HEADER (inner pages)
════════════════════════════════════════ */
.page-header {
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  padding: 6rem 2rem 3rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(0,188,212,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(139,26,26,0.25) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 100% 0%, rgba(139,26,26,0.15) 0%, transparent 50%),
    linear-gradient(150deg, #06090f 0%, #0e0d0d 25%, #160a0a 50%, #0a1428 80%, #06090f 100%);
  border-bottom: 1px solid var(--border);
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
}
.page-header h1 span { color: var(--cyan); }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.breadcrumb a { color: var(--cyan); transition: opacity var(--transition); }
.breadcrumb a:hover { opacity: 0.8; }
.breadcrumb span { opacity: 0.5; }

/* ════════════════════════════════════════
   PROJECT CARDS
════════════════════════════════════════ */
.project-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, #1a0f0f 0%, #110d1e 40%, #0e1c36 80%, #0b1c36 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.project-card:hover {
  border-color: rgba(139,26,26,0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(139,26,26,0.15), 0 0 0 1px rgba(139,26,26,0.15);
}
.project-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: var(--navy-mid);
}
.project-card-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #0d2040 0%, #112a4a 50%, #0e243c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.project-card-body { padding: 1.5rem; flex: 1; min-height: 140px; }
.project-img-gallery {
  position: relative;
  width: 100%;
  height: 200px;
  background: var(--navy-mid);
  overflow: hidden;
}
.auto-swap-gallery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}
.auto-swap-gallery img.active {
  opacity: 1;
}
.text-truncate {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.see-more-btn {
  background: transparent;
  border: none;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-top: 0.3rem;
  letter-spacing: 0.5px;
}
.see-more-btn:hover { color: var(--cyan-light); text-decoration: underline; }
.project-card-body .tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: capitalize;
  color: var(--cyan);
  margin-bottom: 0.5rem;
  display: block;
}
.project-card-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.project-card-body p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; }
.project-card-footer {
  padding: 1rem 1.5rem;
  background: linear-gradient(90deg, rgba(0,0,0,0.15), transparent);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ════════════════════════════════════════
   NEWSLETTER FORM
════════════════════════════════════════ */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 560px;
}
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #0d1e38 0%, #0f2444 100%);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-main);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,188,212,0.12);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select option { background: var(--navy-mid); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ════════════════════════════════════════
   EXECUTIVE CARDS
════════════════════════════════════════ */
.exec-card {
  background: linear-gradient(145deg, #1a0f0f 0%, #110d1e 40%, #0e1c36 80%, #0b1c36 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.exec-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--maroon), var(--cyan));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.exec-card:hover::before { transform: scaleX(1); }
.exec-card:hover {
  border-color: rgba(0,188,212,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.exec-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d2040, #0a1628, #0d1e38);
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.2rem;
  font-weight: 700;
  color: var(--cyan);
  font-family: 'Playfair Display', serif;
  transition: border-color var(--transition);
}
.exec-card:hover .exec-avatar { border-color: var(--cyan); }
.exec-card .role {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.4rem;
}
.exec-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.exec-card p { font-size: 0.82rem; color: var(--text-muted); }

/* ════════════════════════════════════════
   CONTACT
════════════════════════════════════════ */
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0,188,212,0.1);
  border: 1px solid rgba(0,188,212,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-text .title {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.contact-info-text .value {
  font-size: 0.92rem;
  color: var(--white);
  font-weight: 500;
}
.contact-info-text .value a { color: var(--cyan); }

/* ════════════════════════════════════════
   AFFILIATED BODIES
════════════════════════════════════════ */
.bodies-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.body-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 320px;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.body-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* Background image layer */
.body-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #162a45;
  transition: transform 0.5s ease;
}
.body-card:hover .body-card-bg {
  transform: scale(1.04);
}

/* Dark gradient overlay */
.body-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
    rgba(10, 15, 28, 0.92) 0%,
    rgba(10, 15, 28, 0.78) 40%,
    rgba(10, 15, 28, 0.65) 100%);
  transition: background 0.4s ease;
}
.body-card:hover .body-card-overlay {
  background: linear-gradient(160deg,
    rgba(10, 15, 28, 0.88) 0%,
    rgba(10, 15, 28, 0.68) 40%,
    rgba(10, 15, 28, 0.55) 100%);
}

/* Content layer */
.body-card-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.body-card-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.body-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.body-card-desc {
  font-size: 0.88rem;
  color: rgba(232, 234, 246, 0.75);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.4s ease;
  margin-top: 0;
}

/* Show description on hover (desktop) */
.body-card:hover .body-card-desc,
.body-card.expanded .body-card-desc {
  max-height: 300px;
  opacity: 1;
  margin-top: 0.25rem;
}

/* Logo badge */
.body-card-logo {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(10, 15, 28, 0.85);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: transform 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.body-card:hover .body-card-logo {
  transform: scale(1.08);
  border-color: rgba(0,188,212,0.4);
}
.body-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}
/* Placeholder icon when no logo */
.body-card-logo-placeholder {
  font-size: 1.5rem;
  color: var(--cyan);
}

/* Responsive */
@media (max-width: 768px) {
  .bodies-grid { grid-template-columns: 1fr; }
  .body-card { min-height: 260px; }
  .body-card-desc { max-height: none; opacity: 1; margin-top: 0.25rem; }
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
footer {
  background: linear-gradient(160deg, #0a0608 0%, #160909 30%, #0d0816 55%, #091020 80%, #0a0608 100%);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-col {
  justify-self: start;
  text-align: left;
}
.footer-brand { max-width: 280px; }
.footer-brand .brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}
.footer-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cyan);
}
.footer-brand .brand-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--white);
}
.footer-brand .motto {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
}
.footer-brand p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.footer-social { display: flex; gap: 0.6rem; justify-content: flex-start; }
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(0,188,212,0.08);
  border: 1px solid rgba(0,188,212,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
}
.social-btn:hover { background: var(--cyan); color: var(--navy-deep); }
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--cyan); }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.6rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: left;
}
.footer-bottom .district {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  color: var(--cyan);
  font-weight: 600;
}

/* ════════════════════════════════════════
   BADGE / TAG
════════════════════════════════════════ */
.badge {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.badge-cyan { background: rgba(0,188,212,0.12); color: var(--cyan); border: 1px solid rgba(0,188,212,0.25); }
.badge-gold { background: rgba(244,197,66,0.12); color: var(--gold); border: 1px solid rgba(244,197,66,0.25); }
.badge-maroon { background: rgba(139,26,26,0.15); color: #ef9a9a; border: 1px solid rgba(139,26,26,0.3); }

/* ════════════════════════════════════════
   DIVIDER
════════════════════════════════════════ */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 3rem 0;
}

/* ════════════════════════════════════════
   SCROLL TO TOP
════════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 16px rgba(0,188,212,0.4);
  transition: all var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 800;
}
.scroll-top.show { opacity: 1; pointer-events: all; }
.scroll-top:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,188,212,0.5); }

/* ════════════════════════════════════════
   TIMELINE
════════════════════════════════════════ */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
}
.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.45rem;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  border: 2px solid var(--navy-deep);
  box-shadow: 0 0 0 3px rgba(0,188,212,0.2);
}
.timeline-date {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cyan);
  margin-bottom: 0.3rem;
}
.timeline-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.timeline-item p { font-size: 0.85rem; color: var(--text-muted); }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero-logo-main { width: 120px; height: 120px; }
  .navbar { padding: 0 1rem; }
  .hero { min-height: auto; padding: 110px 1.25rem 50px; }
  .container { padding: 0 1.25rem; }
}
@media (max-width: 540px) {
  .footer-brand { max-width: 100%; }
  .hero h1 { font-size: 2.25rem; }
  .page-header { padding: 4rem 1rem 2rem; min-height: 220px; }
  .hero-grid { padding: 0 0.5rem; gap: 1.5rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* glow pulse animation */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0,188,212,0.2); }
  50% { box-shadow: 0 0 40px rgba(0,188,212,0.5); }
}
.glow-pulse { animation: glow-pulse 3s ease-in-out infinite; }

/* fade in on scroll */
.fade-in { 
  opacity: 0; 
  transform: translateY(40px) scale(0.96); 
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); 
  will-change: transform, opacity;
}
.fade-in.visible { 
  opacity: 1; 
  transform: translateY(0) scale(1); 
}

/* Stagger Hooks (Up to 12 items) */
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.4s; }
.fade-in:nth-child(6) { transition-delay: 0.5s; }
.fade-in:nth-child(7) { transition-delay: 0.6s; }

/* Premium Card Lifts */
.card, .project-card, .exec-mini, .stat-item, .newsletter-card, .social-link-card, .gen-item {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  will-change: transform;
}
.card:hover, .project-card:hover, .exec-mini:hover, .stat-item:hover, .newsletter-card:hover, .social-link-card:hover, .gen-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 45px rgba(0, 188, 212, 0.2);
  z-index: 5;
}

/* Button Micro-interactions */
.btn-primary, .btn-outline {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px var(--cyan-glow);
}
.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

/* ════════════════════════════════════════
   ABOUT MEGA SECTION (3-Column Layout)
   ════════════════════════════════════════ */
.about-mega-section { padding: 6rem 2rem; background: transparent; position: relative; }
.about-mega-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.6fr 1.3fr;
  gap: 4rem;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}
.about-logo-wrap { display: flex; justify-content: flex-start; }
.about-logo-img {
  width: 100%;
  max-width: 260px;
  mix-blend-mode: multiply;
  opacity: 0.95;
  border: 1.5px solid rgba(0, 243, 255, 0.5); /* Cyan neon border */
  border-radius: 12px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.02);
  filter: 
    drop-shadow(0 0 15px rgba(0, 243, 255, 0.4));  /* External glow */
  animation: logoFadeIn 1.5s ease-out forwards;
}

.about-center-content { text-align: left; }
.about-cards-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.about-cards-subgrid .card {
  padding: 1.5rem 1rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.about-cards-subgrid .card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.05); }
.about-cards-subgrid .card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.about-cards-subgrid .card p { font-size: 0.88rem; line-height: 1.5; opacity: 0.75; }
.about-cards-subgrid .card-icon { font-size: 1.8rem; margin-bottom: 0.75rem; }

.mission-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 700;
  animation: letterSpacingIn 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.mission-title span { color: var(--cyan); display: block; margin-top: 0.5rem; }

@keyframes letterSpacingIn {
  from { letter-spacing: -0.5rem; opacity: 0; filter: blur(8px); transform: translateX(-20px); }
  to { letter-spacing: normal; opacity: 1; filter: blur(0); transform: translateX(0); }
}

@keyframes logoFadeIn {
  from { opacity: 0; transform: scale(0.9) translateX(-30px); }
  to { opacity: 0.95; transform: scale(1) translateX(0); }
}

.mission-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.12);
  margin: 1.5rem 0;
}
.mission-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 1200px) {
  .about-mega-grid { grid-template-columns: 1fr; gap: 4rem; text-align: center; max-width: 800px; }
  .about-logo-wrap { justify-content: center; }
  .about-center-content { text-align: center; }
  .about-cards-subgrid { margin: 0 auto; max-width: 600px; }
  .mission-divider { margin: 1.5rem auto; max-width: 80%; }
}

/* ════════════════════════════════════════
   LEO AGE GROUPS SECTION
   ════════════════════════════════════════ */
.leo-age-groups {
  padding: 6rem 2rem;
  text-align: center;
  background: transparent;
  position: relative;
}

.age-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.age-icon-main {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #0d2040, #0a1628);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  box-shadow: 0 0 30px rgba(255, 193, 7, 0.2);
  border: 2px solid rgba(255, 193, 7, 0.4);
  animation: glow-pulse-gold 3s ease-in-out infinite;
}

@keyframes glow-pulse-gold {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 193, 7, 0.15); border-color: rgba(255, 193, 7, 0.3); }
  50% { box-shadow: 0 0 45px rgba(255, 193, 7, 0.4); border-color: rgba(255, 193, 7, 0.6); }
}

.age-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #ffc107; /* Gold accent */
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.age-subtitle {
  font-size: 1.15rem;
  color: var(--text-main);
  opacity: 0.9;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.age-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 450px));
  gap: 2.5rem;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.age-card {
  background: rgba(10, 22, 40, 0.6);
  border: 1.5px solid rgba(255, 193, 7, 0.25);
  border-radius: 20px;
  padding: 3rem 2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(10px);
}

.age-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 193, 7, 0.6);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 25px rgba(255, 193, 7, 0.15);
  background: rgba(15, 30, 55, 0.8);
}

.age-card-icon {
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
  display: block;
}

.age-card h3 {
  font-size: 1.6rem;
  color: #ffc107;
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.age-card p {
  font-size: 1.1rem;
  color: var(--text-main);
  line-height: 1.6;
}

.age-card p strong {
  display: block;
  font-size: 1.3rem;
  margin: 0.5rem 0;
  color: var(--white);
}

.age-footer-text {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.85;
}

.age-footer-text p {
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .age-grid { grid-template-columns: 1fr; max-width: 450px; margin-left: auto; margin-right: auto; }
  .age-card { padding: 2.5rem 1.5rem; }
  .age-title { font-size: 1.7rem; }
}

/* ════════════════════════════════════════
   DESIGN CREDIT BADGE — Infinite Design
   DO NOT REMOVE · Protected Element
════════════════════════════════════════ */
#infinite-design-credit {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 9999;
  display: flex !important;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem 0.4rem 0.6rem;
  background: linear-gradient(135deg, rgba(10,22,40,0.92) 0%, rgba(13,32,64,0.92) 100%);
  border: 1px solid rgba(0,188,212,0.3);
  border-radius: 50px;
  backdrop-filter: blur(12px);
  text-decoration: none !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(144,164,174,0.85) !important;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
  user-select: none;
  pointer-events: all !important;
  visibility: visible !important;
  opacity: 1 !important;
}
#infinite-design-credit:hover {
  color: #fff !important;
  border-color: rgba(0,188,212,0.6);
  background: linear-gradient(135deg, rgba(13,32,64,0.97) 0%, rgba(15,36,72,0.97) 100%);
  box-shadow: 0 4px 20px rgba(0,188,212,0.2);
  transform: translateY(-1px);
  text-decoration: none !important;
}
#infinite-design-credit .idcredit-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00bcd4, #0097a7);
  flex-shrink: 0;
  animation: credit-pulse 2.5s ease-in-out infinite;
}
@keyframes credit-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,188,212,0.5); }
  50%       { box-shadow: 0 0 0 4px rgba(0,188,212,0); }
}
#infinite-design-credit .idcredit-label { opacity: 0.6; font-weight: 400; }
#infinite-design-credit .idcredit-name  { color: #00bcd4 !important; font-weight: 700; letter-spacing: 0.5px; }

/* design credit footer line */
.footer-design-credit {
  max-width: 1100px;
  margin: 0.75rem auto 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(30,58,95,0.5);
  text-align: center;
  font-size: 0.72rem;
  color: rgba(144,164,174,0.5);
}
.footer-design-credit a {
  color: rgba(0,188,212,0.6) !important;
  font-weight: 600;
  transition: color 0.2s ease;
}
.footer-design-credit a:hover { color: #00bcd4 !important; }

/* ════════════════════════════════════════
   NEWSLETTER LIBRARY (3D BOOKS)
════════════════════════════════════════ */
.container-narrow { max-width: 900px; }
.newsletter-library {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 5rem 3rem;
  margin-top: 4rem;
  perspective: 1500px;
}

.book-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.book-wrap {
  position: relative;
  width: 180px;
  height: 260px;
  cursor: pointer;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-style: preserve-3d;
  box-shadow: 10px 10px 20px rgba(0,0,0,0.5);
  margin-bottom: 2rem;
}

.book-wrap:hover {
  transform: rotateY(-25deg) translateX(-10px);
  box-shadow: 20px 20px 40px rgba(0,0,0,0.6);
}

.book-cover, .book-spine, .book-back {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 2px 5px 5px 2px;
}

.book-cover {
  z-index: 2;
  background: #1a1a2e;
  transform: translateZ(15px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.book-spine {
  width: 30px;
  background: #121226;
  transform: rotateY(-90deg) translateZ(15px);
  left: 0;
  z-index: 1;
  border-left: 2px solid rgba(255,255,255,0.05);
  box-shadow: inset -5px 0 10px rgba(0,0,0,0.5);
}

.book-back {
  background: #0f0f1d;
  transform: translateZ(-15px);
  z-index: 0;
}

/* Auto-Generated Cover Styles */
.auto-cover {
  width: 100%; height: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(145deg, #162447, #1f4068);
  position: relative;
}
.auto-cover::after {
  content: '';
  position: absolute;
  left: 5px; top: 0; bottom: 0; width: 2px;
  background: rgba(255,255,255,0.1);
  box-shadow: 2px 0 5px rgba(0,0,0,0.3);
}
.auto-cover .club-tag { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); }
.auto-cover .book-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: #fff; line-height: 1.3; margin: 1rem 0; }
.auto-cover .book-date { font-size: 0.75rem; color: var(--cyan); font-weight: 600; }
.auto-cover .leo-logo-min { width: 40px; opacity: 0.8; margin-top: 1rem; }

.book-info h3 { font-size: 1.05rem; color: var(--white); margin-bottom: 0.5rem; }
.book-info p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 1.2rem; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ════════════════════════════════════════
   FLIPBOOK MODAL
════════════════════════════════════════ */
.fb-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 10, 0.95);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 2rem;
}
.fb-modal.show { opacity: 1; pointer-events: all; }

.fb-modal-content {
  width: 100%;
  max-width: 1200px;
  height: 90vh;
  position: relative;
  background: #000;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 40px 100px rgba(0,0,0,0.8);
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}
.fb-modal.show .fb-modal-content { transform: translateY(0); }

.fb-close {
  position: absolute;
  top: 1rem; right: 1.5rem;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.fb-close:hover { background: var(--maroon); }

.fb-iframe-wrap { width: 100%; height: 100%; }
.fb-iframe-wrap iframe { width: 100%; height: 100%; }

/* ══ EXECUTIVE FOOTER IMAGE ══ */
.exec-footer-image {
  margin: 6rem 0 4rem;
  position: relative;
}
.exec-footer-image img {
  display: block;
  margin: 0 auto;
  border-radius: 20px;
  border: 1px solid rgba(0, 188, 212, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 
              0 0 20px rgba(0, 188, 212, 0.1);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
              box-shadow 0.5s ease;
  cursor: pointer;
}
.exec-footer-image img:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 
              0 0 30px rgba(0, 188, 212, 0.2);
  border-color: var(--cyan);
}
@media (max-width: 768px) {
  .exec-footer-image { margin: 4rem 0 2rem; }
  .exec-footer-image img { border-radius: 12px; }
}
