/* 99 Business Club — Singapore Chapter Theme */
:root {
  --chapter-primary: #EF3340;
  --chapter-secondary: #ffffff;
  --chapter-accent: #0B0C10;
  --chapter-gradient: linear-gradient(135deg, #EF3340 0%, #c62828 50%, #0B0C10 100%);
  --chapter-hero-overlay: linear-gradient(125deg, rgba(239, 51, 64, 0.88) 0%, rgba(11, 12, 16, 0.82) 100%);
}

body.chapter-singapore {
  --brand-primary: var(--chapter-primary);
  --brand-bg: #fafafa;
}

body.chapter-singapore .premium-navbar {
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom: 3px solid var(--chapter-primary);
}

body.chapter-singapore .navbar-brand span,
body.chapter-singapore .nav-link:hover {
  color: var(--chapter-accent) !important;
}

body.chapter-singapore .text-primary {
  color: var(--chapter-primary) !important;
}

body.chapter-singapore .btn-primary,
body.chapter-singapore .btn-brand {
  background: var(--chapter-primary) !important;
  border: none !important;
  color: #fff !important;
}

body.chapter-singapore .btn-primary:hover {
  background: #d42a36 !important;
}

body.chapter-singapore .btn-outline-primary {
  border-color: var(--chapter-primary) !important;
  color: var(--chapter-primary) !important;
}

body.chapter-singapore .btn-outline-primary:hover {
  background: var(--chapter-primary) !important;
  color: #fff !important;
}

.chapter-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.chapter-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.chapter-hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--chapter-hero-overlay);
}

.chapter-hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: radial-gradient(circle at 20% 50%, #fff 1px, transparent 1px);
  background-size: 24px 24px;
}

.chapter-hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.chapter-hero__flag {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.chapter-hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.chapter-hero__sub {
  font-size: 1.15rem;
  opacity: 0.95;
  max-width: 540px;
}

.chapter-stat-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(11, 12, 16, 0.08);
  border-top: 4px solid var(--chapter-primary);
  height: 100%;
}

.chapter-stat-card__num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--chapter-primary);
}

.chapter-leader-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(11, 12, 16, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  border: 1px solid rgba(239, 51, 64, 0.12);
}

.chapter-leader-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(239, 51, 64, 0.18);
}

.chapter-leader-card__photo {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  background: linear-gradient(180deg, #EF3340 0%, #0B0C10 100%);
}

.chapter-leader-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.chapter-leader-card__name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--chapter-accent);
  margin-bottom: 0.25rem;
}

.chapter-leader-card__role {
  color: var(--chapter-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.chapter-leader-card__co {
  color: #64748b;
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.chapter-section-title {
  font-weight: 800;
  color: var(--chapter-accent);
  letter-spacing: -0.02em;
}

.chapter-section-title::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  background: var(--chapter-primary);
  margin-top: 0.75rem;
  border-radius: 2px;
}

.chapter-cta-band {
  background: linear-gradient(135deg, #0B0C10 0%, #EF3340 100%);
  color: #fff;
  border-radius: 24px;
  padding: 3rem 2rem;
}

.chapter-scope-toggle .btn.active {
  background: var(--chapter-primary);
  color: #fff;
  border-color: var(--chapter-primary);
}

body.chapter-singapore .chapter-hero__bg {
  background-image: url('../chapters/singapore-hero.svg');
}
