/* Nourtech Training & Consulting Ltd — site stylesheet
   Brand colours come from the logo: navy #1d3557 and cyan #00b4d8.
   Change a colour once in :root and it updates everywhere. */

:root {
  --navy: #1d3557;
  --navy-card: #264469;
  --navy-line: #3a5880;
  --cyan: #00b4d8;
  --cyan-dark: #006f90;
  --grey: #c8cdd3;
  --bg: #f4f7fa;
  --white: #ffffff;
  --text: #2b3748;
  --muted: #4a5668;
  --muted-on-navy: #c2cfde;
  --line: #dde4ec;
  --focus: #f2a33a;
  --radius: 20px;
  --font-head: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); margin: 0; }
p { margin: 0; }
a { color: var(--cyan-dark); }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--cyan); color: var(--navy); padding: 10px 16px;
  border-radius: 8px; font-weight: 600; z-index: 10;
}
.skip-link:focus { left: 8px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header and navigation ---------- */
.site-header { background: var(--navy); color: var(--white); }
.nav {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 12px 32px; padding: 24px 0;
}
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; height: 46px; width: auto; }
.nav-links {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 4px 26px; font-size: 15px; font-weight: 500;
}
.nav-links a {
  color: #e6edf5; text-decoration: none; padding: 10px 0;
}
.nav-links a:hover { color: var(--cyan); }
.nav-links a.btn { color: var(--navy); padding: 12px 22px; }
.nav-links a.btn:hover { color: var(--navy); background: #f8c964; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 14px 28px; border-radius: 999px;
  font-family: inherit; font-size: 16px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
}
.btn-primary { background: var(--cyan); color: var(--navy); }
.btn-primary:hover { background: #f8c964; }
.btn-light { color: var(--white); border-color: #5b7aa3; }
.btn-light:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-outline { color: var(--cyan-dark); border-color: var(--cyan-dark); }
.btn-outline:hover { background: #fdf3dc; }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: #274a76; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 48px 64px; padding: 48px 0 104px;
}
.hero-text { flex: 1 1 480px; min-width: 0; }
.hero-side { flex: 1 1 380px; min-width: 0; }
.eyebrow-pill {
  display: inline-block; margin-bottom: 20px; padding: 6px 14px;
  border: 1px solid var(--navy-line); border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--cyan);
}
.hero h1, .course-hero h1 {
  color: var(--white); font-weight: 700; line-height: 1.05;
  letter-spacing: -0.025em;
}
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); margin-bottom: 24px; }
.hero h1 span { color: var(--cyan); }
.lead { font-size: 19px; color: var(--muted-on-navy); max-width: 580px; }
.hero .lead { margin-bottom: 36px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.path-card {
  background: var(--navy-card); border: 1px solid var(--navy-line);
  border-radius: 24px; padding: 28px 28px 14px;
}
.path-card .label {
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted-on-navy); margin-bottom: 6px;
}
.path-card .title {
  font-family: var(--font-head); font-size: 24px; font-weight: 600;
  line-height: 1.25; color: var(--white); margin-bottom: 18px;
}
.path-row {
  display: flex; align-items: center; gap: 16px; padding: 14px 0;
  border-top: 1px solid var(--navy-line); color: var(--white);
}
.path-row .num {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--cyan); color: var(--navy); font-weight: 700;
  font-size: 14px; display: flex; align-items: center; justify-content: center;
}
.path-row .name { flex: 1; font-weight: 600; }
.path-row .tag { font-size: 14px; color: var(--muted-on-navy); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--navy); color: var(--white); }
.kicker {
  margin-bottom: 14px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan-dark);
}
.section-dark .kicker { color: var(--cyan); }
.section h2 {
  font-size: clamp(30px, 4vw, 46px); line-height: 1.1;
  letter-spacing: -0.02em; font-weight: 700; max-width: 780px;
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.sub { margin-top: 16px; max-width: 640px; color: var(--muted); }
.section-head { margin-bottom: 48px; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 24px; }
.card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
}
.card h3 { font-size: 24px; font-weight: 600; margin-bottom: 6px; }
.card .level { font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.card .blurb { color: var(--muted); margin-bottom: 18px; }
.card ul { margin: 0 0 24px; padding-left: 20px; line-height: 1.8; }
.card .more { margin-top: auto; font-weight: 600; text-decoration: none; }
.card .more:hover { text-decoration: underline; }

.icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center;
}
.icon svg { width: 26px; height: 26px; }
.tint-excel    { background: #ddf1e4; color: #1e6b3a; }
.tint-powerbi  { background: #fbefc8; color: #7a5400; }
.tint-sql      { background: #dce8f8; color: #1f4c8f; }
.tint-python   { background: #e4e0f6; color: #46368f; }
.tint-ai       { background: #f8e0e6; color: #8f2b47; }
.tint-computer { background: #e3e8ec; color: #2c3e50; }

/* ---------- Steps / audience ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 40px 32px; }
.step .n {
  font-family: var(--font-head); font-size: 44px; font-weight: 700;
  line-height: 1; color: var(--cyan-dark); margin-bottom: 14px;
}
.step h3 { font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--muted); }

.audience { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.audience > div { border-top: 3px solid var(--cyan); padding-top: 24px; }
.audience h3 { font-size: 24px; font-weight: 600; margin-bottom: 10px; }
.audience p { color: var(--muted); }

/* ---------- Consulting ---------- */
.consult { display: flex; flex-wrap: wrap; gap: 48px 72px; }
.consult-text { flex: 1 1 380px; min-width: 0; }
.consult-text h2 { margin-bottom: 20px; }
.consult-text p { color: var(--muted-on-navy); margin-bottom: 32px; }
.consult-grid { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; }
.consult-grid > div {
  background: var(--navy-card); border: 1px solid var(--navy-line);
  border-radius: 18px; padding: 24px;
}
.consult-grid h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.consult-grid p { font-size: 15px; color: var(--muted-on-navy); }

/* ---------- Pricing ---------- */
.price-card {
  display: flex; flex-direction: column; background: var(--bg);
  border: 1px solid var(--line); border-radius: 24px; padding: 36px;
}
.price-card.featured { background: var(--navy); color: var(--white); border-color: var(--navy); }
.price-card.featured h3 { color: var(--white); }
.price-card h3 { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.price-card .desc { color: var(--muted); margin-bottom: 20px; }
.price-card.featured .desc { color: var(--muted-on-navy); }
.price-card .amount {
  font-family: var(--font-head); font-size: 40px; font-weight: 700;
  line-height: 1; margin-bottom: 24px; color: var(--navy);
}
.price-card.featured .amount { color: var(--white); }
.price-card .amount small { font-size: 16px; font-weight: 500; color: var(--muted); }
.price-card.featured .amount small { color: var(--muted-on-navy); }
.price-card ul { margin: 0 0 28px; padding-left: 20px; line-height: 1.9; }
.price-card .btn { margin-top: auto; }
.badge {
  align-self: flex-start; margin-bottom: 14px; padding: 4px 12px;
  border-radius: 999px; background: var(--cyan); color: var(--navy);
  font-size: 13px; font-weight: 700;
}

/* ---------- Testimonials ---------- */
.quote {
  display: flex; flex-direction: column; gap: 24px; margin: 0;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px;
}
.quote blockquote { margin: 0; font-size: 18px; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.quote .avatar {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: #e1f5fa; color: var(--cyan-dark); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.quote .who { display: block; font-weight: 600; color: var(--navy); }
.quote .role { display: block; font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.faq { margin-top: 36px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; min-height: 44px; padding: 22px 0;
  font-family: var(--font-head); font-size: 19px; font-weight: 600; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 28px; line-height: 1; color: var(--cyan-dark); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0 0 24px; padding-right: 40px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-box {
  display: flex; flex-wrap: wrap; gap: 48px 64px; background: var(--white);
  border: 1px solid var(--line); border-radius: 28px;
  padding: clamp(28px, 5vw, 64px);
}
.contact-info { flex: 1 1 340px; min-width: 0; }
.contact-info h2 { margin-bottom: 18px; }
.contact-info .sub { margin: 0 0 32px; }
.contact-info dt { font-weight: 600; color: var(--navy); }
.contact-info dd { margin: 0 0 18px; color: var(--muted); }
form.enquiry { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 15px; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 16px; border: 1.5px solid #aab6c4;
  border-radius: 12px; font-family: inherit; font-size: 16px;
  background: var(--white); color: var(--navy);
}
.field textarea { resize: vertical; }
.form-note { font-size: 14px; color: var(--muted); }
.hidden-field { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--muted-on-navy); padding: 48px 0 32px; font-size: 15px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; }
.footer-brand { flex: 1 1 280px; min-width: 0; }
.footer-brand img { height: 88px; width: auto; display: block; margin-bottom: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: flex-start; }
.footer-links a { color: #e6edf5; text-decoration: none; padding: 8px 0; }
.footer-links a:hover { color: var(--cyan); }
.copyright { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--navy-line); font-size: 14px; }

/* ---------- Course pages ---------- */
.course-hero-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 40px 56px; padding: 32px 0 88px;
}
.course-hero-text { flex: 1 1 520px; min-width: 0; }
.course-hero h1 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 20px; }
.course-hero .icon { width: 60px; height: 60px; border-radius: 16px; margin-bottom: 24px; }
.course-hero .icon svg { width: 30px; height: 30px; }
.course-hero .lead { margin-bottom: 32px; }
.meta { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.meta div { background: var(--navy-card); border: 1px solid var(--navy-line); border-radius: 16px; padding: 16px 22px; color: var(--white); }
.meta span { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-on-navy); }
.meta strong { font-weight: 600; }
.breadcrumb { font-size: 14px; color: var(--muted-on-navy); padding-top: 8px; }
.breadcrumb a { color: var(--muted-on-navy); }

.modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.module { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.module .n {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; margin-bottom: 16px; font-weight: 700;
}
.module h3 { font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.module p { color: var(--muted); }

.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 24px; }
.two-col > div { border-top: 3px solid var(--cyan); padding-top: 24px; }
.two-col h3 { font-size: 24px; font-weight: 600; margin-bottom: 14px; }
.two-col ul { margin: 0; padding-left: 20px; line-height: 1.9; }

.fee-box {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 32px; background: var(--navy); color: var(--white); border-radius: 28px;
  padding: clamp(28px, 5vw, 56px);
}
.fee-box .label { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); margin-bottom: 8px; }
.fee-box .amount { font-family: var(--font-head); font-size: 44px; font-weight: 700; line-height: 1; margin-bottom: 10px; }
.fee-box .amount small { font-size: 17px; font-weight: 500; color: var(--muted-on-navy); }
.fee-box p.note { color: var(--muted-on-navy); }

.other-courses { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.other-courses a {
  padding: 10px 18px; border: 1.5px solid var(--line); border-radius: 999px;
  background: var(--white); color: var(--navy); text-decoration: none; font-weight: 600; font-size: 15px;
}
.other-courses a:hover { border-color: var(--cyan-dark); color: var(--cyan-dark); }

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero-inner { padding-bottom: 72px; }
  .nav-links { gap: 2px 18px; }
  .card, .price-card, .quote { padding: 26px; }
  .faq details p { padding-right: 0; }
}
