/* Bright Path Academy — Main Stylesheet */

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }

/* ===== VARIABLES ===== */
:root {
  --primary:      #1B4F8A;
  --primary-dark: #0F3461;
  --primary-mid:  #2563EB;
  --primary-100:  #DBEAFE;
  --primary-50:   #EFF6FF;

  --accent:       #F59E0B;
  --accent-dark:  #D97706;
  --accent-100:   #FEF3C7;

  --green:   #10B981;
  --rose:    #F43F5E;
  --purple:  #8B5CF6;

  --gray-900: #0F172A;
  --gray-800: #1E293B;
  --gray-700: #334155;
  --gray-600: #475569;
  --gray-500: #64748B;
  --gray-400: #94A3B8;
  --gray-300: #CBD5E1;
  --gray-200: #E2E8F0;
  --gray-100: #F1F5F9;
  --gray-50:  #F8FAFC;
  --white:    #FFFFFF;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-w: 1200px;
  --gap:   clamp(16px, 4vw, 32px);

  --shadow-sm: 0 1px 4px rgba(0,0,0,.08);
  --shadow:    0 4px 20px rgba(27,79,138,.10);
  --shadow-lg: 0 8px 40px rgba(27,79,138,.14);
  --shadow-xl: 0 20px 60px rgba(27,79,138,.18);

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --pill:      9999px;

  --ease: 200ms ease;
}

/* ===== BASE ===== */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 100px 0; }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-100);
  padding: 4px 14px;
  border-radius: var(--pill);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 600px;
  line-height: 1.7;
}

.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 800; line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 600; }
p  { line-height: 1.7; }

.text-sm   { font-size: .875rem; }
.text-xs   { font-size: .75rem; }
.text-lg   { font-size: 1.125rem; }
.text-xl   { font-size: 1.25rem; }
.text-2xl  { font-size: 1.5rem; }

.font-bold   { font-weight: 700; }
.font-medium { font-weight: 500; }

.text-primary { color: var(--primary); }
.text-accent  { color: var(--accent-dark); }
.text-muted   { color: var(--gray-500); }
.text-white   { color: var(--white); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--pill);
  font-size: .95rem;
  font-weight: 600;
  transition: all var(--ease);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(27,79,138,.30);
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 24px rgba(27,79,138,.40);
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(245,158,11,.35);
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary-50);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.1);
}

.btn-ghost {
  background: var(--gray-100);
  color: var(--gray-700);
}
.btn-ghost:hover { background: var(--gray-200); }

.btn-sm  { padding: 9px 20px; font-size: .875rem; }
.btn-lg  { padding: 16px 40px; font-size: 1.05rem; }
.btn-xl  { padding: 18px 48px; font-size: 1.1rem; }

.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== NAVIGATION ===== */
.nav-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--ease);
}
.nav-header.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  flex-shrink: 0;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(27,79,138,.3);
}

.logo-text span { color: var(--accent-dark); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 500;
  color: var(--gray-700);
  white-space: nowrap;
  transition: all var(--ease);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
  background: var(--primary-50);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--ease);
}

/* Hidden on desktop; shown + positioned via the 768px media query */
.nav-mobile { display: none; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(140deg, var(--primary-dark) 0%, var(--primary) 55%, #1E6BB8 100%);
  color: var(--white);
  padding: clamp(60px, 10vw, 120px) 0 clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,158,11,.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--pill);
  padding: 6px 16px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: rgba(255,255,255,.9);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  position: relative;
}

.hero-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: blur(10px);
}

.hero-card.large { grid-column: 1 / -1; }

.hero-card-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.hero-card h4 {
  font-size: .9rem;
  color: rgba(255,255,255,.9);
  margin-bottom: 4px;
}

.hero-card p {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
}

.hero-stat-row {
  display: flex;
  gap: 24px;
  margin-top: 20px;
}

.hero-stat { text-align: center; }
.hero-stat-num {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent);
  display: block;
}
.hero-stat-label {
  font-size: .75rem;
  color: rgba(255,255,255,.65);
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--primary);
  color: var(--white);
  padding: 28px 0;
}

.stats-bar-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.stat-item { text-align: center; }
.stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  display: block;
  line-height: 1;
}
.stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.75);
  margin-top: 4px;
}

/* ===== HOW IT WORKS ===== */
.how-it-works { background: var(--gray-50); }

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  justify-content: center;
}

.tab-btn {
  padding: 10px 28px;
  border-radius: var(--pill);
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--white);
  border: 2px solid var(--gray-200);
  transition: all var(--ease);
}

.tab-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.tab-content { display: none; }
.tab-content.active { display: grid; }

.steps-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }

.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

.step-num {
  width: 44px;
  height: 44px;
  background: var(--primary-50);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.step-card h3 { margin-bottom: 8px; color: var(--gray-900); }
.step-card p  { color: var(--gray-600); font-size: .95rem; }

/* ===== SUBJECTS ===== */
.subjects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-top: 40px; }

.subject-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: all var(--ease);
  cursor: pointer;
}

.subject-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.subject-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.subject-card h4 { font-size: .95rem; color: var(--gray-800); margin-bottom: 4px; }
.subject-card p  { font-size: .8rem; color: var(--gray-500); }

.subject-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--pill);
  margin-top: 6px;
}

/* ===== TUTORS ===== */
.tutors-section { background: var(--gray-50); }

.tutor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin-top: 40px; }

.tutor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: all var(--ease);
}
.tutor-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.tutor-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.tutor-card h3 { font-size: 1rem; margin-bottom: 2px; }
.tutor-role { font-size: .8rem; color: var(--gray-500); margin-bottom: 12px; }

.tutor-subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--pill);
  background: var(--primary-50);
  color: var(--primary);
}

.tag-green  { background: #D1FAE5; color: #065F46; }
.tag-purple { background: #EDE9FE; color: #5B21B6; }
.tag-amber  { background: var(--accent-100); color: #92400E; }
.tag-rose   { background: #FFE4E6; color: #9F1239; }

.tutor-rating { display: flex; align-items: center; gap: 4px; font-size: .85rem; color: var(--gray-600); }
.stars { color: var(--accent); }

/* ===== GIVING BACK ===== */
.giving-back {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
}

.charity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }

.charity-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(8px);
  transition: all var(--ease);
}
.charity-card:hover {
  background: rgba(255,255,255,.15);
  transform: translateY(-2px);
}

.charity-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.charity-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--accent); }
.charity-card p  { font-size: .88rem; color: rgba(255,255,255,.75); line-height: 1.65; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--white); }

.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }

.testimonial-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-200);
}

.quote-mark { font-size: 2.5rem; color: var(--primary-100); line-height: 1; margin-bottom: 12px; }
.testimonial-text { color: var(--gray-700); font-size: .95rem; line-height: 1.7; margin-bottom: 20px; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
}

.author-name { font-size: .9rem; font-weight: 700; color: var(--gray-800); }
.author-role { font-size: .78rem; color: var(--gray-500); }

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--accent-100);
  border-top: 1px solid rgba(245,158,11,.2);
  border-bottom: 1px solid rgba(245,158,11,.2);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 { margin-bottom: 12px; }
.cta-section p  { color: var(--gray-600); margin-bottom: 32px; font-size: 1.05rem; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.75);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p { font-size: .9rem; line-height: 1.7; margin: 14px 0 20px; color: rgba(255,255,255,.6); }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
}

.footer-logo .logo-mark {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: all var(--ease);
}
.social-link:hover { background: var(--primary); transform: translateY(-2px); }

.footer-col h4 {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: .88rem; transition: color var(--ease); color: rgba(255,255,255,.6); }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(140deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 60px 0 56px;
}

.page-header h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 12px; }
.page-header p  { color: rgba(255,255,255,.8); font-size: 1.05rem; max-width: 560px; }

/* ===== CALENDAR ===== */
.calendar-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
}

.calendar-panel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--primary);
  color: var(--white);
}

.cal-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.15);
  color: var(--white);
  transition: background var(--ease);
  font-size: 1rem;
}
.cal-nav-btn:hover { background: rgba(255,255,255,.25); }

.cal-month-label { font-weight: 700; font-size: 1rem; }

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--primary-50);
  border-bottom: 1px solid var(--gray-200);
}

.cal-weekdays span {
  text-align: center;
  padding: 10px 0;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--primary);
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--gray-100);
  cursor: pointer;
  transition: all var(--ease);
  position: relative;
  padding: 4px;
}

.cal-day:hover:not(.empty):not(.past) { background: var(--primary-50); }
.cal-day.today .day-num { background: var(--primary); color: var(--white); border-radius: 50%; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; }
.cal-day.selected { background: var(--primary-50); border-color: var(--primary); }
.cal-day.past { opacity: .4; cursor: default; }
.cal-day.empty { cursor: default; }

.day-num { font-size: .88rem; font-weight: 600; color: var(--gray-700); }
.cal-day.past .day-num { color: var(--gray-400); }

.slot-dots { display: flex; gap: 2px; flex-wrap: wrap; justify-content: center; }
.slot-dot { width: 5px; height: 5px; border-radius: 50%; }

/* Calendar loading / error states */
.cal-loading, .cal-error {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 48px 0;
  color: var(--gray-500);
  font-size: .9rem;
}
.cal-spinner {
  width: 28px; height: 28px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Calendar sidebar */
.slots-panel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: sticky;
  top: 84px;
}

.slots-header {
  padding: 20px 24px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.slots-header h3 { font-size: 1rem; color: var(--gray-900); }
.slots-header p  { font-size: .82rem; color: var(--gray-500); margin-top: 2px; }

.slots-list { padding: 16px; max-height: 600px; overflow-y: auto; }

.slot-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 10px;
  transition: all var(--ease);
  cursor: pointer;
}
.slot-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.slot-card.booked { opacity: .6; cursor: default; }

.slot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.slot-time { font-weight: 700; font-size: .9rem; color: var(--gray-900); }
.slot-status-badge {
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--pill);
}
.slot-status-badge.available { background: #D1FAE5; color: #065F46; }
.slot-status-badge.booked    { background: var(--gray-100); color: var(--gray-500); }

.slot-subject {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--pill);
  margin-bottom: 8px;
  background: var(--primary-50);
  color: var(--primary);
}

.slot-meta { font-size: .82rem; color: var(--gray-500); }
.slot-meta span + span::before { content: ' · '; }

.slot-book-btn {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 9px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 600;
  text-align: center;
  transition: background var(--ease);
}
.slot-book-btn:hover { background: var(--primary-dark); }

.no-slots-msg {
  text-align: center;
  padding: 40px 20px;
  color: var(--gray-500);
}
.no-slots-msg .no-slots-icon { font-size: 2.5rem; margin-bottom: 10px; }

/* Calendar filters */
.cal-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-btn {
  padding: 7px 16px;
  border-radius: var(--pill);
  font-size: .82rem;
  font-weight: 600;
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  background: var(--white);
  transition: all var(--ease);
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--ease);
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(.95) translateY(10px);
  transition: transform var(--ease);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }

.modal-header {
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.modal-header h3 { font-size: 1.15rem; color: var(--gray-900); }
.modal-header p  { font-size: .85rem; color: var(--gray-500); margin-top: 4px; }

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 1rem;
  flex-shrink: 0;
  transition: background var(--ease);
}
.modal-close:hover { background: var(--gray-200); }

.modal-body { padding: 24px 28px; }

.slot-summary {
  background: var(--primary-50);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: .88rem;
  color: var(--primary);
}

.slot-summary strong { display: block; font-size: .95rem; margin-bottom: 4px; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: .92rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--ease), box-shadow var(--ease);
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

textarea { resize: vertical; min-height: 100px; }

.form-note { font-size: .78rem; color: var(--gray-500); margin-top: 4px; }

.form-submit { width: 100%; margin-top: 8px; }

/* Large contact/join forms */
.big-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow);
}

/* ===== ABOUT PAGE ===== */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.value-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

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

.value-icon.blue   { background: var(--primary-50); }
.value-icon.amber  { background: var(--accent-100); }
.value-icon.green  { background: #D1FAE5; }
.value-icon.purple { background: #EDE9FE; }

/* ===== RESOURCES PAGE ===== */
.resource-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }

.resource-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--ease);
}
.resource-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.resource-card-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.resource-card h3 { font-size: 1rem; margin-bottom: 6px; }
.resource-card p  { font-size: .88rem; color: var(--gray-600); }

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 12px;
  transition: gap var(--ease);
}
.resource-link:hover { gap: 8px; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--gray-800);
  text-align: left;
  gap: 12px;
  transition: background var(--ease);
}
.faq-question:hover { background: var(--gray-50); }
.faq-question.open  { color: var(--primary); }

.faq-icon { font-size: 1.1rem; flex-shrink: 0; transition: transform var(--ease); color: var(--gray-400); }
.faq-question.open .faq-icon { transform: rotate(45deg); color: var(--primary); }

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  color: var(--gray-600);
  font-size: .92rem;
  line-height: 1.7;
}
.faq-answer.open { display: block; }

/* ===== DONATE PAGE ===== */
.donation-tiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin: 28px 0; }

.tier-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--ease);
}
.tier-card:hover { border-color: var(--primary); }
.tier-card.selected { border-color: var(--primary); background: var(--primary-50); }

.tier-amount { font-size: 2rem; font-weight: 900; color: var(--primary); margin-bottom: 6px; }
.tier-desc   { font-size: .82rem; color: var(--gray-600); }

/* ===== NEWSLETTER ===== */
.newsletter {
  background: var(--gray-900);
  padding: 60px 0;
  color: var(--white);
  text-align: center;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 24px auto 0;
}

.newsletter-form input {
  flex: 1;
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.2);
  color: var(--white);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245,158,11,.2); }

/* ===== ALERT / NOTICES ===== */
.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: .88rem;
}
.notice-blue   { background: var(--primary-50);  border: 1px solid var(--primary-100); color: var(--primary); }
.notice-green  { background: #D1FAE5; border: 1px solid #A7F3D0; color: #065F46; }
.notice-amber  { background: var(--accent-100);  border: 1px solid #FDE68A; color: #92400E; }

/* ===== SUCCESS STATE ===== */
.success-msg {
  text-align: center;
  padding: 40px;
  display: none;
}
.success-msg .success-icon { font-size: 3rem; margin-bottom: 14px; }
.success-msg h3 { margin-bottom: 8px; }
.success-msg p  { color: var(--gray-600); }

/* ===== IMPACT COUNTER ===== */
.impact-section { background: var(--primary-50); }

.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.impact-card {
  text-align: center;
  padding: 28px 20px;
}

.impact-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.impact-label { font-size: .9rem; color: var(--gray-600); }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { opacity: .5; }

/* ===== UTILITIES ===== */
.mt-1  { margin-top:  4px; }
.mt-2  { margin-top:  8px; }
.mt-3  { margin-top: 12px; }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.mb-6  { margin-bottom: 24px; }
.mb-8  { margin-bottom: 32px; }

.hidden { display: none !important; }

.divider {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 24px 0;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.3); }
}

.animate-fade-up { animation: fadeUp .5s ease both; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .impact-grid   { grid-template-columns: repeat(2, 1fr); }
  .calendar-layout { grid-template-columns: 1fr; }
  .slots-panel   { position: static; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }

  .nav-mobile {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-110%);
    transition: transform 300ms ease;
  }
  .nav-mobile.open { transform: translateY(0); }
  .nav-mobile a {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--gray-700);
  }
  .nav-mobile a:hover { background: var(--gray-50); }
  .nav-mobile .btn { margin-top: 8px; }

  .hero-inner     { grid-template-columns: 1fr; }
  .hero-visual    { display: none; }
  .hero h1        { font-size: 2.2rem; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .charity-grid   { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .tutor-grid     { grid-template-columns: 1fr; }
  .steps-grid     { grid-template-columns: 1fr !important; }
  .values-grid    { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }

  .footer-grid    { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom  { flex-direction: column; text-align: center; }

  .newsletter-form { flex-direction: column; }

  .section { padding: 56px 0; }
  .section-lg { padding: 72px 0; }

  .big-form { padding: 24px; }

  .stats-bar-inner { gap: 16px; }
}
