/* ============================================
   CSS Variables & Reset
   ============================================ */
:root {
  --navy: #0d1b2a;
  --navy-mid: #1a2e45;
  --navy-light: #2a4a6b;
  --teal: #0f9b8e;
  --teal-light: #13c4b4;
  --amber: #f5a623;
  --cambridge: #0f9b8e;
  --ocr: #c0392b;
  --aqa: #2c3e90;
  --white: #ffffff;
  --off-white: #f5f7fa;
  --text: #1a2e45;
  --text-light: #4a6685;
  --border: #d4dde8;
  --shadow: 0 4px 24px rgba(13, 27, 42, 0.10);
  --shadow-lg: 0 12px 48px rgba(13, 27, 42, 0.16);
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--navy);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.25rem; font-family: var(--font-body); font-weight: 600; }
h4 { font-size: 1rem; font-family: var(--font-body); font-weight: 600; }
p { color: var(--text-light); }
em { font-style: italic; color: var(--teal); }

/* ============================================
   Layout
   ============================================ */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-header p { font-size: 1.05rem; margin-top: 14px; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(15,155,142,0.10);
  padding: 5px 14px;
  border-radius: 40px;
  margin-bottom: 14px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover { background: var(--teal-light); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(15,155,142,0.3); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }

.btn-large { padding: 16px 36px; font-size: 1.05rem; }

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}
.btn-outline:hover { background: var(--teal); color: var(--white); }

/* ============================================
   Navigation
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,27,42,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.logo-mark {
  font-family: monospace;
  font-size: 1.2rem;
  color: var(--teal);
  font-weight: 700;
}

.logo-text strong { color: var(--teal); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links li a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.2s;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-links li a.nav-cta {
  background: var(--teal);
  color: var(--white);
  padding: 8px 18px;
}
.nav-links li a.nav-cta:hover { background: var(--teal-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  background: var(--navy);
  min-height: 88vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(15,155,142,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,155,142,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-light);
  background: rgba(15,155,142,0.12);
  border: 1px solid rgba(15,155,142,0.25);
  padding: 6px 16px;
  border-radius: 40px;
  margin-bottom: 20px;
}

.hero-headline {
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-sub {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.stat { text-align: left; }
.stat-num { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--white); line-height: 1; }
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.15); }

/* Code card */
.hero-visual { position: relative; }

.code-card {
  background: #0d1f32;
  border: 1px solid rgba(15,155,142,0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.code-card-bar {
  background: #0a1828;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }

.code-card-title {
  margin-left: 10px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  font-family: monospace;
}

.code-block {
  padding: 24px 28px;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  line-height: 1.8;
  color: #e2e8f0;
  overflow-x: auto;
}

.kw { color: #c792ea; }
.fn { color: #82aaff; }
.num { color: #f78c6c; }
.comment { color: #546e7a; font-style: italic; }

/* ============================================
   Boards Banner
   ============================================ */
.boards-banner {
  background: var(--navy-mid);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.boards-label {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin: 0;
}

.boards-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.board-tag {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 40px;
  border: 1.5px solid;
}

.board-tag.cambridge { color: #0f9b8e; border-color: #0f9b8e; background: rgba(15,155,142,0.08); }
.board-tag.ocr { color: #e74c3c; border-color: #e74c3c; background: rgba(231,76,60,0.08); }
.board-tag.aqa { color: #5c7cfa; border-color: #5c7cfa; background: rgba(92,124,250,0.08); }

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

.course-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.cambridge-card { border-top: 4px solid var(--teal); }
.ocr-card { border-top: 4px solid var(--ocr); }
.aqa-card { border-top: 4px solid var(--aqa); }

.course-board {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cambridge-card .course-board { color: var(--teal); }
.ocr-card .course-board { color: var(--ocr); }
.aqa-card .course-board { color: var(--aqa); }

.course-items { display: flex; flex-direction: column; gap: 20px; flex: 1; }

.course-item { padding-top: 20px; border-top: 1px solid var(--border); }
.course-item:first-child { border-top: none; padding-top: 0; }

.course-level {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  background: var(--off-white);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.course-item h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.course-item p { font-size: 0.875rem; line-height: 1.6; }

.course-code {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--text-light);
  background: var(--off-white);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 400;
}

.course-link {
  color: var(--teal);
  font-size: 0.875rem;
  font-weight: 600;
  transition: gap 0.2s;
  display: inline-block;
}
.course-link:hover { gap: 8px; }

/* ============================================
   Why Section
   ============================================ */
.why-section { background: var(--off-white); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.why-text h2 { margin-bottom: 16px; }
.why-text p { margin-bottom: 32px; font-size: 1.05rem; }

.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s;
}

.feature:hover { box-shadow: var(--shadow); }

.feature-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature h4 { margin-bottom: 4px; }
.feature p { font-size: 0.85rem; }

/* ============================================
   Testimonials
   ============================================ */
.testimonials-section { background: var(--navy); }
.testimonials-section .section-eyebrow { background: rgba(15,155,142,0.15); }
.testimonials-section h2 { color: var(--white); }
.testimonials-section .section-header p { color: rgba(255,255,255,0.5); }

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

.testimonial {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: background 0.2s;
}

.testimonial:hover { background: rgba(255,255,255,0.07); }

.testimonial p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-size: 0.8rem;
  color: var(--teal-light);
}

.testimonial-author strong {
  color: var(--white);
  display: block;
  margin-bottom: 2px;
}

/* ============================================
   CTA Strip
   ============================================ */
.cta-strip {
  background: linear-gradient(135deg, var(--teal) 0%, #0d7a71 100%);
  padding: 70px 24px;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-strip h2 { color: var(--white); font-size: 1.8rem; margin-bottom: 8px; }
.cta-strip p { color: rgba(255,255,255,0.8); }
.cta-strip .btn-primary { background: var(--white); color: var(--teal); }
.cta-strip .btn-primary:hover { background: var(--off-white); }

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: #080f19;
  padding: 70px 0 0;
}

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

.footer-brand p {
  margin-top: 14px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  max-width: 260px;
}

.footer-brand .nav-logo { color: var(--white); }

.site-footer h4 {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.site-footer ul { display: flex; flex-direction: column; gap: 8px; }
.site-footer ul li, .footer-courses ul li { font-size: 0.875rem; color: rgba(255,255,255,0.4); }
.site-footer ul li a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.site-footer ul li a:hover { color: var(--teal-light); }

.footer-contact p { margin-bottom: 8px; }
.footer-contact a { color: rgba(255,255,255,0.4); font-size: 0.875rem; transition: color 0.2s; }
.footer-contact a:hover { color: var(--teal-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 24px;
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
  margin: 0;
}

/* ============================================
   About Page
   ============================================ */
.page-hero {
  background: var(--navy);
  padding: 80px 0 70px;
  text-align: center;
}

.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.6); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 70px;
  align-items: start;
}

.about-avatar-wrap {
  position: sticky;
  top: 90px;
}

.about-avatar {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--navy-light), var(--teal));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
}

.avatar-placeholder {
  font-size: 7rem;
  opacity: 0.6;
}

.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 40px;
  background: var(--off-white);
  color: var(--text-light);
  border: 1px solid var(--border);
}

.about-text h2 { margin-bottom: 16px; }
.about-text p { margin-bottom: 20px; font-size: 1.02rem; line-height: 1.75; }

.about-quals {
  margin: 40px 0;
}

.about-quals h3 { margin-bottom: 20px; font-size: 1.15rem; }

.qual-list { display: flex; flex-direction: column; gap: 12px; }

.qual-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 20px;
  background: var(--off-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.qual-icon { font-size: 1.2rem; flex-shrink: 0; }
.qual-item strong { display: block; font-size: 0.95rem; margin-bottom: 2px; }
.qual-item span { font-size: 0.85rem; color: var(--text-light); }

/* ============================================
   Courses Page
   ============================================ */
.courses-full {
  padding: 80px 0;
}

.board-section {
  margin-bottom: 80px;
}

.board-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border);
}

.board-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.cambridge-icon { background: rgba(15,155,142,0.12); }
.ocr-icon { background: rgba(192,57,43,0.10); }
.aqa-icon { background: rgba(44,62,144,0.10); }

.board-header h2 { margin-bottom: 4px; font-size: 1.6rem; }
.board-header p { font-size: 0.9rem; }

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

.syllabus-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--white);
  transition: box-shadow 0.2s;
}

.syllabus-card:hover { box-shadow: var(--shadow); }

.syllabus-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.syllabus-level {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 4px;
}

.cambridge .syllabus-level { color: var(--teal); background: rgba(15,155,142,0.10); }
.ocr-s .syllabus-level { color: var(--ocr); background: rgba(192,57,43,0.08); }
.aqa-s .syllabus-level { color: var(--aqa); background: rgba(44,62,144,0.08); }

.syllabus-code {
  font-family: monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-light);
  background: var(--off-white);
  padding: 4px 10px;
  border-radius: 6px;
}

.syllabus-card h3 { font-size: 1.1rem; margin-bottom: 12px; }
.syllabus-card p { font-size: 0.9rem; margin-bottom: 16px; }

.topic-tags { display: flex; flex-wrap: wrap; gap: 7px; }

.topic-tag {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--off-white);
  color: var(--text-light);
  border: 1px solid var(--border);
}

/* ============================================
   Resources Page
   ============================================ */
.resources-section {
  padding: 80px 0;
}

.resources-intro {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 60px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border: 1px solid var(--border);
}

.resources-intro-icon { font-size: 2rem; flex-shrink: 0; }
.resources-intro h3 { margin-bottom: 8px; font-size: 1.1rem; }
.resources-intro p { font-size: 0.9rem; }

.resource-board-section { margin-bottom: 60px; }

.resource-board-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.resource-board-title span {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 40px;
  font-family: var(--font-body);
}

.cambridge-span { background: rgba(15,155,142,0.12); color: var(--teal); }
.ocr-span { background: rgba(192,57,43,0.08); color: var(--ocr); }
.aqa-span { background: rgba(44,62,144,0.08); color: var(--aqa); }

.resource-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.resource-table th {
  background: var(--off-white);
  padding: 12px 20px;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
}

.resource-table td {
  padding: 14px 20px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.resource-table tr:last-child td { border-bottom: none; }
.resource-table tr:hover td { background: var(--off-white); }

.resource-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 4px;
}

.tag-paper { background: #e8f4fd; color: #2980b9; }
.tag-solution { background: #eafaf1; color: #27ae60; }
.tag-topical { background: #fef9e7; color: #d68910; }
.tag-notes { background: #fdf2f8; color: #8e44ad; }

.resource-download {
  color: var(--teal);
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s;
}
.resource-download:hover { gap: 8px; }

.upload-cta {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  margin-top: 40px;
}
.upload-cta h3 { color: var(--white); margin-bottom: 8px; }
.upload-cta p { color: rgba(255,255,255,0.6); margin-bottom: 24px; }

/* ============================================
   Contact Page
   ============================================ */
.contact-section { padding: 80px 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 70px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 14px; }
.contact-info > p { font-size: 1.02rem; margin-bottom: 40px; }

.contact-details { display: flex; flex-direction: column; gap: 20px; }

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: var(--off-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.contact-icon { font-size: 1.4rem; flex-shrink: 0; }
.contact-item h4 { margin-bottom: 2px; }
.contact-item p { font-size: 0.875rem; }

.contact-form-wrap {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-form-wrap h3 { margin-bottom: 28px; font-size: 1.3rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 11px 15px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--off-white);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15,155,142,0.12);
  background: var(--white);
}

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

.form-submit { width: 100%; justify-content: center; font-size: 1rem; padding: 14px; }

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 12px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 30px;
}
.form-success.show { display: block; }
.form-success-icon { font-size: 3rem; margin-bottom: 12px; }
.form-success h3 { color: var(--teal); margin-bottom: 8px; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 60px 24px;
    text-align: center;
    min-height: auto;
  }
  .hero-sub { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .courses-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-avatar-wrap { position: static; max-width: 300px; }
  .contact-grid { grid-template-columns: 1fr; }
  .syllabus-cards { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { padding: 10px 16px; display: block; }
  .site-header { position: relative; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 4px; }
  .why-features { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .resource-table { display: block; overflow-x: auto; }
}
