:root {
  --shfe-navy: #0a2c45;
  --shfe-navy-deep: #081a2a;
  --shfe-navy-soft: #113b5c;
  --shfe-green: #1dff00;
  --shfe-green-deep: #18b349;
  --shfe-red: #e00000;
  --shfe-red-soft: #ff5a4a;
  --shfe-bg: #f4f7f9;
  --shfe-bg-soft: #ebf1f5;
  --shfe-bg-panel: #fcfdfe;
  --shfe-text: #17324a;
  --shfe-muted: #617488;
  --shfe-border: rgba(10, 44, 69, 0.12);
  --shfe-shadow: 0 18px 40px rgba(10, 44, 69, 0.1);
  --shfe-shadow-soft: 0 10px 24px rgba(10, 44, 69, 0.08);
  --shfe-shadow-deep: 0 30px 70px rgba(7, 23, 36, 0.2);
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.6rem;
}

body {
  color: var(--shfe-text);
  background:
    radial-gradient(circle at top left, rgba(17, 59, 92, 0.05), transparent 24%),
    linear-gradient(180deg, #f7fafc 0%, #eef3f7 100%);
  font-family: var(--font-body);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.cookie-banner-visible {
  padding-bottom: clamp(11rem, 24vw, 14rem);
}

::selection {
  background: rgba(224, 0, 0, 0.18);
  color: var(--shfe-navy-deep);
}

h1,
h2,
h3,
h4,
.navbar-brand strong,
.btn,
.metric-card strong,
.programme-list strong,
.single-programme strong {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

p,
li,
label,
input,
textarea,
.nav-link,
.lead,
.section-copy {
  font-size: 1rem;
}

.bg-navy {
  background-color: var(--shfe-navy);
}

.navbar {
  backdrop-filter: blur(18px);
  background:
    linear-gradient(180deg, rgba(8, 26, 42, 0.96), rgba(8, 26, 42, 0.88));
  box-shadow: 0 14px 34px rgba(6, 18, 30, 0.18);
}

.mobile-top-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.54rem 0.88rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff624f 0%, #db2c22 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(224, 0, 0, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.mobile-top-contact:hover,
.mobile-top-contact:focus {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(224, 0, 0, 0.24);
}

.mobile-bottom-nav {
  position: fixed;
  right: 0.8rem;
  bottom: 0.8rem;
  left: 0.8rem;
  z-index: 1055;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.mobile-bottom-nav-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.38rem;
  align-items: stretch;
  max-width: 40rem;
  margin: 0 auto;
  padding: 0.52rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(8, 26, 42, 0.97), rgba(10, 44, 69, 0.94));
  box-shadow:
    0 20px 38px rgba(7, 23, 36, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.mobile-bottom-link {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.26rem;
  min-height: 4.1rem;
  padding: 0.52rem 0.24rem 0.46rem;
  border-radius: 1rem;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.mobile-bottom-link:hover,
.mobile-bottom-link:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.mobile-bottom-link.is-active {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.mobile-bottom-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.88rem;
  height: 1.88rem;
  border-radius: 0.72rem;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.mobile-bottom-link.is-active .mobile-bottom-icon {
  background: rgba(29, 255, 0, 0.14);
  color: #d8ffd0;
}

.mobile-bottom-icon svg {
  display: block;
  width: 1rem;
  height: 1rem;
}

.mobile-bottom-label {
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.05;
  text-align: center;
  text-wrap: balance;
}

.brand-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  padding: 4px;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.77rem;
}

.navbar-nav .nav-link {
  position: relative;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.74);
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.btn {
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
}

.btn-danger {
  background: linear-gradient(180deg, #ff624f 0%, #db2c22 100%);
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(224, 0, 0, 0.22);
}

.btn-success {
  background: linear-gradient(180deg, #22d460 0%, #119b42 100%);
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(24, 179, 73, 0.22);
}

.btn-outline-light,
.btn-outline-danger {
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  color: var(--shfe-navy-deep);
  background: #fff;
  border-color: #fff;
}

.btn-outline-danger:hover,
.btn-outline-danger:focus {
  box-shadow: 0 12px 24px rgba(224, 0, 0, 0.16);
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 5.6rem;
  background-color: #08131d;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(29, 255, 0, 0.14), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(224, 0, 0, 0.16), transparent 20%),
    linear-gradient(180deg, rgba(8, 19, 29, 0.1), rgba(8, 19, 29, 0.84)),
    var(--hero-media-image, url("../img/herobanner.png")) center/cover no-repeat;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(8, 19, 29, 0), rgba(8, 19, 29, 0.74));
}

.hero-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 1.35rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.hero-logo {
  max-width: 300px;
  filter:
    drop-shadow(0 16px 34px rgba(0, 0, 0, 0.3))
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.14));
}

.hero-brand-tagline {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-title {
  display: grid;
  gap: 0.2rem;
  line-height: 0.92;
  text-transform: uppercase;
}

.hero-title-line {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 0.08em 0.18em;
  letter-spacing: 0.03em;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
}

.hero-title-line-primary {
  color: #ffffff;
}

.hero-title-line-accent {
  color: #1dff00;
}

.hero-secondary-actions {
  margin-top: 0.95rem;
}

.hero-download-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 180ms ease, transform 180ms ease;
}

.hero-download-link::after {
  content: "PDF";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-download-link:hover,
.hero-download-link:focus {
  color: #fff;
  transform: translateY(-1px);
}

.hero-panel,
.plain-card,
.programme-card {
  border: 1px solid var(--shfe-border);
  border-radius: 1.25rem;
  box-shadow: var(--shfe-shadow);
}

.hero-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 253, 0.9));
  color: var(--shfe-text);
  backdrop-filter: blur(12px);
  box-shadow: var(--shfe-shadow-deep);
}

.metric-card {
  height: 100%;
  padding: 1rem 1rem 1.05rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(10, 44, 69, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.metric-card strong {
  font-size: 1rem;
}

.metric-card strong,
.programme-body h3,
.plain-card h3,
.section-title {
  display: block;
  font-weight: 700;
}

.metric-card p {
  margin: 0.45rem 0 0;
  color: var(--shfe-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.section-block {
  padding: 5rem 0;
  position: relative;
}

#programmes {
  overflow: hidden;
  background: linear-gradient(180deg, #f7fafc 0%, #f1f5f8 100%);
}

#programmes::before {
  content: "";
  position: absolute;
  inset: -24px;
  background:
    linear-gradient(180deg, rgba(247, 250, 252, 0.78), rgba(241, 245, 248, 0.84)),
    url("../img/Picture6.jpg") center/cover no-repeat;
  filter: blur(10px);
  opacity: 0.32;
  pointer-events: none;
}

#programmes > .container {
  position: relative;
  z-index: 1;
}

.section-label {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--shfe-red);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  line-height: 1;
  text-wrap: balance;
}

.section-heading .section-title {
  max-width: 14ch;
}

.programme-scan-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin: 0 auto 1.6rem;
}

.scan-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.52rem 0.82rem;
  border-radius: 999px;
  background: rgba(10, 44, 69, 0.055);
  border: 1px solid rgba(10, 44, 69, 0.08);
  color: var(--shfe-navy);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.lead,
.section-copy {
  max-width: 62ch;
}

.section-copy,
.plain-card p,
.programme-body p,
.contact-stack small,
.contact-stack strong,
.custom-list li {
  color: var(--shfe-muted);
  line-height: 1.7;
}

.section-image,
.programme-image {
  width: 100%;
  border-radius: 1.2rem;
  object-fit: cover;
  box-shadow: var(--shfe-shadow);
}

.section-image {
  background: #dfe7ee;
  aspect-ratio: 16 / 10;
}

.image-ribbon {
  margin-top: -1.25rem;
  margin-bottom: 1.25rem;
}

.ribbon-image {
  aspect-ratio: 4 / 3;
}

.dark-image {
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.plain-card {
  height: 100%;
  padding: 1.55rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(251, 253, 254, 1));
}

.plain-card small,
.info-card small,
.programme-body small {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--shfe-navy);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.info-card {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--shfe-border);
  box-shadow: var(--shfe-shadow-soft);
}

.info-card strong {
  display: block;
  color: var(--shfe-text);
}

.accent-border {
  border-top: 5px solid var(--shfe-green);
}

.about-meta-row .plain-card,
.leadership-grid .plain-card {
  box-shadow: var(--shfe-shadow-soft);
}

#leadership {
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(29, 255, 0, 0.08), transparent 18%),
    radial-gradient(circle at bottom left, rgba(224, 0, 0, 0.08), transparent 22%),
    linear-gradient(180deg, #f7fafc 0%, #edf3f7 100%);
}

#leadership .section-heading {
  max-width: 72rem;
  margin: 0 auto 3rem;
}

#leadership .section-copy {
  max-width: 44rem;
}

.expertise-showcase {
  margin-top: 0.5rem;
}

.expertise-photo-card {
  position: relative;
  padding: 1rem;
  border-radius: 1.65rem;
  background:
    linear-gradient(135deg, rgba(8, 26, 42, 1), rgba(17, 59, 92, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shfe-shadow-deep);
  overflow: hidden;
}

.expertise-photo-card::before {
  content: "";
  position: absolute;
  inset: auto -12% -26% auto;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(29, 255, 0, 0.2), transparent 68%);
  pointer-events: none;
}

.expertise-photo-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.expertise-team-image {
  width: 100%;
  display: block;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center center;
}

.expertise-photo-caption {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 1rem;
}

.expertise-photo-caption > div,
.expertise-photo-caption p,
.expertise-photo-caption li {
  flex: 1 1 20rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.expertise-photo-caption ul,
.expertise-photo-caption ol {
  flex: 1 1 20rem;
  margin: 0;
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
}

.expertise-photo-caption a {
  color: #fff;
}

.expertise-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.expertise-panel {
  position: relative;
  padding: 1.75rem;
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 252, 0.96));
  border: 1px solid var(--shfe-border);
  box-shadow: var(--shfe-shadow);
  overflow: hidden;
}

.expertise-panel::before {
  content: "";
  position: absolute;
  inset: -4rem -4rem auto auto;
  width: 14rem;
  height: 14rem;
  background: radial-gradient(circle, rgba(29, 255, 0, 0.12), transparent 70%);
  pointer-events: none;
}

.expertise-panel h3 {
  position: relative;
  margin-bottom: 0.85rem;
  font-size: clamp(1.65rem, 2.7vw, 2.25rem);
  line-height: 1.1;
}

.expertise-panel p,
.expertise-panel .row {
  position: relative;
  z-index: 1;
}

.expertise-chip-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
}

.expertise-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(10, 44, 69, 0.06);
  border: 1px solid rgba(10, 44, 69, 0.08);
  color: var(--shfe-navy);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.35;
}

.expertise-credentials-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background:
    radial-gradient(circle at top right, rgba(29, 255, 0, 0.1), transparent 30%),
    linear-gradient(135deg, rgba(8, 26, 42, 1), rgba(17, 59, 92, 0.96));
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shfe-shadow-deep);
}

.expertise-credentials-card h3,
.expertise-credentials-card p,
.expertise-credentials-card .custom-list li {
  color: rgba(255, 255, 255, 0.84);
}

.expertise-credentials-card h3 {
  margin-bottom: 0.15rem;
  color: #fff;
}

.expertise-credentials-card small {
  color: rgba(255, 255, 255, 0.72);
}

.expertise-credentials-card .credentials-copy,
.expertise-credentials-card .credentials-copy p,
.expertise-credentials-card .credentials-copy li {
  margin: 0;
  max-width: 72rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.78;
}

.expertise-credentials-card .credentials-copy strong,
.expertise-credentials-card .credentials-copy b {
  color: #fff;
}

.expertise-credentials-card .director-signature {
  margin-top: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 600;
  line-height: 1.6;
}

.expertise-callout {
  height: 100%;
  padding: 1.15rem 1.2rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.expertise-callout strong {
  display: block;
  margin-bottom: 0.55rem;
  color: #fff;
  font-size: 1.05rem;
}

.expertise-callout p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.trainer-role-card .expertise-callout {
  background: rgba(10, 44, 69, 0.045);
  border: 1px solid rgba(10, 44, 69, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.trainer-role-card .expertise-callout strong {
  color: var(--shfe-text);
}

.trainer-role-card .expertise-callout p {
  color: var(--shfe-muted);
}

.closing-statement-card {
  background:
    radial-gradient(circle at top left, rgba(29, 255, 0, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 251, 0.98));
  border-top: 5px solid var(--shfe-red);
  box-shadow: var(--shfe-shadow);
}

.closing-statement-card h3 {
  color: var(--shfe-text);
}

.closing-statement-card p {
  color: var(--shfe-muted);
}

.closing-statement-card a {
  color: var(--shfe-red);
  font-weight: 700;
  text-decoration: none;
}

.closing-statement-card a:hover,
.closing-statement-card a:focus {
  text-decoration: underline;
}

.custom-list {
  padding-left: 1.1rem;
}

.custom-list li + li {
  margin-top: 0.5rem;
}

.programme-card {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(249, 251, 253, 1));
}

.programme-image {
  aspect-ratio: 16 / 9;
  border-radius: 0;
  box-shadow: none;
}

.programme-body {
  padding: 1.75rem;
}

.programme-body h3 {
  font-size: 1.55rem;
  line-height: 1.1;
}

.programme-table-wrap {
  margin-top: 1.15rem;
  overflow-x: auto;
}

.programme-table {
  width: 100%;
  min-width: 520px;
  border-collapse: separate;
  border-spacing: 0 0.6rem;
}

.programme-table th {
  padding: 0 0.2rem 0.2rem;
  color: var(--shfe-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.programme-table th:last-child {
  text-align: right;
}

.programme-table td {
  padding: 0.72rem 0.8rem;
  border-top: 1px solid rgba(10, 44, 69, 0.08);
  border-bottom: 1px solid rgba(10, 44, 69, 0.08);
  background: rgba(10, 44, 69, 0.035);
  color: var(--shfe-text);
  line-height: 1.32;
  vertical-align: middle;
}

.programme-table td:first-child {
  border-left: 1px solid rgba(10, 44, 69, 0.08);
  border-radius: 0.95rem 0 0 0.95rem;
  overflow-wrap: anywhere;
}

.programme-table td:last-child {
  border-right: 1px solid rgba(10, 44, 69, 0.08);
  border-radius: 0 0.95rem 0.95rem 0;
  text-align: right;
  white-space: nowrap;
}

.programme-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  background: rgba(224, 0, 0, 0.08);
  color: var(--shfe-red);
  font-style: normal;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.why-item {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(10, 44, 69, 0.045);
  border: 1px solid rgba(10, 44, 69, 0.06);
}

.why-item h4 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--shfe-text);
}

.why-item p {
  margin: 0;
  font-size: 0.93rem;
}

#programmes .plain-card {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fb 100%);
  border-color: rgba(10, 44, 69, 0.1);
}

#programmes .plain-card small {
  margin-bottom: 1rem;
}

.why-item-wide {
  grid-column: 1 / -1;
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(29, 255, 0, 0.08), transparent 20%),
    radial-gradient(circle at bottom left, rgba(255, 90, 74, 0.08), transparent 18%),
    linear-gradient(180deg, #0b1b28 0%, #102a3c 100%);
}

.dark-card {
  height: 100%;
  padding: 2rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

#facilities .section-title {
  max-width: 9ch;
  font-size: clamp(2rem, 3.6vw, 3.15rem);
}

#facilities .section-copy {
  max-width: 34ch;
}

.facilities-hero {
  align-items: stretch;
}

.facilities-main-image {
  aspect-ratio: 16 / 10;
  min-height: 100%;
}

.facilities-side-image {
  aspect-ratio: 4 / 3;
}

.facilities-note {
  padding: 1.25rem;
  border-radius: 1.2rem;
  background: linear-gradient(180deg, #0f3048 0%, #173e5f 100%);
  color: #fff;
  box-shadow: var(--shfe-shadow-soft);
}

.facilities-note small {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.facilities-note strong {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 1.1rem;
}

.facilities-note p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.facility-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  height: 100%;
  padding: 1.2rem 1.25rem;
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(250, 252, 253, 1));
  border: 1px solid var(--shfe-border);
  color: var(--shfe-text);
  box-shadow: var(--shfe-shadow);
  font-weight: 700;
  line-height: 1.45;
  text-wrap: balance;
  position: relative;
}

.facility-card strong {
  display: block;
  max-width: 24ch;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.facility-card::before {
  content: "";
  position: absolute;
  inset: 1rem auto 1rem 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--shfe-red-soft), var(--shfe-green-deep));
}

.facility-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  background: rgba(224, 0, 0, 0.08);
  color: var(--shfe-red);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-column {
  display: grid;
  gap: 1rem;
}

.contact-card-primary {
  background:
    radial-gradient(circle at top right, rgba(29, 255, 0, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(248, 251, 253, 1));
}

.contact-branch-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.contact-branch-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  background: rgba(10, 44, 69, 0.055);
  border: 1px solid rgba(10, 44, 69, 0.08);
  color: var(--shfe-navy);
  font-size: 0.82rem;
  font-weight: 700;
}

.contact-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.contact-stack {
  display: grid;
  gap: 1rem;
}

.contact-stack small {
  display: block;
  margin-bottom: 0.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-stack strong,
.contact-stack a {
  color: var(--shfe-text);
  text-decoration: none;
}

#contact .plain-card,
#contact form.plain-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(248, 251, 253, 1));
}

.contact-flow-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1rem;
  box-shadow: var(--shfe-shadow-soft);
}

.contact-flow-card .btn {
  width: 100%;
  margin-top: 0 !important;
  justify-content: center;
}

.flow-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}

.flow-step + .flow-step {
  margin-top: 1rem;
}

.flow-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff624f 0%, #db2c22 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 12px 20px rgba(224, 0, 0, 0.14);
}

.flow-step strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--shfe-text);
  font-family: var(--font-display);
  font-size: 1rem;
}

.flow-step p {
  margin: 0;
}

.contact-form-card {
  position: relative;
  overflow: hidden;
}

.contact-form-card::before {
  content: "";
  position: absolute;
  inset: -4rem -4rem auto auto;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle, rgba(29, 255, 0, 0.08), transparent 72%);
  pointer-events: none;
}

.form-intro,
.contact-note-row,
.contact-form-card .row,
.contact-form-card .d-flex,
.contact-form-card .form-status {
  position: relative;
  z-index: 1;
}

.form-intro {
  margin-bottom: 1.25rem;
}

.form-intro h3 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1.08;
}

.form-intro p {
  max-width: 56ch;
  color: var(--shfe-muted);
}

.contact-note-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.4rem;
}

.form-note-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.78rem;
  border-radius: 999px;
  background: rgba(10, 44, 69, 0.055);
  border: 1px solid rgba(10, 44, 69, 0.08);
  color: var(--shfe-navy);
  font-size: 0.82rem;
  font-weight: 700;
}

.form-control {
  border-color: rgba(10, 44, 69, 0.14);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
  min-height: 3.5rem;
}

textarea.form-control {
  min-height: auto;
}

.form-control:focus {
  border-color: rgba(224, 0, 0, 0.45);
  box-shadow: 0 0 0 0.25rem rgba(224, 0, 0, 0.12);
}

.form-status {
  color: var(--shfe-muted);
}

.form-status.is-success {
  color: #0d8b46;
}

.footer-block {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(29, 255, 0, 0.06), transparent 20%),
    linear-gradient(180deg, #0a2033 0%, #071421 100%);
}

.footer-title {
  display: block;
  margin-bottom: 0.3rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

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

.cookie-settings-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font: inherit;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.cookie-settings-link:hover,
.cookie-settings-link:focus {
  color: #fff;
  transform: translateY(-1px);
}

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1080;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner-card {
  max-width: 760px;
  margin-left: auto;
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.3rem;
  background:
    linear-gradient(180deg, rgba(8, 26, 42, 0.98), rgba(10, 44, 69, 0.95));
  color: #fff;
  box-shadow: 0 26px 56px rgba(7, 23, 36, 0.35);
}

.cookie-banner-eyebrow {
  margin: 0 0 0.35rem;
  color: rgba(29, 255, 0, 0.92);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cookie-banner-copy {
  margin: 0;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.82);
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

@media (max-width: 991.98px) {
  body {
    padding-bottom: 6.35rem;
  }

  .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(8, 19, 29, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shfe-shadow-deep);
  }

  .navbar-nav .btn,
  .hero-actions .btn {
    width: 100%;
  }

  .hero-section {
    padding: 5.35rem 0 3.7rem;
  }

  .hero-logo {
    max-width: 210px;
  }

  .section-block {
    padding: 3.35rem 0;
  }

  .image-ribbon {
    margin-top: 0;
    margin-bottom: 0.5rem;
  }

  .section-title {
    max-width: none;
    font-size: clamp(1.95rem, 4.8vw, 2.55rem);
  }

  #facilities .section-copy {
    max-width: none;
  }

  .section-copy,
  .plain-card p,
  .programme-body p,
  .custom-list li {
    font-size: 0.95rem;
    line-height: 1.58;
  }

  .hero-panel,
  .plain-card,
  .programme-body,
  .dark-card,
  .expertise-panel,
  .expertise-photo-card {
    padding: 1.25rem;
  }

  .metric-card,
  .info-card,
  .why-item,
  .facility-card,
  .facilities-note {
    padding: 0.9rem 0.95rem;
  }

  .programme-scan-row,
  .contact-note-row,
  .contact-branch-list,
  .contact-quick-actions {
    gap: 0.55rem;
  }

  .section-image {
    aspect-ratio: 16 / 9;
  }

  .programme-grid,
  .leadership-grid,
  .support-grid {
    row-gap: 1.25rem;
  }

  .cookie-banner {
    bottom: 6rem;
  }
}

@media (max-width: 767.98px) {
  .display-3 {
    font-size: clamp(2.15rem, 9vw, 2.85rem);
  }

  .hero-section {
    text-align: center;
    padding: 4.95rem 0 3.15rem;
  }

  .hero-brand {
    align-items: center;
    margin-inline: auto;
  }

  .hero-title-line {
    margin-inline: auto;
  }

  .hero-section .lead,
  .hero-section .section-label {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-secondary-actions {
    text-align: center;
  }

  .hero-panel {
    max-width: 34rem;
    margin-inline: auto;
    text-align: center;
  }

  .hero-panel,
  .plain-card,
  .programme-body,
  .dark-card,
  .expertise-panel,
  .expertise-photo-card {
    padding: 1.15rem;
  }

  .facility-card {
    padding: 0.9rem 0.95rem 0.9rem 1rem;
  }

  .hero-section .row {
    row-gap: 1.5rem;
  }

  .section-block {
    padding: 2.85rem 0;
  }

  .section-title {
    font-size: clamp(1.7rem, 6vw, 2.2rem);
  }

  .section-copy,
  .plain-card p,
  .programme-body p,
  .custom-list li {
    font-size: 0.93rem;
    line-height: 1.54;
  }

  .programme-list li {
    grid-template-columns: 44px 1fr;
  }

  .programme-list em {
    grid-column: 2;
  }

  .about-meta-row,
  .leadership-grid,
  .support-grid,
  .facilities-grid {
    --bs-gutter-x: 0.9rem;
    --bs-gutter-y: 0.9rem;
  }

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .why-item {
    padding: 0.82rem 0.88rem;
  }

  .support-grid > [class*="col-"],
  .facilities-grid > [class*="col-"] {
    flex: 0 0 auto;
    width: 50%;
  }

  .support-grid > [class*="col-"]:last-child {
    width: 100%;
  }

  .contact-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem 0.85rem;
  }

  .contact-stack strong,
  .contact-stack a {
    word-break: break-word;
  }

  .contact-quick-actions .btn {
    width: 100%;
  }

  #facilities .section-title {
    max-width: none;
  }

  .facilities-hero .col-md-4 .d-grid {
    grid-template-columns: 1fr;
  }

  .expertise-photo-caption {
    margin-top: 0.75rem;
  }

  .expertise-chip-wrap {
    gap: 0.5rem;
    margin-top: 0.9rem;
  }
}

@media (max-width: 575.98px) {
  body.cookie-banner-visible {
    padding-bottom: 13.5rem;
  }

  .container {
    --bs-gutter-x: 1.38rem;
  }

  .mobile-top-contact {
    min-height: 2.3rem;
    padding: 0.46rem 0.74rem;
    font-size: 0.78rem;
  }

  .mobile-bottom-nav {
    right: 0.95rem;
    bottom: 0.6rem;
    left: 0.95rem;
  }

  .mobile-bottom-nav-track {
    gap: 0.28rem;
    padding: 0.42rem;
    border-radius: 1.25rem;
  }

  .mobile-bottom-link {
    min-height: 3.8rem;
    gap: 0.22rem;
    padding-inline: 0.16rem;
  }

  .mobile-bottom-icon {
    width: 1.66rem;
    height: 1.66rem;
  }

  .mobile-bottom-label {
    font-size: 0.54rem;
  }

  .brand-copy small {
    display: none;
  }

  .hero-section {
    padding: 3.8rem 0 2.25rem;
  }

  .hero-logo {
    max-width: 150px;
  }

  .hero-brand {
    padding: 0.58rem 0.7rem;
    border-radius: 0.95rem;
  }

  .hero-brand-tagline {
    font-size: 0.68rem;
    letter-spacing: 0.03em;
  }

  .hero-title {
    gap: 0.15rem;
  }

  .hero-title-line {
    padding: 0.06em 0.12em;
    letter-spacing: 0.02em;
  }

  .hero-actions {
    display: grid !important;
    gap: 0.65rem !important;
  }

  .hero-secondary-actions {
    margin-top: 0.8rem;
  }

  .hero-download-link {
    justify-content: center;
  }

  .hero-section .btn {
    width: 100%;
  }

  .cookie-banner {
    right: 0.9rem;
    bottom: 0.75rem;
    left: 0.9rem;
  }

  .cookie-banner-card {
    padding: 1rem;
  }

  .cookie-banner-actions .btn {
    width: 100%;
  }

  .section-block {
    padding: 1.95rem 0;
  }

  .section-title {
    max-width: none;
    margin-bottom: 0.72rem;
    font-size: clamp(1.34rem, 6.6vw, 1.78rem);
    line-height: 1.04;
  }

  .section-heading {
    margin-bottom: 0.85rem;
  }

  .section-heading .section-title {
    max-width: none;
  }

  .hero-panel,
  .plain-card,
  .programme-body,
  .dark-card,
  .expertise-panel,
  .expertise-photo-card {
    padding: 0.88rem;
  }

  .section-copy,
  .metric-card p,
  .plain-card p,
  .programme-body p,
  .custom-list li {
    font-size: 0.86rem;
    line-height: 1.46;
  }

  .metric-card,
  .info-card {
    padding: 0.68rem 0.72rem;
    border-radius: 0.82rem;
  }

  .metric-card strong,
  .info-card strong {
    font-size: 0.88rem;
  }

  .plain-card,
  .programme-card,
  .hero-panel {
    border-radius: 1rem;
  }

  .hero-panel .row,
  #about .row.g-3.mt-3,
  .expertise-panel .row.g-3 {
    --bs-gutter-x: 0.6rem;
    --bs-gutter-y: 0.6rem;
  }

  .programme-grid,
  .leadership-grid,
  .support-grid,
  .facilities-grid {
    row-gap: 0.8rem;
  }

  .image-ribbon {
    --bs-gutter-x: 0.45rem;
    --bs-gutter-y: 0.45rem;
    margin-bottom: 0.1rem;
  }

  .programme-scan-row,
  .contact-note-row,
  .contact-branch-list {
    gap: 0.35rem;
    margin-bottom: 1rem;
  }

  .section-label {
    margin-bottom: 0.55rem;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .metric-card p {
    font-size: 0.76rem;
    line-height: 1.34;
  }

  .expertise-chip {
    width: auto;
    justify-content: flex-start;
    padding: 0.32rem 0.52rem;
    font-size: 0.72rem;
  }

  .expertise-photo-caption {
    align-items: flex-start;
  }

  .expertise-chip-wrap {
    gap: 0.45rem;
    margin-top: 0.8rem;
  }

  .why-item h4 {
    font-size: 0.86rem;
  }

  .why-item p {
    font-size: 0.76rem;
  }

  .facilities-hero .col-md-4 .d-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facilities-note {
    min-height: 100%;
    padding: 0.9rem;
  }

  .facilities-note strong {
    font-size: 0.98rem;
  }

  .facility-card {
    padding: 0.72rem 0.72rem 0.72rem 0.82rem;
    font-size: 0.78rem;
    line-height: 1.24;
  }

  .facility-card strong {
    font-size: 0.84rem;
  }

  .facility-card::before {
    inset: 0.85rem auto 0.85rem 0;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 0.9rem;
  }

  .metric-card {
    padding: 0.72rem;
  }

  .programme-body h3 {
    font-size: 1.04rem;
  }

  .contact-stack {
    grid-template-columns: 1fr;
    gap: 0.68rem;
  }

  .contact-column {
    gap: 0.75rem;
  }

  .contact-quick-actions {
    gap: 0.55rem;
    margin-top: 0.9rem;
  }

  .contact-card-primary .btn,
  .contact-form-card .btn {
    min-height: 2.75rem;
    font-size: 0.88rem;
  }

  .form-intro {
    margin-bottom: 0.95rem;
  }

  .form-intro h3 {
    font-size: 1.2rem;
    margin-bottom: 0.42rem;
  }

  .contact-form-card .row {
    --bs-gutter-x: 0.58rem;
    --bs-gutter-y: 0.58rem;
  }

  .contact-note-row {
    margin-bottom: 0.95rem;
  }

  .form-note-chip {
    padding: 0.38rem 0.62rem;
    font-size: 0.74rem;
  }

  .form-label {
    margin-bottom: 0.22rem;
    font-size: 0.78rem;
  }

  .form-control {
    min-height: 2.75rem;
    border-radius: 0.82rem;
    font-size: 0.9rem;
  }

  textarea.form-control {
    min-height: 5.4rem;
  }

  .programme-image,
  .facilities-main-image,
  .facilities-side-image,
  .ribbon-image,
  .dark-image {
    aspect-ratio: 16 / 7.2;
  }

  .section-image {
    border-radius: 0.9rem;
  }

  .programme-table-wrap {
    overflow-x: visible;
  }

  .programme-table {
    min-width: 0;
    border-spacing: 0;
  }

  .programme-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .programme-table,
  .programme-table tbody,
  .programme-table tr,
  .programme-table td {
    display: block;
    width: 100%;
  }

  .programme-table tr + tr {
    margin-top: 0.55rem;
  }

  .programme-table td {
    padding: 0.6rem 0.62rem;
    font-size: 0.86rem;
    line-height: 1.28;
  }

  .programme-table td:first-child {
    border-right: 1px solid rgba(10, 44, 69, 0.08);
    border-radius: 0.95rem 0.95rem 0 0;
    padding-bottom: 0.34rem;
  }

  .programme-table td:last-child {
    width: auto;
    border-top: 0;
    border-left: 1px solid rgba(10, 44, 69, 0.08);
    border-right: 1px solid rgba(10, 44, 69, 0.08);
    border-radius: 0 0 0.95rem 0.95rem;
    text-align: left;
    padding-top: 0.2rem;
  }

  .programme-table td:last-child::before {
    content: "COD";
    display: block;
    margin-bottom: 0.3rem;
    color: var(--shfe-muted);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .programme-code {
    padding: 0.22rem 0.42rem;
    font-size: 0.72rem;
  }

  .footer-block .container {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .footer-links {
    gap: 0.65rem !important;
    font-size: 0.82rem;
  }

}

@media (max-width: 399.98px) {
  .container {
    --bs-gutter-x: 1.18rem;
  }

  .section-block {
    padding: 1.7rem 0;
  }

  .section-heading {
    margin-bottom: 0.72rem;
  }

  .hero-section {
    padding: 3.5rem 0 2rem;
  }

  .programme-table td {
    padding: 0.52rem 0.55rem;
    font-size: 0.82rem;
  }

  .programme-table td:last-child::before {
    font-size: 0.6rem;
  }

  .hero-panel .row,
  #about .row.g-3.mt-3 {
    --bs-gutter-x: 0.6rem;
    --bs-gutter-y: 0.6rem;
  }

  .metric-card,
  .info-card {
    padding: 0.64rem 0.68rem;
  }

  .metric-card strong,
  .info-card strong {
    font-size: 0.84rem;
  }

  .metric-card p {
    font-size: 0.74rem;
    line-height: 1.3;
  }

  .info-card small,
  .metric-card strong,
  .contact-stack small {
    letter-spacing: 0.04em;
  }

  .expertise-panel .row > [class*="col-"] {
    width: 100%;
  }

  .why-grid,
  .contact-stack {
    grid-template-columns: 1fr;
  }

  .facilities-hero .col-md-4 .d-grid {
    grid-template-columns: 1fr;
  }

  .support-grid > [class*="col-"] {
    width: 100%;
  }
}

@media (min-width: 992px) {
  .brand-icon {
    width: 36px;
    height: 36px;
  }

  .brand-copy strong {
    font-size: 0.94rem;
  }

  .brand-copy small {
    font-size: 0.72rem;
  }

  .navbar-nav .nav-link {
    padding: 0.5rem 0.72rem;
    font-size: 0.94rem;
  }

  .hero-section {
    padding: 5.15rem 0 3.3rem;
  }

  .display-3 {
    font-size: clamp(2.7rem, 4vw, 3.6rem);
  }

  .hero-brand {
    gap: 0.5rem;
    padding: 0.7rem 0.85rem;
  }

  .hero-logo {
    max-width: 230px;
  }

  .hero-actions {
    gap: 0.75rem !important;
  }

  .hero-actions .btn {
    padding: 0.7rem 1.1rem;
    font-size: 0.94rem;
  }

  .section-block {
    padding: 3.2rem 0;
  }

  .row.g-4,
  .row.gy-5 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
  }

  .row.g-3 {
    --bs-gutter-x: 0.8rem;
    --bs-gutter-y: 0.8rem;
  }

  .section-label {
    margin-bottom: 0.72rem;
    font-size: 0.73rem;
  }

  .section-title {
    margin-bottom: 0.72rem;
    font-size: clamp(1.85rem, 2.8vw, 2.6rem);
  }

  .lead,
  .section-copy,
  .plain-card p,
  .programme-body p,
  .contact-stack small,
  .contact-stack strong,
  .custom-list li,
  .expertise-photo-caption p,
  .facilities-note p {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .section-image {
    aspect-ratio: 16 / 9;
  }

  .ribbon-image {
    aspect-ratio: 16 / 7;
  }

  .dark-image {
    aspect-ratio: 21 / 8;
  }

  .facilities-main-image {
    aspect-ratio: 16 / 8.5;
  }

  .facilities-side-image {
    aspect-ratio: 16 / 9;
  }

  .image-ribbon {
    margin-top: -0.45rem;
    margin-bottom: 0.4rem;
  }

  .hero-panel,
  .plain-card,
  .programme-body,
  .dark-card,
  .expertise-panel,
  .expertise-photo-card {
    padding: 1.2rem;
  }

  .metric-card,
  .info-card,
  .why-item {
    padding: 0.85rem 0.95rem;
  }

  .metric-card p {
    margin-top: 0.3rem;
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .programme-body h3,
  .expertise-panel h3 {
    font-size: clamp(1.35rem, 2vw, 1.8rem);
  }

  .programme-body {
    padding-top: 1.1rem;
  }

  .programme-list {
    gap: 0.5rem;
    margin-top: 0.9rem;
  }

  .programme-list li {
    gap: 0.55rem 0.75rem;
    padding: 0.55rem 0.65rem;
  }

  .single-programme {
    gap: 0.35rem;
    padding: 0.8rem 0 0.25rem;
  }

  .why-grid {
    gap: 0.65rem;
  }

  .why-item h4 {
    font-size: 0.95rem;
  }

  .expertise-showcase {
    margin-top: 0;
  }

  .expertise-team-image {
    max-height: 22rem;
    object-fit: contain;
  }

  .expertise-photo-caption {
    gap: 0.7rem;
    margin-top: 0.75rem;
  }

  .expertise-badge {
    min-height: 2.3rem;
    padding: 0.5rem 0.85rem;
    font-size: 0.9rem;
  }

  .expertise-chip-wrap {
    gap: 0.55rem;
    margin-top: 0.95rem;
  }

  .expertise-chip {
    padding: 0.4rem 0.68rem;
    font-size: 0.82rem;
  }

  .expertise-callout,
  .facilities-note,
  .facility-card {
    padding: 0.95rem 1rem;
  }

  .facility-card {
    font-size: 0.93rem;
    line-height: 1.35;
  }

  .facilities-grid {
    --bs-gutter-x: 0.72rem;
    --bs-gutter-y: 0.72rem;
  }

  .facilities-grid > [class*="col-"] {
    flex: 0 0 auto;
    width: 33.333333%;
  }

  .custom-list {
    padding-left: 1rem;
  }

  .custom-list li + li {
    margin-top: 0.35rem;
  }

  .contact-stack {
    gap: 0.7rem;
  }

  .form-control {
    min-height: 3rem;
  }

  textarea.form-control {
    min-height: 7.25rem;
  }

  #contact .section-image {
    aspect-ratio: 16 / 8;
  }

  #leadership .section-heading {
    margin-bottom: 1.9rem;
  }
}

@media (min-width: 992px) and (max-height: 760px) {
  .hero-section {
    padding: 4.7rem 0 2.75rem;
  }

  .display-3 {
    font-size: clamp(2.35rem, 3.5vw, 3rem);
  }

  .hero-logo {
    max-width: 190px;
  }

  .hero-panel,
  .plain-card,
  .programme-body,
  .dark-card,
  .expertise-panel,
  .expertise-photo-card {
    padding: 1rem;
  }

  .section-block {
    padding: 2.45rem 0;
  }

  .section-title {
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  }

  .lead,
  .section-copy,
  .plain-card p,
  .programme-body p,
  .custom-list li {
    font-size: 0.9rem;
    line-height: 1.48;
  }

  .metric-card,
  .info-card,
  .why-item,
  .expertise-callout,
  .facilities-note,
  .facility-card {
    padding: 0.8rem 0.88rem;
  }

  .metric-card p {
    font-size: 0.84rem;
  }

  .hero-actions .btn {
    padding: 0.62rem 0.92rem;
    font-size: 0.9rem;
  }

  .programme-body h3,
  .expertise-panel h3 {
    font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  }

  .expertise-team-image {
    max-height: 18rem;
  }

  .facilities-grid {
    --bs-gutter-x: 0.6rem;
    --bs-gutter-y: 0.6rem;
  }

  textarea.form-control {
    min-height: 6.25rem;
  }
}
