:root {
  --navy: #0F172A;
  --navy-light: #1B2740;
  --panel: #111827;
  --teal: #2DD4BF;
  --teal-dark: #14B8A6;
  --amber: #F59E0B;
  --bg: #F5F6F8;
  --card: #FFFFFF;
  --text-dark: #151B2B;
  --muted: #5B6478;
  --border: #E4E6EC;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}

h1,
h2,
h3 {
  font-family: 'Space Grotesk', sans-serif;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

button,
select,
input {
  font-family: inherit;
}

button {
  cursor: pointer;
  border: none;
}

/* ===== Header ===== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--teal);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 15px;
}

.brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.15;
}

.brand-name small {
  display: block;
  font-size: 10.5px;
  color: #94A3B8;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  margin-top: 2px;
}

nav {
  display: flex;
  gap: 26px;
  font-size: 13.5px;
  font-weight: 600;
}

nav a {
  text-decoration: none;
  opacity: 0.8;
  transition: opacity .15s;
}

nav a:hover {
  opacity: 1;
  color: var(--teal);
}

@media (max-width:760px) {
  nav {
    display: none;
  }
}

.btn {
  padding: 12px 22px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 8px;
  transition: transform .12s, background .15s, box-shadow .15s;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--teal);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--teal-dark);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* ===== Hero ===== */
.hero {
  background: var(--navy);
  color: #fff;
  padding: 64px 24px 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(45, 212, 191, 0.12) 0, transparent 45%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width:900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}

.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45, 212, 191, 0.12);
  color: var(--teal);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(30px, 4.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.hero h1 .accent {
  color: var(--teal);
}

.hero p.sub {
  margin-top: 18px;
  max-width: 480px;
  font-size: 15.5px;
  color: #B9C1D4;
}

.hero-cta {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.terminal {
  background: var(--panel);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-bar {
  background: #1E293B;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red {
  background: #EF4444;
}

.dot.yellow {
  background: #F59E0B;
}

.dot.green {
  background: #22C55E;
}

.terminal-title {
  margin-left: 8px;
  font-size: 11.5px;
  color: #8B96AC;
  font-family: 'JetBrains Mono', monospace;
}

.terminal-body {
  padding: 22px 20px;
  font-size: 13.5px;
  min-height: 180px;
}

.terminal-body .line {
  margin-bottom: 10px;
  color: #CBD5E1;
}

.terminal-body .prompt {
  color: var(--teal);
  margin-right: 6px;
}

.terminal-body .out {
  color: #7EE8CF;
  margin-left: 18px;
  margin-bottom: 16px;
}

.cursor {
  display: inline-block;
  color: var(--teal);
  animation: blink 1s step-start infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* ===== Stats ===== */
.stats {
  background: var(--navy-light);
  color: #fff;
  padding: 0;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats-inner div {
  padding: 26px 20px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-inner div:last-child {
  border-right: none;
}

.stats-inner .num {
  font-size: 26px;
  font-weight: 700;
  color: var(--teal);
}

.stats-inner .lbl {
  font-size: 11.5px;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

@media (max-width:640px) {
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Section shell ===== */
section {
  padding: 70px 24px;
}

.alt-bg {
  background: #EEF0F4;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-head {
  margin-bottom: 36px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.section-head .eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 8px;
}

.section-head h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  letter-spacing: -0.5px;
}

.section-head p {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 420px;
}

/* ===== Courses ===== */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}

.course-card {
  background: var(--card);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform .15s, box-shadow .15s;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
}

.course-titlebar {
  background: var(--navy);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.course-titlebar .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.course-titlebar span.fname {
  margin-left: 8px;
  font-size: 11px;
  color: #94A3B8;
  font-family: 'JetBrains Mono', monospace;
}

.course-body {
  padding: 20px;
}

.course-name {
  font-size: 17px;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
}

.course-duration {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.course-syllabus {
  list-style: none;
  margin-top: 14px;
  padding: 0;
}

.course-syllabus li {
  font-size: 12.5px;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
  margin-bottom: 6px;
}

.course-syllabus li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--teal-dark);
  font-weight: 700;
}

.course-price-row {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--muted);
}

.course-price-row .price {
  color: var(--text-dark);
  font-weight: 700;
  font-size: 20px;
}

.course-enroll {
  margin-top: 14px;
  width: 100%;
  padding: 11px;
  background: var(--navy);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border-radius: 6px;
  transition: background .15s;
}

.course-enroll:hover {
  background: var(--teal-dark);
  color: var(--navy);
}

/* ===== Teacher ===== */
.teacher-card {
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 260px 1fr;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

@media (max-width:720px) {
  .teacher-card {
    grid-template-columns: 1fr;
  }
}

.teacher-photo {
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  color: var(--teal);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 44px;
  font-weight: 700;
}

.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-info {
  padding: 32px;
}

.teacher-info h3 {
  font-size: 22px;
}

.teacher-role {
  font-size: 12.5px;
  color: var(--teal-dark);
  margin-top: 4px;
  letter-spacing: 0.3px;
}

.teacher-bio {
  font-size: 14px;
  color: var(--muted);
  margin-top: 14px;
  max-width: 600px;
}

.teacher-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.teacher-tags span {
  background: #EEF9F7;
  color: var(--teal-dark);
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
}

/* ===== Why ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.why-card {
  background: var(--card);
  padding: 24px 20px;
  border-radius: 10px;
  border-left: 4px solid var(--teal);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
}

.why-card .n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--teal-dark);
  font-weight: 700;
}

.why-card h3 {
  font-size: 15.5px;
  margin-top: 8px;
}

.why-card p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

/* ===== Location ===== */
.location-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width:820px) {
  .location-wrap {
    grid-template-columns: 1fr;
  }
}

.location-details {
  background: var(--card);
  border-radius: 10px;
  padding: 8px 28px;
  border: 1px solid var(--border);
}

.detail-row {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #EEF9F7;
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-text .k {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #98A0B3;
  font-family: 'JetBrains Mono', monospace;
}

.detail-text .v {
  font-size: 14px;
  font-weight: 500;
  margin-top: 3px;
}

.location-map {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 320px;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

/* ===== Contact ===== */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width:820px) {
  .contact-inner {
    grid-template-columns: 1fr;
  }
}

.contact-inner h2 {
  margin-top: 6px;
  margin-bottom: 14px;
}

.contact-sub {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 400px;
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form label {
  font-size: 11px;
  color: #98A0B3;
  margin-top: 12px;
  letter-spacing: 0.5px;
}

.contact-form label:first-child {
  margin-top: 0;
}

.contact-form select,
.contact-form input {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  background: #FAFBFC;
  color: var(--text-dark);
}

.contact-form select:focus,
.contact-form input:focus {
  outline: 2px solid var(--teal);
  border-color: transparent;
}

.btn-whatsapp {
  margin-top: 20px;
  background: #25913c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.btn-whatsapp:hover {
  background: #1f7a32;
}

/* ===== Footer ===== */
footer {
  background: var(--navy);
  color: #94A3B8;
  padding: 40px 24px 26px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
}

footer .fbrand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 15px;
}

footer .fnote {
  margin-top: 6px;
}

@media (max-width:520px) {
  .header-inner {
    padding: 12px 16px;
  }

  section {
    padding: 48px 16px;
  }

  .hero {
    padding: 44px 16px 56px;
  }
}