/* ================================================================
   UP-UK Neuroscience Society — Master Stylesheet
   Color Palette extracted from logo:
     Primary Navy  : #243182
     Primary Dark  : #172475
     Primary Light : #3D52A0
     Accent Red    : #C0392B
     Steel Blue    : #7BA3C8
     Steel Light   : #EEF3F9
================================================================ */

/* ── Google Font Import ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Crimson+Pro:ital,wght@0,400;0,600;1,400&display=swap');

/* ── CSS Custom Properties ──────────────────────────────────── */
:root {
  --primary: #243182;
  --primary-dark: #172475;
  --primary-light: #3D52A0;
  --primary-rgb: 36, 49, 130;
  --accent: #C0392B;
  --accent-light: #E74C3C;
  --steel: #7BA3C8;
  --steel-light: #EEF3F9;
  --steel-mid: #D6E4F0;
  --white: #ffffff;
  --text: #1A1A2E;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --bg: #ffffff;
  --bg-alt: #F8FAFC;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .04);
  --shadow: 0 4px 16px rgba(36, 49, 130, .10);
  --shadow-lg: 0 10px 40px rgba(36, 49, 130, .15);
  --shadow-xl: 0 20px 60px rgba(36, 49, 130, .18);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --transition: all .3s cubic-bezier(.4, 0, .2, 1);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Crimson Pro', Georgia, serif;
  --header-h: 72px;
}

[data-bs-theme="dark"] {
  --bg: #0D1117;
  --bg-alt: #161B22;
  --text: #E6EDF3;
  --text-muted: #8B949E;
  --border: #30363D;
  --steel-light: #1C2333;
  --steel-mid: #21262D;
  --shadow: 0 4px 16px rgba(0, 0, 0, .4);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, .5);
}

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

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

body {
  font-family: var(--font-main);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background-color .3s, color .3s;
}

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

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

a:hover {
  color: var(--primary-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  letter-spacing: -0.02em;
}

/* ── Bootstrap Overrides ────────────────────────────────────── */
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: .55rem 1.4rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, .15), transparent);
  opacity: 0;
  transition: opacity .3s;
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), .35);
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: var(--transition);
}

.btn-outline-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), .25);
}

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-accent:hover {
  background: #a93226;
  border-color: #a93226;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(192, 57, 43, .35);
}

.badge {
  font-weight: 600;
  letter-spacing: .02em;
}

.form-control,
.form-select {
  border-radius: var(--radius-sm);
  border-color: var(--border);
  font-size: .95rem;
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .15);
}

/* ── Announcement Bar ───────────────────────────────────────── */
.announcement-bar {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: .45rem 0;
  font-size: .82rem;
  position: relative;
  z-index: 1100;
}

.announcement-ticker {
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
}

.ticker-label {
  white-space: nowrap;
  font-weight: 700;
  background: rgba(255, 255, 255, .15);
  padding: .15rem .65rem;
  border-radius: 30px;
  flex-shrink: 0;
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.ticker-wrap {
  flex: 1;
  overflow: hidden;
}

.ticker-move {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
}

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

.ticker-item {
  flex-shrink: 0;
  opacity: .95;
}

.ticker-link {
  color: #ffd700;
  font-weight: 600;
  margin-left: .5rem;
}

.ticker-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, .7);
  cursor: pointer;
  font-size: 1rem;
  flex-shrink: 0;
  padding: 0 .25rem;
  transition: color .2s;
}

.ticker-close:hover {
  color: #fff;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ── Main Navbar ────────────────────────────────────────────── */
.main-navbar {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: .6rem 0;
  transition: var(--transition);
  z-index: 1050;
}

[data-bs-theme="dark"] .main-navbar {
  background: rgba(13, 17, 23, .92);
}

.main-navbar.scrolled {
  box-shadow: var(--shadow);
  padding: .4rem 0;
}

.nav-logo {
  height: 72px;
  width: 72px;
  margin: -10px 0;
  object-fit: contain;
  border-radius: 50%;
  transition: transform .3s;
}

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

.navbar-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}

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

.brand-name {
  font-size: .95rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: -.01em;
}

.brand-sub {
  font-size: .72rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav-link {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text) !important;
  padding: .5rem .75rem !important;
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: left .3s, right .3s;
}

.nav-link:hover::after,
.nav-link.active::after {
  left: .75rem;
  right: .75rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
}

.dropdown-menu {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: .5rem;
  min-width: 230px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.dropdown-menu.dropdown-menu-animated {
  animation: dropIn .2s ease;
  transform-origin: top;
}

@keyframes dropIn {
  from {
    opacity: 0;
    transform: scaleY(.95) translateY(-6px);
  }

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

.dropdown-item {
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  padding: .5rem .85rem;
  color: var(--text);
  transition: var(--transition);
}

.dropdown-item:hover {
  background: var(--steel-light);
  color: var(--primary);
}

/* Mobile Toggler */
.navbar-toggler {
  border: none;
  padding: .3rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.toggler-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.toggler-icon span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Theme Toggle */
.theme-toggle {
  background: var(--steel-light);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: var(--primary);
  transition: var(--transition);
}

.theme-toggle:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: rotate(20deg);
}

/* ── Page Hero (reusable) ───────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%, var(--steel) 100%);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff;
  margin-bottom: .5rem;
}

.page-hero .breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
}

.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a {
  color: rgba(255, 255, 255, .75);
  font-size: .875rem;
}

.page-hero .breadcrumb-item.active {
  color: #ffd700;
}

.page-hero .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, .5);
}

/* ── Section Titles ─────────────────────────────────────────── */
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: .5rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 4px;
  margin: .85rem 0 1.5rem;
}

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

/* ── Glassmorphism Card ─────────────────────────────────────── */
.glass-card {
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

[data-bs-theme="dark"] .glass-card {
  background: rgba(22, 27, 34, .8);
  border-color: rgba(255, 255, 255, .06);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Standard Card */
.ns-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
  transition: var(--transition);
}

.ns-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--steel);
}

.ns-card-img {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
}

/* ── HOME: Hero Section ─────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #0D1B4B 0%, var(--primary) 40%, var(--primary-light) 70%, #5B7FC7 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 6rem 0 4rem;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 75% 50%, rgba(123, 163, 200, .25), transparent),
    radial-gradient(ellipse 300px 300px at 10% 80%, rgba(192, 57, 43, .15), transparent);
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .25;
  pointer-events: none;
}

.hero-blob-1 {
  width: 500px;
  height: 500px;
  background: var(--steel);
  top: -150px;
  right: -100px;
  animation: blobFloat 8s ease-in-out infinite;
}

.hero-blob-2 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  bottom: -100px;
  left: 10%;
  animation: blobFloat 10s ease-in-out infinite 2s;
}

@keyframes blobFloat {

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

  33% {
    transform: translate(20px, -30px) scale(1.05);
  }

  66% {
    transform: translate(-15px, 20px) scale(.97);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 30px;
  padding: .35rem 1rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

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

  50% {
    opacity: .6;
    transform: scale(1.3)
  }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1rem;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #ffd700, #FFA500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .85);
  max-width: 520px;
  margin-bottom: 2rem;
}

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

.hero-btn-primary {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  padding: .75rem 2rem;
  border-radius: 30px;
  border: none;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.hero-btn-primary:hover {
  background: #ffd700;
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, .25);
}

.hero-btn-outline {
  background: transparent;
  color: #fff;
  font-weight: 700;
  padding: .75rem 2rem;
  border-radius: 30px;
  border: 2px solid rgba(255, 255, 255, .5);
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.hero-btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .1);
  transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.hero-stat {}

.hero-stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffd700;
  line-height: 1;
  display: block;
}

.hero-stat-label {
  font-size: .8rem;
  color: rgba(255, 255, 255, .75);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}

/* Hero Neuron SVG Illustration */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-glow {
  width: min(400px, 80vw);
  height: min(400px, 80vw);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: glow-pulse 4s ease-in-out infinite;
  box-shadow: 0 0 60px rgba(123, 163, 200, .3), inset 0 0 40px rgba(255, 255, 255, .05);
}

@keyframes glow-pulse {

  0%,
  100% {
    box-shadow: 0 0 60px rgba(123, 163, 200, .3);
  }

  50% {
    box-shadow: 0 0 100px rgba(123, 163, 200, .5), 0 0 30px rgba(192, 57, 43, .2);
  }
}

.hero-logo-glow img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .3));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-12px)
  }
}

/* Orbit rings */
.hero-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  animation: orbit-spin 20s linear infinite;
}

.hero-orbit-1 {
  width: 480px;
  height: 480px;
}

.hero-orbit-2 {
  width: 560px;
  height: 560px;
  animation-direction: reverse;
  animation-duration: 30s;
}

.hero-orbit-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--accent);
}

@keyframes orbit-spin {
  from {
    transform: rotate(0)
  }

  to {
    transform: rotate(360deg)
  }
}

/* ── Stats Counter Section ──────────────────────────────────── */
.stats-section {
  background: var(--primary);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--steel), #ffd700);
}

.stat-item {
  text-align: center;
  color: #fff;
}

.stat-number {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #ffd700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: .875rem;
  color: rgba(255, 255, 255, .8);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
  margin-top: .5rem;
}

.stat-divider {
  width: 1px;
  background: rgba(255, 255, 255, .15);
  align-self: stretch;
}

/* ── Announcement Card ───────────────────────────────────────── */
.announcement-section {
  background: var(--bg-alt);
  padding: 3rem 0;
}

.announcement-card {
  border-left: 4px solid var(--primary);
  padding: 1.25rem 1.5rem;
  background: var(--bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.announcement-card:hover {
  border-left-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}

.announcement-card.urgent {
  border-left-color: var(--accent);
}

.announcement-icon {
  width: 40px;
  height: 40px;
  background: var(--steel-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  font-size: 1.1rem;
}

.urgent .announcement-icon {
  background: rgba(192, 57, 43, .1);
  color: var(--accent);
}

/* ── Conference Countdown ───────────────────────────────────── */
.countdown-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 4rem 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.countdown-wrap {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.countdown-box {
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  text-align: center;
  min-width: 110px;
}

.countdown-num {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: #ffd700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .75);
  font-weight: 600;
  margin-top: .35rem;
}

/* ── Section Background Styles ──────────────────────────────── */
.section-light {
  background: var(--bg-alt);
}

.section-white {
  background: var(--bg);
}

section {
  padding: 5rem 0;
}

section.py-4 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

/* ── Quick Access Cards ─────────────────────────────────────── */
.quick-card {
  border-radius: var(--radius-lg);
  padding: 2rem 1rem;
  text-align: center;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex !important;
  flex-direction: column;
  align-items: center;
}

/* Colorful variations for Quick Access cards */
.row>div:nth-child(1) .quick-icon {
  background: rgba(255, 107, 107, 0.15);
  color: #FF6B6B;
}

.row>div:nth-child(2) .quick-icon {
  background: rgba(78, 205, 196, 0.15);
  color: #4ECDC4;
}

.row>div:nth-child(3) .quick-icon {
  background: rgba(69, 183, 209, 0.15);
  color: #45B7D1;
}

.row>div:nth-child(4) .quick-icon {
  background: rgba(150, 206, 180, 0.15);
  color: #96CEB4;
}

.row>div:nth-child(5) .quick-icon {
  background: rgba(255, 206, 103, 0.15);
  color: #FFCE67;
}

.row>div:nth-child(6) .quick-icon {
  background: rgba(162, 155, 254, 0.15);
  color: #A29BFE;
}


.quick-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: opacity .3s;
}

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

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

.quick-card:hover .quick-icon,
.quick-card:hover h5,
.quick-card:hover p {
  color: #fff !important;
  position: relative;
  z-index: 1;
}

.quick-icon {
  width: 72px;
  height: 72px;
  background: var(--steel-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  margin: 0 auto 1.25rem;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.quick-card h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .4rem;
  position: relative;
  z-index: 1;
  transition: color .3s;
}

.quick-card p {
  font-size: .85rem;
  color: var(--text-muted);
  margin: 0;
  position: relative;
  z-index: 1;
  transition: color .3s;
}

/* ── President / Secretary Cards ────────────────────────────── */
.leader-card {
  border-radius: var(--radius-lg);
  overflow: visible;
  box-shadow: var(--shadow);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  /* Clip only visually via border-radius without clipping content */
  isolation: isolate;
}

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

.leader-card-top {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 2rem 2rem 2.25rem;
  text-align: center;
  position: relative;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.leader-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .45);
  object-fit: cover;
  margin: 0 auto .65rem;
  background: var(--steel);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
}

.leader-avatar-placeholder {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: rgba(255, 255, 255, .8);
  margin: 0 auto .65rem;
}

.leader-name {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}

.leader-title {
  color: rgba(255, 255, 255, .8);
  font-size: .8rem;
  margin: .2rem 0 0;
  line-height: 1.4;
}

.leader-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: var(--bg);
  overflow: hidden;    /* contain text inside the card */
  min-width: 0;        /* allow flex/grid shrinkage */
}

/* Quote-style message block */
.leader-message-wrap {
  position: relative;
  border-left: 3px solid var(--primary);
  background: linear-gradient(135deg, rgba(36, 49, 130, .04), rgba(61, 82, 160, .02));
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: .85rem 1rem .85rem 1.1rem;
  /* no margin-bottom — only child, not needed */
}

.leader-message-wrap::before {
  content: '\201C';
  position: absolute;
  top: -.5rem;
  left: .5rem;
  font-size: 3.5rem;
  font-family: var(--font-serif);
  color: var(--primary);
  opacity: .18;
  line-height: 1;
  pointer-events: none;
}

.leader-message {
  font-size: .96rem;
  color: var(--text);
  line-height: 1.75;
  font-style: italic;
  font-family: var(--font-serif);
  text-align: left;
  word-break: normal;          /* don't split mid-word proactively */
  overflow-wrap: break-word;   /* only break a word if it genuinely won't fit */
  hyphens: none;               /* no auto-hyphenation */
  white-space: normal;
  min-width: 0;
}

/* Compact spacing for Quill-generated paragraphs inside the message */
.leader-message p {
  margin-bottom: .5rem;
  margin-top: 0;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}

.leader-message p:last-child {
  margin-bottom: 0;
}

.leader-message strong,
.leader-message b {
  font-style: normal;
  font-weight: 700;
  color: var(--primary-dark);
}

.leader-message ul,
.leader-message ol {
  margin: .25rem 0 .4rem;
  padding-left: 1.3rem;
}

.leader-message li {
  margin-bottom: .2rem;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}

/* ── Committee Grid ─────────────────────────────────────────── */
.committee-card {
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: var(--transition);
}

.committee-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--steel);
}

.committee-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--steel-light), var(--steel-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  margin: 0 auto .75rem;
  border: 3px solid var(--steel-mid);
}

.committee-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .2rem;
}

.committee-pos {
  font-size: .78rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.committee-inst {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: .25rem;
}

/* ── Executive Committee v2 — Grouped Design ───────────────── */

/* ── Section wrapper ──────────────────────────────────────── */
.ec-section {
  background: linear-gradient(160deg, #f0f4ff 0%, #fafbff 40%, #fff5f5 80%, #f5f0ff 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.ec-section-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(36, 49, 130, .07) 0%, transparent 50%),
    radial-gradient(circle at 85% 75%, rgba(192, 57, 43, .05) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(123, 163, 200, .04) 0%, transparent 60%);
  pointer-events: none;
}

/* ── Category pill ──────────────────────────────────────────── */
.ec-category-pill {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .45rem 1.1rem .45rem .8rem;
  border-radius: 30px;
  box-shadow: 0 4px 16px rgba(36, 49, 130, .25);
}

.ec-category-dot {
  width: 8px;
  height: 8px;
  background: #ffd700;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px #ffd700;
  animation: pulse 2s infinite;
}

.ec-category-badge {
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 20px;
  padding: .1rem .65rem;
  font-size: .72rem;
  letter-spacing: .06em;
}

/* ── Group Panel Container ──────────────────────────────────── */
.ec-group-panel {
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 2.5rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.ec-group-exec {
  background: linear-gradient(145deg, #f5f7ff 0%, #fff 60%, #fffaf0 100%);
  border-color: rgba(36, 49, 130, .18);
  box-shadow: 0 4px 32px rgba(36, 49, 130, .08);
}

.ec-group-exec::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1B2A6B, #3D52A0, #ffd700);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.ec-group-members {
  background: linear-gradient(145deg, #f0faf8 0%, #fff 60%, #f8f5ff 100%);
  border-color: rgba(15, 98, 146, .18);
  box-shadow: 0 4px 32px rgba(15, 98, 146, .07);
}

.ec-group-members::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #065F46, #059669, #7C3AED);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

/* ── Group Panel Header bar ─────────────────────────────────── */
.ec-group-panel-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.ec-group-panel-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.ec-group-panel-icon.exec {
  background: linear-gradient(135deg, #1B2A6B, #3D52A0);
  color: #ffd700;
  box-shadow: 0 4px 12px rgba(36, 49, 130, .3);
}

.ec-group-panel-icon.member {
  background: linear-gradient(135deg, #065F46, #059669);
  color: #fff;
  box-shadow: 0 4px 12px rgba(6, 95, 70, .3);
}

.ec-group-panel-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.01em;
}

.ec-group-panel-sub {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: .1rem;
}

.ec-group-count {
  margin-left: auto;
  font-size: .75rem;
  font-weight: 700;
  border-radius: 20px;
  padding: .3rem .9rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ec-group-count.exec {
  background: rgba(36, 49, 130, .1);
  color: var(--primary);
  border: 1px solid rgba(36, 49, 130, .2);
}

.ec-group-count.member {
  background: rgba(5, 150, 105, .1);
  color: #059669;
  border: 1px solid rgba(5, 150, 105, .2);
}

/* ── v2 Card — base ─────────────────────────────────────────── */
.ecv2-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(36, 49, 130, .08);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1), box-shadow .3s;
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
  height: 100%;
}

.ecv2-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(36, 49, 130, .16);
  border-color: transparent;
}

/* Card gradient top band */
.ecv2-card::before {
  content: '';
  display: block;
  height: 110px;
  background: linear-gradient(135deg, var(--ecv2-a, #1B2A6B) 0%, var(--ecv2-b, #3D52A0) 100%);
  position: relative;
  flex-shrink: 0;
}

/* Dot-pattern overlay on top band */
.ecv2-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 110px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 13px 13px;
  pointer-events: none;
}

/* Executive card — taller band */
.ecv2-card--exec::before,
.ecv2-card--exec::after {
  height: 130px;
}

/* ── Photo wrap ─────────────────────────────────────────────── */
.ecv2-photo-wrap {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  position: absolute;
  top: 62px;
  /* half inside the band */
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.ecv2-card--exec .ecv2-photo-wrap {
  width: 104px;
  height: 104px;
  top: 78px;
}

.ecv2-photo-wrap--sm {
  width: 80px;
  height: 80px;
  top: 50px;
}

.ecv2-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
  display: block;
}

/* Initials fallback */
.ecv2-initials {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ecv2-a, #1B2A6B), var(--ecv2-b, #3D52A0));
  border: 4px solid #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}

.ecv2-initials--sm {
  font-size: 1.25rem;
}

/* Spinning dashed ring (exec cards only) */
.ecv2-photo-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, .5);
  animation: ec-spin 14s linear infinite;
  pointer-events: none;
}

@keyframes ec-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ── Role badge (top-left of card) ─────────────────────────── */
.ecv2-role-badge {
  position: absolute;
  top: .65rem;
  left: .65rem;
  z-index: 3;
  border-radius: 20px;
  padding: .22rem .7rem;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ecv2-role-badge--exec {
  background: rgba(255, 215, 0, .25);
  border: 1px solid rgba(255, 215, 0, .55);
  color: #ffd700;
}

.ecv2-role-badge--member {
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .38);
  color: #fff;
}

/* ── Card info body ─────────────────────────────────────────── */
.ecv2-info {
  padding: 0 1.1rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Push content below photo overlap */
.ecv2-card--exec .ecv2-info {
  padding-top: 60px;
}

.ecv2-card--member .ecv2-info {
  padding-top: 50px;
}

.ecv2-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: .2rem;
}

.ecv2-name--sm {
  font-size: .9rem;
}

.ecv2-position {
  font-size: .78rem;
  font-weight: 700;
  color: var(--ecv2-a, var(--primary));
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .15rem;
}

.ecv2-designation {
  font-size: .75rem;
  line-height: 1.4;
  margin-bottom: .1rem;
}

.ecv2-divider {
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--ecv2-a, var(--primary)), var(--ecv2-b, var(--primary-light)));
  border-radius: 2px;
  margin: .65rem auto .6rem;
}

.ecv2-meta {
  font-size: .76rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: .3rem;
  justify-content: center;
  text-align: center;
  line-height: 1.4;
  margin-bottom: .2rem;
}

.ecv2-meta i {
  margin-top: .1rem;
  flex-shrink: 0;
  opacity: .6;
}

.ecv2-term {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: .55rem;
  background: var(--steel-light);
  border: 1px solid var(--steel-mid);
  border-radius: 20px;
  padding: .18rem .7rem;
  font-size: .7rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ── Footer note ────────────────────────────────────────────── */
.ec-footer-note {
  text-align: center;
  margin-top: .5rem;
  font-size: .82rem;
  color: var(--text-muted);
  background: rgba(36, 49, 130, .04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .85rem 1.5rem;
  display: inline-flex;
  align-items: center;
  width: 100%;
  justify-content: center;
  gap: .25rem;
}

/* ── Dark mode ──────────────────────────────────────────────── */
[data-bs-theme="dark"] .ec-section {
  background: linear-gradient(160deg, #0e1225 0%, #0D1117 40%, #150d0d 80%, #110e1a 100%);
}

[data-bs-theme="dark"] .ec-group-exec {
  background: linear-gradient(145deg, #111827 0%, #1a2236 100%);
  border-color: rgba(100, 116, 200, .2);
}

[data-bs-theme="dark"] .ec-group-members {
  background: linear-gradient(145deg, #0d1f1a 0%, #111827 100%);
  border-color: rgba(5, 150, 105, .2);
}

[data-bs-theme="dark"] .ecv2-card {
  background: var(--bg-alt);
  border-color: var(--border);
}

[data-bs-theme="dark"] .ecv2-photo {
  border-color: var(--bg-alt);
}

[data-bs-theme="dark"] .ecv2-initials {
  border-color: var(--bg-alt);
}

[data-bs-theme="dark"] .ecv2-term {
  background: rgba(255, 255, 255, .05);
  border-color: var(--border);
}

[data-bs-theme="dark"] .ec-footer-note {
  background: rgba(255, 255, 255, .03);
}


/* ── Conference Cards ───────────────────────────────────────── */
.conf-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: var(--transition);
}

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

.conf-card-banner {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.conf-card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.conf-year-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: .8rem;
  padding: .3rem .75rem;
  border-radius: 30px;
}

.conf-card-body {
  padding: 1.5rem;
}

.conf-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .5rem;
}

.conf-meta {
  font-size: .82rem;
  color: var(--text-muted);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.conf-meta span {
  display: flex;
  align-items: center;
  gap: .35rem;
}

/* ── YouTube / Video Cards ──────────────────────────────────── */
.video-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.video-thumb {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  background: #000;
}

.video-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

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

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .3);
  transition: background .3s;
}

.video-card:hover .play-overlay {
  background: rgba(0, 0, 0, .5);
}

.play-btn {
  width: 56px;
  height: 56px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  transition: transform .3s;
}

.video-card:hover .play-btn {
  transform: scale(1.1);
}

.video-cat-badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: rgba(0, 0, 0, .65);
  color: #fff;
  font-size: .7rem;
  font-weight: 600;
  padding: .2rem .65rem;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.video-card-body {
  padding: 1rem 1.25rem;
}

.video-title {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .35rem;
  line-height: 1.4;
}

/* ── Membership Plan Cards ──────────────────────────────────── */
.plan-card {
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  background: var(--bg);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.plan-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
}

.plan-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem 1.25rem;
  border-radius: 0 0 10px 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.plan-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--steel-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  margin: 0 auto 1rem;
}

.featured .plan-icon {
  background: rgba(var(--primary-rgb), .1);
}

.plan-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .25rem;
}

.plan-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin: .5rem 0;
}

.plan-price.long-text {
  font-size: 1.6rem;
}

.plan-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
}

.plan-features li {
  padding: .45rem 0;
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  border-bottom: 1px solid var(--border);
}

.plan-features li:last-child {
  border: none;
}

.plan-features li i {
  color: var(--primary);
  flex-shrink: 0;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

/* ── Grant & Fellowship Cards ───────────────────────────────── */
.grant-card {
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.grant-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  transition: width .3s;
}

.grant-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.grant-card:hover::before {
  width: 6px;
}

.grant-type-badge {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .2rem .7rem;
  border-radius: 30px;
  margin-bottom: .75rem;
  display: inline-block;
}

/* ── Contact ─────────────────────────────────────────────────── */
.contact-info-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, .15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-text a {
  color: rgba(255, 255, 255, .9);
}

.contact-info-text a:hover {
  color: #ffd700;
}

.contact-info-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .7;
  display: block;
  margin-bottom: .2rem;
}

/* ── Login ───────────────────────────────────────────────────── */
.login-section {
  min-height: calc(100vh - var(--header-h));
  background: linear-gradient(135deg, var(--steel-light) 0%, #fff 100%);
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

.login-card {
  max-width: 480px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  background: var(--bg);
  padding: 3rem 2.5rem;
  border: 1px solid var(--border);
}

.google-btn {
  width: 100%;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 30px;
  padding: .85rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  transition: var(--transition);
  text-decoration: none;
}

.google-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), .15);
  transform: translateY(-2px);
}

.google-btn img {
  width: 22px;
  height: 22px;
}

/* ── Admin Login ─────────────────────────────────────────────── */
.admin-login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #0D1B4B 0%, var(--primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.admin-login-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 3rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}

/* ── Admin Panel Layout ─────────────────────────────────────── */
.admin-wrapper {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 260px;
  background: var(--primary);
  flex-shrink: 0;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 200;
  transition: transform .3s;
}

.admin-content {
  flex: 1;
  margin-left: 260px;
  min-height: 100vh;
  background: #F1F5F9;
  display: flex;
  flex-direction: column;
}

.admin-topbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.admin-main {
  padding: 2rem;
  flex: 1;
}

.admin-sidebar-brand {
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  gap: .85rem;
}

.admin-sidebar-brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.admin-brand-name {
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.2;
}

.admin-brand-sub {
  color: rgba(255, 255, 255, .6);
  font-size: .72rem;
}

.admin-nav {
  padding: 1rem 0;
}

.admin-nav-label {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .45);
  padding: 1rem 1.25rem .4rem;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem 1.25rem;
  color: rgba(255, 255, 255, .8);
  font-size: .875rem;
  font-weight: 500;
  transition: var(--transition);
  border-left: 3px solid transparent;
  text-decoration: none;
}

.admin-nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border-left-color: rgba(255, 255, 255, .5);
}

.admin-nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border-left-color: #ffd700;
  font-weight: 600;
}

.admin-nav-link i {
  font-size: 1.05rem;
  width: 20px;
  text-align: center;
}

/* Admin Stat Cards */
.admin-stat-card {
  border-radius: var(--radius);
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: var(--transition);
}

.admin-stat-card:hover {
  box-shadow: var(--shadow);
}

.admin-stat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.admin-stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.admin-stat-label {
  font-size: .8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: .2rem;
}

/* ── Gallery Grid ────────────────────────────────────────────── */
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
  cursor: pointer;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(var(--primary-rgb), .85), transparent);
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

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

.gallery-overlay span {
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
}

/* ── Timeline ────────────────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: .5rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--steel));
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: .25rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 3px var(--steel-mid);
}

.timeline-date {
  font-size: .8rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .25rem;
}

.timeline-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .5rem;
}

.timeline-body {
  font-size: .9rem;
  color: var(--text-muted);
}

/* ── Why Member Benefits ─────────────────────────────────────── */
.benefit-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.benefit-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform .3s;
}

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

.benefit-card:hover::after {
  transform: scaleX(1);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--steel-light), var(--steel-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--primary);
  margin: 0 auto 1.25rem;
  transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
}

.benefit-card h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .5rem;
}

.benefit-card p {
  font-size: .875rem;
  color: var(--text-muted);
}

/* ── Map Container ───────────────────────────────────────────── */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
  border: 1px solid var(--border);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: #0D1B4B;
  color: rgba(255, 255, 255, .8);
}

.footer-main {
  padding: 5rem 0 3rem;
}

.footer-logo {
  height: 70px;
  width: 70px;
  object-fit: contain;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 2px solid rgba(255, 255, 255, .15);
}

.footer-title {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .75rem;
}

.footer-desc {
  font-size: .875rem;
  color: rgba(255, 255, 255, .65);
  line-height: 1.7;
}

.footer-heading {
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1.25rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid rgba(255, 255, 255, .1);
}

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

.footer-links li {
  margin-bottom: .45rem;
}

.footer-links a {
  color: rgba(255, 255, 255, .65);
  font-size: .875rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: .4rem;
}

.footer-links a:hover {
  color: #ffd700;
  padding-left: 4px;
}

.footer-links a i {
  font-size: .7rem;
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  margin-bottom: 1rem;
  font-size: .875rem;
}

.footer-contact i {
  color: var(--steel);
  flex-shrink: 0;
  margin-top: .2rem;
  font-size: 1rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, .75);
}

.footer-contact a:hover {
  color: #ffd700;
}

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

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .75);
  font-size: .95rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: #fff;
  transform: translateY(-3px);
}

.newsletter-box .form-control {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .2);
  color: #fff;
}

.newsletter-box .form-control::placeholder {
  color: rgba(255, 255, 255, .45);
}

.newsletter-box .form-control:focus {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .4);
}

.footer-bottom {
  background: rgba(0, 0, 0, .25);
  padding: 1.25rem 0;
  font-size: .82rem;
  color: rgba(255, 255, 255, .5);
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.footer-gtech-link {
  color: #ffd700 !important;
  transition: color 0.3s ease;
}

.footer-gtech-link:hover {
  color: #ff0000 !important;
}

/* ── WhatsApp Float ─────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  background: #1ebe57;
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, .5);
  color: #fff;
}

.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: var(--text);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  padding: .35rem .85rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--text);
  border-right: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

/* ── Scroll to Top ───────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  z-index: 999;
  width: 44px;
  height: 44px;
  background: var(--primary);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  box-shadow: var(--shadow);
}

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

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ── AOS Reveal ─────────────────────────────────────────────── */
[data-aos] {
  transition-duration: .6s !important;
}

/* ── Utility Classes ─────────────────────────────────────────── */
.text-primary {
  color: var(--primary) !important;
}

.text-accent {
  color: var(--accent) !important;
}

.text-steel {
  color: var(--steel) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.bg-steel-light {
  background-color: var(--steel-light) !important;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--steel-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .admin-sidebar {
    transform: translateX(-100%);
  }

  .admin-sidebar.open {
    transform: translateX(0);
  }

  .admin-content {
    margin-left: 0;
  }

  .hero-section {
    padding: 4rem 0 3rem;
    min-height: auto;
  }

  .hero-visual {
    margin-top: 3rem;
  }

  .hero-orbit-1,
  .hero-orbit-2 {
    display: none;
  }
}

@media (max-width: 767.98px) {
  section {
    padding: 3.5rem 0;
  }

  .countdown-box {
    padding: 1rem 1.25rem;
    min-width: 75px;
  }

  .countdown-num {
    font-size: 2rem;
  }

  .hero-logo-glow {
    width: 220px;
    height: 220px;
  }

  .leader-card-top {
    padding: 2rem 1.5rem 2.5rem;
  }

  .admin-main {
    padding: 1rem;
  }

  .whatsapp-float {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .scroll-top {
    bottom: 4.5rem;
    right: 1.25rem;
  }
}

/* ── Print ───────────────────────────────────────────────────── */
@media print {

  .announcement-bar,
  .main-navbar,
  .whatsapp-float,
  .scroll-top,
  .site-footer {
    display: none;
  }
}