/* ========================================================
   FUTURE FOUNDERS — Main Stylesheet
   Designed for easy conversion to Laravel Blade/Dynamic
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --primary: #1A3B8F;
  --primary-dark: #142E6E;
  --primary-light: #EBF0FA;
  --secondary: #0D1F45;
  --secondary-light: #162D5A;
  --accent: #2D8B4E;
  --accent-light: #E8F5EE;
  --gold: #F5A623;
  --gold-light: #FEF5E0;
  --surface: #FFFFFF;
  --surface-alt: #F7F9FC;
  --text: #0D1F45;
  --text-muted: #5A6B8A;
  --border: #E2E8F2;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-2xl: 28px;
  --shadow-sm: 0 2px 8px rgba(13,31,69,0.04);
  --shadow-md: 0 8px 30px rgba(13,31,69,0.06);
  --shadow-lg: 0 20px 50px rgba(13,31,69,0.08);
  --shadow-primary: 0 8px 30px rgba(26,59,143,0.3);
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --max-width: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--surface); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
img { max-width: 100%; display: block; }
button { font-family: var(--font-display); cursor: pointer; border: none; outline: none; transition: all 0.3s ease; }
input, textarea, select { font-family: var(--font-body); outline: none; }
ul, ol { list-style: none; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 10px; }

/* ---------- Animations ---------- */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes floatIcon {
  from { transform: translateY(0) rotate(0deg); }
  to   { transform: translateY(-20px) rotate(8deg); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.3s; }

/* ---------- Utility ---------- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 100px 0; }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-10 { gap: 10px; }
.gap-14 { gap: 14px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-40 { gap: 40px; }

/* ---------- Typography ---------- */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
}
.section-badge--primary { color: var(--primary); background: var(--primary-light); }
.section-badge--accent  { color: var(--accent);  background: var(--accent-light); }
.section-badge--gold    { color: var(--gold);    background: var(--gold-light); }
.section-badge--purple  { color: #7C3AED;        background: #F3EEFF; }
.section-badge--pink    { color: #DB2777;        background: #FDF2F8; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  color: var(--secondary);
  letter-spacing: -0.03em;
  margin-top: 20px;
  line-height: 1.12;
}
.section-subtitle {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.7;
  max-width: 550px;
}
.section-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--radius-lg);
  padding: 16px 36px;
  font-size: 16px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: var(--shadow-primary);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(26,59,143,0.4);
}
.btn--outline {
  color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}
.btn--outline:hover { background: rgba(255,255,255,0.15); }
.btn--outline-dark {
  color: var(--primary);
  background: var(--primary-light);
  border: 1.5px solid transparent;
}
.btn--outline-dark:hover { background: #FFE5D4; }
.btn--sm { padding: 12px 24px; font-size: 14px; border-radius: var(--radius-md); }
.btn--full { width: 100%; justify-content: center; }
.btn--ghost { color: var(--primary); background: transparent; padding: 8px 16px; }
.btn--ghost:hover { background: var(--primary-light); }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.4s ease;
  padding: 0 24px;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.navbar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.navbar__logo-icon {
  height: 42px;
  width: auto;
  object-fit: contain;
}
.navbar__logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  transition: color 0.3s;
}

/* Nav links */
.navbar__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.navbar__link {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border-radius: 10px;
  padding: 8px 16px;
  transition: all 0.3s;
}
.navbar__link:hover,
.navbar__link.active {
  color: var(--primary);
  background: var(--primary-light);
}
.navbar__cta {
  margin-left: 8px;
}

/* Hero-specific: white text on dark bg */
/* navbar always solid white */

.navbar.scrolled .navbar__logo-text { color: var(--secondary); }
.navbar.scrolled .navbar__link { color: var(--text-muted); }
.navbar.scrolled .navbar__link:hover,
.navbar.scrolled .navbar__link.active {
  color: var(--primary);
  background: var(--primary-light);
}

/* Mobile menu */
.navbar__mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.navbar__mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 20px;
}
.navbar__mobile-menu.open { display: flex; }
.navbar__mobile-link {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  text-align: left;
  transition: all 0.2s;
}
.navbar__mobile-link:hover,
.navbar__mobile-link.active {
  color: var(--primary);
  background: var(--primary-light);
}

@media (max-width: 900px) {
  .navbar__links { display: none; }
  .navbar__cta.desktop-only { display: none; }
  .navbar__mobile-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--secondary) 0%, #162D5A 50%, #1A3560 100%);
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
}
.hero__bg-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero__bg-circle--1 {
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(26,59,143,0.08), transparent 70%);
}
.hero__bg-circle--2 {
  bottom: -120px; left: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(45,139,78,0.06), transparent 70%);
}
.hero__shape {
  position: absolute;
  pointer-events: none;
  border: 2px solid rgba(26,59,143,0.12);
}
.hero__shape--1 {
  top: 20%; right: 10%;
  width: 120px; height: 120px;
  border-radius: 24px;
  transform: rotate(45deg);
}
.hero__shape--2 {
  bottom: 25%; left: 8%;
  width: 80px; height: 80px;
  border-radius: 50%;
  border-color: rgba(45,139,78,0.12);
}
.hero__floating-icon {
  position: absolute;
  opacity: 0.1;
  pointer-events: none;
  animation: floatIcon 4s ease-in-out infinite alternate;
}
.hero__content {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}
.hero__inner { max-width: 700px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26,59,143,0.12);
  border: 1px solid rgba(26,59,143,0.25);
  border-radius: 100px;
  padding: 8px 20px;
  margin-bottom: 28px;
  animation: fadeSlideUp 0.6s ease both;
}
.hero__badge-icon { font-size: 14px; }
.hero__badge-text {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.03em;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 900;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  animation: fadeSlideUp 0.7s ease 0.1s both;
}
.hero__title .gradient-text {
  background: linear-gradient(135deg, var(--gold), #F7B84E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__desc {
  font-family: var(--font-body);
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 550px;
  animation: fadeSlideUp 0.7s ease 0.2s both;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fadeSlideUp 0.7s ease 0.3s both;
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 60px;
  animation: fadeSlideUp 0.7s ease 0.45s both;
}
.hero__stat-number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
}
.hero__stat-label {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  font-weight: 600;
  margin-top: 2px;
}

/* ---------- Card Grids ---------- */
.card-grid {
  display: grid;
  gap: 20px;
}
.card-grid--3 { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card-grid--2 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }

/* ---------- Program Cards ---------- */
.program-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 28px;
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.program-card__glow {
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  border-radius: 50%;
  opacity: 0.05;
  pointer-events: none;
}
.program-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 18px;
}
.program-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.program-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}
.program-card__tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.program-card__tag {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
}
.program-card__tag--muted {
  color: var(--text-muted);
  background: #F3F4F8;
}

/* ---------- CBA Section ---------- */
.cba-selector {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}
.cba-selector__btn {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  border-radius: 14px;
  padding: 12px 22px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 2px solid transparent;
}
.cba-selector__btn:hover { transform: translateY(-2px); }
.cba-selector__btn.active { color: #fff; }

.cba-detail {
  max-width: 700px;
  margin: 0 auto;
  border-radius: var(--radius-2xl);
  padding: 48px 44px;
  text-align: center;
  transition: all 0.5s ease;
  border: 2px solid transparent;
}
.cba-detail__icon {
  width: 80px; height: 80px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.cba-detail__level {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: #fff;
}
.cba-detail__title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: var(--secondary);
  letter-spacing: -0.02em;
}
.cba-detail__desc {
  font-size: 17px;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.7;
}
.cba-detail__skills {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.cba-detail__skill {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  background: #fff;
  padding: 8px 20px;
  border-radius: var(--radius-md);
}

/* CBA List (for cba-levels.html) */
.cba-list-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex;
  gap: 28px;
  align-items: center;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  flex-wrap: wrap;
}
.cba-list-card:hover {
  transform: translateY(-3px);
}
.cba-list-card__icon {
  width: 72px; height: 72px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cba-list-card__number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  color: #fff;
}
.cba-list-card__body { flex: 1; min-width: 200px; }
.cba-list-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--secondary);
}
.cba-list-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.65;
}
.cba-list-card__skills {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

/* ---------- Camp Cards ---------- */
.camp-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.4s ease;
  cursor: pointer;
}
.camp-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.camp-card__image {
  height: 160px;
  background: linear-gradient(135deg, var(--secondary), #1A3560);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
}
.camp-card__price {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--gold);
  color: #fff;
  border-radius: 10px;
  padding: 6px 14px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}
.camp-card__body { padding: 24px; }
.camp-card__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 12px;
}
.camp-card__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.camp-card__info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---------- Event Cards ---------- */
.event-card {
  background: var(--surface-alt);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  flex-wrap: wrap;
}
.event-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.event-card__left {
  display: flex;
  align-items: center;
  gap: 18px;
}
.event-card__icon {
  width: 60px; height: 60px;
  border-radius: 18px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.event-card__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--secondary);
}
.event-card__meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--surface-alt);
  border-radius: var(--radius-xl);
  padding: 30px;
  border: 1px solid var(--border);
  position: relative;
  height: 100%;
}
.testimonial-card__quote {
  position: absolute;
  top: 18px; right: 24px;
  font-size: 36px;
  color: var(--primary);
  opacity: 0.12;
  font-family: Georgia, serif;
  font-weight: 900;
  line-height: 1;
}
.testimonial-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.testimonial-card__avatar {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(26,59,143,0.12), rgba(45,139,78,0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}
.testimonial-card__name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary);
}
.testimonial-card__role {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}
.testimonial-card__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}
.testimonial-card__stars {
  display: flex;
  gap: 3px;
  margin-top: 16px;
  font-size: 14px;
}

/* ---------- CTA Section ---------- */
.cta-section {
  padding: 100px 24px;
  background: linear-gradient(160deg, var(--secondary), #162D5A);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.cta-section__desc {
  font-family: var(--font-body);
  font-size: 18px;
  color: rgba(255,255,255,0.55);
  margin-top: 20px;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-section__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  padding: 152px 24px 60px;
  background: linear-gradient(160deg, var(--secondary), #162D5A);
  text-align: center;
}
.page-header__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
}
.page-header__subtitle {
  font-family: var(--font-body);
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  margin-top: 14px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ---------- About Cards ---------- */
.about-card {
  background: var(--surface-alt);
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1px solid var(--border);
}
.about-card__icon { font-size: 40px; margin-bottom: 18px; }
.about-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 12px;
}
.about-card__desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ---------- Forms ---------- */
.form-group { margin-bottom: 22px; }
.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: #fff;
  transition: border-color 0.3s;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--primary);
}
.form-textarea { resize: vertical; }
.form-card {
  background: var(--surface-alt);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid var(--border);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Auth Pages ---------- */
.auth-page {
  min-height: 100vh;
  padding: 120px 24px 60px;
  background: linear-gradient(160deg, var(--secondary), #162D5A);
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-card {
  background: #fff;
  border-radius: var(--radius-2xl);
  padding: 48px 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}
.auth-card__logo {
  width: auto;
  height: 64px;
  margin: 0 auto 18px;
  display: block;
  object-fit: contain;
}
.auth-card__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: var(--secondary);
  text-align: center;
}
.auth-card__subtitle {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 6px;
  margin-bottom: 32px;
}
.auth-card__footer {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 24px;
}
.auth-card__footer a {
  color: var(--primary);
  font-weight: 600;
}
.auth-card__forgot {
  text-align: right;
  margin-bottom: 24px;
}
.auth-card__forgot a {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
}

/* ---------- Partners Section ---------- */
.partner-feature {
  display: flex;
  gap: 30px;
  align-items: center;
  padding: 40px;
  background: var(--surface-alt);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  flex-wrap: wrap;
}
.partner-feature__icon {
  width: 80px; height: 80px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  flex-shrink: 0;
}
.partner-feature__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 8px;
}
.partner-feature__desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer {
  padding: 60px 24px 30px;
  background: #060F1F;
  color: rgba(255,255,255,0.45);
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}
.footer__brand-desc {
  font-size: 13px;
  line-height: 1.7;
  margin-top: 16px;
}
.footer__col-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.footer__link {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  padding: 5px 0;
  transition: color 0.2s;
}
.footer__link:hover { color: var(--primary); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .section-padding { padding: 70px 0; }
  .hero { padding: 100px 20px 60px; }
  .hero__stats { gap: 24px; }
  .card-grid--3 { grid-template-columns: 1fr; }
  .cba-detail { padding: 32px 24px; }
  .cta-section { padding: 70px 20px; }
  .page-header { padding: 120px 20px 48px; }
  .auth-card { padding: 36px 28px; }
  .form-card { padding: 32px 24px; }
  .event-card { flex-direction: column; align-items: flex-start; }
  .event-card .btn { width: 100%; justify-content: center; }
  .cba-list-card { flex-direction: column; text-align: center; }
  .cba-list-card__skills { justify-content: center; }
  .cba-list-card .btn { width: 100%; justify-content: center; }
  .partner-feature { flex-direction: column; text-align: center; }
}

/* Brand-specific gradient text override */
.cta-section .gradient-text,
.hero__title .gradient-text {
  background: linear-gradient(135deg, var(--gold), #F7B84E) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}


/* ---------- Dual Logo System ---------- */
.navbar__logo-white { display: block; }
.navbar__logo-color { display: none; }
.navbar.scrolled .navbar__logo-white { display: none; }
.navbar.scrolled .navbar__logo-color { display: block; }
/* Inner pages (no hero): always show color logo */
.navbar:not(.navbar--hero) .navbar__logo-white { display: none; }
.navbar:not(.navbar--hero) .navbar__logo-color { display: block; }
/* Footer: always white */
.footer .navbar__logo-color { display: none !important; }
.footer .navbar__logo-white { display: block !important; }

/* ---------- Checkout / Enrollment Pages ---------- */
.checkout-page {
  padding-top: 72px;
}
.checkout-header {
  padding: 60px 24px 40px;
  background: linear-gradient(160deg, var(--secondary), var(--secondary-light));
  text-align: center;
}
.checkout-header__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
}
.checkout-header__subtitle {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  margin-top: 8px;
}
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  align-items: flex-start;
}
@media (max-width: 860px) {
  .checkout-grid { grid-template-columns: 1fr; }
}
.checkout-summary {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 32px;
  position: sticky;
  top: 92px;
}
.checkout-summary__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.checkout-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
}
.checkout-summary__row span:first-child { color: var(--text-muted); }
.checkout-summary__row span:last-child { font-weight: 700; color: var(--secondary); }
.checkout-summary__total {
  border-top: 2px solid var(--border);
  margin-top: 12px;
  padding-top: 16px;
  font-family: var(--font-display);
}
.checkout-summary__total span:last-child {
  font-size: 22px;
  font-weight: 900;
  color: var(--primary);
}
.checkout-summary__discount {
  margin-top: 16px;
  display: flex;
  gap: 8px;
}
.checkout-summary__discount input {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  font-size: 13px;
}
.checkout-summary__discount button {
  padding: 10px 18px;
  border-radius: var(--radius-md);
  background: var(--surface-alt);
  border: 1.5px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

.checkout-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 36px;
}
.checkout-form__section-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.checkout-form__section-title span {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--primary);
  font-weight: 800;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 500px) {
  .form-row { grid-template-columns: 1fr; }
}
.checkout-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}

/* Item preview card inside checkout */
.checkout-item {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}
.checkout-item__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}
.checkout-item__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--secondary);
}
.checkout-item__meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---------- Navbar Always Solid White ---------- */
.navbar {
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid var(--border) !important;
}
.navbar .navbar__logo-text { color: var(--secondary) !important; }
.navbar .navbar__link { color: var(--text-muted) !important; }
.navbar .navbar__link:hover,
.navbar .navbar__link.active { color: var(--primary) !important; background: var(--primary-light) !important; }
/* Always show color logo in navbar */
.navbar .navbar__logo-white { display: none !important; }
.navbar .navbar__logo-color { display: block !important; }
/* Footer still uses white logo */
.footer .navbar__logo-white { display: block !important; }
.footer .navbar__logo-color { display: none !important; }

/* ---------- Hero with Image ---------- */
.hero__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}
.hero__image {
  flex-shrink: 0;
  max-width: 420px;
  width: 100%;
  animation: fadeSlideUp 0.8s ease 0.5s both;
}
.hero__image img {
  width: 100%;
  border-radius: var(--radius-2xl);
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}
@media (max-width: 900px) {
  .hero__content { flex-direction: column; }
  .hero__image { max-width: 340px; order: -1; }
}

/* ---------- Program Card Images ---------- */
.program-card__image {
  width: 100%;
  height: 160px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  margin-bottom: 18px;
}

/* ---------- Camp Card with Real Images ---------- */
.camp-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Testimonial Real Avatars ---------- */
.testimonial-card__avatar img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

/* ---------- About Page Images ---------- */
.about-image {
  width: 100%;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  margin: 30px 0;
}
.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Partners Row ---------- */
.partners-row {
  margin-top: 50px;
  text-align: center;
}
.partners-row img {
  max-width: 100%;
  height: 80px;
  object-fit: contain;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: all 0.3s;
}
.partners-row img:hover {
  opacity: 1;
  filter: grayscale(0);
}

/* ---------- Partners Infinite Scroll ---------- */
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.partners-section {
  padding: 60px 0;
  background: var(--surface-alt);
  overflow: hidden;
}
.partners-section__title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 32px;
}
.partners-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.partners-marquee__track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marqueeScroll 25s linear infinite;
}
.partners-marquee:hover .partners-marquee__track {
  animation-play-state: paused;
}
.partners-marquee__item {
  flex-shrink: 0;
  height: 60px;
  width: auto;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: all 0.4s ease;
  cursor: pointer;
}
.partners-marquee__item:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.08);
}

/* ============================================
   HERO v2 — Playful Kids Learning Style
   ============================================ */
.hero-v2 {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: #FFF5EB;
  display: flex;
  align-items: center;
  padding: 100px 24px 60px;
}

/* Wavy clouds top */
.hero-v2__waves {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  z-index: 2;
}

/* Scattered decorations */
.hero-v2__deco {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  animation: floatIcon 5s ease-in-out infinite alternate;
}
.hero-v2__dot {
  border-radius: 50%;
  position: absolute;
  pointer-events: none;
}
.hero-v2__sparkle {
  position: absolute;
  font-size: 20px;
  opacity: 0.35;
  pointer-events: none;
  animation: floatIcon 5s ease-in-out infinite alternate;
}

/* Layout */
.hero-v2__content {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 3;
}

/* Left: Kid Image */
.hero-v2__visual {
  flex: 0 0 45%;
  max-width: 500px;
  position: relative;
}
.hero-v2__kid-img {
  width: 100%;
  position: relative;
  z-index: 2;
}
.hero-v2__kid-img img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}
/* Orange blob behind kid */
.hero-v2__blob {
  position: absolute;
  width: 110%;
  height: 90%;
  top: 10%;
  left: -5%;
  z-index: 1;
  border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
  background: linear-gradient(135deg, #F5A623 0%, #FF8C42 100%);
  opacity: 0.18;
  animation: blobFloat 8s ease-in-out infinite alternate;
}
@keyframes blobFloat {
  0%   { border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%; }
  100% { border-radius: 40% 60% 45% 55% / 55% 45% 60% 40%; }
}

/* Floating small photo */
.hero-v2__float-photo {
  position: absolute;
  top: 5%;
  right: -10%;
  width: 140px;
  z-index: 3;
  transform: rotate(8deg);
  animation: fadeSlideUp 0.8s ease 0.6s both;
}
.hero-v2__float-photo img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border: 4px solid #fff;
}

/* Floating icons around visual */
.hero-v2__float-icon {
  position: absolute;
  z-index: 4;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
  animation: floatIcon 4s ease-in-out infinite alternate;
}

/* Right: Text */
.hero-v2__text {
  flex: 1;
  padding-right: 20px;
}
.hero-v2__badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
  animation: fadeSlideUp 0.5s ease both;
}
.hero-v2__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  color: var(--secondary);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  animation: fadeSlideUp 0.6s ease 0.1s both;
}
.hero-v2__title span {
  color: var(--gold);
}
.hero-v2__desc {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 500px;
  animation: fadeSlideUp 0.6s ease 0.2s both;
}
.hero-v2__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fadeSlideUp 0.6s ease 0.3s both;
}
.hero-v2__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #F5A623, #E8950E);
  border: none;
  border-radius: 60px;
  padding: 16px 36px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(245, 166, 35, 0.35);
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hero-v2__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(245, 166, 35, 0.45);
}
.hero-v2__btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary);
  background: transparent;
  border: 2px solid var(--border);
  border-radius: 60px;
  padding: 14px 32px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}
.hero-v2__btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* Stats bar */
.hero-v2__stats {
  display: flex;
  gap: 36px;
  margin-top: 40px;
  animation: fadeSlideUp 0.6s ease 0.45s both;
}
.hero-v2__stat-num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: var(--secondary);
}
.hero-v2__stat-label {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-v2 { padding: 90px 20px 50px; }
  .hero-v2__content { flex-direction: column; text-align: center; }
  .hero-v2__visual { max-width: 320px; order: -1; }
  .hero-v2__text { padding-right: 0; }
  .hero-v2__desc { margin-left: auto; margin-right: auto; }
  .hero-v2__actions { justify-content: center; }
  .hero-v2__stats { justify-content: center; }
  .hero-v2__float-photo { right: 0; width: 110px; }
}

/* ============ Hero Blue Theme Override ============ */
.hero-v2 {
  background: linear-gradient(170deg, #E8F0FE 0%, #D4E4FA 40%, #EBF0FA 100%) !important;
}

/* Blob behind kid - blue instead of orange */
.hero-v2__blob {
  background: linear-gradient(135deg, #1A3B8F 0%, #2B5FCF 100%) !important;
  opacity: 0.12 !important;
}

/* Dots - blue palette */
.hero-v2 .hero-v2__dot:nth-child(1) { background: #1A3B8F !important; }
.hero-v2 .hero-v2__dot:nth-child(2) { background: #4A7FD4 !important; }
.hero-v2 .hero-v2__dot:nth-child(3) { background: #2D8B4E !important; }
.hero-v2 .hero-v2__dot:nth-child(4) { background: #1A3B8F !important; }
.hero-v2 .hero-v2__dot:nth-child(5) { background: #7BA3E0 !important; }
.hero-v2 .hero-v2__dot:nth-child(6) { background: #4A7FD4 !important; }
.hero-v2 .hero-v2__dot:nth-child(7) { background: #1A3B8F !important; }
.hero-v2 .hero-v2__dot:nth-child(8) { background: #2D8B4E !important; }
.hero-v2 .hero-v2__dot:nth-child(9) { background: #7BA3E0 !important; }

/* Sparkles - blue tones */
.hero-v2 .hero-v2__sparkle { color: #1A3B8F !important; opacity: 0.25 !important; }

/* Waves - light blue instead of white */
.hero-v2__waves { fill: #FFFFFF; }

/* Float photo border */
.hero-v2__float-photo img {
  border-color: #D4E4FA !important;
}

/* Stats numbers */
.hero-v2__stat-num {
  color: #1A3B8F !important;
}

/* Secondary button - blue outline */
.hero-v2__btn-secondary {
  border-color: #1A3B8F30 !important;
  color: #1A3B8F !important;
}
.hero-v2__btn-secondary:hover {
  border-color: #1A3B8F !important;
  background: #1A3B8F10 !important;
}

/* ============ Page Header with Background Image ============ */
.page-header {
  padding: 160px 24px 70px !important;
  background: linear-gradient(rgba(13,31,69,0.75), rgba(26,59,143,0.8)), url('../images/page-header-bg.jpg') center/cover no-repeat !important;
  text-align: center;
  position: relative;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, #fff, transparent);
  pointer-events: none;
}
.page-header__breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.page-header__breadcrumb a {
  color: rgba(255,255,255,0.6);
  transition: color 0.3s;
}
.page-header__breadcrumb a:hover {
  color: #fff;
}
.page-header__breadcrumb span {
  color: rgba(255,255,255,0.35);
}
.page-header__breadcrumb .current {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}

/* Checkout header same style */
.checkout-header {
  padding: 160px 24px 70px !important;
  background: linear-gradient(rgba(13,31,69,0.75), rgba(26,59,143,0.8)), url('../images/page-header-bg.jpg') center/cover no-repeat !important;
  text-align: center;
  position: relative;
}
.checkout-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--surface-alt), transparent);
  pointer-events: none;
}

/* Remove frame from small hero photo */
.hero-v2__float-photo img {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* ============ Fix Page Header Bottom Transition ============ */
.page-header::after {
  content: '' !important;
  position: absolute !important;
  bottom: -1px !important;
  left: 0 !important;
  right: 0 !important;
  height: 80px !important;
  background: none !important;
  pointer-events: none !important;
}
.page-header {
  padding-bottom: 100px !important;
  margin-bottom: -1px;
}
.page-header__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  width: 100%;
  line-height: 0;
}
.page-header__wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* Same for checkout header */
.checkout-header::after {
  content: '' !important;
  height: 0 !important;
  background: none !important;
}
.checkout-header {
  padding-bottom: 100px !important;
  margin-bottom: -1px;
  position: relative;
}

/* ============================================
   DASHBOARD LAYOUT
   ============================================ */
.dashboard {
  display: flex;
  min-height: 100vh;
  padding-top: 72px;
}

/* Sidebar */
.sidebar {
  width: 260px;
  background: var(--secondary);
  color: #fff;
  position: fixed;
  top: 72px;
  left: 0;
  bottom: 0;
  overflow-y: auto;
  z-index: 50;
  transition: transform 0.3s ease;
  padding: 24px 0;
}
.sidebar__user {
  padding: 0 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sidebar__avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #4A7FD4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.sidebar__user-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
}
.sidebar__user-role {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  margin-top: 2px;
}
.sidebar__nav { padding: 0 10px; }
.sidebar__label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 14px 8px;
}
.sidebar__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  transition: all 0.25s;
  cursor: pointer;
  margin-bottom: 2px;
  text-decoration: none;
}
.sidebar__link:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}
.sidebar__link.active {
  color: #fff;
  background: rgba(26,59,143,0.5);
}
.sidebar__link-icon {
  font-size: 18px;
  width: 22px;
  text-align: center;
}
.sidebar__link-badge {
  margin-left: auto;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 20px;
}

/* Main content */
.dashboard__main {
  flex: 1;
  margin-left: 260px;
  padding: 32px;
  background: var(--surface-alt);
  min-height: calc(100vh - 72px);
}
.dashboard__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.dashboard__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: var(--secondary);
  letter-spacing: -0.02em;
}
.dashboard__subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Stat Cards Row */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.stat-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 24px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
}
.stat-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.stat-card__value {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  color: var(--secondary);
}
.stat-card__label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

/* Dashboard cards/panels */
.dash-panel {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: 28px;
  margin-bottom: 20px;
}
.dash-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.dash-panel__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--secondary);
}
.dash-panel__action {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  text-decoration: none;
}
.dash-grid { display: grid; gap: 16px; }
.dash-grid--2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.dash-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* Progress bars */
.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--surface-alt);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 10px;
}
.progress-bar__fill {
  height: 100%;
  border-radius: 20px;
  transition: width 0.8s cubic-bezier(0.16,1,0.3,1);
}

/* Course/item cards */
.course-card {
  display: flex;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all 0.3s;
  align-items: center;
}
.course-card:hover { border-color: var(--primary); background: var(--primary-light); }
.course-card__icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.course-card__title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary);
}
.course-card__meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
}
.course-card__progress { flex: 1; }

/* Certificate cards */
.cert-card {
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
  background: linear-gradient(135deg, #FEFCE8, #FFF7ED);
}
.cert-card__icon { font-size: 36px; margin-bottom: 10px; }
.cert-card__title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary);
}
.cert-card__date {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Message list */
.msg-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-md);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
  cursor: pointer;
}
.msg-item:hover { background: var(--surface-alt); }
.msg-item:last-child { border-bottom: none; }
.msg-item__avatar {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.msg-item__title {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700; color: var(--secondary);
}
.msg-item__preview {
  font-size: 12px; color: var(--text-muted); margin-top: 3px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 280px;
}
.msg-item__time {
  font-size: 11px; color: var(--text-muted); margin-left: auto; flex-shrink: 0;
}
.msg-item--unread .msg-item__title { color: var(--primary); }

/* Child card (parent dashboard) */
.child-card {
  padding: 24px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: #fff;
  transition: all 0.3s;
}
.child-card:hover { box-shadow: var(--shadow-md); }
.child-card__header {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
}
.child-card__avatar {
  width: 52px; height: 52px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
}
.child-card__name {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 800; color: var(--secondary);
}
.child-card__age {
  font-size: 12px; color: var(--text-muted); margin-top: 2px;
}

/* Mobile sidebar toggle */
.sidebar-toggle {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 22px;
  z-index: 100;
  box-shadow: 0 6px 20px rgba(26,59,143,0.3);
  cursor: pointer;
}

@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .dashboard__main { margin-left: 0; padding: 20px 16px; }
  .sidebar-toggle { display: flex; align-items: center; justify-content: center; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .stat-cards { grid-template-columns: 1fr; }
}
