/* Safety Solution Academy — shared design system */
:root {
  --ink: #071b2d;
  --ink-2: #0d2c45;
  --ink-3: #173f5c;
  --sky: #35a9df;
  --sky-soft: #eaf7fc;
  --lime: #8bc540;
  --lime-dark: #5f9422;
  --lime-soft: #f1f8e8;
  --amber: #f5aa2f;
  --paper: #ffffff;
  --surface: #f5f8fa;
  --surface-2: #edf3f5;
  --line: #dce6eb;
  --muted: #627487;
  --muted-light: #a9bac7;
  --danger: #df5b53;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 30px;
  --shadow-sm: 0 10px 30px rgba(7, 27, 45, 0.08);
  --shadow: 0 22px 60px rgba(7, 27, 45, 0.13);
  --shadow-lg: 0 34px 90px rgba(7, 27, 45, 0.19);
  --container: 1200px;
  --header-height: 82px;
}

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

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

p {
  margin: 0 0 1em;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: inherit;
  font-family: "Outfit", "DM Sans", sans-serif;
  font-weight: 700;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  letter-spacing: -0.045em;
}

h2 {
  letter-spacing: -0.035em;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid rgba(53, 169, 223, 0.5);
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

.eyebrow,
.section-kicker,
.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--lime-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before,
.page-kicker::before {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(139, 197, 64, 0.14);
  content: "";
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.55fr);
  align-items: end;
  gap: 54px;
  margin-bottom: 46px;
}

.section-heading.centered {
  display: block;
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.section-heading h2 {
  font-size: clamp(2.35rem, 4vw, 4rem);
}

.section-heading > p,
.section-heading .heading-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.button,
.btn,
.phone {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 0 12px 28px rgba(107, 156, 44, 0.23);
  color: var(--ink);
  font-weight: 800;
  line-height: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button::after,
.btn::after {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(7, 27, 45, 0.1);
  content: "\2197";
  font-size: 0.88rem;
  transition: transform 0.25s ease, background 0.25s ease;
}

.button:hover,
.button:focus-visible,
.btn:hover,
.btn:focus-visible,
.phone:hover,
.phone:focus-visible {
  background: #9bd653;
  box-shadow: 0 17px 35px rgba(107, 156, 44, 0.3);
  transform: translateY(-2px);
}

.button:hover::after,
.button:focus-visible::after,
.btn:hover::after,
.btn:focus-visible::after {
  transform: translate(2px, -2px) rotate(8deg);
}

.button:active,
.btn:active,
.phone:active {
  transform: translateY(0) scale(0.98);
}

.button--dark {
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(7, 27, 45, 0.18);
  color: #fff;
}

.button--dark::after {
  background: rgba(255, 255, 255, 0.13);
}

.button--dark:hover {
  background: var(--ink-2);
}

.button--ghost {
  border-color: var(--line);
  background: #fff;
  box-shadow: none;
  color: var(--ink);
}

.button--ghost:hover {
  background: var(--surface);
  box-shadow: none;
}

/* Global topbar + navigation */
.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 999;
  height: 3px;
  background: linear-gradient(90deg, var(--lime), var(--sky), var(--amber));
  box-shadow: 0 1px 8px rgba(53, 169, 223, 0.32);
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
}

.site-topbar {
  position: relative;
  z-index: 50;
  background: var(--ink);
  color: #dce8ef;
  font-size: 0.78rem;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar-inner p {
  margin: 0;
}

.topbar-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar-note::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(139, 197, 64, 0.16);
  content: "";
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar-links a {
  color: #fff;
  transition: color 0.2s ease;
}

.topbar-links a:hover {
  color: var(--lime);
}

header.site-header,
.site-header {
  position: sticky !important;
  top: 0;
  z-index: 40 !important;
  width: 100%;
  height: auto !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(220, 230, 235, 0.8) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 10px 35px rgba(7, 27, 45, 0.035);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.985) !important;
  box-shadow: 0 14px 38px rgba(7, 27, 45, 0.1);
}

.nav-shell,
.site-header .nav {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-header .brand {
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
}

.site-header .brand img {
  width: 170px !important;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.primary-nav,
.site-header .links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px !important;
  margin-left: auto;
  font-size: 0.88rem;
  font-weight: 700;
}

.primary-nav > a,
.primary-nav .nav-link,
.site-header .links > a,
.site-header .dropdown > a {
  min-height: 44px;
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  padding: 10px 12px !important;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.primary-nav > a:hover,
.primary-nav .nav-link:hover,
.primary-nav > a[aria-current="page"],
.site-header .links > a:hover,
.site-header .dropdown > a:hover {
  background: var(--lime-soft);
  color: var(--lime-dark);
}

.nav-caret,
.site-header .arrow::after {
  width: 7px !important;
  height: 7px !important;
  margin: -3px 0 0 2px !important;
  border: 0 !important;
  border-right: 1.7px solid currentColor !important;
  border-bottom: 1.7px solid currentColor !important;
  content: "";
  transform: rotate(45deg) !important;
  transition: transform 0.2s ease;
}

.nav-dropdown,
.site-header .dropdown {
  position: relative;
}

.nav-dropdown.is-open .nav-caret {
  transform: rotate(225deg) translate(-2px, -2px) !important;
}

.dropdown-menu,
.site-header .dropdown-panel {
  position: absolute;
  top: calc(100% + 13px) !important;
  left: 50% !important;
  z-index: 60 !important;
  width: 350px;
  min-width: 350px !important;
  max-height: min(68vh, 520px);
  display: grid !important;
  gap: 3px;
  overflow: auto !important;
  padding: 10px !important;
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: var(--shadow) !important;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px) !important;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-dropdown--wide .dropdown-menu {
  width: 710px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nav-dropdown:hover > .dropdown-menu,
.nav-dropdown:focus-within > .dropdown-menu,
.nav-dropdown.is-open > .dropdown-menu,
.site-header .dropdown:hover > .dropdown-panel,
.site-header .dropdown:focus-within > .dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) !important;
  visibility: visible;
}

.dropdown-menu a,
.site-header .dropdown-panel a {
  min-height: 48px;
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 11px 13px !important;
  border: 0 !important;
  border-radius: 10px;
  color: var(--ink-2);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: normal !important;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.dropdown-menu a::before,
.site-header .dropdown-panel a::before {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--sky-soft);
  color: var(--sky);
  content: "\2197";
  font-size: 0.75rem;
}

.dropdown-menu a:hover,
.site-header .dropdown-panel a:hover {
  background: var(--lime-soft) !important;
  color: var(--lime-dark) !important;
  transform: translateX(2px);
}

.nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--ink-2);
  transform: translateY(-1px);
}

.nav-cta span {
  color: var(--lime);
}

.menu-toggle,
.site-header .hamb {
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line) !important;
  border-radius: 50%;
  background: #fff !important;
  color: var(--ink);
  cursor: pointer;
  font-size: 0;
}

.menu-toggle-lines {
  width: 19px;
  display: grid;
  gap: 4px;
}

.menu-toggle-lines span {
  width: 100%;
  height: 2px;
  border-radius: 3px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

/* Homepage */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 8vw, 116px) 0 82px;
  background:
    radial-gradient(circle at 13% 15%, rgba(53, 169, 223, 0.12), transparent 25%),
    radial-gradient(circle at 88% 15%, rgba(139, 197, 64, 0.15), transparent 28%),
    linear-gradient(145deg, #fff 38%, #f5faf8 100%);
}

.home-hero::before {
  position: absolute;
  right: -90px;
  bottom: -160px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(7, 27, 45, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(53, 169, 223, 0.035), 0 0 0 140px rgba(139, 197, 64, 0.025);
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.91fr) minmax(460px, 0.82fr);
  align-items: center;
  gap: clamp(54px, 7vw, 100px);
}

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

.admissions-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 8px 13px;
  border: 1px solid rgba(95, 148, 34, 0.18);
  border-radius: 999px;
  background: rgba(241, 248, 232, 0.84);
  color: var(--lime-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admissions-pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(139, 197, 64, 0.15);
}

.hero-copy h1 {
  max-width: 780px;
  font-size: clamp(3.45rem, 5.55vw, 5.75rem);
  line-height: 0.93;
}

.hero-copy h1 span {
  position: relative;
  display: inline-block;
  color: var(--sky);
}

.hero-copy h1 span::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  content: "";
  opacity: 0.5;
  transform: skewX(-24deg);
}

.hero-copy > p {
  max-width: 620px;
  margin: 28px 0 31px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.5vw, 1.18rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 35px;
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
}

.proof-avatars {
  display: flex;
  flex: 0 0 auto;
}

.proof-avatars span {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  margin-left: -9px;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  transition: transform 0.25s ease;
}

.proof-avatars span:first-child {
  margin-left: 0;
}

.proof-avatars img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.1);
  transform-origin: center;
}

.proof-avatars span:nth-child(2) img {
  transform: scale(1.18);
}

.proof-avatars span:nth-child(3) img {
  transform: scale(1.08);
}

.proof-avatars span:nth-child(4) img {
  transform: scale(1.16);
}

.proof-avatars .proof-mark {
  background: var(--ink);
  color: var(--lime);
  letter-spacing: 0.04em;
}

.hero-proof:hover .proof-avatars span {
  transform: translateY(-2px);
}

.hero-proof:focus-visible {
  outline: 3px solid rgba(53, 169, 223, 0.32);
  outline-offset: 7px;
}

.hero-proof p {
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.45;
}

.hero-proof strong {
  display: block;
  color: var(--ink);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  min-height: 580px;
}

.hero-image-main {
  position: absolute;
  inset: 0 0 44px 30px;
  overflow: hidden;
  border-radius: 34px 110px 34px 34px;
  background: var(--surface-2);
  box-shadow: var(--shadow-lg);
}

.hero-image-main::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(7, 27, 45, 0.38));
  content: "";
}

.hero-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-visual:hover .hero-image-main img {
  transform: scale(1.035);
}

.hero-image-small {
  position: absolute;
  right: -36px;
  bottom: 0;
  z-index: 2;
  width: 225px;
  height: 154px;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-image-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  top: 36px;
  left: 0;
  z-index: 3;
  width: 155px;
  display: grid;
  gap: 5px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-badge-icon {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  margin-bottom: 5px;
  border-radius: 11px;
  background: var(--lime-soft);
  color: var(--lime-dark);
  font-family: Outfit, sans-serif;
  font-weight: 800;
}

.hero-badge strong {
  font-family: Outfit, sans-serif;
  font-size: 0.96rem;
  line-height: 1.2;
}

.hero-badge span {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.hero-dots {
  position: absolute;
  top: -14px;
  right: 12px;
  width: 82px;
  height: 82px;
  background-image: radial-gradient(var(--amber) 2px, transparent 2px);
  background-size: 13px 13px;
  opacity: 0.75;
}

.stat-ribbon {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

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

.stat-item {
  position: relative;
  min-height: 124px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 27px 34px;
  border-left: 1px solid var(--line);
}

.stat-item:last-child {
  border-right: 1px solid var(--line);
}

.stat-item strong {
  color: var(--ink);
  font-family: Outfit, sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
}

.stat-item span {
  max-width: 125px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.courses-section,
.pathways-section,
.experience-section,
.testimonials-section,
.contact-preview {
  padding: clamp(82px, 9vw, 130px) 0;
}

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

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

.course-card {
  position: relative;
  min-height: 415px;
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 15px 45px rgba(7, 27, 45, 0.055);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.course-card:hover {
  border-color: rgba(53, 169, 223, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-7px);
}

.course-card__image {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: var(--surface-2);
}

.course-card__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 50%, rgba(7, 27, 45, 0.25));
  content: "";
}

.course-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

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

.course-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 35px 30px 30px;
}

.course-tag {
  display: inline-flex;
  align-items: center;
  margin-bottom: 17px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--lime-soft);
  color: var(--lime-dark);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-card h3 {
  font-size: clamp(1.45rem, 2.1vw, 2rem);
}

.course-card p {
  margin: 17px 0 24px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.course-meta span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.text-link span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sky-soft);
  color: var(--sky);
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

.pathways-section {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.pathways-section::before {
  position: absolute;
  top: -230px;
  right: -170px;
  width: 590px;
  height: 590px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(255, 255, 255, 0.02), 0 0 0 180px rgba(255, 255, 255, 0.015);
  content: "";
}

.pathways-section .eyebrow {
  color: var(--lime);
}

.pathways-section .section-heading > p {
  color: #afc2cf;
}

.pathway-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pathway-card {
  min-height: 175px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.pathway-card:hover {
  border-color: rgba(139, 197, 64, 0.5);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-4px);
}

.pathway-card small {
  margin-bottom: 15px;
  color: var(--lime);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.pathway-card h3 {
  max-width: 280px;
  font-size: 1.16rem;
  line-height: 1.25;
}

.pathway-card span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  margin-top: auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  color: var(--sky);
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 0.82fr);
  align-items: center;
  gap: clamp(55px, 8vw, 112px);
}

.experience-media {
  position: relative;
  min-height: 615px;
}

.experience-media > img {
  position: absolute;
  inset: 0 48px 42px 0;
  width: calc(100% - 48px);
  height: calc(100% - 42px);
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.experience-media::before {
  position: absolute;
  right: 4px;
  bottom: 0;
  width: 71%;
  height: 70%;
  border-radius: 28px;
  background: var(--lime);
  content: "";
}

.experience-note {
  position: absolute;
  right: 0;
  bottom: 18px;
  z-index: 2;
  width: min(280px, 70%);
  padding: 22px;
  border-radius: 17px;
  background: var(--ink);
  box-shadow: var(--shadow);
  color: #fff;
}

.experience-note strong {
  display: block;
  margin-bottom: 4px;
  color: var(--lime);
  font-family: Outfit, sans-serif;
  font-size: 1.35rem;
}

.experience-note p {
  margin: 0;
  color: #c2d2dc;
  font-size: 0.8rem;
}

.experience-copy h2 {
  font-size: clamp(2.5rem, 4.7vw, 4.45rem);
}

.experience-copy > p {
  margin: 24px 0 31px;
  color: var(--muted);
  line-height: 1.78;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 24px;
  margin-bottom: 32px;
}

.feature-item {
  display: grid;
  grid-template-columns: 35px 1fr;
  align-items: start;
  gap: 11px;
}

.feature-item > span {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--lime-soft);
  color: var(--lime-dark);
  font-size: 0.83rem;
  font-weight: 900;
}

.feature-item strong {
  display: block;
  padding-top: 2px;
  font-family: Outfit, sans-serif;
  font-size: 0.97rem;
  line-height: 1.25;
}

.feature-item small {
  color: var(--muted);
  font-size: 0.72rem;
}

.accreditation-strip {
  padding: 58px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.accreditation-inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: center;
  gap: 55px;
}

.accreditation-inner > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 35px;
}

.logo-row img {
  width: 100%;
  height: 68px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.logo-row img:hover {
  filter: none;
  opacity: 1;
  transform: translateY(-3px);
}

.testimonials-section {
  background: linear-gradient(180deg, var(--surface) 0%, #fff 100%);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 21px;
}

.testimonial-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 31px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(7, 27, 45, 0.055);
}

.quote-mark {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  margin-bottom: 23px;
  border-radius: 13px;
  background: var(--sky-soft);
  color: var(--sky);
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.testimonial-card > p {
  margin: 0 0 27px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.78;
}

.student-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.student-initial {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-family: Outfit, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}

.student-meta strong {
  display: block;
  font-size: 0.88rem;
}

.student-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.contact-preview {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 55px;
  padding: clamp(42px, 6vw, 76px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 90% 15%, rgba(53, 169, 223, 0.22), transparent 27%),
    var(--ink);
  box-shadow: var(--shadow-lg);
  color: #fff;
}

.contact-panel::after {
  position: absolute;
  right: -70px;
  bottom: -150px;
  width: 340px;
  height: 340px;
  border: 55px solid rgba(255, 255, 255, 0.035);
  border-radius: 50%;
  content: "";
}

.contact-panel .eyebrow {
  color: var(--lime);
}

.contact-panel h2 {
  max-width: 730px;
  font-size: clamp(2.35rem, 4.6vw, 4.65rem);
}

.contact-panel p:not(.eyebrow) {
  max-width: 650px;
  margin: 22px 0 0;
  color: #b6c9d5;
}

.contact-panel__actions {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 11px;
}

.contact-panel__actions .button--ghost {
  border-color: rgba(255, 255, 255, 0.23);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.contact-panel__actions .button--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* Student facilities, academy gallery and placement outcomes */
.hero-image-main--community img {
  object-position: center 30%;
}

.facilities-section,
.placement-preview,
.placement-directory {
  padding: clamp(82px, 9vw, 130px) 0;
}

.facilities-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: #fff;
}

.facilities-section::before {
  position: absolute;
  top: -200px;
  left: -180px;
  width: 480px;
  height: 480px;
  border: 70px solid rgba(53, 169, 223, 0.035);
  border-radius: 50%;
  content: "";
}

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

.facility-card {
  min-height: 218px;
  display: flex;
  flex-direction: column;
  padding: 26px 23px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.facility-card:hover {
  border-color: rgba(139, 197, 64, 0.55);
  box-shadow: var(--shadow-sm);
  transform: translateY(-5px);
}

.facility-card > span {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  margin-bottom: auto;
  border-radius: 13px;
  background: var(--ink);
  color: var(--lime);
  font-family: Outfit, sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
}

.facility-card h3 {
  margin: 25px 0 8px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.facility-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.6;
}

.placement-preview {
  background: linear-gradient(180deg, var(--surface) 0%, #fff 100%);
}

.placement-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  gap: 24px;
}

.placement-community-card {
  position: relative;
  min-height: 665px;
  overflow: hidden;
  margin: 0;
  border-radius: 24px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.placement-community-card::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgba(7, 27, 45, 0.92));
  content: "";
}

.placement-community-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

.placement-community-card figcaption {
  position: absolute;
  right: 31px;
  bottom: 28px;
  left: 31px;
  z-index: 1;
  display: grid;
  color: #fff;
}

.placement-community-card figcaption span {
  color: var(--lime);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.placement-community-card figcaption strong {
  margin-top: 5px;
  font-family: Outfit, sans-serif;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 1;
}

.placement-community-card figcaption small {
  margin-top: 4px;
  color: #bed0db;
  font-size: 0.78rem;
}

.placement-mini-list {
  display: grid;
  gap: 15px;
}

.placement-mini {
  min-height: 0;
  display: grid;
  grid-template-columns: 150px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(7, 27, 45, 0.055);
}

.placement-mini img {
  width: 150px;
  height: 100%;
  min-height: 205px;
  object-fit: cover;
  object-position: center top;
}

.placement-mini > div {
  align-self: center;
  padding: 22px 24px;
}

.placement-mini > div > span,
.placement-card__photo > span {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--lime-soft);
  color: var(--lime-dark);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.placement-mini h3 {
  margin: 9px 0 5px;
  font-size: 1.32rem;
}

.placement-mini p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.75rem;
}

.placement-mini > div > strong {
  color: var(--ink);
  font-family: Outfit, sans-serif;
  font-size: 1.2rem;
}

.placement-mini strong small {
  color: var(--muted);
  font-family: "DM Sans", sans-serif;
  font-size: 0.63rem;
  font-weight: 600;
}

.placement-preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  margin-top: 30px;
}

.placement-preview-footer p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.academy-gallery {
  display: grid;
  grid-template-columns: 1.5fr repeat(2, 0.75fr);
  gap: 17px;
}

.academy-gallery figure {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  margin: 0;
  border-radius: 20px;
  background: var(--ink);
  box-shadow: var(--shadow-sm);
}

.academy-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.5s ease;
}

.academy-gallery figure:hover img {
  transform: scale(1.035);
}

.academy-gallery figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(7, 27, 45, 0.85);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.placement-hero .page-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.78fr);
}

.placement-hero h1 {
  font-size: clamp(3.2rem, 5.7vw, 6rem);
}

.placement-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 31px;
}

.placement-hero-metrics div {
  min-height: 92px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.055);
}

.placement-hero-metrics strong,
.placement-hero-metrics span {
  display: block;
}

.placement-hero-metrics strong {
  color: var(--lime);
  font-family: Outfit, sans-serif;
  font-size: 1.1rem;
  line-height: 1.2;
}

.placement-hero-metrics span {
  margin-top: 7px;
  color: #b8cad5;
  font-size: 0.65rem;
  line-height: 1.4;
}

.placement-hero-media {
  margin: 0;
}

.placement-hero-media img {
  height: 465px;
  object-position: center 22%;
}

.placement-hero-media figcaption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  padding: 11px 14px;
  border-radius: 10px;
  background: rgba(7, 27, 45, 0.88);
  color: #fff;
  font-size: 0.73rem;
  font-weight: 700;
}

.placement-directory {
  background: #fff;
}

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

.placement-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(7, 27, 45, 0.06);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.placement-card:hover {
  border-color: rgba(53, 169, 223, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-7px);
}

.placement-card__photo {
  position: relative;
  height: 355px;
  overflow: hidden;
  background: var(--surface-2);
}

.placement-card__photo::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgba(7, 27, 45, 0.35));
  content: "";
}

.placement-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.5s ease;
}

.placement-card:hover .placement-card__photo img {
  transform: scale(1.035);
}

.placement-card__photo > span {
  position: absolute;
  right: 17px;
  bottom: 16px;
  z-index: 1;
  background: var(--lime);
  color: var(--ink);
}

.placement-card__body {
  padding: 25px;
}

.placement-card h3 {
  margin-bottom: 20px;
  font-size: 1.55rem;
}

.placement-card dl {
  display: grid;
  gap: 11px;
  margin: 0;
}

.placement-card dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.placement-card dt,
.placement-card dd {
  margin: 0;
  font-size: 0.72rem;
}

.placement-card dt {
  color: var(--muted);
}

.placement-card dd {
  color: var(--ink-2);
  font-weight: 800;
  text-align: right;
}

.placement-card__body > p {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin: 23px 0 0;
}

.placement-card__body > p > span {
  color: var(--muted);
  font-size: 0.69rem;
}

.placement-card__body > p > strong {
  color: var(--ink);
  font-family: Outfit, sans-serif;
  font-size: 1.38rem;
}

.placement-card__body > p small {
  color: var(--muted);
  font-family: "DM Sans", sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
}

.placement-disclaimer {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 30px;
  margin-top: 36px;
  padding: 25px 28px;
  border: 1px solid #d6e6c3;
  border-radius: 15px;
  background: var(--lime-soft);
}

.placement-disclaimer strong {
  font-family: Outfit, sans-serif;
}

.placement-disclaimer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.77rem;
}

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

/* Shared page heroes and inner page components */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 96px;
  background:
    radial-gradient(circle at 88% 20%, rgba(139, 197, 64, 0.2), transparent 26%),
    linear-gradient(135deg, var(--ink) 0%, #103957 100%);
  color: #fff;
}

.page-hero::before {
  position: absolute;
  top: -210px;
  right: -80px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 85px rgba(255, 255, 255, 0.018), 0 0 0 170px rgba(255, 255, 255, 0.012);
  content: "";
}

.page-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(330px, 0.7fr);
  align-items: center;
  gap: 70px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: #acc0ce;
  font-size: 0.75rem;
  font-weight: 700;
}

.breadcrumbs a:hover {
  color: var(--lime);
}

.breadcrumbs span:last-child {
  color: #fff;
}

.page-hero h1 {
  max-width: 860px;
  font-size: clamp(3.35rem, 6vw, 6.2rem);
}

.page-hero-copy > p {
  max-width: 650px;
  margin: 25px 0 0;
  color: #b7cbd7;
  font-size: 1.06rem;
}

.page-hero-media {
  position: relative;
}

.page-hero-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border: 8px solid rgba(255, 255, 255, 0.09);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
}

.content-section {
  padding: clamp(78px, 9vw, 124px) 0;
}

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

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}

.content-grid__media {
  position: relative;
}

.content-grid__media img {
  width: 100%;
  min-height: 430px;
  max-height: 570px;
  object-fit: cover;
  border-radius: 25px;
  box-shadow: var(--shadow);
}

.content-grid__copy h2 {
  font-size: clamp(2.35rem, 4.5vw, 4.15rem);
}

.content-grid__copy > p {
  margin: 23px 0;
  color: var(--muted);
  line-height: 1.8;
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 39px;
  color: var(--ink-2);
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  top: 1px;
  left: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--lime-soft);
  color: var(--lime-dark);
  content: "\2713";
  font-size: 0.74rem;
  font-weight: 900;
}

.milestone-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.team-section {
  position: relative;
  overflow: hidden;
  scroll-margin-top: calc(var(--header-height) + 24px);
  background: var(--ink);
  color: #fff;
}

.team-section::before {
  position: absolute;
  top: -220px;
  right: -170px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(53, 169, 223, 0.025), 0 0 0 160px rgba(139, 197, 64, 0.018);
  content: "";
}

.team-section .wrap {
  position: relative;
}

.team-section .eyebrow {
  color: var(--lime);
}

.team-section .section-heading h2 {
  color: #fff;
}

.team-section .section-heading > p,
.team-section .section-heading .heading-copy {
  color: #afc2cf;
}

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

.team-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
  color: var(--ink);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.team-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 3;
  height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--lime));
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.team-card__portrait {
  position: relative;
  aspect-ratio: 3 / 4;
  margin: 0;
  overflow: hidden;
  background: var(--surface-2);
}

.team-card__portrait::after {
  position: absolute;
  inset: 62% 0 0;
  background: linear-gradient(180deg, transparent, rgba(7, 27, 45, 0.16));
  content: "";
}

.team-card__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.55s ease;
}

.team-card__body {
  min-height: 160px;
  padding: 23px;
}

.team-card__location {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--lime-soft);
  color: var(--lime-dark);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.team-card h3 {
  margin-bottom: 7px;
  font-size: 1.18rem;
}

.team-card__role {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.83rem;
  font-weight: 800;
}

.team-card__detail {
  margin-top: 6px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.5;
}

.team-card__phone {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
  transition: border-color 0.25s ease, color 0.25s ease, translate 0.25s ease;
}

.team-card__phone:hover {
  border-color: var(--lime);
  color: var(--lime-dark);
  translate: 3px 0;
}

@media (hover: hover) and (pointer: fine) {
  .team-card:hover {
    border-color: rgba(139, 197, 64, 0.55);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    transform: translateY(-7px);
  }

  .team-card:hover::before {
    transform: scaleX(1);
  }

  .team-card:hover .team-card__portrait img {
    transform: scale(1.035);
  }
}

.milestone-card {
  min-height: 225px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(7, 27, 45, 0.045);
}

.milestone-card strong {
  display: block;
  margin-bottom: 18px;
  color: var(--sky);
  font-family: Outfit, sans-serif;
  font-size: 2rem;
}

.milestone-card h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.milestone-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.message-card {
  position: relative;
  display: grid;
  grid-template-columns: 390px 1fr;
  align-items: stretch;
  overflow: hidden;
  border-radius: 28px;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
  color: #fff;
}

.message-card__image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center top;
}

.message-card__copy {
  padding: clamp(42px, 6vw, 76px);
}

.message-card__copy .eyebrow {
  color: var(--lime);
}

.message-card__copy h2 {
  font-size: clamp(2.5rem, 4.5vw, 4.25rem);
}

.message-card__copy blockquote {
  margin: 28px 0 31px;
  color: #c1d1db;
  font-size: 1rem;
  line-height: 1.82;
}

.signature strong {
  display: block;
  font-family: Outfit, sans-serif;
  font-size: 1.05rem;
}

.signature span {
  color: var(--lime);
  font-size: 0.76rem;
}

.branch-grid-modern,
.office-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.branch-card-modern,
.office-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 24px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(7, 27, 45, 0.055);
}

.branch-card-modern img {
  width: 110px;
  height: 130px;
  object-fit: cover;
  object-position: center top;
  border-radius: 14px;
}

.branch-card-modern h3,
.office-card h3 {
  margin-bottom: 6px;
  font-size: 1.2rem;
}

.office-card h3 {
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.branch-card-modern small,
.office-label {
  display: block;
  margin-bottom: 14px;
  color: var(--lime-dark);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.branch-card-modern p,
.office-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

.office-card {
  grid-template-columns: 58px 1fr;
  align-items: start;
}

.office-card__number {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--ink);
  color: var(--lime);
  font-family: Outfit, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
}

.office-card a {
  color: var(--ink);
  font-weight: 800;
}

.office-address {
  color: var(--ink-2);
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1.72;
  text-transform: uppercase;
}

.office-card__phones {
  display: inline-block;
  margin-top: 7px;
}

.contact-main {
  padding: clamp(75px, 8vw, 115px) 0;
  background: var(--surface);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  align-items: start;
  gap: 40px;
}

.contact-details,
.form-card-modern {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.contact-details {
  padding: 35px;
}

.contact-details h2,
.form-card-modern h2 {
  font-size: clamp(2rem, 3.4vw, 3.25rem);
}

.contact-details > p,
.form-card-modern > p {
  margin: 15px 0 28px;
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 13px;
}

.contact-list-item {
  display: grid;
  grid-template-columns: 43px 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 13px;
  background: var(--surface);
}

.contact-list-item > span {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--lime-soft);
  color: var(--lime-dark);
  font-weight: 900;
}

.contact-list-item strong {
  display: block;
  font-size: 0.8rem;
}

.contact-list-item a,
.contact-list-item small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.form-card-modern {
  padding: clamp(30px, 4vw, 48px);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 17px;
}

.field {
  display: grid;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink-2);
  font-size: 0.75rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 51px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: 0;
  background: #fff;
  color: var(--ink);
  font-size: 0.85rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(53, 169, 223, 0.11);
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 5px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.69rem;
}

.form-success {
  display: none;
  grid-column: 1 / -1;
  padding: 13px 15px;
  border: 1px solid rgba(95, 148, 34, 0.25);
  border-radius: 10px;
  background: var(--lime-soft);
  color: var(--lime-dark);
  font-size: 0.78rem;
  font-weight: 700;
}

.form-success.is-visible {
  display: block;
}

.map-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

.map-shell iframe {
  width: 100%;
  height: 420px;
  display: block;
  border: 0;
}

/* International courses catalogue */
.catalogue-section {
  padding: clamp(75px, 9vw, 120px) 0;
  background: var(--surface);
}

.catalogue-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  margin-bottom: 33px;
}

.search-box {
  position: relative;
}

.search-box::before {
  position: absolute;
  top: 50%;
  left: 18px;
  color: var(--muted);
  content: "\2315";
  font-size: 1.15rem;
  transform: translateY(-50%) rotate(-18deg);
}

.search-box input {
  width: 100%;
  min-height: 54px;
  padding: 13px 18px 13px 47px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: 0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(7, 27, 45, 0.04);
}

.search-box input:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(53, 169, 223, 0.1);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.filter-button {
  min-height: 42px;
  padding: 9px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 800;
}

.filter-button.is-active {
  background: var(--ink);
  color: #fff;
}

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

.catalogue-card {
  min-height: 275px;
  display: flex;
  flex-direction: column;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 13px 35px rgba(7, 27, 45, 0.045);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.catalogue-card:hover {
  border-color: rgba(53, 169, 223, 0.35);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.catalogue-card.is-hidden {
  display: none;
}

.catalogue-card[id] {
  scroll-margin-top: 115px;
}

.catalogue-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 23px;
}

.catalogue-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--sky-soft);
  color: var(--sky);
  font-family: Outfit, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}

.catalogue-card__top small {
  color: var(--lime-dark);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalogue-card h3 {
  margin-bottom: 13px;
  font-size: 1.28rem;
}

.catalogue-card p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

.catalogue-card .text-link {
  margin-top: auto;
}

.catalogue-empty {
  display: none;
  padding: 50px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--muted);
  text-align: center;
}

.catalogue-empty.is-visible {
  display: block;
}

/* Legacy detail-page upgrade */
.detail-page main > .hero {
  position: relative !important;
  min-height: 430px !important;
  height: auto !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden;
  padding: 90px 24px !important;
  background-color: var(--ink) !important;
  isolation: isolate;
}

.detail-page main > .hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(105deg, rgba(7, 27, 45, 0.96) 8%, rgba(7, 27, 45, 0.72) 64%, rgba(7, 27, 45, 0.54));
  content: "";
}

.detail-page main > .hero::after {
  position: absolute;
  z-index: -1;
  right: -110px;
  bottom: -260px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255, 255, 255, 0.025), 0 0 0 160px rgba(255, 255, 255, 0.015);
  content: "";
}

.detail-page main > .hero h1 {
  max-width: 1030px !important;
  color: #fff;
  font-size: clamp(3rem, 6vw, 5.8rem) !important;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-align: center;
}

.detail-page main > .hero .page-kicker {
  position: absolute;
  top: 70px;
  left: 50%;
  color: var(--lime);
  transform: translateX(-50%);
}

.detail-page .intro {
  padding: 86px 0 75px !important;
  background: #fff;
  text-align: center;
}

.detail-page .intro h2 {
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 4vw, 3.8rem) !important;
}

.detail-page .intro p {
  max-width: 880px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  color: var(--muted) !important;
  font-size: 1rem !important;
  line-height: 1.82 !important;
}

.detail-page .curriculum,
.detail-page .overview {
  padding: 30px 0 100px !important;
}

.detail-page .two-col {
  gap: clamp(45px, 7vw, 90px) !important;
}

.detail-page .course-image,
.detail-page .overview img {
  min-height: 390px !important;
  border-radius: 22px !important;
  box-shadow: var(--shadow) !important;
}

.detail-page .curriculum h2,
.detail-page .overview h2 {
  font-size: clamp(2.1rem, 3.5vw, 3.25rem) !important;
}

.detail-page .curriculum p,
.detail-page .curriculum li,
.detail-page .overview p,
.detail-page .overview li {
  color: var(--muted) !important;
  font-size: 0.95rem !important;
  line-height: 1.75 !important;
}

.detail-page .curriculum ul,
.detail-page .overview ul {
  display: grid;
  gap: 8px;
}

.detail-page .benefits {
  position: relative;
  overflow: hidden;
  padding: 90px 0 105px !important;
  background: var(--ink) !important;
  color: #fff !important;
}

.detail-page .benefits::before {
  position: absolute;
  top: -230px;
  right: -170px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(255, 255, 255, 0.018);
  content: "";
}

.detail-page .benefits > .wrap > h2 {
  position: relative;
  margin-bottom: 45px !important;
  font-size: clamp(2.25rem, 4vw, 3.75rem) !important;
  text-align: center;
}

.detail-page .benefit-grid {
  position: relative;
  gap: 18px !important;
}

.detail-page .benefit {
  min-height: 225px !important;
  padding: 31px 25px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 17px !important;
  background: rgba(255, 255, 255, 0.07) !important;
  box-shadow: none !important;
  color: #fff !important;
  text-align: left !important;
}

.detail-page .benefit::before {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 12px;
  background: rgba(139, 197, 64, 0.14);
  color: var(--lime);
  content: "\2713";
  font-weight: 900;
}

.detail-page .benefit h3 {
  margin-bottom: 12px !important;
  color: #fff !important;
  font-size: 1.12rem !important;
}

.detail-page .benefit p {
  color: #b7c9d5 !important;
  font-size: 0.82rem !important;
  line-height: 1.7 !important;
}

.detail-page .cta {
  padding: 62px 0 !important;
  background: var(--lime) !important;
  color: var(--ink) !important;
}

.detail-page .cta h2 {
  color: var(--ink) !important;
  font-size: clamp(1.8rem, 3vw, 2.85rem) !important;
}

.detail-page .cta p {
  max-width: 730px !important;
  margin-bottom: 0;
  color: rgba(7, 27, 45, 0.72) !important;
  font-size: 0.88rem !important;
}

.detail-page .cta .phone {
  border: 1px solid rgba(7, 27, 45, 0.15);
  background: var(--ink) !important;
  box-shadow: 0 13px 30px rgba(7, 27, 45, 0.2);
  color: #fff !important;
}

/* Footer */
.site-footer,
footer.site-footer,
body > footer {
  position: relative;
  overflow: hidden;
  padding: 78px 0 25px !important;
  background: #061623 !important;
  color: #fff !important;
}

.site-footer::before,
body > footer::before {
  position: absolute;
  top: -200px;
  right: -190px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(255, 255, 255, 0.012);
  content: "";
}

.footer-grid,
.site-footer .foot-grid {
  position: relative;
  display: grid !important;
  grid-template-columns: 1.4fr 0.65fr 0.85fr 1fr !important;
  gap: 45px !important;
}

.footer-brand,
.site-footer .footer-brand {
  width: fit-content;
  display: inline-flex;
  margin-bottom: 20px;
  padding: 7px 11px;
  border-radius: 11px;
  background: #fff;
}

.footer-brand img,
.site-footer .brand img,
body > footer .brand img {
  width: 170px !important;
  margin-bottom: 0;
  filter: none;
}

.footer-intro p,
.site-footer .foot-grid > div:first-child p,
body > footer .foot-grid > div:first-child p {
  max-width: 330px;
  color: #9eb3c1 !important;
  font-size: 0.86rem !important;
  line-height: 1.75 !important;
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 23px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: grid !important;
  place-items: center;
  margin: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff !important;
  font-size: 0.7rem;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
  background: var(--lime);
  color: var(--ink) !important;
}

.footer-column h3,
.site-footer .foot-grid h3,
body > footer .foot-grid h3 {
  margin: 0 0 21px !important;
  color: #fff !important;
  font-size: 0.96rem !important;
}

.footer-column > a,
.site-footer .foot-grid a:not(.brand),
body > footer .foot-grid a:not(.brand) {
  display: block !important;
  margin: 9px 0 !important;
  color: #9eb3c1 !important;
  font-size: 0.82rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-column > a:hover,
.site-footer .foot-grid a:not(.brand):hover,
body > footer .foot-grid a:not(.brand):hover {
  color: var(--lime) !important;
  transform: translateX(3px);
}

.footer-column p,
.site-footer .foot-grid p,
body > footer .foot-grid p {
  color: #9eb3c1 !important;
  font-size: 0.82rem !important;
  line-height: 1.7 !important;
}

.footer-bottom,
.site-footer .bottom,
body > footer .bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 58px !important;
  padding-top: 23px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #7890a0 !important;
  font-size: 0.73rem !important;
  text-align: left !important;
}

.footer-bottom {
  padding-right: 155px !important;
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
}

.footer-bottom-links a:hover {
  color: #fff;
}

.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 35;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: #1fa86a !important;
  box-shadow: 0 16px 40px rgba(7, 27, 45, 0.28) !important;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-contact::before {
  width: 28px !important;
  height: 28px !important;
  display: grid !important;
  place-items: center !important;
  margin: 0 !important;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16) !important;
  content: "W" !important;
  font-family: Outfit, sans-serif;
  font-size: 0.72rem;
}

.floating-contact:hover {
  box-shadow: 0 20px 45px rgba(7, 27, 45, 0.34) !important;
  transform: translateY(-3px);
}

/* Motion */
@keyframes ssa-pulse-dot {
  0%, 100% {
    box-shadow: 0 0 0 5px rgba(139, 197, 64, 0.15);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(139, 197, 64, 0.02);
    transform: scale(1.12);
  }
}

@keyframes ssa-float-small {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-0.3deg);
  }
  50% {
    transform: translate3d(0, -9px, 0) rotate(0.6deg);
  }
}

@keyframes ssa-float-badge {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -7px, 0);
  }
}

@keyframes ssa-dot-drift {
  0%, 100% {
    background-position: 0 0;
  }
  50% {
    background-position: 13px 13px;
  }
}

@keyframes ssa-image-settle {
  from {
    filter: saturate(0.82);
    transform: scale(1.045);
  }
  to {
    filter: saturate(1);
    transform: scale(1);
  }
}

@keyframes ssa-contact-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
}

@keyframes ssa-reveal-up {
  from {
    opacity: 0;
    translate: 0 24px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes ssa-reveal-left {
  from {
    opacity: 0;
    translate: -30px 0;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes ssa-reveal-right {
  from {
    opacity: 0;
    translate: 30px 0;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes ssa-reveal-zoom {
  from {
    opacity: 0;
    scale: 0.965;
    translate: 0 22px;
  }
  to {
    opacity: 1;
    scale: 1;
    translate: 0 0;
  }
}

@keyframes ssa-copy-in {
  from {
    opacity: 0;
    translate: 0 14px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes ssa-underline-draw {
  from {
    transform: skewX(-24deg) scaleX(0);
  }
  to {
    transform: skewX(-24deg) scaleX(1);
  }
}

@keyframes ssa-metric-pop {
  from {
    opacity: 0.4;
    scale: 0.94;
    translate: 0 6px;
  }
  to {
    opacity: 1;
    scale: 1;
    translate: 0 0;
  }
}

@keyframes ssa-menu-item {
  from {
    opacity: 0;
    translate: 0 -8px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

.admissions-pill i {
  animation: ssa-pulse-dot 2.4s ease-in-out 3;
}

.home-page .hero-image-small {
  animation: ssa-float-small 5.6s ease-in-out 0.8s 3;
}

.home-page .hero-badge {
  animation: ssa-float-badge 6.2s ease-in-out 0.25s 3;
}

.home-page .hero-dots {
  animation: ssa-dot-drift 8s ease-in-out 2;
}

.page-hero-media img {
  animation: ssa-image-settle 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.floating-contact::before {
  animation: ssa-contact-pulse 2.8s ease-in-out 3;
}

.stat-item strong,
.placement-hero-metrics strong {
  font-variant-numeric: tabular-nums;
}

.stat-item strong.is-counting,
.placement-hero-metrics strong.is-counting {
  color: var(--sky);
}

.js [data-reveal] {
  opacity: 0;
}

.js [data-reveal].is-visible {
  animation: ssa-reveal-up 0.72s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms) both;
}

.js [data-reveal="left"].is-visible {
  animation-name: ssa-reveal-left;
}

.js [data-reveal="right"].is-visible {
  animation-name: ssa-reveal-right;
}

.js [data-reveal="zoom"].is-visible {
  animation-name: ssa-reveal-zoom;
}

.js .hero-copy:not(.is-visible) > .admissions-pill,
.js .hero-copy:not(.is-visible) > h1,
.js .hero-copy:not(.is-visible) > p,
.js .hero-copy:not(.is-visible) > .hero-actions,
.js .hero-copy:not(.is-visible) > .hero-proof {
  opacity: 0;
}

.js .hero-copy.is-visible > .admissions-pill,
.js .hero-copy.is-visible > h1,
.js .hero-copy.is-visible > p,
.js .hero-copy.is-visible > .hero-actions,
.js .hero-copy.is-visible > .hero-proof {
  animation: ssa-copy-in 0.62s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.js .hero-copy.is-visible > h1 {
  animation-delay: 80ms;
}

.js .hero-copy.is-visible > p {
  animation-delay: 160ms;
}

.js .hero-copy.is-visible > .hero-actions {
  animation-delay: 240ms;
}

.js .hero-copy.is-visible > .hero-proof {
  animation-delay: 320ms;
}

.js .hero-copy h1 span::after {
  transform: skewX(-24deg) scaleX(0);
  transform-origin: left center;
}

.js .hero-copy.is-visible h1 span::after {
  animation: ssa-underline-draw 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 420ms both;
}

.stat-item.is-visible strong,
.placement-hero-metrics > div.is-visible strong {
  animation: ssa-metric-pop 0.58s cubic-bezier(0.2, 0.7, 0.2, 1) calc(var(--reveal-delay, 0ms) + 120ms) both;
}

.course-card,
.pathway-card,
.facility-card,
.placement-card,
.catalogue-card {
  position: relative;
}

.course-card::before,
.pathway-card::before,
.facility-card::before,
.placement-card::before,
.catalogue-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 4;
  height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--lime));
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (hover: hover) and (pointer: fine) {
  .course-card:hover::before,
  .pathway-card:hover::before,
  .facility-card:hover::before,
  .placement-card:hover::before,
  .catalogue-card:hover::before {
    transform: scaleX(1);
  }
}

.course-card:focus-within::before,
.pathway-card:focus-within::before,
.facility-card:focus-within::before,
.placement-card:focus-within::before,
.catalogue-card:focus-within::before {
  transform: scaleX(1);
}

.course-card:focus-within,
.placement-card:focus-within {
  border-color: rgba(53, 169, 223, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-7px);
}

.pathway-card:focus-within,
.catalogue-card:focus-within {
  transform: translateY(-4px);
}

.facility-card:focus-within {
  transform: translateY(-5px);
}

.course-card:focus-within .course-card__image img,
.placement-card:focus-within .placement-card__photo img {
  transform: scale(1.04);
}

@media (max-width: 1140px) {
  :root {
    --header-height: 76px;
  }

  .site-header .brand img {
    width: 148px !important;
  }

  .primary-nav > a,
  .primary-nav .nav-link,
  .site-header .links > a,
  .site-header .dropdown > a {
    padding-right: 9px !important;
    padding-left: 9px !important;
    font-size: 0.8rem;
  }

  .nav-cta {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.8fr);
    gap: 45px;
  }

  .hero-image-small {
    right: -8px;
  }

  .course-card {
    grid-template-columns: 0.82fr 1fr;
  }

  .course-card__body {
    padding: 29px 25px 26px;
  }

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

  .placement-preview-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(370px, 1.05fr);
  }

  .placement-card__photo {
    height: 320px;
  }

  .footer-grid,
  .site-footer .foot-grid {
    grid-template-columns: 1.3fr 0.7fr 0.8fr !important;
  }

  .footer-grid > :last-child,
  .site-footer .foot-grid > :last-child {
    grid-column: auto;
  }
}

@media (max-width: 920px) {
  .wrap,
  .container {
    width: min(100% - 36px, var(--container));
  }

  .site-topbar {
    display: none;
  }

  .menu-toggle,
  .site-header .hamb {
    display: grid;
  }

  .site-header .hamb {
    font-size: 0;
  }

  .site-header .hamb::before {
    width: 19px;
    height: 14px;
    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    box-shadow: inset 0 5px transparent, inset 0 7px currentColor;
    content: "";
  }

  .primary-nav,
  .site-header .links {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    z-index: 38;
    height: calc(100dvh - var(--header-height));
    display: block !important;
    overflow-y: auto;
    padding: 18px 18px 105px;
    border-top: 1px solid var(--line);
    background: #fff;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .site-header.menu-visible .primary-nav,
  .site-header.menu-visible .links {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .primary-nav > *,
  .site-header .links > * {
    opacity: 0;
    translate: 0 -8px;
  }

  .site-header.menu-visible .primary-nav > *,
  .site-header.menu-visible .links > * {
    animation: ssa-menu-item 0.3s ease-out both;
  }

  .site-header.menu-visible .primary-nav > :nth-child(2),
  .site-header.menu-visible .links > :nth-child(2) {
    animation-delay: 35ms;
  }

  .site-header.menu-visible .primary-nav > :nth-child(3),
  .site-header.menu-visible .links > :nth-child(3) {
    animation-delay: 70ms;
  }

  .site-header.menu-visible .primary-nav > :nth-child(4),
  .site-header.menu-visible .links > :nth-child(4) {
    animation-delay: 105ms;
  }

  .site-header.menu-visible .primary-nav > :nth-child(5),
  .site-header.menu-visible .links > :nth-child(5) {
    animation-delay: 140ms;
  }

  .site-header.menu-visible .primary-nav > :nth-child(6),
  .site-header.menu-visible .links > :nth-child(6) {
    animation-delay: 175ms;
  }

  .primary-nav > a,
  .primary-nav .nav-link,
  .site-header .links > a,
  .site-header .dropdown > a {
    width: 100%;
    min-height: 54px;
    justify-content: space-between;
    padding: 13px 15px !important;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 0.94rem;
  }

  .nav-dropdown,
  .site-header .dropdown {
    display: block !important;
  }

  .dropdown-menu,
  .site-header .dropdown-panel,
  .nav-dropdown--wide .dropdown-menu {
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    max-height: 0;
    display: grid !important;
    grid-template-columns: 1fr;
    overflow: hidden !important;
    padding: 0 9px !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    opacity: 1;
    pointer-events: none;
    transform: none !important;
    visibility: visible;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }

  .nav-dropdown.is-open > .dropdown-menu,
  .site-header .dropdown:focus-within > .dropdown-panel {
    max-height: 900px;
    padding-top: 8px !important;
    padding-bottom: 10px !important;
    pointer-events: auto;
    transform: none !important;
  }

  .nav-dropdown:hover > .dropdown-menu,
  .nav-dropdown:focus-within > .dropdown-menu,
  .site-header .dropdown:hover > .dropdown-panel {
    transform: none !important;
  }

  .dropdown-menu a,
  .site-header .dropdown-panel a {
    min-height: 45px;
  }

  .hero-grid,
  .page-hero-grid,
  .experience-grid,
  .content-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .home-hero {
    padding-top: 70px;
  }

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

  .hero-visual {
    min-height: 520px;
    max-width: 620px;
    margin: 0 auto;
  }

  .hero-image-main {
    inset: 0 18px 35px 42px;
  }

  .hero-badge {
    left: 5px;
  }

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

  .stat-item:nth-child(3) {
    border-top: 1px solid var(--line);
  }

  .stat-item:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .course-card {
    min-height: 390px;
    grid-template-columns: 0.75fr 1fr;
  }

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

  .experience-media {
    min-height: 560px;
    max-width: 640px;
  }

  .accreditation-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

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

  .testimonial-card {
    min-height: 0;
  }

  .placement-preview-grid,
  .placement-hero .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .placement-community-card {
    min-height: 590px;
  }

  .placement-mini-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .placement-mini {
    grid-template-columns: 1fr;
  }

  .placement-mini img {
    width: 100%;
    height: 230px;
    min-height: 0;
  }

  .placement-preview-footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .placement-hero-media {
    max-width: 100%;
  }

  .academy-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .academy-gallery__wide {
    grid-column: 1 / -1;
  }

  .academy-gallery figure {
    min-height: 430px;
  }

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

  .contact-panel__actions {
    display: flex;
    flex-wrap: wrap;
  }

  .page-hero-media {
    max-width: 600px;
  }

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

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

  .message-card {
    grid-template-columns: 300px 1fr;
  }

  .branch-grid-modern,
  .office-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid,
  .site-footer .foot-grid,
  body > footer .foot-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 680px) {
  .wrap,
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section-heading {
    display: block;
    margin-bottom: 35px;
  }

  .section-heading > p,
  .section-heading .heading-copy {
    margin-top: 17px;
  }

  .home-hero {
    padding: 52px 0 58px;
  }

  .hero-copy h1 {
    font-size: clamp(3.05rem, 14vw, 4.5rem);
  }

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

  .hero-proof {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }

  .proof-avatars span {
    width: 36px;
    height: 36px;
    margin-left: -8px;
  }

  .hero-visual {
    min-height: 410px;
  }

  .hero-image-main {
    inset: 0 0 26px 0;
    border-radius: 24px 75px 24px 24px;
  }

  .hero-badge {
    top: 16px;
    left: -5px;
    width: 137px;
    padding: 14px;
  }

  .hero-image-small {
    right: -5px;
    width: 165px;
    height: 116px;
    border-width: 5px;
  }

  .hero-dots {
    display: none;
  }

  .stats-grid,
  .course-grid,
  .pathway-grid,
  .catalogue-grid,
  .milestone-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .team-card {
    min-height: 190px;
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
  }

  .team-card__portrait {
    min-height: 190px;
    aspect-ratio: auto;
  }

  .team-card__body {
    min-height: 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 19px 17px;
  }

  .team-card h3 {
    font-size: 1.05rem;
  }

  .stat-item,
  .stat-item:nth-child(n) {
    min-height: 94px;
    padding: 20px 22px;
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }

  .stat-item:first-child {
    border-top: 0;
  }

  .course-card {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .course-card__image {
    height: 230px;
  }

  .course-card__body {
    min-height: 315px;
  }

  .experience-media {
    min-height: 430px;
  }

  .experience-media > img {
    inset: 0 25px 34px 0;
    width: calc(100% - 25px);
    height: calc(100% - 34px);
  }

  .experience-note {
    width: 230px;
    padding: 17px;
  }

  .feature-list,
  .logo-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .facility-grid,
  .placement-mini-list,
  .placement-grid,
  .academy-gallery,
  .placement-hero-metrics {
    grid-template-columns: 1fr;
  }

  .facility-card {
    min-height: 170px;
  }

  .placement-community-card {
    min-height: 470px;
  }

  .placement-community-card figcaption {
    right: 21px;
    bottom: 21px;
    left: 21px;
  }

  .placement-mini {
    grid-template-columns: 112px 1fr;
  }

  .placement-mini img {
    width: 112px;
    height: 100%;
    min-height: 185px;
  }

  .placement-mini > div {
    padding: 18px;
  }

  .placement-preview-footer .button {
    width: 100%;
  }

  .academy-gallery__wide {
    grid-column: auto;
  }

  .academy-gallery figure {
    min-height: 390px;
  }

  .placement-hero-metrics div {
    min-height: 0;
  }

  .placement-hero-media img {
    height: 350px;
  }

  .placement-card__photo {
    height: 365px;
  }

  .placement-disclaimer {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 22px;
  }

  .logo-row {
    gap: 28px 20px;
  }

  .logo-row img {
    height: 55px;
  }

  .contact-panel {
    padding: 37px 25px;
    border-radius: 22px;
  }

  .contact-panel__actions,
  .contact-panel__actions .button {
    width: 100%;
  }

  .page-hero {
    padding: 65px 0 70px;
  }

  .page-hero h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .page-hero-media img {
    height: 270px;
  }

  .content-grid__media img {
    min-height: 330px;
  }

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

  .message-card__image img {
    min-height: 390px;
    max-height: 480px;
  }

  .branch-card-modern,
  .office-card {
    grid-template-columns: 82px 1fr;
    gap: 17px;
    padding: 20px;
  }

  .branch-card-modern img {
    width: 82px;
    height: 105px;
  }

  .contact-layout {
    gap: 22px;
  }

  .contact-details,
  .form-card-modern {
    padding: 25px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .field--full,
  .form-actions,
  .form-success {
    grid-column: auto;
  }

  .form-actions {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .catalogue-toolbar {
    grid-template-columns: 1fr;
  }

  .filter-group {
    overflow-x: auto;
  }

  .filter-button {
    white-space: nowrap;
  }

  .detail-page main > .hero {
    min-height: 350px !important;
    padding: 78px 17px 60px !important;
  }

  .detail-page main > .hero .page-kicker {
    top: 42px;
  }

  .detail-page .two-col,
  .detail-page .benefit-grid {
    grid-template-columns: 1fr !important;
  }

  .detail-page .course-image,
  .detail-page .overview img {
    min-height: 260px !important;
    height: 290px !important;
  }

  .detail-page .cta-flex {
    align-items: flex-start !important;
    flex-direction: column;
  }

  .footer-grid,
  .site-footer .foot-grid,
  body > footer .foot-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-bottom,
  .site-footer .bottom,
  body > footer .bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom {
    padding-right: 0 !important;
  }

  .floating-contact {
    right: 12px;
    bottom: 12px;
    width: 52px;
    min-height: 52px;
    justify-content: center;
    gap: 0;
    padding: 10px;
    font-size: 0;
  }

  .floating-contact::before {
    width: 30px !important;
    height: 30px !important;
    font-size: 0.72rem;
  }

  .js [data-reveal="left"].is-visible,
  .js [data-reveal="right"].is-visible {
    animation-name: ssa-reveal-up;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1 !important;
    animation: none !important;
    scale: 1;
    translate: 0 0;
    transform: none;
    transition-delay: 0ms !important;
  }

  .hero-copy > .admissions-pill,
  .hero-copy > h1,
  .hero-copy > p,
  .hero-copy > .hero-actions,
  .hero-copy > .hero-proof {
    opacity: 1 !important;
    animation: none !important;
    translate: 0 0;
  }

  .hero-copy h1 span::after {
    animation: none !important;
    transform: skewX(-24deg) scaleX(1) !important;
  }

  .site-header.menu-visible .primary-nav > *,
  .site-header.menu-visible .links > * {
    opacity: 1;
    animation: none !important;
    translate: 0 0;
  }
}
