/* =========================
   ARAH GLOBAL SITE STYLES
   Homepage + Tutor Directory + Tutor Profiles

   Keep this as your single css/style.css file.
   New sections are additive, so older homepage styles keep working.
   ========================= */

/* Optional local Plus Jakarta Sans files.
   Put the folder next to index.html:
   PlusJakartaSans-2.7.1/ttf/
*/
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../PlusJakartaSans-2.7.1/ttf/PlusJakartaSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../PlusJakartaSans-2.7.1/ttf/PlusJakartaSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../PlusJakartaSans-2.7.1/ttf/PlusJakartaSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../PlusJakartaSans-2.7.1/ttf/PlusJakartaSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../PlusJakartaSans-2.7.1/ttf/PlusJakartaSans-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0B1F3A;
  --navy-soft: #102A48;
  --ivory: #F6F1E8;
  --ivory-deep: #EDE5D8;
  --blue: #A9CFE7;
  --ruby: #AA1A2D;
  --ruby-dark: #921626;
  --black: #1F1F1F;
  --slate: #637083;
  --line: rgba(11, 31, 58, 0.16);
  --white: #FFFFFF;

  --font-logo: "MuseoModerno", system-ui, sans-serif;
  --font-main: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-pill: 999px;
  --radius-card: 34px;
  --shadow-card: 0 18px 42px rgba(11, 31, 58, 0.18);
  --shadow-soft: 0 10px 24px rgba(11, 31, 58, 0.10);
}

/* RESET */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--black);
  background: var(--ivory);
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

/* HEADER / NAV */

.site-header {
  position: absolute;
  top: -18px;
  left: 0;
  z-index: 20;
  width: 100%;
}

.site-header--solid {
  position: absolute;
}

.navbar {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 0;
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
}

.logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transform: translateY(-6px);
}

.site-logo {
  width: clamp(96px, 12vw, 145px);
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  text-transform: uppercase;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  transform: translateY(-6px);
}

.nav-links a {
  position: relative;
  opacity: 0.94;
  transition: opacity 180ms ease;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 100%;
  height: 3px;
  background: var(--ruby);
  border-radius: 999px;
}

.language-switch {
  letter-spacing: 0;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
  transform: translateY(-6px);
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  margin: 6px 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

/* SHARED */

.eyebrow {
  margin: 0 0 18px;
  color: var(--ruby);
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.eyebrow--light {
  color: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  min-height: 82px;
  padding: 0 44px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  min-width: 295px;
  color: var(--white);
  background: var(--navy);
  font-size: 1.05rem;
}

.btn-primary:hover,
.btn-card:hover {
  background: #12315A;
}

.btn-card {
  width: min(310px, 100%);
  min-height: 78px;
  color: var(--white);
  background: var(--navy);
  font-size: 1rem;
}

.btn-ruby {
  color: var(--white);
  background: var(--ruby);
  min-width: 260px;
}

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

.btn-cream {
  color: var(--navy);
  background: var(--ivory);
}

.btn-cream:hover {
  background: var(--blue);
}

.btn-small {
  min-height: 54px;
  padding: 0 24px;
  font-size: 0.9rem;
  min-width: 0;
}

/* HOMEPAGE HERO */

.hero {
  position: relative;
  min-height: 730px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 150px 28px 90px;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  background: var(--navy);
}

/* This prevents the homepage image from falling into the page flow. */
.hero-bg-image,
.hero > img:first-child {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(rgba(11, 31, 58, 0.56), rgba(11, 31, 58, 0.56)),
    radial-gradient(circle at 50% 48%, rgba(11, 31, 58, 0.04), rgba(0, 0, 0, 0.42) 78%),
    rgba(0, 0, 0, 0.08);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1080px, 100%);
}

.hero h1 {
  max-width: 1120px;
  margin: 0 auto 24px;
  font-size: clamp(2.65rem, 5vw, 5rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.hero p {
  max-width: 780px;
  margin: 0 auto;
  font-size: clamp(1.15rem, 2vw, 1.62rem);
  line-height: 1.42;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 4vw, 46px);
  margin-top: 64px;
}

.hero-actions--left {
  justify-content: flex-start;
}

/* HOMEPAGE INTRO / CONSULTATION SECTION */

.intro-section {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
  padding: 105px 0 118px;
}

.intro-left h2 {
  margin: 0 0 34px;
  color: var(--navy);
  font-size: clamp(2.15rem, 4vw, 3.5rem);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.intro-text {
  margin: 0 0 12px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.benefit-list {
  margin: 0;
  padding-left: 30px;
  font-size: clamp(1.08rem, 1.9vw, 1.5rem);
  line-height: 1.7;
  letter-spacing: -0.03em;
}

.benefit-list li {
  padding-left: 8px;
}

.consultation-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: clamp(38px, 5vw, 62px);
}

.consultation-card h2 {
  margin: 0 0 28px;
  color: var(--navy);
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.consultation-card p {
  margin: 0 0 46px;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  line-height: 1.25;
  letter-spacing: -0.04em;
}

/* OUR TUTORS PAGE HERO */

.tutors-hero {
  min-height: 720px;
  padding: 142px min(64px, 6vw) 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(52px, 8vw, 110px);
  align-items: center;
  background: var(--navy);
  color: var(--white);
}

.tutors-hero__copy {
  max-width: 740px;
}

.tutors-hero h1 {
  margin: 0 0 26px;
  font-size: clamp(3rem, 5.4vw, 5.4rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.tutors-hero p {
  margin: 0 0 24px;
  max-width: 660px;
  font-size: clamp(1.12rem, 1.8vw, 1.45rem);
  line-height: 1.35;
  font-weight: 500;
}

.tutors-hero__image-wrap {
  justify-self: center;
  width: min(350px, 100%);
  aspect-ratio: 0.72 / 1;
  border-radius: 52% 52% 46% 46% / 45% 45% 55% 55%;
  overflow: hidden;
  border: 10px solid rgba(246, 241, 232, 0.16);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
  background: var(--blue);
}

.tutors-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TUTOR BROWSER */

.tutor-browser {
  padding: 58px min(64px, 6vw) 78px;
}

.section-heading-row {
  width: min(1180px, 100%);
  margin: 0 auto 24px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading-row h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.results-summary {
  margin: 0;
  color: var(--slate);
  font-size: 1rem;
  font-weight: 700;
}

.results-summary--bottom {
  width: min(1180px, 100%);
  margin: 30px auto 16px;
  text-align: center;
}

.filter-panel {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1.05fr 1.55fr 1fr 1fr;
  gap: 14px;
}

.filter-field {
  position: relative;
}

.filter-field span {
  display: block;
  margin: 0 0 8px 18px;
  color: var(--slate);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.filter-field select {
  width: 100%;
  min-height: 64px;
  padding: 0 54px 0 24px;
  border: 1.4px solid rgba(11, 31, 58, 0.28);
  border-radius: var(--radius-pill);
  color: var(--navy);
  background:
    linear-gradient(45deg, transparent 50%, var(--slate) 50%) calc(100% - 27px) 50% / 8px 8px no-repeat,
    linear-gradient(135deg, var(--slate) 50%, transparent 50%) calc(100% - 21px) 50% / 8px 8px no-repeat,
    rgba(255, 255, 255, 0.34);
  appearance: none;
  font-size: 1rem;
  font-weight: 650;
  outline: none;
}

.filter-field select:focus {
  border-color: var(--ruby);
  box-shadow: 0 0 0 4px rgba(170, 26, 45, 0.10);
}

.active-filter-row {
  width: min(1180px, 100%);
  margin: 14px auto 28px;
  display: flex;
  justify-content: flex-end;
}

.reset-filters {
  border: 0;
  background: transparent;
  color: var(--ruby);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.82rem;
}

.tutor-list {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.tutor-card {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: 34px 38px;
  border-radius: 38px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.82);
}

.tutor-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 26px;
  object-fit: cover;
  background: var(--ivory-deep);
}

.tutor-card__top {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.tutor-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--white);
  background: var(--ruby);
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
  vertical-align: middle;
  margin-left: 8px;
}

.rating-pill--large {
  min-height: 46px;
  padding: 0 18px;
  font-size: 1rem;
}

.profile-link {
  color: var(--slate);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: color 180ms ease;
}

.profile-link:hover {
  color: var(--ruby);
}

.tutor-meta {
  margin: 0 0 8px;
  color: var(--slate);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.25;
  font-weight: 800;
  text-transform: uppercase;
}

.tutor-bio {
  margin: 0 0 22px;
  max-width: 820px;
  color: var(--slate);
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.tutor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  color: var(--white);
  background: var(--ruby);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.tag--navy {
  background: var(--navy);
}


/* Priority curriculum/test tags.
   These appear first on tutor cards and stay blue.
   Examples: IGCSE, A-Level, IB, SAT, IELTS, TOEFL.
*/

.tag--curriculum {
  color: var(--navy);
  background: var(--blue);
}

.more-tag {
  color: var(--slate);
  font-weight: 800;
  text-transform: uppercase;
}


/* Expandable tutor tags */

.tag-hidden {
  display: none;
}

.tutor-card.is-expanded .tag-hidden {
  display: inline-flex;
}

.tag-toggle {
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.tag-toggle:hover {
  color: var(--ruby);
}

.empty-state {
  width: min(720px, 100%);
  margin: 28px auto 0;
  padding: 40px;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.empty-state h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.empty-state p {
  margin: 0 auto 22px;
  color: var(--slate);
  line-height: 1.5;
}

.load-more-wrap {
  margin: 0;
  display: flex;
  justify-content: center;
}

/* CONSULTATION STRIP */

.consultation-strip {
  margin: 0;
  padding: 72px min(64px, 6vw);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  background: var(--navy);
  color: var(--white);
}

.consultation-strip > div {
  max-width: 850px;
}

.consultation-strip h2 {
  margin: 0 0 12px;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.consultation-strip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.15rem;
  line-height: 1.45;
}

/* PROFILE PAGE */

.profile-page {
  min-height: 780px;
  padding: 152px min(64px, 6vw) 82px;
  background: var(--ivory);
}

.back-link {
  display: block;
  margin: 0 auto 24px;
  width: min(1180px, 100%);
  color: var(--ruby);
  font-weight: 800;
  text-transform: uppercase;
}

.profile-card {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 46px;
  padding: 46px;
  border-radius: 42px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.profile-card--detailed {
  align-items: start;
}

.profile-sidebar {
  display: grid;
  gap: 22px;
}

.profile-card__image {
  width: 100%;
  aspect-ratio: 1 / 1.18;
  border-radius: 32px;
  object-fit: cover;
  background: var(--ivory-deep);
}

.profile-quick-facts {
  display: grid;
  gap: 12px;
}

.profile-quick-facts div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(246, 241, 232, 0.58);
}

.profile-quick-facts span {
  display: block;
  margin: 0 0 6px;
  color: var(--slate);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.profile-quick-facts strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.25;
}

.profile-main {
  min-width: 0;
}

.profile-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin: 0 0 10px;
}

.profile-card h1 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: clamp(3rem, 5vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.profile-meta {
  margin: 0 0 26px;
  color: var(--slate);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-bio {
  margin: 0;
  color: var(--black);
  font-size: 1.16rem;
  line-height: 1.6;
}

.profile-bio--long p {
  margin: 0 0 18px;
}

.profile-bio--long p:last-child {
  margin-bottom: 0;
}

.profile-section {
  margin: 0 0 28px;
  padding: 30px;
  border-radius: 30px;
  background: rgba(246, 241, 232, 0.58);
  border: 1px solid var(--line);
}

.profile-section-heading {
  margin: 0 0 20px;
}

.profile-section-heading--split {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.profile-section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.profile-section-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--slate);
  font-weight: 800;
  text-transform: uppercase;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 28px;
}

.profile-info-box {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(246, 241, 232, 0.55);
}

.profile-info-box h3 {
  margin: 0 0 8px;
  color: var(--navy);
  text-transform: uppercase;
  font-size: 0.9rem;
}

.profile-info-box p {
  margin: 0;
  color: var(--slate);
  line-height: 1.45;
  font-weight: 600;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

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

.qualification-card,
.review-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
}

.qualification-card h3,
.review-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.1rem;
  text-transform: uppercase;
}

.qualification-card p,
.review-card p,
.profile-muted {
  margin: 0;
  color: var(--slate);
  line-height: 1.5;
  font-weight: 600;
}

.qualification-list ul {
  margin: 0;
  padding-left: 22px;
  color: var(--slate);
  line-height: 1.7;
  font-weight: 600;
}

.reviews-section {
  width: min(1180px, 100%);
  margin: 34px auto 0;
  padding: 38px;
  border-radius: 42px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.review-list {
  display: grid;
  gap: 16px;
}

.review-card__top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.review-card__top p {
  margin: 0;
  color: var(--slate);
  font-weight: 800;
  text-transform: uppercase;
}

.review-card__top span {
  color: var(--ruby);
  font-weight: 800;
  white-space: nowrap;
}

/* FOOTER */

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 42px min(64px, 6vw);
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.95;
}

/* RESPONSIVE */

@media (max-width: 1060px) {
  .filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tutor-card {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .profile-card {
    grid-template-columns: 280px minmax(0, 1fr);
  }
}

@media (max-width: 980px) {
  .site-header {
    top: -12px;
  }

  .navbar {
    width: min(100% - 40px, 1180px);
    min-height: 92px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    right: 20px;
    width: min(330px, calc(100vw - 40px));
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 28px;
    color: var(--navy);
    background: var(--ivory);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
    transform: none;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a.active::after {
    bottom: -7px;
  }

  .hero {
    min-height: 700px;
  }

  .intro-section {
    width: min(100% - 40px, 760px);
    grid-template-columns: 1fr;
    padding: 76px 0 90px;
  }

  .tutors-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 132px;
  }

  .tutors-hero__image-wrap {
    width: min(300px, 70vw);
    justify-self: start;
  }

  .section-heading-row {
    align-items: start;
    flex-direction: column;
  }

  .tutor-card,
  .profile-card {
    grid-template-columns: 1fr;
  }

  .tutor-card__image {
    width: min(250px, 100%);
  }

  .consultation-strip {
    grid-template-columns: 1fr;
  }

  .profile-title-row,
  .profile-section-heading--split {
    flex-direction: column;
  }

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

@media (max-width: 620px) {
  .site-header {
    top: -8px;
  }

  .navbar {
    padding: 0;
    min-height: 78px;
  }

  .site-logo {
    width: 102px;
  }

  .logo-link,
  .menu-toggle {
    transform: translateY(-3px);
  }

  .nav-links {
    top: 72px;
  }

  .hero {
    min-height: 720px;
    padding: 120px 20px 70px;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

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

  .btn {
    width: 100%;
    min-height: 66px;
    padding: 0 28px;
  }

  .intro-left h2 {
    font-size: 2.18rem;
  }

  .benefit-list {
    font-size: 1.05rem;
    line-height: 1.65;
  }

  .consultation-card {
    padding: 34px 28px;
  }

  .tutors-hero {
    padding: 112px 20px 64px;
  }

  .tutors-hero h1 {
    font-size: 2.65rem;
  }

  .tutors-hero p {
    font-size: 1rem;
  }

  .tutor-browser {
    padding: 46px 20px 64px;
  }

  .section-heading-row h2 {
    font-size: 2.7rem;
  }

  .filter-panel {
    grid-template-columns: 1fr;
  }

  .active-filter-row {
    justify-content: flex-start;
  }

  .tutor-card {
    padding: 24px;
    border-radius: 28px;
  }

  .tutor-card__top {
    flex-direction: column;
  }

  .profile-link {
    white-space: normal;
  }

  .tag {
    min-height: 42px;
    padding: 0 18px;
    font-size: 0.88rem;
  }

  .consultation-strip {
    padding: 56px 20px;
  }

  .profile-page {
    padding: 112px 20px 64px;
  }

  .profile-card,
  .reviews-section {
    padding: 24px;
    border-radius: 30px;
  }

  .profile-section {
    padding: 22px;
    border-radius: 24px;
  }

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

  .site-footer {
    padding: 34px 20px;
  }
}


/* =========================
   BECOME A TUTOR PAGE
   Additive only: all selectors are scoped to mentor/FAQ/testimonial classes.
   ========================= */

.mentor-hero {
  position: relative;
  min-height: 760px;
  padding: 150px min(64px, 6vw) 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(52px, 8vw, 120px);
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 86% 18%, rgba(169, 207, 231, 0.28), transparent 32%),
    radial-gradient(circle at 15% 88%, rgba(170, 26, 45, 0.18), transparent 28%),
    linear-gradient(135deg, var(--navy) 0%, #0D2749 58%, #07182D 100%);
}

.mentor-hero::before {
  content: "";
  position: absolute;
  inset: auto -12% -42% 42%;
  width: 680px;
  height: 680px;
  border-radius: 999px;
  background: rgba(169, 207, 231, 0.12);
  filter: blur(2px);
}

.mentor-hero__copy,
.mentor-hero__visual {
  position: relative;
  z-index: 1;
}

.mentor-hero__copy {
  max-width: 760px;
}

.mentor-hero h1 {
  margin: 0 0 24px;
  max-width: 790px;
  font-size: clamp(3.2rem, 5.8vw, 6.1rem);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.mentor-hero p {
  margin: 0 0 22px;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.06rem, 1.8vw, 1.32rem);
  line-height: 1.42;
  font-weight: 500;
}

.mentor-hero__lede {
  color: var(--white) !important;
  font-size: clamp(1.28rem, 2.25vw, 1.75rem) !important;
  line-height: 1.22 !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em;
}

.mentor-hero__visual {
  min-height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mentor-hero__image-card {
  width: min(430px, 86vw);
  aspect-ratio: 0.86 / 1;
  overflow: hidden;
  border: 12px solid rgba(246, 241, 232, 0.14);
  border-radius: 48% 52% 46% 54% / 42% 45% 55% 58%;
  background: var(--ivory);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.34);
  transform: rotate(2deg);
}

.mentor-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mentor-floating-card {
  position: absolute;
  width: min(250px, 68vw);
  padding: 20px 22px;
  border-radius: 24px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.20);
  backdrop-filter: blur(10px);
}

.mentor-floating-card--top {
  top: 20px;
  left: 0;
}

.mentor-floating-card--bottom {
  right: 0;
  bottom: 26px;
}

.mentor-floating-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 0 12px;
  border-radius: 50%;
  color: var(--white);
  background: var(--ruby);
  font-weight: 800;
}

.mentor-floating-card strong {
  display: block;
  font-size: 1.04rem;
  line-height: 1.18;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.mentor-section {
  padding: 96px min(64px, 6vw);
}

.mentor-section--benefits {
  background: var(--ivory);
}

.mentor-section-heading {
  width: min(1180px, 100%);
  margin: 0 auto 44px;
}

.mentor-section-heading--center {
  text-align: center;
}

.mentor-section-heading h2,
.mentor-subjects-card h2,
.mentor-steps-copy h2,
.mentor-apply-card h2,
.mentor-testimonials-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.mentor-section-heading p:not(.eyebrow),
.mentor-subjects-card p,
.mentor-apply-card p {
  max-width: 710px;
  margin: 18px 0 0;
  color: var(--slate);
  font-size: 1.15rem;
  line-height: 1.45;
  font-weight: 600;
}

.mentor-section-heading--center p:not(.eyebrow) {
  margin-left: auto;
  margin-right: auto;
}

.mentor-benefit-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.mentor-benefit-card {
  min-height: 100%;
  padding: 34px 28px 32px;
  border: 1px solid rgba(11, 31, 58, 0.10);
  border-radius: 34px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.mentor-icon {
  width: 82px;
  height: 82px;
  margin: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 26px;
  color: var(--navy);
  background: rgba(169, 207, 231, 0.42);
}

.mentor-icon svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mentor-benefit-card:nth-child(even) .mentor-icon {
  color: var(--ruby);
  background: rgba(170, 26, 45, 0.09);
}

.mentor-benefit-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.15vw, 2rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.mentor-benefit-card p {
  margin: 0;
  color: var(--navy);
  font-size: 1.02rem;
  line-height: 1.42;
  font-weight: 600;
}

.mentor-subjects-section {
  padding: 0 min(64px, 6vw) 96px;
  background: var(--ivory);
}

.mentor-subjects-card {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 46px;
  align-items: center;
  padding: clamp(34px, 5vw, 56px);
  border-radius: 42px;
  color: var(--white);
  background:
    radial-gradient(circle at 92% 18%, rgba(169, 207, 231, 0.22), transparent 24%),
    var(--navy);
  box-shadow: var(--shadow-card);
}

.mentor-subjects-card h2,
.mentor-subjects-card p,
.mentor-subjects-card .eyebrow {
  color: var(--white);
}

.mentor-subjects-card p {
  opacity: 0.88;
}

.mentor-chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mentor-chip-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  color: var(--navy);
  background: var(--ivory);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}


.mentor-steps-section {
  padding: 94px min(64px, 6vw);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 8% 8%, rgba(169, 207, 231, 0.18), transparent 32%),
    linear-gradient(135deg, #07182D, var(--navy));
}

.mentor-steps-copy h2 {
  color: var(--white);
}

.mentor-step-list {
  display: grid;
  gap: 18px;
  margin-top: 42px;
}

.mentor-step {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 22px;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid rgba(246, 241, 232, 0.16);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
}

.mentor-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--blue);
  font-weight: 800;
}

.mentor-step h3 {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.mentor-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 500;
}

.mentor-apply-card {
  padding: clamp(36px, 5vw, 56px);
  border-radius: 42px;
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.24);
}

.mentor-apply-card h2 {
  color: var(--navy);
  font-size: clamp(2.45rem, 4.4vw, 4.5rem);
}

.mentor-apply-card p {
  margin-bottom: 34px;
}

.mentor-faq-section {
  padding: 92px min(64px, 6vw) 72px;
  background: var(--ivory);
}

.faq-list {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.faq-item {
  border: 1px solid rgba(11, 31, 58, 0.18);
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 8px 22px rgba(11, 31, 58, 0.06);
}

.faq-question {
  width: 100%;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 20px 28px;
  border: 0;
  color: var(--navy);
  background: transparent;
  text-align: left;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.035em;
  font-size: clamp(1rem, 1.65vw, 1.25rem);
}

.faq-icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: var(--ruby);
  transition: transform 180ms ease;
}

.faq-icon::after {
  transform: rotate(90deg);
}

.faq-item.is-open .faq-icon::after {
  transform: rotate(0deg);
}

.faq-answer {
  display: none;
  padding: 0 28px 26px;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-answer p {
  max-width: 780px;
  margin: 0;
  color: var(--slate);
  font-size: 1.04rem;
  line-height: 1.55;
  font-weight: 600;
}

.mentor-testimonials-section {
  padding: 12px min(64px, 6vw) 100px;
  background: var(--ivory);
  overflow: hidden;
}

.mentor-testimonials-heading {
  width: min(1180px, 100%);
  margin: 0 auto 34px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
}

.testimonial-controls {
  display: flex;
  gap: 14px;
}

.testimonial-control {
  border: 0;
  color: var(--ruby);
  background: transparent;
  font-weight: 800;
  text-transform: uppercase;
}

.testimonial-carousel {
  width: min(1180px, 100%);
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 300ms ease;
}

.mentor-testimonial-card {
  flex: 0 0 100%;
  min-height: 300px;
  padding: clamp(30px, 5vw, 50px);
  border-radius: 38px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.testimonial-stars {
  margin-bottom: 22px;
  color: #E6A900;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
}

.mentor-testimonial-card h3 {
  max-width: 850px;
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.mentor-testimonial-card p {
  max-width: 780px;
  margin: 0 0 22px;
  color: var(--slate);
  font-size: 1.12rem;
  line-height: 1.45;
  font-weight: 600;
}

.mentor-testimonial-card strong {
  color: var(--navy);
  text-transform: uppercase;
}

.testimonial-dots {
  margin: 28px auto 0;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.testimonial-dots button {
  width: 86px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  background: rgba(170, 26, 45, 0.24);
}

.testimonial-dots button.is-active {
  background: var(--ruby);
}

/* Become a Tutor responsive */

@media (max-width: 1060px) {
  .mentor-hero,
  .mentor-steps-section,
  .mentor-subjects-card {
    grid-template-columns: 1fr;
  }

  .mentor-hero__visual {
    justify-content: flex-start;
  }

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

  .mentor-floating-card--top {
    left: 8px;
  }

  .mentor-floating-card--bottom {
    right: auto;
    left: 210px;
  }
}

@media (max-width: 760px) {
  .mentor-hero {
    min-height: auto;
    padding: 122px 20px 70px;
  }

  .mentor-hero h1 {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }

  .mentor-hero__visual {
    min-height: 390px;
  }

  .mentor-hero__image-card {
    width: min(330px, 82vw);
  }

  .mentor-floating-card {
    width: min(220px, 72vw);
  }

  .mentor-floating-card--top {
    top: 8px;
  }

  .mentor-floating-card--bottom {
    left: 84px;
    bottom: 0;
  }

  .mentor-section,
  .mentor-steps-section,
  .mentor-faq-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .mentor-benefit-grid {
    grid-template-columns: 1fr;
  }

  .mentor-subjects-section {
    padding: 0 20px 70px;
  }

  .mentor-step {
    grid-template-columns: 1fr;
  }

  .mentor-step span {
    width: 54px;
    height: 54px;
  }

  .mentor-testimonials-section {
    padding: 0 20px 78px;
  }

  .mentor-testimonials-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .mentor-testimonial-card {
    min-height: 360px;
  }

  .testimonial-dots button {
    width: 54px;
  }
}

@media (max-width: 520px) {
  .mentor-hero__visual {
    display: none;
  }

  .mentor-chip-cloud span {
    min-height: 42px;
    padding: 0 16px;
    font-size: 0.82rem;
  }

  .faq-question {
    min-height: 68px;
    padding: 18px 20px;
  }

  .faq-answer {
    padding: 0 20px 22px;
  }
}


/* Globe icon fill dots */
.mentor-icon-globe circle:not(:first-child) {
  fill: currentColor;
  stroke-width: 0;
}


/* =========================
   FOR PARENTS PAGE
   Sister page to Become a Tutor.
   Scoped to parents-* classes so tutor directory scripts/styles stay untouched.
   ========================= */

.parents-hero {
  position: relative;
  min-height: 760px;
  padding: 150px min(64px, 6vw) 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(52px, 8vw, 120px);
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 86% 18%, rgba(169, 207, 231, 0.28), transparent 32%),
    radial-gradient(circle at 15% 88%, rgba(170, 26, 45, 0.18), transparent 28%),
    linear-gradient(135deg, var(--navy) 0%, #0D2749 58%, #07182D 100%);
}

.parents-hero::before {
  content: "";
  position: absolute;
  inset: auto -12% -42% 42%;
  width: 680px;
  height: 680px;
  border-radius: 999px;
  background: rgba(169, 207, 231, 0.12);
  filter: blur(2px);
  pointer-events: none;
}

.parents-hero__copy,
.parents-hero__visual {
  position: relative;
  z-index: 1;
}

.parents-hero__copy {
  max-width: 760px;
}

.parents-hero h1 {
  margin: 0 0 24px;
  max-width: 840px;
  font-size: clamp(3.2rem, 5.8vw, 6.1rem);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.parents-hero p {
  margin: 0 0 22px;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.06rem, 1.8vw, 1.32rem);
  line-height: 1.42;
  font-weight: 500;
}

.parents-hero__lede {
  color: var(--white) !important;
  font-size: clamp(1.28rem, 2.25vw, 1.75rem) !important;
  line-height: 1.22 !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em;
}

.parents-hero__visual {
  min-height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parents-hero__image-card {
  width: min(430px, 86vw);
  aspect-ratio: 0.86 / 1;
  overflow: hidden;
  border: 12px solid rgba(246, 241, 232, 0.14);
  border-radius: 48% 52% 46% 54% / 42% 45% 55% 58%;
  background: var(--ivory);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.34);
  transform: rotate(2deg);
}

.parents-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.parents-floating-card {
  position: absolute;
  width: min(250px, 68vw);
  padding: 20px 22px;
  border-radius: 24px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.20);
  backdrop-filter: blur(10px);
}

.parents-floating-card--top {
  top: 20px;
  left: 0;
}

.parents-floating-card--bottom {
  right: 0;
  bottom: 26px;
}

.parents-floating-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 0 12px;
  border-radius: 50%;
  color: var(--white);
  background: var(--ruby);
  font-weight: 800;
}

.parents-floating-card strong {
  display: block;
  font-size: 1.04rem;
  line-height: 1.18;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.parents-section {
  padding: 96px min(64px, 6vw);
}

.parents-section--benefits {
  background: var(--ivory);
}

.parents-section-heading {
  width: min(1180px, 100%);
  margin: 0 auto 44px;
}

.parents-section-heading--center {
  text-align: center;
}

.parents-section-heading h2,
.parents-pathways-card h2,
.parents-steps-copy h2,
.parents-consultation-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.parents-section-heading p:not(.eyebrow),
.parents-pathways-card p,
.parents-consultation-card p {
  max-width: 740px;
  margin: 18px 0 0;
  color: var(--slate);
  font-size: 1.15rem;
  line-height: 1.45;
  font-weight: 600;
}

.parents-section-heading--center p:not(.eyebrow) {
  margin-left: auto;
  margin-right: auto;
}

.parents-benefit-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.parents-benefit-card {
  min-height: 100%;
  padding: 34px 28px 32px;
  border: 1px solid rgba(11, 31, 58, 0.10);
  border-radius: 34px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.parents-icon {
  width: 82px;
  height: 82px;
  margin: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 26px;
  color: var(--navy);
  background: rgba(169, 207, 231, 0.42);
}

.parents-icon svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.parents-benefit-card:nth-child(even) .parents-icon {
  color: var(--ruby);
  background: rgba(170, 26, 45, 0.09);
}

.parents-benefit-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.15vw, 2rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.parents-benefit-card p {
  margin: 0;
  color: var(--navy);
  font-size: 1.02rem;
  line-height: 1.42;
  font-weight: 600;
}

.parents-pathways-section {
  padding: 0 min(64px, 6vw) 96px;
  background: var(--ivory);
}

.parents-pathways-card {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 46px;
  align-items: center;
  padding: clamp(34px, 5vw, 56px);
  border-radius: 42px;
  color: var(--white);
  background:
    radial-gradient(circle at 92% 18%, rgba(169, 207, 231, 0.22), transparent 24%),
    var(--navy);
  box-shadow: var(--shadow-card);
}

.parents-pathways-card h2,
.parents-pathways-card p,
.parents-pathways-card .eyebrow {
  color: var(--white);
}

.parents-pathways-card p {
  opacity: 0.88;
}

.parents-pathway-list {
  display: grid;
  gap: 16px;
}

.parents-pathway-list article {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(246, 241, 232, 0.16);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.06);
}

.parents-pathway-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--blue);
  font-weight: 800;
}

.parents-pathway-list h3 {
  margin: 0 0 6px;
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

.parents-pathway-list p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.42;
}

.parents-steps-section {
  padding: 94px min(64px, 6vw);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 8% 8%, rgba(169, 207, 231, 0.18), transparent 32%),
    linear-gradient(135deg, #07182D, var(--navy));
}

.parents-steps-copy h2 {
  color: var(--white);
}

.parents-step-list {
  display: grid;
  gap: 18px;
  margin-top: 42px;
}

.parents-step {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 22px;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid rgba(246, 241, 232, 0.16);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
}

.parents-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--blue);
  font-weight: 800;
}

.parents-step h3 {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.parents-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 500;
}

.parents-consultation-card {
  padding: clamp(36px, 5vw, 56px);
  border-radius: 42px;
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.24);
}

.parents-consultation-card h2 {
  color: var(--navy);
  font-size: clamp(2.45rem, 4.4vw, 4.5rem);
}

.parents-consultation-card p {
  margin-bottom: 34px;
}

.parents-faq-section {
  padding: 92px min(64px, 6vw) 100px;
  background: var(--ivory);
}

/* For Parents responsive */

@media (max-width: 1060px) {
  .parents-hero,
  .parents-steps-section,
  .parents-pathways-card {
    grid-template-columns: 1fr;
  }

  .parents-hero__visual {
    justify-content: flex-start;
  }

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

  .parents-floating-card--top {
    left: 8px;
  }

  .parents-floating-card--bottom {
    right: auto;
    left: 210px;
  }
}

@media (max-width: 760px) {
  .parents-hero {
    min-height: auto;
    padding: 122px 20px 70px;
  }

  .parents-hero h1 {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }

  .parents-hero__visual {
    min-height: 390px;
  }

  .parents-hero__image-card {
    width: min(330px, 82vw);
  }

  .parents-floating-card {
    width: min(220px, 72vw);
  }

  .parents-floating-card--top {
    top: 8px;
  }

  .parents-floating-card--bottom {
    left: 84px;
    bottom: 0;
  }

  .parents-section,
  .parents-steps-section,
  .parents-faq-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .parents-benefit-grid {
    grid-template-columns: 1fr;
  }

  .parents-pathways-section {
    padding: 0 20px 70px;
  }

  .parents-step,
  .parents-pathway-list article {
    grid-template-columns: 1fr;
  }

  .parents-step span,
  .parents-pathway-list span {
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 520px) {
  .parents-hero__visual {
    display: none;
  }
}


/* =========================
   FOR PARENTS ORIGINAL V2
   More concierge-led parent page while keeping Arah visual language.
   ========================= */

.parents-hero--original {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
}

.parents-brief-card {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: clamp(34px, 5vw, 54px);
  border-radius: 42px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 32px 84px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.parents-brief-card h2 {
  margin: 0 0 26px;
  color: var(--navy);
  font-size: clamp(2.2rem, 4vw, 4.3rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.parents-brief-list {
  display: grid;
  gap: 14px;
}

.parents-brief-list div {
  padding: 18px 20px;
  border: 1px solid rgba(11, 31, 58, 0.14);
  border-radius: 22px;
  background: rgba(246, 241, 232, 0.66);
}

.parents-brief-list span {
  display: block;
  margin-bottom: 6px;
  color: var(--ruby);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.parents-brief-list strong {
  display: block;
  color: var(--navy);
  line-height: 1.3;
}

.parents-match-section {
  padding: 96px min(64px, 6vw);
  background: var(--ivory);
}

.parents-match-heading {
  width: min(1180px, 100%);
  margin: 0 auto 36px;
}

.parents-match-heading h2,
.parents-support-card h2,
.parents-journey-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.7rem, 5.2vw, 5rem);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.parents-match-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(34px, 6vw, 74px);
  align-items: start;
}

.parents-match-copy {
  padding: 34px;
  border-radius: 34px;
  color: var(--navy);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.parents-match-copy p {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 1.12rem;
  line-height: 1.52;
  font-weight: 650;
}

.parents-match-copy p:last-child {
  margin-bottom: 0;
}

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

.parents-match-grid article {
  min-height: 240px;
  padding: 28px 24px;
  border-radius: 30px;
  color: var(--white);
  background: var(--navy);
  box-shadow: var(--shadow-soft);
}

.parents-match-grid article:nth-child(2) {
  background: var(--ruby);
}

.parents-match-grid article:nth-child(3) {
  color: var(--navy);
  background: var(--blue);
}

.parents-match-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--ivory);
  font-weight: 800;
}

.parents-match-grid h3 {
  margin: 0 0 10px;
  font-size: 1.55rem;
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.parents-match-grid p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.42;
  font-weight: 650;
  opacity: 0.88;
}

.parents-support-section {
  padding: 0 min(64px, 6vw) 96px;
  background: var(--ivory);
}

.parents-support-card {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 46px;
  align-items: start;
  padding: clamp(34px, 5vw, 56px);
  border-radius: 42px;
  color: var(--white);
  background:
    radial-gradient(circle at 92% 18%, rgba(169, 207, 231, 0.22), transparent 24%),
    var(--navy);
  box-shadow: var(--shadow-card);
}

.parents-support-card h2,
.parents-support-card p,
.parents-support-card .eyebrow {
  color: var(--white);
}

.parents-support-card > div > p {
  max-width: 560px;
  opacity: 0.88;
  font-size: 1.12rem;
  line-height: 1.48;
  font-weight: 600;
}

.parents-support-list {
  display: grid;
  gap: 16px;
}

.parents-support-list article {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(246, 241, 232, 0.14);
}

.parents-support-list span {
  display: inline-flex;
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.parents-support-list h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.parents-support-list p {
  margin: 0;
  opacity: 0.84;
  line-height: 1.45;
  font-weight: 600;
}

.parents-journey-section {
  padding: 94px min(64px, 6vw);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 8% 8%, rgba(169, 207, 231, 0.18), transparent 32%),
    linear-gradient(135deg, #07182D, var(--navy));
}

.parents-journey-copy h2 {
  color: var(--white);
}

.parents-journey-list {
  display: grid;
  gap: 18px;
  margin-top: 42px;
}

.parents-journey-list article {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 22px;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid rgba(246, 241, 232, 0.16);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
}

.parents-journey-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--blue);
  font-weight: 800;
}

.parents-journey-list h3 {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.parents-journey-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 500;
}

.parents-concierge-card {
  padding: clamp(36px, 5vw, 56px);
  border-radius: 42px;
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.24);
}

.parents-concierge-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.45rem, 4.4vw, 4.5rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.parents-concierge-card p {
  max-width: 460px;
  margin: 18px 0 34px;
  color: var(--slate);
  font-size: 1.15rem;
  line-height: 1.45;
  font-weight: 600;
}

.parents-testimonials-section {
  padding-top: 12px;
}

@media (max-width: 1060px) {
  .parents-hero--original,
  .parents-match-layout,
  .parents-support-card,
  .parents-journey-section {
    grid-template-columns: 1fr;
  }

  .parents-match-grid {
    grid-template-columns: 1fr;
  }

  .parents-match-grid article {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .parents-match-section,
  .parents-journey-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .parents-support-section {
    padding: 0 20px 70px;
  }

  .parents-journey-list article {
    grid-template-columns: 1fr;
  }

  .parents-journey-list span {
    width: 54px;
    height: 54px;
  }
}


/* For Parents hero image shape v3
   Replaces the text-heavy right card with a cleaner decorative image shape.
*/

.parents-hero--original {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.78fr);
}

.parents-hero-shape {
  position: relative;
  z-index: 1;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parents-hero-shape__image {
  position: relative;
  width: min(420px, 82vw);
  aspect-ratio: 0.82 / 1;
  overflow: hidden;
  border: 12px solid rgba(246, 241, 232, 0.14);
  border-radius: 56% 44% 52% 48% / 42% 48% 52% 58%;
  background: var(--ivory);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.34);
  transform: rotate(2deg);
}

.parents-hero-shape__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(11, 31, 58, 0.04), rgba(11, 31, 58, 0.22)),
    radial-gradient(circle at 70% 18%, rgba(169, 207, 231, 0.12), transparent 38%);
  pointer-events: none;
}

.parents-hero-shape__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.parents-hero-shape__orb {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.parents-hero-shape__orb--blue {
  width: 168px;
  height: 168px;
  top: 24px;
  right: 0;
  background: rgba(169, 207, 231, 0.22);
}

.parents-hero-shape__orb--ruby {
  width: 92px;
  height: 92px;
  left: 8px;
  bottom: 62px;
  background: rgba(170, 26, 45, 0.22);
}

@media (max-width: 1060px) {
  .parents-hero-shape {
    justify-content: flex-start;
    min-height: 430px;
  }

  .parents-hero-shape__image {
    width: min(350px, 78vw);
  }

  .parents-hero-shape__orb--blue {
    right: auto;
    left: 260px;
  }
}

@media (max-width: 760px) {
  .parents-hero-shape {
    min-height: 360px;
  }

  .parents-hero-shape__image {
    width: min(310px, 82vw);
  }

  .parents-hero-shape__orb--blue {
    width: 126px;
    height: 126px;
    left: 210px;
    top: 8px;
  }

  .parents-hero-shape__orb--ruby {
    width: 72px;
    height: 72px;
    left: 4px;
    bottom: 34px;
  }
}

@media (max-width: 520px) {
  .parents-hero-shape {
    display: none;
  }
}


/* For Parents first-version hero clean visual
   Keeps the original parent page layout, removes floating text cards,
   and uses a simple side image shape.
*/

.parents-hero__visual--clean {
  position: relative;
  z-index: 1;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parents-hero__image-card--clean {
  position: relative;
  width: min(430px, 86vw);
  aspect-ratio: 0.86 / 1;
  overflow: hidden;
  border: 12px solid rgba(246, 241, 232, 0.14);
  border-radius: 48% 52% 46% 54% / 42% 45% 55% 58%;
  background: var(--ivory);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.34);
  transform: rotate(2deg);
}

.parents-hero__image-card--clean::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(11, 31, 58, 0.02), rgba(11, 31, 58, 0.20)),
    radial-gradient(circle at 70% 18%, rgba(169, 207, 231, 0.12), transparent 38%);
  pointer-events: none;
}

.parents-hero__soft-circle {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.parents-hero__soft-circle--blue {
  width: 168px;
  height: 168px;
  top: 24px;
  right: 0;
  background: rgba(169, 207, 231, 0.22);
}

.parents-hero__soft-circle--ruby {
  width: 92px;
  height: 92px;
  left: 8px;
  bottom: 62px;
  background: rgba(170, 26, 45, 0.22);
}

/* Hide any older parent floating cards if a browser cache keeps old markup around. */
.parents-hero__visual--clean .parents-floating-card {
  display: none;
}

@media (max-width: 1060px) {
  .parents-hero__visual--clean {
    justify-content: flex-start;
    min-height: 430px;
  }

  .parents-hero__image-card--clean {
    width: min(350px, 78vw);
  }

  .parents-hero__soft-circle--blue {
    right: auto;
    left: 260px;
  }
}

@media (max-width: 760px) {
  .parents-hero__visual--clean {
    min-height: 360px;
  }

  .parents-hero__image-card--clean {
    width: min(310px, 82vw);
  }

  .parents-hero__soft-circle--blue {
    width: 126px;
    height: 126px;
    left: 210px;
    top: 8px;
  }

  .parents-hero__soft-circle--ruby {
    width: 72px;
    height: 72px;
    left: 4px;
    bottom: 34px;
  }
}

@media (max-width: 520px) {
  .parents-hero__visual--clean {
    display: none;
  }
}


/* =========================
   FOR PARENTS IMPROVED STRUCTURE
   Vision/mission, offer, online benefits, how it works, FAQs, testimonials.
   ========================= */

.parents-hero--improved {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.78fr);
}

.parents-vision-section,
.parents-offer-section,
.parents-online-section {
  background: var(--ivory);
}

.parents-vision-section {
  padding: 96px min(64px, 6vw) 54px;
}

.parents-vision-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 22px;
}

.parents-vision-card {
  padding: clamp(34px, 5vw, 54px);
  border-radius: 38px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.parents-vision-card--dark {
  color: var(--white);
  background:
    radial-gradient(circle at 90% 18%, rgba(169, 207, 231, 0.20), transparent 30%),
    var(--navy);
}

.parents-vision-card h2 {
  margin: 0 0 28px;
  color: var(--navy);
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.parents-vision-card--dark h2 {
  color: var(--white);
}

.parents-offer-section {
  padding: 42px min(64px, 6vw) 96px;
}

.parents-offer-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.parents-offer-card {
  min-height: 100%;
  padding: 30px 26px;
  border-radius: 34px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(11, 31, 58, 0.10);
}

.parents-offer-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--blue);
  font-weight: 800;
}

.parents-offer-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(1.28rem, 2vw, 1.75rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.parents-offer-card p {
  margin: 0;
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 600;
}

.parents-offer-card--consultation {
  color: var(--white);
  background: var(--navy);
}

.parents-offer-card--consultation h3,
.parents-offer-card--consultation p {
  color: var(--white);
}

.parents-offer-card--consultation p {
  margin-bottom: 28px;
  opacity: 0.86;
}

.parents-offer-card--consultation .btn {
  width: 100%;
  min-width: 0;
}

.parents-online-section {
  padding: 0 min(64px, 6vw) 96px;
}

.parents-online-card {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 46px;
  align-items: start;
  padding: clamp(34px, 5vw, 56px);
  border-radius: 42px;
  color: var(--white);
  background:
    radial-gradient(circle at 92% 18%, rgba(169, 207, 231, 0.22), transparent 24%),
    var(--navy);
  box-shadow: var(--shadow-card);
}

.parents-online-card h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.parents-online-card p {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
  line-height: 1.48;
  font-weight: 600;
}

.parents-online-benefits {
  display: grid;
  gap: 16px;
}

.parents-online-benefits article {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid rgba(246, 241, 232, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.07);
}

.parents-online-benefits .parents-icon {
  margin: 0;
  background: rgba(169, 207, 231, 0.20);
  color: var(--blue);
}

.parents-online-benefits h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 1.35rem;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.parents-online-benefits p {
  margin: 0;
  color: rgba(255, 255, 255, 0.80);
  font-size: 0.98rem;
}

.parents-card-actions {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.parents-text-link {
  color: var(--ruby);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.parents-testimonials-section {
  padding-top: 12px;
}

@media (max-width: 1060px) {
  .parents-hero--improved,
  .parents-vision-grid,
  .parents-online-card {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .parents-vision-section,
  .parents-offer-section,
  .parents-online-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .parents-offer-grid {
    grid-template-columns: 1fr;
  }

  .parents-online-benefits article {
    grid-template-columns: 1fr;
  }
}


/* =========================
   FOR PARENTS POLISH V4
   Cleaner parent page: hero-only circles, sleeker vision/mission,
   stronger Why Choose Arah section, browse-first matching journey.
   ========================= */

/* Keep soft light-circle treatment only in the top hero. */
.parents-vision-card--dark,
.parents-online-card,
.parents-steps-section {
  background: var(--navy) !important;
}

/* Sleeker vision / mission */
.parents-vision-section {
  padding-top: 72px !important;
  padding-bottom: 34px !important;
}

.parents-vision-grid {
  gap: 18px !important;
  align-items: stretch;
}

.parents-vision-card {
  padding: clamp(26px, 3.2vw, 38px) !important;
  border-radius: 30px !important;
  box-shadow: 0 10px 26px rgba(11, 31, 58, 0.08) !important;
}

.parents-vision-card h2 {
  margin-bottom: 20px !important;
  font-size: clamp(1.6rem, 2.7vw, 2.65rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.055em !important;
  text-transform: none !important;
}

.parents-vision-card .btn-small {
  width: auto;
  min-height: 52px;
  padding: 0 24px;
}


/* Why Choose Arah section: cleaner, less decorative after hero. */
.parents-online-card--arah {
  background: var(--navy) !important;
}

.parents-online-card--arah .parents-online-benefits article {
  background: rgba(255, 255, 255, 0.065);
}

.parents-online-card--arah .parents-icon {
  color: var(--navy);
  background: var(--blue);
}

.parents-online-card--arah .parents-icon svg {
  stroke-width: 2.8;
}

/* How it works: browse-first CTA card. */
.parents-consultation-card .btn-card {
  min-width: 0;
}

.parents-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}

/* Remove any extra decorative orbs from non-hero parent sections. */
.parents-online-card::before,
.parents-online-card::after,
.parents-steps-section::before,
.parents-steps-section::after,
.parents-vision-card::before,
.parents-vision-card::after {
  content: none !important;
}

@media (max-width: 760px) {
  .parents-vision-section {
    padding-top: 56px !important;
  }
}


/* For Parents vision / mission CTA + consultation button polish
   Vision and mission stay text-only, Learn more sits underneath,
   and the parent consultation CTA uses ruby for stronger contrast.
*/

.parents-vision-action {
  width: min(1180px, 100%);
  margin: 22px auto 0;
  display: flex;
  justify-content: center;
}

.parents-learn-more-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 32px;
  border-radius: var(--radius-pill);
  color: var(--white);
  background: var(--navy);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, background 180ms ease;
}

.parents-learn-more-bubble:hover {
  transform: translateY(-2px);
  background: #12315A;
}

/* Parent consultation button inside the navy What We Offer card */
.parents-offer-card--consultation .btn-card {
  color: var(--white) !important;
  background: var(--ruby) !important;
}

.parents-offer-card--consultation .btn-card:hover {
  background: var(--ruby-dark) !important;
}


/* =========================
   ARAH CURRENT FILES FINAL SAFETY FIX
   Current-file safe overrides only: smaller hero/header text,
   visible tutor-profile nav, homepage CTA order/colour support,
   and logo alignment.
   ========================= */

/* Move the Arah logo slightly left globally, preserving vertical alignment. */
.site-header .logo-link {
  transform: translate(-18px, -6px);
}

@media (max-width: 980px) {
  .site-header .logo-link {
    transform: translate(-10px, -6px);
  }
}

@media (max-width: 620px) {
  .site-header .logo-link {
    transform: translate(-6px, -3px);
  }
}

/* Main hero/header titles across pages: smaller and calmer. */
.hero h1,
.tutors-hero h1,
.mentor-hero h1,
.parents-hero h1 {
  font-size: clamp(2.45rem, 4.35vw, 4.55rem) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.055em !important;
}

/* Hero/header supporting copy. */
.hero p,
.tutors-hero p,
.mentor-hero p,
.parents-hero p {
  font-size: clamp(1rem, 1.45vw, 1.22rem) !important;
  line-height: 1.45 !important;
}

/* Emphasised lede lines on Become a Tutor / For Parents. */
.mentor-hero__lede,
.parents-hero__lede {
  font-size: clamp(1.12rem, 1.75vw, 1.42rem) !important;
  line-height: 1.28 !important;
}

/* Slightly tighten hero spacing so the smaller type still sits nicely. */
.tutors-hero,
.mentor-hero,
.parents-hero {
  min-height: 690px !important;
}

/* Make large internal section headings consistent and less shouty. */
.section-heading-row h2,
.mentor-section-heading h2,
.mentor-subjects-card h2,
.mentor-steps-copy h2,
.mentor-apply-card h2,
.mentor-testimonials-heading h2,
.parents-section-heading h2,
.parents-pathways-card h2,
.parents-steps-copy h2,
.parents-consultation-card h2,
.parents-online-card h2 {
  font-size: clamp(2.2rem, 4vw, 3.85rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.055em !important;
}

/* Vision / mission stays sleek, not oversized. */
.parents-vision-card h2 {
  font-size: clamp(1.45rem, 2.35vw, 2.35rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.045em !important;
  text-transform: none !important;
}

/* Benefit/card titles. */
.mentor-benefit-card h3,
.parents-benefit-card h3,
.parents-offer-card h3,
.parents-online-benefits h3,
.mentor-step h3,
.parents-step h3,
.parents-pathway-list h3 {
  font-size: clamp(1.18rem, 1.75vw, 1.55rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.04em !important;
}

/* Tutor/profile page scale tweaks. */
.tutor-card h3 {
  font-size: clamp(1.75rem, 2.55vw, 2.35rem) !important;
  line-height: 1.02 !important;
}

.profile-card h1 {
  font-size: clamp(2.65rem, 4.6vw, 4.9rem) !important;
  line-height: 0.98 !important;
}

.consultation-strip h2 {
  font-size: clamp(2.2rem, 3.7vw, 3.75rem) !important;
}

/* Tutor profile sits on ivory, so nav needs to be navy there. */
.profile-body .navbar,
body:has(.profile-page) .navbar {
  color: var(--navy) !important;
}

.profile-body .menu-toggle span,
body:has(.profile-page) .menu-toggle span {
  background: var(--navy) !important;
}

.profile-body .nav-links a,
body:has(.profile-page) .nav-links a {
  color: var(--navy) !important;
}

/* Homepage hero: Book a consultation is the ruby primary action. */
.hero .hero-actions a[href="#consultation"] {
  color: var(--white) !important;
  background: var(--ruby) !important;
}

.hero .hero-actions a[href="#consultation"]:hover {
  background: var(--ruby-dark) !important;
}

/* Centre the small parent consultation text link. */
.parents-card-actions {
  justify-items: center;
  text-align: center;
}

.parents-text-link {
  text-align: center;
}

/* Mobile cleanup. */
@media (max-width: 760px) {
  .hero h1,
  .tutors-hero h1,
  .mentor-hero h1,
  .parents-hero h1 {
    font-size: clamp(2.05rem, 9.4vw, 2.9rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.05em !important;
  }

  .hero p,
  .tutors-hero p,
  .mentor-hero p,
  .parents-hero p,
  .mentor-hero__lede,
  .parents-hero__lede {
    font-size: 1rem !important;
    line-height: 1.45 !important;
  }

  .tutors-hero,
  .mentor-hero,
  .parents-hero {
    min-height: auto !important;
  }

  .section-heading-row h2,
  .mentor-section-heading h2,
  .mentor-subjects-card h2,
  .mentor-steps-copy h2,
  .mentor-apply-card h2,
  .mentor-testimonials-heading h2,
  .parents-section-heading h2,
  .parents-pathways-card h2,
  .parents-steps-copy h2,
  .parents-consultation-card h2,
  .parents-online-card h2 {
    font-size: clamp(1.95rem, 9vw, 2.85rem) !important;
    line-height: 1.05 !important;
  }

  .parents-vision-card h2 {
    font-size: clamp(1.45rem, 7vw, 2.1rem) !important;
  }
}


/* =========================
   SMALLER TOP H1 PASS
   Final override: makes the top hero H1s calmer across the main pages.
   ========================= */

.hero h1,
.tutors-hero h1,
.mentor-hero h1,
.parents-hero h1 {
  font-size: clamp(2.2rem, 3.85vw, 4.05rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.052em !important;
}

/* Keep the hero lede copy proportionate after reducing the H1s */
.mentor-hero__lede,
.parents-hero__lede {
  font-size: clamp(1.04rem, 1.55vw, 1.28rem) !important;
  line-height: 1.32 !important;
}

.hero p,
.tutors-hero p,
.mentor-hero p,
.parents-hero p {
  font-size: clamp(0.98rem, 1.32vw, 1.14rem) !important;
  line-height: 1.46 !important;
}

/* Mobile top H1s */
@media (max-width: 760px) {
  .hero h1,
  .tutors-hero h1,
  .mentor-hero h1,
  .parents-hero h1 {
    font-size: clamp(1.9rem, 8.4vw, 2.55rem) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.048em !important;
  }

  .hero p,
  .tutors-hero p,
  .mentor-hero p,
  .parents-hero p,
  .mentor-hero__lede,
  .parents-hero__lede {
    font-size: 0.98rem !important;
    line-height: 1.45 !important;
  }
}

.navbar {
  width: min(1240px, calc(100% - 64px));
}

.nav-links {
  gap: clamp(13px, 1.8vw, 24px);
  font-size: 0.82rem;
}

.nav-item {
  position: relative;
}

.nav-dropdown {
  display: inline-flex;
  align-items: center;
}

.nav-dropdown > a {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  width: 360px;
  padding: 14px;
  display: none;
  grid-template-columns: 1fr;
  gap: 8px;
  color: var(--navy);
  background: var(--ivory);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
  transform: translateX(-50%);
  text-transform: none;
  z-index: 60;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: grid;
}

.nav-dropdown-menu a {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  color: var(--navy);
  background: transparent;
  opacity: 1;
  transition: background 180ms ease, transform 180ms ease;
}

.nav-dropdown-menu a:hover {
  background: rgba(169, 207, 231, 0.32);
  transform: translateY(-1px);
}

.nav-dropdown-menu a::after {
  display: none;
}

.nav-dropdown-menu span {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.nav-dropdown-menu small {
  color: var(--slate);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

/* HERO: new study abroad positioning */
.hero h1 {
  max-width: 980px;
  font-size: clamp(2.2rem, 3.85vw, 4.05rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.052em !important;
}

.hero p {
  max-width: 760px;
  font-size: clamp(0.98rem, 1.32vw, 1.14rem) !important;
  line-height: 1.46 !important;
}

.hero .hero-actions a[href="#consultation"] {
  color: var(--white);
  background: var(--ruby);
}

.hero .hero-actions a[href="#consultation"]:hover {
  background: var(--ruby-dark);
}

/* HOMEPAGE PATHWAY SECTION */
.home-pathway-section {
  padding: 92px min(64px, 6vw) 72px;
  background: var(--ivory);
}

.home-pathway-heading {
  width: min(1180px, 100%);
  margin: 0 auto 42px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
}

.home-pathway-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.25rem, 4.2vw, 4rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.home-pathway-heading p {
  margin: 0;
  color: var(--slate);
  font-size: 1.08rem;
  line-height: 1.55;
  font-weight: 600;
}

.home-pathway-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-pathway-card {
  position: relative;
  min-height: 300px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 32px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid rgba(11, 31, 58, 0.10);
  box-shadow: var(--shadow-soft);
}

.home-pathway-card:nth-child(1) {
  background: var(--navy);
  color: var(--white);
}

.home-pathway-card:nth-child(2) {
  background: var(--blue);
}

.home-pathway-card:nth-child(3) {
  background: var(--white);
}

.home-pathway-card:nth-child(4) {
  background: var(--ruby);
  color: var(--white);
}

.home-pathway-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  color: var(--navy);
  background: var(--ivory);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.home-pathway-card:nth-child(2) span,
.home-pathway-card:nth-child(3) span {
  color: var(--white);
  background: var(--ruby);
}

.home-pathway-card h3 {
  margin: auto 0 14px;
  font-size: clamp(1.45rem, 2.45vw, 2.25rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.home-pathway-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 700;
  opacity: 0.88;
}

/* INTRO: remove the AI-ish mini-header feeling and make it cleaner */
.intro-section {
  padding-top: 74px;
}

.intro-left .eyebrow {
  display: none;
}

.intro-left h2 {
  font-size: clamp(2.15rem, 3.8vw, 3.45rem);
  line-height: 1.14;
}

.intro-text {
  color: var(--ruby);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.benefit-list {
  font-size: clamp(1.02rem, 1.55vw, 1.28rem);
  line-height: 1.68;
}

.consultation-card h2 {
  font-size: clamp(2rem, 3.45vw, 3rem);
}

/* MOBILE */
@media (max-width: 980px) {
  .navbar {
    width: min(100% - 40px, 1180px);
  }

  .nav-links {
    font-size: 0.9rem;
  }

  .nav-dropdown {
    width: 100%;
    display: grid;
    gap: 10px;
  }

  .nav-dropdown-menu {
    position: static;
    width: 100%;
    display: grid;
    padding: 8px;
    box-shadow: none;
    transform: none;
    background: rgba(255, 255, 255, 0.52);
  }

  .nav-dropdown-menu a {
    padding: 12px 14px;
  }

  .home-pathway-heading {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .hero h1 {
    font-size: clamp(1.9rem, 8.4vw, 2.55rem) !important;
    line-height: 1.1 !important;
  }

  .hero p {
    font-size: 0.98rem !important;
  }

  .home-pathway-section {
    padding: 64px 20px 48px;
  }

  .home-pathway-heading h2 {
    font-size: clamp(2rem, 10vw, 2.85rem);
  }

  .home-pathway-grid {
    grid-template-columns: 1fr;
  }

  .home-pathway-card {
    min-height: 235px;
  }

  .intro-section {
    padding-top: 58px;
  }
}


/* =========================
   ARAH HOME REDESIGN 2026
   New homepage only: premium study-abroad pathway design.
   Paste-safe: scoped mostly to .ag-* classes.
   ========================= */

.home-redesign-body {
  color: var(--navy);
  background:
    radial-gradient(circle at 78% 12%, rgba(169, 207, 231, 0.18), transparent 26%),
    linear-gradient(180deg, #FFFDF9 0%, var(--ivory) 100%);
}

.site-header--home-redesign {
  position: absolute;
  top: 0;
}

.site-header--home-redesign .navbar {
  width: min(1380px, calc(100% - 64px));
  min-height: 88px;
  color: var(--navy);
}

.site-header--home-redesign .logo-link {
  transform: translate(-12px, -2px);
}

.site-header--home-redesign .site-logo {
  width: clamp(110px, 11vw, 154px);
}

.site-header--home-redesign .nav-links {
  gap: clamp(16px, 2.1vw, 30px);
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.035em;
  transform: translateY(-2px);
}

.site-header--home-redesign .nav-links a {
  opacity: 1;
}

.site-header--home-redesign .nav-links a.active::after {
  bottom: -14px;
  height: 2px;
}

.site-header--home-redesign .language-switch {
  letter-spacing: 0.02em;
  font-weight: 800;
}

.site-header--home-redesign .menu-toggle span {
  background: var(--navy);
}

/* New nav dropdown */
.nav-item {
  position: relative;
}

.nav-dropdown {
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  width: 360px;
  padding: 14px;
  display: none;
  grid-template-columns: 1fr;
  gap: 8px;
  color: var(--navy);
  background: rgba(246, 241, 232, 0.98);
  border: 1px solid rgba(11, 31, 58, 0.10);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(11, 31, 58, 0.18);
  transform: translateX(-50%);
  text-transform: none;
  z-index: 60;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: grid;
}

.nav-dropdown-menu a {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  color: var(--navy);
  background: transparent;
  transition: background 180ms ease, transform 180ms ease;
}

.nav-dropdown-menu a:hover {
  background: rgba(169, 207, 231, 0.32);
  transform: translateY(-1px);
}

.nav-dropdown-menu a::after {
  display: none !important;
}

.nav-dropdown-menu span {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.nav-dropdown-menu small {
  color: var(--slate);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

/* Shared new homepage buttons */
.ag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 17px;
  border: 1.6px solid transparent;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.ag-btn:hover {
  transform: translateY(-2px);
}

.ag-btn span {
  font-size: 1.55rem;
  line-height: 1;
}

.ag-btn--ruby {
  color: var(--white);
  background: linear-gradient(135deg, var(--ruby), #D2082A);
  box-shadow: 0 16px 34px rgba(170, 26, 45, 0.22);
}

.ag-btn--ruby:hover {
  background: var(--ruby-dark);
}

.ag-btn--outline {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--navy);
}

/* Hero */
.ag-home {
  overflow: hidden;
}

.ag-hero {
  width: min(1380px, calc(100% - 64px));
  margin: 0 auto;
  min-height: 585px;
  padding: 124px 0 44px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(560px, 1fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.ag-hero__copy {
  max-width: 620px;
}

.ag-hero h1 {
  margin: 0 0 28px;
  color: var(--navy);
  font-size: clamp(2.85rem, 5vw, 5.05rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.ag-hero h1 span {
  color: var(--ruby);
}

.ag-hero__copy > p {
  max-width: 560px;
  margin: 0;
  color: #324769;
  font-size: clamp(1.05rem, 1.55vw, 1.34rem);
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.ag-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
}

.ag-trust-row {
  display: grid;
  grid-template-columns: 1fr 1.18fr 1fr;
  gap: 22px;
  align-items: center;
  margin-top: 42px;
  color: var(--navy);
}

.ag-trust-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.ag-trust-item + .ag-trust-item {
  border-left: 1px solid rgba(11, 31, 58, 0.16);
  padding-left: 22px;
}

.ag-trust-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  color: var(--navy);
}

.ag-trust-icon svg,
.ag-mini-icon svg,
.ag-offer-icon svg,
.ag-step-icon svg,
.ag-consult-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ag-trust-item strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.86rem;
  line-height: 1.05;
  font-weight: 800;
}

.ag-trust-item small {
  display: block;
  color: #42536E;
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 600;
}

/* Hero visual */
.ag-hero__visual {
  position: relative;
  min-height: 430px;
}

.ag-hero__blue-shape {
  position: absolute;
  top: -28px;
  right: 58px;
  width: 340px;
  height: 350px;
  border-radius: 42% 58% 44% 56% / 44% 42% 58% 56%;
  background: rgba(169, 207, 231, 0.46);
  transform: rotate(-7deg);
}

.ag-hero__dots {
  position: absolute;
  right: 8px;
  top: 162px;
  width: 110px;
  height: 138px;
  opacity: 0.75;
  background-image: radial-gradient(rgba(169, 207, 231, 0.95) 2px, transparent 2px);
  background-size: 22px 22px;
}

.ag-hero__image-frame {
  position: absolute;
  right: 52px;
  top: 34px;
  width: min(590px, 100%);
  height: 330px;
  overflow: hidden;
  border-radius: 90px 90px 34px 90px;
  background: var(--ivory-deep);
  box-shadow: 0 26px 80px rgba(11, 31, 58, 0.18);
}

.ag-hero__image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 31, 58, 0.06), transparent 45%),
    radial-gradient(circle at 72% 28%, rgba(255, 255, 255, 0.18), transparent 36%);
  pointer-events: none;
}

.ag-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ag-hero__image-frame::before {
  content: "";
  position: absolute;
  left: -32px;
  bottom: -20px;
  width: 70px;
  height: 70px;
  border-left: 3px solid var(--ruby);
  border-bottom: 3px solid var(--ruby);
  border-radius: 0 0 0 50px;
  z-index: 2;
}

.ag-floating-card {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: 24px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 62px rgba(11, 31, 58, 0.15);
  backdrop-filter: blur(12px);
}

.ag-floating-card--top {
  top: 18px;
  left: 30px;
  width: 160px;
  padding: 22px;
}

.ag-floating-card--bottom {
  right: 0;
  bottom: 24px;
  width: 205px;
  padding: 20px 22px;
}

.ag-mini-icon {
  width: 35px;
  height: 35px;
  display: block;
  margin-bottom: 16px;
  color: var(--navy);
}

.ag-floating-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.84rem;
  line-height: 1.25;
  font-weight: 800;
}

.ag-floating-card small {
  display: block;
  color: #42536E;
  font-size: 0.72rem;
  line-height: 1.45;
  font-weight: 650;
}

.ag-avatar-row {
  display: flex;
  align-items: center;
  margin: 14px 0 12px;
}

.ag-avatar-row span,
.ag-avatar-row em {
  width: 27px;
  height: 27px;
  margin-right: -7px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: linear-gradient(135deg, #F4C7B2, #A9CFE7);
}

.ag-avatar-row span:nth-child(2) {
  background: linear-gradient(135deg, #D3B195, #0B1F3A);
}

.ag-avatar-row span:nth-child(3) {
  background: linear-gradient(135deg, #F6F1E8, #AA1A2D);
}

.ag-avatar-row span:nth-child(4) {
  background: linear-gradient(135deg, #A9CFE7, #637083);
}

.ag-avatar-row em {
  display: inline-grid;
  place-items: center;
  margin-right: 0;
  color: var(--navy);
  background: var(--blue);
}

.ag-avatar-row em svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
}

/* Offers */
.ag-offers {
  width: min(1320px, calc(100% - 64px));
  margin: 10px auto 14px;
  padding: 30px 32px 36px;
  border: 1px solid rgba(169, 207, 231, 0.30);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(246, 251, 255, 0.94));
  box-shadow: 0 18px 44px rgba(11, 31, 58, 0.06);
}

.ag-section-title--center {
  text-align: center;
}

.ag-section-title h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.ag-section-title span {
  display: block;
  width: 58px;
  height: 3px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: var(--ruby);
}

.ag-offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.ag-offer-card {
  min-height: 138px;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: 18px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.07);
}

.ag-offer-icon {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #173FA7;
  background: var(--blue);
}

.ag-offer-icon svg {
  width: 32px;
  height: 32px;
}

.ag-offer-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: clamp(1rem, 1.18vw, 1.18rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.ag-offer-card p {
  margin: 0;
  color: #354968;
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 650;
}

/* Journey + consultation */
.ag-home-panels {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 1fr);
  gap: 16px;
}

.ag-journey-card,
.ag-consult-card {
  border: 1px solid rgba(169, 207, 231, 0.30);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.80);
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.05);
}

.ag-journey-card {
  min-height: clamp(390px, 30vw, 500px);
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: clamp(30px, 3.7vw, 46px);
  overflow: hidden;
}

.ag-journey-card h2,
.ag-consult-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.ag-journey-list {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 6px;
  padding-left: 6px;
}

.ag-journey-list::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 18px;
  width: 1px;
  background: rgba(11, 31, 58, 0.16);
}

.ag-journey-item {
  position: relative;
  width: 100%;
  min-width: 0;
  height: 100%;
  display: grid;
  grid-template-columns:
    clamp(44px, 4.5vw, 58px)
    clamp(32px, 3.4vw, 44px)
    minmax(0, 1.12fr)
    minmax(0, 0.88fr);
  column-gap: clamp(14px, 2vw, 26px);
  align-items: center;
  border-bottom: 1px solid rgba(11, 31, 58, 0.10);
  overflow: hidden;
}

.ag-journey-item:last-child {
  border-bottom: 0;
}

.ag-step-number {
  position: relative;
  z-index: 1;
  width: clamp(34px, 3.8vw, 46px);
  height: clamp(34px, 3.8vw, 46px);
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
  font-size: clamp(1rem, 1.45vw, 1.32rem);
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(11, 31, 58, 0.16);
}

.ag-step-icon {
  width: clamp(28px, 3vw, 36px);
  height: clamp(28px, 3vw, 36px);
  color: var(--navy);
}

.ag-step-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 2.6;
}

.ag-journey-item strong {
  color: var(--navy);
  font-size: 0.96rem;
  line-height: 1.1;
  font-weight: 800;
}

.ag-journey-item p {
  margin: 0;
  color: #354968;
  font-size: 0.9rem;
  font-weight: 650;
}

.ag-consult-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(250px, 0.72fr);
  gap: clamp(26px, 4vw, 48px);
  align-items: center;
  min-height: clamp(390px, 30vw, 500px);
  padding: clamp(32px, 4vw, 48px);
  background:
    radial-gradient(circle at 82% 58%, rgba(169, 207, 231, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(239, 248, 253, 0.90));
}

.ag-consult-icon {
  width: 50px;
  height: 50px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #173FA7;
  background: rgba(169, 207, 231, 0.58);
}

.ag-consult-icon svg {
  width: 28px;
  height: 28px;
}

.ag-consult-copy p {
  max-width: 430px;
  margin: 14px 0 24px;
  color: #354968;
  font-size: 0.95rem;
  line-height: 1.46;
  font-weight: 650;
}

.ag-consult-copy .ag-btn {
  min-height: 50px;
  padding-inline: 24px;
  border-radius: 14px;
  font-size: 0.9rem;
}

.ag-consult-image {
  position: relative;
  width: min(100%, 315px);
  height: 230px;
  justify-self: center;
  align-self: center;
  overflow: hidden;
  border-radius: 34px 76px 34px 76px;
  box-shadow: inset 0 0 0 1px rgba(11,31,58,0.08);
  transform: translateY(22px);
}

.ag-consult-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(234, 246, 253, 0.18), rgba(234, 246, 253, 0.04)),
    radial-gradient(circle at 15% 78%, rgba(255,255,255,0.34), transparent 30%);
}

.ag-consult-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
  filter: saturate(0.92) contrast(0.98) brightness(1.02);
}

/* University strip */
.ag-university-strip {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto 18px;
  min-height: 86px;
  display: grid;
  grid-template-columns: minmax(170px, 240px) 1px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  overflow: hidden;
  padding: 20px 32px;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(135deg, #07182D, var(--navy));
  box-shadow: 0 18px 44px rgba(11, 31, 58, 0.18);
}

.ag-university-strip p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 700;
}

.ag-university-divider {
  width: 1px;
  min-height: 46px;
  background: rgba(246, 241, 232, 0.55);
}


.ag-university-marquee {
  position: relative;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ag-university-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: clamp(34px, 5vw, 74px);
  animation: ag-logo-marquee 30s linear infinite;
  will-change: transform;
}

.ag-university-marquee:hover .ag-university-track {
  animation-play-state: paused;
}

.ag-university-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  color: rgba(255, 255, 255, 0.92);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.55vw, 1.75rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.ag-university-logo img {
  display: block;
  width: auto;
  max-width: 220px;
  max-height: 38px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

@keyframes ag-logo-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ag-university-track {
    width: auto;
    flex-wrap: wrap;
    animation: none;
  }
}

.ag-footer {
  margin-top: 0;
}

/* Responsive */
@media (max-width: 1180px) {
  .ag-hero {
    grid-template-columns: 1fr;
    padding-top: 120px;
  }

  .ag-hero__copy {
    max-width: 760px;
  }

  .ag-hero__visual {
    min-height: 480px;
    width: min(740px, 100%);
  }

  .ag-hero__image-frame {
    left: 90px;
    right: auto;
  }

  .ag-floating-card--top {
    left: 18px;
  }

  .ag-floating-card--bottom {
    right: 18px;
  }

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

  .ag-home-panels {
    grid-template-columns: 1fr;
  }

  .ag-university-strip {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ag-university-divider {
    display: none;
  }
}

@media (max-width: 980px) {
  .site-header--home-redesign .navbar {
    width: min(100% - 40px, 1180px);
    min-height: 84px;
  }

  .site-header--home-redesign .nav-links {
    position: absolute;
    top: 78px;
    right: 20px;
    width: min(340px, calc(100vw - 40px));
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 28px;
    color: var(--navy);
    background: var(--ivory);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
    transform: none;
  }

  .site-header--home-redesign .nav-links.is-open {
    display: flex;
  }

  .nav-dropdown {
    width: 100%;
    display: grid;
    gap: 10px;
  }

  .nav-dropdown-menu {
    position: static;
    width: 100%;
    display: grid;
    padding: 8px;
    box-shadow: none;
    transform: none;
    background: rgba(255, 255, 255, 0.54);
  }

  .ag-trust-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ag-trust-item + .ag-trust-item {
    border-left: 0;
    padding-left: 0;
  }

  .ag-consult-card {
    grid-template-columns: 1fr;
  }

  .ag-consult-image {
    display: none;
  }
}

@media (max-width: 720px) {
  .ag-hero,
  .ag-offers,
  .ag-home-panels,
  .ag-university-strip {
    width: calc(100% - 40px);
  }

  .ag-hero {
    min-height: auto;
    padding: 112px 0 38px;
  }

  .ag-hero h1 {
    font-size: clamp(2.3rem, 11vw, 3.25rem);
  line-height: 1.13;
    letter-spacing: -0.052em;
  }

  .ag-hero__copy > p {
    font-size: 1rem;
  }

  .ag-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ag-btn {
    width: 100%;
  }

  .ag-hero__visual {
    min-height: 360px;
  }

  .ag-hero__image-frame {
    left: 0;
    right: auto;
    top: 42px;
    width: 100%;
    height: 260px;
    border-radius: 54px 54px 26px 54px;
  }

  .ag-floating-card--top {
    top: 0;
    left: 12px;
    width: 150px;
  }

  .ag-floating-card--bottom {
    display: none;
  }

  .ag-hero__dots {
    display: none;
  }

  .ag-offer-grid {
    grid-template-columns: 1fr;
  }

  .ag-offer-card {
    grid-template-columns: 58px 1fr;
  }

  .ag-journey-item {
    grid-template-columns: 36px 34px 1fr;
    gap: 12px;
    padding: 10px 0;
  }

  .ag-journey-item p {
    grid-column: 3;
  }

  .ag-university-logos {
    gap: 18px;
  }
}


@media (max-width: 1180px) {
  .ag-consult-card {
    min-height: auto;
  }

  .ag-consult-image {
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .ag-consult-card {
    grid-template-columns: 1fr;
  }

  .ag-consult-image {
    width: 100%;
    height: 220px;
    border-radius: 42px 42px 24px 42px;
  }

  .ag-university-strip {
    grid-template-columns: 1fr;
  }

  .ag-university-divider {
    display: none;
  }
}

@media (max-width: 720px) {
  .ag-journey-item {
    grid-template-columns: 42px 34px minmax(0, 1fr);
    min-height: 104px;
    padding: 14px 0;
  }

  .ag-journey-item p {
    grid-column: 3;
  }

  .ag-consult-image {
    height: 180px;
  }
}


/* =========================
   ARAH PROGRAMS PAGE
   Streamlined programmes page.
   Solid colours only. No gradients. No decorative heading bubbles.
   ========================= */

.programs-body {
  color: var(--navy);
  background: var(--ivory);
}

.programs-body .site-header--home-redesign {
  position: absolute;
  top: 0;
}

.programs-body .site-header--home-redesign .navbar,
.programs-body .site-header--home-redesign .nav-links {
  color: var(--navy);
}

.programs-body .site-header--home-redesign .menu-toggle span {
  background: var(--navy);
}

.programs-body .ag-btn--ruby {
  background: var(--ruby);
  box-shadow: 0 16px 34px rgba(170, 26, 45, 0.18);
}

.programs-body .ag-btn--ruby:hover {
  background: var(--ruby-dark);
}

.programs-body .ag-btn--outline {
  background: var(--white);
  border-color: var(--navy);
}

.programs-page {
  overflow: hidden;
}

/* Hero */
.programs-hero {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  min-height: 560px;
  padding: 128px 0 44px;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(390px, 0.72fr);
  gap: clamp(38px, 6vw, 82px);
  align-items: center;
}

.programs-hero__copy {
  max-width: 760px;
}

.programs-hero h1 {
  margin: 0 0 28px;
  color: var(--navy);
  font-size: clamp(3rem, 5vw, 5.05rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.058em;
}

.programs-hero h1 span {
  color: var(--ruby);
}

.programs-hero__copy > p {
  max-width: 650px;
  margin: 0;
  color: #324769;
  font-size: clamp(1.05rem, 1.52vw, 1.26rem);
  line-height: 1.56;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.programs-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.programs-hero-card {
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(11, 31, 58, 0.12);
  border-radius: 34px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(11, 31, 58, 0.08);
}

.programs-hero-card h2 {
  margin: 0 0 22px;
  color: var(--navy);
  font-size: clamp(1.55rem, 2.15vw, 2.25rem);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.programs-hero-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.programs-hero-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(11, 31, 58, 0.12);
}

.programs-hero-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.programs-hero-list li:last-child {
  padding-bottom: 0;
}

.programs-hero-list span {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 13px;
  color: var(--white);
  background: var(--navy);
  font-size: 0.85rem;
  font-weight: 800;
}

.programs-hero-list strong {
  display: block;
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.15;
  font-weight: 800;
}

.programs-hero-list small {
  display: block;
  color: #42536E;
  font-size: 0.88rem;
  line-height: 1.35;
  font-weight: 650;
}

/* Shared section */
.programs-section {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
}

.programs-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: end;
  margin-bottom: 24px;
}

.programs-section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.1rem, 3.7vw, 3.75rem);
  line-height: 1.13;
  font-weight: 800;
  letter-spacing: -0.052em;
}

.programs-section-heading p {
  margin: 0;
  color: #42536E;
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  line-height: 1.56;
  font-weight: 600;
}

/* Main programme blocks */
.programs-list-section {
  padding: 22px 0 24px;
}

.programs-block-list {
  display: grid;
  gap: 16px;
}

.programs-block {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  min-height: 154px;
  padding: clamp(24px, 3.2vw, 36px);
  border: 1px solid rgba(11, 31, 58, 0.10);
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(11, 31, 58, 0.06);
}

.programs-block--navy {
  color: var(--white);
  background: var(--navy);
}

.programs-block--blue {
  color: var(--navy);
  background: var(--blue);
}

.programs-block--ruby {
  color: var(--white);
  background: var(--ruby);
}

.programs-block-number {
  width: 62px;
  height: 62px;
  display: inline-grid;
  place-items: center;
  border-radius: 19px;
  color: var(--navy);
  background: var(--ivory);
  font-size: 1rem;
  font-weight: 800;
}

.programs-block--navy .programs-block-number,
.programs-block--ruby .programs-block-number {
  color: var(--navy);
  background: var(--white);
}

.programs-block-copy {
  min-width: 0;
}

.programs-block h3 {
  margin: 0 0 10px;
  color: inherit;
  font-size: clamp(1.5rem, 2.25vw, 2.3rem);
  line-height: 1.13;
  font-weight: 800;
  letter-spacing: -0.052em;
}

.programs-block p {
  max-width: 760px;
  margin: 0;
  color: inherit;
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  line-height: 1.5;
  font-weight: 650;
  opacity: 0.88;
}

.programs-block .ag-btn {
  min-width: 190px;
  white-space: nowrap;
}

.programs-block--navy .ag-btn--outline,
.programs-block--ruby .ag-btn--outline {
  color: var(--navy);
  background: var(--white);
  border-color: var(--white);
}

.programs-block--blue .ag-btn--outline {
  background: rgba(255, 255, 255, 0.68);
}

/* Small guidance strip */
.programs-note {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  margin-top: 22px;
  padding: clamp(28px, 4vw, 42px);
  border-radius: 30px;
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(11, 31, 58, 0.06);
  border: 1px solid rgba(11, 31, 58, 0.10);
}

.programs-note h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.75rem, 2.8vw, 2.9rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.052em;
}

.programs-note-list {
  display: grid;
  gap: 12px;
}

.programs-note-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.programs-note-item span {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 13px;
  color: var(--navy);
  background: var(--blue);
  font-size: 0.86rem;
  font-weight: 800;
}

.programs-note-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-weight: 800;
}

.programs-note-item small {
  color: #42536E;
  font-weight: 600;
  line-height: 1.4;
}

/* Final consultation */
.programs-consultation {
  width: min(1320px, calc(100% - 64px));
  margin: 24px auto 78px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.42fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(30px, 4.4vw, 54px);
  border-radius: 34px;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 18px 44px rgba(11, 31, 58, 0.16);
}

.programs-consultation h2 {
  max-width: 800px;
  margin: 0 0 18px;
  color: var(--white);
  font-size: clamp(2.1rem, 3.8vw, 3.9rem);
  line-height: 1.13;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.programs-consultation p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.55;
  font-weight: 600;
}

.programs-consultation-actions {
  display: grid;
  gap: 14px;
  justify-items: stretch;
}

.programs-consultation-actions .ag-btn {
  width: 100%;
}

.programs-consultation-actions .ag-btn--outline {
  color: var(--navy);
  background: var(--white);
  border-color: var(--white);
}

/* Programs responsive */
@media (max-width: 1180px) {
  .programs-hero,
  .programs-section,
  .programs-consultation {
    width: min(100% - 48px, 980px);
  }

  .programs-hero,
  .programs-note,
  .programs-consultation {
    grid-template-columns: 1fr;
  }

  .programs-hero {
    min-height: auto;
    padding-top: 120px;
  }

  .programs-hero-card {
    max-width: 720px;
  }

  .programs-block {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .programs-block .ag-btn {
    grid-column: 2;
    width: fit-content;
  }

  .programs-consultation-actions {
    max-width: 360px;
  }
}

@media (max-width: 760px) {
  .programs-hero,
  .programs-section,
  .programs-consultation {
    width: calc(100% - 40px);
  }

  .programs-hero {
    padding-top: 112px;
  }

  .programs-hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
    line-height: 1.16;
  }

  .programs-hero__actions,
  .programs-consultation-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .programs-section-heading {
    grid-template-columns: 1fr;
  }

  .programs-block {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto;
    border-radius: 26px;
  }

  .programs-block .ag-btn {
    grid-column: auto;
    width: 100%;
  }

  .programs-note,
  .programs-consultation {
    border-radius: 26px;
    padding: 26px;
  }
}


/* =========================
   ARAH TUTORS PAGE REDESIGN
   New Tutors page styling to match the homepage/programs direction.
   Solid colours only. No gradients. Tutor IDs/scripts remain unchanged.
   ========================= */

.tutors-body {
  color: var(--navy);
  background: var(--ivory);
}

.tutors-body .site-header--home-redesign {
  position: absolute;
  top: 0;
}

.tutors-body .site-header--home-redesign .navbar,
.tutors-body .site-header--home-redesign .nav-links {
  color: var(--navy);
}

.tutors-body .site-header--home-redesign .menu-toggle span {
  background: var(--navy);
}

.tutors-body .ag-btn--ruby {
  background: var(--ruby);
  box-shadow: 0 16px 34px rgba(170, 26, 45, 0.18);
}

.tutors-body .ag-btn--ruby:hover {
  background: var(--ruby-dark);
}

.tutors-body .ag-btn--outline {
  background: var(--white);
  border-color: var(--navy);
}

.tutors-page {
  overflow: hidden;
}

/* Hero */
.tutors-body .tutors-hero {
  width: min(1320px, calc(100% - 64px));
  min-height: 560px !important;
  margin: 0 auto;
  padding: 128px 0 48px;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(390px, 0.72fr);
  gap: clamp(38px, 6vw, 82px);
  align-items: center;
  color: var(--navy);
  background: var(--ivory);
  overflow: visible;
}

.tutors-body .tutors-hero::before,
.tutors-body .tutors-hero::after {
  content: none !important;
}

.tutors-body .tutors-hero__copy {
  max-width: 760px;
}

.tutors-body .tutors-hero h1 {
  max-width: 760px;
  margin: 0 0 28px;
  color: var(--navy);
  font-size: clamp(3rem, 5vw, 5.05rem) !important;
  line-height: 1.14 !important;
  font-weight: 800;
  letter-spacing: -0.058em !important;
  text-transform: none;
}

.tutors-body .tutors-hero h1 span {
  color: var(--ruby);
}

.tutors-body .tutors-hero p {
  max-width: 650px;
  margin: 0 0 18px;
  color: #324769;
  font-size: clamp(1.05rem, 1.52vw, 1.26rem) !important;
  line-height: 1.56 !important;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.tutors-body .hero-actions {
  justify-content: flex-start;
  gap: 18px;
  margin-top: 34px;
}

.tutors-body .tutors-hero__panel {
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(11, 31, 58, 0.12);
  border-radius: 34px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(11, 31, 58, 0.08);
}

.tutors-body .tutors-hero__panel h2 {
  margin: 0 0 22px;
  color: var(--navy);
  font-size: clamp(1.55rem, 2.15vw, 2.25rem);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.tutors-body .tutors-hero__panel-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tutors-body .tutors-hero__panel-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(11, 31, 58, 0.12);
}

.tutors-body .tutors-hero__panel-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.tutors-body .tutors-hero__panel-list li:last-child {
  padding-bottom: 0;
}

.tutors-body .tutors-hero__panel-list span {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 13px;
  color: var(--white);
  background: var(--navy);
  font-size: 0.85rem;
  font-weight: 800;
}

.tutors-body .tutors-hero__panel-list strong {
  display: block;
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.15;
  font-weight: 800;
}

.tutors-body .tutors-hero__panel-list small {
  display: block;
  color: #42536E;
  font-size: 0.88rem;
  line-height: 1.35;
  font-weight: 650;
}

/* Browser shell */
.tutors-body .tutor-browser {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 22px 0 72px;
}

.tutors-body .section-heading-row {
  width: 100%;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: end;
}

.tutors-body .section-heading-row h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.1rem, 3.7vw, 3.75rem) !important;
  line-height: 1.13 !important;
  font-weight: 800;
  letter-spacing: -0.052em !important;
  text-transform: none;
}

.tutors-body .section-heading-row p:not(.eyebrow) {
  margin: 0;
  color: #42536E;
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  line-height: 1.56;
  font-weight: 600;
}

.tutors-body .eyebrow {
  display: none;
}

/* Filters */
.tutors-body .filter-panel {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1.05fr 1.55fr 1fr 1fr;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(11, 31, 58, 0.10);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(11, 31, 58, 0.06);
}

.tutors-body .filter-field span {
  margin: 0 0 8px 14px;
  color: #42536E;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: -0.01em;
}

.tutors-body .filter-field select {
  min-height: 56px;
  padding: 0 46px 0 20px;
  border: 1.4px solid rgba(11, 31, 58, 0.18);
  border-radius: 17px;
  color: var(--navy);
  background: var(--ivory);
  font-size: 0.92rem;
  font-weight: 700;
}

.tutors-body .filter-field select:focus {
  border-color: var(--ruby);
  box-shadow: 0 0 0 4px rgba(170, 26, 45, 0.10);
}

.tutors-body .active-filter-row {
  width: 100%;
  margin: 14px 0 24px;
}

.tutors-body .reset-filters {
  color: var(--ruby);
  font-size: 0.84rem;
  letter-spacing: -0.01em;
  text-transform: none;
}

/* Tutor cards */
.tutors-body .tutor-list {
  width: 100%;
  display: grid;
  gap: 16px;
}

.tutors-body .tutor-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: center;
  padding: clamp(24px, 3.2vw, 36px);
  border: 1px solid rgba(11, 31, 58, 0.10);
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(11, 31, 58, 0.06);
}

.tutors-body .tutor-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  object-fit: cover;
  background: var(--ivory-deep);
}

.tutors-body .tutor-card__top {
  margin-bottom: 12px;
}

.tutors-body .tutor-card h3 {
  color: var(--navy);
  font-size: clamp(1.45rem, 2.2vw, 2.25rem) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.052em !important;
  text-transform: none;
}

.tutors-body .profile-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  color: var(--ruby);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: none;
}

.tutors-body .tutor-meta {
  color: #42536E;
  font-size: clamp(0.9rem, 1.15vw, 1.04rem);
  line-height: 1.35;
  font-weight: 800;
  text-transform: none;
}

.tutors-body .tutor-bio {
  max-width: 820px;
  color: #42536E;
  font-size: clamp(0.96rem, 1.2vw, 1.08rem);
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.tutors-body .rating-pill {
  color: var(--white);
  background: var(--ruby);
}

.tutors-body .tag {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--white);
  background: var(--ruby);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: -0.01em;
}

.tutors-body .tag--curriculum {
  color: var(--navy);
  background: var(--blue);
}

.tutors-body .more-tag {
  color: #42536E;
  font-size: 0.82rem;
  text-transform: none;
}

.tutors-body .results-summary--bottom {
  width: 100%;
  margin: 26px auto 14px;
  color: #42536E;
  font-weight: 700;
}

.tutors-body .load-more-wrap .btn,
.tutors-body .empty-state .btn {
  min-height: 56px;
  border-radius: 17px;
  background: var(--navy);
  text-transform: none;
  letter-spacing: -0.03em;
}

.tutors-body .empty-state {
  border: 1px solid rgba(11, 31, 58, 0.10);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(11, 31, 58, 0.06);
}

/* Consultation */
.tutors-body .consultation-strip {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto 78px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(30px, 4.4vw, 54px);
  border-radius: 34px;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 18px 44px rgba(11, 31, 58, 0.16);
}

.tutors-body .consultation-strip h2 {
  max-width: 820px;
  margin: 0 0 18px;
  color: var(--white);
  font-size: clamp(2.1rem, 3.8vw, 3.9rem) !important;
  line-height: 1.13 !important;
  font-weight: 800;
  letter-spacing: -0.055em !important;
  text-transform: none;
}

.tutors-body .consultation-strip p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.55;
  font-weight: 600;
}

.tutors-body .consultation-strip .btn {
  min-height: 56px;
  border-radius: 17px;
  padding: 0 28px;
  color: var(--navy);
  background: var(--white);
  font-size: 0.98rem;
  text-transform: none;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

/* Tutors responsive */
@media (max-width: 1180px) {
  .tutors-body .tutors-hero,
  .tutors-body .tutor-browser,
  .tutors-body .consultation-strip {
    width: min(100% - 48px, 980px);
  }

  .tutors-body .tutors-hero,
  .tutors-body .section-heading-row,
  .tutors-body .consultation-strip {
    grid-template-columns: 1fr;
  }

  .tutors-body .tutors-hero {
    min-height: auto !important;
    padding-top: 120px;
  }

  .tutors-body .tutors-hero__panel {
    max-width: 720px;
  }

  .tutors-body .filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tutors-body .tutor-card {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .tutors-body .consultation-strip .btn {
    width: fit-content;
  }
}

@media (max-width: 760px) {
  .tutors-body .tutors-hero,
  .tutors-body .tutor-browser,
  .tutors-body .consultation-strip {
    width: calc(100% - 40px);
  }

  .tutors-body .tutors-hero {
    padding-top: 112px;
  }

  .tutors-body .tutors-hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.25rem) !important;
    line-height: 1.16 !important;
  }

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

  .tutors-body .filter-panel {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .tutors-body .tutor-card {
    grid-template-columns: 1fr;
    border-radius: 26px;
  }

  .tutors-body .tutor-card__image {
    width: min(210px, 100%);
  }

  .tutors-body .tutor-card__top {
    flex-direction: column;
  }

  .tutors-body .consultation-strip {
    border-radius: 26px;
    padding: 26px;
  }

  .tutors-body .consultation-strip .btn {
    width: 100%;
  }
}


/* =========================
   ARAH ALUMNI MENTORS PAGE
   Sister page to Tutors, optimised for university/course/city guidance.
   Solid colours only. No gradients. No decorative heading bubbles.
   ========================= */

.alumni-body {
  color: var(--navy);
  background: var(--ivory);
}

.alumni-body .site-header--home-redesign {
  position: absolute;
  top: 0;
}

.alumni-body .site-header--home-redesign .navbar,
.alumni-body .site-header--home-redesign .nav-links {
  color: var(--navy);
}

.alumni-body .site-header--home-redesign .menu-toggle span {
  background: var(--navy);
}

.alumni-body .ag-btn--ruby {
  background: var(--ruby);
  box-shadow: 0 16px 34px rgba(170, 26, 45, 0.18);
}

.alumni-body .ag-btn--ruby:hover {
  background: var(--ruby-dark);
}

.alumni-body .ag-btn--outline {
  background: var(--white);
  border-color: var(--navy);
}

.alumni-page {
  overflow: hidden;
}

/* Hero */
.alumni-hero {
  width: min(1320px, calc(100% - 64px));
  min-height: 560px;
  margin: 0 auto;
  padding: 128px 0 48px;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(390px, 0.72fr);
  gap: clamp(38px, 6vw, 82px);
  align-items: center;
  color: var(--navy);
  background: var(--ivory);
}

.alumni-hero__copy {
  max-width: 780px;
}

.alumni-hero h1 {
  max-width: 780px;
  margin: 0 0 28px;
  color: var(--navy);
  font-size: clamp(3rem, 5vw, 5.05rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.058em;
}

.alumni-hero h1 span {
  color: var(--ruby);
}

.alumni-hero p {
  max-width: 660px;
  margin: 0 0 18px;
  color: #324769;
  font-size: clamp(1.05rem, 1.52vw, 1.26rem);
  line-height: 1.56;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.alumni-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.alumni-hero__panel {
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(11, 31, 58, 0.12);
  border-radius: 34px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(11, 31, 58, 0.08);
}

.alumni-hero__panel h2 {
  margin: 0 0 22px;
  color: var(--navy);
  font-size: clamp(1.55rem, 2.15vw, 2.25rem);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.alumni-hero__panel-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.alumni-hero__panel-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(11, 31, 58, 0.12);
}

.alumni-hero__panel-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.alumni-hero__panel-list li:last-child {
  padding-bottom: 0;
}

.alumni-hero__panel-list span {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 13px;
  color: var(--white);
  background: var(--navy);
  font-size: 0.85rem;
  font-weight: 800;
}

.alumni-hero__panel-list strong {
  display: block;
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.15;
  font-weight: 800;
}

.alumni-hero__panel-list small {
  display: block;
  color: #42536E;
  font-size: 0.88rem;
  line-height: 1.35;
  font-weight: 650;
}

/* Browser shell */
.alumni-browser {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 22px 0 72px;
}

.alumni-heading-row {
  width: 100%;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: end;
}

.alumni-heading-row h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.1rem, 3.7vw, 3.75rem);
  line-height: 1.13;
  font-weight: 800;
  letter-spacing: -0.052em;
}

.alumni-heading-row p {
  margin: 0;
  color: #42536E;
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  line-height: 1.56;
  font-weight: 600;
}

/* Filters */
.alumni-filter-panel {
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 1.45fr 1.1fr 1.45fr 1fr;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(11, 31, 58, 0.10);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(11, 31, 58, 0.06);
}

.alumni-filter-field {
  display: grid;
  gap: 8px;
}

.alumni-filter-field span {
  margin-left: 14px;
  color: #42536E;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.alumni-filter-field select {
  width: 100%;
  min-height: 56px;
  padding: 0 20px;
  border: 1.4px solid rgba(11, 31, 58, 0.18);
  border-radius: 17px;
  color: var(--navy);
  background: var(--ivory);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
}

.alumni-filter-field select:focus {
  outline: none;
  border-color: var(--ruby);
  box-shadow: 0 0 0 4px rgba(170, 26, 45, 0.10);
}

.alumni-filter-actions {
  width: 100%;
  margin: 14px 0 24px;
}

.alumni-reset-filters {
  border: 0;
  padding: 0;
  color: var(--ruby);
  background: transparent;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
}

/* Mentor cards */
.alumni-list {
  display: grid;
  gap: 16px;
}

.alumni-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: center;
  padding: clamp(24px, 3.2vw, 36px);
  border: 1px solid rgba(11, 31, 58, 0.10);
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(11, 31, 58, 0.06);
}

.alumni-card__visual {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: 24px;
  color: var(--navy);
  background: var(--blue);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.08em;
}

.alumni-card__content {
  min-width: 0;
}

.alumni-card__top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 12px;
}

.alumni-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.45rem, 2.2vw, 2.25rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.052em;
}

.alumni-card__meta {
  margin: 0 0 14px;
  color: #42536E;
  font-size: clamp(0.9rem, 1.15vw, 1.04rem);
  line-height: 1.35;
  font-weight: 800;
}

.alumni-card__bio {
  max-width: 850px;
  margin: 0 0 18px;
  color: #42536E;
  font-size: clamp(0.96rem, 1.2vw, 1.08rem);
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.alumni-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.alumni-tag {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--white);
  background: var(--ruby);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.alumni-tag--blue {
  color: var(--navy);
  background: var(--blue);
}

.alumni-card__action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  color: var(--ruby);
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.alumni-empty-state {
  padding: 34px;
  border: 1px solid rgba(11, 31, 58, 0.10);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(11, 31, 58, 0.06);
}

.alumni-empty-state h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1.14;
  font-weight: 800;
}

.alumni-empty-state p {
  margin: 0;
  color: #42536E;
  font-weight: 600;
}

/* Consultation */
.alumni-consultation {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto 78px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(30px, 4.4vw, 54px);
  border-radius: 34px;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 18px 44px rgba(11, 31, 58, 0.16);
}

.alumni-consultation h2 {
  max-width: 820px;
  margin: 0 0 18px;
  color: var(--white);
  font-size: clamp(2.1rem, 3.8vw, 3.9rem);
  line-height: 1.13;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.alumni-consultation p {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.55;
  font-weight: 600;
}

.alumni-consultation .ag-btn {
  color: var(--navy);
  background: var(--white);
  border-color: var(--white);
  white-space: nowrap;
}

/* Alumni responsive */
@media (max-width: 1180px) {
  .alumni-hero,
  .alumni-browser,
  .alumni-consultation {
    width: min(100% - 48px, 980px);
  }

  .alumni-hero,
  .alumni-heading-row,
  .alumni-consultation {
    grid-template-columns: 1fr;
  }

  .alumni-hero {
    min-height: auto;
    padding-top: 120px;
  }

  .alumni-hero__panel {
    max-width: 720px;
  }

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

  .alumni-card {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .alumni-consultation .ag-btn {
    width: fit-content;
  }
}

@media (max-width: 760px) {
  .alumni-hero,
  .alumni-browser,
  .alumni-consultation {
    width: calc(100% - 40px);
  }

  .alumni-hero {
    padding-top: 112px;
  }

  .alumni-hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
    line-height: 1.16;
  }

  .alumni-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .alumni-filter-panel,
  .alumni-card {
    grid-template-columns: 1fr;
  }

  .alumni-card {
    border-radius: 26px;
  }

  .alumni-card__visual {
    width: min(210px, 100%);
  }

  .alumni-card__top {
    flex-direction: column;
  }

  .alumni-consultation {
    border-radius: 26px;
    padding: 26px;
  }

  .alumni-consultation .ag-btn {
    width: 100%;
  }
}


/* =========================
   ARAH PRICING PAGE
   Pricing cards for separate Arah pathways.
   Solid colours only. No gradients. No decorative heading bubbles.
   ========================= */

.pricing-body {
  color: var(--navy);
  background: var(--ivory);
}

.pricing-body .site-header--home-redesign {
  position: absolute;
  top: 0;
}

.pricing-body .site-header--home-redesign .navbar,
.pricing-body .site-header--home-redesign .nav-links {
  color: var(--navy);
}

.pricing-body .site-header--home-redesign .menu-toggle span {
  background: var(--navy);
}

.pricing-body .ag-btn--ruby {
  background: var(--ruby);
  box-shadow: 0 16px 34px rgba(170, 26, 45, 0.18);
}

.pricing-body .ag-btn--ruby:hover {
  background: var(--ruby-dark);
}

.pricing-body .ag-btn--outline {
  background: var(--white);
  border-color: var(--navy);
}

.pricing-page {
  overflow: hidden;
}

/* Hero */
.pricing-hero {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 132px 0 34px;
  text-align: center;
}

.pricing-hero h1 {
  max-width: 850px;
  margin: 0 auto 20px;
  color: var(--navy);
  font-size: clamp(3rem, 5vw, 5.05rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.058em;
}

.pricing-hero h1 span {
  color: var(--ruby);
}

.pricing-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: #324769;
  font-size: clamp(1.05rem, 1.52vw, 1.22rem);
  line-height: 1.56;
  font-weight: 600;
  letter-spacing: -0.03em;
}

/* Pricing cards */
.pricing-section {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 28px 0 30px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  min-height: 520px;
  padding: 18px;
  border: 1px solid rgba(11, 31, 58, 0.10);
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(11, 31, 58, 0.08);
}

.pricing-card__top {
  min-height: 176px;
  padding: 24px;
  display: grid;
  align-content: space-between;
  border-radius: 22px;
  background: var(--ivory);
}

.pricing-card--featured .pricing-card__top {
  color: var(--navy);
  background: var(--blue);
}

.pricing-card--dark .pricing-card__top {
  color: var(--white);
  background: var(--navy);
}

.pricing-card__label {
  width: fit-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--white);
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.pricing-card--dark .pricing-card__label {
  color: var(--navy);
  background: var(--white);
}

.pricing-card__price {
  margin: 32px 0 0;
  color: inherit;
  font-size: clamp(2rem, 3.1vw, 3.2rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.pricing-card__price small {
  font-size: 0.92rem;
  letter-spacing: -0.03em;
}

.pricing-card h2 {
  margin: 22px 6px 10px;
  color: var(--navy);
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.pricing-card__subtitle {
  margin: 0 6px 18px;
  color: #42536E;
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 650;
}

.pricing-card__features {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 22px 6px 24px;
  list-style: none;
  border-top: 1px solid rgba(11, 31, 58, 0.10);
}

.pricing-card__features li {
  position: relative;
  padding-left: 28px;
  color: #233650;
  font-size: 0.92rem;
  line-height: 1.38;
  font-weight: 650;
}

.pricing-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ruby);
  font-weight: 800;
}

.pricing-card .ag-btn {
  width: 100%;
  min-height: 58px;
  justify-content: space-between;
  border-radius: 18px;
}

.pricing-card--featured {
  border-color: rgba(170, 26, 45, 0.20);
  box-shadow: 0 22px 52px rgba(170, 26, 45, 0.10);
}

.pricing-card__note {
  margin: 12px 6px 0;
  color: #6A7584;
  font-size: 0.78rem;
  line-height: 1.35;
  font-weight: 650;
}

/* Package strip */
.pricing-package {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 12px 0 30px;
}

.pricing-package-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(11, 31, 58, 0.10);
  border-radius: 32px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(11, 31, 58, 0.06);
}

.pricing-package-card h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.13;
  font-weight: 800;
  letter-spacing: -0.052em;
}

.pricing-package-card p {
  max-width: 840px;
  margin: 0;
  color: #42536E;
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  line-height: 1.55;
  font-weight: 600;
}

.pricing-package-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

/* Notes / how pricing works */
.pricing-explainer {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 0 0 30px;
}

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

.pricing-explainer-card {
  min-height: 170px;
  padding: 26px;
  border: 1px solid rgba(11, 31, 58, 0.10);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(11, 31, 58, 0.06);
}

.pricing-explainer-card span {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 13px;
  color: var(--white);
  background: var(--navy);
  font-weight: 800;
}

.pricing-explainer-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pricing-explainer-card p {
  margin: 0;
  color: #42536E;
  font-size: 0.94rem;
  line-height: 1.48;
  font-weight: 600;
}

/* Consultation */
.pricing-consultation {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto 78px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.42fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(30px, 4.4vw, 54px);
  border-radius: 34px;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 18px 44px rgba(11, 31, 58, 0.16);
}

.pricing-consultation h2 {
  max-width: 860px;
  margin: 0 0 18px;
  color: var(--white);
  font-size: clamp(2.1rem, 3.8vw, 3.9rem);
  line-height: 1.13;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.pricing-consultation p {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.55;
  font-weight: 600;
}

.pricing-consultation-actions {
  display: grid;
  gap: 14px;
}

.pricing-consultation-actions .ag-btn {
  width: 100%;
}

.pricing-consultation-actions .ag-btn--outline {
  color: var(--navy);
  background: var(--white);
  border-color: var(--white);
}

/* Pricing responsive */
@media (max-width: 1180px) {
  .pricing-hero,
  .pricing-section,
  .pricing-package,
  .pricing-explainer,
  .pricing-consultation {
    width: min(100% - 48px, 980px);
  }

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

  .pricing-package-card,
  .pricing-consultation {
    grid-template-columns: 1fr;
  }

  .pricing-package-actions {
    justify-content: flex-start;
  }

  .pricing-consultation-actions {
    max-width: 380px;
  }
}

@media (max-width: 760px) {
  .pricing-hero,
  .pricing-section,
  .pricing-package,
  .pricing-explainer,
  .pricing-consultation {
    width: calc(100% - 40px);
  }

  .pricing-hero {
    padding-top: 112px;
    text-align: left;
  }

  .pricing-hero h1,
  .pricing-hero p {
    margin-left: 0;
    margin-right: 0;
  }

  .pricing-hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
    line-height: 1.16;
  }

  .pricing-grid,
  .pricing-explainer-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    min-height: auto;
  }

  .pricing-package-card,
  .pricing-consultation {
    border-radius: 26px;
    padding: 26px;
  }

  .pricing-package-actions,
  .pricing-consultation-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: none;
  }
}


/* =========================
   ARAH ABOUT + CONTACT PAGES
   Final brand pages.
   Solid colours only. No gradients. No decorative heading bubbles.
   ========================= */

.about-body,
.contact-body {
  color: var(--navy);
  background: var(--ivory);
}

.about-body .site-header--home-redesign,
.contact-body .site-header--home-redesign {
  position: absolute;
  top: 0;
}

.about-body .site-header--home-redesign .navbar,
.about-body .site-header--home-redesign .nav-links,
.contact-body .site-header--home-redesign .navbar,
.contact-body .site-header--home-redesign .nav-links {
  color: var(--navy);
}

.about-body .site-header--home-redesign .menu-toggle span,
.contact-body .site-header--home-redesign .menu-toggle span {
  background: var(--navy);
}

.about-body .ag-btn--ruby,
.contact-body .ag-btn--ruby {
  background: var(--ruby);
  box-shadow: 0 16px 34px rgba(170, 26, 45, 0.18);
}

.about-body .ag-btn--ruby:hover,
.contact-body .ag-btn--ruby:hover {
  background: var(--ruby-dark);
}

.about-body .ag-btn--outline,
.contact-body .ag-btn--outline {
  background: var(--white);
  border-color: var(--navy);
}

.about-page,
.contact-page {
  overflow: hidden;
}

/* Shared intro hero */
.info-hero {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 132px 0 46px;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(390px, 0.72fr);
  gap: clamp(38px, 6vw, 82px);
  align-items: center;
}

.info-hero__copy {
  max-width: 800px;
}

.info-hero h1 {
  margin: 0 0 28px;
  color: var(--navy);
  font-size: clamp(3rem, 5vw, 5.05rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.058em;
}

.info-hero h1 span {
  color: var(--ruby);
}

.info-hero p {
  max-width: 680px;
  margin: 0 0 18px;
  color: #324769;
  font-size: clamp(1.05rem, 1.52vw, 1.24rem);
  line-height: 1.56;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.info-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.info-hero-card {
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(11, 31, 58, 0.12);
  border-radius: 34px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(11, 31, 58, 0.08);
}

.info-hero-card h2 {
  margin: 0 0 22px;
  color: var(--navy);
  font-size: clamp(1.55rem, 2.15vw, 2.25rem);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.info-hero-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-hero-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(11, 31, 58, 0.12);
}

.info-hero-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.info-hero-list li:last-child {
  padding-bottom: 0;
}

.info-hero-list span {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 13px;
  color: var(--white);
  background: var(--navy);
  font-size: 0.85rem;
  font-weight: 800;
}

.info-hero-list strong {
  display: block;
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.15;
  font-weight: 800;
}

.info-hero-list small {
  display: block;
  color: #42536E;
  font-size: 0.88rem;
  line-height: 1.35;
  font-weight: 650;
}

/* About page */
.about-section,
.contact-section {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
}

.about-section-heading,
.contact-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: end;
  margin-bottom: 24px;
}

.about-section-heading h2,
.contact-section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.1rem, 3.7vw, 3.75rem);
  line-height: 1.13;
  font-weight: 800;
  letter-spacing: -0.052em;
}

.about-section-heading p,
.contact-section-heading p {
  margin: 0;
  color: #42536E;
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  line-height: 1.56;
  font-weight: 600;
}

.about-mission {
  padding: 20px 0 30px;
}

.about-mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 16px;
}

.about-mission-card {
  min-height: 280px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(11, 31, 58, 0.10);
  border-radius: 32px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(11, 31, 58, 0.06);
}

.about-mission-card--navy {
  color: var(--white);
  background: var(--navy);
}

.about-mission-card h2 {
  margin: 0 0 18px;
  color: inherit;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.about-mission-card p {
  margin: 0;
  color: inherit;
  font-size: clamp(1rem, 1.36vw, 1.13rem);
  line-height: 1.56;
  font-weight: 600;
  opacity: 0.86;
}

.about-values {
  padding: 16px 0 30px;
}

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

.about-value-card {
  min-height: 235px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 22px;
  padding: 26px;
  border: 1px solid rgba(11, 31, 58, 0.10);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(11, 31, 58, 0.06);
}

.about-value-number {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  color: var(--white);
  background: var(--navy);
  font-weight: 800;
}

.about-value-card:nth-child(2) .about-value-number {
  color: var(--navy);
  background: var(--blue);
}

.about-value-card:nth-child(3) .about-value-number {
  background: var(--ruby);
}

.about-value-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.about-value-card p {
  margin: 0;
  color: #42536E;
  font-size: 0.96rem;
  line-height: 1.5;
  font-weight: 600;
}

.about-pathway {
  padding: 16px 0 34px;
}

.about-pathway-card {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  padding: clamp(30px, 4.4vw, 54px);
  border-radius: 34px;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 18px 44px rgba(11, 31, 58, 0.16);
}

.about-pathway-card h2 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: clamp(2.1rem, 3.8vw, 3.9rem);
  line-height: 1.13;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.about-pathway-card p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.55;
  font-weight: 600;
}

.about-pathway-list {
  display: grid;
  gap: 12px;
}

.about-pathway-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.about-pathway-item span {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 13px;
  color: var(--navy);
  background: var(--blue);
  font-weight: 800;
}

.about-pathway-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
  font-weight: 800;
}

.about-pathway-item small {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

.about-cta {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto 78px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(11, 31, 58, 0.10);
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(11, 31, 58, 0.06);
}

.about-cta h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(1.7rem, 2.7vw, 2.7rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.about-cta p {
  margin: 0;
  max-width: 780px;
  color: #42536E;
  font-size: 1.02rem;
  line-height: 1.5;
  font-weight: 600;
}

/* Contact page */
.contact-layout {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 20px 0 34px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.82fr);
  gap: 18px;
  align-items: start;
}

.contact-form-card,
.contact-info-card {
  border: 1px solid rgba(11, 31, 58, 0.10);
  border-radius: 32px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(11, 31, 58, 0.06);
}

.contact-form-card {
  padding: clamp(28px, 4vw, 44px);
}

.contact-form-card h2,
.contact-info-card h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(1.8rem, 2.9vw, 3rem);
  line-height: 1.13;
  font-weight: 800;
  letter-spacing: -0.052em;
}

.contact-form-card p,
.contact-info-card p {
  margin: 0 0 24px;
  color: #42536E;
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 14px;
}

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

.contact-field {
  display: grid;
  gap: 8px;
}

.contact-field span {
  margin-left: 14px;
  color: #42536E;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 1.4px solid rgba(11, 31, 58, 0.18);
  border-radius: 17px;
  color: var(--navy);
  background: var(--ivory);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-field textarea {
  min-height: 148px;
  padding-top: 16px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--ruby);
  box-shadow: 0 0 0 4px rgba(170, 26, 45, 0.10);
}

.contact-form-note {
  margin: 2px 0 0;
  color: #6A7584;
  font-size: 0.82rem;
  line-height: 1.4;
  font-weight: 650;
}

.contact-form .ag-btn {
  width: fit-content;
  margin-top: 10px;
}

.contact-info-card {
  overflow: hidden;
}

.contact-info-main {
  padding: clamp(28px, 4vw, 40px);
  color: var(--white);
  background: var(--navy);
}

.contact-info-main h2 {
  color: var(--white);
}

.contact-info-main p {
  color: rgba(255, 255, 255, 0.84);
}

.contact-methods {
  display: grid;
  gap: 12px;
}

.contact-method {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-method span {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 13px;
  color: var(--navy);
  background: var(--blue);
  font-weight: 800;
}

.contact-method strong {
  display: block;
  margin-bottom: 3px;
  color: var(--white);
  font-weight: 800;
}

.contact-method small {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  line-height: 1.35;
}

.contact-info-secondary {
  padding: clamp(24px, 3.5vw, 36px);
}

.contact-info-secondary h3 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.contact-next-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-next-steps li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.contact-next-steps span {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 11px;
  color: var(--white);
  background: var(--ruby);
  font-size: 0.78rem;
  font-weight: 800;
}

.contact-next-steps strong {
  display: block;
  margin-bottom: 3px;
  color: var(--navy);
  font-weight: 800;
}

.contact-next-steps small {
  color: #42536E;
  line-height: 1.4;
  font-weight: 600;
}

.contact-faq {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto 78px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 32px;
  background: var(--white);
  border: 1px solid rgba(11, 31, 58, 0.10);
  box-shadow: 0 14px 34px rgba(11, 31, 58, 0.06);
}

.contact-faq h2 {
  margin: 0 0 24px;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.13;
  font-weight: 800;
  letter-spacing: -0.052em;
}

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

.contact-faq-item {
  padding: 22px;
  border-radius: 22px;
  background: var(--ivory);
}

.contact-faq-item h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.14;
  font-weight: 800;
}

.contact-faq-item p {
  margin: 0;
  color: #42536E;
  font-size: 0.94rem;
  line-height: 1.48;
  font-weight: 600;
}

/* About/contact responsive */
@media (max-width: 1180px) {
  .info-hero,
  .about-section,
  .about-cta,
  .contact-section,
  .contact-layout,
  .contact-faq {
    width: min(100% - 48px, 980px);
  }

  .info-hero,
  .about-section-heading,
  .contact-section-heading,
  .about-mission-grid,
  .about-pathway-card,
  .about-cta,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .info-hero {
    padding-top: 120px;
  }

  .info-hero-card {
    max-width: 720px;
  }

  .about-values-grid,
  .contact-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-cta .ag-btn,
  .contact-form .ag-btn {
    width: fit-content;
  }
}

@media (max-width: 760px) {
  .info-hero,
  .about-section,
  .about-cta,
  .contact-section,
  .contact-layout,
  .contact-faq {
    width: calc(100% - 40px);
  }

  .info-hero {
    padding-top: 112px;
  }

  .info-hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
    line-height: 1.16;
  }

  .info-hero__actions,
  .contact-field-grid,
  .about-values-grid,
  .contact-faq-grid {
    grid-template-columns: 1fr;
  }

  .about-mission-card,
  .about-pathway-card,
  .about-cta,
  .contact-form-card,
  .contact-info-card,
  .contact-faq {
    border-radius: 26px;
    padding: 26px;
  }

  .contact-info-card {
    padding: 0;
  }

  .about-value-card {
    min-height: auto;
  }

  .about-cta .ag-btn,
  .contact-form .ag-btn {
    width: 100%;
  }
}


/* =========================
   ARAH FOR TUTORS FINAL CLEAN
   Full replacement styling for for-tutors.html.
   Scoped to .mentor-body so the tutor directory stays untouched.
   Solid colours only in this block. No gradients.
   ========================= */

.mentor-body {
  color: var(--navy);
  background: var(--ivory);
}

.mentor-body .site-header--home-redesign {
  position: absolute;
  top: 0;
}

.mentor-body .site-header--home-redesign .navbar,
.mentor-body .site-header--home-redesign .nav-links {
  color: var(--navy);
}

.mentor-body .site-header--home-redesign .menu-toggle span {
  background: var(--navy);
}

.mentor-body .ag-btn--ruby {
  color: var(--white);
  background: var(--ruby);
  border-color: var(--ruby);
  box-shadow: 0 16px 34px rgba(170, 26, 45, 0.18);
}

.mentor-body .ag-btn--ruby:hover {
  background: var(--ruby-dark);
  border-color: var(--ruby-dark);
}

.mentor-body .ag-btn--outline {
  color: var(--navy);
  background: var(--white);
  border-color: var(--navy);
}

.mentor-body .btn {
  min-height: 56px;
  border-radius: 17px;
  text-transform: none;
  letter-spacing: -0.03em;
}

.mentor-page {
  overflow: hidden;
}

/* Hero */

.mentor-body .mentor-hero {
  width: min(1320px, calc(100% - 64px));
  min-height: 560px !important;
  margin: 0 auto;
  padding: 128px 0 48px;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(390px, 0.72fr);
  gap: clamp(38px, 6vw, 82px);
  align-items: center;
  color: var(--navy);
  background: var(--ivory);
  overflow: visible;
}

.mentor-body .mentor-hero::before,
.mentor-body .mentor-hero::after {
  content: none !important;
}

.mentor-body .mentor-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.mentor-body .mentor-kicker {
  margin: 0 0 16px;
  color: var(--ruby);
  font-size: 0.94rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.mentor-body .mentor-hero h1 {
  max-width: 760px;
  margin: 0 0 28px;
  color: var(--navy);
  font-size: clamp(3rem, 5vw, 5.05rem) !important;
  line-height: 1.14 !important;
  font-weight: 800;
  letter-spacing: -0.058em !important;
  text-transform: none;
}

.mentor-body .mentor-hero h1 span {
  color: var(--ruby);
}

.mentor-body .mentor-hero p {
  max-width: 660px;
  margin: 0 0 18px;
  color: #324769;
  font-size: clamp(1.05rem, 1.52vw, 1.26rem) !important;
  line-height: 1.56 !important;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.mentor-body .mentor-hero__lede {
  color: var(--navy) !important;
  font-weight: 700 !important;
}

.mentor-body .hero-actions {
  justify-content: flex-start;
  gap: 18px;
  margin-top: 34px;
}

.mentor-body .mentor-hero__visual {
  position: relative;
  z-index: 1;
  min-height: auto;
  display: block;
}

.mentor-body .mentor-hero__image-card,
.mentor-body .mentor-floating-card {
  display: none;
}

.mentor-hero__panel {
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(11, 31, 58, 0.12);
  border-radius: 34px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(11, 31, 58, 0.08);
}

.mentor-hero__panel h2 {
  margin: 0 0 22px;
  color: var(--navy);
  font-size: clamp(1.55rem, 2.15vw, 2.25rem);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.mentor-hero__panel-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mentor-hero__panel-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(11, 31, 58, 0.12);
}

.mentor-hero__panel-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.mentor-hero__panel-list li:last-child {
  padding-bottom: 0;
}

.mentor-hero__panel-list span {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 13px;
  color: var(--white);
  background: var(--navy);
  font-size: 0.85rem;
  font-weight: 800;
}

.mentor-hero__panel-list strong {
  display: block;
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.15;
  font-weight: 800;
  text-transform: none;
}

.mentor-hero__panel-list small {
  display: block;
  color: #42536E;
  font-size: 0.88rem;
  line-height: 1.35;
  font-weight: 650;
}

/* Shared */

.mentor-body .mentor-section,
.mentor-body .mentor-faq-section,
.mentor-body .mentor-testimonials-section {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  background: var(--ivory);
}

.mentor-body .mentor-section {
  padding: 24px 0 72px;
}

.mentor-section-heading {
  width: 100%;
  margin: 0 0 28px;
}

.mentor-section-heading--stacked,
.mentor-section-heading--center {
  display: block !important;
  text-align: left;
}

.mentor-section-heading h2,
.mentor-steps-copy h2,
.mentor-apply-card h2,
.mentor-testimonials-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.1rem, 3.7vw, 3.75rem) !important;
  line-height: 1.13 !important;
  font-weight: 800;
  letter-spacing: -0.052em !important;
  text-transform: none;
}

.mentor-section-kicker {
  margin: 0 0 14px;
  color: var(--ruby);
  font-size: 0.96rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.015em;
  text-transform: none;
}

.mentor-body .eyebrow {
  display: none;
}

/* Benefits */

.mentor-benefit-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.mentor-benefit-card {
  min-height: 360px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  padding: 30px;
  border: 1px solid rgba(11, 31, 58, 0.10);
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(11, 31, 58, 0.06);
}

.mentor-icon {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  margin: 0 0 26px;
  border-radius: 18px;
  font-size: 0.94rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mentor-icon--blue {
  color: var(--navy);
  background: var(--blue);
}

.mentor-icon--ruby {
  color: var(--white);
  background: var(--ruby);
}

.mentor-benefit-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2vw, 1.85rem) !important;
  line-height: 1.08 !important;
  font-weight: 800;
  letter-spacing: -0.045em !important;
  text-transform: none;
}

.mentor-benefit-card p {
  margin: 0;
  color: #42536E;
  font-size: 0.98rem;
  line-height: 1.55;
  font-weight: 600;
}

/* Steps */

.mentor-body .mentor-steps-section {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto 72px;
  padding: clamp(30px, 4.4vw, 54px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.42fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  border-radius: 34px;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 18px 44px rgba(11, 31, 58, 0.16);
}

.mentor-steps-copy h2 {
  color: var(--white);
}

.mentor-step-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.mentor-step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.mentor-step span {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 13px;
  color: var(--navy);
  background: var(--blue);
  font-size: 0.86rem;
  font-weight: 800;
}

.mentor-step h3 {
  margin: 0 0 6px;
  color: var(--white);
  font-size: clamp(1.05rem, 1.55vw, 1.3rem) !important;
  line-height: 1.14 !important;
  font-weight: 800;
  letter-spacing: -0.035em !important;
  text-transform: none;
}

.mentor-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
  line-height: 1.5;
  font-weight: 600;
}

.mentor-apply-card {
  padding: clamp(28px, 4vw, 42px);
  border-radius: 28px;
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 18px 44px rgba(11, 31, 58, 0.12);
}

.mentor-apply-card h2 {
  color: var(--navy);
  margin-bottom: 18px;
}

.mentor-apply-card p {
  margin: 0 0 26px;
  color: #42536E;
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 600;
}

.mentor-apply-card .btn-card {
  width: 100%;
  min-height: 56px;
  border-radius: 17px;
  color: var(--white);
  background: var(--ruby);
  font-size: 0.98rem;
  text-transform: none;
  letter-spacing: -0.03em;
}

/* FAQ accordion */

.mentor-faq-section {
  padding: 0 0 72px;
}

.mentor-faq-section .mentor-section-heading {
  margin-bottom: 28px;
}

.faq-list {
  width: 100%;
  display: grid;
  gap: 14px;
  margin: 0;
}

.faq-item {
  border: 1px solid rgba(11, 31, 58, 0.10);
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(11, 31, 58, 0.05);
}

.faq-question {
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 26px;
  border: 0;
  color: var(--navy);
  background: transparent;
  text-align: left;
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: none;
}

.faq-question span:first-child {
  min-width: 0;
}

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 20px;
  height: 2.5px;
  border-radius: 999px;
  background: var(--ruby);
  transition: transform 180ms ease, opacity 180ms ease;
}

.faq-icon::after {
  transform: rotate(90deg);
}

.faq-item.is-open .faq-icon::after {
  opacity: 0;
  transform: rotate(0deg);
}

.faq-answer {
  display: none;
  padding: 0 26px 24px;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-answer p {
  max-width: 900px;
  margin: 0;
  color: #42536E;
  font-size: 0.98rem;
  line-height: 1.65;
  font-weight: 600;
}

/* Testimonials */

.mentor-testimonials-section {
  padding: 0 0 78px;
}

.mentor-testimonials-heading {
  width: 100%;
  margin: 0 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
}

.testimonial-controls {
  display: flex;
  gap: 14px;
}

.testimonial-control {
  border: 0;
  padding: 0;
  color: var(--ruby);
  background: transparent;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: none;
}

.testimonial-carousel {
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 300ms ease;
}

.mentor-testimonial-card {
  flex: 0 0 100%;
  min-height: 300px;
  padding: clamp(30px, 5vw, 50px);
  border: 1px solid rgba(11, 31, 58, 0.10);
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(11, 31, 58, 0.06);
}

.testimonial-stars {
  margin-bottom: 22px;
  color: var(--ruby);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}

.mentor-testimonial-card h3 {
  max-width: 850px;
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(1.55rem, 2.7vw, 2.7rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.052em;
}

.mentor-testimonial-card p {
  max-width: 780px;
  margin: 0 0 22px;
  color: #42536E;
  font-size: 1.02rem;
  line-height: 1.5;
  font-weight: 600;
}

.mentor-testimonial-card strong {
  color: var(--navy);
  text-transform: none;
}

.testimonial-dots {
  margin: 28px auto 0;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.testimonial-dots button {
  width: 70px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  background: rgba(170, 26, 45, 0.24);
}

.testimonial-dots button.is-active {
  background: var(--ruby);
}

/* Responsive */

@media (max-width: 1180px) {
  .mentor-body .mentor-hero,
  .mentor-body .mentor-section,
  .mentor-body .mentor-steps-section,
  .mentor-body .mentor-faq-section,
  .mentor-body .mentor-testimonials-section {
    width: min(100% - 48px, 980px);
  }

  .mentor-body .mentor-hero,
  .mentor-body .mentor-steps-section {
    grid-template-columns: 1fr;
  }

  .mentor-body .mentor-hero {
    min-height: auto !important;
    padding-top: 120px;
  }

  .mentor-hero__panel {
    max-width: 720px;
  }

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

  .mentor-apply-card {
    max-width: 520px;
  }
}

@media (max-width: 760px) {
  .mentor-body .mentor-hero,
  .mentor-body .mentor-section,
  .mentor-body .mentor-steps-section,
  .mentor-body .mentor-faq-section,
  .mentor-body .mentor-testimonials-section {
    width: calc(100% - 40px);
  }

  .mentor-body .mentor-hero {
    padding-top: 112px;
  }

  .mentor-body .mentor-hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.25rem) !important;
    line-height: 1.16 !important;
  }

  .mentor-body .hero-actions,
  .mentor-benefit-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mentor-benefit-card {
    min-height: auto;
  }

  .mentor-body .mentor-steps-section,
  .mentor-apply-card,
  .mentor-testimonial-card {
    border-radius: 26px;
  }

  .mentor-step {
    grid-template-columns: 1fr;
  }

  .mentor-testimonials-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .testimonial-dots button {
    width: 54px;
  }
}

/* =========================
   FOR TUTORS FAQ TITLE CENTERING FIX
   Only affects the FAQ heading on for-tutors.html.
   ========================= */

.mentor-body .mentor-faq-section .mentor-section-heading--center {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: min(980px, 100%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.mentor-body .mentor-faq-section .mentor-section-heading--center .mentor-section-kicker,
.mentor-body .mentor-faq-section .mentor-section-heading--center h2 {
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

/* =========================
   ARAH COMBINED TUTORS + MENTORS PAGE
   Small bridge styles only. Existing Tutors and Alumni styles stay intact.
   Solid colours only. No gradients in this block.
   ========================= */

.tutors-body.alumni-body .tutors-hero__panel-list li:nth-child(4) {
  border-top: 1px solid rgba(11, 31, 58, 0.12);
}

.tutors-body.alumni-body .alumni-browser {
  padding-top: 6px;
}

.tutors-body.alumni-body .alumni-heading-row {
  margin-top: 0;
}

.tutors-body.alumni-body .combined-consultation {
  margin-top: 4px;
}

.tutors-body.alumni-body .nav-links a[href="#browse-tutors"].active::after {
  bottom: -14px;
}

@media (max-width: 1180px) {
  .tutors-body.alumni-body .alumni-browser {
    padding-top: 0;
  }
}

/* =========================
   ARAH UNIVERSITIES PAGE
   Bespoke university preparation, guidance and arrival support page.
   Scoped to .universities-body so existing pages stay untouched.
   ========================= */

.universities-body {
  color: var(--navy);
  background: var(--ivory);
}

.universities-body .site-header--home-redesign {
  position: absolute;
  top: 0;
}

.universities-body .site-header--home-redesign .navbar,
.universities-body .site-header--home-redesign .nav-links {
  color: var(--navy);
}

.universities-body .site-header--home-redesign .menu-toggle span {
  background: var(--navy);
}

.universities-page {
  overflow: hidden;
}

/* Hero */

.universities-hero {
  width: min(1320px, calc(100% - 64px));
  min-height: 620px;
  margin: 0 auto;
  padding: 128px 0 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.72fr);
  gap: clamp(38px, 6vw, 82px);
  align-items: center;
}

.universities-hero__copy {
  max-width: 790px;
}

.universities-hero h1 {
  max-width: 820px;
  margin: 0 0 28px;
  color: var(--navy);
  font-size: clamp(2.85rem, 4.8vw, 5rem);
  line-height: 1.13;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.universities-hero h1 span {
  color: var(--ruby);
}

.universities-hero p {
  max-width: 690px;
  margin: 0 0 18px;
  color: #324769;
  font-size: clamp(1.04rem, 1.48vw, 1.22rem);
  line-height: 1.58;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.universities-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.universities-hero-card {
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(11, 31, 58, 0.12);
  border-radius: 34px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(11, 31, 58, 0.08);
}

.universities-hero-card h2 {
  margin: 0 0 22px;
  color: var(--navy);
  font-size: clamp(1.55rem, 2.15vw, 2.25rem);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.universities-hero-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.universities-hero-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(11, 31, 58, 0.12);
}

.universities-hero-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.universities-hero-list li:last-child {
  padding-bottom: 0;
}

.universities-hero-list span {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 13px;
  color: var(--white);
  background: var(--navy);
  font-size: 0.85rem;
  font-weight: 800;
}

.universities-hero-list strong {
  display: block;
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.15;
  font-weight: 800;
}

.universities-hero-list small {
  display: block;
  color: #42536E;
  font-size: 0.88rem;
  line-height: 1.35;
  font-weight: 650;
}

/* Main sections */

.universities-section {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 22px 0 76px;
}

.universities-heading-row {
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: end;
}

.universities-heading-row h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.1rem, 3.7vw, 3.75rem);
  line-height: 1.13;
  font-weight: 800;
  letter-spacing: -0.052em;
}

.universities-heading-row p {
  margin: 0;
  color: #42536E;
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  line-height: 1.58;
  font-weight: 600;
}

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

.universities-service-card {
  min-height: 335px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  padding: 28px;
  border: 1px solid rgba(11, 31, 58, 0.10);
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(11, 31, 58, 0.06);
}

.universities-service-card--navy {
  color: var(--white);
  background: var(--navy);
}

.universities-service-card--blue {
  background: var(--blue);
}

.universities-service-card--ruby {
  color: var(--white);
  background: var(--ruby);
}

.universities-service-number {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  margin: 0 0 24px;
  border-radius: 18px;
  color: var(--white);
  background: var(--ruby);
  font-size: 0.92rem;
  font-weight: 800;
}

.universities-service-card--navy .universities-service-number,
.universities-service-card--ruby .universities-service-number {
  color: var(--navy);
  background: var(--blue);
}

.universities-service-card--blue .universities-service-number {
  color: var(--white);
  background: var(--navy);
}

.universities-service-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(1.28rem, 1.85vw, 1.72rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.universities-service-card p {
  margin: 0;
  color: #42536E;
  font-size: 0.98rem;
  line-height: 1.55;
  font-weight: 600;
}

.universities-service-card--navy h3,
.universities-service-card--navy p,
.universities-service-card--ruby h3,
.universities-service-card--ruby p {
  color: var(--white);
}

.universities-service-card--navy p,
.universities-service-card--ruby p {
  opacity: 0.84;
}

.universities-service-card--blue h3,
.universities-service-card--blue p {
  color: var(--navy);
}

/* Bespoke note */

.universities-bespoke {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto 76px;
  padding: clamp(30px, 4.4vw, 54px);
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  border-radius: 34px;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 18px 44px rgba(11, 31, 58, 0.16);
}

.universities-bespoke h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 3.5vw, 3.55rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.052em;
}

.universities-bespoke p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.62;
  font-weight: 600;
}

.universities-bespoke-list {
  display: grid;
  gap: 12px;
}

.universities-bespoke-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.universities-bespoke-item span {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 13px;
  color: var(--navy);
  background: var(--blue);
  font-size: 0.84rem;
  font-weight: 800;
}

.universities-bespoke-item strong {
  display: block;
  margin: 0 0 5px;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.15;
  font-weight: 800;
}

.universities-bespoke-item small {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  line-height: 1.42;
  font-weight: 600;
}

/* Destination strip */

.universities-destination-strip {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto 76px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(11, 31, 58, 0.10);
  border-radius: 34px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(11, 31, 58, 0.06);
}

.universities-destination-strip h2 {
  margin: 0 0 22px;
  color: var(--navy);
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.universities-destination-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.universities-destination-grid span {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  color: var(--navy);
  background: var(--ivory);
  font-size: 0.92rem;
  line-height: 1;
  font-weight: 800;
}

/* CTA */

.universities-cta {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto 82px;
  padding: clamp(30px, 4.4vw, 54px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  border-radius: 34px;
  background: var(--blue);
  box-shadow: 0 14px 36px rgba(11, 31, 58, 0.08);
}

.universities-cta h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(2rem, 3.4vw, 3.45rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.052em;
}

.universities-cta p {
  max-width: 820px;
  margin: 0;
  color: #203657;
  font-size: 1.04rem;
  line-height: 1.58;
  font-weight: 650;
}

.universities-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

/* Responsive */

@media (max-width: 1180px) {
  .universities-hero,
  .universities-section,
  .universities-bespoke,
  .universities-destination-strip,
  .universities-cta {
    width: min(100% - 48px, 980px);
  }

  .universities-hero,
  .universities-heading-row,
  .universities-bespoke,
  .universities-cta {
    grid-template-columns: 1fr;
  }

  .universities-hero {
    min-height: auto;
    padding-top: 120px;
  }

  .universities-hero-card {
    max-width: 720px;
  }

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

  .universities-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .universities-hero,
  .universities-section,
  .universities-bespoke,
  .universities-destination-strip,
  .universities-cta {
    width: calc(100% - 40px);
  }

  .universities-hero {
    padding-top: 112px;
  }

  .universities-hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
    line-height: 1.16;
  }

  .universities-hero__actions,
  .universities-service-grid,
  .universities-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .universities-service-card {
    min-height: auto;
  }

  .universities-bespoke,
  .universities-destination-strip,
  .universities-cta,
  .universities-hero-card {
    border-radius: 26px;
  }

  .universities-bespoke-item {
    grid-template-columns: 1fr;
  }
}

/* =========================
   ARAH HOMEPAGE PNG ICON + UNIVERSITY LOGO SQUARE FIX
   Full homepage override for larger PNG icons and reliable school logo squares.
   ========================= */

/* Make uploaded PNG icons visible and larger across the homepage. */
.home-redesign-body .ag-icon-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none !important;
  opacity: 1 !important;
}

/* Hero floating card icon */
.home-redesign-body .ag-mini-icon {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 16px;
}

.home-redesign-body .ag-mini-icon .ag-icon-img {
  width: 52px;
  height: 52px;
}

/* Four What Arah Offers icons */
.home-redesign-body .ag-offer-icon {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  overflow: visible;
}

.home-redesign-body .ag-offer-icon .ag-icon-img {
  width: 62px;
  height: 62px;
}

/* Keep offer cards aligned after making icons bigger */
.home-redesign-body .ag-offer-card {
  grid-template-columns: 84px 1fr;
  min-height: 156px;
}

/* Arah Pathway icons */
.home-redesign-body .ag-step-icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
}

.home-redesign-body .ag-step-icon .ag-icon-img {
  width: 44px;
  height: 44px;
}

/* Keep journey row spacing balanced with larger icons */
.home-redesign-body .ag-journey-item {
  grid-template-columns:
    clamp(44px, 4.5vw, 58px)
    clamp(48px, 4.8vw, 58px)
    minmax(0, 1.12fr)
    minmax(0, 0.88fr);
}

/* Consultation icon */
.home-redesign-body .ag-consult-icon {
  width: 74px;
  height: 74px;
  border-radius: 24px;
  overflow: visible;
}

.home-redesign-body .ag-consult-icon .ag-icon-img {
  width: 60px;
  height: 60px;
}

/* Alumni avatar mini icon */
.home-redesign-body .ag-avatar-row em .ag-icon-img {
  width: 24px;
  height: 24px;
}

/* University logo square strip */
.home-redesign-body .ag-university-strip--logo-squares {
  min-height: 222px;
  padding-top: clamp(34px, 4vw, 48px);
  padding-bottom: clamp(34px, 4vw, 48px);
}

.home-redesign-body .ag-university-strip--logo-squares .ag-university-marquee {
  min-height: 116px;
  display: flex;
  align-items: center;
}

.home-redesign-body .ag-university-strip--logo-squares .ag-university-track {
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
}

.home-redesign-body .ag-university-logo--square {
  position: relative;
  flex: 0 0 auto;
  width: clamp(176px, 15vw, 236px);
  min-width: clamp(176px, 15vw, 236px);
  height: 108px;
  min-height: 108px;
  display: inline-grid;
  place-items: center;
  padding: 18px 22px;
  border-radius: 24px;
  color: var(--navy);
  background: var(--ivory);
  border: 1px solid rgba(169, 207, 231, 0.54);
  box-shadow: 0 10px 24px rgba(11, 31, 58, 0.12);
  overflow: hidden;
  font-family: var(--font-main);
}

.home-redesign-body .ag-university-logo--square .ag-logo-img {
  position: relative;
  z-index: 2;
  display: block;
  width: auto;
  max-width: 174px;
  max-height: 64px;
  object-fit: contain;
  filter: none !important;
  opacity: 0;
  transition: opacity 160ms ease;
}

.home-redesign-body .ag-university-logo--square.is-loaded .ag-logo-img {
  opacity: 1;
}

.home-redesign-body .ag-logo-fallback {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  color: rgba(11, 31, 58, 0.82);
  font-family: var(--font-main);
  font-size: 0.88rem;
  line-height: 1.18;
  font-weight: 800;
  text-align: center;
  text-transform: none;
  letter-spacing: -0.025em;
  opacity: 1;
  transition: opacity 160ms ease;
}

.home-redesign-body .ag-university-logo--square.is-loaded .ag-logo-fallback {
  opacity: 0;
}

.home-redesign-body .ag-university-logo--square.is-error {
  border-color: rgba(170, 26, 45, 0.18);
}

.home-redesign-body .ag-university-logo--square.is-error .ag-logo-fallback {
  opacity: 1;
}

/* Add this class to an individual square if a white logo needs a dark tile. */
.home-redesign-body .ag-university-logo--dark-tile {
  background: var(--navy-soft);
  border-color: rgba(255, 255, 255, 0.18);
}

.home-redesign-body .ag-university-logo--dark-tile .ag-logo-fallback {
  color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 760px) {
  .home-redesign-body .ag-mini-icon {
    width: 52px;
    height: 52px;
  }

  .home-redesign-body .ag-mini-icon .ag-icon-img {
    width: 46px;
    height: 46px;
  }

  .home-redesign-body .ag-offer-card {
    grid-template-columns: 76px 1fr;
  }

  .home-redesign-body .ag-offer-icon {
    width: 68px;
    height: 68px;
  }

  .home-redesign-body .ag-offer-icon .ag-icon-img {
    width: 54px;
    height: 54px;
  }

  .home-redesign-body .ag-step-icon {
    width: 42px;
    height: 42px;
  }

  .home-redesign-body .ag-step-icon .ag-icon-img {
    width: 38px;
    height: 38px;
  }

  .home-redesign-body .ag-journey-item {
    grid-template-columns: 42px 46px minmax(0, 1fr);
  }

  .home-redesign-body .ag-consult-icon {
    width: 66px;
    height: 66px;
  }

  .home-redesign-body .ag-consult-icon .ag-icon-img {
    width: 52px;
    height: 52px;
  }

  .home-redesign-body .ag-university-strip--logo-squares {
    min-height: 196px;
  }

  .home-redesign-body .ag-university-logo--square {
    width: 164px;
    min-width: 164px;
    height: 92px;
    min-height: 92px;
    padding: 15px 18px;
    border-radius: 20px;
  }

  .home-redesign-body .ag-university-logo--square .ag-logo-img {
    max-width: 132px;
    max-height: 50px;
  }

  .home-redesign-body .ag-logo-fallback {
    font-size: 0.78rem;
  }
}

/* =========================
   ARAH HOMEPAGE TRANSPARENT UNIVERSITY LOGOS
   Removes the white/ivory square behind each university logo.
   Keeps the logo sizing and fallback text.
   ========================= */

.home-redesign-body .ag-university-logo--square,
.home-redesign-body .ag-university-logo--image {
  background: transparent !important;
  border-color: transparent !important;
  border-width: 0 !important;
  box-shadow: none !important;
}

.home-redesign-body .ag-university-logo--square.is-error,
.home-redesign-body .ag-university-logo--image.is-error {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* Keep each logo in a consistent moving slot without drawing a visible tile. */
.home-redesign-body .ag-university-logo--square {
  width: clamp(176px, 15vw, 236px);
  min-width: clamp(176px, 15vw, 236px);
  height: 108px;
  min-height: 108px;
  padding: 0 18px;
}

/* The logo itself stays visible and is not forced white. */
.home-redesign-body .ag-university-logo--square .ag-logo-img {
  max-width: 190px;
  max-height: 74px;
  filter: none !important;
}

/* If a logo file is missing, show readable fallback text directly on the navy strip. */
.home-redesign-body .ag-logo-fallback {
  color: rgba(255, 255, 255, 0.88) !important;
  text-shadow: none;
}

/* Dark-tile class should no longer create a tile on this homepage strip. */
.home-redesign-body .ag-university-logo--dark-tile {
  background: transparent !important;
  border-color: transparent !important;
}

@media (max-width: 760px) {
  .home-redesign-body .ag-university-logo--square {
    width: 164px;
    min-width: 164px;
    height: 92px;
    min-height: 92px;
    padding: 0 14px;
  }

  .home-redesign-body .ag-university-logo--square .ag-logo-img {
    max-width: 142px;
    max-height: 58px;
  }
}

/* =========================
   ARAH SIMPLIFIED NAVBAR
   Supports the new flat navbar:
   home · programs · tutors/mentors · uni prep · for tutors · about · contact
   ========================= */

.site-header--home-redesign .nav-links {
  gap: clamp(16px, 1.65vw, 26px);
}

.site-header--home-redesign .nav-links a {
  white-space: nowrap;
}

@media (max-width: 980px) {
  .site-header--home-redesign .nav-links {
    gap: 18px;
  }
}

/* =========================
   ARAH NAVBAR ACTIVE UNDERLINE
   Moves the active nav line closer to the text so it reads as an underline.
   ========================= */

.nav-links a.active::after,
.site-header--home-redesign .nav-links a.active::after {
  bottom: -4px !important;
  height: 2px !important;
  border-radius: 999px;
}

@media (max-width: 980px) {
  .nav-links a.active::after,
  .site-header--home-redesign .nav-links a.active::after {
    bottom: -5px !important;
  }
}

/* =========================
   ARAH NAVBAR SIZE + POSITION POLISH
   Slightly larger, higher navbar with cleaner active underline
   and EN | ID language pill support.
   ========================= */

.site-header--home-redesign {
  top: -10px !important;
}

.site-header--home-redesign .navbar {
  min-height: 92px !important;
}

.site-header--home-redesign .site-logo {
  width: clamp(118px, 11.8vw, 166px) !important;
}

.site-header--home-redesign .logo-link {
  transform: translate(-12px, -4px) !important;
}

.site-header--home-redesign .nav-links {
  gap: clamp(18px, 1.85vw, 30px) !important;
  font-size: clamp(0.9rem, 0.88vw, 0.98rem) !important;
  font-weight: 800 !important;
  transform: translateY(-5px) !important;
}

.site-header--home-redesign .nav-links a {
  white-space: nowrap;
}

.nav-links a.active::after,
.site-header--home-redesign .nav-links a.active::after {
  bottom: -4px !important;
  height: 2px !important;
  border-radius: 999px;
}

/* EN | ID language switch */
.nav-language-switch {
  min-height: 36px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 15px;
  border: 1px solid rgba(11, 31, 58, 0.22);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-language-switch span {
  color: rgba(11, 31, 58, 0.42);
}

.nav-language-switch::after {
  display: none !important;
}

.nav-language-switch:hover {
  background: var(--blue);
}

/* Page-specific headers that share this navbar */
.programs-body .site-header--home-redesign,
.tutors-body .site-header--home-redesign,
.alumni-body .site-header--home-redesign,
.universities-body .site-header--home-redesign,
.pricing-body .site-header--home-redesign,
.about-body .site-header--home-redesign,
.contact-body .site-header--home-redesign,
.mentor-body .site-header--home-redesign {
  top: -10px !important;
}

@media (max-width: 1180px) {
  .site-header--home-redesign .nav-links {
    gap: clamp(14px, 1.55vw, 22px) !important;
    font-size: 0.86rem !important;
  }

  .nav-language-switch {
    min-height: 34px;
    padding: 0 13px;
    font-size: 0.78rem;
  }
}

@media (max-width: 980px) {
  .site-header--home-redesign {
    top: -6px !important;
  }

  .site-header--home-redesign .navbar {
    min-height: 86px !important;
  }

  .site-header--home-redesign .logo-link {
    transform: translate(-10px, -3px) !important;
  }

  .site-header--home-redesign .nav-links {
    top: 74px !important;
    gap: 18px !important;
    font-size: 0.95rem !important;
    transform: none !important;
  }

  .nav-language-switch {
    min-height: 38px;
  }
}

@media (max-width: 620px) {
  .site-header--home-redesign {
    top: -4px !important;
  }

  .site-header--home-redesign .navbar {
    min-height: 78px !important;
  }

  .site-header--home-redesign .site-logo {
    width: 112px !important;
  }

  .site-header--home-redesign .logo-link {
    transform: translate(-6px, -2px) !important;
  }

  .site-header--home-redesign .nav-links {
    top: 68px !important;
  }
}

/* =========================
   ARAH UNIVERSITIES HERO IMAGE + TWO SERVICE CARDS
   Keeps the Universities page style, swaps the hero card for an image,
   and changes the support section from four cards to two navy cards.
   ========================= */

/* Hero image replacement */
.universities-body .universities-hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.78fr);
}

.universities-hero-visual {
  position: relative;
  z-index: 1;
  min-height: 510px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.universities-hero-image-card {
  position: relative;
  width: min(430px, 86vw);
  aspect-ratio: 0.86 / 1;
  overflow: hidden;
  border: 12px solid rgba(255, 255, 255, 0.72);
  border-radius: 56% 44% 52% 48% / 42% 48% 52% 58%;
  background: var(--ivory-deep);
  box-shadow: 0 28px 70px rgba(11, 31, 58, 0.18);
  transform: rotate(2deg);
}

.universities-hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.universities-hero-orb {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.universities-hero-orb--blue {
  width: 168px;
  height: 168px;
  top: 24px;
  right: 0;
  background: rgba(169, 207, 231, 0.38);
}

.universities-hero-orb--ruby {
  width: 92px;
  height: 92px;
  left: 8px;
  bottom: 62px;
  background: rgba(170, 26, 45, 0.22);
}

/* Two-card support section */
.universities-service-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.universities-service-grid--two .universities-service-card {
  min-height: 330px;
  padding: clamp(30px, 4vw, 44px);
}

.universities-service-grid--two .universities-service-card--navy {
  color: var(--white);
  background: var(--navy);
}

.universities-service-grid--two .universities-service-card--navy h3,
.universities-service-grid--two .universities-service-card--navy p {
  color: var(--white);
}

.universities-service-grid--two .universities-service-card--navy p {
  opacity: 0.86;
}

.universities-service-grid--two .universities-service-number {
  color: var(--navy);
  background: var(--white);
}

@media (max-width: 1180px) {
  .universities-body .universities-hero {
    grid-template-columns: 1fr;
  }

  .universities-hero-visual {
    justify-content: flex-start;
    min-height: 430px;
  }

  .universities-hero-image-card {
    width: min(350px, 78vw);
  }

  .universities-hero-orb--blue {
    right: auto;
    left: 260px;
  }
}

@media (max-width: 860px) {
  .universities-service-grid--two {
    grid-template-columns: 1fr;
  }

  .universities-service-grid--two .universities-service-card {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .universities-hero-visual {
    min-height: 360px;
  }

  .universities-hero-image-card {
    width: min(310px, 82vw);
  }

  .universities-hero-orb--blue {
    width: 126px;
    height: 126px;
    left: 210px;
    top: 8px;
  }

  .universities-hero-orb--ruby {
    width: 72px;
    height: 72px;
    left: 4px;
    bottom: 34px;
  }
}

@media (max-width: 520px) {
  .universities-hero-visual {
    display: none;
  }
}

/* =========================
   ARAH NORMAL HERO IMAGES + LIGHT UNIVERSITY CARDS
   Only changes:
   - For Tutors hero image cutout
   - Universities hero image cutout
   - Universities two-card section styling
   ========================= */

/* For Tutors: make the hero image a cleaner rounded rectangle. */
.mentor-body .mentor-hero__visual {
  min-height: 470px;
  justify-content: center;
}

.mentor-body .mentor-hero__image-wrap,
.mentor-body .mentor-hero__image-card {
  width: min(440px, 86vw) !important;
  aspect-ratio: 0.88 / 1 !important;
  overflow: hidden !important;
  border: 10px solid rgba(246, 241, 232, 0.16) !important;
  border-radius: 42px !important;
  background: var(--ivory) !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28) !important;
  transform: none !important;
}

.mentor-body .mentor-hero__image-wrap img,
.mentor-body .mentor-hero__image-card img,
.mentor-body .mentor-hero__image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Universities: make the hero image a cleaner rounded rectangle. */
.universities-body .universities-hero-image-card {
  width: min(440px, 86vw) !important;
  aspect-ratio: 0.88 / 1 !important;
  overflow: hidden !important;
  border: 10px solid rgba(255, 255, 255, 0.82) !important;
  border-radius: 42px !important;
  background: var(--ivory-deep) !important;
  box-shadow: 0 24px 58px rgba(11, 31, 58, 0.16) !important;
  transform: none !important;
}

.universities-body .universities-hero-image-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Universities: lighter two-card treatment. */
.universities-body .universities-service-grid--light {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.universities-body .universities-service-card--light {
  position: relative;
  min-height: 310px;
  padding: clamp(30px, 4vw, 46px);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(11, 31, 58, 0.10);
  border-radius: 34px;
  box-shadow: 0 14px 36px rgba(11, 31, 58, 0.07);
}

.universities-body .universities-service-card--light h3 {
  margin-top: 28px;
  color: var(--navy);
}

.universities-body .universities-service-card--light p {
  max-width: 620px;
  color: #42536E;
  opacity: 1;
}

.universities-body .universities-service-icon {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
  color: var(--navy);
  background: var(--blue);
  font-size: 0.92rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.universities-body .universities-service-icon--navy {
  color: var(--white);
  background: var(--navy);
}

/* Stop older navy card styles from overriding the new lighter cards. */
.universities-body .universities-service-grid--light .universities-service-card--navy,
.universities-body .universities-service-grid--light .universities-service-card--ruby,
.universities-body .universities-service-grid--light .universities-service-card--blue {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.88);
}

/* Responsive polish */
@media (max-width: 1180px) {
  .mentor-body .mentor-hero__visual,
  .universities-body .universities-hero-visual {
    justify-content: flex-start;
  }

  .mentor-body .mentor-hero__image-wrap,
  .mentor-body .mentor-hero__image-card,
  .universities-body .universities-hero-image-card {
    width: min(380px, 78vw) !important;
  }
}

@media (max-width: 860px) {
  .universities-body .universities-service-grid--light {
    grid-template-columns: 1fr;
  }

  .universities-body .universities-service-card--light {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .mentor-body .mentor-hero__visual,
  .universities-body .universities-hero-visual {
    min-height: 360px;
  }

  .mentor-body .mentor-hero__image-wrap,
  .mentor-body .mentor-hero__image-card,
  .universities-body .universities-hero-image-card {
    width: min(310px, 82vw) !important;
    border-radius: 32px !important;
  }
}

/* =========================
   ARAH CONTACT ENQUIRY BUTTON + FAQ LAYOUT
   Replaces the contact form with two cards and makes Contact FAQs
   match the accordion style used elsewhere.
   ========================= */

.contact-action-layout {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto 42px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 18px;
  align-items: stretch;
}

.contact-action-card {
  min-height: 360px;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid rgba(11, 31, 58, 0.10);
  border-radius: 34px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(11, 31, 58, 0.07);
}

.contact-action-card h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(1.85rem, 3vw, 3.1rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.contact-action-card p {
  max-width: 620px;
  margin: 0 0 28px;
  color: #42536E;
  font-size: clamp(1rem, 1.32vw, 1.12rem);
  line-height: 1.54;
  font-weight: 600;
}

.contact-action-card small {
  display: block;
  max-width: 480px;
  margin-top: 18px;
  color: #6A7584;
  font-size: 0.86rem;
  line-height: 1.42;
  font-weight: 650;
}

.contact-action-card--primary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-action-icon {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 18px;
  color: var(--white);
  background: var(--navy);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;
}

.contact-action-button {
  margin-top: auto;
}

.contact-action-card--steps {
  background: rgba(255, 255, 255, 0.88);
}

.contact-action-card--steps .contact-next-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.contact-action-card--steps .contact-next-steps li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(11, 31, 58, 0.10);
  border-radius: 22px;
  background: var(--ivory);
}

.contact-action-card--steps .contact-next-steps span {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  color: var(--navy);
  background: var(--blue);
  font-weight: 800;
}

.contact-action-card--steps .contact-next-steps strong {
  display: block;
  margin: 0 0 5px;
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.18;
  font-weight: 800;
}

.contact-action-card--steps .contact-next-steps small {
  margin: 0;
  color: #42536E;
  font-size: 0.88rem;
  line-height: 1.38;
  font-weight: 650;
}

/* New Contact FAQ accordion, visually aligned with the site FAQ style. */
.contact-faq-section {
  padding: 54px min(64px, 6vw) 92px;
  background: var(--ivory);
}

.contact-faq-section .mentor-section-heading {
  margin-bottom: 34px;
}

.contact-faq-section .mentor-section-kicker {
  margin: 0 0 10px;
  color: var(--ruby);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-faq-section .faq-list {
  width: min(980px, 100%);
}

.contact-faq-section .faq-item {
  background: rgba(255, 255, 255, 0.74);
}

.contact-faq-section .faq-question {
  text-transform: none;
}

.contact-faq-section .faq-answer p {
  color: #42536E;
}

/* Hide any old contact form/card FAQ styles if cached. */
.contact-form-card,
.contact-faq {
  display: none !important;
}

@media (max-width: 980px) {
  .contact-action-layout {
    width: min(100% - 48px, 820px);
    grid-template-columns: 1fr;
  }

  .contact-action-card {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .contact-action-layout {
    width: calc(100% - 40px);
  }

  .contact-action-card {
    padding: 26px;
    border-radius: 26px;
  }

  .contact-action-card--steps .contact-next-steps li {
    grid-template-columns: 1fr;
  }

  .contact-faq-section {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* =========================
   ARAH CONTACT FAQ CENTERING FIX
   Centres the Contact FAQ heading and accordion block.
   ========================= */

.contact-faq-section {
  text-align: center;
}

.contact-faq-section .mentor-section-heading,
.contact-faq-section .mentor-section-heading--center {
  width: min(980px, 100%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.contact-faq-section .mentor-section-kicker,
.contact-faq-section .mentor-section-heading h2 {
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.contact-faq-section .faq-list {
  width: min(980px, 100%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: left;
}

.contact-faq-section .faq-question {
  text-align: left;
}

.contact-faq-section .faq-answer {
  text-align: left;
}

/* =========================
   HOME UNIVERSITY LOGO SIZE FIX
   Makes the logos larger inside the existing logo slots.
   ========================= */

.home-redesign-body .ag-university-logo--square {
  padding: 0 6px !important;
}

.home-redesign-body .ag-university-logo--square .ag-logo-img {
  width: 100% !important;
  height: 100% !important;
  max-width: 228px !important;
  max-height: 92px !important;
  object-fit: contain !important;
  transform: scale(1.22);
  transform-origin: center;
}

@media (max-width: 760px) {
  .home-redesign-body .ag-university-logo--square {
    padding: 0 4px !important;
  }

  .home-redesign-body .ag-university-logo--square .ag-logo-img {
    max-width: 160px !important;
    max-height: 72px !important;
    transform: scale(1.16);
  }
}