:root {
  --green: #0fa968;
  --green-deep: #009c48;
  --green-bright: #00b858;
  --green-social: #00df6c;
  --dark: #022e21;
  --darker: #02170e;
  --card-top: #033d2e;
  --ink: #102a3a;
  --muted: #68736f;
  --muted-dark: #9baca8;
  --pale: #f5faf7;
  --surface: #f7faf8;
  --line: #e0e8e4;
  --line-dark: #17465a;
  --line-topbar: #1e3a4e;
  --on-dark: #ddf6ea;
  --gutter: 80px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 16px;
}

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

button,
input,
select {
  font: inherit;
}

img {
  max-width: 100%;
}

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

/*
 * Figma draws strokes inside the frame, so a box's height in the design already
 * includes its 1px stroke. Auto-height boxes therefore use an inset box-shadow
 * rather than `border`, which would add 2px to the layout.
 */

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 0;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.button-sm {
  padding: 12px 24px;
  font-size: 14px;
}

.button-lg {
  padding: 18px 48px;
  border-radius: 12px;
  font-size: 20px;
}

.button-deep {
  background: var(--green-deep);
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--green);
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
}

/* Header */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--line-topbar);
  background: var(--darker);
}

.topbar-logo img {
  display: block;
  width: 134px;
  height: 76px;
  object-fit: contain;
}

.topbar-links,
.main-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
}

.topbar-links a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.topbar-links .is-active {
  color: var(--green-deep);
  font-weight: 600;
  text-decoration: underline;
  text-shadow:
    0 0 12px rgba(0, 156, 72, 0.6),
    0 0 24px rgba(0, 156, 72, 0.3);
}

.topbar-cta {
  width: 189px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  direction: ltr;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.main-links a {
  color: var(--ink);
  font-weight: 500;
}

.main-links .is-active {
  color: var(--green);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-login {
  font-size: 15px;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 592px;
  padding: 160px var(--gutter) 80px;
  background: url("assets/hero-bg.png") center / cover no-repeat var(--darker);
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
  width: 580px;
  max-width: 100%;
  text-align: start;
}

.hero-copy h1 {
  color: #fff;
  font-size: 52px;
  font-weight: 700;
  line-height: normal;
}

.hero-copy h1 span {
  color: var(--green);
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  font-weight: 400;
}

.hero .button-lg {
  filter: drop-shadow(0 8px 12px rgba(15, 169, 104, 0.35));
}

.stat-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(9px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 10px 24px rgba(0, 0, 0, 0.15);
  text-align: start;
}

.stat-card strong {
  color: var(--green);
  font-size: 28px;
  font-weight: 700;
  direction: ltr;
  text-align: end;
}

.stat-card small {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

/* Positions come from the design; in RTL "inline-end" is the left edge. */
.stat-card-1 {
  inset-block-start: 120px;
  inset-inline-end: 373px;
  width: 180px;
}

.stat-card-2 {
  inset-block-start: 476px;
  inset-inline-end: 96px;
  width: 180px;
}

.stat-card-3 {
  inset-block-start: 149px;
  inset-inline-end: 96px;
  width: 180px;
}

.stat-card-live {
  inset-block-start: 394px;
  inset-inline-end: 443px;
  gap: 10px;
  width: 220px;
}

.live-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: #b91029;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.live-figure {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.live-figure small {
  font-size: 13px;
}

.live-avatars {
  display: flex;
  align-items: center;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack img {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  object-fit: cover;
}

.avatar-stack img + img {
  margin-inline-start: -10px;
}

.avatar-more {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  direction: ltr;
}

/* Accreditation band */

.accreditation {
  position: relative;
  height: 370px;
  padding: 96px;
  background: var(--pale);
}

.accreditation-pattern {
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.accreditation-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
}

.accreditation-seal {
  width: 138px;
  height: 178px;
  object-fit: contain;
}

.accreditation-divider {
  width: 1px;
  height: 100px;
  background: var(--line);
}

.accreditation-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 606px;
  text-align: start;
}

.accreditation-copy h2 {
  color: var(--ink);
  font-size: 28px;
  font-weight: 700;
}

.accreditation-copy p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
}

/* Section headers */

.section-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  text-align: center;
}

.section-header h2 {
  color: var(--dark);
  font-size: 36px;
  font-weight: 700;
}

.section-header p {
  color: var(--green-deep);
  font-size: 18px;
  font-weight: 600;
}

.section-header-light h2,
.section-header-light p {
  color: #fff;
}

.section-header-light h2 {
  font-size: 36px;
}

.section-header-light p {
  width: 680px;
  max-width: 100%;
  margin-inline: auto;
  font-size: 16px;
  font-weight: 400;
}

/* Program details */

.program {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  min-height: 680px;
  padding: 80px 100px;
  background: url("assets/program-details-bg.png") center / cover no-repeat
    var(--dark);
}

.program::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.program > * {
  position: relative;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  flex-shrink: 0;
  width: 1280px;
  height: 206px;
  align-content: flex-start;
}

.detail {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  height: 86px;
  border-radius: 12px;
  background: linear-gradient(to right, var(--card-top), var(--dark));
  box-shadow:
    inset 0 0 0 1px rgba(0, 156, 72, 0.2),
    0 0 16px rgba(15, 169, 104, 0.1),
    0 14px 28px rgba(0, 0, 0, 0.4);
}

.detail-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  text-align: start;
}

.detail-text small {
  color: var(--muted-dark);
  font-size: 13px;
}

.detail-text strong {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.detail-icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(0, 156, 72, 0.08);
}

.price-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 28px 40px;
  border-radius: 24px;
  background: linear-gradient(to right, #fff, #f0fdf4);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.5),
    0 0 18px rgba(15, 169, 104, 0.1),
    0 10px 28px rgba(0, 0, 0, 0.08);
}

.price-metric {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--green-deep);
  font-weight: 700;
  direction: ltr;
}

.price-metric span:first-child {
  font-size: 24px;
}

.price-metric span:last-child {
  font-size: 56px;
  line-height: 1;
}

.price-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding-inline-start: 32px;
  text-align: start;
}

.price-text strong {
  color: var(--dark);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.price-text small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Courses */

.courses {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 80px var(--gutter) 100px;
}

.course-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 1280px;
  max-width: 100%;
}

.course-card {
  --visual-clip: 0px;
  --visual-top: -1px;
  --fade-width: 110px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 230px;
  height: 159px;
  padding: 16px 16px 12px;
  border: 1px solid #0b2629;
  border-radius: 12px;
  background: var(--dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.course-visual {
  position: absolute;
  inset-block-start: var(--visual-top);
  inset-inline: auto -1px;
  width: 230px;
  height: 150px;
  object-fit: cover;
  clip-path: inset(0 0 0 var(--visual-clip));
}

/* Fades the artwork into the card behind the text (the inline-start edge). */
.course-card::after {
  content: "";
  position: absolute;
  inset-block: var(--visual-top) auto;
  inset-inline-start: 0;
  width: var(--fade-width);
  height: 150px;
  background: linear-gradient(
    to right,
    rgba(2, 46, 33, 0),
    rgba(2, 46, 33, 0) 45%,
    var(--dark)
  );
}

.course-card-clip-sm {
  --visual-clip: 46px;
}

.course-card-clip-lg {
  --visual-clip: 120px;
}

.course-card-drop {
  --visual-top: 4px;
}

.course-card-fade-full {
  --fade-width: 230px;
}

.course-number,
.course-body {
  position: relative;
  z-index: 1;
}

.course-number {
  height: 36px;
  color: var(--green-deep);
  font-size: 24px;
  font-weight: 700;
  text-align: start;
}

.course-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.course-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: start;
}

.course-details h3 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.course-details p {
  color: var(--muted-dark);
  font-size: 11px;
  font-weight: 500;
}

.course-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 35px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.course-cta span {
  font-size: 12px;
}

/* About */

.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 64px var(--gutter);
  background: var(--surface);
}

.about-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: center;
}

.about-accent {
  width: 48px;
  height: 2px;
  background: var(--green);
}

.about-eyebrow {
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
}

.about-header h2 {
  color: var(--ink);
  font-size: 36px;
  font-weight: 700;
}

.about-lead {
  width: 640px;
  max-width: 100%;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.about-band {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.about-statement {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  text-align: start;
}

.about-statement h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 700;
}

.about-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.about-statement p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.about-photos {
  position: relative;
  flex-shrink: 0;
  width: 560px;
  height: 480px;
}

.about-photos img {
  position: absolute;
  border: 1px solid #fff;
  border-radius: 16px;
  object-fit: cover;
}

.about-photo-primary {
  inset-block-start: 0;
  inset-inline-end: 220px;
  width: 340px;
  height: 440px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

.about-photo-secondary {
  inset-block-end: 0;
  inset-inline-end: 0;
  width: 280px;
  height: 320px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.trust-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 32px;
  border-radius: 16px;
  background: linear-gradient(to right, #e5f7ed, #edfaf2 50%, #f5fcf7);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  padding-inline-end: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.trust-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--green);
}

.trust-divider {
  width: 1px;
  height: 24px;
  background: rgba(16, 42, 58, 0.12);
}

/* Value */

.value {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 56px;
  padding: 96px var(--gutter);
  background: url("assets/value-bg.png") no-repeat var(--dark);
  background-size: 134.86% 161.65%;
  background-position: 50% 0.3%;
  overflow: hidden;
}

.value::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 46, 33, 0.08);
}

/* Ambient glow and grid lines from the design's background layers. */
.value::after {
  content: "";
  position: absolute;
  inset-block-start: -169px;
  inset-inline-end: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(0, 184, 88, 0.18),
    rgba(0, 184, 88, 0) 70%
  );
  pointer-events: none;
}

.value > * {
  position: relative;
  width: 100%;
}

.value-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: start;
}

.value-header h2 {
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.value-header p {
  color: var(--green-deep);
  font-size: 16px;
  font-weight: 600;
}

.value-grid {
  display: flex;
  gap: 24px;
}

.value-card {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 32px;
  border-radius: 16px;
  background: rgba(2, 46, 33, 0.8);
  backdrop-filter: blur(12px);
  box-shadow:
    inset 0 0 0 1px rgba(0, 156, 72, 0.2),
    0 8px 24px -4px rgba(36, 201, 130, 0.1);
  overflow: hidden;
  text-align: center;
}

.value-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 28px;
  background: var(--green-deep);
}

.value-card strong {
  color: #fff;
  font-size: 56px;
  font-weight: 600;
}

.value-card p {
  color: var(--muted-dark);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.value-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-block-start: 16px;
  color: #fff;
  font-size: 14px;
}

/* FAQ */

.faq {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 112px 100px 112px 160px;
  background: var(--surface);
}

.faq-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.faq-header h2 {
  color: var(--ink);
  font-size: 32px;
  font-weight: 700;
  text-align: center;
}

.faq-accent {
  width: 80px;
  height: 3px;
  border-radius: 1.5px;
  background: var(--green);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 960px;
  max-width: 100%;
}

.faq-list details {
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.faq-list details[open] {
  padding: 24px;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: url("assets/icon-chevron-down.svg") center / 20px 20px no-repeat;
}

.faq-list details[open] summary {
  padding-block-end: 12px;
  border-block-end: 1px solid var(--line);
  font-size: 18px;
}

.faq-list details[open] summary::after {
  transform: rotate(180deg);
}

.faq-list details p {
  padding-block-start: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  text-align: start;
}

/* Registration */

.registration {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 64px;
  padding: 96px var(--gutter);
}

.registration-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
  text-align: start;
}

.registration-title {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.registration-title h2 {
  color: var(--ink);
  font-size: 40px;
  font-weight: 700;
}

.registration-title p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.registration-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.registration-point {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 86px;
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.registration-point .detail-text small {
  color: var(--muted);
}

.registration-point .detail-text strong {
  color: var(--ink);
}

.registration-icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--surface);
}

.form-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex-shrink: 0;
  width: 520px;
  max-width: 100%;
  padding: 40px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}

.form-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: start;
}

.form-header h2 {
  color: var(--ink);
  font-size: 24px;
  font-weight: 700;
}

.form-header p {
  color: var(--muted);
  font-size: 14px;
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 10px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.field-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.field input,
.field select {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  color: var(--ink);
  direction: rtl;
  font-size: 14px;
  text-align: start;
  appearance: none;
}

.field input::placeholder {
  color: var(--muted);
}

.field select:invalid {
  color: var(--muted);
}

.field input:focus,
.field select:focus {
  outline: none;
}

.field:focus-within {
  box-shadow: inset 0 0 0 1px var(--green);
}

.form-submit {
  padding: 16px;
  width: 100%;
  font-size: 16px;
}

.form-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.registration-success {
  /*display: none;*/
  flex-direction: column;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
  width: 520px;
  max-width: 100%;
  padding: 40px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: center;
}

.registration-success.is-visible {
  display: flex;
}

.registration-success .success-icon {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border-radius: 999px;
  background: #e8f8ef;
  color: var(--green-deep);
  font-size: 36px;
  font-weight: 700;
}

.registration-success h2 {
  color: var(--dark);
  font-size: 24px;
}

.registration-success p {
  color: var(--muted);
  font-size: 14px;
  line-height: 24px;
}

.success-details {
  display: grid;
  gap: 12px;
  width: 100%;
  padding: 20px 24px;
  border-radius: 12px;
  background: var(--surface);
}

.success-details .detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--pale);
  box-shadow: inset 0 0 0 1px var(--line);
}

.success-details .detail-value {
  color: var(--dark);
  font-size: 13px;
  font-weight: 500;
}

.success-details .detail-label {
  color: var(--muted);
  font-size: 13px;
}

.registration-success .success-note {
  color: var(--muted);
  font-size: 11px;
}

/* Final CTA */

.final-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  min-height: 431px;
  padding: 96px var(--gutter);
  background: url("assets/final-cta-bg.png") center / cover no-repeat
    var(--dark);
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.37);
}

.final-cta > * {
  position: relative;
}

.final-cta .button-lg {
  font-size: 16px;
}

.final-cta-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.final-cta-content h2 {
  color: #fff;
  font-size: 40px;
  font-weight: 700;
}

.final-cta-content p {
  width: 680px;
  max-width: 100%;
  color: var(--on-dark);
  font-size: 16px;
  text-align: start;
}

.final-cta-highlights {
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.final-cta-highlights li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.cta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* Footer */

footer {
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding: 80px var(--gutter) 40px;
  background: var(--darker);
  box-shadow: inset 0 1px 0 var(--line-dark);
}

.footer-cols {
  display: flex;
  gap: 80px;
}

.footer-col {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  text-align: start;
}

.footer-col h2 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.footer-col-brand {
  align-items: flex-start;
  gap: 20px;
}

.footer-col-brand img {
  width: 134px;
  height: 56px;
  object-fit: contain;
}

.footer-col-brand p {
  color: var(--on-dark);
  font-size: 14px;
  line-height: 1.6;
}

.footer-col-nav {
  gap: 16px;
}

.footer-col-nav nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-col-nav a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  font-weight: 500;
}

.footer-col-nav a:first-child {
  color: var(--on-dark);
  font-size: 14px;
  font-weight: 400;
}

.footer-col-contact {
  align-items: center;
  gap: 20px;
}

.footer-col-contact h2,
.footer-col-contact p {
  width: 100%;
}

.footer-col-contact p {
  color: var(--on-dark);
  font-size: 14px;
}

.social-icons {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
}

.social-icons a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 18px;
  background: var(--green-social);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block-start: 24px;
  background: linear-gradient(var(--line-dark), var(--line-dark)) top / 100% 1px
    no-repeat;
}

.footer-ebu {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.footer-ebu-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.footer-copyright {
  color: var(--on-dark);
  font-size: 13px;
}

/* Responsive */

@media (max-width: 1439px) {
  .hero {
    justify-content: flex-start;
  }

  .stat-card {
    /* display: none; */
  }
}

@media (max-width: 1200px) {
  :root {
    --gutter: 40px;
  }

  .accreditation {
    height: auto;
    padding: 64px var(--gutter);
  }

  .accreditation-copy {
    width: auto;
  }

  .program {
    padding: 64px var(--gutter);
  }

  .detail-grid {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    height: auto;
  }

  .detail {
    height: auto;
    min-height: 86px;
  }

  .faq {
    padding: 80px var(--gutter);
  }

  .about-photos {
    width: 440px;
    height: 400px;
  }

  .about-photo-primary {
    inset-inline-end: 160px;
    width: 280px;
    height: 360px;
  }

  .about-photo-secondary {
    width: 220px;
    height: 260px;
  }

  .trust-ribbon {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .trust-divider {
    display: none;
  }

  .topbar,
  .main-links,
  .nav-login {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 950px) {
  .hero {
    min-height: 0;
    padding-block: 80px;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .accreditation-inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .accreditation-divider {
    width: 100px;
    height: 1px;
  }

  .accreditation-copy {
    text-align: center;
  }

  .price-bar {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .price-text {
    padding-inline-start: 0;
    text-align: center;
  }

  .about-band {
    flex-direction: column;
    align-items: stretch;
  }

  .about-photos {
    width: 100%;
    height: 420px;
  }

  .about-photo-primary {
    inset-inline-end: 40%;
  }

  .value-grid {
    flex-wrap: wrap;
  }

  .value-card {
    flex: 1 1 calc(50% - 12px);
  }

  .value-header h2 {
    font-size: 32px;
  }

  .registration {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }

  .registration-title h2 {
    font-size: 32px;
  }

  .form-card,
  .registration-success {
    width: 100%;
  }

  .final-cta-highlights {
    flex-wrap: wrap;
    gap: 16px 24px;
  }

  .final-cta-content h2 {
    font-size: 32px;
  }

  .footer-cols {
    flex-direction: column;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  :root {
    --gutter: 20px;
  }

  .hero-copy h1 {
    font-size: 32px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .button-lg {
    padding: 16px 32px;
    font-size: 18px;
  }

  .section-header h2,
  .about-header h2 {
    font-size: 26px;
  }

  .section-header p,
  .about-lead {
    font-size: 15px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .price-metric span:last-child {
    font-size: 40px;
  }

  .course-card {
    width: 100%;
  }

  .about-photos {
    height: 320px;
  }

  .about-photo-primary {
    inset-inline-end: 35%;
    width: 60%;
    height: 300px;
  }

  .about-photo-secondary {
    width: 45%;
    height: 220px;
  }

  .about-statement h3 {
    font-size: 22px;
  }

  .value-card {
    flex: 1 1 100%;
  }

  .value-card strong {
    font-size: 40px;
  }

  .value-note {
    align-items: flex-start;
    text-align: start;
  }

  .faq-header h2 {
    font-size: 26px;
  }

  .faq-list summary,
  .faq-list details[open] summary {
    font-size: 15px;
  }

  .form-card,
  .registration-success {
    padding: 24px;
  }

  .success-details {
    padding: 16px;
  }

  .final-cta-content h2,
  .registration-title h2 {
    font-size: 26px;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 12px;
  }
}
