@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Nunito+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --blue: #2563EB;
  --blue-light: #3B82F6;
  --blue-dark: #1D4ED8;
  --orange: #F59E0B;
  --orange-light: #FBBF24;
  --bg: #FFFFFF;
  --bg-blue: #EFF6FF;
  --bg-warm: #FFFBEB;
  --text: #0F172A;
  --text-light: #475569;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --radius: 10px;
  --radius-lg: 20px;
  --shadow: 0 2px 8px rgba(37,99,235,0.06);
  --shadow-md: 0 8px 24px rgba(37,99,235,0.1);
  --shadow-lg: 0 16px 48px rgba(37,99,235,0.12);
  --transition: all 0.3s ease;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* HEADER */
.site-header {
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}
.logo span { color: var(--orange); }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--blue); }
.mobile-menu { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-menu svg { width: 26px; height: 26px; color: var(--blue); }

/* HERO - ASYMMETRIC SPLIT */
.hero {
  background: linear-gradient(135deg, var(--bg-blue) 0%, var(--bg) 60%, var(--bg-warm) 100%);
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 20px;
}
.hero-tag::before { content: ''; width: 8px; height: 8px; background: var(--orange); border-radius: 50%; }
.hero h1 { font-size: 52px; margin-bottom: 20px; letter-spacing: -0.03em; }
.hero h1 span { color: var(--blue); }
.hero p { font-size: 18px; color: var(--text-light); margin-bottom: 32px; max-width: 520px; }
.hero-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: rotate(1deg);
}

.btn-blue {
  display: inline-block;
  padding: 15px 36px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-radius: var(--radius);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
}
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-orange {
  display: inline-block;
  padding: 15px 36px;
  background: var(--orange);
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-radius: var(--radius);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
}
.btn-orange:hover { background: var(--orange-light); }
.btn-outline-blue {
  display: inline-block;
  padding: 15px 36px;
  background: transparent;
  color: var(--blue);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid var(--blue);
  transition: var(--transition);
}
.btn-outline-blue:hover { background: var(--blue); color: var(--white); }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* SECTIONS */
.section { padding: 88px 0; }
.section-blue { background: var(--bg-blue); }
.section-warm { background: var(--bg-warm); }
.section-title { font-size: 38px; text-align: center; margin-bottom: 12px; letter-spacing: -0.02em; }
.section-title span { color: var(--blue); }
.section-subtitle { text-align: center; color: var(--text-light); font-size: 17px; max-width: 620px; margin: 0 auto 52px; }

/* GRID */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; align-items: center; }

/* COURSE CARDS */
.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.course-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.course-card-top {
  height: 8px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}
.course-card-body { padding: 28px; }
.course-card h3 { font-size: 20px; margin-bottom: 10px; }
.course-card p { color: var(--text-light); font-size: 15px; line-height: 1.7; }
.course-tag { display: inline-block; padding: 4px 12px; background: var(--bg-blue); color: var(--blue); font-size: 12px; font-weight: 700; border-radius: 4px; margin-bottom: 12px; }

/* STATS */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.stat-card h3 { font-size: 44px; color: var(--blue); margin-bottom: 4px; }
.stat-card span { color: var(--orange); }
.stat-card p { color: var(--text-light); font-size: 14px; }

/* TESTIMONIALS */
.testimonial-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--orange);
}
.testimonial-box p { font-size: 16px; line-height: 1.8; margin-bottom: 14px; color: var(--text); }
.testimonial-name { font-weight: 700; color: var(--blue); font-size: 15px; }
.testimonial-info { color: var(--text-light); font-size: 13px; }

/* CTA */
.cta-band {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  text-align: center;
  padding: 72px 0;
}
.cta-band h2 { color: var(--white); font-size: 38px; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.8); font-size: 17px; margin-bottom: 28px; }

/* NEWSLETTER */
.newsletter { text-align: center; }
.nl-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.nl-form input {
  flex: 1; padding: 14px 18px; border: 2px solid var(--border); border-radius: var(--radius);
  font-size: 15px; outline: none; transition: var(--transition);
}
.nl-form input:focus { border-color: var(--blue); }

/* IMAGE */
.section-img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* FOOTER */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.6);
  padding: 56px 0 20px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-brand p { margin-top: 12px; font-size: 14px; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-size: 14px; margin-bottom: 14px; font-family: 'Space Grotesk', sans-serif; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 14px; transition: var(--transition); }
.footer-col ul a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bottom a:hover { color: var(--orange); }
.cookie-settings-btn {
  background: none; border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.5);
  padding: 6px 14px; border-radius: 6px; cursor: pointer; font-size: 13px; transition: var(--transition);
}
.cookie-settings-btn:hover { color: var(--orange); border-color: var(--orange); }

/* CONTACT */
.contact-form { max-width: 620px; margin: 0 auto; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 16px; border: 2px solid var(--border); border-radius: var(--radius);
  font-size: 15px; font-family: inherit; outline: none; transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 130px; }

/* LEGAL */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h1 { font-size: 34px; margin-bottom: 28px; color: var(--blue); }
.legal-content h2 { font-size: 22px; margin: 28px 0 14px; }
.legal-content p { margin-bottom: 14px; color: var(--text-light); line-height: 1.8; }
.legal-content ul { margin: 14px 0; padding-left: 22px; }
.legal-content ul li { margin-bottom: 8px; color: var(--text-light); line-height: 1.7; }

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero .container { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu { display: block; }
  .nav-links.active { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); padding: 20px 24px; box-shadow: var(--shadow-md); gap: 14px; }
  .hero h1 { font-size: 34px; }
  .hero-img { transform: none; }
  .section-title { font-size: 28px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .nl-form { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================
   MISSING CLASSES — appended to fix layout
   ============================================ */

/* CSS VARIABLES for dark theme (used in index.php inline styles) */
:root {
  --surface: #1E293B;
  --text-muted: #94A3B8;
  --white: #FFFFFF;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;
}

/* SECTION-TITLE as container */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 {
  font-size: 38px;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.section-title p {
  color: var(--text-light);
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto;
}

/* SECTION-ALT */
.section-alt {
  background: var(--bg-blue);
}

/* BTN-PRIMARY */
.btn-primary {
  display: inline-block;
  padding: 15px 36px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-radius: var(--radius);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* COURSE-GRID — responsive 3-col */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* STATS-BAR */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  padding: 32px 0;
}
.stats-bar h3 {
  font-size: 40px;
  color: var(--blue);
  margin-bottom: 4px;
}
.stats-bar p {
  color: var(--text-light);
  font-size: 14px;
}

/* ALUMNI-LIST — testimonial list */
.alumni-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}
.alumni-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  border-left: 5px solid var(--orange);
}
.alumni-item p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 12px;
  color: var(--text);
  font-style: italic;
}
.alumni-item cite {
  font-style: normal;
  font-weight: 700;
  color: var(--blue);
  font-size: 14px;
}

/* RESPONSIVE FIXES */
@media (max-width: 1024px) {
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .course-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .section-title h2 { font-size: 28px; }
  .alumni-item { padding: 20px; }
}
