/* ── Brand overrides ─────────────────────────────────────────── */

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f8fafc;
  color: #1f2937;
}

/* Override Bootstrap primary to match brand blue */
:root {
  --bs-primary: #2563eb;
  --bs-primary-rgb: 37, 99, 235;
  --bs-link-color: #2563eb;
  --bs-link-hover-color: #1d4ed8;
}

.text-primary  { color: #2563eb !important; }
.btn-primary   { background-color: #2563eb; border-color: #2563eb; }
.btn-primary:hover { background-color: #1d4ed8; border-color: #1d4ed8; }
.btn-outline-primary { color: #2563eb; border-color: #2563eb; }
.btn-outline-primary:hover { background-color: #2563eb; border-color: #2563eb; }

/* ── Hero ─────────────────────────────────────────────────────── */

.hero {
  background: #2563eb;
  color: white;
}

.hero .text-secondary,
.hero .opacity-75 {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* ── Founder photos ───────────────────────────────────────────── */

.founder-photo {
  width: 100%;
  max-width: 380px;
  height: 320px;
  object-fit: cover;
}

/* ── Footer ───────────────────────────────────────────────────── */

.footer-link {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #ffffff;
}

/* ── Legacy custom classes (used on pages not yet migrated) ───── */

.button {
  display: inline-block;
  background: #facc15;
  color: #111827;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  margin-top: 1rem;
  font-weight: 600;
}

.button--outline {
  background: transparent;
  border: 2px solid #2563eb;
  color: #2563eb;
}

.button--outline:hover {
  background: #2563eb;
  color: white;
  transition: background 0.2s ease, color 0.2s ease;
}

/* ── Courses page ─────────────────────────────────────────────── */

.course-card {
  border-top-width: 4px !important;
  border-top-style: solid !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12) !important;
}

.coming-soon-section {
  background: #f0f9ff;
  border: 2px dashed #bae6fd;
}

.coming-soon-card {
  opacity: 0.75;
}


/* ── FAQ page ─────────────────────────────────────────────── */

/* Decorative circles in hero (no Bootstrap equivalent) */
.faq-hero-circle {
  background: rgba(255,255,255,.06);
  pointer-events: none;
}

/* Tab pills — category colour via CSS custom property set inline */
.faq-tab-btn {
  border: 1.5px solid #e2e8f0;
  color: #64748b;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color .2s ease, color .2s ease;
}
.faq-tab-btn:hover {
  border-color: var(--tab-color);
  color: var(--tab-color);
}
.faq-tab-btn.active .badge { background: rgba(255,255,255,.25) !important; color: #fff !important; }

/* Accordion — coloured left border when item is open */
.faq-accordion-item:has(.accordion-button:not(.collapsed)) {
  border-left: 3px solid var(--item-color);
  background-color: #fafafa;
}
.faq-accordion-btn:not(.collapsed) {
  color: var(--item-color) !important;
  background: transparent !important;
  box-shadow: none !important;
}


/* ── Apply page (multi-step wizard) ──────────────────────── */

.apply-card-header {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

/* Step tracker */
.apply-step-item {
  min-width: 72px;
}
.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
.step-circle.active {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(37,99,235,.15);
}
.step-circle.done {
  background: #059669;
  color: #fff;
}
.step-line {
  height: 2px;
  background: #e2e8f0;
  margin: 0 6px;
  transition: background .35s ease;
  position: relative;
  top: -6px;        /* align with circle centre (36px/2 - label offset) */
}
.step-line.done {
  background: #059669;
}
.step-label {
  font-size: .68rem;
  color: #94a3b8;
  letter-spacing: .03em;
  transition: color .25s ease;
}
.step-label.active {
  color: #2563eb;
  font-weight: 600;
}
.step-label.done {
  color: #059669;
}


/* ── About page ───────────────────────────────────────────── */

/* 1. Story hero */
.about-story {
  background: linear-gradient(135deg, #0f172a 0%, #1a2744 100%);
}
.about-story::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37,99,235,.22) 0%, transparent 70%);
  pointer-events: none;
}
.about-badge-glow {
  background: rgba(37,99,235,.25);
  color: #93c5fd;
  border: 1px solid rgba(147,197,253,.3);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.about-founder-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(4px);
}

/* 2. Philosophy */
.about-badge-outline {
  background: transparent;
  border: 1.5px solid #2563eb;
  color: #2563eb;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.about-badge-light {
  background: rgba(37,99,235,.1);
  color: #2563eb;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.about-icon-pill {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-phil-num {
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  opacity: .18;
  min-width: 36px;
  transition: opacity .2s ease;
}
.about-phil-item:hover .about-phil-num {
  opacity: .45;
}

/* 3. Mission & Vision */
.about-mission {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 60%, #3b82f6 100%);
  min-height: 280px;
}
.about-vision {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #334155 100%);
  min-height: 280px;
}
.about-bg-letter {
  position: absolute;
  right: 16px;
  bottom: -24px;
  font-size: 9rem;
  font-weight: 900;
  line-height: 1;
  opacity: .06;
  color: #fff;
  user-select: none;
  pointer-events: none;
}

/* 4. Why InnoEd */
.about-why {
  background: #f0f6ff;
  border: 1px solid #dbeafe;
}
.about-why-num {
  width: 42px;
  height: 42px;
  background: #2563eb;
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .8rem;
  flex-shrink: 0;
}
.about-compare-innoed {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
}

/* 5. Team */
.about-team-card {
  transition: transform .25s ease, box-shadow .25s ease;
}
.about-team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(15,23,42,.12) !important;
}
.about-team-header {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-team-initial {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  border: 2px solid rgba(255,255,255,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
}

/* 6. Success stories carousel */
.about-stories {
  background: linear-gradient(135deg, #f8faff 0%, #eef2ff 100%);
  border: 1px solid #e0e7ff;
}
.about-story-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(15,23,42,.07);
}
.about-story-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  border: 4px solid #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
}
.about-result-badge {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  padding: .35rem 1.1rem;
  font-size: .82rem;
  font-weight: 600;
}
.about-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  z-index: 10;
}
.about-carousel-btn:hover {
  background: #f1f5f9;
}
.about-carousel-prev { left: -16px; }
.about-carousel-next { right: -16px; }
.about-carousel-btn .carousel-control-prev-icon,
.about-carousel-btn .carousel-control-next-icon {
  width: 16px;
  height: 16px;
  filter: invert(1);
}
.about-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  padding: 0;
  margin: 0 4px;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.about-dot.active {
  background: #2563eb;
  transform: scale(1.4);
}

/* 7. Partners */
.about-partner-tile {
  border: 1.5px solid #e2e8f0;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  cursor: default;
}
.about-partner-tile:hover {
  border-color: #2563eb;
  box-shadow: 0 6px 20px rgba(37,99,235,.1);
  transform: translateY(-3px);
}
.about-partner-icon {
  font-size: 2rem;
  filter: grayscale(.6);
  transition: filter .2s ease;
}
.about-partner-tile:hover .about-partner-icon {
  filter: grayscale(0);
}

