:root {
  --ink: #142126;
  --muted: #5d6a70;
  --line: #dce3e6;
  --paper: #f8fafb;
  --soft: #eef3f4;
  --white: #ffffff;
  --red: #e31d2f;
  --red-dark: #b91220;
  --cyan: #087f8c;
  --green: #16805b;
  --gold: #b97913;
  --coral: #d45c3d;
  --blue: #3566a8;
  --violet: #7256a2;
  --shadow: 0 22px 58px rgba(20, 33, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
}

body,
button,
input,
select,
textarea {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3,
.brand strong {
  font-family: Manrope, Inter, system-ui, sans-serif;
  letter-spacing: 0;
}

h1 {
  font-size: 4.9rem;
  line-height: 0.98;
  margin-bottom: 24px;
}

h2 {
  font-size: 3rem;
  line-height: 1.08;
  margin-bottom: 0;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.28;
  margin-bottom: 12px;
}

p {
  line-height: 1.7;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(220, 227, 230, 0.92);
  display: flex;
  height: 82px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(20px, 5vw, 76px);
  position: fixed;
  right: 0;
  top: 0;
  transition: box-shadow 180ms ease, background 180ms ease;
  z-index: 30;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 8px 28px rgba(20, 33, 38, 0.08);
}

.brand,
.site-nav,
.hero-actions,
.contact-lines,
.course-meta-row,
.tool-list,
.page-actions {
  align-items: center;
  display: flex;
}

.brand {
  gap: 12px;
  min-width: 0;
}

.brand img {
  display: block;
  height: 50px;
  object-fit: contain;
  width: 50px;
}

.brand > span {
  display: grid;
  gap: 2px;
}

.brand strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

.brand small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav {
  gap: 25px;
  font-size: 0.91rem;
  font-weight: 700;
}

.site-nav > a:not(.nav-cta):hover {
  color: var(--red);
}

.nav-cta,
.button,
.back-link {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
}

.nav-cta {
  background: var(--red);
  color: var(--white);
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 44px;
  padding: 6px;
  width: 44px;
}

.nav-toggle span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 7px auto;
  width: 24px;
}

.hero {
  align-content: end;
  display: grid;
  min-height: 94svh;
  overflow: hidden;
  padding: 158px clamp(20px, 5vw, 76px) 42px;
  position: relative;
}

.hero-bg {
  background-image: url("assets/training-room.jpeg");
  background-position: center center;
  background-size: cover;
  inset: 0;
  position: absolute;
  z-index: -2;
}

.hero::after {
  background: rgba(12, 24, 29, 0.73);
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.hero-content {
  color: var(--white);
  max-width: 820px;
}

.eyebrow,
.section-kicker {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.hero .eyebrow,
.course-hero .eyebrow {
  color: #ff858f;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.87);
  font-size: 1.22rem;
  line-height: 1.6;
  max-width: 700px;
}

.hero-actions,
.page-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  border: 1px solid transparent;
  cursor: pointer;
}

.primary {
  background: var(--red);
  color: var(--white);
}

.primary:hover,
.nav-cta:hover {
  background: var(--red-dark);
}

.secondary,
.back-link {
  border-color: rgba(255, 255, 255, 0.52);
  color: var(--white);
}

.secondary:hover,
.back-link:hover {
  background: rgba(255, 255, 255, 0.12);
}

.dark-button {
  background: var(--ink);
  color: var(--white);
  margin-top: 12px;
}

.dark-button:hover {
  background: #26383f;
}

.hero-proof {
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 64px;
  max-width: 980px;
}

.hero-proof div {
  border-right: 1px solid rgba(255, 255, 255, 0.28);
  display: grid;
  gap: 5px;
  padding: 18px 22px 0 0;
}

.hero-proof div + div {
  padding-left: 22px;
}

.hero-proof div:last-child {
  border-right: 0;
}

.hero-proof strong {
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.05rem;
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
}

.section,
.contact,
.experience,
.learning-band,
.course-overview,
.curriculum,
.skills-band,
.course-project,
.related-section,
.course-cta {
  padding: 104px clamp(20px, 5vw, 76px);
}

.intro {
  align-items: end;
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
}

.section-heading {
  max-width: 900px;
}

.intro-copy > p,
.split-heading > p,
.experience-copy > p,
.training-space-copy > p,
.contact-copy > p,
.course-overview-copy p,
.curriculum-intro p,
.project-copy > p {
  color: var(--muted);
  font-size: 1.06rem;
}

.intro-points {
  display: grid;
  gap: 0;
  margin-top: 28px;
}

.intro-points span {
  border-top: 1px solid var(--line);
  font-weight: 700;
  padding: 13px 0;
}

.courses {
  background: var(--soft);
}

.split-heading {
  align-items: end;
  display: grid;
  gap: 60px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  margin-bottom: 42px;
  max-width: none;
}

.split-heading > p {
  margin-bottom: 4px;
}

.course-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.course-card {
  --course-accent: var(--cyan);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  border-top: 4px solid var(--course-accent);
  display: grid;
  min-height: 330px;
  padding: 26px;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.course-card:hover {
  box-shadow: 0 18px 42px rgba(20, 33, 38, 0.1);
  transform: translateY(-3px);
}

.course-card--green {
  --course-accent: var(--green);
}

.course-card--gold {
  --course-accent: var(--gold);
}

.course-card--coral {
  --course-accent: var(--coral);
}

.course-card--blue {
  --course-accent: var(--blue);
}

.course-card--violet {
  --course-accent: var(--violet);
}

.course-card-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 36px;
}

.course-card-head > span {
  color: var(--course-accent);
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
}

.course-card-head small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.course-card h3 {
  font-size: 1.42rem;
}

.course-card > p {
  color: var(--muted);
  line-height: 1.62;
}

.tool-list {
  align-self: end;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0 22px;
}

.tool-list span {
  background: var(--soft);
  border-radius: 4px;
  color: #46555b;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 7px 9px;
}

.course-card > a {
  align-items: center;
  color: var(--course-accent);
  display: flex;
  font-weight: 800;
  justify-content: space-between;
}

.experience {
  align-items: center;
  background: var(--white);
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(300px, 0.78fr) minmax(480px, 1.22fr);
}

.experience-copy h2 {
  margin-bottom: 24px;
}

.experience-stats {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.experience-stats div {
  display: grid;
  gap: 5px;
  padding: 18px 12px 0 0;
}

.experience-stats strong {
  color: var(--red);
  font-family: Manrope, Inter, sans-serif;
}

.experience-stats span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.experience-gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: 1.3fr 0.7fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.experience-gallery figure {
  border-radius: 7px;
  margin-bottom: 0;
  min-height: 220px;
  overflow: hidden;
}

.experience-gallery .gallery-main {
  grid-row: 1 / 3;
  min-height: 520px;
}

.experience-gallery img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.experience-gallery figure:nth-child(3) img {
  object-position: center 28%;
}

.learning-band {
  background: var(--ink);
  color: var(--white);
}

.learning-band .section-kicker {
  color: #ff858f;
}

.learning-band .section-heading {
  margin-bottom: 46px;
}

.learning-steps {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.learning-steps article {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 22px;
}

.learning-steps span {
  color: #ff858f;
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 38px;
}

.learning-steps p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
  margin-bottom: 0;
}

.training-space {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
}

.training-space-image {
  aspect-ratio: 16 / 10;
  border-radius: 7px;
  overflow: hidden;
}

.training-space-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: 14% center;
  width: 100%;
}

.training-space-copy h2 {
  margin-bottom: 22px;
}

.contact {
  background: #edf2f4;
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.62fr);
}

.contact-copy h2 {
  margin-bottom: 22px;
}

.contact-lines {
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  font-weight: 700;
  margin-top: 28px;
}

.contact-lines a:hover {
  color: var(--red);
}

.location-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  gap: 16px;
  margin-top: 28px;
  max-width: 570px;
  overflow: hidden;
}

.location-card img {
  aspect-ratio: 16 / 8;
  display: block;
  object-fit: cover;
  width: 100%;
}

.location-card div {
  display: grid;
  gap: 6px;
  padding: 0 19px 19px;
}

.location-card span {
  color: var(--muted);
  line-height: 1.5;
}

.contact-form {
  align-self: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 17px;
  padding: 28px;
}

.form-heading {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 6px;
  margin-bottom: 4px;
  padding-bottom: 20px;
}

.form-heading span {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.form-heading strong {
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.22rem;
}

label {
  color: #435158;
  display: grid;
  font-size: 0.83rem;
  font-weight: 700;
  gap: 8px;
}

input,
select,
textarea {
  background: var(--white);
  border: 1px solid #cfd8dc;
  border-radius: 5px;
  color: var(--ink);
  font-size: 0.94rem;
  padding: 13px 14px;
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
  outline: 3px solid rgba(8, 127, 140, 0.12);
}

textarea {
  resize: vertical;
}

.contact-form .button {
  width: 100%;
}

.form-note {
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0;
  min-height: 20px;
}

.site-footer {
  align-items: start;
  background: var(--white);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 46px;
  grid-template-columns: minmax(220px, 0.72fr) minmax(130px, 0.36fr) minmax(360px, 1.1fr);
  padding: 42px clamp(20px, 5vw, 76px);
}

.footer-brand > p {
  color: var(--muted);
  font-size: 0.86rem;
  margin: 16px 0 0;
  max-width: 300px;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links strong {
  margin-bottom: 4px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.86rem;
}

.khda-block {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 108px minmax(0, 1fr);
}

.khda-block img {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  display: block;
  padding: 8px;
  width: 108px;
}

.khda-block div {
  display: grid;
  gap: 6px;
}

.khda-block strong {
  color: var(--ink);
}

.khda-block span,
.khda-block a {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

/* Course pages */

.course-hero {
  align-content: end;
  background-position: center;
  background-size: cover;
  color: var(--white);
  display: grid;
  min-height: 76svh;
  overflow: hidden;
  padding: 156px clamp(20px, 5vw, 76px) 72px;
  position: relative;
}

.course-hero::after {
  background: rgba(10, 24, 29, 0.68);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 0;
}

.course-hero > * {
  position: relative;
  z-index: 1;
}

.course-hero--data {
  background-image: url("assets/course-data-analytics-v2.jpg");
  background-position: center;
}

.course-hero--python {
  background-image: url("assets/course-python-analytics-v2.jpg");
  background-position: center;
}

.course-hero--excel {
  background-image: url("assets/course-excel-ai-v2.jpg");
  background-position: center;
}

.course-hero--marketing {
  background-image: url("assets/course-digital-marketing-v2.jpg");
  background-position: center;
}

.course-hero--ai {
  background-image: url("assets/course-ai-automation-v2.jpg");
  background-position: center;
}

.course-hero--office {
  background-image: url("assets/course-ms-office-v2.jpg");
  background-position: center;
}

.course-hero-content {
  max-width: 930px;
}

.course-hero h1 {
  font-size: 4.4rem;
  margin-bottom: 22px;
  max-width: 1000px;
}

.course-hero-description {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.18rem;
  line-height: 1.62;
  max-width: 760px;
}

.course-meta-row {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.course-meta-row span {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 10px;
}

.course-overview {
  align-items: start;
  background: var(--white);
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 1.18fr);
}

.course-overview-copy h2 {
  margin-bottom: 22px;
}

.course-overview-copy p:last-child {
  margin-bottom: 0;
}

.course-highlights {
  display: grid;
  gap: 0;
}

.course-highlights div {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(100px, 0.36fr) minmax(0, 1fr);
  padding: 18px 0;
}

.course-highlights span {
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.course-highlights strong {
  line-height: 1.5;
}

.fact-strip {
  background: var(--ink);
  color: var(--white);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0 clamp(20px, 5vw, 76px);
}

.fact-strip div {
  border-right: 1px solid rgba(255, 255, 255, 0.17);
  display: grid;
  gap: 6px;
  padding: 28px 24px;
}

.fact-strip div:first-child {
  padding-left: 0;
}

.fact-strip div:last-child {
  border-right: 0;
}

.fact-strip strong {
  font-family: Manrope, Inter, sans-serif;
}

.fact-strip span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
}

.curriculum {
  display: grid;
  gap: 82px;
  grid-template-columns: minmax(260px, 0.58fr) minmax(520px, 1.42fr);
}

.curriculum-intro {
  align-self: start;
  position: sticky;
  top: 116px;
}

.curriculum-intro h2 {
  margin-bottom: 22px;
}

.curriculum-list {
  display: grid;
}

.syllabus-item {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: 46px minmax(0, 1fr);
  padding: 26px 0;
}

.syllabus-item > span {
  color: var(--red);
  font-family: Manrope, Inter, sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
}

.syllabus-item h3 {
  margin-bottom: 9px;
}

.syllabus-item p {
  color: var(--muted);
  line-height: 1.62;
  margin-bottom: 0;
}

.skills-band {
  background: #eaf3f4;
}

.skills-band .section-heading {
  margin-bottom: 38px;
}

.skills-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.skill-item {
  background: var(--white);
  border: 1px solid #d5e2e4;
  border-radius: 7px;
  min-height: 150px;
  padding: 23px;
}

.skill-item strong {
  display: block;
  font-family: Manrope, Inter, sans-serif;
  margin-bottom: 10px;
}

.skill-item span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.course-project {
  align-items: center;
  background: var(--white);
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(0, 0.86fr) minmax(380px, 0.74fr);
}

.project-copy h2 {
  margin-bottom: 22px;
}

.project-deliverables {
  display: grid;
}

.project-deliverables div {
  align-items: baseline;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 16px;
  grid-template-columns: 34px minmax(0, 1fr);
  padding: 18px 0;
}

.project-deliverables span {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
}

.project-deliverables strong {
  line-height: 1.45;
}

.related-section {
  background: var(--soft);
}

.related-section .section-heading {
  margin-bottom: 34px;
}

.related-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.related-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  min-height: 174px;
  padding: 22px;
}

.related-card span {
  color: var(--red);
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
}

.related-card strong {
  align-self: center;
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.08rem;
}

.related-card small {
  align-self: end;
  color: var(--muted);
  font-weight: 700;
}

.course-cta {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.course-cta h2 {
  margin-bottom: 14px;
  max-width: 820px;
}

.course-cta p {
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 0;
}

.course-cta .page-actions {
  margin-top: 0;
}

@media (max-width: 1120px) {
  h1 {
    font-size: 4.2rem;
  }

  .course-hero h1 {
    font-size: 3.8rem;
  }

  .course-grid,
  .skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .experience {
    gap: 42px;
  }

  .learning-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: minmax(220px, 0.7fr) minmax(360px, 1fr);
  }

  .footer-links {
    display: none;
  }
}

@media (max-width: 900px) {
  h2 {
    font-size: 2.5rem;
  }

  .intro,
  .split-heading,
  .experience,
  .training-space,
  .contact,
  .course-overview,
  .curriculum,
  .course-project,
  .course-cta {
    grid-template-columns: 1fr;
  }

  .intro,
  .split-heading,
  .experience,
  .training-space,
  .contact,
  .course-overview,
  .curriculum,
  .course-project {
    gap: 44px;
  }

  .curriculum-intro {
    position: static;
  }

  .course-cta .page-actions {
    justify-self: start;
  }

  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .site-header {
    height: 72px;
  }

  .brand img {
    height: 42px;
    width: 42px;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .brand small {
    font-size: 0.59rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 36px rgba(20, 33, 38, 0.09);
    display: grid;
    gap: 0;
    left: 0;
    padding: 10px 20px 20px;
    position: absolute;
    right: 0;
    top: 72px;
    transform: translateY(-135%);
    transition: transform 180ms ease;
    z-index: -1;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 13px 0;
  }

  .nav-cta {
    margin-top: 6px;
  }

  .hero {
    min-height: calc(100svh - 18px);
    padding-bottom: 26px;
    padding-top: 110px;
  }

  .hero-bg {
    background-position: center;
  }

  .hero-copy,
  .course-hero-description {
    font-size: 1.04rem;
  }

  .hero h1 {
    margin-bottom: 18px;
  }

  .hero-copy {
    line-height: 1.5;
    margin-bottom: 0;
  }

  .hero .hero-actions {
    margin-top: 22px;
  }

  .hero-proof,
  .fact-strip,
  .course-grid,
  .skills-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    margin-top: 28px;
  }

  .hero-proof div,
  .hero-proof div + div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-right: 0;
    padding: 8px 0;
  }

  .hero-proof div:last-child {
    border-bottom: 0;
  }

  .section,
  .contact,
  .experience,
  .learning-band,
  .course-overview,
  .curriculum,
  .skills-band,
  .course-project,
  .related-section,
  .course-cta {
    padding-bottom: 74px;
    padding-top: 74px;
  }

  .course-card {
    min-height: 300px;
  }

  .experience-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .experience-gallery .gallery-main {
    grid-row: auto;
    min-height: 340px;
  }

  .experience-gallery figure {
    min-height: 280px;
  }

  .experience-stats,
  .learning-steps {
    grid-template-columns: 1fr;
  }

  .learning-steps span {
    margin-bottom: 22px;
  }

  .training-space-image {
    aspect-ratio: 4 / 3;
  }

  .button,
  .back-link {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .khda-block {
    align-items: start;
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .khda-block img {
    width: 92px;
  }

  .course-hero {
    min-height: 700px;
    padding-bottom: 54px;
    padding-top: 132px;
  }

  .course-hero--data,
  .course-hero--python,
  .course-hero--excel,
  .course-hero--marketing,
  .course-hero--ai,
  .course-hero--office {
    background-position: 66% center;
  }

  .course-hero h1 {
    font-size: 2.85rem;
    overflow-wrap: anywhere;
  }

  .course-meta-row {
    align-items: flex-start;
  }

  .fact-strip {
    padding-bottom: 16px;
    padding-top: 16px;
  }

  .fact-strip div,
  .fact-strip div:first-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    border-right: 0;
    padding: 18px 0;
  }

  .fact-strip div:last-child {
    border-bottom: 0;
  }

  .course-highlights div {
    grid-template-columns: 1fr;
  }

  .syllabus-item {
    gap: 12px;
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .course-cta .page-actions {
    width: 100%;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 2.72rem;
  }

  h2 {
    font-size: 1.95rem;
  }

  .site-header {
    padding-left: 16px;
    padding-right: 12px;
  }

  .hero,
  .section,
  .contact,
  .experience,
  .learning-band,
  .course-hero,
  .course-overview,
  .curriculum,
  .skills-band,
  .course-project,
  .related-section,
  .course-cta,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .course-hero h1 {
    font-size: 2.5rem;
  }

  .course-card,
  .contact-form {
    padding: 22px;
  }

  .khda-block {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
