/* YouthMonitor.ng landing page theme (APC-inspired palette) */
:root {
  --green-50: #F2FAF5;
  --green-100: #DDF3E5;
  --green-500: #08A34A;
  --green-700: #087A3D;
  --green-900: #05532A;
  --blue-50: #F3F8FF;
  --blue-100: #DCEAFD;
  --blue-500: #0875E1;
  --blue-700: #0660C0;
  --blue-900: #06295E;
  --red-50: #FEE8EA;
  --red-500: #F32338;
  --red-700: #C81B2C;
  --red-900: #8E1220;
  --gold-300: #FFD470;
  --gold-500: #FFB21A;
  --ink: #0B1B33;
  --ink-soft: #41506B;
  --line: #E1E8F2;
  --shadow-soft: 0 12px 32px rgba(6, 41, 94, .10);
  --shadow-lift: 0 22px 48px rgba(6, 41, 94, .20);
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--ink);
  --bs-body-bg: #fff;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}
h1, h2, h3, h4 { line-height: 1.2; color: var(--blue-900); }
img { max-width: 100%; height: auto; }
img[data-hide-on-error].is-missing { visibility: hidden; }
section[id] { scroll-margin-top: 88px; }

:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; }
.hero :focus-visible,
.section-events :focus-visible,
.cta-banner :focus-visible,
.site-footer :focus-visible,
.site-header .brand:focus-visible { outline-color: var(--gold-500); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 2000;
  padding: 8px 16px;
  background: var(--gold-500);
  color: var(--blue-900);
  font-weight: 800;
  border-radius: 8px;
}
.skip-link:focus { left: 16px; }

.text-white-75 { color: rgba(255, 255, 255, .84) !important; }

/* Buttons */
.btn { font-weight: 800; border-radius: 999px; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-cta {
  background: var(--gold-500);
  color: var(--blue-900);
  border: 0;
  box-shadow: 0 10px 24px rgba(255, 178, 26, .35);
}
.btn-cta:hover, .btn-cta:focus { background: var(--gold-300); color: var(--blue-900); box-shadow: 0 14px 30px rgba(255, 178, 26, .45); }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn-sm { padding: 8px 16px; }
.btn-outline-light { border-width: 2px; }
.btn-outline-light:hover { background: #fff; color: var(--blue-900); }
.btn-outline-brand { color: var(--blue-900); border: 2px solid var(--blue-900); background: transparent; }
.btn-outline-brand:hover { background: var(--blue-900); color: #fff; }
.btn-outline-brand:disabled { opacity: .7; transform: none; }
.btn-menu {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 2px solid var(--blue-900);
  color: var(--blue-900);
  background: #fff;
  font-size: .95rem;
}
.btn-menu:hover { background: var(--blue-900); color: #fff; }
.btn-path {
  background: #fff;
  color: var(--blue-900);
  padding: 12px 24px;
  border: 0;
  opacity: 1;
}
.btn-path:disabled { background: rgba(255, 255, 255, .92); color: var(--blue-900); cursor: not-allowed; opacity: 1; transform: none; }

/* Header and menu */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.site-header::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, var(--green-700) 0 33%, var(--gold-500) 33% 50%, var(--red-500) 50% 66%, var(--blue-500) 66%);
}
.site-header.is-scrolled { box-shadow: 0 10px 28px rgba(6, 41, 94, .12); }
.header-inner { min-height: 72px; gap: 12px; }
.header-actions { gap: 8px; flex-shrink: 0; }

.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; color: var(--blue-900); }
.brand-logo { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
.brand-name { font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; color: var(--blue-900); white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.brand-accent { color: var(--green-700); }

.offcanvas { --bs-offcanvas-width: min(380px, 88vw); background: #fff; }
.offcanvas-header { border-bottom: 1px solid var(--line); padding: 20px 24px; }
.offcanvas-body { padding: 16px 24px 32px; }
.main-nav { display: grid; gap: 4px; margin: 0; }
.main-nav .nav-link {
  display: block;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue-900);
  transition: background-color .2s ease, color .2s ease, padding-left .2s ease;
}
.main-nav .nav-link:hover { background: var(--green-50); color: var(--green-700); padding-left: 22px; }
.main-nav .nav-link.is-active { background: var(--green-700); color: #fff; }
.nav-actions { display: grid; gap: 12px; margin-top: 24px; }
.nav-actions .btn { padding: 14px; font-size: 1rem; }

@media (max-width: 575.98px) {
  .header-inner { min-height: 64px; gap: 8px; }
  .header-actions { gap: 6px; }
  .brand { gap: 8px; }
  .brand-logo { width: 36px; height: 36px; }
  .brand-name { font-size: 1rem; }
  .header-register { padding: 8px 12px; font-size: .85rem; }
  .btn-menu { width: 44px; height: 44px; padding: 0; justify-content: center; font-size: 1.1rem; }
}

@media (max-width: 359.98px) {
  .brand { gap: 6px; }
  .brand-logo { width: 32px; height: 32px; }
  .brand-name { font-size: .95rem; }
}

/* Individual registration form */
.register-card { padding: 32px 24px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.register-card .form-label { font-weight: 800; color: var(--blue-900); }
.register-card .form-control:focus { border-color: var(--blue-500); box-shadow: 0 0 0 .2rem rgba(8, 117, 225, .2); }
.register-section { margin: 0 0 32px; padding: 0 0 8px; border: 0; border-bottom: 1px solid var(--line); }
.register-section:last-of-type { border-bottom: 0; }
.register-section > legend { float: none; width: 100%; margin-bottom: 16px; font-size: 1.15rem; font-weight: 800; color: var(--blue-900); }
.profile-list { display: grid; gap: 0; }
.profile-list > div { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.profile-list > div:last-child { border-bottom: 0; }
.profile-list dt { font-weight: 800; color: var(--blue-900); }
.profile-list dd { margin: 0; color: var(--ink-soft); overflow-wrap: anywhere; }
@media (min-width: 576px) {
  .profile-list > div { grid-template-columns: 220px 1fr; gap: 16px; }
}
.register-success-icon { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: var(--green-100); color: var(--green-900); font-size: 2rem; }

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 72px 0 112px;
  color: #fff;
  overflow: hidden;
  background: var(--blue-900);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.pexels.com/photos/32408520/pexels-photo-32408520.jpeg?auto=compress&cs=tinysrgb&w=1800&h=1100&fit=crop') center / cover no-repeat;
  animation: heroZoom 16s ease-out both;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(6, 41, 94, .96) 0%, rgba(6, 41, 94, .84) 48%, rgba(8, 122, 61, .55) 100%);
}
.hero-shape { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-shape-gold { width: 420px; height: 420px; right: -140px; top: -120px; background: radial-gradient(circle, rgba(255, 178, 26, .55), rgba(255, 178, 26, 0) 70%); }
.hero-shape-red { width: 360px; height: 360px; left: -140px; bottom: -150px; background: radial-gradient(circle, rgba(243, 35, 56, .5), rgba(243, 35, 56, 0) 70%); }
.hero-stripes { position: absolute; left: 0; right: 0; bottom: 0; height: 10px; display: flex; }
.hero-stripes span { flex: 1; }
.hero-stripes span:nth-child(1) { background: var(--green-500); }
.hero-stripes span:nth-child(2) { background: var(--gold-500); }
.hero-stripes span:nth-child(3) { background: var(--red-500); }
.hero-stripes span:nth-child(4) { background: var(--blue-500); }
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 24px;
}
.eyebrow-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 4px rgba(255, 178, 26, .3); }
.hero-title {
  color: #fff;
  font-size: clamp(2rem, 8.2vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}
.hero-title-accent { color: var(--gold-500); }
.hero-lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: rgba(255, 255, 255, .92); max-width: 640px; margin-bottom: 32px; }
.hero-actions { display: grid; gap: 12px; }
.hero-actions .btn { width: 100%; }
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 1;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .5);
  animation: bounce 2.4s ease-in-out infinite;
}
.hero-scroll:hover { color: var(--gold-500); border-color: var(--gold-500); }

@media (min-width: 576px) {
  .hero-actions { display: flex; flex-wrap: wrap; }
  .hero-actions .btn { width: auto; }
}

/* Sections */
.section { padding: 56px 0; }
.section-soft-blue { background: var(--blue-50); }
.section-soft-green { background: var(--green-50); }
.section-heading { margin-bottom: 40px; }
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-900);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow-light { background: rgba(255, 255, 255, .14); color: var(--gold-300); }
.section-title { font-size: clamp(1.75rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 16px; letter-spacing: -.01em; }
.section-lead { color: var(--ink-soft); font-size: 1.05rem; max-width: 740px; }
.demo-badge {
  display: inline-block;
  margin-right: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--gold-500);
  color: var(--blue-900);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  vertical-align: middle;
}
.demo-badge-light { background: #fff; }

/* Stats */
.stat-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 24px;
  color: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease;
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.stat-card-green { background: linear-gradient(135deg, var(--green-700), var(--green-900)); }
.stat-card-blue { background: linear-gradient(135deg, var(--blue-700), var(--blue-900)); }
.stat-card-red { background: linear-gradient(135deg, var(--red-700), var(--red-900)); }
.stat-icon { font-size: 1.6rem; color: var(--gold-300); }
.stat-value { font-size: clamp(1.6rem, 3.6vw, 2.25rem); font-weight: 800; margin: 12px 0 4px; line-height: 1.1; }
.stat-label { font-size: .9rem; color: rgba(255, 255, 255, .92); }

/* Registration pathways */
.path-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-radius: 28px;
  color: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease;
}
.path-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
}
.path-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.path-individual { background: linear-gradient(135deg, var(--green-700), var(--green-900)); }
.path-group { background: linear-gradient(135deg, var(--blue-700), var(--blue-900)); }
.path-join { background: linear-gradient(135deg, var(--red-700), var(--red-900)); }
.path-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: rgba(255, 255, 255, .18);
  color: var(--gold-300);
  font-size: 2rem;
}
.path-title { color: #fff; font-size: 1.5rem; font-weight: 800; margin: 20px 0 12px; }
.path-text { color: rgba(255, 255, 255, .92); margin-bottom: 24px; }

/* About */
.mission-card { background: #fff; border-radius: 20px; padding: 24px; box-shadow: var(--shadow-soft); border-left: 6px solid var(--green-500); }
.mission-vision { border-left-color: var(--blue-500); }
.mission-card p { color: var(--ink-soft); margin-top: 8px; }
.objectives-card { height: 100%; padding: 32px; border-radius: 28px; background: var(--blue-900); color: #fff; box-shadow: var(--shadow-soft); }
.objectives-card h3 { color: #fff; }
.objectives-list { list-style: none; padding: 0; margin: 0; }
.objectives-list li { position: relative; padding-left: 28px; margin-bottom: 14px; color: rgba(255, 255, 255, .92); }
.objectives-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-500);
}
.how-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 28px; }
.step-card { position: relative; height: 100%; padding: 24px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-soft); }
.step-number {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--blue-900);
  font-weight: 800;
}
.step-card p { color: var(--ink-soft); margin-top: 6px; }

/* Activities */
.activity-card {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease;
}
.activity-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.activity-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-700), var(--blue-900));
}
.activity-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.activity-card:hover .activity-media img { transform: scale(1.06); }
.badge-status {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 800;
}
.badge-approved { background: var(--green-700); color: #fff; }
.activity-body { padding: 24px; }
.activity-body h3 { margin-bottom: 12px; }
.activity-body p { color: var(--ink-soft); }
.activity-meta { display: grid; gap: 8px; margin: 0 0 16px; font-size: .92rem; color: var(--ink-soft); }
.activity-meta i { color: var(--green-700); width: 20px; }

/* Events */
.section-events {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 58%, var(--green-700) 100%);
  color: #fff;
}
.section-events .section-title { color: #fff; }
.section-events .section-lead { color: rgba(255, 255, 255, .9); }
.event-card {
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  border-top: 6px solid var(--gold-500);
  box-shadow: var(--shadow-lift);
  transition: transform .3s ease;
}
.event-card:hover { transform: translateY(-6px); }
.event-header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.event-header h3 { color: var(--blue-900); }
.event-date {
  min-width: 76px;
  padding: 8px 4px;
  border-radius: 16px;
  background: var(--red-700);
  color: #fff;
  text-align: center;
}
.event-day { display: block; font-size: 1.75rem; font-weight: 800; line-height: 1; }
.event-month { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.event-meta { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; color: var(--ink-soft); font-size: .95rem; }
.event-meta li { display: flex; gap: 10px; align-items: flex-start; }
.event-meta i { color: var(--green-700); margin-top: 3px; }
.event-card p { color: var(--ink-soft); margin: 0; }

/* Leaderboards */
.leaderboard-card { padding: 24px; border-radius: 28px; background: #fff; box-shadow: var(--shadow-soft); }
.leaderboard-tabs { gap: 8px; margin-bottom: 24px; }
.leaderboard-tabs .nav-link {
  padding: 10px 20px;
  border-radius: 999px;
  color: var(--blue-900);
  font-weight: 800;
  background: var(--blue-50);
}
.leaderboard-tabs .nav-link.active { background: var(--green-700); color: #fff; }
.leaderboard-filters { margin-bottom: 24px; }
.leaderboard-filters .form-select:disabled { background-color: #F1F4F9; color: var(--ink-soft); }
.leaderboard-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); border-bottom-width: 2px; }
.leaderboard-table td { padding: 14px 12px; }
.rank-badge {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-900);
  font-weight: 800;
}
.rank-1 { background: var(--gold-500); }
.rank-2 { background: #D9E2F0; }
.rank-3 { background: #F1C9A0; }

/* Benefits */
.benefit-card {
  padding: 32px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 6px solid var(--green-500);
  box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease;
}
.benefit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.benefit-card p { color: var(--ink-soft); margin: 0; }
.benefit-card h3 { margin-bottom: 12px; }
.benefit-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 18px;
  font-size: 1.75rem;
}
.benefit-green { border-top-color: var(--green-500); }
.benefit-green .benefit-icon { background: var(--green-100); color: var(--green-900); }
.benefit-blue { border-top-color: var(--blue-500); }
.benefit-blue .benefit-icon { background: var(--blue-100); color: var(--blue-900); }
.benefit-gold { border-top-color: var(--gold-500); }
.benefit-gold .benefit-icon { background: var(--gold-500); color: var(--blue-900); }
.benefit-red { border-top-color: var(--red-500); }
.benefit-red .benefit-icon { background: var(--red-50); color: var(--red-700); }
.benefit-navy { border-top-color: var(--blue-900); }
.benefit-navy .benefit-icon { background: var(--blue-900); color: #fff; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery-item { margin: 0; }
.gallery-trigger {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: var(--blue-900);
  box-shadow: var(--shadow-soft);
}
.gallery-trigger img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-trigger:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 16px 14px;
  background: linear-gradient(transparent, rgba(6, 41, 94, .92));
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  text-align: left;
}
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 992px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.photo-modal { border-radius: 20px; overflow: hidden; border: 0; }
#photoModalImage { max-height: 75vh; object-fit: contain; background: var(--ink); }

/* Call to action */
.section-cta { padding: 0 0 56px; }
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 48px 32px;
  border-radius: 32px;
  color: #fff;
  background: linear-gradient(120deg, var(--green-700) 0%, var(--blue-700) 55%, var(--blue-900) 100%);
  box-shadow: var(--shadow-lift);
}
.cta-shape { position: absolute; border-radius: 50%; pointer-events: none; }
.cta-shape-gold { width: 260px; height: 260px; right: -80px; top: -100px; background: var(--gold-500); opacity: .28; }
.cta-shape-red { width: 200px; height: 200px; left: -70px; bottom: -110px; background: var(--red-500); opacity: .3; }
.cta-title { color: #fff; font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.cta-title-accent { color: var(--gold-300); }
.cta-text { color: rgba(255, 255, 255, .92); font-size: 1.1rem; }
.cta-actions .btn { width: 100%; }
@media (min-width: 576px) { .cta-banner { padding: 56px 48px; } }

/* Contact */
.contact-card { padding: 40px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.contact-list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list i {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue-700);
}

/* Footer */
.site-footer {
  position: relative;
  background: var(--blue-900);
  color: #fff;
}
.site-footer::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--green-500) 0 33%, var(--gold-500) 33% 66%, var(--red-500) 66%);
}
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-accent { color: var(--gold-300); }
.footer-brand .brand-logo { width: 56px; height: 56px; padding: 4px; border-radius: 12px; background: #fff; }
.footer-heading { font-size: .85rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 16px; }
.footer-links { margin: 0; }
.footer-links a { display: inline-block; padding: 6px 0; color: rgba(255, 255, 255, .88); text-decoration: none; transition: color .2s ease, padding-left .2s ease; }
.footer-links a:hover { color: var(--gold-300); padding-left: 6px; }
.footer-pending { display: inline-block; padding: 6px 0; color: rgba(255, 255, 255, .72); }
.footer-contact { margin: 0; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 10px; color: rgba(255, 255, 255, .88); font-size: .95rem; }
.footer-contact i { color: var(--gold-300); margin-top: 4px; }
.footer-divider { border-color: rgba(255, 255, 255, .2); opacity: 1; }

/* Scroll reveal (only when JavaScript runs) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.hero-content .reveal { animation: fadeUp .9s ease both; }
.hero-content .reveal:nth-child(2) { animation-delay: .1s; }
.hero-content .reveal:nth-child(3) { animation-delay: .2s; }
.hero-content .reveal:nth-child(4) { animation-delay: .3s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

@media (min-width: 768px) {
  .section { padding: 88px 0; }
  .hero { padding: 96px 0 128px; }
  .leaderboard-card { padding: 40px; }
  .contact-card { padding: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* Member dashboard */
.member-dashboard { padding-top: 32px; padding-bottom: 64px; }
.member-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-soft); padding: 24px 16px; margin-top: 16px; }
.member-hero { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-soft); padding: 24px 16px; display: flex; flex-direction: column; gap: 16px; }
.member-hero__identity { display: flex; align-items: center; gap: 16px; }
.member-hero__text { min-width: 0; }
.member-eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-700); }
.member-title { font-size: 1.375rem; line-height: 1.2; font-weight: 800; color: var(--blue-900); overflow-wrap: anywhere; }
.member-muted { color: var(--ink-soft); line-height: 1.5; }

.dashboard-banners { margin-top: 16px; }
.dashboard-banner-track { display: flex; gap: 12px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.dashboard-banner-track::-webkit-scrollbar { display: none; }
.dashboard-banner { flex: 0 0 100%; aspect-ratio: 3 / 1; scroll-snap-align: start; border-radius: 14px; overflow: hidden; background: #E9EEF6; opacity: .85; transition: opacity .4s ease; }
.dashboard-banner__link,
.dashboard-banner__media { display: block; width: 100%; height: 100%; }
.dashboard-banner img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.dashboard-banner__link { transition: transform .2s ease; -webkit-tap-highlight-color: transparent; }
.dashboard-banner__link:active { transform: scale(.985); }
.dashboard-banner__link:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .dashboard-banner__link { transition: none; } }
@media (min-width: 768px) { .dashboard-banner { flex-basis: 100%; } }
.dashboard-banner.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .dashboard-banner { transition: none; } }

.member-avatar { width: 88px; height: 88px; min-width: 88px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold-300); background: var(--blue-50); }
.member-avatar--initials { display: inline-flex; align-items: center; justify-content: center; background: var(--blue-900); color: #fff; font-size: 1.75rem; font-weight: 800; border-color: var(--blue-900); }
.member-photo-tool summary { cursor: pointer; font-weight: 700; color: var(--blue-700); list-style: none; }
.member-photo-tool summary::-webkit-details-marker { display: none; }
.member-photo-tool summary:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 4px; border-radius: 4px; }
.member-photo-form { margin-top: 16px; padding: 16px; background: var(--blue-50); border-radius: 16px; }
.member-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.member-actions .btn { flex: 1 1 auto; }
.member-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.member-stat { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-soft); padding: 16px; display: flex; flex-direction: column; gap: 8px; border-top: 4px solid var(--green-500); transition: transform .2s ease, box-shadow .2s ease; }
.member-stat--gold { border-top-color: var(--gold-500); background: #FFF8E1; }
.member-stat--green { border-top-color: var(--green-500); background: var(--green-50); }
.member-stat--blue { border-top-color: var(--blue-500); background: var(--blue-50); }
.member-stat--teal { border-top-color: #0F7C7A; background: #EEF9F8; }
.member-stat__icon { font-size: 1.25rem; line-height: 1; }
.member-stat--gold .member-stat__icon { color: #9A6700; }
.member-stat--green .member-stat__icon { color: var(--green-700); }
.member-stat--blue .member-stat__icon { color: var(--blue-700); }
.member-stat--teal .member-stat__icon { color: #0F7C7A; }
.member-stat:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.member-stat__value { font-size: 1.75rem; line-height: 1.1; font-weight: 800; color: var(--blue-900); }
.member-stat__label { font-size: .875rem; line-height: 1.4; color: var(--ink-soft); }
.member-section-head { display: flex; flex-direction: column; gap: 16px; }
.member-section-title { font-size: 1.125rem; font-weight: 800; color: var(--blue-900); margin: 0 0 4px; line-height: 1.2; }
.member-list { list-style: none; margin: 16px 0 0; padding: 0; }
.member-item { padding: 16px 0; border-top: 1px solid var(--line); }
.member-item__row { display: flex; flex-direction: column; gap: 8px; }
.member-item__text { min-width: 0; }
.member-item__title { font-weight: 700; color: var(--ink); margin: 0 0 4px; overflow-wrap: anywhere; }
.member-item__status { flex-shrink: 0; }
.member-more { margin-top: 8px; }
.member-more summary { cursor: pointer; font-weight: 700; color: var(--blue-700); padding: 8px 0; }
.member-profile > summary { cursor: pointer; list-style: none; }
.member-profile > summary::-webkit-details-marker { display: none; }
.member-profile > summary::after { content: '+'; float: right; font-weight: 800; color: var(--blue-700); }
.member-profile[open] > summary::after { content: '\2212'; }
.member-card summary:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 4px; border-radius: 4px; }

@media (min-width: 576px) {
  .member-hero { padding: 32px; }
  .member-card { padding: 32px; }
  .member-section-head { flex-direction: row; justify-content: space-between; align-items: center; }
  .member-item__row { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 16px; }
  .member-item__status { text-align: right; }
}

@media (min-width: 768px) {
  .member-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .member-stat__value { font-size: 2rem; }
  .member-title { font-size: 1.75rem; }
}

.member-dashboard .status-pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .75rem; font-weight: 700; line-height: 1.4; white-space: nowrap; background: var(--blue-100); color: var(--blue-900); }
.member-dashboard .status-submitted, .member-dashboard .status-pending { background: var(--blue-100); color: var(--blue-900); }
.member-dashboard .status-returned { background: #FFF3D6; color: #7A4A00; }
.member-dashboard .status-approved, .member-dashboard .status-accepted { background: var(--green-100); color: var(--green-900); }
.member-dashboard .status-rejected, .member-dashboard .status-removed { background: var(--red-50); color: var(--red-900); }

.member-topbar { position: sticky; top: 0; z-index: 1020; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 0; }
.member-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-900); text-decoration: none; font-weight: 800; }
.member-brand:hover { color: var(--blue-700); }
.member-brand__logo { width: 36px; height: 36px; object-fit: contain; }
.member-brand__name { font-size: 1.125rem; }
.member-topnav { gap: 24px; }
.member-topnav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; padding: 8px 0; border-bottom: 3px solid transparent; }
.member-topnav a:hover { color: var(--blue-900); }
.member-topnav a.is-active { color: var(--blue-900); border-bottom-color: var(--gold-500); }
.member-topbar .btn { white-space: nowrap; }

.member-avatar-wrap { position: relative; flex-shrink: 0; width: 96px; height: 96px; }
.member-avatar-wrap .member-avatar { width: 96px; height: 96px; min-width: 96px; }
.member-camera { position: absolute; right: -2px; bottom: -2px; width: 36px; height: 36px; border-radius: 50%; background: var(--green-700); color: #fff; display: inline-flex; align-items: center; justify-content: center; border: 3px solid #fff; text-decoration: none; transition: background .2s ease; }
.member-camera:hover, .member-camera:focus-visible { background: var(--green-900); color: #fff; }
.member-role { font-weight: 700; color: var(--green-700); }
.member-hero__cta { margin-top: 16px; width: 100%; }
.member-icon-green { color: var(--green-700); margin-right: 4px; }
.member-icon-gold { color: #B57A00; margin-right: 4px; }
.member-link { color: var(--green-700); font-weight: 700; text-decoration: none; white-space: nowrap; }
.member-link:hover { color: var(--green-900); }

.member-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.member-action { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 96px; padding: 16px 8px; border-radius: 16px; border: 1px solid var(--line); background: #fff; color: var(--blue-900); font-weight: 700; font-size: .875rem; text-align: center; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.member-action i { font-size: 1.5rem; color: var(--green-700); }
.member-action:hover, .member-action:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow-soft); border-color: var(--green-500); color: var(--blue-900); }

.group-confirm > summary { list-style: none; display: inline-block; }
.group-confirm > summary::-webkit-details-marker { display: none; }
.group-confirm__panel { margin-top: 8px; max-width: 260px; }
.member-action--primary { background: var(--gold-500); border-color: var(--gold-500); }
.member-action--primary i { color: var(--blue-900); }
.member-action--primary:hover, .member-action--primary:focus-visible { background: var(--gold-300); border-color: var(--gold-300); }
.member-action--disabled { opacity: .75; cursor: not-allowed; background: #F4F6F9; }
.member-action--disabled i { color: var(--ink-soft); }
.member-action--disabled small { font-weight: 600; color: var(--ink-soft); font-size: .75rem; }

.member-empty { text-align: center; padding: 24px 8px 8px; }
.member-empty__icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green-100); color: var(--green-700); font-size: 1.75rem; margin-bottom: 16px; }
.member-empty__title { font-weight: 800; color: var(--blue-900); }

.member-referral-status { display: flex; align-items: center; gap: 8px; padding: 16px; border-radius: 14px; background: #F4F6F9; color: var(--ink-soft); line-height: 1.5; }
.member-referral-status i { color: var(--ink-soft); }

.member-progress { height: 10px; border-radius: 999px; background: var(--blue-50); overflow: hidden; }
.member-progress span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--green-500), var(--green-700)); transition: width .6s ease; }

.member-profile__group { padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--line); }
.member-profile__heading { font-size: .875rem; font-weight: 800; color: var(--green-700); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 8px; }

.member-bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1020; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(6, 41, 94, .08); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); }
.member-bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 56px; border-radius: 16px; color: var(--ink-soft); text-decoration: none; font-size: .75rem; font-weight: 700; }
.member-bottom-nav a i { font-size: 1.25rem; }
.member-bottom-nav a.is-active { color: var(--green-900); background: var(--green-100); }
.member-bottom-nav a:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; }

@media (max-width: 991.98px) {
  .member-dashboard { padding-bottom: 104px; }
}

@media (min-width: 576px) {
  .member-quick { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .member-hero__cta { width: auto; }
}

@media (min-width: 992px) {
  .member-bottom-nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .member-action, .member-camera, .member-progress span { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  .member-stat { transition: none; }
}

/* WhatsApp floating button */
.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1050;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-fab:hover {
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, .5);
}
.whatsapp-fab:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
}
@media (max-width: 575.98px) {
  .whatsapp-fab { width: 48px; height: 48px; font-size: 1.5rem; right: 16px; bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab { transition: none; }
}

/* Hero slide carousel */
.hero-slides {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 72px 0 112px;
  color: #fff;
  overflow: hidden;
  background: var(--blue-900);
}
.hero-slide-track {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.is-active {
  opacity: 1;
}
.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  text-align: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
  padding: 0 24px;
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, rgba(6, 41, 94, .88) 0%, rgba(6, 41, 94, .72) 48%, rgba(8, 122, 61, .45) 100%);
}
.hero-slides .hero-content { z-index: 2; }
.hero-slide-dots {
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .6);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background-color .3s ease, border-color .3s ease;
}
.hero-slide-dot.is-active {
  background: var(--gold-500);
  border-color: var(--gold-500);
}
.hero-slide-dot:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
}
@media (max-width: 575.98px) {
  .hero-slide-caption { font-size: .9rem; bottom: 12px; }
  .hero-slide-dots { bottom: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}

/* Group Management Centre (Group Dashboard 2.0) */

.group-logo {
  width: 56px; height: 56px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand-primary, #06295E), #0A3D7C);
  color: #fff; font-size: 1.6rem; flex-shrink: 0;
}
.group-popup { border-left: 4px solid var(--brand-accent, #FFB21A); }
.group-shortcut {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 14px 8px; border-radius: 14px; background: #fff;
  border: 1px solid rgba(6, 41, 94, .1); text-align: center;
  text-decoration: none; color: var(--brand-primary, #06295E);
  font-size: .8rem; font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease;
}
.group-shortcut i { font-size: 1.3rem; }
.group-shortcut span { line-height: 1.2; }
.group-shortcut:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(6, 41, 94, .12); color: var(--brand-primary, #06295E); }
.stat-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 18px 20px;
}
.stat-card__value { font-size: 1.9rem; font-weight: 800; color: var(--brand-primary, #06295E); line-height: 1.1; }
@media (max-width: 575.98px) {
  .stat-card__value { font-size: 1.45rem; }
}
.group-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1030;
  background: #fff; border-top: 1px solid rgba(6, 41, 94, .12);
  box-shadow: 0 -4px 16px rgba(6, 41, 94, .08);
  padding-bottom: env(safe-area-inset-bottom, 0);
  overflow: hidden;
}
.group-bottom-nav__inner { display: flex; max-width: 640px; margin: 0 auto; }
.group-bottom-nav__item {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 4px 10px; text-decoration: none;
  color: rgba(6, 41, 94, .55); font-size: .68rem; font-weight: 600;
  transition: color .2s ease;
}
.group-bottom-nav__item span {
  max-width: 100%; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; line-height: 1.2;
}
.group-bottom-nav__item i { font-size: 1.25rem; }
.group-bottom-nav__item:hover, .group-bottom-nav__item.is-active { color: var(--brand-primary, #06295E); }
.group-bottom-nav__item.is-active i { color: var(--brand-secondary, #08A34A); }
/* In-flow clearance so the fixed nav never covers the footer or the last card. */
.group-nav-spacer { height: 76px; }
@media (min-width: 768px) {
  .group-bottom-nav { display: none; }
  .group-nav-spacer { display: none; }
}
