:root {
  --bg: #f7fcff;
  --bg-soft: #edf8ff;
  --surface: #ffffff;
  --surface-2: #f2faff;
  --surface-3: #e6f5ff;
  --text: #102a43;
  --heading: #062b5b;
  --muted: #5e7690;
  --blue: #48aee8;
  --blue-2: #238fce;
  --blue-dark: #075a97;
  --yellow: #f5c842;
  --yellow-2: #e6ae18;
  --navy: #062b5b;
  --green: #36b37e;
  --danger: #d84c4c;
  --line: rgba(35, 143, 206, 0.16);
  --line-strong: rgba(35, 143, 206, 0.3);
  --yellow-line: rgba(230, 174, 24, 0.34);
  --shadow-sm: 0 10px 28px rgba(25, 105, 154, 0.09);
  --shadow: 0 24px 65px rgba(25, 105, 154, 0.13);
  --shadow-lg: 0 38px 90px rgba(25, 105, 154, 0.18);
  --radius: 24px;
  --radius-sm: 15px;
  --container: 1180px;
  --header-height: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity .5s ease;
}
body.page-ready { opacity: 1; }
body.menu-open { overflow: hidden; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background: #f7fcff;
}

::selection { background: rgba(245, 200, 66, .48); color: var(--navy); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(245, 200, 66, .75);
  outline-offset: 3px;
}

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }

.ambient-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  opacity: .72;
}
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--yellow);
  box-shadow: 0 0 18px rgba(245, 200, 66, .6);
}
.pointer-glow {
  position: fixed;
  z-index: 250;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(72, 174, 232, .2);
  background: rgba(72, 174, 232, .055);
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .25s ease;
}
.pointer-glow.visible { opacity: 1; }

.topbar {
  min-height: 39px;
  display: flex;
  align-items: center;
  color: #42627e;
  background: #e7f6ff;
  border-bottom: 1px solid rgba(35, 143, 206, .13);
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.topbar-status { display: inline-flex; align-items: center; gap: 9px; }
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(54, 179, 126, .45);
  animation: statusPulse 2.3s ease-out infinite;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(18px) saturate(135%);
  border-bottom: 1px solid rgba(35, 143, 206, .12);
  transition: box-shadow .35s ease, background .35s ease, transform .35s ease;
}
.site-header.scrolled { box-shadow: 0 12px 38px rgba(25, 105, 154, .11); background: rgba(255,255,255,.97); }
.navbar { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; justify-content: center; min-width: max-content; }
.brand-logo {
  width: 222px;
  height: auto;
  object-fit: contain;
  transform-origin: center;
  animation: logoEntrance .9s cubic-bezier(.22,1,.36,1) both;
  transition: transform .45s cubic-bezier(.22,1,.36,1), filter .45s ease;
}
.brand:hover .brand-logo { transform: translateY(-2px) scale(1.025); filter: drop-shadow(0 11px 18px rgba(35,143,206,.18)); }
.desktop-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.desktop-nav a {
  position: relative;
  padding: 11px 13px;
  color: #365b79;
  border-radius: 11px;
  font-size: .9rem;
  font-weight: 720;
  transition: color .25s ease, background .25s ease, transform .25s ease;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform .32s cubic-bezier(.22,1,.36,1);
}
.desktop-nav a:hover, .desktop-nav a.active { color: var(--navy); background: rgba(72,174,232,.08); transform: translateY(-1px); }
.desktop-nav a:hover::after, .desktop-nav a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  position: relative;
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  overflow: hidden;
  cursor: pointer;
  font-weight: 800;
  transform: translate3d(0,0,0);
  transition: transform .32s cubic-bezier(.22,1,.36,1), box-shadow .32s ease, background .32s ease, border-color .32s ease, color .32s ease;
}
.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  transform: translate(-50%,-50%);
  transition: width .55s ease, height .55s ease;
}
.btn:hover::before { width: 300px; height: 300px; }
.btn > * { position: relative; z-index: 1; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(.985); }
.btn-primary { color: #092c50; background: var(--yellow); border-color: #e8b62a; box-shadow: 0 12px 26px rgba(230,174,24,.24); }
.btn-primary:hover { background: #f8d45f; box-shadow: 0 18px 38px rgba(230,174,24,.3); }
.btn-secondary { color: var(--navy); background: #fff; border-color: rgba(35,143,206,.28); box-shadow: 0 8px 22px rgba(25,105,154,.07); }
.btn-secondary:hover { color: #064f84; background: #eef9ff; border-color: var(--blue); box-shadow: 0 15px 30px rgba(25,105,154,.12); }
.btn-small { min-height: 41px; padding-inline: 16px; font-size: .86rem; }
.full-width { width: 100%; }
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.52);
  transform: scale(0);
  animation: ripple .6s linear;
  pointer-events: none;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 45px;
  height: 45px;
  padding: 0;
  border: 1px solid rgba(35,143,206,.22);
  border-radius: 13px;
  background: #f1faff;
  color: var(--navy);
  cursor: pointer;
}
.menu-toggle span { position: absolute; left: 12px; width: 20px; height: 2px; border-radius: 999px; background: currentColor; transition: transform .3s ease, opacity .3s ease, top .3s ease; }
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-panel { position: fixed; inset: 0; z-index: 180; visibility: hidden; pointer-events: none; }
.mobile-panel.open { visibility: visible; pointer-events: auto; }
.mobile-backdrop { position: absolute; inset: 0; background: rgba(6,43,91,.25); backdrop-filter: blur(8px); opacity: 0; transition: opacity .35s ease; }
.mobile-panel.open .mobile-backdrop { opacity: 1; }
.mobile-menu {
  position: absolute;
  top: 0;
  right: 0;
  width: min(88vw, 390px);
  height: 100%;
  padding: 22px;
  background: #fff;
  box-shadow: -24px 0 65px rgba(25,105,154,.2);
  transform: translateX(105%);
  transition: transform .45s cubic-bezier(.22,1,.36,1);
  overflow-y: auto;
}
.mobile-panel.open .mobile-menu { transform: translateX(0); }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.mobile-menu-head .brand-logo { width: 190px; }
.close-menu { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); color: var(--navy); cursor: pointer; font-size: 1.65rem; line-height: 1; }
.mobile-links { display: grid; gap: 8px; padding: 25px 0; }
.mobile-links a { padding: 13px 15px; border-radius: 12px; color: #365b79; font-weight: 760; transition: background .25s ease, transform .25s ease, color .25s ease; }
.mobile-links a:hover, .mobile-links a.active { color: var(--navy); background: #eaf7ff; transform: translateX(4px); }
.mobile-actions { display: grid; gap: 10px; }

.hero {
  position: relative;
  padding: 94px 0 102px;
  overflow: hidden;
  isolation: isolate;
  background: #f6fcff;
  border-bottom: 1px solid rgba(35,143,206,.1);
}
.hero::before, .hero::after, .page-hero::before, .page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before, .page-hero::before {
  width: 430px;
  height: 430px;
  top: -230px;
  right: 4%;
  border: 70px solid rgba(72,174,232,.08);
  animation: orbitSlow 16s linear infinite;
}
.hero::after, .page-hero::after {
  width: 180px;
  height: 180px;
  bottom: -90px;
  left: 7%;
  border: 34px solid rgba(245,200,66,.13);
  animation: floatY 7s ease-in-out infinite;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr); gap: clamp(42px, 7vw, 84px); align-items: center; }
.hero-copy { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 19px; color: var(--blue-dark); font-size: .77rem; font-weight: 850; letter-spacing: .105em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 25px; height: 2px; border-radius: 999px; background: var(--yellow); }
.hero h1, .page-hero h1 { margin: 0; max-width: 820px; color: var(--heading); font-size: clamp(2.7rem, 6vw, 5.55rem); line-height: .98; letter-spacing: -.057em; text-wrap: balance; }
.hero h1 span, .page-hero h1 span { display: block; color: var(--blue-2); }
.hero-text { max-width: 680px; margin: 27px 0 0; color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.16rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.trust-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 43px; }
.trust-item {
  position: relative;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 23px 18px;
  text-align: center;
  border: 1px solid rgba(35,143,206,.16);
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.22,1,.36,1), border-color .35s ease, box-shadow .35s ease, background .35s ease;
}
.trust-item::after { content: ""; position: absolute; width: 58px; height: 4px; bottom: 0; left: 50%; border-radius: 999px 999px 0 0; background: var(--yellow); transform: translateX(-50%) scaleX(.3); transition: transform .4s ease, width .4s ease; }
.trust-item:hover { transform: translateY(-8px); border-color: rgba(35,143,206,.38); background: #fff; box-shadow: 0 22px 42px rgba(25,105,154,.14); }
.trust-item:hover::after { width: 92px; transform: translateX(-50%) scaleX(1); }
.icon-box {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-inline: auto;
  color: var(--blue-dark);
  border: 1px solid rgba(35,143,206,.27);
  border-radius: 18px;
  background: #eaf7ff;
  box-shadow: 0 10px 22px rgba(35,143,206,.12);
  transition: transform .45s cubic-bezier(.22,1,.36,1), background .35s ease, color .35s ease, border-color .35s ease;
}
.icon-box svg { width: 25px; height: 25px; animation: iconFloat 3.8s ease-in-out infinite; }
.trust-item:nth-child(2) .icon-box svg { animation-delay: -.8s; }
.trust-item:nth-child(3) .icon-box svg { animation-delay: -1.6s; }
.trust-item:nth-child(4) .icon-box svg { animation-delay: -2.4s; }
.trust-item:hover .icon-box { color: var(--navy); background: #fff8d9; border-color: rgba(230,174,24,.45); transform: translateY(-4px) rotate(-3deg) scale(1.07); }
.trust-item strong { display: block; color: var(--navy); font-size: .91rem; }
.trust-item span { display: block; max-width: 235px; color: var(--muted); font-size: .79rem; line-height: 1.48; }

.portal-card, .form-card, .contact-panel, .statement-card {
  position: relative;
  padding: 31px;
  border: 1px solid rgba(35,143,206,.18);
  border-radius: 28px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.portal-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  top: -104px;
  right: -70px;
  border: 32px solid rgba(72,174,232,.11);
  border-radius: 50%;
  animation: orbitSlow 13s linear infinite reverse;
}
.portal-card > * { position: relative; }
.mini-label { color: var(--blue-dark); font-size: .73rem; font-weight: 850; letter-spacing: .105em; text-transform: uppercase; }
.portal-card h2, .section-heading h2, .content-block h2 { margin: 8px 0 0; color: var(--heading); font-size: clamp(1.75rem,3vw,2.7rem); line-height: 1.08; letter-spacing: -.044em; }
.portal-card > p { margin: 12px 0 24px; color: var(--muted); font-size: .92rem; }

.form-grid { display: grid; gap: 15px; }
.form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.field label { display: block; margin-bottom: 7px; color: #294f6d; font-size: .79rem; font-weight: 750; }
.field input, .field select, .field textarea {
  width: 100%;
  color: var(--text);
  border: 1px solid rgba(35,143,206,.2);
  border-radius: 13px;
  outline: none;
  background: #f8fcff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
  transition: border-color .28s ease, box-shadow .28s ease, background .28s ease, transform .28s ease;
}
.field input, .field select { height: 49px; padding: 0 14px; }
.field textarea { min-height: 150px; padding: 13px 14px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { background: #fff; border-color: rgba(35,143,206,.34); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(72,174,232,.13), 0 8px 22px rgba(25,105,154,.08); transform: translateY(-1px); }
.field input::placeholder, .field textarea::placeholder { color: #93a8bb; }
select option { color: var(--text); background: #fff; }
.form-note { margin-top: 15px; color: #70879b; font-size: .76rem; text-align: center; }
.form-note a { color: var(--blue-dark); font-weight: 800; }

.section { position: relative; padding: 96px 0; }
.section-alt { background: #edf8ff; border-block: 1px solid rgba(35,143,206,.1); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 34px; margin-bottom: 40px; }
.section-heading > div { max-width: 740px; }
.section-heading p { max-width: 600px; margin: 12px 0 0; color: var(--muted); }
.section-heading.center { display: block; max-width: 760px; margin-inline: auto; text-align: center; }
.section-heading.center .eyebrow { justify-content: center; }
.section-heading.center .eyebrow::before { display: none; }
.business-description-copy { max-width: 1010px; }
.business-description-copy p { max-width: none; }

.service-grid, .reviews-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.value-grid, .info-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.service-card, .value-card, .review-card, .info-card, .detailed-service {
  position: relative;
  border: 1px solid rgba(35,143,206,.15);
  border-radius: var(--radius);
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .45s cubic-bezier(.22,1,.36,1), border-color .35s ease, box-shadow .35s ease, background .35s ease;
}
.service-card::after, .value-card::after, .review-card::after, .info-card::after, .detailed-service::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .45s cubic-bezier(.22,1,.36,1);
}
.service-card:hover, .value-card:hover, .review-card:hover, .info-card:hover, .detailed-service:hover { border-color: rgba(35,143,206,.34); box-shadow: var(--shadow); background: #fff; }
.service-card:hover::after, .value-card:hover::after, .review-card:hover::after, .info-card:hover::after, .detailed-service:hover::after { transform: scaleX(1); }
.service-card { min-height: 286px; padding: 27px; display: flex; flex-direction: column; text-align: center; align-items: center; }
.service-code {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto 28px;
  color: var(--navy);
  border: 1px solid rgba(230,174,24,.35);
  border-radius: 17px;
  background: #fff7d1;
  box-shadow: 0 10px 22px rgba(230,174,24,.12);
  font-size: .8rem;
  font-weight: 900;
  transition: transform .42s cubic-bezier(.22,1,.36,1), background .35s ease, border-color .35s ease;
}
.service-card:hover .service-code, .detailed-service:hover .service-code, .value-card:hover .service-code { transform: translateY(-4px) rotate(-4deg) scale(1.08); background: #eaf7ff; border-color: rgba(35,143,206,.35); }
.service-card h3, .review-card h3, .info-card h3, .value-card h3 { margin: 0; color: var(--heading); font-size: 1.17rem; line-height: 1.25; }
.service-card h3 { width: 100%; text-align: left; }
.service-card p, .value-card p, .info-card p { margin: 11px 0 0; color: var(--muted); font-size: .9rem; }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 23px; color: var(--blue-dark); font-size: .86rem; font-weight: 850; }
.card-link::after { content: "→"; transition: transform .3s ease; }
.card-link:hover::after { transform: translateX(5px); }

.steps-grid { position: relative; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.steps-grid::before { content: ""; position: absolute; top: 29px; left: 7%; right: 7%; height: 2px; background: rgba(72,174,232,.25); }
.step { position: relative; padding-top: 76px; }
.step-number { position: absolute; top: 0; left: 0; width: 58px; height: 58px; display: grid; place-items: center; color: var(--navy); border: 1px solid rgba(230,174,24,.4); border-radius: 50%; background: #fff7d1; box-shadow: 0 0 0 9px rgba(72,174,232,.07); font-size: .79rem; font-weight: 900; animation: stepPulse 4s ease-in-out infinite; }
.step:nth-child(2) .step-number { animation-delay: -1s; }
.step:nth-child(3) .step-number { animation-delay: -2s; }
.step:nth-child(4) .step-number { animation-delay: -3s; }
.step h3 { margin: 0 0 8px; color: var(--heading); font-size: 1rem; }
.step p { margin: 0; color: var(--muted); font-size: .86rem; }


.review-card { min-height: 292px; padding: 27px; display: flex; flex-direction: column; }
.quote-mark { color: rgba(35,143,206,.2); font-size: 4.2rem; font-family: Georgia, serif; line-height: .8; transition: color .35s ease, transform .35s ease; }
.review-card:hover .quote-mark { color: rgba(230,174,24,.42); transform: translateY(-3px) rotate(-4deg); }
.review-card blockquote { margin: 22px 0 28px; color: #294c68; font-size: .94rem; }
.reviewer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; color: var(--navy); background: #e7f6ff; border: 1px solid rgba(35,143,206,.22); font-size: .72rem; font-weight: 900; transition: transform .35s ease, background .35s ease; }
.review-card:hover .avatar { transform: rotate(8deg) scale(1.08); background: #fff5c4; }
.reviewer strong, .reviewer span { display: block; }
.reviewer strong { color: var(--heading); font-size: .84rem; }
.reviewer span { color: var(--muted); font-size: .74rem; }

.cta { padding: 0 0 96px; }
.cta-card { position: relative; padding: 52px; display: flex; align-items: center; justify-content: space-between; gap: 35px; border: 1px solid rgba(35,143,206,.22); border-radius: 28px; background: #eaf7ff; box-shadow: var(--shadow); overflow: hidden; }
.cta-card::after { content: ""; position: absolute; right: -70px; bottom: -108px; width: 280px; height: 280px; border: 42px solid rgba(245,200,66,.17); border-radius: 50%; animation: orbitSlow 15s linear infinite; }
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { margin: 0; color: var(--heading); font-size: clamp(1.8rem,4vw,3rem); line-height: 1.05; letter-spacing: -.045em; }
.cta-card p { max-width: 650px; margin: 12px 0 0; color: #557088; }

.page-hero { position: relative; padding: 82px 0 86px; overflow: hidden; background: #edf8ff; border-bottom: 1px solid rgba(35,143,206,.11); isolation: isolate; }
.page-hero h1 { max-width: 900px; font-size: clamp(2.45rem,5.5vw,4.8rem); }
.page-hero p { max-width: 750px; margin: 24px 0 0; color: var(--muted); font-size: 1.04rem; }
.page-hero .btn { margin-top: 28px; }
.content-split { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(300px,.75fr); gap: 46px; align-items: start; }
.content-block p { color: var(--muted); }
.content-block p + p { margin-top: 18px; }
.statement-card h3 { margin: 0; color: var(--heading); font-size: 1.35rem; }
.statement-card p { color: var(--muted); }

.value-card { min-height: 230px; padding: 25px; text-align: center; }
.value-card .service-code { margin-inline: auto; }
.process-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.process-item { position: relative; padding: 27px 23px; border-left: 3px solid var(--yellow); border-radius: 0 18px 18px 0; background: #fff; box-shadow: var(--shadow-sm); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.process-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue); }
.process-item > span { display: inline-block; margin-bottom: 18px; color: var(--blue-dark); font-size: .76rem; font-weight: 900; letter-spacing: .09em; }
.process-item h3 { margin: 0; color: var(--heading); font-size: 1rem; }
.process-item p { margin: 9px 0 0; color: var(--muted); font-size: .86rem; }

.detailed-service-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.detailed-service { padding: 29px; }
.detailed-service-head { display: flex; align-items: flex-start; justify-content: flex-start; gap: 18px; margin-bottom: 18px; }
.detailed-service .service-code { margin: 0; flex: 0 0 auto; }
.detailed-service h2, .detailed-service h3 { margin: 0; color: var(--heading); }
.detailed-service-head h2, .detailed-service-head h3 { flex: 1; text-align: left; }
.detailed-service p { color: var(--muted); }
.detailed-service .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; margin-top: 22px; }
.text-link { color: var(--blue-dark); font-weight: 850; }
.text-link:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.standard-list { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 13px; margin: 0; padding: 0; list-style: none; }
.standard-list li { padding: 16px 12px; color: #365b79; border: 1px solid rgba(35,143,206,.15); border-radius: 14px; background: #fff; text-align: center; font-size: .82rem; font-weight: 750; box-shadow: var(--shadow-sm); transition: transform .35s ease, border-color .35s ease; }
.standard-list li:hover { transform: translateY(-5px); border-color: rgba(230,174,24,.5); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); }
.accordion-list { display: grid; gap: 12px; }
.accordion-item { border: 1px solid rgba(35,143,206,.15); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.accordion-button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 20px; border: 0; background: transparent; color: var(--heading); cursor: pointer; text-align: left; font-weight: 820; }
.accordion-button::after { content: "+"; width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: var(--blue-dark); background: #eaf7ff; transition: transform .35s ease, background .35s ease; }
.accordion-item.open .accordion-button::after { transform: rotate(45deg); background: #fff4be; }
.accordion-content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .42s cubic-bezier(.22,1,.36,1); }
.accordion-content > * { overflow: hidden; }
.accordion-content p { margin: 0; padding: 0 20px 20px; color: var(--muted); }
.accordion-item.open .accordion-content { grid-template-rows: 1fr; }

.review-full-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.review-full-grid .review-card { min-height: 275px; }
.info-card { padding: 24px; text-align: center; }
.info-card .service-code { margin-inline: auto; }

.contact-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(300px,.72fr); gap: 25px; align-items: start; }
.form-card h2, .contact-panel h2 { margin: 0 0 7px; color: var(--heading); font-size: 1.37rem; }
.form-card > p, .contact-panel > p { margin: 0 0 24px; color: var(--muted); }
.contact-list { display: grid; gap: 13px; }
.contact-item { padding: 16px; border: 1px solid rgba(35,143,206,.15); border-radius: 14px; background: #f6fbff; transition: transform .3s ease, border-color .3s ease, background .3s ease; }
.contact-item:hover { transform: translateX(4px); border-color: rgba(230,174,24,.42); background: #fffbea; }
.contact-item small, .contact-item strong { display: block; }
.contact-item small { margin-bottom: 4px; color: #6d8498; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-item strong, .contact-item a { color: var(--heading); font-size: .9rem; overflow-wrap: anywhere; }
.ready-box { margin-top: 17px; padding: 20px; border: 1px solid rgba(230,174,24,.33); border-radius: 16px; background: #fff8d9; }
.ready-box h3 { margin: 0 0 7px; color: var(--heading); font-size: 1rem; }
.ready-box p { margin: 0 0 15px; color: var(--muted); font-size: .85rem; }


.site-footer { position: relative; padding: 64px 0 28px; color: #dcefff; border-top: 4px solid var(--yellow); background: #07345f; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; width: 420px; height: 420px; right: -220px; top: -240px; border: 60px solid rgba(72,174,232,.13); border-radius: 50%; animation: orbitSlow 20s linear infinite; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.35fr .8fr .8fr 1fr; gap: 44px; }
.footer-about .brand { padding: 10px 14px; border-radius: 15px; background: #fff; box-shadow: 0 10px 28px rgba(0,0,0,.12); }
.footer-about .brand-logo { width: 242px; filter: none; opacity: 1; }
.footer-about p { max-width: 370px; margin: 18px 0 0; color: #b9d3e8; font-size: .86rem; }
.footer-col h3 { margin: 0 0 15px; color: #fff; font-size: .84rem; letter-spacing: .06em; text-transform: uppercase; }
.footer-col a, .footer-col span { display: block; margin: 8px 0; color: #b9d3e8; font-size: .84rem; transition: color .25s ease, transform .25s ease; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--yellow); transform: translateX(4px); }
.footer-bottom { position: relative; display: flex; justify-content: space-between; gap: 20px; margin-top: 45px; padding-top: 23px; color: #97b6cf; border-top: 1px solid rgba(255,255,255,.13); font-size: .74rem; }

.toast { position: fixed; right: 22px; bottom: 22px; z-index: 260; max-width: 360px; padding: 15px 17px; color: #fff; border: 1px solid rgba(245,200,66,.65); border-radius: 14px; background: #075a97; box-shadow: var(--shadow-lg); transform: translateY(28px) scale(.97); opacity: 0; pointer-events: none; transition: .35s cubic-bezier(.22,1,.36,1); font-size: .86rem; }
.toast.show { transform: translateY(0) scale(1); opacity: 1; }
.back-to-top { position: fixed; right: 22px; bottom: 86px; z-index: 170; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(35,143,206,.24); border-radius: 50%; color: var(--navy); background: #fff; box-shadow: var(--shadow-sm); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .3s ease, transform .3s ease, visibility .3s ease, background .3s ease; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: #fff4bd; transform: translateY(-3px); }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(34px) scale(.975); filter: blur(8px); transition: opacity .85s ease, transform .85s cubic-bezier(.22,1,.36,1), filter .85s ease; transition-delay: var(--reveal-delay,0ms); }
.js .reveal[data-reveal="left"] { transform: translateX(-45px) scale(.975); }
.js .reveal[data-reveal="right"] { transform: translateX(45px) scale(.975); }
.js .reveal.visible { opacity: 1; transform: translate3d(0,0,0) scale(1); filter: blur(0); }
.tilt-card { will-change: transform; }

@keyframes logoEntrance { from { opacity: 0; transform: translateY(-14px) scale(.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes statusPulse { 0% { box-shadow: 0 0 0 0 rgba(54,179,126,.45); } 70% { box-shadow: 0 0 0 8px rgba(54,179,126,0); } 100% { box-shadow: 0 0 0 0 rgba(54,179,126,0); } }
@keyframes iconFloat { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-4px) rotate(2deg); } }
@keyframes orbitSlow { to { transform: rotate(360deg); } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes stepPulse { 0%,100% { box-shadow: 0 0 0 9px rgba(72,174,232,.07); } 50% { box-shadow: 0 0 0 14px rgba(245,200,66,.1); } }
@keyframes badgeBreathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.045); } }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

@media (max-width: 1040px) {
  .desktop-nav { display: none; }
  .nav-actions .btn-secondary { display: none; }
  .menu-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .portal-card { max-width: 700px; }
  .service-grid, .reviews-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .steps-grid, .process-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .steps-grid::before { display: none; }
  .value-grid, .info-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .standard-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .site-header .brand-logo { width: 205px; }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .topbar-inner > span:last-child { display: none; }
  .navbar { min-height: 71px; }
  .nav-actions > .btn-primary { display: none; }
  .hero { padding: 64px 0 72px; }
  .hero h1, .page-hero h1 { font-size: clamp(2.42rem,12.5vw,4rem); }
  .hero-actions .btn { flex: 1 1 180px; }
  .trust-row, .form-row { grid-template-columns: 1fr; }
  .trust-item { min-height: 158px; }
  .portal-card, .form-card, .contact-panel, .statement-card { padding: 24px; }
  .section { padding: 74px 0; }
  .section-heading { display: block; }
  .section-heading .btn { margin-top: 21px; }
  .service-grid, .reviews-grid, .detailed-service-grid, .review-full-grid { grid-template-columns: 1fr; }
  .steps-grid, .process-list { grid-template-columns: 1fr; }
  .step { min-height: 128px; padding: 5px 0 0 79px; }
  .cta-card { display: block; padding: 34px 27px; }
  .cta-card .btn { margin-top: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-about { grid-column: 1 / -1; }
  .content-split, .contact-grid { grid-template-columns: 1fr; gap: 25px; }
  .standard-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .page-hero { padding: 60px 0 64px; }
  .pointer-glow { display: none; }
}

@media (max-width: 520px) {
  .site-header .brand-logo { width: 172px; }
  .mobile-menu-head .brand-logo { width: 158px; }
  .trust-row, .value-grid, .info-grid, .standard-list, .footer-grid { grid-template-columns: 1fr; }
  .footer-about { grid-column: auto; }
  .footer-bottom { display: block; }
  .footer-bottom span + span { display: block; margin-top: 8px; }
  .detailed-service .actions { flex-direction: column; align-items: flex-start; }
  .toast { right: 14px; bottom: 14px; left: 14px; max-width: none; }
  .back-to-top { right: 14px; bottom: 82px; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ambient-canvas, .pointer-glow { display: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
}


/* Requested final refinements: exact logo, student imagery, centred icons and premium motion. */
.hero,
.page-hero {
  --student-parallax: 0px;
  isolation: isolate;
  background-color: #f7fcff;
}
.hero::before,
.page-hero::before {
  inset: -30px 0;
  width: auto;
  height: auto;
  top: -30px;
  right: 0;
  z-index: -2;
  border: 0;
  border-radius: 0;
  background-image: url('assets/college-campus-students.svg');
  background-repeat: no-repeat;
  background-position: center calc(50% + var(--student-parallax));
  background-size: cover;
  opacity: .52;
  transform: scale(1.035);
  animation: studentSceneDrift 18s ease-in-out infinite alternate;
}
.page-hero::before {
  background-image: url('assets/college-study-group.svg');
  opacity: .43;
}
.hero::after,
.page-hero::after {
  inset: 0;
  width: auto;
  height: auto;
  bottom: auto;
  left: auto;
  z-index: -1;
  border: 0;
  border-radius: 0;
  background: rgba(247, 252, 255, .64);
  animation: none;
}
.hero h1 span {
  color: var(--yellow-2);
  text-shadow: 0 2px 0 rgba(6,43,91,.12), 0 14px 30px rgba(230,174,24,.18);
}
.hero-copy {
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid rgba(255,255,255,.84);
  border-radius: 30px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 30px 80px rgba(25,105,154,.12);
  backdrop-filter: blur(7px);
}
.offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 4px 0 13px;
  padding: 8px 12px;
  color: var(--navy);
  border: 1px solid rgba(230,174,24,.38);
  border-radius: 999px;
  background: #fff8d9;
  font-size: .78rem;
  font-weight: 820;
  letter-spacing: .01em;
  box-shadow: 0 8px 22px rgba(230,174,24,.12);
  animation: offerPulse 3.2s ease-in-out infinite;
}
.offer-badge span {
  display: inline-grid;
  place-items: center;
  min-width: 62px;
  padding: 4px 8px;
  color: #fff;
  border-radius: 999px;
  background: var(--yellow-2);
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .08em;
}

/* True geometric centring for every benefit icon and its copy. */
.trust-item {
  display: grid;
  grid-template-rows: 62px auto;
  align-content: center;
  justify-items: center;
  place-items: center;
  gap: 13px;
}
.trust-item > .icon-box {
  display: grid !important;
  place-items: center !important;
  justify-self: center;
  align-self: center;
  width: 58px !important;
  max-width: 58px !important;
  height: 58px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  line-height: 1 !important;
}
.trust-item > .icon-box svg {
  display: block;
  width: 25px;
  height: 25px;
  margin: auto;
}
.trust-item > div {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.trust-item > div > strong,
.trust-item > div > span {
  width: 100%;
  margin-inline: auto;
  text-align: center;
}

/* Scroll-triggered motion with masking and staggered words. */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 54px, 0) scale(.965) rotateX(3deg);
  transform-origin: 50% 100%;
  filter: blur(11px);
  clip-path: inset(0 0 15% 0 round 22px);
  transition: opacity .95s ease, transform 1.05s cubic-bezier(.16,1,.3,1), filter .95s ease, clip-path 1.05s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--reveal-delay,0ms);
}
.js .reveal[data-reveal="left"] { transform: translate3d(-70px, 12px, 0) scale(.965) rotateY(4deg); }
.js .reveal[data-reveal="right"] { transform: translate3d(70px, 12px, 0) scale(.965) rotateY(-4deg); }
.js .reveal.visible {
  opacity: 1;
  transform: translate3d(0,0,0) scale(1) rotateX(0) rotateY(0);
  filter: blur(0);
  clip-path: inset(0 0 0 0 round 0);
}
.motion-word {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, .7em, 0) rotateX(55deg);
  transform-origin: 50% 100%;
  filter: blur(7px);
  transition: opacity .8s ease, transform .9s cubic-bezier(.16,1,.3,1), filter .8s ease;
  transition-delay: calc(var(--word-index) * 70ms + 120ms);
}
.section-active .motion-word,
.hero.section-active .motion-word,
.page-hero.section-active .motion-word {
  opacity: 1;
  transform: translate3d(0,0,0) rotateX(0);
  filter: blur(0);
}
main > section {
  transition: background-position .15s linear;
}
.trust-item::before,
.service-card::before,
.value-card::before,
.review-card::before,
.info-card::before,
.detailed-service::before,
.portal-card::after,
.statement-card::before,
.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background: rgba(72,174,232,.12);
  clip-path: circle(0 at var(--pointer-x, 50%) var(--pointer-y, 50%));
  opacity: 0;
  transition: opacity .35s ease, clip-path .45s cubic-bezier(.16,1,.3,1);
}
.trust-item:hover::before,
.service-card:hover::before,
.value-card:hover::before,
.review-card:hover::before,
.info-card:hover::before,
.detailed-service:hover::before,
.portal-card:hover::after,
.statement-card:hover::before,
.contact-panel:hover::before { opacity: 1; clip-path: circle(42% at var(--pointer-x, 50%) var(--pointer-y, 50%)); }
.trust-item > *, .service-card > *, .value-card > *, .review-card > *, .info-card > *, .detailed-service > *, .portal-card > *, .statement-card > *, .contact-panel > * { position: relative; z-index: 1; }

@keyframes studentSceneDrift {
  from { transform: scale(1.035) translate3d(0,0,0); }
  to { transform: scale(1.07) translate3d(-10px,-7px,0); }
}
@keyframes offerPulse {
  0%,100% { transform: translateY(0); box-shadow: 0 8px 22px rgba(230,174,24,.12); }
  50% { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(230,174,24,.2); }
}

@media (max-width: 1040px) {
  .hero::before { background-position: 62% calc(50% + var(--student-parallax)); opacity: .34; }
  .hero-copy { max-width: 790px; }
}
@media (max-width: 780px) {
  .hero::before, .page-hero::before { opacity: .23; background-position: 70% calc(50% + var(--student-parallax)); }
  .hero-copy { padding: 23px; border-radius: 23px; }
  .trust-item { grid-template-rows: 62px auto; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-word { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero::before, .page-hero::before, .offer-badge { animation: none !important; }
}

/* Professional navigation, compact spacing and interaction refinements. */
:root {
  --header-height: 76px;
  --section-space: 76px;
}

/* Services dropdown navigation */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-dropdown-toggle {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 13px;
  border: 0;
  border-radius: 11px;
  color: #365b79;
  background: transparent;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 720;
  transition: color .25s ease, background .25s ease, transform .25s ease;
}
.nav-dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform .32s cubic-bezier(.22,1,.36,1);
}
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle,
.nav-dropdown.open .nav-dropdown-toggle,
.nav-dropdown.active .nav-dropdown-toggle {
  color: var(--navy);
  background: rgba(72,174,232,.08);
  transform: translateY(-1px);
}
.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown:focus-within .nav-dropdown-toggle::after,
.nav-dropdown.open .nav-dropdown-toggle::after,
.nav-dropdown.active .nav-dropdown-toggle::after { transform: scaleX(1); }
.dropdown-chevron {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  margin-top: -1px;
  flex: 0 0 12px;
  font-size: 0;
  line-height: 0;
}
.dropdown-chevron::before {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transform-origin: center;
  transition: transform .28s ease;
}
.nav-dropdown:hover .dropdown-chevron::before,
.nav-dropdown:focus-within .dropdown-chevron::before,
.nav-dropdown.open .dropdown-chevron::before {
  transform: translateY(2px) rotate(225deg);
}
.services-dropdown {
  position: absolute;
  top: calc(100% + 13px);
  left: 50%;
  z-index: 140;
  width: min(360px, 82vw);
  padding: 10px;
  border: 1px solid rgba(35,143,206,.2);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 26px 60px rgba(10,74,119,.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 12px) scale(.97);
  transform-origin: 50% 0;
  transition: opacity .28s ease, transform .35s cubic-bezier(.16,1,.3,1), visibility .28s ease;
}
.nav-dropdown:hover .services-dropdown,
.nav-dropdown:focus-within .services-dropdown,
.nav-dropdown.open .services-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}
.services-dropdown::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  border-top: 1px solid rgba(35,143,206,.2);
  border-left: 1px solid rgba(35,143,206,.2);
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
}
.desktop-nav .services-dropdown a {
  position: relative;
  display: block;
  padding: 11px 13px 11px 38px;
  border-radius: 11px;
  color: #365b79;
  font-size: .83rem;
  font-weight: 700;
  line-height: 1.35;
  transition: background .24s ease, color .24s ease, transform .24s ease;
}
.desktop-nav .services-dropdown a::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  width: 8px;
  height: 8px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: background .24s ease, border-color .24s ease, transform .24s ease;
}
.desktop-nav .services-dropdown a::after { display: none; }
.desktop-nav .services-dropdown a:hover,
.desktop-nav .services-dropdown a:focus-visible {
  color: var(--navy);
  background: #edf8ff;
  transform: translateX(3px);
}
.desktop-nav .services-dropdown a:hover::before { background: var(--yellow); border-color: var(--yellow-2); transform: translateY(-50%) scale(1.15); }

/* Mobile Services dropdown */
.mobile-nav-group { display: grid; }
.mobile-services-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 15px;
  border: 0;
  border-radius: 12px;
  color: #365b79;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-weight: 760;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.mobile-services-toggle:hover,
.mobile-services-toggle.active,
.mobile-services-toggle[aria-expanded="true"] {
  color: var(--navy);
  background: #eaf7ff;
}
.mobile-services-toggle span { transition: transform .3s ease; }
.mobile-services-toggle[aria-expanded="true"] span { transform: rotate(180deg); }
.mobile-services-menu {
  display: grid;
  grid-template-rows: 0fr;
  margin: 0 8px;
  border-left: 2px solid transparent;
  overflow: hidden;
  transition: grid-template-rows .4s cubic-bezier(.16,1,.3,1), margin .3s ease, border-color .3s ease;
}
.mobile-services-menu > a { overflow: hidden; }
.mobile-nav-group.open .mobile-services-menu {
  grid-template-rows: repeat(7, minmax(39px, auto));
  margin-block: 5px 9px;
  border-color: var(--yellow);
}
.mobile-services-menu a {
  margin-left: 8px;
  padding: 9px 12px !important;
  border-radius: 9px !important;
  color: #557088 !important;
  font-size: .8rem;
  font-weight: 690 !important;
}
.mobile-services-menu a:hover { color: var(--navy) !important; background: #f2faff !important; }

/* Academic imagery and more disciplined vertical rhythm */
.hero,
.page-hero {
  background-color: #eef9ff;
}
.hero { padding: 72px 0 78px; }
.page-hero { padding: 64px 0 68px; }
.hero::before,
.page-hero::before {
  background-image: url('assets/academic-students-library.svg');
  background-position: center calc(50% + var(--student-parallax));
  background-size: cover;
  opacity: .69;
}
.page-hero::before { background-position: center calc(42% + var(--student-parallax)); opacity: .58; }
.hero::after,
.page-hero::after { background: rgba(247,252,255,.72); }
.hero-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(350px, .78fr);
  gap: clamp(34px, 5vw, 58px);
  align-items: center;
}
.hero-copy { padding: clamp(22px, 2.6vw, 34px); }
.hero-text { margin-top: 21px; }
.hero-actions { margin-top: 26px; }
.trust-row { margin-top: 31px; gap: 13px; }
.trust-item { min-height: 160px; padding: 20px 18px; }
.portal-card, .form-card, .contact-panel, .statement-card { padding: 28px; }
.section { padding: var(--section-space) 0; }
.cta { padding-bottom: var(--section-space); }
.section-heading { margin-bottom: 31px; gap: 26px; }
.section-heading p { margin-top: 10px; }
.service-grid, .reviews-grid, .detailed-service-grid, .review-full-grid, .value-grid, .info-grid, .process-list, .steps-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
}
.service-grid, .reviews-grid, .detailed-service-grid, .review-full-grid { gap: 18px; }
.service-card, .review-card, .detailed-service, .value-card, .info-card { height: 100%; }
.service-card { min-height: 260px; padding: 25px; }
.service-code { margin-bottom: 22px; }
.review-card { min-height: 266px; padding: 25px; }
.review-card blockquote { margin: 16px 0 24px; }
.steps-grid { gap: 18px; }
.step { height: 100%; }
.content-split { gap: 32px; }
.content-block p { margin: 13px 0 0; }
.content-block p + p { margin-top: 13px; }
.business-description-copy { max-width: 980px; }
.business-description-copy p { line-height: 1.72; }
.detailed-service { padding: 26px; }
.detailed-service-head { margin-bottom: 14px; }
.detailed-service p { margin: 10px 0 0; }
.detailed-service .actions { margin-top: 17px; }
.contact-grid { gap: 21px; }
.form-card > p, .contact-panel > p { margin-bottom: 19px; }
.cta-card { padding: 40px 42px; }

/* Footer logo contrast without a white panel */
.site-footer { padding: 54px 0 25px; }
.footer-grid { gap: 36px; align-items: start; }
.footer-about .brand {
  width: fit-content;
  padding: 13px 16px;
  border: 1px solid rgba(117,200,239,.55);
  border-radius: 17px;
  background: #cfeeff;
  box-shadow: 0 14px 36px rgba(0,0,0,.17);
}
.footer-about .brand-logo {
  width: 258px;
  filter: drop-shadow(0 7px 12px rgba(6,43,91,.18));
}
.footer-about p { margin-top: 15px; }
.footer-bottom { margin-top: 35px; }

/* Floating WhatsApp contact */
.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 230;
  min-width: 55px;
  height: 55px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  color: #ffffff;
  background: #1fa855;
  box-shadow: 0 18px 40px rgba(15,121,61,.28);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .01em;
  transition: transform .32s cubic-bezier(.16,1,.3,1), box-shadow .32s ease, background .32s ease;
  animation: whatsappBreathe 3.2s ease-in-out infinite;
}
.floating-whatsapp::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(31,168,85,.32);
  border-radius: inherit;
  opacity: 0;
  animation: whatsappRing 3.2s ease-out infinite;
}
.floating-whatsapp svg { width: 25px; height: 25px; flex: 0 0 auto; }
.floating-whatsapp:hover {
  background: #168d47;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 23px 48px rgba(15,121,61,.34);
}
.back-to-top { bottom: 91px; }
.toast { bottom: 92px; }

/* Forms remain clear without placeholder copy. */
.field input, .field select, .field textarea { background: #f6fbff; }
.field input:invalid:not(:focus):not(:placeholder-shown),
.field textarea:invalid:not(:focus):not(:placeholder-shown) { border-color: rgba(35,143,206,.2); }

@keyframes whatsappBreathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@keyframes whatsappRing {
  0%, 48% { opacity: 0; transform: scale(.92); }
  58% { opacity: .7; }
  100% { opacity: 0; transform: scale(1.18); }
}

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero::before { background-position: 64% calc(50% + var(--student-parallax)); opacity: .46; }
  .services-dropdown { left: auto; right: -90px; transform: translate(0, 12px) scale(.97); }
  .nav-dropdown:hover .services-dropdown,
  .nav-dropdown:focus-within .services-dropdown,
  .nav-dropdown.open .services-dropdown { transform: translate(0,0) scale(1); }
  .services-dropdown::before { left: auto; right: 118px; transform: rotate(45deg); }
}

@media (max-width: 780px) {
  :root { --section-space: 62px; }
  .hero { padding: 54px 0 61px; }
  .page-hero { padding: 51px 0 55px; }
  .hero::before, .page-hero::before { opacity: .3; background-position: 73% calc(50% + var(--student-parallax)); }
  .hero::after, .page-hero::after { background: rgba(247,252,255,.82); }
  .section-heading { margin-bottom: 26px; }
  .cta-card { padding: 31px 26px; }
  .footer-grid { gap: 28px; }
  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    width: 54px;
    min-width: 54px;
    padding: 0;
  }
  .floating-whatsapp span { display: none; }
  .back-to-top { right: 14px; bottom: 79px; }
  .toast { right: 14px; left: 14px; bottom: 80px; }
}

@media (max-width: 520px) {
  .hero-copy { padding: 20px; }
  .trust-item { min-height: 150px; }
  .footer-about .brand { width: 100%; justify-content: flex-start; padding: 11px 13px; }
  .footer-about .brand-logo { width: min(255px, 100%); }
}

@media (prefers-reduced-motion: reduce) {
  .floating-whatsapp, .floating-whatsapp::before { animation: none !important; }
}

/* Dropdown stability and mobile submenu collapse correction. */
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: 100%;
  left: -12px;
  right: -12px;
  height: 16px;
}
.mobile-services-menu {
  display: block;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transition: max-height .45s cubic-bezier(.16,1,.3,1), opacity .28s ease, margin .3s ease, border-color .3s ease;
}
.mobile-nav-group.open .mobile-services-menu {
  max-height: 420px;
  opacity: 1;
  pointer-events: auto;
}

/* Final responsive alignment safeguards. */
html, body { width: 100%; max-width: 100%; overflow-x: clip; }
.mobile-panel { overflow: hidden; }
.footer-about, .footer-about .brand { min-width: 0; max-width: 100%; }
.footer-about .brand { overflow: hidden; }
.page-hero h1 { max-width: 690px; font-size: clamp(2.35rem, 4.55vw, 4.15rem); line-height: 1.01; }
.page-hero p { max-width: 650px; margin-top: 18px; }

@media (max-width: 780px) {
  .page-hero h1 { max-width: 100%; font-size: clamp(2.28rem, 10.5vw, 3.65rem); }
  .page-hero p { max-width: 100%; }
}
.page-hero h1 { font-size: clamp(2.3rem, 4vw, 3.72rem); }

/* Home hero refinement: top-aligned sign-in panel and supplied student background. */
.hero {
  --student-parallax: 0px;
  padding: 58px 0 68px;
  background: #e7f6ff;
  border-bottom-color: rgba(35, 143, 206, .22);
}
.hero::before {
  display: block;
  inset: 0;
  width: auto;
  height: auto;
  top: 0;
  right: 0;
  z-index: 0;
  border: 0;
  border-radius: 0;
  background-image: url('assets/academic-students-feature.png');
  background-repeat: no-repeat;
  background-position: right 1% bottom calc(0px - var(--student-parallax));
  background-size: min(56vw, 790px) auto;
  opacity: .92;
  mix-blend-mode: multiply;
  filter: saturate(1.08) contrast(1.025) drop-shadow(0 24px 28px rgba(7,90,151,.12));
  transform-origin: right bottom;
  animation: academicStudentsFloat 8.5s ease-in-out infinite alternate;
}
.hero::after {
  display: block;
  inset: auto 0 0;
  width: auto;
  height: 8px;
  z-index: 0;
  border: 0;
  border-radius: 0;
  background: var(--yellow);
  animation: heroAccentPulse 4.8s ease-in-out infinite;
}
.hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  grid-template-areas:
    "copy portal"
    "trust portal";
  align-items: start;
  column-gap: clamp(38px, 6vw, 78px);
  row-gap: 24px;
}
.hero-copy {
  grid-area: copy;
  padding: clamp(23px, 2.8vw, 36px);
  background: rgba(255,255,255,.94);
  border-color: rgba(72,174,232,.28);
  box-shadow: 0 26px 64px rgba(25,105,154,.14);
}
.portal-card {
  grid-area: portal;
  align-self: start;
  width: 100%;
  margin-top: 0;
  background: rgba(255,255,255,.95);
  border-color: rgba(72,174,232,.34);
  box-shadow: 0 28px 72px rgba(25,105,154,.18), 0 0 0 5px rgba(245,200,66,.07);
}
.portal-card::before {
  border-color: rgba(72,174,232,.17);
}
.trust-row {
  grid-area: trust;
  margin-top: 0;
}
.trust-item {
  border-color: rgba(72,174,232,.26);
  background: rgba(255,255,255,.94);
  box-shadow: 0 14px 34px rgba(25,105,154,.11);
}
.icon-box {
  color: #075a97;
  background: #dff3ff;
  border-color: rgba(35,143,206,.35);
  box-shadow: 0 11px 24px rgba(35,143,206,.16), 0 0 0 5px rgba(245,200,66,.06);
}
.hero .eyebrow,
.hero .mini-label {
  color: #075a97;
}
.hero h1 span {
  color: #e6ae18;
}
.offer-badge {
  border-color: rgba(230,174,24,.52);
  background: #fff6c9;
}
.hero .btn-primary {
  box-shadow: 0 15px 32px rgba(230,174,24,.3);
}

@keyframes academicStudentsFloat {
  0% { transform: translate3d(0, 8px, 0) scale(1.005); }
  50% { transform: translate3d(-7px, -4px, 0) scale(1.018); }
  100% { transform: translate3d(-12px, -10px, 0) scale(1.03); }
}
@keyframes heroAccentPulse {
  0%, 100% { opacity: .82; box-shadow: 0 -4px 18px rgba(245,200,66,.12); }
  50% { opacity: 1; box-shadow: 0 -7px 26px rgba(245,200,66,.28); }
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "portal"
      "trust";
    gap: 24px;
  }
  .portal-card { max-width: 700px; }
  .hero::before {
    background-size: min(77vw, 730px) auto;
    background-position: right -8% bottom calc(0px - var(--student-parallax));
    opacity: .62;
  }
}

@media (max-width: 780px) {
  .hero { padding: 40px 0 52px; }
  .hero-grid { gap: 19px; }
  .hero::before {
    background-size: 760px auto;
    background-position: 72% bottom calc(0px - var(--student-parallax));
    opacity: .34;
  }
  .hero-copy,
  .portal-card {
    background: rgba(255,255,255,.96);
  }
  .portal-card { margin-top: 0; }
}

@media (max-width: 520px) {
  .hero { padding-top: 30px; }
  .hero::before {
    background-size: 650px auto;
    background-position: 65% bottom calc(0px - var(--student-parallax));
    opacity: .25;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after { animation: none !important; }
}

/* Keep the supplied student portrait clearly visible within the first screen. */
.hero::before {
  background-position: right 1% calc(50% + var(--student-parallax));
}
@media (max-width: 1040px) {
  .hero::before {
    background-position: right -9% calc(48% + var(--student-parallax));
    opacity: .7;
  }
}
@media (max-width: 780px) {
  .hero::before {
    background-position: 68% calc(45% + var(--student-parallax));
    opacity: .42;
  }
}
@media (max-width: 520px) {
  .hero::before {
    background-position: 62% calc(43% + var(--student-parallax));
    opacity: .34;
  }
}

/* Cross-browser student-image placement. */
.hero::before {
  background-position: calc(100% + 45px) 52%;
}
@media (max-width: 1040px) {
  .hero::before { background-position: calc(100% + 110px) 54%; }
}
@media (max-width: 780px) {
  .hero::before { background-position: 58% 56%; }
}
@media (max-width: 520px) {
  .hero::before { background-position: 54% 55%; }
}


/* Faces-visible hero and exact header/footer identity refinement. */
:root {
  --blue: #35a9e7;
  --blue-2: #178dcc;
  --blue-dark: #075d9a;
  --yellow: #f7c934;
  --yellow-2: #e9ad08;
}

.hero {
  padding: 58px 0 70px;
  background: #dff4ff;
  border-bottom: 6px solid var(--yellow);
}
.hero::before {
  display: none !important;
}
.hero::after {
  inset: 0 !important;
  width: auto !important;
  height: auto !important;
  z-index: 0 !important;
  background-color: transparent !important;
  background-image:
    radial-gradient(circle at 13% 18%, rgba(255,255,255,.9) 0 5px, transparent 6px),
    radial-gradient(circle at 86% 20%, rgba(247,201,52,.34) 0 4px, transparent 5px),
    linear-gradient(rgba(53,169,231,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53,169,231,.08) 1px, transparent 1px) !important;
  background-size: 78px 78px, 92px 92px, 48px 48px, 48px 48px !important;
  opacity: 1 !important;
  animation: academicGridDrift 24s linear infinite !important;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(250px, .72fr) minmax(330px, .82fr);
  grid-template-areas:
    "copy students portal"
    "trust trust trust";
  column-gap: clamp(18px, 2.2vw, 30px);
  row-gap: 34px;
  align-items: stretch;
}
.hero-copy {
  grid-area: copy;
  min-width: 0;
  height: 100%;
  padding: clamp(25px, 3vw, 39px);
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(53,169,231,.27);
  box-shadow: 0 28px 70px rgba(7,93,154,.14);
  backdrop-filter: blur(12px);
}
.hero h1 {
  font-size: clamp(2.75rem, 4.8vw, 4.85rem);
}
.hero h1 span {
  color: var(--yellow-2);
  text-shadow: 0 2px 0 rgba(7,93,154,.08), 0 13px 30px rgba(233,173,8,.2);
}
.portal-card {
  grid-area: portal;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  margin: 0;
  padding: 30px 27px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(53,169,231,.34);
  box-shadow: 0 28px 72px rgba(7,93,154,.17), 0 0 0 6px rgba(247,201,52,.09);
}
.portal-card .form-grid { margin-top: 2px; }
.trust-row {
  grid-area: trust;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin-top: 0;
}
.trust-item {
  min-height: 168px;
  padding: 22px 17px;
  background: rgba(255,255,255,.96);
  border-color: rgba(53,169,231,.28);
}
.trust-item > .icon-box {
  left: auto !important;
  right: auto !important;
  transform: none;
}

.student-showcase {
  grid-area: students;
  position: relative;
  min-width: 0;
  min-height: 590px;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  isolation: isolate;
  border: 1px solid rgba(53,169,231,.27);
  border-radius: 34px;
  background: #bfeaff;
  box-shadow: 0 28px 70px rgba(7,93,154,.17), inset 0 0 0 8px rgba(255,255,255,.34);
}
.student-showcase::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: -1;
  border: 2px solid rgba(255,255,255,.82);
  border-radius: 25px;
  background: rgba(255,255,255,.18);
}
.student-showcase::after {
  content: "Academic confidence";
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 3;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 30px);
  padding: 9px 15px;
  color: #063968;
  border: 1px solid rgba(233,173,8,.45);
  border-radius: 999px;
  background: rgba(255,247,198,.93);
  box-shadow: 0 10px 25px rgba(7,93,154,.13);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: studentLabelFloat 4.2s ease-in-out infinite;
}
.student-cutout {
  position: relative;
  z-index: 2;
  width: 144%;
  max-width: none;
  height: auto;
  margin-left: -21%;
  margin-right: -23%;
  margin-bottom: 0;
  filter: saturate(1.08) contrast(1.035) drop-shadow(0 26px 25px rgba(6,43,91,.18));
  transform-origin: 50% 85%;
  animation: studentPortraitFloat 7s cubic-bezier(.45,0,.55,1) infinite alternate;
  will-change: transform;
}
.student-orbit {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}
.student-orbit-one {
  width: 205px;
  height: 205px;
  top: 24px;
  right: -66px;
  border: 30px solid rgba(247,201,52,.55);
  animation: studentOrbit 13s linear infinite;
}
.student-orbit-two {
  width: 125px;
  height: 125px;
  left: -46px;
  bottom: 115px;
  border: 20px solid rgba(255,255,255,.72);
  animation: studentOrbit 10s linear infinite reverse;
}
.student-dot-field {
  position: absolute;
  top: 55px;
  left: 27px;
  width: 66px;
  height: 66px;
  z-index: 0;
  opacity: .75;
  background-image: radial-gradient(circle, #178dcc 2px, transparent 2.5px);
  background-size: 13px 13px;
  animation: dotFieldDrift 6s ease-in-out infinite alternate;
}

/* The footer now uses the exact same logo asset and a non-white, high-contrast light-blue setting. */
.site-footer {
  color: #153f62;
  border-top: 6px solid var(--yellow);
  background: #cceeff;
}
.site-footer::before {
  border-color: rgba(23,141,204,.15);
}
.footer-about .brand {
  width: fit-content;
  max-width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.footer-about .brand-logo {
  width: 242px;
  height: auto;
  filter: none;
  opacity: 1;
}
.footer-about p,
.footer-col a,
.footer-col span {
  color: #355f7d;
}
.footer-col h3 {
  color: #063968;
}
.footer-col a:hover {
  color: #9b6f00;
}
.footer-bottom {
  color: #466f8b;
  border-top-color: rgba(7,93,154,.18);
}

@keyframes academicGridDrift {
  from { background-position: 0 0, 0 0, 0 0, 0 0; }
  to { background-position: 78px 28px, -92px 36px, 48px 48px, 48px 48px; }
}
@keyframes studentPortraitFloat {
  0% { transform: translate3d(0, 8px, 0) scale(1.01); }
  50% { transform: translate3d(-3px, -3px, 0) scale(1.025); }
  100% { transform: translate3d(4px, -10px, 0) scale(1.04); }
}
@keyframes studentOrbit { to { transform: rotate(360deg); } }
@keyframes dotFieldDrift {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(9px,-8px,0); }
}
@keyframes studentLabelFloat {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-5px); }
}

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(225px, .62fr) minmax(310px, .76fr);
    column-gap: 18px;
  }
  .hero h1 { font-size: clamp(2.65rem, 4.6vw, 4.25rem); }
  .student-showcase { min-height: 570px; }
  .student-cutout { width: 152%; margin-left: -26%; margin-right: -26%; }
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
    grid-template-areas:
      "copy portal"
      "students portal"
      "trust trust";
  }
  .student-showcase {
    min-height: 390px;
  }
  .student-cutout {
    width: min(118%, 560px);
    margin: 0 -9% -2%;
  }
  .portal-card { align-self: stretch; }
  .trust-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .hero { padding: 38px 0 54px; }
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "students"
      "portal"
      "trust";
    gap: 20px;
  }
  .student-showcase {
    min-height: 440px;
    max-height: 500px;
  }
  .student-cutout {
    width: min(120%, 620px);
    margin: 0 -10% -2%;
  }
  .trust-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .student-showcase {
    min-height: 390px;
    border-radius: 27px;
  }
  .student-cutout {
    width: 132%;
    margin-left: -16%;
    margin-right: -16%;
  }
  .student-showcase::after { font-size: .64rem; }
  .trust-row { grid-template-columns: 1fr; }
  .footer-about .brand { justify-content: flex-start; }
  .footer-about .brand-logo { width: min(255px, 100%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero::after,
  .student-cutout,
  .student-orbit,
  .student-dot-field,
  .student-showcase::after { animation: none !important; }
}

/* Ensure both supplied student faces remain fully inside the visual frame. */
.student-cutout {
  width: 112%;
  margin-left: -6%;
  margin-right: -6%;
}
@media (max-width: 1180px) {
  .student-cutout { width: 116%; margin-left: -8%; margin-right: -8%; }
}
@media (max-width: 1040px) {
  .student-cutout { width: min(108%, 530px); margin-left: -4%; margin-right: -4%; }
}
@media (max-width: 780px) {
  .student-cutout { width: min(106%, 560px); margin-left: -3%; margin-right: -3%; }
}
@media (max-width: 520px) {
  .student-cutout { width: 112%; margin-left: -6%; margin-right: -6%; }
}

/* ==========================================================================
   Reference-matched animations (theacademiccoach.co.uk)
   Ported keyframes: ring, heartsBeat, shake, pulse-black, shine,
   blinkingTextModal, spin, fadeInUp (staggered dropdown reveal).
   ========================================================================== */

@keyframes ref-ring {
  0%, 43%, 100% { transform: rotate(0); }
  1%, 9% { transform: rotate(30deg); }
  3%, 11% { transform: rotate(-28deg); }
  5% { transform: rotate(34deg); }
  7% { transform: rotate(-32deg); }
  13% { transform: rotate(26deg); }
  15% { transform: rotate(-24deg); }
  17% { transform: rotate(22deg); }
  19% { transform: rotate(-20deg); }
  21% { transform: rotate(18deg); }
  23% { transform: rotate(-16deg); }
  25% { transform: rotate(14deg); }
  27% { transform: rotate(-12deg); }
  29% { transform: rotate(10deg); }
  31% { transform: rotate(-8deg); }
  33% { transform: rotate(6deg); }
  35% { transform: rotate(-4deg); }
  37% { transform: rotate(2deg); }
  39% { transform: rotate(-1deg); }
}

@keyframes ref-heartsBeat {
  0%, 28%, 70% { transform: scale(1); }
  14% { transform: scale(1.05); }
  42% { transform: scale(1.1); }
}

@keyframes ref-shake {
  0%, 8%, 20%, 29%, 35%, 39%, 55%, 70%, 100% { transform: rotate(0); }
  12% { transform: rotate(42deg); }
  16% { transform: rotate(-35deg); }
  23% { transform: rotate(28deg); }
  26% { transform: rotate(-20deg); }
  31% { transform: rotate(16deg); }
  33% { transform: rotate(-12deg); }
  37% { transform: rotate(-6deg); }
  40% { transform: rotate(6deg); }
  44% { transform: rotate(-3deg); }
  49% { transform: rotate(2deg); }
  62% { transform: rotate(1deg); }
}

@keyframes ref-pulse-black {
  0% { transform: scale(.95); box-shadow: 0 0 0 0 rgba(230, 174, 24, .7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px transparent; }
  100% { transform: scale(.95); box-shadow: 0 0 0 0 transparent; }
}

@keyframes ref-shine {
  0% { background-position: 150% 0; }
  100% { background-position: -50% 0; }
}

@keyframes ref-blinkingText {
  0%, 49%, 100% { color: var(--navy, #062b5b); }
  60%, 99% { color: transparent; }
}

@keyframes ref-spin {
  0% { transform: rotate(0); }
  100% { transform: rotate(360deg); }
}

@keyframes ref-fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Heartbeat pulse on the primary calls-to-action, as on the reference site. */
.hero-actions .btn-primary,
.cta-card .btn-primary,
.nav-actions .btn-primary {
  animation: ref-heartsBeat 1s ease-in-out infinite;
}

/* Shine sweep across primary buttons. */
.btn-primary {
  background-image: linear-gradient(to right, transparent 33%, rgba(255, 255, 255, .3) 50%, transparent 66%);
  background-size: 300% 100%;
  animation-name: ref-shine;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
.hero-actions .btn-primary,
.cta-card .btn-primary,
.nav-actions .btn-primary {
  animation-name: ref-heartsBeat, ref-shine;
  animation-duration: 1s, 2s;
  animation-timing-function: ease-in-out, linear;
  animation-iteration-count: infinite, infinite;
}

/* Notification-bell ring on chat / message icons. */
.trust-item:last-child .icon-box svg,
.contact-item .icon-box svg,
.ref-bell {
  transform-origin: 50% 4px;
  animation: ref-ring 4s ease-in-out .7s infinite;
}

/* Shaking accent used beside urgent copy. */
.ref-shake {
  display: inline-block;
  margin-right: 8px;
  animation: ref-shake 5s infinite;
}

/* Pulsing blob dot, as on the reference header status. */
.status-dot,
.ref-blob {
  animation: ref-pulse-black 1s infinite;
}

/* Blinking offer keyword. */
.offer-badge span {
  animation: ref-blinkingText .8s infinite;
}

/* Staggered fade-up for the services dropdown items. */
.services-dropdown a {
  opacity: 0;
}
.nav-dropdown.open .services-dropdown a,
.nav-dropdown:hover .services-dropdown a {
  animation: ref-fadeInUp .3s ease forwards;
}
.nav-dropdown.open .services-dropdown a:nth-child(1),
.nav-dropdown:hover .services-dropdown a:nth-child(1) { animation-delay: .05s; }
.nav-dropdown.open .services-dropdown a:nth-child(2),
.nav-dropdown:hover .services-dropdown a:nth-child(2) { animation-delay: .1s; }
.nav-dropdown.open .services-dropdown a:nth-child(3),
.nav-dropdown:hover .services-dropdown a:nth-child(3) { animation-delay: .15s; }
.nav-dropdown.open .services-dropdown a:nth-child(4),
.nav-dropdown:hover .services-dropdown a:nth-child(4) { animation-delay: .2s; }
.nav-dropdown.open .services-dropdown a:nth-child(5),
.nav-dropdown:hover .services-dropdown a:nth-child(5) { animation-delay: .25s; }
.nav-dropdown.open .services-dropdown a:nth-child(6),
.nav-dropdown:hover .services-dropdown a:nth-child(6) { animation-delay: .3s; }
.nav-dropdown.open .services-dropdown a:nth-child(7),
.nav-dropdown:hover .services-dropdown a:nth-child(7) { animation-delay: .35s; }

/* Spinner shown while a form is submitting. */
button.is-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
button.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ref-spin 2s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero-actions .btn-primary,
  .cta-card .btn-primary,
  .nav-actions .btn-primary,
  .btn-primary,
  .trust-item:last-child .icon-box svg,
  .contact-item .icon-box svg,
  .ref-bell,
  .ref-shake,
  .status-dot,
  .ref-blob,
  .offer-badge span,
  .services-dropdown a,
  button.is-loading::after { animation: none !important; }
  .services-dropdown a { opacity: 1; }
}
.btn-primary:hover {
  background-color: #f8d45f;
  background-image: linear-gradient(to right, transparent 33%, rgba(255, 255, 255, .3) 50%, transparent 66%);
  background-size: 300% 100%;
}

/* Scroll reveal motion tuning (matches reference video) */
[data-aos] {
  transition-property: transform, opacity;
  will-change: transform, opacity;
}
[data-aos="fade-up"] {
  transform: translate3d(0, 60px, 0);
}
[data-aos="fade-up"].aos-animate {
  transform: translate3d(0, 0, 0);
}

/* Supplied student photographs on inner-page heroes only. */
.page-hero.has-student-photo .container {
  position: relative;
  z-index: 1;
}
.page-hero.has-student-photo .eyebrow,
.page-hero.has-student-photo h1,
.page-hero.has-student-photo p,
.page-hero.has-student-photo .btn {
  position: relative;
  z-index: 3;
}
.page-hero.has-student-photo h1 { max-width: 690px; }
.page-hero.has-student-photo p { max-width: 630px; }
.page-hero-student {
  position: absolute;
  right: -8px;
  bottom: -70px;
  z-index: 2;
  width: clamp(245px, 28vw, 410px);
  height: calc(100% + 62px);
  pointer-events: none;
  overflow: visible;
}
.page-hero-student::before {
  content: "";
  position: absolute;
  right: 3%;
  bottom: 52px;
  width: 78%;
  aspect-ratio: 1;
  border: 22px solid rgba(245, 200, 66, .28);
  border-radius: 50%;
  background: rgba(190, 232, 254, .38);
  box-shadow: 0 24px 55px rgba(35, 143, 206, .16);
}
.page-hero-student img {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  filter: saturate(1.02) contrast(1.02) drop-shadow(0 24px 22px rgba(6,43,91,.2));
  transform-origin: 50% 100%;
  animation: innerStudentFloat 6.8s ease-in-out infinite alternate;
}
.page-hero.photo-girl .page-hero-student {
  right: -42px;
  width: clamp(310px, 34vw, 500px);
}
.page-hero.photo-man .page-hero-student {
  right: 20px;
  width: clamp(220px, 23vw, 330px);
}
@keyframes innerStudentFloat {
  from { transform: translate3d(0, 5px, 0) scale(1); }
  to { transform: translate3d(0, -7px, 0) scale(1.018); }
}
@media (max-width: 1120px) {
  .page-hero.has-student-photo h1 { max-width: 610px; }
  .page-hero.has-student-photo p { max-width: 560px; }
  .page-hero.photo-girl .page-hero-student { right: -95px; }
  .page-hero.photo-man .page-hero-student { right: -4px; }
}
@media (max-width: 900px) {
  .page-hero.has-student-photo h1,
  .page-hero.has-student-photo p { max-width: 100%; }
  .page-hero-student,
  .page-hero.photo-girl .page-hero-student,
  .page-hero.photo-man .page-hero-student {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 440px);
    height: 290px;
    margin: 25px auto -68px;
  }
  .page-hero.photo-man .page-hero-student { width: min(100%, 300px); }
  .page-hero-student::before { right: 10%; bottom: 32px; width: 68%; }
}
@media (max-width: 520px) {
  .page-hero-student,
  .page-hero.photo-girl .page-hero-student,
  .page-hero.photo-man .page-hero-student {
    height: 245px;
    margin-top: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero-student img { animation: none !important; }
}


/* Inner-page student pair refinement: homepage remains unchanged. */
.page-hero.student-background.has-student-photo {
  background: #eef9ff;
}
.page-hero.student-background.has-student-photo::before {
  inset: 0;
  background-image:
    radial-gradient(circle at 84% 24%, rgba(245, 200, 66, .30) 0 7%, transparent 7.4%),
    radial-gradient(circle at 92% 78%, rgba(72, 174, 232, .24) 0 12%, transparent 12.5%),
    radial-gradient(circle at 73% 64%, rgba(255, 255, 255, .72) 0 18%, transparent 18.5%),
    linear-gradient(118deg, #f8fdff 0%, #eff9ff 56%, #dff3ff 100%);
  background-position: center;
  background-size: cover;
  opacity: 1;
  transform: none;
  animation: none;
}
.page-hero.student-background.has-student-photo::after {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.88) 52%, rgba(255,255,255,.20) 75%, rgba(255,255,255,.06) 100%),
    radial-gradient(circle at 81% 50%, rgba(255,255,255,.52), transparent 38%);
}
.page-hero-student-pair {
  right: -12px;
  bottom: -72px;
  width: clamp(450px, 42vw, 560px);
  height: calc(100% + 70px);
}
.page-hero-student-pair::before {
  right: 1%;
  bottom: 54px;
  width: 88%;
  height: 66%;
  aspect-ratio: auto;
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 38px 38px 0 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.70), rgba(226,246,255,.48)),
    repeating-linear-gradient(90deg, transparent 0 44px, rgba(72,174,232,.07) 44px 45px),
    repeating-linear-gradient(0deg, transparent 0 44px, rgba(72,174,232,.07) 44px 45px);
  box-shadow: 0 30px 70px rgba(35,143,206,.14);
  backdrop-filter: blur(5px);
}
.page-hero-student-pair img {
  max-width: none;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  animation: innerStudentFloat 6.8s ease-in-out infinite alternate;
}
.page-hero-student-pair .student-pair-girl {
  left: 0;
  right: auto;
  bottom: 0;
  width: 56%;
  height: 94%;
}
.page-hero-student-pair .student-pair-man {
  left: auto;
  right: 0;
  bottom: 0;
  width: 34%;
  height: 92%;
  animation-delay: -.9s;
}
.page-hero.photo-girl .page-hero-student-pair,
.page-hero.photo-man .page-hero-student-pair {
  right: -12px;
  width: clamp(450px, 42vw, 560px);
}
@media (max-width: 1120px) {
  .page-hero.photo-girl .page-hero-student-pair,
  .page-hero.photo-man .page-hero-student-pair {
    right: -42px;
    width: clamp(420px, 43vw, 515px);
  }
  .page-hero.has-student-photo h1 { max-width: 570px; }
  .page-hero.has-student-photo p { max-width: 540px; }
}
@media (max-width: 900px) {
  .page-hero.student-background.has-student-photo::after {
    background: linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.72) 58%, rgba(255,255,255,.18) 100%);
  }
  .page-hero-student-pair,
  .page-hero.photo-girl .page-hero-student-pair,
  .page-hero.photo-man .page-hero-student-pair {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 520px);
    height: 320px;
    margin: 28px auto -68px;
  }
  .page-hero-student-pair::before {
    right: 6%;
    bottom: 28px;
    width: 88%;
    height: 70%;
  }
  .page-hero-student-pair .student-pair-girl { width: 56%; height: 96%; }
  .page-hero-student-pair .student-pair-man { width: 34%; height: 92%; }
}
@media (max-width: 520px) {
  .page-hero-student-pair,
  .page-hero.photo-girl .page-hero-student-pair,
  .page-hero.photo-man .page-hero-student-pair {
    width: min(100%, 390px);
    height: 248px;
    margin-top: 22px;
  }
  .page-hero-student-pair .student-pair-girl { width: 57%; height: 95%; }
  .page-hero-student-pair .student-pair-man { width: 33%; height: 90%; }
}

/* Inner-page hero spacing adjustment: enlarge and raise the supplied students only. */
@media (min-width: 901px) {
  .page-hero-student-pair,
  .page-hero.photo-girl .page-hero-student-pair,
  .page-hero.photo-man .page-hero-student-pair {
    top: -36px;
    right: -34px;
    bottom: auto;
    width: clamp(540px, 47vw, 650px);
    height: calc(100% + 38px);
  }

  .page-hero.has-student-photo h1 { max-width: 540px; }
  .page-hero.has-student-photo p { max-width: 480px; }

  .page-hero-student-pair::before {
    top: 24px;
    right: 0;
    bottom: 8px;
    width: 94%;
    height: auto;
  }

  .page-hero-student-pair .student-pair-girl {
    left: -1%;
    bottom: -4px;
    width: 60%;
    height: 100%;
  }

  .page-hero-student-pair .student-pair-man {
    right: 1%;
    bottom: -4px;
    width: 38%;
    height: 100%;
  }
}

@media (max-width: 900px) {
  .page-hero-student-pair,
  .page-hero.photo-girl .page-hero-student-pair,
  .page-hero.photo-man .page-hero-student-pair {
    height: 350px;
    margin-top: 8px;
    margin-bottom: -62px;
  }

  .page-hero-student-pair::before {
    top: 8px;
    right: 3%;
    bottom: 18px;
    width: 94%;
    height: auto;
  }

  .page-hero-student-pair .student-pair-girl {
    left: 0;
    bottom: -2px;
    width: 60%;
    height: 100%;
  }

  .page-hero-student-pair .student-pair-man {
    right: 1%;
    bottom: -2px;
    width: 37%;
    height: 100%;
  }
}

@media (max-width: 520px) {
  .page-hero-student-pair,
  .page-hero.photo-girl .page-hero-student-pair,
  .page-hero.photo-man .page-hero-student-pair {
    height: 286px;
    margin-top: 5px;
  }
}


/* Contact page requested update: replace the paired boy and girl with one adviser image only. */
.page-hero-student-single {
  right: -16px;
  top: -2px;
  bottom: auto;
  width: clamp(430px, 38vw, 555px);
  height: calc(100% + 18px);
  overflow: visible;
}
.page-hero-student-single::before {
  top: 2px;
  right: 0;
  bottom: 2px;
  width: 90%;
  height: auto;
  border-radius: 36px 36px 0 0;
  border: 1px solid rgba(255,255,255,.92);
  background:
    linear-gradient(135deg, rgba(255,255,255,.74), rgba(226,246,255,.5)),
    repeating-linear-gradient(90deg, transparent 0 44px, rgba(72,174,232,.07) 44px 45px),
    repeating-linear-gradient(0deg, transparent 0 44px, rgba(72,174,232,.07) 44px 45px);
  box-shadow: 0 30px 70px rgba(35,143,206,.14);
}
.page-hero-student-single .contact-hero-adviser {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: -34px;
  width: auto;
  height: 126%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  will-change: transform;
  filter: saturate(1.02) contrast(1.02) drop-shadow(0 24px 22px rgba(6,43,91,.2));
  animation: contactHeroBreath 5.8s ease-in-out infinite;
}
@keyframes contactHeroBreath {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.015); }
}
@media (max-width: 1120px) {
  .page-hero-student-single {
    right: -8px;
    width: clamp(390px, 38vw, 500px);
  }
}
@media (max-width: 900px) {
  .page-hero-student-single {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    width: min(100%, 420px);
    height: 380px;
    margin: 8px auto -62px;
  }
  .page-hero-student-single::before {
    top: 4px;
    right: 3%;
    bottom: 6px;
    width: 94%;
    height: auto;
  }
  .page-hero-student-single .contact-hero-adviser {
    bottom: -26px;
    height: 124%;
    max-width: none;
  }
}
@media (max-width: 520px) {
  .page-hero-student-single {
    width: min(100%, 350px);
    height: 320px;
    margin-top: 5px;
  }
  .page-hero-student-single .contact-hero-adviser {
    bottom: -22px;
    height: 122%;
  }
}

/* Final inner-hero alignment: clearer service heading and slightly raised students. */
.services-hero-title {
  max-width: clamp(420px, 46vw, 560px) !important;
  font-size: clamp(2.25rem, 4.1vw, 3.5rem) !important;
  line-height: 1.06 !important;
  letter-spacing: -.045em !important;
  text-wrap: pretty;
}

@media (min-width: 901px) {
  .page-hero-student-pair,
  .page-hero.photo-girl .page-hero-student-pair,
  .page-hero.photo-man .page-hero-student-pair {
    top: -52px;
    right: -55px;
    width: clamp(500px, 44vw, 620px);
    height: calc(100% + 38px);
  }

  .page-hero.has-student-photo h1 {
    max-width: clamp(420px, 46vw, 560px);
  }

  .page-hero.has-student-photo p {
    max-width: clamp(400px, 43vw, 520px);
  }

  .page-hero-student-pair .student-pair-girl,
  .page-hero-student-pair .student-pair-man {
    bottom: 8px;
  }
}

@media (max-width: 900px) {
  .services-hero-title {
    max-width: 100% !important;
    font-size: clamp(2.15rem, 8.2vw, 3.15rem) !important;
    line-height: 1.08 !important;
  }

  .page-hero-student-pair,
  .page-hero.photo-girl .page-hero-student-pair,
  .page-hero.photo-man .page-hero-student-pair {
    margin-top: 0;
  }

  .page-hero-student-pair .student-pair-girl,
  .page-hero-student-pair .student-pair-man {
    bottom: 12px;
  }
}

/* Keep inner-page hero headings in natural paragraph-style lines; homepage unchanged. */
.page-hero h1 .motion-word {
  display: inline-block;
}


/* Request update: larger first-order offer, sign-up panel copy, and compact homepage form. */
.offer-badge {
  font-size: 1rem;
  padding: 10px 16px;
  gap: 10px;
  line-height: 1.18;
}
.offer-badge span {
  min-width: 74px;
  font-size: .78rem;
  padding: 5px 10px;
}
.portal-card .offer-badge {
  max-width: fit-content;
}
.review-card blockquote {
  font-size: 1rem;
  line-height: 1.55;
}
.reviewer strong {
  display: block;
}


/* Review rating display requested for testimonial cards. */
.review-stars {
  margin-top: 10px;
  color: #e6ae18;
  font-size: 1.08rem;
  line-height: 1;
  letter-spacing: .12em;
  text-shadow: 0 2px 10px rgba(230,174,24,.16);
}
.review-card .review-stars + blockquote {
  margin-top: 16px;
}


/* Services hero: supplied pointing student replaces the previous pair. */
.page-hero .services-hero-girl {
  position: absolute;
  top: -14px;
  right: -10px;
  bottom: auto;
  width: clamp(500px, 42vw, 610px);
  height: calc(100% + 16px);
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}
.page-hero .services-hero-girl::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 18%;
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 38px 38px 0 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.72), rgba(226,246,255,.50)),
    repeating-linear-gradient(90deg, transparent 0 44px, rgba(72,174,232,.07) 44px 45px),
    repeating-linear-gradient(0deg, transparent 0 44px, rgba(72,174,232,.07) 44px 45px);
  box-shadow: 0 30px 70px rgba(35,143,206,.14);
  backdrop-filter: blur(5px);
}
.page-hero .services-hero-girl img {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  filter: saturate(1.02) contrast(1.02) drop-shadow(0 22px 20px rgba(6,43,91,.16));
  transform-origin: 50% 100%;
  animation: innerStudentFloat 6.8s ease-in-out infinite alternate;
}
@media (max-width: 1120px) {
  .page-hero .services-hero-girl {
    right: -48px;
    width: clamp(440px, 44vw, 540px);
  }
}
@media (max-width: 900px) {
  .page-hero .services-hero-girl {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: min(100%, 540px);
    height: 330px;
    margin: 24px auto -68px;
  }
  .page-hero .services-hero-girl::before {
    top: 0;
    right: 2%;
    bottom: 0;
    left: 12%;
  }
}
@media (max-width: 520px) {
  .page-hero .services-hero-girl {
    width: min(100%, 390px);
    height: 246px;
    margin-top: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero .services-hero-girl img { animation: none !important; }
}


/* About page hero: replace the boy and girl with the supplied presenting girl only. */
.about-single-figure .about-hero-single {
  position: absolute;
  top: -8px;
  right: 88px;
  bottom: auto;
  z-index: 2;
  width: clamp(360px, 33vw, 500px);
  height: calc(100% + 8px);
  pointer-events: none;
  overflow: visible;
}
.about-single-figure .about-hero-single::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 0;
  width: 88%;
  height: calc(100% - 22px);
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 34px 34px 0 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.72), rgba(226,246,255,.48)),
    repeating-linear-gradient(90deg, transparent 0 44px, rgba(72,174,232,.07) 44px 45px),
    repeating-linear-gradient(0deg, transparent 0 44px, rgba(72,174,232,.07) 44px 45px);
  box-shadow: 0 30px 70px rgba(35,143,206,.14);
  backdrop-filter: blur(5px);
}
.about-single-figure .about-hero-single img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  filter: saturate(1.02) contrast(1.02) drop-shadow(0 24px 22px rgba(6,43,91,.18));
  transform-origin: 50% 100%;
  animation: innerStudentFloat 6.8s ease-in-out infinite alternate;
}
@media (max-width: 1120px) {
  .about-single-figure .about-hero-single {
    right: 42px;
    width: clamp(330px, 34vw, 440px);
  }
}
@media (max-width: 900px) {
  .about-single-figure .about-hero-single {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: min(100%, 420px);
    height: 340px;
    margin: 26px auto -68px;
  }
  .about-single-figure .about-hero-single::before {
    top: 18px;
    right: 4%;
    width: 88%;
    height: calc(100% - 22px);
  }
}
@media (max-width: 520px) {
  .about-single-figure .about-hero-single {
    width: min(100%, 360px);
    height: 285px;
    margin-top: 22px;
  }
}


/* Final requested alignment fixes: services background top-to-bottom, about girl moved left. */
.page-hero .services-hero-girl {
  top: 0 !important;
  right: -6px !important;
  bottom: auto !important;
  width: clamp(500px, 42vw, 610px) !important;
  height: 100% !important;
}
.page-hero .services-hero-girl::before {
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 18% !important;
  width: auto !important;
  height: auto !important;
  border-radius: 38px 38px 0 0 !important;
}
.page-hero .services-hero-girl img {
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: right bottom !important;
}
.about-single-figure .about-hero-single {
  top: 0 !important;
  right: 150px !important;
}
.about-single-figure .about-hero-single img {
  object-position: center bottom !important;
}
@media (max-width: 1120px) {
  .page-hero .services-hero-girl {
    right: -36px !important;
    width: clamp(440px, 44vw, 540px) !important;
  }
  .about-single-figure .about-hero-single {
    right: 80px !important;
  }
}
@media (max-width: 900px) {
  .page-hero .services-hero-girl,
  .about-single-figure .about-hero-single {
    top: auto !important;
    right: auto !important;
    height: 330px !important;
  }
  .page-hero .services-hero-girl::before {
    left: 12% !important;
    right: 2% !important;
  }
}
@media (max-width: 520px) {
  .page-hero .services-hero-girl { height: 246px !important; }
  .about-single-figure .about-hero-single { height: 285px !important; }
}

/* USER FINAL REQUEST OVERRIDES */
/* Services: make the supporting background match the girl from top to bottom, including the trouser cut area. */
.page-hero .services-hero-girl {
  position: absolute !important;
  top: 0 !important;
  right: 4px !important;
  bottom: auto !important;
  width: clamp(450px, 36vw, 540px) !important;
  height: 100% !important;
  z-index: 2 !important;
  overflow: visible !important;
}
.page-hero .services-hero-girl::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  right: 6px !important;
  bottom: 0 !important;
  left: 18% !important;
  width: auto !important;
  height: auto !important;
  border: 1px solid rgba(255,255,255,.92) !important;
  border-radius: 38px 38px 0 0 !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.74), rgba(226,246,255,.50)),
    repeating-linear-gradient(90deg, transparent 0 44px, rgba(72,174,232,.07) 44px 45px),
    repeating-linear-gradient(0deg, transparent 0 44px, rgba(72,174,232,.07) 44px 45px) !important;
  box-shadow: 0 30px 70px rgba(35,143,206,.14) !important;
  backdrop-filter: blur(5px) !important;
}
.page-hero .services-hero-girl img {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  width: auto !important;
  min-width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: right bottom !important;
}

/* About: keep the girl centred in the section visual area. */
.page-hero.about-single-figure .about-hero-single {
  position: absolute !important;
  top: 0 !important;
  right: 115px !important;
  left: auto !important;
  bottom: auto !important;
  width: clamp(350px, 31vw, 470px) !important;
  height: calc(100% + 8px) !important;
}
.page-hero.about-single-figure .about-hero-single::before {
  left: 8% !important;
  right: 8% !important;
  width: auto !important;
}
.page-hero.about-single-figure .about-hero-single img {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center bottom !important;
}
@media (max-width: 1120px) {
  .page-hero .services-hero-girl {
    right: -18px !important;
    width: clamp(410px, 39vw, 500px) !important;
  }
  .page-hero.about-single-figure .about-hero-single {
    right: 72px !important;
    width: clamp(320px, 31vw, 420px) !important;
  }
}
@media (max-width: 900px) {
  .page-hero .services-hero-girl,
  .page-hero.about-single-figure .about-hero-single {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    width: min(100%, 540px) !important;
    height: 330px !important;
    margin: 24px auto -68px !important;
  }
  .page-hero .services-hero-girl::before {
    top: 0 !important;
    right: 2% !important;
    bottom: 0 !important;
    left: 14% !important;
  }
  .page-hero.about-single-figure .about-hero-single::before {
    left: 8% !important;
    right: 8% !important;
    top: 18px !important;
    height: calc(100% - 22px) !important;
  }
}
@media (max-width: 520px) {
  .page-hero .services-hero-girl {
    width: min(100%, 390px) !important;
    height: 246px !important;
  }
  .page-hero.about-single-figure .about-hero-single {
    width: min(100%, 360px) !important;
    height: 285px !important;
  }
}

/* FINAL POSITION REFINEMENT: move only the Services girl; move the full About visual right. */
@media (min-width: 901px) {
  .page-hero .services-hero-girl img {
    top: -16px !important;
    bottom: auto !important;
    height: calc(100% + 16px) !important;
  }

  .page-hero.about-single-figure .about-hero-single {
    right: 82px !important;
  }
}

@media (min-width: 901px) and (max-width: 1120px) {
  .page-hero.about-single-figure .about-hero-single {
    right: 42px !important;
  }
}

/* Homepage statistics section and compact enquiry forms. */
.statistics-section {
  position: relative;
  padding: 82px 0 78px;
  background: #fff;
  border-block: 1px solid rgba(35,143,206,.1);
  overflow: hidden;
}
.statistics-section::before,
.statistics-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.statistics-section::before {
  width: 250px;
  height: 250px;
  left: -145px;
  top: -125px;
  border: 42px solid rgba(53,169,231,.06);
}
.statistics-section::after {
  width: 210px;
  height: 210px;
  right: -125px;
  bottom: -125px;
  border: 36px solid rgba(247,201,52,.09);
}
.statistics-section .container { position: relative; z-index: 1; }
.statistics-heading { text-align: center; }
.statistics-heading h2 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(2.25rem, 4.2vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: -.045em;
}
.statistics-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 42px);
  margin-top: 52px;
}
.stat-item {
  min-width: 0;
  padding: 10px 7px;
  text-align: center;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.stat-item:hover { transform: translateY(-6px); }
.stat-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto 17px;
  color: #f4b400;
  border-radius: 18px;
  background: #fff8d9;
  box-shadow: 0 11px 24px rgba(230,174,24,.12);
}
.stat-icon svg { width: 31px; height: 31px; }
.stat-value {
  display: block;
  color: #1a1d21;
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  line-height: 1;
  letter-spacing: -.035em;
}
.stat-label {
  display: block;
  max-width: 185px;
  margin: 9px auto 0;
  color: #737b84;
  font-size: 1rem;
  line-height: 1.35;
}
.statistics-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 46px;
}
.statistics-actions .btn {
  min-width: 205px;
  min-height: 47px;
  justify-content: center;
  gap: 10px;
  padding-inline: 22px;
  font-size: .98rem;
}
.statistics-chat-btn {
  color: #151a20;
  background: var(--yellow);
  border-color: #e8b62a;
  box-shadow: 0 12px 26px rgba(230,174,24,.22);
}
.statistics-chat-btn:hover {
  color: #151a20;
  background: #f8d45f;
  box-shadow: 0 18px 34px rgba(230,174,24,.28);
}
.statistics-whatsapp-btn {
  color: #fff;
  background: #4caf7c;
  border-color: #429d6e;
  box-shadow: 0 12px 26px rgba(76,175,124,.2);
}
.statistics-whatsapp-btn:hover {
  color: #fff;
  background: #409f70;
  border-color: #388e63;
  box-shadow: 0 18px 34px rgba(76,175,124,.27);
}
.statistics-button-icon {
  position: relative;
  z-index: 1;
  width: 21px;
  height: 21px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}
.statistics-button-icon svg { width: 100%; height: 100%; }

/* Remove the unused vertical space around the compact homepage form. */
.hero .portal-card {
  align-self: stretch;
  height: auto;
  min-height: 0;
  justify-content: space-between;
  padding: 23px 27px;
}
.hero .portal-card .offer-badge { margin: 0 0 10px; }
.hero .portal-card h2 { margin: 0 0 15px; }
.hero .portal-card .form-grid { gap: 12px; margin-top: 0; }
.hero .portal-card .form-note { margin-top: 11px; }

.hero .portal-intro {
  padding: 15px 16px;
  border: 1px solid rgba(35,143,206,.16);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(234,247,255,.9), rgba(255,248,217,.72));
}
.hero .portal-intro strong {
  display: block;
  color: var(--heading);
  font-size: .96rem;
}
.hero .portal-intro p {
  margin: 6px 0 11px;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.5;
}
.hero .portal-intro-points {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.hero .portal-intro-points span {
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  color: #075a97;
  border: 1px solid rgba(35,143,206,.15);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  font-size: .69rem;
  font-weight: 800;
  line-height: 1;
}

/* Keep the simplified contact form balanced after removing two fields. */
.contact-grid .form-card .form-grid { gap: 16px; }
.contact-grid .form-card .form-note { margin-top: 13px; }

@media (max-width: 1040px) {
  .statistics-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero .portal-card { align-self: stretch; width: 100%; }
}
@media (max-width: 680px) {
  .statistics-section { padding: 66px 0 62px; }
  .statistics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; margin-top: 40px; }
  .statistics-actions { margin-top: 36px; }
  .statistics-actions .btn { width: min(100%, 330px); }
}
@media (max-width: 430px) {
  .statistics-grid { grid-template-columns: 1fr; gap: 22px; }
  .stat-item { padding-block: 6px; }
  .stat-label { margin-top: 7px; }
  .hero .portal-card { padding: 21px 20px; }
}


/* Homepage offer panel and refined statistics cards. */
.hero .hero-offer-copy {
  position: relative;
  overflow: hidden;
  color: #fff;
  border-color: rgba(255,255,255,.2);
  background:
    radial-gradient(circle at 92% 18%, rgba(247,201,52,.2), transparent 24%),
    linear-gradient(135deg, #063968 0%, #075d9a 58%, #178dcc 100%);
  box-shadow: 0 30px 75px rgba(6,57,104,.28);
}
.hero .hero-offer-copy::before {
  content: "";
  position: absolute;
  right: -82px;
  bottom: -92px;
  width: 250px;
  height: 250px;
  border: 34px solid rgba(255,255,255,.07);
  border-radius: 50%;
  pointer-events: none;
}
.hero .hero-offer-copy > * { position: relative; z-index: 1; }
.hero .hero-offer-copy .eyebrow {
  color: #fff7cf;
}
.hero .hero-offer-copy .eyebrow::before {
  background: var(--yellow);
}
.hero .hero-offer-copy h1 {
  margin-top: 12px;
  color: #fff;
  font-size: clamp(2.55rem, 4.25vw, 4.5rem);
  line-height: .98;
}
.hero .hero-offer-copy h1 span {
  display: inline;
  color: var(--yellow);
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .14em;
  text-decoration-color: var(--yellow);
  text-shadow: none;
}
.hero .hero-offer-copy .hero-text {
  max-width: 760px;
  margin-top: 22px;
  color: rgba(255,255,255,.94);
  font-size: 1rem;
  line-height: 1.58;
}
.hero-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 18px;
  margin-top: 25px;
}
.hero-benefit {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: .9rem;
  line-height: 1.25;
}
.hero-benefit-icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 24px;
  color: #063968;
  border: 1px solid rgba(255,255,255,.44);
  border-radius: 7px;
  background: var(--yellow);
  box-shadow: 0 7px 15px rgba(0,0,0,.16);
  font-size: .78rem;
  font-weight: 950;
}
.hero .hero-offer-copy .hero-actions { margin-top: 28px; }
.hero .hero-offer-copy .hero-actions .btn {
  color: #07345f;
  border-color: #e6b82e;
  background: var(--yellow);
  box-shadow: 0 14px 28px rgba(0,0,0,.18);
}
.hero .hero-offer-copy .hero-actions .btn:hover {
  color: #07345f;
  background: #f9d758;
}

.statistics-section {
  background:
    radial-gradient(circle at 8% 18%, rgba(53,169,231,.12), transparent 24%),
    radial-gradient(circle at 93% 82%, rgba(247,201,52,.14), transparent 22%),
    linear-gradient(180deg, #f8fdff 0%, #edf8ff 100%);
}
.statistics-grid {
  gap: clamp(16px, 2vw, 24px);
}
.stat-item {
  position: relative;
  min-height: 205px;
  padding: 27px 18px 24px;
  border: 1px solid rgba(53,169,231,.2);
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 16px 38px rgba(7,93,154,.1);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, border-color .35s ease;
}
.stat-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow), var(--blue));
}
.stat-item::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -48px;
  width: 110px;
  height: 110px;
  border: 18px solid rgba(53,169,231,.06);
  border-radius: 50%;
  pointer-events: none;
}
.stat-item:hover {
  transform: translateY(-8px);
  border-color: rgba(53,169,231,.38);
  box-shadow: 0 23px 48px rgba(7,93,154,.16);
}
.stat-icon {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  color: #075d9a;
  border: 1px solid rgba(247,201,52,.45);
  background: linear-gradient(145deg, #fffbea, #fff3b9);
  box-shadow: 0 12px 26px rgba(230,174,24,.17);
}
.stat-value,
.stat-label { position: relative; z-index: 1; }
.stat-value {
  color: #063968;
  font-size: clamp(2rem, 3.2vw, 2.55rem);
}
.stat-label {
  color: #4f6f88;
  font-weight: 650;
}

@media (max-width: 1180px) {
  .hero .hero-offer-copy h1 { font-size: clamp(2.35rem, 4vw, 3.8rem); }
  .hero-benefit { font-size: .84rem; }
}
@media (max-width: 1040px) {
  .hero-benefits { grid-template-columns: 1fr 1fr; }
  .stat-item { min-height: 190px; }
}
@media (max-width: 680px) {
  .hero-benefits { grid-template-columns: 1fr; gap: 11px; }
  .hero .hero-offer-copy .hero-text { font-size: .94rem; }
  .stat-item { min-height: 185px; }
}


/* Requested homepage offer palette: aligned with the light Get started form. */
.hero .hero-offer-copy {
  color: var(--text);
  border-color: rgba(35,143,206,.28);
  background:
    radial-gradient(circle at 91% 15%, rgba(245,200,66,.18), transparent 25%),
    radial-gradient(circle at 8% 92%, rgba(72,174,232,.12), transparent 29%),
    linear-gradient(145deg, rgba(255,255,255,.99) 0%, rgba(242,250,255,.98) 100%);
  box-shadow: 0 28px 72px rgba(25,105,154,.17), 0 0 0 5px rgba(245,200,66,.055);
}
.hero .hero-offer-copy::before {
  border-color: rgba(72,174,232,.09);
}
.hero .hero-offer-copy .eyebrow {
  color: var(--blue-dark);
}
.hero .hero-offer-copy h1 {
  color: var(--heading);
}
.hero .hero-offer-copy h1 span {
  color: var(--blue-2);
  text-decoration-color: var(--yellow);
  text-shadow: 0 10px 26px rgba(35,143,206,.12);
}
.hero .hero-offer-copy .hero-text {
  color: var(--muted);
}
.hero-benefit {
  color: var(--navy);
}
.hero-benefit-icon {
  color: var(--navy);
  border-color: rgba(230,174,24,.42);
  background: #fff4bd;
  box-shadow: 0 7px 15px rgba(230,174,24,.16);
}
.hero .hero-offer-copy .hero-actions .btn {
  color: var(--navy);
  border-color: #e6b82e;
  background: var(--yellow);
  box-shadow: 0 14px 28px rgba(230,174,24,.22);
}
.hero .hero-offer-copy .hero-actions .btn:hover {
  color: var(--navy);
  background: #f9d758;
  box-shadow: 0 18px 36px rgba(230,174,24,.3);
}

/* Stronger, polished animation for the homepage statistics section. */
.statistics-section::before {
  animation: statisticsOrbit 15s linear infinite;
}
.statistics-section::after {
  animation: statisticsFloat 6s ease-in-out infinite;
}
.stat-item::before {
  background-size: 220% 100%;
  animation: statisticsStripe 3.4s linear infinite;
}
.stat-item::after {
  transform-origin: center;
  animation: statisticsRing 7.5s ease-in-out infinite;
}
.stat-icon {
  position: relative;
  animation: statisticsIconFloat 3.2s ease-in-out infinite;
}
.stat-icon::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(53,169,231,.24);
  border-radius: 22px;
  opacity: 0;
  transform: scale(.82);
  animation: statisticsIconPulse 3.2s ease-out infinite;
}
.stat-item:nth-child(2) .stat-icon,
.stat-item:nth-child(2) .stat-icon::after { animation-delay: -.55s; }
.stat-item:nth-child(3) .stat-icon,
.stat-item:nth-child(3) .stat-icon::after { animation-delay: -1.1s; }
.stat-item:nth-child(4) .stat-icon,
.stat-item:nth-child(4) .stat-icon::after { animation-delay: -1.65s; }
.stat-item:nth-child(5) .stat-icon,
.stat-item:nth-child(5) .stat-icon::after { animation-delay: -2.2s; }
.statistics-section.stats-in-view .stat-value {
  animation: statisticsNumberPop .7s cubic-bezier(.22,1,.36,1) both;
}
.statistics-section.stats-in-view .stat-item:nth-child(2) .stat-value { animation-delay: .08s; }
.statistics-section.stats-in-view .stat-item:nth-child(3) .stat-value { animation-delay: .16s; }
.statistics-section.stats-in-view .stat-item:nth-child(4) .stat-value { animation-delay: .24s; }
.statistics-section.stats-in-view .stat-item:nth-child(5) .stat-value { animation-delay: .32s; }
.stat-item:hover {
  transform: translateY(-11px) scale(1.025);
  box-shadow: 0 28px 56px rgba(7,93,154,.2);
}
.stat-item:hover .stat-icon {
  animation-play-state: paused;
  transform: rotate(-5deg) scale(1.09);
}

@keyframes statisticsStripe {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}
@keyframes statisticsIconFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-7px) rotate(3deg); }
}
@keyframes statisticsIconPulse {
  0% { opacity: .55; transform: scale(.82); }
  70%, 100% { opacity: 0; transform: scale(1.18); }
}
@keyframes statisticsRing {
  0%, 100% { transform: rotate(0deg) scale(1); opacity: 1; }
  50% { transform: rotate(12deg) scale(1.08); opacity: .62; }
}
@keyframes statisticsOrbit {
  to { transform: rotate(360deg); }
}
@keyframes statisticsFloat {
  0%, 100% { transform: translate3d(0,0,0) rotate(0); }
  50% { transform: translate3d(-16px,-14px,0) rotate(8deg); }
}
@keyframes statisticsNumberPop {
  0% { opacity: .25; transform: translateY(15px) scale(.86); }
  70% { opacity: 1; transform: translateY(-2px) scale(1.045); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .statistics-section::before,
  .statistics-section::after,
  .stat-item::before,
  .stat-item::after,
  .stat-icon,
  .stat-icon::after,
  .statistics-section.stats-in-view .stat-value {
    animation: none !important;
  }
}


/* Preserve floating animation on supplied contact hero image. */
.page-hero-student-single .contact-hero-adviser {
  animation-play-state: running;
}


/* Homepage subject coverage section */
.subject-coverage-section {
  background: linear-gradient(180deg, #f7fbff 0%, #edf7ff 100%);
}
.subject-coverage-panel {
  position: relative;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(35,143,206,.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 15%, rgba(245,200,66,.18), transparent 18%),
    radial-gradient(circle at 96% 72%, rgba(72,174,232,.16), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,.9), rgba(245,251,255,.96));
  box-shadow: 0 24px 55px rgba(25,105,154,.09);
  overflow: hidden;
}
.subject-coverage-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.42) 36%, transparent 70%);
  transform: translateX(-100%);
  animation: subjectSweep 10s ease-in-out infinite;
  pointer-events: none;
}
@keyframes subjectSweep {
  0%, 15% { transform: translateX(-120%); }
  40%, 100% { transform: translateX(120%); }
}
.subject-coverage-panel h2 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(2rem, 4.5vw, 3rem);
}
.subject-coverage-panel p {
  max-width: 780px;
  margin: 18px 0 0;
  color: #4d6f8c;
  font-size: 1.05rem;
}
.subject-pill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.subject-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 11px 18px;
  border: 1px solid rgba(31,70,114,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: #0b2853;
  font-weight: 760;
  box-shadow: 0 10px 20px rgba(25,105,154,.06);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
  animation: subjectFloat 5.6s ease-in-out infinite;
}
.subject-pill:nth-child(2n) { animation-delay: -.7s; }
.subject-pill:nth-child(3n) { animation-delay: -1.5s; }
.subject-pill:hover {
  transform: translateY(-4px);
  border-color: rgba(230,174,24,.32);
  background: #fffef6;
  box-shadow: 0 18px 28px rgba(25,105,154,.1);
}
.subject-more-toggle {
  display: none;
}
@keyframes subjectFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Homepage reviews slider */
.reviews-slider {
  --visible-slides: 3;
  position: relative;
}
.reviews-slider-viewport {
  overflow: hidden;
  padding: 4px 2px;
}
.reviews-slider-track {
  display: flex;
  gap: 20px;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
  will-change: transform;
}
.review-slide {
  flex: 0 0 calc((100% - (var(--visible-slides) - 1) * 20px) / var(--visible-slides));
}
.reviews-slider .review-card {
  height: 100%;
  min-height: 305px;
}
.reviews-slider-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}
.slider-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(35,143,206,.18);
  border-radius: 50%;
  background: #fff;
  color: var(--heading);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(25,105,154,.08);
  transition: transform .28s ease, background .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.slider-arrow:hover {
  transform: translateY(-3px);
  background: #fffbea;
  border-color: rgba(230,174,24,.34);
  box-shadow: 0 16px 28px rgba(25,105,154,.12);
}
.reviews-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.reviews-slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(13,79,132,.22);
  cursor: pointer;
  transition: width .25s ease, background .25s ease, transform .25s ease;
}
.reviews-slider-dots button.active {
  width: 34px;
  background: linear-gradient(90deg, #1e66c5, #e6ae18);
}
.reviews-slider-dots button:hover { transform: scale(1.08); }

@media (max-width: 900px) {
  .reviews-slider { --visible-slides: 2; }
}
@media (max-width: 680px) {
  .subject-pill-cloud { gap: 10px; }
  .subject-pill { padding: 10px 16px; font-size: .95rem; }
  .reviews-slider { --visible-slides: 1; }
  .reviews-slider .review-card { min-height: 280px; }
  .reviews-slider-footer { gap: 10px; }
  .slider-arrow { width: 44px; height: 44px; }
}

.pointer-glow {
  width: 88px;
  height: 88px;
  border-color: rgba(72, 174, 232, .14);
  background: rgba(72, 174, 232, .028);
}

@media (max-width: 780px) {
  :root { --section-space: 48px; }

  .hero { padding: 26px 0 40px; }
  .page-hero { padding: 38px 0 42px; }
  .hero-grid { gap: 15px; }
  .hero-copy { padding: 18px; }
  .hero .hero-offer-copy h1 { font-size: clamp(2.15rem, 10.5vw, 3.15rem); }
  .hero .hero-offer-copy .hero-text { margin-top: 17px; line-height: 1.5; }
  .hero-benefits { margin-top: 19px; gap: 9px; }
  .hero .hero-offer-copy .hero-actions { margin-top: 21px; }

  .student-showcase {
    min-height: 300px;
    max-height: 320px;
  }

  .hero .portal-card { padding: 20px; }
  .hero .portal-card .form-grid { gap: 10px; }

  .hero .trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .hero .trust-item {
    min-height: 128px;
    padding: 14px 10px;
    gap: 8px;
  }
  .hero .trust-item .icon-box {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }
  .hero .trust-item .icon-box svg { width: 21px; height: 21px; }
  .hero .trust-item strong { font-size: .82rem; line-height: 1.25; }
  .hero .trust-item span { font-size: .7rem; line-height: 1.35; }

  .section-heading { margin-bottom: 21px; }
  .section-heading .btn { margin-top: 14px; }
  .service-grid,
  .steps-grid,
  .process-list { gap: 13px; }

  .service-card {
    min-height: 220px;
    padding: 19px;
  }
  .service-code {
    width: 47px;
    height: 47px;
    margin-bottom: 15px;
    border-radius: 14px;
  }
  .service-card h3 { font-size: 1.04rem; }
  .service-card p { margin-top: 8px; font-size: .84rem; line-height: 1.48; }
  .card-link { padding-top: 15px; font-size: .8rem; }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .step {
    min-height: 0;
    padding: 62px 5px 4px;
  }
  .step-number {
    width: 49px;
    height: 49px;
  }

  .subject-coverage-panel { padding: 23px 20px; }
  .subject-coverage-panel p { margin-top: 13px; font-size: .94rem; }
  .subject-pill-cloud { margin-top: 20px; gap: 8px; }
  .subject-pill { min-height: 36px; padding: 8px 13px; font-size: .84rem; }

  .statistics-section { padding: 50px 0 48px; }
  .statistics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 13px !important;
    margin-top: 28px;
  }
  .stat-item {
    min-height: 150px;
    padding: 18px 10px 16px;
  }
  .stat-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 7px);
    justify-self: center;
  }
  .stat-icon {
    width: 47px;
    height: 47px;
    margin-bottom: 12px;
    border-radius: 15px;
  }
  .stat-icon svg { width: 26px; height: 26px; }
  .stat-value { font-size: 1.8rem; }
  .stat-label { margin-top: 7px; font-size: .84rem; line-height: 1.25; }
  .statistics-actions { margin-top: 27px; }

  .cta { padding-bottom: 48px; }
  .cta-card { padding: 25px 22px; }
  .cta-card .btn { margin-top: 18px; }

  .site-footer { padding: 42px 0 20px; }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
  }
  .footer-about { grid-column: 1 / -1; }
  .footer-col a,
  .footer-col span { overflow-wrap: anywhere; }
}

@media (min-width: 380px) and (max-width: 780px) {
  .section-alt .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .section-alt .service-card {
    min-height: 252px;
    padding: 17px;
  }
  .section-alt .service-card h3 { font-size: .98rem; }
  .section-alt .service-card p { font-size: .79rem; }
}

@media (max-width: 520px) {
  .student-showcase {
    min-height: 255px;
    max-height: 275px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 359px) {
  .hero .trust-row,
  .steps-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .stat-item:last-child:nth-child(odd) { width: 100%; }
}

/* Mobile card sliders: keep desktop layouts unchanged while shortening mobile pages. */
@media (max-width: 780px) {
  .service-grid.mobile-auto-slider,
  .detailed-service-grid.mobile-auto-slider,
  .info-grid.mobile-auto-slider,
  .value-grid.mobile-auto-slider,
  .steps-grid.mobile-auto-slider,
  .process-list.mobile-auto-slider,
  .reviews-grid.mobile-auto-slider,
  .review-full-grid.mobile-auto-slider,
  .statistics-grid.mobile-auto-slider {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 14px !important;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 4px 16px;
    margin-inline: -4px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 4px;
    scroll-behavior: smooth;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .service-grid.mobile-auto-slider::-webkit-scrollbar,
  .detailed-service-grid.mobile-auto-slider::-webkit-scrollbar,
  .info-grid.mobile-auto-slider::-webkit-scrollbar,
  .value-grid.mobile-auto-slider::-webkit-scrollbar,
  .steps-grid.mobile-auto-slider::-webkit-scrollbar,
  .process-list.mobile-auto-slider::-webkit-scrollbar,
  .reviews-grid.mobile-auto-slider::-webkit-scrollbar,
  .review-full-grid.mobile-auto-slider::-webkit-scrollbar,
  .statistics-grid.mobile-auto-slider::-webkit-scrollbar {
    display: none;
  }

  .service-grid.mobile-auto-slider > *,
  .detailed-service-grid.mobile-auto-slider > *,
  .info-grid.mobile-auto-slider > *,
  .value-grid.mobile-auto-slider > *,
  .steps-grid.mobile-auto-slider > *,
  .process-list.mobile-auto-slider > *,
  .reviews-grid.mobile-auto-slider > *,
  .review-full-grid.mobile-auto-slider > *,
  .statistics-grid.mobile-auto-slider > * {
    flex: 0 0 calc(100% - 26px) !important;
    width: calc(100% - 26px) !important;
    max-width: calc(100% - 26px) !important;
    min-width: 0;
    height: auto !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .steps-grid.mobile-auto-slider::before { display: none !important; }
}

@media (max-width: 420px) {
  .service-grid.mobile-auto-slider > *,
  .detailed-service-grid.mobile-auto-slider > *,
  .info-grid.mobile-auto-slider > *,
  .value-grid.mobile-auto-slider > *,
  .steps-grid.mobile-auto-slider > *,
  .process-list.mobile-auto-slider > *,
  .reviews-grid.mobile-auto-slider > *,
  .review-full-grid.mobile-auto-slider > *,
  .statistics-grid.mobile-auto-slider > * {
    flex-basis: calc(100% - 18px) !important;
    width: calc(100% - 18px) !important;
    max-width: calc(100% - 18px) !important;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 780px) {
  .mobile-auto-slider { scroll-behavior: auto !important; }
}

/* Mobile-only refinement: prevent homepage student visual overlap and slightly reduce statistics cards. */
@media (max-width: 780px) {
  .student-showcase {
    min-height: 280px;
    max-height: 320px;
    overflow: hidden;
    border-radius: 26px;
  }
  .student-cutout {
    width: min(102%, 430px);
    margin-left: 0;
    margin-right: 0;
    margin-bottom: -1%;
  }
  .student-orbit-one {
    width: 150px;
    height: 150px;
    right: -44px;
    top: 20px;
    border-width: 22px;
  }
  .student-orbit-two {
    width: 96px;
    height: 96px;
    left: -20px;
    bottom: 88px;
    border-width: 14px;
  }
  .student-dot-field {
    top: 28px;
    left: 16px;
    width: 54px;
    height: 54px;
    background-size: 11px 11px;
  }
  .student-showcase::after {
    bottom: 14px;
    padding: 8px 13px;
  }

  .statistics-section {
    padding: 42px 0 40px;
  }
  .statistics-heading h2 {
    font-size: clamp(1.95rem, 9vw, 2.55rem);
  }
  .statistics-grid {
    gap: 11px !important;
    margin-top: 24px;
  }
  .stat-item {
    min-height: 136px;
    padding: 14px 8px 13px;
    border-radius: 18px;
  }
  .stat-item::after {
    width: 84px;
    height: 84px;
    right: -26px;
    bottom: -38px;
    border-width: 14px;
  }
  .stat-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
    border-radius: 13px;
  }
  .stat-icon svg {
    width: 22px;
    height: 22px;
  }
  .stat-value {
    font-size: 1.58rem;
  }
  .stat-label {
    max-width: 130px;
    margin-top: 6px;
    font-size: .77rem;
    line-height: 1.22;
  }
}

@media (max-width: 520px) {
  .student-showcase {
    min-height: 255px;
    max-height: 285px;
  }
  .student-cutout {
    width: min(104%, 390px);
  }
  .statistics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .stat-item {
    min-height: 128px;
    padding: 12px 7px 12px;
  }
  .stat-value {
    font-size: 1.48rem;
  }
  .stat-label {
    font-size: .74rem;
  }
}

/* Mobile-only image refinements requested: keep homepage students fully visible and angle the Services pointing hand upward. */
@media (max-width: 520px) {
  .student-showcase {
    min-height: 335px;
    max-height: 355px;
    overflow: hidden;
  }
  .student-cutout {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
  }

  .page-hero .services-hero-girl img {
    transform-origin: 82% 100% !important;
    animation: servicesMobilePointUp 6.8s ease-in-out infinite alternate !important;
  }
}

@keyframes servicesMobilePointUp {
  0% { transform: translate3d(0, 4px, 0) rotate(5deg) scale(.985); }
  100% { transform: translate3d(0, -3px, 0) rotate(6.5deg) scale(.995); }
}

@media (prefers-reduced-motion: reduce) and (max-width: 520px) {
  .page-hero .services-hero-girl img {
    animation: none !important;
    transform: rotate(5.5deg) scale(.99) !important;
  }
}

/* Services page: mobile-only upward-pointing student and adjacent Get Started button. */
.services-hero-actions { display: contents; }
.services-mobile-get-started { display: none; }

@media (max-width: 520px) {
  .services-hero-actions {
    display: flex;
    align-items: stretch;
    gap: 7px;
    width: 100%;
    margin-top: 22px;
  }
  .services-hero-actions .btn {
    min-height: 42px;
    margin-top: 0;
    padding: 9px 9px;
    justify-content: center;
    white-space: nowrap;
  }
  .services-consultation-btn {
    flex: 1 1 auto;
    min-width: 0;
    font-size: .62rem;
  }
  .services-mobile-get-started {
    display: inline-flex;
    flex: 0 0 auto;
    font-size: .7rem;
  }
  .page-hero .services-hero-girl {
    height: 270px;
    margin-top: 14px;
    margin-bottom: -68px;
    overflow: hidden;
  }
  .page-hero .services-hero-girl::before {
    left: 7%;
    right: 1%;
  }
  .page-hero .services-hero-girl picture {
    position: absolute;
    inset: 0;
    display: block;
  }
  .page-hero .services-hero-girl img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    transform: none !important;
    animation: none !important;
  }
}

/* Mobile header refinement: show Get started button beside the hamburger only on mobile. */
@media (max-width: 780px) {
  .navbar {
    gap: 12px;
  }
  .nav-actions {
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
  }
  .nav-actions .btn-secondary {
    display: inline-flex;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 11px;
    font-size: .74rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(25,105,154,.08);
  }
  .menu-toggle {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
  .menu-toggle span:nth-child(1) { top: 13px; }
  .menu-toggle span:nth-child(2) { top: 20px; }
  .menu-toggle span:nth-child(3) { top: 27px; }
}

@media (max-width: 520px) {
  .navbar {
    gap: 10px;
  }
  .site-header .brand-logo {
    width: 138px;
  }
  .nav-actions {
    gap: 7px;
  }
  .nav-actions .btn-secondary {
    min-height: 36px;
    padding: 0 10px;
    font-size: .69rem;
    border-radius: 10px;
  }
}

@media (max-width: 360px) {
  .site-header .brand-logo {
    width: 126px;
  }
  .nav-actions .btn-secondary {
    min-height: 34px;
    padding: 0 8px;
    font-size: .64rem;
  }
  .menu-toggle {
    width: 40px;
    height: 40px;
  }
}


/* Mobile-only subject reveal control and statistics slider. */
@media (max-width: 780px) {
  .subject-pill-extra {
    display: none;
  }
  .subject-pill-cloud.subjects-expanded .subject-pill-extra {
    display: inline-flex;
  }
  .subject-more-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 15px;
    border: 1px solid rgba(31,70,114,.18);
    border-radius: 999px;
    background: linear-gradient(135deg, #fffdf3, #ffffff);
    color: #0b2853;
    font: inherit;
    font-size: .84rem;
    font-weight: 760;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(25,105,154,.07);
  }
  .subject-more-toggle:focus-visible {
    outline: 3px solid rgba(35,143,206,.25);
    outline-offset: 2px;
  }
  .statistics-grid.mobile-auto-slider {
    margin-top: 24px;
  }
  .statistics-grid.mobile-auto-slider > .stat-item {
    flex-basis: calc(100% - 50px) !important;
    width: calc(100% - 50px) !important;
    max-width: calc(100% - 50px) !important;
  }
}

@media (max-width: 420px) {
  .statistics-grid.mobile-auto-slider > .stat-item {
    flex-basis: calc(100% - 34px) !important;
    width: calc(100% - 34px) !important;
    max-width: calc(100% - 34px) !important;
  }
}

/* Requested mobile navigation alignment and persistent bottom contact actions. */
.floating-enquiry { display: none; }

@media (max-width: 780px) {
  body { padding-bottom: 56px; }

  .mobile-services-menu {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    width: auto;
    padding: 0 8px 0 10px;
    box-sizing: border-box;
  }
  .mobile-services-menu a {
    display: block;
    width: 100%;
    margin-left: 0;
    padding: 10px 12px !important;
    box-sizing: border-box;
    line-height: 1.35;
    text-align: left;
    white-space: normal;
  }
  .mobile-nav-group.open .mobile-services-menu { max-height: 520px; }

  .floating-whatsapp,
  .floating-enquiry {
    position: fixed;
    bottom: 0;
    z-index: 230;
    width: 50%;
    min-width: 0;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 10px;
    border: 0;
    border-radius: 0;
    color: #fff;
    box-shadow: 0 -7px 22px rgba(6, 43, 91, .16);
    font-size: .72rem;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: .015em;
    text-align: center;
    text-transform: uppercase;
    animation: none;
    transition: background .2s ease, opacity .2s ease;
  }
  .floating-whatsapp {
    left: 0;
    right: auto;
    background: #10a950;
  }
  .floating-whatsapp::before { display: none; }
  .floating-whatsapp svg { width: 21px; height: 21px; }
  .floating-whatsapp span { display: inline; }
  .floating-whatsapp:hover {
    background: #0b8f43;
    transform: none;
    box-shadow: 0 -7px 22px rgba(6, 43, 91, .16);
  }
  .floating-enquiry {
    left: 50%;
    right: 0;
    background: #082f76;
  }
  .floating-enquiry:hover { background: #061f51; }
  body.menu-open .floating-whatsapp,
  body.menu-open .floating-enquiry {
    opacity: 0;
    pointer-events: none;
  }
  .back-to-top { bottom: 69px; }
  .toast { bottom: 69px; }
}

