:root {
  --maac-red: #b11a21;
  --maac-red-dark: #861018;
  --maac-yellow: #ffc91b;
  --ink: #11131a;
  --ink-soft: #3e424d;
  --muted: #686d78;
  --line: #e5e7ec;
  --surface: #f4f5f8;
  --navy: #080b17;
  --navy-soft: #111a33;
  --white: #fff;
  --shadow: 0 22px 60px rgba(15, 19, 30, 0.1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body.ads-course-page {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.ads-course-page *,
.ads-course-page *::before,
.ads-course-page *::after {
  box-sizing: border-box;
}

.ads-course-page img {
  display: block;
  max-width: 100%;
}

.ads-course-page button,
.ads-course-page input,
.ads-course-page select {
  font: inherit;
}

.ads-course-page button,
.ads-course-page a {
  -webkit-tap-highlight-color: transparent;
}

.ads-course-page a {
  color: inherit;
  text-decoration: none;
}

.ads-course-page h1,
.ads-course-page h2,
.ads-course-page h3,
.ads-course-page p {
  margin-top: 0;
}

.page-shell {
  width: min(100% - 40px, 1220px);
  margin-inline: auto;
}

.section-space {
  padding-block: 108px;
}

.skip-link {
  position: fixed;
  z-index: 2147483647;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  border-radius: 8px;
  padding: 10px 16px;
  color: var(--white) !important;
  background: var(--maac-red);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.landing-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 9, 18, 0.94);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 28px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
}

.brand-link img {
  width: auto;
  height: 58px;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-phone {
  display: grid;
  line-height: 1.2;
  text-align: right;
}

.header-phone span {
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.63);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-phone strong {
  color: var(--white);
  font-size: 15px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 1px solid var(--maac-red);
  border-radius: 999px;
  padding: 12px 26px;
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--maac-red), #d92931);
  box-shadow: 0 12px 28px rgba(177, 26, 33, 0.3);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(177, 26, 33, 0.37);
}

.button-small {
  min-height: 44px;
  padding: 9px 20px;
  font-size: 13px;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.36);
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.button-light {
  border-color: var(--white);
  color: var(--maac-red-dark) !important;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(81, 3, 10, 0.2);
}

.button-dark {
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: none;
}

.hero-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 700px;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 8%, rgba(46, 89, 193, 0.34), transparent 34%),
    radial-gradient(circle at 84% 86%, rgba(177, 26, 33, 0.36), transparent 34%),
    linear-gradient(128deg, #070912 0%, #0c1122 55%, #161328 100%);
}

.hero-section::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: 70px;
  min-height: 700px;
  padding-block: 78px 92px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 17px;
  color: var(--maac-yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: currentColor;
}

.eyebrow.dark {
  color: var(--maac-red);
}

.hero-copy h1 {
  max-width: 720px;
  margin-bottom: 24px;
  color: var(--white);
  font-family: "Teko", "Manrope", sans-serif;
  font-size: clamp(55px, 5.3vw, 83px);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 0.94;
}

.hero-copy h1 em {
  color: var(--maac-yellow);
  font-style: normal;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 28px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 700;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-list span {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #0b0f1b;
  background: var(--maac-yellow);
  font-size: 10px;
  font-weight: 900;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-image-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.92;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 230px 230px 28px 28px;
  background: #1a1e2e;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.44);
}

.hero-image-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(4, 6, 13, 0.58), transparent 52%);
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 59% center;
  transform: scale(1.02);
}

.hero-note {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 16px;
  padding: 13px 17px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
}

.hero-note-top {
  top: 16%;
  left: -42px;
}

.hero-note-top strong {
  color: var(--maac-red);
  font-family: "Teko", sans-serif;
  font-size: 44px;
  font-weight: 600;
  line-height: 0.8;
}

.hero-note span {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.hero-note-bottom {
  right: -25px;
  bottom: 12%;
}

.hero-note-bottom .note-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: var(--white);
  background: var(--maac-red);
  font-size: 18px;
}

.hero-orb {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.hero-orb-one {
  top: 12%;
  left: -90px;
  width: 260px;
  height: 260px;
}

.hero-orb-two {
  right: -160px;
  bottom: -210px;
  width: 520px;
  height: 520px;
}

.quick-proof {
  position: relative;
  z-index: 3;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-grid > div {
  min-width: 0;
  border-right: 1px solid var(--line);
  padding: 25px 26px;
}

.proof-grid > div:first-child {
  border-left: 1px solid var(--line);
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.proof-grid span {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section-heading h2,
.faq-intro h2,
.counsellor-panel h2 {
  color: var(--ink);
  font-family: "Teko", "Manrope", sans-serif;
  font-size: clamp(44px, 4vw, 62px);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1;
}

.narrow-heading {
  max-width: 720px;
  margin: 0 auto 46px;
  text-align: center;
}

.narrow-heading .eyebrow {
  justify-content: center;
}

.narrow-heading p,
.courses-heading > p,
.faq-intro > p {
  color: var(--muted);
  line-height: 1.75;
}

.interest-section {
  background:
    linear-gradient(rgba(16, 18, 26, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 18, 26, 0.035) 1px, transparent 1px),
    #f8f8fa;
  background-size: 52px 52px;
}

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

.interest-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 25px 22px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.interest-card::after {
  position: absolute;
  right: -38px;
  bottom: -48px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  content: "";
  background: rgba(177, 26, 33, 0.055);
}

.interest-card:hover,
.interest-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(177, 26, 33, 0.35);
  outline: 0;
  box-shadow: var(--shadow);
}

.interest-number {
  position: absolute;
  top: 19px;
  right: 20px;
  color: #c4c7cf;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.interest-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 34px;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(145deg, var(--maac-red), #d62730);
  box-shadow: 0 10px 24px rgba(177, 26, 33, 0.21);
  font-size: 20px;
}

.interest-card strong,
.interest-card small {
  position: relative;
  z-index: 1;
  display: block;
}

.interest-card strong {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.45;
}

.interest-card small {
  color: var(--maac-red);
  font-size: 11px;
  font-weight: 800;
}

.courses-section {
  background: var(--white);
}

.courses-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 42px;
}

.courses-heading h2 {
  max-width: 660px;
  margin-bottom: 0;
}

.courses-heading > p {
  margin-bottom: 4px;
  font-size: 14px;
}

.course-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 15px;
  border-block: 1px solid var(--line);
  padding-block: 16px;
}

.filter-row {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  min-height: 39px;
  border: 1px solid #d9dce3;
  border-radius: 999px;
  padding: 8px 15px;
  color: #4b505c;
  background: var(--white);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  border-color: var(--maac-red);
  color: var(--white);
  outline: 0;
  background: var(--maac-red);
}

.course-search {
  position: relative;
  flex: 0 0 290px;
}

.course-search svg {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  fill: none;
  stroke: #717681;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.course-search input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d9dce3;
  border-radius: 12px;
  outline: 0;
  padding: 10px 14px 10px 43px;
  color: var(--ink);
  background: #f8f9fb;
  font-size: 12px;
}

.course-search input:focus {
  border-color: var(--maac-red);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(177, 26, 33, 0.09);
}

.results-count {
  margin-bottom: 25px;
  color: #7a7f89;
  font-size: 11px;
  font-weight: 700;
}

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

.course-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 10px 38px rgba(15, 19, 30, 0.055);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.course-card[hidden] {
  display: none !important;
}

.course-card:hover {
  transform: translateY(-6px);
  border-color: rgba(177, 26, 33, 0.27);
  box-shadow: 0 23px 54px rgba(15, 19, 30, 0.12);
}

.course-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e8e9ed;
}

.course-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(6, 8, 15, 0.56), transparent 52%);
}

.course-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 550ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.course-card:hover .course-media img {
  transform: scale(1.045);
}

.course-code {
  position: absolute;
  z-index: 2;
  right: 15px;
  bottom: 14px;
  left: 15px;
  overflow: hidden;
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-overflow: ellipsis;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  text-transform: uppercase;
  white-space: nowrap;
}

.course-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 23px 23px 20px;
}

.course-type {
  margin-bottom: 8px;
  color: var(--maac-red);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.085em;
  line-height: 1.45;
  text-transform: uppercase;
}

.course-body h3 {
  min-height: 57px;
  margin-bottom: 11px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.course-body > p:not(.course-type) {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.course-body dl {
  display: grid;
  gap: 8px;
  margin: auto 0 20px;
}

.course-body dl > div {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.course-body dt {
  color: #858a94;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-transform: uppercase;
}

.course-body dd {
  margin: 0;
  color: #3a3e48;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
}

.course-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 17px 0 0;
  color: var(--ink);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.course-cta span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  margin-left: 12px;
  border-radius: 50%;
  color: var(--white);
  background: var(--maac-red);
  transition: transform 180ms ease;
}

.course-cta:hover,
.course-cta:focus-visible {
  color: var(--maac-red);
  outline: 0;
}

.course-cta:hover span,
.course-cta:focus-visible span {
  transform: translateX(3px);
}

.no-results {
  margin-top: 36px;
  border: 1px dashed #cfd2d9;
  border-radius: 20px;
  padding: 52px 24px;
  background: var(--surface);
  text-align: center;
}

.no-results strong {
  display: block;
  margin-bottom: 6px;
  font-size: 19px;
}

.no-results p {
  margin-bottom: 20px;
  color: var(--muted);
}

.counsellor-section {
  padding-block: 0;
}

.counsellor-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.3fr) auto;
  align-items: center;
  gap: 70px;
  border-radius: 28px;
  padding: 55px 62px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 201, 27, 0.22), transparent 28%),
    linear-gradient(130deg, #8e1118, #bd1b24 62%, #d72b33);
  box-shadow: 0 28px 70px rgba(137, 12, 21, 0.26);
}

.counsellor-panel::after {
  position: absolute;
  z-index: -1;
  right: -90px;
  bottom: -180px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  content: "";
}

.counsellor-panel h2 {
  max-width: 700px;
  margin-bottom: 11px;
  color: var(--white);
  font-size: clamp(38px, 4vw, 56px);
}

.counsellor-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.counsellor-actions {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 13px;
}

.counsellor-actions > a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.steps-section {
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps-grid li {
  display: flex;
  gap: 18px;
  border-top: 2px solid var(--ink);
  padding: 25px 8px 0 0;
}

.steps-grid li > span {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--white);
  background: var(--maac-red);
  font-size: 12px;
  font-weight: 800;
}

.steps-grid strong {
  display: block;
  margin: 4px 0 7px;
  font-size: 15px;
}

.steps-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.faq-section {
  background: var(--surface);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 90px;
}

.faq-intro {
  align-self: start;
  position: sticky;
  top: 120px;
}

.faq-intro h2 {
  margin-bottom: 17px;
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid var(--maac-red);
  padding: 0 0 5px;
  color: var(--maac-red);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.faq-list {
  border-top: 1px solid #d9dce2;
}

.faq-list details {
  border-bottom: 1px solid #d9dce2;
  padding: 0;
}

.faq-list summary {
  position: relative;
  padding: 25px 48px 25px 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

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

.faq-list summary::after {
  position: absolute;
  top: 22px;
  right: 0;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid #c9ccd4;
  border-radius: 50%;
  content: "+";
  color: var(--ink);
  background: var(--white);
  font-size: 18px;
  font-weight: 500;
}

.faq-list details[open] summary::after {
  content: "−";
  color: var(--white);
  background: var(--maac-red);
  border-color: var(--maac-red);
}

.faq-list details p {
  max-width: 710px;
  margin: -6px 50px 25px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.landing-footer {
  padding-top: 58px;
  color: rgba(255, 255, 255, 0.7);
  background: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 0.7fr;
  gap: 70px;
  padding-bottom: 46px;
}

.footer-brand img {
  width: auto;
  height: 55px;
  margin-bottom: 16px;
}

.footer-brand p,
.footer-grid address {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-style: normal;
  line-height: 1.75;
}

.footer-grid > div > strong {
  display: block;
  margin-bottom: 13px;
  color: var(--maac-yellow);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-grid > div > a {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 17px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
}

.footer-bottom a:hover,
.footer-grid a:hover {
  color: var(--white);
}

.mobile-action-bar {
  display: none;
}

#enquiryModal .field-label {
  display: block;
  margin: 0 0 6px;
  color: #343740;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
}

#enquiryModal .field-label span {
  color: var(--maac-red);
}

#enquiryModal .field-label small {
  color: #858993;
  font-size: 9px;
  font-weight: 600;
}

#enquiryModal .form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

/* This ad landing page keeps the enquiry response immediate. The shared site
   popup uses a longer entrance animation elsewhere, but ad CTAs should feel
   like direct button actions rather than a delayed reveal. */
body.ads-course-page #enquiryModal.show .modal-dialog {
  animation: none !important;
}

body.ads-course-page #enquiryModal .modal-dialog,
body.ads-course-page #enquiryModal,
body.ads-course-page .modal-backdrop {
  transition-duration: 0s !important;
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
    gap: 48px;
  }

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

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

  .course-body h3 {
    min-height: auto;
  }
}

@media (max-width: 900px) {
  .section-space {
    padding-block: 82px;
  }

  .header-phone {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-block: 70px 90px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    width: min(100%, 590px);
    margin-inline: auto;
  }

  .hero-image-frame {
    aspect-ratio: 1.25;
    border-radius: 190px 190px 26px 26px;
  }

  .hero-note-top {
    left: -20px;
  }

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

  .proof-grid > div:nth-child(3) {
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
  }

  .proof-grid > div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .courses-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .course-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .course-search {
    flex-basis: auto;
    width: min(100%, 430px);
  }

  .counsellor-panel {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 46px;
  }

  .counsellor-actions {
    justify-items: start;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .faq-intro {
    position: static;
    max-width: 660px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 76px;
  }

  body.ads-course-page {
    padding-bottom: 67px;
  }

  .page-shell {
    width: min(100% - 28px, 1220px);
  }

  .section-space {
    padding-block: 66px;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-link img {
    height: 48px;
  }

  .header-actions .button {
    min-height: 40px;
    padding: 8px 14px;
    font-size: 11px;
  }

  .hero-grid {
    gap: 48px;
    padding-block: 54px 72px;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .hero-copy h1 {
    margin-bottom: 19px;
    font-size: clamp(49px, 15vw, 65px);
    line-height: 0.96;
  }

  .hero-lead {
    font-size: 14px;
    line-height: 1.7;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-list {
    gap: 10px 15px;
    font-size: 10px;
  }

  .hero-image-frame {
    aspect-ratio: 1 / 1.08;
    border-radius: 150px 150px 22px 22px;
  }

  .hero-note {
    padding: 10px 12px;
  }

  .hero-note-top {
    top: 10%;
    left: -5px;
  }

  .hero-note-bottom {
    right: -4px;
    bottom: 7%;
  }

  .hero-note-top strong {
    font-size: 36px;
  }

  .hero-note span {
    font-size: 9px;
  }

  .proof-grid {
    grid-template-columns: 1fr;
    padding-block: 5px;
  }

  .proof-grid > div,
  .proof-grid > div:first-child,
  .proof-grid > div:nth-child(3),
  .proof-grid > div:nth-child(4) {
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 16px 5px;
  }

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

  .section-heading h2,
  .faq-intro h2 {
    font-size: 43px;
  }

  .narrow-heading {
    margin-bottom: 32px;
  }

  .narrow-heading p {
    font-size: 13px;
  }

  .interest-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .interest-card {
    min-height: 0;
    padding: 19px 19px 19px 82px;
  }

  .interest-icon {
    position: absolute;
    top: 19px;
    left: 18px;
    width: 46px;
    height: 46px;
    margin: 0;
  }

  .interest-number {
    display: none;
  }

  .interest-card strong {
    margin-bottom: 4px;
  }

  .courses-heading {
    margin-bottom: 28px;
  }

  .courses-heading > p {
    font-size: 12px;
  }

  .filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: -14px;
    padding-inline: 14px;
    scrollbar-width: none;
  }

  .filter-row::-webkit-scrollbar {
    display: none;
  }

  .filter-button {
    flex: 0 0 auto;
  }

  .course-search {
    width: 100%;
  }

  .course-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .course-card {
    border-radius: 18px;
  }

  .course-body {
    padding: 20px 19px 17px;
  }

  .course-body h3 {
    font-size: 19px;
  }

  .counsellor-section {
    padding-inline: 0;
  }

  .counsellor-panel {
    width: min(100% - 28px, 1220px);
    border-radius: 22px;
    padding: 34px 25px;
  }

  .counsellor-panel h2 {
    font-size: 39px;
  }

  .counsellor-actions {
    justify-items: stretch;
  }

  .counsellor-actions .button {
    width: 100%;
  }

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

  .steps-grid li {
    padding-top: 18px;
  }

  .faq-list summary {
    padding-block: 21px;
    font-size: 13px;
  }

  .faq-list summary::after {
    top: 18px;
  }

  .faq-list details p {
    margin-right: 0;
    font-size: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand {
    grid-column: auto;
  }

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

  .mobile-action-bar {
    position: fixed;
    z-index: 1050;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 0;
    min-height: 67px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding: 8px;
    background: rgba(8, 11, 23, 0.96);
    box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(14px);
  }

  .mobile-action-bar a,
  .mobile-action-bar button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border: 0;
    border-radius: 10px;
    color: var(--white);
    background: transparent;
    font-size: 11px;
    font-weight: 800;
  }

  .mobile-action-bar button {
    background: var(--maac-red);
  }

  body.modal-open .mobile-action-bar {
    display: none;
  }

  #enquiryModal .field-label {
    margin-bottom: 4px;
    font-size: 10px;
  }
}

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

  .button,
  .interest-card,
  .course-card,
  .course-media img,
  .course-cta span {
    transition: none;
  }
}
