/* ============================================
   Early Scholars Website — Styles
   ============================================ */

:root {
  --navy: #001f63;
  --navy-light: #0a3280;
  --gold: #C8A951;
  --light-bg: #F4F6FA;
  --white: #ffffff;
  --text: #1a1a2e;
  --text-light: #555555;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Source Sans Pro', sans-serif;
  color: var(--text);
  line-height: 1.7;
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
}

a { color: var(--navy); text-decoration: none; }

img { max-width: 100%; height: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-light); }
.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover { background: #e8ecf0; }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ============================================
   Navigation
   ============================================ */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}
.nav-logo img {
  height: 60px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  border-bottom-color: var(--navy);
}
.nav-app-link {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: 6px !important;
  border-bottom: none !important;
  font-size: 13px !important;
  letter-spacing: 0 !important;
}
.nav-app-link:hover {
  background: var(--navy-light) !important;
}
.nav-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 13px;
}
.nav-contact a { color: var(--text-light); }
.nav-contact a:hover { color: var(--navy); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
}

/* ============================================
   Hero
   ============================================ */
/* Hero Slider */
.hero-slider {
  position: relative;
  min-height: 580px;
  background: var(--navy);
  overflow: hidden;
}
.hero-slides {
  position: relative;
  width: 100%;
  min-height: 580px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}
.hero-slide-active {
  opacity: 1;
  pointer-events: auto;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,13,43,0.85) 0%, rgba(0,31,99,0.75) 40%, rgba(13,43,69,0.7) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 750px;
  padding: 80px 24px;
}
.hero-intro {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-slider h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.hero-sub {
  font-size: 19px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
/* Slider Controls */
.hero-slider-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.hero-dot-active {
  background: var(--gold);
  border-color: var(--gold);
}
.hero-dot:hover {
  border-color: var(--white);
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-arrow:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
}
.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }

/* Three Pillars */
.pillars {
  background: var(--white);
  border-bottom: 1px solid #e8e8e8;
}
.pillars-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
  border-right: 1px solid #e8e8e8;
  transition: background 0.3s;
  text-decoration: none;
}
.pillar:last-child {
  border-right: none;
}
.pillar:hover {
  background: var(--light-bg);
}
.pillar-icon {
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 12px;
}
.pillar h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.pillar p {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* Legacy .hero support (other pages) */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--navy);
  overflow: hidden;
}
.hero h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

/* ============================================
   Stats
   ============================================ */
.stats {
  background: var(--light-bg);
  padding: 60px 24px;
}
.stats-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-number {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 52px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -1px;
}
.stat-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 8px;
}
.stat p {
  font-size: 15px;
  color: var(--text-light);
}

/* ============================================
   About
   ============================================ */
.about {
  padding: 80px 24px;
}
.about-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text h2 {
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 8px;
}
.tagline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 20px;
}
.about-text p {
  margin-bottom: 16px;
  font-size: 16px;
}
.about-video iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* ============================================
   Founder
   ============================================ */
.founder {
  padding: 80px 24px;
  background: var(--light-bg);
}
.founder-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.founder-image img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.founder-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 8px;
}
.founder-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 4px;
}
.founder-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 20px;
}
.founder-text p {
  font-size: 16px;
  margin-bottom: 16px;
  line-height: 1.7;
}
.founder-credentials {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.founder-credentials span {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

/* ============================================
   Testimonial
   ============================================ */
.testimonial {
  background: var(--navy);
  padding: 60px 24px;
  text-align: center;
}
.testimonial-container {
  max-width: 700px;
  margin: 0 auto;
}
.testimonial blockquote {
  font-size: 24px;
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 24px;
  font-family: 'Source Sans Pro', serif;
}
.testimonial cite {
  font-style: normal;
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
}

/* ============================================
   App CTA
   ============================================ */
.app-cta {
  background: var(--light-bg);
  padding: 60px 24px;
  text-align: center;
}
.app-container {
  max-width: 600px;
  margin: 0 auto;
}
.app-cta h2 {
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 12px;
}
.app-cta p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 24px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 60px 24px 0;
}
.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer-logo {
  height: 80px;
  margin-bottom: 16px;
  background: white;
  padding: 8px;
  border-radius: 8px;
}
.footer-col h3 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col p {
  margin-bottom: 8px;
  font-size: 14px;
}
.footer-col a {
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  text-align: center;
  padding: 24px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
}

/* ============================================
   Programs Page
   ============================================ */
.page-header {
  background: linear-gradient(160deg, #000d2b 0%, var(--navy) 50%, var(--navy-light) 100%);
  padding: 80px 24px;
  text-align: center;
}
.page-header h1 {
  font-size: 40px;
  color: var(--white);
  letter-spacing: -0.5px;
}
.page-header p {
  color: rgba(255,255,255,0.6);
  font-size: 18px;
  margin-top: 10px;
  letter-spacing: 0.5px;
}

.programs {
  padding: 60px 24px;
}
.programs-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.program-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,31,99,0.08);
  transition: all 0.3s;
}
.program-card:hover {
  box-shadow: 0 12px 40px rgba(0,31,99,0.15);
  transform: translateY(-4px);
}
.program-card-header {
  background: var(--navy);
  padding: 24px;
  text-align: center;
}
.program-card-header h3 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 4px;
}
.program-grades {
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.program-card-body {
  padding: 24px;
}
.program-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  margin-bottom: 4px;
  letter-spacing: -1px;
}
.program-price-sub {
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 20px;
}
.program-details {
  list-style: none;
  margin-bottom: 24px;
}
.program-details li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 15px;
  padding-left: 20px;
  position: relative;
}
.program-details li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--navy);
  font-weight: 700;
}
.program-card-body .btn {
  display: block;
  text-align: center;
}

/* ============================================
   News Page
   ============================================ */
.news {
  padding: 60px 24px;
}
.news-container {
  max-width: 1100px;
  margin: 0 auto;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.news-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: top center;
}
.news-card-body {
  padding: 20px;
}
.news-card-body h3 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.4;
}
.news-date {
  font-size: 13px;
  color: var(--text-light);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}
.news-card {
  cursor: pointer;
}
.news-card-expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 20px;
}
.news-card.expanded .news-card-expand {
  max-height: 300px;
  padding: 0 20px 20px;
}
.news-card-expand p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}
.news-read-more {
  font-size: 12px;
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
  display: inline-block;
}
.news-card.expanded .news-read-more {
  display: none;
}
.news-section-title {
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--gold);
  display: inline-block;
}

/* ============================================
   Privacy Policy
   ============================================ */
.policy {
  padding: 60px 24px;
}
.policy-container {
  max-width: 700px;
  margin: 0 auto;
}
.policy-container h2 {
  color: var(--navy);
  margin-top: 32px;
  margin-bottom: 12px;
  font-size: 20px;
}
.policy-container p,
.policy-container li {
  font-size: 16px;
  margin-bottom: 8px;
}
.policy-container ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

/* ============================================
   Franchise Page
   ============================================ */
.franchise-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--navy);
  overflow: hidden;
}
.franchise-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #000d2b 0%, var(--navy) 40%, var(--navy-light) 100%);
}
.franchise-hero-content {
  position: relative;
  z-index: 1;
  max-width: 750px;
  padding: 80px 24px;
}

.franchise-intro {
  padding: 80px 24px;
  text-align: center;
}
.franchise-intro-container {
  max-width: 750px;
  margin: 0 auto;
}
.franchise-intro h2 {
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.franchise-intro p {
  font-size: 17px;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

.franchise-models {
  padding: 60px 24px 80px;
  background: var(--light-bg);
}
.franchise-models-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.model-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px 32px;
  position: relative;
  box-shadow: 0 2px 20px rgba(0,31,99,0.08);
  transition: all 0.3s;
}
.model-card:hover {
  box-shadow: 0 12px 40px rgba(0,31,99,0.15);
  transform: translateY(-4px);
}
.model-card-alt {
  border: 2px solid var(--navy);
}
.model-badge {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--gold);
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 20px;
}
.model-badge-alt {
  background: var(--navy);
  color: var(--white);
}
.model-card h3 {
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 6px;
  margin-top: 8px;
}
.model-tagline {
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 24px;
}
.model-features {
  list-style: none;
  margin-bottom: 24px;
}
.model-features li {
  padding: 10px 0;
  padding-left: 24px;
  position: relative;
  font-size: 15px;
  border-bottom: 1px solid #f0f0f0;
}
.model-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--navy);
  font-weight: 700;
}
.model-ideal {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.6;
  font-style: italic;
}
.model-card .btn {
  display: block;
  text-align: center;
}

.franchise-why {
  padding: 80px 24px;
}
.franchise-why-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.franchise-why h2 {
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 40px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.why-item {
  text-align: center;
}
.why-number {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -1px;
  margin-bottom: 4px;
}
.why-item h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 10px;
}
.why-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Franchise Contact */
.franchise-contact {
  padding: 80px 24px;
  background: var(--light-bg);
}
.franchise-contact-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}
.franchise-contact-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--gold);
  flex-shrink: 0;
}
.franchise-contact-info h2 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 8px;
}
.franchise-contact-info h3 {
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 4px;
}
.franchise-contact-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 12px;
}
.franchise-contact-info p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
}
.franchise-contact-info .btn {
  display: inline-block;
}
@media (max-width: 768px) {
  .franchise-contact-container {
    flex-direction: column;
    text-align: center;
  }
  .franchise-contact-photo {
    width: 160px;
    height: 160px;
  }
}

.franchise-inquiry {
  padding: 80px 24px;
  background: var(--navy);
}
.inquiry-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.inquiry-container h2 {
  font-size: 32px;
  color: var(--white);
  margin-bottom: 12px;
}
.inquiry-container > p {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.inquiry-form {
  text-align: left;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 15px;
  transition: border-color 0.3s;
}
.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  color: rgba(255,255,255,0.4);
}
.inquiry-form select {
  color: rgba(255,255,255,0.4);
}
.inquiry-form select option {
  background: var(--navy);
  color: var(--white);
}
.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.inquiry-form textarea {
  margin-bottom: 20px;
  resize: vertical;
}
.inquiry-form .btn {
  display: block;
  width: 100%;
  background: var(--white);
  color: var(--navy);
}
.inquiry-form .btn:hover {
  background: #e8ecf0;
}

/* ============================================
   Courses Page
   ============================================ */
.courses-section {
  padding: 60px 24px;
}
.courses-section-alt {
  background: var(--light-bg);
}
.courses-container {
  max-width: 1100px;
  margin: 0 auto;
}
.courses-section-header {
  text-align: center;
  margin-bottom: 40px;
}
.courses-section-header h2 {
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.courses-section-header p {
  font-size: 16px;
  color: var(--text-light);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
}
.courses-badge {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.courses-badge-free {
  background: #e8f5e9;
  color: #2e7d32;
}
.courses-badge-popular {
  background: var(--navy);
  color: var(--white);
}

/* Course Grid */
.courses-grid {
  display: grid;
  gap: 28px;
}
.courses-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.courses-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Course Card */
.course-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,31,99,0.12);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(0,31,99,0.08);
}
.course-card:hover {
  box-shadow: 0 12px 40px rgba(0,31,99,0.15);
  transform: translateY(-4px);
}
.course-card-featured {
  border: 2px solid var(--gold);
}
.course-card-bundle {
  border: 2px solid var(--navy);
}
.course-card-ribbon {
  position: absolute;
  top: 16px;
  right: -8px;
  background: var(--gold);
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.course-card-ribbon::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -8px;
  border: 4px solid transparent;
  border-top-color: #a08840;
  border-right-color: #a08840;
}

/* Course Card Banner (Option B — colored text banners) */
.course-card-banner {
  padding: 24px 24px 20px;
  text-align: center;
}
.course-card-banner-green {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}
.course-card-banner-orange {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
}
.course-card-banner-blue {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}
.course-card-banner-navy {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}
.course-banner-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}
.course-card-banner-green .course-banner-label { color: #2e7d32; }
.course-card-banner-orange .course-banner-label { color: #e65100; }
.course-card-banner-blue .course-banner-label { color: #1565c0; }
.course-card-banner-navy .course-banner-label { color: var(--gold); }
.course-banner-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}
.course-card-banner-green .course-banner-title { color: #1b5e20; }
.course-card-banner-orange .course-banner-title { color: #bf360c; }
.course-card-banner-blue .course-banner-title { color: #0d47a1; }
.course-card-banner-navy .course-banner-title { color: var(--white); }
.course-banner-sub {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
  letter-spacing: 0.5px;
}
.course-card-banner-green .course-banner-sub { color: #388e3c; }
.course-card-banner-orange .course-banner-sub { color: #e65100; }
.course-card-banner-blue .course-banner-sub { color: #1565c0; }
.course-card-banner-navy .course-banner-sub { color: rgba(255,255,255,0.7); }

/* Wide Card Layout (Logical Fallacies) */
.courses-grid-1 {
  grid-template-columns: 1fr;
}
.course-card-wide {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}
.course-wide-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 16px;
}
.course-wide-left {}
.course-wide-right {}

/* Lesson List */
.course-lesson-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.course-lesson {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  color: var(--text);
}
.course-lesson:last-child {
  border-bottom: none;
}
.locked-lesson {
  color: var(--text-light);
}
.lesson-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--navy);
  color: var(--white);
}
.lesson-number-locked {
  background: #ddd;
  color: #999;
}
a.course-lesson {
  text-decoration: none;
  color: var(--text);
  cursor: pointer;
}
a.course-lesson:hover {
  background: var(--light-bg);
  border-radius: 4px;
}
.course-lesson-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.course-lesson-detail strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}
.locked-lesson .course-lesson-detail strong {
  color: var(--text-light);
}
.course-lesson-detail small {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.4;
}

/* Coaches Section */
.coaches-section {
  padding: 80px 24px;
  background: var(--white);
}
.coaches-container {
  max-width: 1100px;
  margin: 0 auto;
}
.coaches-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.coach-card {
  text-align: center;
  padding: 24px 16px;
  background: var(--light-bg);
  border-radius: 12px;
  transition: all 0.3s;
}
.coach-card:hover {
  box-shadow: 0 8px 24px rgba(0,31,99,0.1);
  transform: translateY(-2px);
}
.coach-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  display: block;
  border: 3px solid var(--navy);
}
.coach-name {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 4px;
}
.coach-university {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 10px;
}
.coach-bio {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Course Card Body */
.course-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.course-card-body h3 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.course-card-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 12px;
}
.course-card-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.course-card-meta span {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  background: var(--light-bg);
  padding: 4px 10px;
  border-radius: 4px;
}

/* Course Includes List */
.course-includes {
  list-style: none;
  margin-bottom: 20px;
  flex: 1;
}
.course-includes li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid #f0f0f0;
}
.course-includes li:last-child {
  border-bottom: none;
}
.course-includes li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
}

/* Course Card Footer */
.course-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
  margin-top: auto;
}
.course-preview-link {
  display: block;
  text-align: center;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  color: var(--navy);
  margin-top: 12px;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.course-preview-link:hover {
  opacity: 1;
}
.course-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.course-price-free {
  color: #2e7d32;
  font-size: 22px;
}
.btn-sm {
  padding: 10px 24px;
  font-size: 12px;
}

/* Features Section */
.courses-features {
  padding: 80px 24px;
}
.courses-features-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.courses-features h2 {
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 40px;
  letter-spacing: -0.5px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.feature-item {
  text-align: center;
}
.feature-item h4 {
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.feature-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Learning Pathway */
.pathway-section {
  padding: 80px 24px;
  background: var(--navy);
  color: var(--white);
}
.pathway-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.pathway-container h2 {
  color: var(--white);
  font-size: 32px;
  margin-bottom: 8px;
}
.pathway-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  margin-bottom: 48px;
}
.pathway-track {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
}
.pathway-step {
  text-align: center;
  flex: 0 0 160px;
}
.pathway-marker {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 800;
}
.pathway-step-available .pathway-marker {
  background: var(--gold);
  color: var(--navy);
}
.pathway-step-partner .pathway-marker {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  border: 2px dashed rgba(255,255,255,0.3);
}
.pathway-step h4 {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 4px;
}
.pathway-step p {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  margin-bottom: 8px;
}
.pathway-connector {
  flex: 0 0 40px;
  height: 2px;
  background: rgba(255,255,255,0.2);
  margin-top: 24px;
}
.pathway-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 12px;
}
.pathway-tag-online {
  background: var(--gold);
  color: var(--navy);
}
.pathway-tag-partner {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.2);
}
.pathway-footer {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  line-height: 1.7;
  max-width: 650px;
  margin: 0 auto 24px;
}
.pathway-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.pathway-buttons .btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.pathway-buttons .btn-outline:hover {
  border-color: var(--white);
}

/* Courses CTA */
.courses-cta {
  background: var(--navy);
  padding: 80px 24px;
  text-align: center;
}
.courses-cta-container {
  max-width: 650px;
  margin: 0 auto;
}
.courses-cta h2 {
  font-size: 32px;
  color: var(--white);
  margin-bottom: 12px;
}
.courses-cta p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
  line-height: 1.7;
}
.courses-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .nav-links.active { display: flex; }
  .nav-contact { display: none; }

  .hero h1, .hero-slider h1 { font-size: 30px; }
  .hero-content { padding: 40px 20px; }
  .hero, .hero-slider, .hero-slides { min-height: 400px; }
  .hero-arrow { display: none; }
  .pillars-container { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid #e8e8e8; padding: 28px 24px; }
  .pillar:last-child { border-bottom: none; }

  .stats-container { grid-template-columns: 1fr; gap: 24px; }
  .stat-number { font-size: 36px; }

  .about-container { grid-template-columns: 1fr; gap: 30px; }

  .programs-container { grid-template-columns: 1fr; }

  .news-grid { grid-template-columns: 1fr; }

  .footer-container { grid-template-columns: 1fr; gap: 24px; }

  .franchise-models-container { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .franchise-hero-content { padding: 50px 20px; }
  .franchise-hero { min-height: 400px; }
  .founder-container { grid-template-columns: 1fr; text-align: center; }
  .founder-image { max-width: 400px; margin: 0 auto; }
  .founder-credentials { justify-content: center; }

  .courses-grid-2,
  .courses-grid-3 { grid-template-columns: 1fr; }
  .course-wide-layout { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .coaches-grid { grid-template-columns: repeat(2, 1fr); }
  .coach-photo { width: 80px; height: 80px; }
  .coach-bio { font-size: 13px; }
  .courses-cta-buttons { flex-direction: column; align-items: center; }
}
