/* ============================================================
   Apex Digital AI Consulting LLC — Training Website
   ============================================================ */

/* === CSS Variables === */
:root {
  --bg:         #0a1628;
  --bg2:        #071020;
  --bg-light:   #f8fafc;
  --bg-mid:     #eef2f7;
  --primary:    #0066cc;
  --cyan:       #00b4d8;
  --cyan-lt:    #67e8f9;
  --amber:      #f59e0b;
  --green:      #10b981;
  --text:       #1e293b;
  --text-dim:   #64748b;
  --text-light: #f1f5f9;
  --text-muted: #94a3b8;
  --border:     #e2e8f0;
  --border-dk:  rgba(255,255,255,0.1);
  --card:       #ffffff;
  --shadow:     0 4px 24px rgba(0,0,0,0.07);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.12);
  --glow:       0 0 28px rgba(0,180,216,0.18);
  --radius:     16px;
  --radius-sm:  8px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Arial, Helvetica, sans-serif; color: var(--text); overflow-x: hidden; background: var(--bg-light); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }

/* === Utility === */
.reveal { opacity: 0; }

.gradient-text {
  background: linear-gradient(135deg, var(--cyan), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header h2.light { color: var(--text-light); }

.section-intro {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-intro.light { color: var(--text-muted); }

/* === Navbar === */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 48px;
  background: rgba(10, 22, 40, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dk);
  z-index: 1000;
  transition: background 0.3s;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo { width: 46px; height: auto; border-radius: 6px; }

.brand-text { display: flex; flex-direction: column; }

.brand-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--cyan);
  line-height: 1.2;
}

.brand-tagline {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.8px;
}

nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}

.nav-link:hover, .nav-link.active {
  color: var(--cyan);
  background: rgba(0,180,216,0.1);
}

.nav-cta {
  padding: 9px 22px;
  background: var(--cyan);
  color: var(--bg);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  margin-left: 12px;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover { background: var(--cyan-lt); transform: translateY(-1px); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === Hero Section === */
.hero-section {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 48px 80px;
  position: relative;
  overflow: hidden;
}

/* Subtle grid pattern */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,180,216,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,180,216,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: 0;
}

/* Radial glow orb */
.hero-orb {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0,102,204,0.14) 0%, rgba(0,180,216,0.04) 55%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 840px;
}

.hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(245,158,11,0.35);
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 28px;
  background: rgba(245,158,11,0.07);
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--text-light);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.btn-primary {
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,180,216,0.4);
}

.btn-outline {
  padding: 14px 32px;
  background: transparent;
  color: var(--cyan);
  border: 2px solid rgba(0,180,216,0.5);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  background: rgba(0,180,216,0.1);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 56px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.stat-item { text-align: center; }

.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--cyan);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* === Section Base === */
.section { padding: 100px 80px; }

/* === About Section === */
.about-section { background: var(--bg-light); }

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.value-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.value-icon {
  width: 52px;
  height: 52px;
  background: rgba(0,180,216,0.08);
  border: 1px solid rgba(0,180,216,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.value-card p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
}

.mission-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.about-mission {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 48px 44px;
  border: 1px solid var(--border-dk);
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: space-between;
}

.mission-text { flex: 1; }

.about-mission h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 14px;
}

.about-mission p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.85;
}

.about-mission p + p { margin-top: 14px; }

.about-mission strong { color: var(--text-light); }

.mission-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mission-logo img {
  width: 200px;
  height: auto;
  border-radius: 16px;
  opacity: 0.9;
}

/* Founders card stats row */
.founders-stats {
  display: flex;
  gap: 24px;
  border-top: 1px solid var(--border-dk);
  padding-top: 28px;
  flex-wrap: wrap;
}

.founder-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 80px;
}

.founder-stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
}

.founder-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1.4;
}

/* === Courses Section === */
.courses-section { background: var(--bg-mid); }

.course-filter {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 26px;
  border: 2px solid var(--border);
  background: var(--card);
  color: var(--text-dim);
  border-radius: 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn.active, .filter-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0,180,216,0.06);
}

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

.course-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  opacity: 0;
  transition: opacity 0.3s;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--glow);
  border-color: rgba(0,180,216,0.25);
}

.course-card:hover::before { opacity: 1; }

.course-icon {
  width: 50px;
  height: 50px;
  background: rgba(0,102,204,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.course-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 0.3px;
}

.badge-online   { background: rgba(0,180,216,0.1);  color: var(--cyan);   }
.badge-inperson { background: rgba(245,158,11,0.1); color: var(--amber);  }
.badge-level    { background: rgba(0,102,204,0.08); color: var(--primary);}
.badge-free     { background: rgba(16,185,129,0.1); color: var(--green);  }

.course-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.course-card > p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 16px;
  flex-grow: 1;
}

.course-features {
  list-style: none;
  margin-bottom: 24px;
}

.course-features li {
  font-size: 13px;
  color: var(--text-dim);
  padding: 4px 0 4px 20px;
  position: relative;
  line-height: 1.5;
}

.course-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}

.btn-enroll {
  display: block;
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: auto;
}

.btn-enroll:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,180,216,0.3);
}

.course-btn-row {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.course-btn-row .btn-enroll {
  flex: 1;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-learn-more {
  flex: 1;
  padding: 12px;
  background: transparent;
  color: var(--cyan);
  border: 1.5px solid var(--cyan);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  text-align: center;
}

.btn-learn-more:hover {
  background: rgba(0,180,216,0.12);
  transform: translateY(-2px);
}

/* === Videos Section === */
.videos-section {
  background: var(--bg);
  padding: 100px 80px;
}

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

.video-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-dk);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,180,216,0.3);
}

.video-embed {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #071020, #0f2a44);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.video-thumb-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,180,216,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,180,216,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}

.video-topic {
  position: relative;
  z-index: 2;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  text-align: center;
}

.play-btn {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  background: rgba(255,0,0,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 4px 20px rgba(255,0,0,0.4);
}

.video-card:hover .play-btn {
  transform: scale(1.12);
  background: #ff0000;
}

.play-btn svg { margin-left: 5px; }

.video-type-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,0,0,0.9);
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 3;
}

.video-info {
  padding: 20px 24px 24px;
}

.video-info h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 8px;
  line-height: 1.4;
}

.video-info p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.btn-watch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #ff0000;
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}

.btn-watch:hover {
  background: #cc0000;
  transform: translateY(-1px);
}

.yt-channel-link {
  display: block;
  text-align: center;
  margin-top: 40px;
}

.yt-channel-link a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border: 2px solid rgba(255,0,0,0.5);
  color: #ff6666;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  transition: all 0.2s;
}

.yt-channel-link a:hover {
  background: rgba(255,0,0,0.1);
  border-color: #ff0000;
  color: #fff;
}

/* === Contact Section === */
.contact-section { background: var(--bg-light); }

.contact-layout {
  display: flex;
  gap: 36px;
  align-items: flex-start;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 280px;
  flex-shrink: 0;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
}

.contact-card-icon {
  width: 42px;
  height: 42px;
  background: rgba(0,180,216,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.contact-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 5px;
}

.contact-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

.contact-card a { color: var(--primary); font-weight: 600; }
.contact-card a:hover { color: var(--cyan); }

.contact-form-wrap {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  min-width: 0;
}

.contact-form-wrap h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  flex: 1;
  min-width: 0;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,180,216,0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.btn-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 8px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,180,216,0.35);
}

/* === Footer === */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border-dk);
  padding: 60px 80px 0;
}

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

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo { width: 38px; height: auto; border-radius: 6px; }

.footer-brand-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: 1px;
}

.footer-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 22px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-dk);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.social-link:hover {
  background: rgba(0,180,216,0.12);
  color: var(--cyan);
  border-color: rgba(0,180,216,0.3);
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 18px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a,
.footer-col ul li span {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
  cursor: pointer;
}

.footer-col ul li a:hover,
.footer-col ul li span:hover { color: var(--cyan); }

.footer-bottom {
  border-top: 1px solid var(--border-dk);
  padding: 22px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.footer-bottom p { font-size: 13px; color: var(--text-muted); }

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--cyan); }

/* === Subpage (Terms / Privacy) === */
.subpage-hero {
  background: var(--bg);
  padding: 120px 80px 60px;
  text-align: center;
}

.subpage-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 14px;
}

.subpage-hero p {
  font-size: 16px;
  color: var(--text-muted);
}

.subpage-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 40px 80px;
}

.subpage-body h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin: 40px 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

.subpage-body h2:first-of-type { margin-top: 0; }

.subpage-body p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.85;
  margin-bottom: 14px;
}

.subpage-body ul {
  margin: 0 0 14px 24px;
}

.subpage-body ul li {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 6px;
}

.subpage-body strong { color: var(--text); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 32px;
  transition: opacity 0.2s;
}

.back-link:hover { opacity: 0.75; }

/* === Status Banner === */
.status-banner {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  white-space: nowrap;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-content { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 20px; }
}

@media (max-width: 768px) {
  .navbar { padding: 12px 20px; flex-wrap: wrap; }
  .nav-toggle { display: flex; }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-dk);
    padding: 8px 16px 16px;
    gap: 4px;
  }
  nav.open { display: flex; }
  .nav-link { font-size: 15px; padding: 12px 16px; border-radius: 8px; }
  .nav-cta { margin-left: 0; width: 100%; text-align: center; padding: 12px 16px; }

  .hero-section { padding: 110px 24px 60px; }
  .hero-stats { gap: 28px; }

  .section { padding: 70px 24px; }

  .about-values { grid-template-columns: 1fr; }
  .mission-cards { grid-template-columns: 1fr; }
  .about-mission { padding: 32px 24px; }
  .mission-logo { justify-content: center; }
  .mission-logo img { width: 140px; }

  .courses-grid { grid-template-columns: 1fr; }
  .videos-grid { grid-template-columns: 1fr; }

  .contact-layout { flex-direction: column; }
  .contact-left { width: 100%; }
  .contact-form-wrap { padding: 28px 20px; }

  footer { padding: 48px 24px 0; }
  .footer-content { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
  .footer-legal { justify-content: center; }

  .subpage-hero { padding: 100px 24px 40px; }
  .subpage-body { padding: 40px 20px 60px; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.9rem; }
  .brand-name { font-size: 12px; letter-spacing: 1px; }
  .form-row { flex-direction: column; gap: 0; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 1.6rem; }
}
