@charset "UTF-8";

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

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans-Italic-Variable.ttf") format("truetype");
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --navy: #0c3b2e;
  --blue: #0c3b2e;
  --gold: #d4af37;
  --accent-light: #d5ab55;
  --gold-dark: #0c3b2e;
  --cyan: #d4af37;
  --green: #0c3b2e;
  --ink: #0c3b2e;
  --muted: #5e6f86;
  --mist: #ffffff;
  --line: rgba(12, 59, 46, 0.18);
  --white: #fff;
  --shadow-sm: 0 8px 26px rgba(12, 59, 46, 0.08);
  --shadow: 0 24px 70px rgba(12, 59, 46, 0.15);
  --max: 1400px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --radius-btn: 9px 28px;
  --shadow-card: 0 4px 12px rgba(12, 59, 46, 0.06);
  --shadow-elevated: 0 12px 28px rgba(12, 59, 46, 0.1);
  --shadow-overlay: 0 20px 50px rgba(12, 59, 46, 0.15);
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-weight-bold: 750;
  --section-space: clamp(32px, 4vw, 56px);
  --section-heading-gap: clamp(24px, 2.5vw, 32px);
  --page-hero-space: clamp(40px, 4vw, 64px);
}

:where(#app) *,
:where(#app) *::before,
:where(#app) *::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  /* Touch devices flash a translucent highlight over tapped elements
     (Chromium's default is blue rgba(51,181,229,0.4)). The theme already has
     its own hover/focus-visible feedback, so the native flash is disabled —
     otherwise full-card links look like they get a blue overlay. */
  -webkit-tap-highlight-color: transparent;
}
body {
  margin: 0;
}
#app {
  color: var(--ink);
  background: var(--white);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open {
  overflow: hidden;
}
body.menu-open .top-offer-bar {
  display: none;
}
:where(#app) img {
  display: block;
  max-width: 100%;
}
:where(#app) a {
  color: inherit;
  text-decoration: none;
}
:where(#app) button,
:where(#app) input,
:where(#app) select,
:where(#app) textarea {
  font: inherit;
}
:where(#app) button {
  cursor: pointer;
}
:where(#app) h1,
:where(#app) h2,
:where(#app) h3,
:where(#app) h4,
:where(#app) p {
  margin-top: 0;
}
:where(#app) h1,
:where(#app) h2,
:where(#app) h3,
:where(#app) h4 {
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.mtts-form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.mtts-form-message {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}
img.icon {
  object-fit: contain;
}
:where(#app) h1 {
  font-size: clamp(2.65rem, 5.5vw, 5.6rem);
}
:where(#app) h2 {
  font-size: clamp(2rem, 3.5vw, 3.45rem);
}
:where(#app) h3 {
  font-size: 1.25rem;
}
:where(#app) p {
  color: #5e6f86;
}
::selection {
  background: var(--cyan);
  color: #fff;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}
.section {
  padding: var(--section-space) 0;
}
.site-main :is(h1, h2, h3) {
  text-wrap: balance;
  overflow-wrap: break-word;
}
.section.pt-0 {
  padding-top: 0;
}
.section-tight {
  padding: 64px 0;
}
.surface {
  background: var(--mist);
}
.dark-section {
  color: #fff;
  background: var(--navy);
}
.dark-section p {
  color: #a4aab0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
}
.dark-section .eyebrow {
  color: var(--accent-light);
}
.page-hero .eyebrow,
.verify-hero .eyebrow,
.status-hero .eyebrow,
.reg-hero .eyebrow,
.dashboard-hero .eyebrow,
.provider-hero .eyebrow {
  color: var(--accent-light);
}
.lead {
  max-width: 720px;
  color: #5e6f86;
  font-size: 1.1rem;
  line-height: 1.8;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: var(--section-heading-gap);
}
.section-head > *,
.split > *,
.approach-row > * {
  min-width: 0;
}
.section-head > div:first-child {
  max-width: 760px;
}
.section-head h2 {
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}
.about-mission-text h2 {
  margin-bottom: 16px;
  line-height: 1.2;
}
.dark-section .section-head h2 {
  color: #fff;
}
.section-head p {
  max-width: 500px;
  margin: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 1000;
  padding: 12px 18px;
  background: #fff;
  color: var(--navy);
}
.skip-link:focus {
  top: 10px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius-btn);
  background: var(--cyan);
  color: var(--navy);
  font-weight: var(--font-weight-bold);
  line-height: 1.4;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-elevated);
}
.btn:active {
  transform: translateY(0) scale(0.98);
}
.btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px var(--white),
    0 0 0 5px var(--cyan);
}
.btn:disabled,
.btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}
.btn-primary {
  background: var(--cyan);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy);
  color: var(--cyan);
}
.btn-inverse {
  background: var(--navy);
  color: var(--white);
}
.btn-inverse:hover {
  background: #0c3b2e;
  color: var(--white);
}
.btn-secondary {
  background: var(--navy);
  color: var(--cyan);
}
.btn-secondary:hover {
  background: var(--cyan);
  color: var(--navy);
}
.btn-outline {
  border-color: var(--line);
  background: transparent;
  color: var(--navy);
}
.btn-outline:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.btn-ghost {
  border-color: transparent;
  background: transparent;
  color: var(--navy);
}
.btn-ghost:hover {
  background: var(--mist);
}
.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover {
  background: #ffffff;
}
.btn-destructive {
  background: #000;
  color: var(--white);
}
.btn-destructive:hover {
  background: #000;
}
.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: var(--radius-md);
}
.btn-sm {
  min-height: 42px;
  padding: 9px 18px;
  font-size: 0.88rem;
}
.btn-loading {
  pointer-events: none;
  position: relative;
}
.btn-loading::after {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-left: 8px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.text-link:hover {
  color: var(--blue);
}
.text-link svg {
  transition: transform var(--transition-fast);
}
.text-link:hover svg {
  transform: translateX(4px);
}

/* ============ Card System ============ */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

/* ============ Form System ============ */
.form-input,
select.form-input,
textarea.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}
.form-input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}
.form-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--mist);
}
textarea.form-input {
  resize: vertical;
  min-height: 120px;
}
select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23043927' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

/* ============ Animation Utilities ============ */
.animate-in {
  animation: animateIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes animateIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fade {
  animation: animateFade 0.3s ease both;
}
@keyframes animateFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.animate-scale {
  animation: animateScale 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes animateScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--transition-slow),
    transform var(--transition-slow);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Utility Classes ============ */
.text-navy {
  color: var(--navy);
}
.text-muted {
  color: var(--muted);
}
.mt-6 {
  margin-top: 24px;
}
.mb-4 {
  margin-bottom: 16px;
}

/* ============ Legacy Button Aliases ============ */
.btn-dark {
  background: var(--navy);
  color: var(--cyan);
}
.btn-dark:hover {
  background: var(--cyan);
  color: var(--navy);
}
.btn-hero-primary {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-pill);
  border: none;
  box-shadow: var(--shadow-card);
  font-size: 0.95rem;
}
.btn-hero-primary:hover {
  background: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}
.btn-hero-secondary {
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--navy);
  font-size: 0.95rem;
}
.btn-hero-secondary:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-get-offer {
  background: #000;
  color: var(--white);
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 5px 18px;
}
.btn-get-offer:hover {
  background: #000;
  transform: translateY(-1px);
}
.btn-signup {
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-pill);
  padding: 6px 18px;
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  background: transparent;
}
.btn-signup:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}
.prefooter-btn {
  font-weight: var(--font-weight-bold);
  border-radius: var(--radius-pill);
}
.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

/* ============ Header ============ */
.site-header {
  position: relative;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
}

.top-offer-bar {
  background: #d4af37;
  color: #0c3b2e;
  padding: 7px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.offer-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 32px;
  padding-left: 0;
}
.offer-left {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  height: 32px;
  overflow: hidden;
}
.offer-badge {
  position: relative;
  flex-shrink: 0;
  z-index: 2;
  background: var(--navy);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 6px rgba(12, 59, 46, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.badge-flame {
  width: 14px;
  height: 14px;
  color: #ffffff;
  flex-shrink: 0;
  stroke-width: 2.5;
}
.offer-marquee {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-weight: 600;
  color: #0c3b2e;
}
.offer-marquee-track {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 32px;
  gap: 3rem;
  padding-right: 3rem;
  white-space: nowrap;
  animation: offer-marquee 24s linear infinite;
  will-change: transform;
}
.offer-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
.offer-timer {
  display: flex;
  align-items: center;
  gap: 3px;
  font-weight: 700;
  flex-shrink: 0;
}
.timer-box {
  background: #ffffff;
  color: #0c3b2e;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  min-width: 34px;
  text-align: center;
}
.timer-colon {
  font-weight: 800;
  color: #0c3b2e;
  margin: 0 1px;
}
.btn-get-offer {
  background: #0c3b2e;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 5px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-get-offer:hover {
  background: #000;
  transform: translateY(-1px);
}

.header-main-bar {
  background: #0c3b2e;
  color: #ffffff;
}
.header-desktop-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  grid-template-rows: auto auto;
  position: relative;
}
.header-row-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  padding: 14px 0;
  position: static;
  overflow: visible;
  /* Must outrank .mega-menu (z-index 200) so the account dropdown, which drops
     down over the nav row, is not buried underneath the mega panel. */
  z-index: 250;
  min-width: 0;
}
.brand {
  grid-row: 1 / span 2;
  align-self: stretch;
  display: flex;
  align-items: center;
  padding-right: 30px;
  color: #ffffff;
  text-decoration: none;
}
.brand-logo-box {
  background: transparent;
  padding: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  height: 100%;
  box-shadow: none;
}
/* The `.brand` prefix is intentional: woocommerce-layout.css ships
   `.woocommerce img, .woocommerce-page img { height: auto; max-width: 100% }`
   (specificity 0-1-1) which would otherwise outrank these single-class rules
   and stretch the logo on cart / checkout / account pages. Keep the prefix so
   the logo renders identically on every page. */
.brand .brand-logo-img {
  height: 100%;
  width: auto;
  max-height: 80px !important;
  object-fit: cover;
  display: block;
  background: #fff;
  border-radius: 12px;
}
.brand-logo-tablet,
.brand-logo-mobile {
  max-height: none;
}

.header-search {
  position: absolute;
  left: 50%;
  top: 14px;
  transform: translateX(-50%);
  /* Reserve room for the header buttons on BOTH sides of the centred search.
     --mtts-hdr-actions-w is measured by theme.js from the real button widths
     (they grow when signed in, e.g. "Training 4 All Team"); the 295px fallback
     matches the original hardcoded reserve so no-JS stays exactly as before. */
  width: min(740px, calc(100% - 2 * max(240px, var(--mtts-hdr-actions-w, 295px))));
  max-width: 740px;
  min-width: 220px;
  height: 44px;
  display: flex;
  align-items: center;
  z-index: 10;
}
.header-search .search-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: #a4aab0;
}
.search-input {
  width: 100%;
  height: 44px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  padding: 10px 16px 10px 42px;
  color: #fff;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.search-input::placeholder {
  color: #a4aab0;
}
.search-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.header-actions {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
}


/* ==========================================================================
   Header Buttons: Login / Account and Contact Us (Exact Same Size & Alignment)
   ========================================================================== */
.header-account-trigger,
.header-account-link,
.header-enquiry.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-btn);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
  flex-shrink: 0;
  transform: none;
  box-shadow: none;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
}

.header-account-trigger,
.header-account-link {
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}

.header-account-trigger:hover,
.header-account-link:hover,
.header-account.is-open .header-account-trigger,
.header-account-trigger:focus-visible,
.header-account-link:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-1px);
}

.header-account-trigger:focus-visible,
.header-account-link:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.28),
    0 0 0 5px var(--gold);
}

.header-enquiry.btn {
  border: 1.5px solid transparent;
  background: var(--cyan);
  color: var(--navy);
  cursor: pointer;
}

.header-enquiry.btn:hover,
.header-enquiry.btn:focus-visible {
  background: var(--navy);
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-1px);
}

.header-account-icon-wrap,
.header-enquiry.btn .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-account-icon-wrap .header-account-icon,
.header-enquiry.btn .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
  color: currentColor;
}

.header-account-label {
  display: inline-block;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
  line-height: 1.35;
  padding-bottom: 3px;
  margin-bottom: -3px;
}
.cart-link-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a4aab0;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.cart-link-item:hover {
  color: #ffffff;
}
.cart-icon-box {
  position: relative;
  display: flex;
  align-items: center;
}
.cart-svg {
  width: 22px;
  height: 22px;
  color: #a4aab0;
}
.cart-count-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #d4af37;
  color: #0c3b2e;
  font-size: 0.65rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.login-dropdown-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.login-link {
  color: #a4aab0;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
}
.login-link:hover,
.login-link.active {
  color: #ffffff;
}
.login-dropdown-wrap:hover .login-dropdown-menu,
.login-dropdown-wrap:focus-within .login-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.login-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  right: auto;
  width: 270px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 3px solid #d4af37;
  border-radius: 12px 24px 12px 24px;
  padding: 8px;
  box-shadow: 0 16px 36px rgba(12, 59, 46, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(6px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.login-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}
.login-dropdown-menu::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-left: 1px solid var(--line);
  border-top: 3px solid #d4af37;
  z-index: 2;
}
.login-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 8px 16px 8px 16px;
  color: #0c3b2e;
  text-decoration: none;
  transition: all 0.18s ease;
}
.login-dropdown-item:hover {
  background: #ffffff;
  color: #0c3b2e;
  transform: translateX(3px);
}
.dropdown-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #ffffff;
  color: #0c3b2e;
  flex-shrink: 0;
}
.dropdown-item-icon svg {
  width: 16px;
  height: 16px;
}
.login-dropdown-item strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 750;
  color: #0c3b2e;
  line-height: 1.2;
}
.login-dropdown-item small {
  display: block;
  font-size: 0.72rem;
  color: #5e6f86;
  margin-top: 2px;
  line-height: 1.2;
}
.btn-signup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #d4af37;
  border-radius: 999px;
  padding: 6px 18px;
  color: #ffffff;
  font-weight: 750;
  font-size: 0.88rem;
  text-decoration: none;
  background: rgba(212, 175, 55, 0.15);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.btn-signup:hover,
.btn-signup.active {
  background: #d4af37;
  color: #0c3b2e;
  border-color: #d4af37;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

.header-row-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  
  padding: 10px 240px 14px 0; /* padding-right balances the 240px left logo column for true centering */
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  min-width: 0;
}
.primary-nav-links,
.header-menu {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-nav {
  display: block;
  min-width: 0;

}
.header-bottom-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  position: absolute;
  right: 0;
}
.header-bottom-sep {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.18);
  display: block;
}
.header-phone-link {
  position: static;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a4aab0;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.header-phone-link:hover {
  color: #ffffff;
}
.primary-nav-links .nav-link {
  color: #a4aab0;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  padding: 4px 0;
  position: relative;
}
.primary-nav-links .nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.primary-nav-links .nav-link:hover::after,
.primary-nav-links .nav-link.active::after {
  transform: scaleX(1);
}
.primary-nav-links .nav-link:hover,
.primary-nav-links .nav-link.active {
  color: #ffffff;
}
.primary-nav-links .courses-trigger::after {
  right: 12px;
}
/* Dropdown caret for the Courses trigger. Added in CSS rather than in the
   label so it still shows when the link title comes from a WP menu. */
.primary-nav-links .courses-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-right: 0;
}
/* Dropdown caret for the Courses trigger. Rendered as an SVG chevron. */
.nav-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  line-height: 1;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}
.nav-caret .nav-caret-icon,
.nav-caret svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.5;
  display: block;
}
.nav-caret:empty {
  width: 12px;
  height: 12px;
  background-color: var(--cyan);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
}
/* Rotate the caret with the panel's real (JS / focus driven) open state.
   Never use :hover here — the closed panel's carousel slides stay
   hit-testable (see the pointer-events guard below), so a stray hover over
   the hidden panel used to flip the caret without opening anything. */
.nav-item.has-mega-menu.is-open .nav-caret,
.nav-item.has-mega-menu:focus-within .nav-caret {
  transform: rotate(180deg);
}
.phone-icon {
  width: 17px;
  height: 17px;
  color: #a4aab0;
}

.nav-group {
  position: relative;
}
/* The panel is centred under the header row rather than the trigger link, so
   it sits bottom-centre instead of hanging off the first nav item. */
.nav-item.has-mega-menu {
  position: static;
}
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  right: auto;
  width: min(960px, calc(100vw - 60px));
  padding-top: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px);
  /* visibility/pointer-events flip instantly on close so the 860px panel and
     its transparent 12px bridge can never catch the pointer mid-fade-out and
     re-trigger :hover. Only opacity/transform are eased. */
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0s linear 0.25s;
  z-index: 200;
  max-width: none;
}
/* The active carousel slide sets `visibility: visible; pointer-events: auto`
   for its crossfade, which beats the inherited values on the closed panel and
   leaves the invisible slides hit-testable — hovering the hero area would
   then trigger .nav-item:hover. Keep the whole subtree inert until the menu
   is genuinely open. */
.nav-item.has-mega-menu:not(.is-open):not(:focus-within) .mega-menu * {
  pointer-events: none;
}
/* The panel is a DOM child of .nav-group, so a plain :hover would let the
   860x542 panel (and its transparent 12px bridge) open the menu by itself
   whenever it slides under the pointer - e.g. on scroll or sticky reflow.
   The open state is therefore set explicitly by JS (initMegaMenu) and only
   after the pointer genuinely enters the trigger link. */
.nav-item.has-mega-menu.is-open .mega-menu,
.nav-item.has-mega-menu:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0s linear 0s;
}
/* Keep the trigger looking active for as long as the panel is open, since the
   :hover that used to do this now only exists on the link itself. */
.nav-item.has-mega-menu.is-open .courses-trigger,
.nav-item.has-mega-menu.is-open .courses-trigger:hover {
  color: #ffffff;
}
.nav-item.has-mega-menu.is-open .courses-trigger::after {
  transform: scaleX(1);
}
.mega-inner {
  display: grid;
  grid-template-columns: 1fr 285px;
  overflow: hidden;
  border-radius: 14px 45px 14px 45px;
  color: #ffffff;
  background: #0c3b2e;
  border: 1px solid rgba(213, 171, 85, 0.34);
  box-shadow: var(--shadow);
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 40px;
  padding: 34px;
}
.mega-cat strong {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: #d5ab55;
  font-size: 0.94rem;
}
.mega-cat strong .icon {
  color: #d5ab55;
}
.mega-cat a {
  display: block;
  margin: 5px 0 0 0px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.77rem;
}
.mega-cat a:hover {
  color: #d5ab55;
}

/* Mega Feature Carousel */
.mega-feature {
  padding: 26px 22px 20px;
  background: rgba(0, 0, 0, 0.16);
  border-left: 1px solid rgba(213, 171, 85, 0.28);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}
.mega-feature-heading {
  display: block;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.mega-carousel {
  position: relative;
  width: 100%;
}
.mega-carousel-track {
  position: relative;
  width: 100%;
  min-height: 295px;
}
.mega-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateX(14px);
  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.4s;
  pointer-events: none;
}
.mega-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}
.mega-slide-art {
  position: relative;
  width: 100%;
  height: 144px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  margin-bottom: 12px;
  background: #07221b;
}
.mega-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.mega-slide:hover .mega-slide-img {
  transform: scale(1.05);
}
.mega-slide-pill {
  position: absolute;
  bottom: 10px;
  left: 10px;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--navy, #0c3b2e);
  background: var(--gold, #d4af37);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  z-index: 2;
}

.mega-slide-title {
  margin: 0 0 6px;
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.3;
  color: #ffffff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mega-slide-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color var(--transition-fast, 0.2s ease);
}
.mega-slide-title a:hover {
  color: #d5ab55;
}
.mega-slide-desc {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  line-height: 1.42;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mega-slide-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold, #d4af37);
  font-size: 0.84rem;
  font-weight: 750;
  text-decoration: none;
  transition:
    color 0.2s ease,
    gap 0.2s ease;
}
.mega-slide-link:hover {
  color: #ffffff;
  gap: 9px;
}
.mega-slide-link .icon-arrow-right {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}

/* Dot pagination with animated active pill */
.mega-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  padding-top: 4px;
}
.mega-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.mega-dot:hover {
  background: rgba(255, 255, 255, 0.65);
}
.mega-dot.active {
  width: 24px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold, #d4af37);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.55);
}

.mobile-header {
  display: none;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 99;
}
.mobile-header .brand {
  grid-row: auto;
}
.mobile-panel {
  display: none;
  position: fixed;
  inset: 72px 0 0;
  /* theme.js syncs this to the real mobile bar bottom when the drawer opens
     (bar height varies with logo size and offer bar), so the logo/bar can
     never cover the drawer's first rows. Fallback = no-JS behavior. */
  top: var(--mtts-panel-top, 72px);
  z-index: 98;
  overflow: auto;
  padding: 24px 20px 80px;
  background: var(--navy);
  color: #fff;
}
.mobile-panel.open {
  display: block;
  animation: slideDown 0.25s ease both;
}
.mobile-nav a,
.mobile-category summary {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 14px 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 700;
}
.mobile-category summary {
  cursor: pointer;
  list-style: none;
}
.mobile-nav .nav-caret {
  color: #fff;
}

/* Courses row in the drawer: the label links to the course catalogue while
   the chevron only toggles the category sub-menu underneath it. */
.mobile-courses-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.mobile-nav .mobile-courses-link {
  flex: 1 1 auto;
  width: auto;
  justify-content: flex-start;
  border-bottom: 0;
}
.mobile-courses-toggle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 14px 3px;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
}
.mobile-courses-toggle:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}
/* Indent the categories so they read as sub-items of Courses. */
.mobile-courses-dropdown {
  display: none;
  padding-left: 18px;
}
.mobile-courses-group.open .mobile-courses-dropdown {
  display: block;
  animation: slideDown 0.25s ease both;
}
.mobile-courses-group.open .mobile-courses-toggle .nav-caret {
  transform: rotate(180deg);
}

/* Menus rendered from Appearance > Menus are <ul><li><a>; make them look like
   the rest of the mobile links rather than a bulleted list. */
.mobile-nav ul,
.mobile-nav .mobile-menu-list,
.mobile-nav .header-menu {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0;
  padding: 0;
}
.mobile-nav ul li,
.mobile-nav .mobile-menu-list li,
.mobile-nav .header-menu li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0;
  padding: 0;
}
.mobile-nav .mobile-menu-list > li > a,
.mobile-nav .header-menu > li > a {
  justify-content: space-between;
}
.mobile-nav .mobile-menu-list > li > a::after,
.mobile-nav .header-menu > li > a::after {
  content: "\2192";
  font-weight: 600;
}
.mobile-subnav {
  display: none;
  padding: 8px 0 10px 20px;
}
.mobile-category[open] > .mobile-subnav {
  display: grid;
}
.mobile-subnav a {
  padding: 9px 0;
  border: 0;
  color: #a4aab0;
  font-size: 0.85rem;
}
.mobile-phone-link {
  margin-top: 15px;
  color: var(--cyan) !important;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mobile-nav .mobile-phone-link {
  justify-content: flex-start;
  gap: 10px;
}
.mobile-nav .mobile-phone-link .icon {
  flex: 0 0 auto;
}

/* ============ Hero ============ */
.hero-section {
  padding: 32px 0 20px;
  background: #ffffff;
}
.hero-card {
  background: #ffffff;
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 0;
}
.hero-content {
  min-width: 0;
}
.hero-visual {
  min-width: 0;
}
.hero-badge {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid #a4aab0;
  color: #0c3b2e;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.hero-title {
  color: #0c3b2e;
  font-size: clamp(2.2rem, 3.8vw, 3.3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}
.hero-desc {
  color: #5e6f86;
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.btn-hero-primary {
  background: #0c3b2e;
  color: #ffffff;
  font-weight: 700;
  padding: 13px 30px;
  border-radius: 999px;
  border: none;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.22s ease;
  box-shadow: 0 8px 20px rgba(12, 59, 46, 0.2);
}
.btn-hero-primary:hover {
  background: #0c3b2e;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(12, 59, 46, 0.3);
}
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #0c3b2e;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 999px;
  border: 1.5px solid #0c3b2e;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.22s ease;
}
.btn-hero-secondary:hover {
  background: #0c3b2e;
  color: #ffffff;
}
.hero-rating-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.hero-rating-box .stars {
  color: #d4af37;
  font-size: 1.1rem;
}
.rating-text {
  color: #0c3b2e;
  font-size: 0.88rem;
}
.rating-text strong {
  color: #0c3b2e;
}
.hero-chips {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
/* iPad / tablet: keep the trust chips centred under the hero copy */
@media (min-width: 641px) and (max-width: 1024px) {
  .hero-chips {
    justify-content: center;
  }
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #a4aab0;
  color: #0c3b2e;
  font-size: 0.82rem;
  font-weight: 700;
}
.chip-icon {
  width: 15px;
  height: 15px;
  color: var(--blue);
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.hero-image-box {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #a4aab0;
  padding: 12px;
  box-shadow: 0 16px 40px rgba(12, 59, 46, 0.08);
  display: flex;
}
.hero-main-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

.hero-stats-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-top: 28px;
  box-shadow: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
.hero-stat-item {
  background: #ffffff;
  border: 1px solid #a4aab0;
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: 0 6px 20px rgba(12, 59, 46, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}
.hero-stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(12, 59, 46, 0.09);
  border-color: #a4aab0;
}
.hero-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(12, 59, 46, 0.07);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}
.hero-stat-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  transition: stroke 0.25s ease;
}
.hero-stat-item:hover .hero-stat-icon,
.hero-stat-icon:hover {
  background: var(--navy);
  color: #ffffff;
}
.hero-stat-item:hover .hero-stat-icon svg,
.hero-stat-icon:hover svg {
  stroke: #ffffff;
}
.hero-stat-item strong {
  display: block;
  color: #0c3b2e;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.1;
}
.hero-stat-item small {
  color: #5e6f86;
  font-size: 0.78rem;
  font-weight: 600;
}
.hero-stat-divider {
  display: none;
}

/* ============ Course cards ============ */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.course-card {
  position: relative;
  cursor: pointer;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px 45px 12px 45px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.course-card,
.course-card * {
  cursor: pointer;
}
.course-card-stretched-link {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: block;
  text-indent: -9999px;
  overflow: hidden;
}
.course-card a.text-link,
.course-card h3 a,
.course-card .btn-coming-soon {
  position: relative;
  z-index: 11;
}
.course-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}
.course-art,
.mini-art {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0c3b2e 0%, #0c3b2e 100%);
}
.course-art {
  height: 190px;
}
.course-card-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}
.course-card:hover .course-card-bg-img {
  transform: scale(1.08);
}
.course-art-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 59, 46, 0.35) 0%,
    rgba(12, 59, 46, 0.8) 100%
  );
  z-index: 1;
}
.course-art-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: #ffffff;
  color: #0c3b2e;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  z-index: 2;
}
.course-card:hover .course-art-icon-box {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}
.course-art-svg {
  width: 34px;
  height: 34px;
  color: #0c3b2e;
  stroke-width: 2;
}
.mini-art {
  height: 96px;
  border-radius: 12px;
}
.mini-art .course-art-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}
.mini-art .course-art-svg {
  width: 22px;
  height: 22px;
}

.art-security {
  background: linear-gradient(135deg, #0c3b2e 0%, #0c3b2e 100%);
}
.art-functional-skills {
  background: linear-gradient(135deg, #0c3b2e 0%, #d4af37 100%);
}
.art-first-aid {
  background: linear-gradient(135deg, #0c3b2e 0%, #d4af37 100%);
}
.art-health-social-care {
  background: linear-gradient(135deg, #0c3b2e 0%, #0c3b2e 100%);
}
.art-business {
  background: linear-gradient(135deg, #0c3b2e 0%, #0c3b2e 100%);
}
.art-business .course-art-icon-box,
.art-business .course-art-svg {
  color: #d4af37;
}
.art-hospitality {
  background: linear-gradient(135deg, #0c3b2e 0%, #0c3b2e 100%);
}
.art-construction {
  background: linear-gradient(135deg, #0c3b2e 0%, #0c3b2e 100%);
}

.course-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  padding: 6px 14px;
  border-radius: 999px;
  color: #0c3b2e;
  background: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.course-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}
.course-body h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 1.12rem;
  line-height: 1.38;
}
.course-body > p {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 20px;
  font-size: 0.86rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
.course-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: auto;
  margin-bottom: 19px;
  color: #5e6f86;
  font-size: 0.82rem;
  font-weight: 650;
}
.course-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}
.course-meta .icon {
  width: 16px;
  height: 16px;
  color: var(--blue);
  flex-shrink: 0;
  stroke-width: 2.2;
}
.course-price {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}
.course-price small {
  display: block;
  color: #5e6f86;
  font-size: 0.7rem;
}
.course-price strong {
  color: var(--navy);
  font-size: 1.25rem;
}

/* ============ Coming Soon Course Card ============ */
.course-card.is-coming-soon .course-card-bg-img {
  filter: grayscale(100%) contrast(0.92);
  opacity: 0.88;
}
.course-card.is-coming-soon:hover .course-card-bg-img {
  filter: grayscale(85%) contrast(0.98);
  opacity: 0.95;
}
.course-card.is-coming-soon .course-art-overlay {
  background: linear-gradient(
    180deg,
    rgba(30, 41, 59, 0.3) 0%,
    rgba(15, 23, 42, 0.7) 100%
  );
}
.course-card.is-coming-soon .course-art-icon-box {
  filter: grayscale(100%);
  opacity: 0.85;
}
.course-card.is-coming-soon .course-badge {
  background: #f1f5f9;
  color: #64748b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.course-card-logos {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  margin-bottom: 14px;
  min-height: 32px;
  padding: 4px 0;
}
.course-card-logo-item {
  display: inline-flex;
  align-items: center;
}
.course-partner-logo-img {
  max-height: 28px;
  max-width: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none !important;
  opacity: 1 !important;
  transition: transform 0.2s ease;
}
.course-card:hover .course-partner-logo-img {
  transform: scale(1.04);
}
.course-price.is-coming-soon-price {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 15px;
}
.btn-coming-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 18px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #94a3b8;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  letter-spacing: -0.01em;
  user-select: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}
a.btn-coming-soon:hover,
.course-card.is-coming-soon:hover .btn-coming-soon {
  border-color: #94a3b8;
  color: #64748b;
  background: #f8fafc;
}
.course-package-card.is-coming-soon-card {
  opacity: 0.88;
  background: #f8fafc;
}
.course-package-card.is-coming-soon-card .course-package-price {
  color: #64748b;
  font-size: 1.15rem;
  font-weight: 700;
}
.widget-badge-wrap .btn-coming-soon {
  font-size: 12px;
  padding: 5px 14px;
}
.course-chip-coming-soon {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: #cbd5e1 !important;
  color: #e2e8f0 !important;
}
.course-enquiry-image.is-coming-soon-img {
  filter: grayscale(100%) contrast(0.95);
}

/* ============ Why choose us ============ */
.home-why-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(45px, 7vw, 100px);
}
.home-why-layout > * {
  min-width: 0;
}
.home-why-layout h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.2;
}
.home-why-layout .lead {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.7;
}
.home-why-layout .feature-list {
  margin-top: 24px;
}
.home-why-layout .feature {
  padding: 12px 0;
}
.visual-stack {
  position: relative;
  min-height: 540px;
}
.visual-photo {
  position: absolute;
  inset: 0 14% 10% 0;
  overflow: hidden;
  border-radius: 18px 90px 18px 90px;
  box-shadow: var(--shadow);
}
.visual-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.visual-block {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  padding: 27px;
  border-radius: 10px 42px 10px 42px;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
}
.visual-block strong {
  display: block;
  font-size: 2rem;
}
.visual-block span {
  color: #a4aab0;
  font-size: 0.82rem;
}
.feature-list {
  display: grid;
  gap: 6px;
  margin-top: 32px;
}
.feature {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 15px;
  padding: 16px;
  border-radius: 9px 25px 9px 25px;
}
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: var(--navy);
  background: rgba(12, 59, 46, 0.07);
  flex-shrink: 0;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}
.feature-icon svg,
.feature-icon .icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  transition: stroke 0.25s ease;
}
.feature:hover .feature-icon,
.feature-icon:hover {
  background: var(--navy);
  color: #ffffff;
}
.feature:hover .feature-icon svg,
.feature:hover .feature-icon .icon,
.feature-icon:hover svg,
.feature-icon:hover .icon {
  stroke: #ffffff;
}
.feature h3 {
  margin: 2px 0 6px;
  color: var(--navy);
  font-size: 1rem;
}
.feature p {
  margin: 0;
  font-size: 0.82rem;
}

/* ============ Categories ============ */
.category-section {
  background: #ffffff;
}
.category-head-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}
.category-head-center .eyebrow {
  margin-bottom: 12px;
  justify-content: center;
}
.category-head-center .eyebrow::before {
  display: none;
}
.category-head-center h2 {
  color: #0c3b2e;
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 14px;
  text-align: center;
}
.category-head-center p.lead {
  color: #5e6f86;
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 auto;
  text-align: center;
}
.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.category-card-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #a4aab0;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(12, 59, 46, 0.03);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.category-card-item:hover {
  transform: translateY(-4px);
  border-color: #d4af37;
  box-shadow: 0 12px 28px rgba(12, 59, 46, 0.08);
}
.category-card-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(12, 59, 46, 0.07);
  color: var(--navy);
  transition:
    background 0.25s ease,
    color 0.25s ease;
}
.category-card-icon-box .icon,
.category-card-icon-box svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  transition: stroke 0.25s ease;
}
.category-card-item:hover .category-card-icon-box,
.category-card-icon-box:hover {
  background: var(--navy);
  color: #ffffff;
}
.category-card-item:hover .category-card-icon-box svg,
.category-card-item:hover .category-card-icon-box .icon,
.category-card-icon-box:hover svg,
.category-card-icon-box:hover .icon {
  stroke: #ffffff;
}
.category-card-content h3 {
  color: #0c3b2e;
  font-size: 1.05rem;
  font-weight: 750;
  margin-bottom: 6px;
}
.category-card-content p {
  color: #5e6f86;
  font-size: 0.84rem;
  line-height: 1.5;
  margin: 0;
}

/* ============ CTA banner ============ */
.cta-banner-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  align-items: center;
  gap: 40px;
  background: linear-gradient(110deg, #0c3b2e 0%, #0c3b2e 100%);
  border-radius: 24px;
  padding: 36px 44px;
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(12, 59, 46, 0.2);
  overflow: hidden;
}
.cta-banner-visual {
  min-width: 0;
}
.cta-banner-content {
  min-width: 0;
}
.cta-banner-visual {
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
}
.cta-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-banner-content h2 {
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}
.cta-banner-content p {
  color: #a4aab0;
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: 24px;
}
.cta-banner-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-banner-actions .btn-hero-primary {
  background: #d4af37;
  color: #0c3b2e;
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 750;
}
.cta-banner-actions .btn-hero-primary:hover {
  background: #d4af37;
  transform: translateY(-2px);
}
.cta-banner-actions .btn-hero-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 750;
}
.cta-banner-actions .btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

/* ============ Testimonials ============ */
.testimonials-section {
  background: #ffffff;
}
.testimonial-row {
  display: grid;
  grid-template-columns: 240px 1fr auto;
  gap: 20px;
  align-items: stretch;
}
.testimonial-summary-card {
  min-width: 0;
}
.testimonial-track-wrap {
  min-width: 0;
}
.testimonial-summary-card {
  background: #ffffff;
  border: 1px solid #a4aab0;
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  flex-shrink: 0;
}
.testimonial-summary-card h3 {
  color: #0c3b2e;
  font-size: 1.15rem;
  margin-bottom: 14px;
}
.rating-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.rating-badge strong {
  font-size: 1rem;
  color: #0c3b2e;
}
.stars {
  color: #d4af37;
  letter-spacing: 1px;
  font-size: 1rem;
}
.rating-score {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0c3b2e;
  margin-bottom: 4px;
}
.testimonial-summary-card small {
  color: #5e6f86;
  font-size: 0.78rem;
  margin-bottom: 16px;
}
.trustpilot-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-weight: 800;
  color: var(--blue);
  font-size: 0.88rem;
}
.testimonial-track-wrap {
  overflow: hidden;
  min-width: 0;
  padding: 14px 0 18px;
  margin: -14px 0 -18px;
}
.testimonial-carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  align-items: stretch;
  padding: 14px 8px 18px;
  margin: -14px -8px -18px;
}
.testimonial-carousel-track::-webkit-scrollbar {
  display: none;
}
.testimonial-carousel-track .testimonial-card {
  flex: 0 0 calc(33.33% - 11px);
  min-width: 220px;
  background: #ffffff;
  border: 1px solid #a4aab0;
  border-radius: 16px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  position: relative;
  z-index: 1;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.testimonial-carousel-track .testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(12, 59, 46, 0.1);
  border-color: rgba(12, 59, 46, 0.28);
  z-index: 2;
}
.testimonial-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.testimonial-user strong {
  color: #0c3b2e;
  font-size: 0.95rem;
}
.testimonial-carousel-track .testimonial-card p {
  color: #5e6f86;
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.testimonial-course-tag {
  display: block;
  margin-top: 12px;
  color: #a4aab0;
  font-size: 0.73rem;
  font-weight: 600;
}
.testimonial-nav-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  flex-shrink: 0;
}
.slider-btn {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #a4aab0;
  background: #ffffff;
  color: #0c3b2e;
  transition: all 0.2s ease;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.slider-btn:hover {
  background: #0c3b2e;
  color: #ffffff;
  border-color: #0c3b2e;
  transform: scale(1.08);
}
.slider-btn .icon {
  width: 18px;
  height: 18px;
}

/* ============ Organisations strip ============ */
.organisations-strip-section {
  padding: 32px 0;
  background: #ffffff;
  border-top: 1px solid #a4aab0;
  border-bottom: 1px solid #a4aab0;
}
.organisations-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.org-label {
  font-weight: 800;
  color: #0c3b2e;
  font-size: 0.95rem;
  white-space: nowrap;
}
.org-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.org-logos-track {
  display: contents;
}
.org-logos-set {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-shrink: 0;
}
.org-logos-track .org-logos-set:last-child {
  display: none;
}
.org-logo-img {
  height: 40px;
  width: 120px;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}
.org-logo-img:hover {
  transform: scale(1.05);
}

/* ============ Prefooter & Footer ============ */
.prefooter-bar {
  background: var(--navy, #0c3b2e);
  color: #ffffff;
  border-top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding: 22px 0;
}
.prefooter-inner {
  width: min(var(--max, 1280px), calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.prefooter-text h2 {
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 750;
  margin: 0 0 3px;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.prefooter-text p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.93rem;
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.01em;
}
.prefooter-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}
.prefooter-call {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  transition: opacity var(--transition-fast, 0.2s ease);
}
.prefooter-call:hover {
  opacity: 0.92;
}
.prefooter-call-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}
.prefooter-call-label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.prefooter-call-row {
  display: flex;
  align-items: center;
  gap: 9px;
}
.prefooter-call-icon {
  width: 20px;
  height: 20px;
  color: #ffffff;
  flex: 0 0 auto;
  stroke-width: 2.2;
  transition: transform var(--transition-fast, 0.2s ease);
}
.prefooter-call-number {
  color: #ffffff;
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.prefooter-divider {
  display: block;
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.35);
  margin: 0 4px;
  flex-shrink: 0;
}
.prefooter-btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px 42px;
  padding: 12px 32px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy, #0c3b2e);
  background: #ffffff;
  border: none;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
  transition:
    background var(--transition-fast, 0.2s ease),
    color var(--transition-fast, 0.2s ease),
    transform var(--transition-fast, 0.2s ease),
    box-shadow var(--transition-fast, 0.2s ease);
  cursor: pointer;
}
.prefooter-btn-arrow {
  width: 18px;
  height: 18px;
  color: var(--navy, #0c3b2e);
  stroke-width: 2.2;
  transition: transform var(--transition-fast, 0.2s ease);
}
.prefooter-call:hover .prefooter-call-icon {
  transform: scale(1.08);
}
.prefooter-btn:hover {
  background: #ffffff;
  color: var(--navy, #0c3b2e);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.prefooter-btn:hover .prefooter-btn-arrow {
  transform: translateX(3px);
}
.prefooter-call:focus-visible,
.prefooter-btn:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

.site-footer {
  background: #0c3b2e;
  color: #a4aab0;
  padding: 64px 0 0;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr 1.3fr;
  gap: 32px;
  padding-bottom: 48px;
}
.footer-main > * {
  min-width: 0;
}
.footer-about .brand {
  color: #fff;
  margin-bottom: 22px;
  grid-row: auto;
}
.site-footer p,
.site-footer .footer-about-bio,
.site-footer .text-muted {
  color: #a4aab0;
}
.footer-about-bio {
  color: #a4aab0;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: 14px;
  margin-bottom: 22px;
  max-width: 320px;
}
.footer-contact-info {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #a4aab0;
  font-size: 0.84rem;
}
.footer-contact-item .icon {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}
.footer-col h3 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.footer-contact-item a {
  min-width: 0;
  overflow-wrap: anywhere;
}
.site-footer ul,
.site-footer ol,
.footer-col ul,
.footer-menu-list {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.site-footer li,
.footer-col li,
.footer-menu-list li {
  list-style: none !important;
  list-style-type: none !important;
  display: block !important;
  padding: 0 !important;
  margin: 0 0 10px 0 !important;
}
.footer-col li::marker,
.footer-menu-list li::marker,
.site-footer li::marker {
  display: none !important;
  content: "" !important;
}
.footer-col a,
.footer-menu-list a {
  display: block;
  color: #a4aab0;
  font-size: 0.84rem;
  margin-bottom: 10px;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
.footer-col li a {
  margin-bottom: 0;
}
.footer-col a:hover,
.footer-col a:focus-visible,
.footer-menu-list a:hover,
.footer-col li a:hover {
  color: #d5ab55;
  transform: translateX(3px);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.social-panel {
  display: block;
  width: 100%;
}
.social-panel-title {
  color: #ffffff !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  margin: 0 0 16px !important;
  letter-spacing: 0.01em;
}
.socials-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.social-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 10px;
  background: #0c3b2e;
  color: #ffffff;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}
.social-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
.social-tile svg {
  display: block !important;
  width: 34px !important;
  height: 34px !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  padding: 5px !important;
}
.accredited-badges {
  display: grid;
  grid-template-columns: repeat(2, 110px);
  gap: 10px;
  margin-top: 14px;
  align-items: center;
  justify-content: start;
}
.acc-logo-img {
  height: 40px;
  width: 110px;
  object-fit: contain;
  border-radius: 6px;
  background: #ffffff;
  padding: 4px 8px;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.18));
}
.acc-logo-img:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.28));
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: #a4aab0;
}
.footer-registration-info {
  margin: 0 !important;
  font-size: 0.76rem;
  line-height: 1.6;
  opacity: 0.9;
  color: #a4aab0;
}
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-left: auto;
  padding-right: 32px;
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-legal-list {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  flex-wrap: wrap !important;
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.footer-legal-list li {
  list-style: none !important;
  list-style-type: none !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4 !important;
}
.footer-legal-list li::marker {
  display: none !important;
  content: "" !important;
}
.footer-legal a,
.footer-legal-list a {
  color: #a4aab0;
  font-size: 0.8rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-legal a:hover,
.footer-legal-list a:hover {
  color: #d4af37;
}
.footer-legal .sep {
  color: #0c3b2e;
}
.footer-bottom-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-status-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-status-link .icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
.footer-status-link:hover,
.footer-status-link:focus-visible {
  color: #d5ab55;
}
.payment-methods {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.payment-logo-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}
@media (max-width: 380px) {
  .payment-methods {
    width: 100%;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
  }
  .payment-logo-list {
    width: 100%;
    justify-content: center;
    gap: 6px;
  }
  .pay-logo-img {
    height: 21px;
  }
}
.payment-methods small {
  color: #a4aab0;
  font-size: 0.72rem;
  font-weight: 700;
}
@media (max-width: 768px) {
  .payment-methods {
    width: 100%;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
  }
  .payment-logo-list {
    width: 100%;
    justify-content: center;
    gap: 6px;
  }
  .pay-logo-img {
    height: 21px;
  }
}
.pay-logo-img {
  height: 22px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
  background: #ffffff;
  padding: 2px 6px;
  transition: transform 0.2s ease;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.15));
}
.pay-logo-img:hover {
  transform: translateY(-2px);
}

/* ============ Back to top / toast / cookie ============ */
.back-top {
  display: grid;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 0;
  border-radius: 8px 20px 8px 20px;
  opacity: 0;
  pointer-events: none;
  color: #fff;
  background: var(--cyan);
  box-shadow: var(--shadow-sm);
  transition: 0.2s;
}
.back-top.visible {
  opacity: 1;
  pointer-events: auto;
}
/* Cookie consent — bottom sheet + dim (accept / reject / customise) */
.cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px;
  background: rgba(7, 26, 20, 0.18);
  animation: mtts-cookie-dim-in 0.35s ease both;
}
.cookie-banner-card {
  width: min(880px, 100%);
  padding: 22px 26px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 24px 60px -18px rgba(12, 59, 46, 0.35);
  animation: mtts-cookie-sheet-in 0.45s cubic-bezier(0.22, 0.8, 0.3, 1) both;
}
.cookie-banner-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.cookie-banner-icon {
  display: flex;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: var(--navy, #0c3b2e);
  background: rgba(12, 59, 46, 0.08);
  border-radius: 14px;
}
.cookie-banner-icon svg {
  width: 26px;
  height: 26px;
}
.cookie-banner-title {
  margin: 0 0 6px;
  color: var(--navy, #0c3b2e);
  font-size: 1.12rem;
  font-weight: 750;
}
.cookie-banner-copy p {
  margin: 0;
  color: #475569;
  font-size: 0.87rem;
  line-height: 1.55;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

/* Cookie buttons */
.cookie-btn {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cookie-btn:focus-visible {
  outline: 2px solid var(--gold, #d4af37);
  outline-offset: 2px;
}
.cookie-btn-solid {
  background: var(--navy, #0c3b2e);
  border-color: var(--navy, #0c3b2e);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(12, 59, 46, 0.22);
}
.cookie-btn-solid:hover {
  background: #0e4636;
  transform: translateY(-1px);
}
.cookie-btn-outline {
  background: #ffffff;
  border-color: rgba(12, 59, 46, 0.28);
  color: var(--navy, #0c3b2e);
}
.cookie-btn-outline:hover {
  background: rgba(12, 59, 46, 0.05);
  border-color: var(--navy, #0c3b2e);
}
.cookie-btn-ghost {
  background: transparent;
  padding: 11px 10px;
  color: #64748b;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-btn-ghost:hover {
  color: var(--navy, #0c3b2e);
}

/* Smooth dismiss (accept / reject / save) */
.cookie-banner.is-closing {
  animation: none;
  background: transparent;
  transition: background 0.3s ease;
}
.cookie-banner.is-closing .cookie-banner-card {
  animation: none;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.32s ease, transform 0.32s ease;
}
@keyframes mtts-cookie-dim-in {
  from {
    background: rgba(7, 26, 20, 0);
  }
  to {
    background: rgba(7, 26, 20, 0.18);
  }
}
@keyframes mtts-cookie-sheet-in {
  from {
    opacity: 0;
    transform: translateY(34px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Cookie preferences dialog */
.cookie-prefs {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(7, 26, 20, 0.4);
}
.cookie-prefs[hidden] {
  display: none;
}
.cookie-prefs-panel {
  width: min(560px, 100%);
  max-height: min(640px, calc(100vh - 36px));
  overflow: auto;
  padding: 24px 26px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 28px 70px -20px rgba(12, 59, 46, 0.45);
  animation: mtts-cookie-sheet-in 0.35s ease both;
}
.cookie-prefs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cookie-prefs-head h3 {
  margin: 0;
  color: var(--navy, #0c3b2e);
  font-size: 1.05rem;
  font-weight: 750;
}
.cookie-prefs-close {
  display: flex;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: #f1f5f4;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cookie-prefs-close:hover {
  background: #e4ece9;
  color: var(--navy, #0c3b2e);
}
.cookie-prefs-intro {
  margin: 10px 0 6px;
  color: #475569;
  font-size: 0.86rem;
  line-height: 1.5;
}
.cookie-pref-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.cookie-pref-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cookie-pref-text strong {
  color: #0f172a;
  font-size: 0.9rem;
}
.cookie-pref-text span {
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.45;
}
.cookie-switch {
  position: relative;
  display: inline-flex;
  width: 44px;
  height: 26px;
  flex: 0 0 auto;
}
.cookie-switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.cookie-switch-track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #cbd5cf;
  transition: background 0.2s ease;
  pointer-events: none;
}
.cookie-switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}
.cookie-switch input:checked + .cookie-switch-track {
  background: var(--navy, #0c3b2e);
}
.cookie-switch input:checked + .cookie-switch-track::after {
  transform: translateX(18px);
}
.cookie-switch input:disabled + .cookie-switch-track {
  opacity: 0.55;
}
.cookie-switch input:focus-visible + .cookie-switch-track {
  outline: 2px solid var(--gold, #d4af37);
  outline-offset: 2px;
}
.cookie-prefs-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

@media (max-width: 640px) {
  .cookie-banner {
    padding: 12px;
  }
  .cookie-banner-card {
    padding: 18px;
    border-radius: 16px;
  }
  .cookie-banner-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
  .cookie-banner-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-btn {
    width: 100%;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner,
  .cookie-banner-card,
  .cookie-prefs-panel {
    animation: none !important;
    transition: none !important;
  }
}
.toast {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 300;
  padding: 14px 20px;
  border-radius: 8px 24px 8px 24px;
  transform: translateY(-15px);
  opacity: 0;
  color: #fff;
  background: #0c3b2e;
  box-shadow: var(--shadow);
  transition: 0.25s;
  pointer-events: none;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ============ Inner pages ============ */
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(120deg, var(--navy), #0c3b2e);
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -44px;
  top: -38px;
  width: 460px;
  height: 360px;
  background-image:
    linear-gradient(135deg, rgba(213, 171, 85, 0.16) 1px, transparent 1px),
    linear-gradient(45deg, rgba(213, 171, 85, 0.1) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: linear-gradient(
    135deg,
    #000 12%,
    rgba(0, 0, 0, 0.7) 58%,
    transparent 100%
  );
  mask-image: linear-gradient(
    135deg,
    #000 12%,
    rgba(0, 0, 0, 0.7) 58%,
    transparent 100%
  );
  pointer-events: none;
}
/* ============ Breadcrumbs ============ */
.site-breadcrumb-band {
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-breadcrumb-band .breadcrumbs {
  min-height: 58px;
  margin: 0;
  padding: 17px 0;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  line-height: 1.4;
}
.breadcrumbs a,
.breadcrumbs .crumb-link {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
  cursor: pointer;
}
.breadcrumbs a:hover,
.breadcrumbs .crumb-link:hover {
  color: #d4af37;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.breadcrumbs .crumb-sep {
  color: rgba(255, 255, 255, 0.48);
  margin: 0 3px;
  user-select: none;
  font-weight: 500;
}
.breadcrumbs .crumb-current {
  color: #d4af37;
  font-weight: 750;
}

.page-hero h1 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3rem);
}
.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #a4aab0;
  font-size: 1.05rem;
}
.page-hero .hero-inline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}
.page-hero .hero-inline .btn {
  flex: 0 0 auto;
}
.page-hero .hero-inline > div {
  max-width: 760px;
}

/* Courses listing */
.filter-shell {
  display: grid;
  grid-template-columns: 275px 1fr;
  align-items: start;
  gap: 36px;
  padding-bottom: 60px;
}

/* Related Courses Section - Generous bottom gap before prefooter */
.course-related-section {
  padding-top: 56px;
  padding-bottom: 96px;
  margin-bottom: 0;
}
.course-related-section h2 {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--navy, #0c3b2e);
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .course-related-section {
    padding-top: 36px;
    padding-bottom: 64px;
  }
  .course-related-section h2 {
    font-size: 1.75rem;
    margin-bottom: 24px;
  }
}

.filter-panel {
  position: sticky;
  top: 20px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 10px 34px 10px 34px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.filter-panel h3 {
  margin-bottom: 20px;
  color: var(--navy);
}
.filter-search {
  position: relative;
  margin-bottom: 22px;
}
.filter-search input {
  width: 100%;
  min-height: 46px;
  padding: 10px 42px 10px 42px;
  border: 1px solid var(--line);
  border-radius: 9px 22px 9px 22px;
  outline: 0;
  font-size: 0.88rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.filter-search input:focus {
  border-color: #0c3b2e;
  box-shadow: 0 0 0 3px rgba(12, 59, 46, 0.12);
}
.filter-search input::-webkit-search-cancel-button,
.filter-search input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}
.filter-search > svg,
.filter-search .filter-search-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #5e6f86;
  pointer-events: none;
}
.filter-search-clear {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 59, 46, 0.08);
  border: none;
  border-radius: 50%;
  color: #5e6f86;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, color 0.2s;
}
.filter-search-clear:hover {
  background: rgba(12, 59, 46, 0.16);
  color: #0c3b2e;
}
.filter-search-clear svg {
  position: static;
  width: 13px;
  height: 13px;
  stroke: currentColor;
}
.filter-search-spinner {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(12, 59, 46, 0.2);
  border-top-color: #0c3b2e;
  border-radius: 50%;
  animation: mtts-spin 0.65s linear infinite;
  pointer-events: none;
}
.course-grid-wrap {
  position: relative;
  min-height: 320px;
}
.course-grid-loader {
  position: absolute;
  inset: 0;
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.course-grid-loader.active {
  opacity: 1;
  pointer-events: auto;
}
.course-loader-spinner {
  width: 44px;
  height: 44px;
  border: 3.5px solid rgba(12, 59, 46, 0.15);
  border-top-color: #0c3b2e;
  border-right-color: #d4af37;
  border-radius: 50%;
  animation: mtts-spin 0.75s linear infinite;
}
.course-loader-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0c3b2e;
  letter-spacing: -0.01em;
}
@keyframes mtts-spin {
  to { transform: rotate(360deg); }
}
.courses-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  background: #ffffff;
  border: 2px dashed #d1d7dc;
  border-radius: 18px;
  margin: 10px 0 30px;
}
.courses-empty-state .empty-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(12, 59, 46, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0c3b2e;
  margin-bottom: 16px;
}
.courses-empty-state .empty-icon-wrap svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
}
.courses-empty-state h3 {
  color: #0c3b2e;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.courses-empty-state p {
  color: #5e6f86;
  font-size: 0.95rem;
  max-width: 440px;
  margin: 0 auto 20px;
  line-height: 1.5;
}
.courses-empty-state .btn {
  padding: 10px 24px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 8px;
  background: #0c3b2e;
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.courses-empty-state .btn:hover {
  background: #145c48;
  transform: translateY(-2px);
}
.course-card[hidden],
.course-grid-loader[hidden],
.filter-search-clear[hidden],
.filter-search-spinner[hidden],
.courses-empty-state[hidden] {
  display: none !important;
}
.filter-options {
  display: grid;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 0;
  border: 0;
  color: #5e6f86;
  background: transparent;
  text-align: left;
  font-size: 0.82rem;
}
.filter-option::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 2px solid #a4aab0;
  border-radius: 4px;
}
.filter-option.active {
  color: var(--navy);
  font-weight: 800;
}
.filter-option.active::before {
  border-color: var(--cyan);
  background: var(--cyan);
  box-shadow: inset 0 0 0 3px #fff;
}
.results-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}
.results-count {
  color: #5e6f86;
  font-size: 0.85rem;
}
.sort-select {
  min-height: 43px;
  padding: 8px 36px 8px 13px;
  border: 1px solid var(--line);
  border-radius: 8px 18px 8px 18px;
  color: var(--navy);
  background: #fff;
}
.empty-state {
  grid-column: 1 / -1;
  padding: 70px 25px;
  border: 1px dashed #a4aab0;
  border-radius: 14px 45px 14px 45px;
  text-align: center;
}

/* Course detail */
.course-detail-hero {
  padding: 50px 0 60px;
  background: #ffffff;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: start;
  gap: 46px;
}
.detail-main {
  min-width: 0;
}
.detail-main h1 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
}
.detail-main > p {
  max-width: 800px;
  font-size: 1.03rem;
}
.detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid #a4aab0;
  border-radius: 999px;
  color: #0c3b2e;
  background: #fff;
  font-size: 0.76rem;
  font-weight: 700;
}
.detail-art {
  position: relative;
  overflow: hidden;
  height: 320px;
  margin-top: 32px;
  border-radius: 15px 62px 15px 62px;
  box-shadow: var(--shadow-sm);
}
.detail-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.detail-art-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 59, 46, 0.25) 0%,
    rgba(12, 59, 46, 0.65) 100%
  );
  z-index: 1;
}
.booking-card {
  position: sticky;
  top: 22px;
  padding: 28px;
  border-radius: 12px 45px 12px 45px;
  background: #fff;
  box-shadow: var(--shadow);
}
.booking-card .badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #0c3b2e;
  background: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
}
.booking-card h3 {
  color: var(--navy);
}
.booking-price {
  margin: 20px 0;
}
.booking-price small {
  display: block;
  color: #5e6f86;
}
.booking-price strong {
  color: var(--navy);
  font-size: 2.25rem;
}
.package-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 20px;
  padding: 4px;
  border-radius: 9px 22px 9px 22px;
  background: #ffffff;
}
.package-tabs button {
  padding: 9px;
  border: 0;
  border-radius: 7px 17px 7px 17px;
  color: #5e6f86;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 750;
}
.package-tabs button.active {
  color: var(--navy);
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}
.booking-includes {
  display: grid;
  gap: 9px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}
.booking-includes li {
  display: flex;
  gap: 8px;
  color: #5e6f86;
  font-size: 0.78rem;
}
.booking-includes li::before {
  content: "";
  display: inline-flex;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border-radius: 50%;
  background-color: rgba(12, 59, 46, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c3b2e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 10px 10px;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 2px;
}
.booking-card .btn {
  width: 100%;
}
.booking-note {
  margin: 13px 0 0;
  text-align: center;
  font-size: 0.7rem;
}
.detail-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: start;
  gap: 50px;
}
.detail-nav {
  position: sticky;
  top: 22px;
  display: grid;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px 30px 10px 30px;
}
.detail-nav a {
  padding: 10px 9px;
  border-bottom: 1px solid #ffffff;
  color: #5e6f86;
  font-size: 0.78rem;
}
.detail-nav a:hover {
  color: var(--blue);
}
.detail-content section {
  scroll-margin-top: 25px;
  margin-bottom: 62px;
}
.detail-content h2 {
  margin-bottom: 20px;
  color: var(--navy);
  font-size: 2rem;
}
.detail-content h3 {
  color: var(--navy);
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px 34px 10px 34px;
}
.info-item {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.info-item:nth-child(2n) {
  border-right: 0;
}
.info-item small {
  display: block;
  color: #5e6f86;
  font-size: 0.7rem;
}
.info-item strong {
  color: var(--navy);
  font-size: 0.9rem;
}
.module-list {
  counter-reset: modules;
  display: grid;
  gap: 13px;
}
.module {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 8px 24px 8px 24px;
  background: #ffffff;
}
.module::before {
  counter-increment: modules;
  content: counter(modules);
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 7px 17px 7px 17px;
  color: #fff;
  background: var(--navy);
  font-weight: 800;
}
.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}
.check-list li {
  display: flex;
  gap: 11px;
  color: #5e6f86;
}
.check-list li::before {
  content: "";
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  background-color: rgba(12, 59, 46, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c3b2e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 13px 13px;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 2px;
}
.course-feature-list li {
  align-items: flex-start;
  min-width: 0;
  line-height: 1.7;
}
.course-feature-copy {
  display: block;
  min-width: 0;
  flex: 1 1 0;
  overflow-wrap: anywhere;
}
.course-feature-copy strong {
  color: var(--navy);
  font-weight: 800;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.step {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 9px 30px 9px 30px;
}
.step strong {
  display: grid;
  width: 37px;
  height: 37px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 7px 15px 7px 15px;
  color: #fff;
  background: var(--cyan);
}
.step h3 {
  font-size: 0.92rem;
}
.step p {
  margin: 0;
  font-size: 0.76rem;
}

/* ==========================================================================
   ENHANCED COURSE DETAIL STYLES (COMPETITOR BENCHMARK)
   ========================================================================== */

/* Course action strip */
.course-breadcrumb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.course-action-bar {
  justify-content: flex-end;
  padding-block: 12px;
  margin-bottom: 16px;
}
.course-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.course-share-btn:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

body.modal-open {
  overflow: hidden;
}
.share-modal[hidden] {
  display: none;
}
.mobile-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.mobile-account-btn {
  padding: 7px 14px;
  font-size: 14px;
  gap: 7px;
}
.mobile-account-btn .header-account-label {
  max-width: 84px;
}
.widget-vat-included {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border: 1px solid rgba(12, 59, 46, 0.14);
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.16);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mobile-account-panel {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.mobile-nav .mobile-account-panel a.mobile-panel-account-btn,
.mobile-account-panel .mobile-panel-account-btn {
  display: flex !important;
  width: 100% !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 48px !important;
  padding: 12px 24px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: var(--radius-btn, 8px 22px) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}
.mobile-nav .mobile-account-panel a.mobile-panel-account-btn:hover,
.mobile-account-panel .mobile-panel-account-btn:hover {
  background: var(--cyan, #d4af37) !important;
  color: var(--navy, #0c3b2e) !important;
  border-color: var(--cyan, #d4af37) !important;
}
.mobile-panel-account-btn .header-account-icon-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.mobile-panel-account-btn .header-account-icon {
  width: 18px !important;
  height: 18px !important;
  stroke: currentColor !important;
}
.mobile-panel-account-btn .header-account-label {
  display: inline !important;
  max-width: none !important;
}

/* ---- Header account dropdown ---- */
.header-account {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.header-account-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  padding: 0 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius-btn);
  background: transparent;
  color: #ffffff;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
  flex-shrink: 0;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
}
.header-account-trigger:hover,
.header-account.is-open .header-account-trigger,
.header-account-trigger:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-1px);
}
.header-account-trigger:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.28),
    0 0 0 5px var(--gold);
}
.header-account-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
  color: currentColor;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}
.header-account-caret svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  stroke-width: 2.5;
  display: block;
}
.header-account-caret:empty {
  width: 11px;
  height: 11px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
}
.header-account.is-open .header-account-caret {
  transform: rotate(180deg);
}
.header-account-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 120;
  min-width: 232px;
  padding: 8px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid rgba(12, 59, 46, 0.1);
  box-shadow: var(--shadow-overlay);
  animation: mttsAccountDrop 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes mttsAccountDrop {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.header-account-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background var(--transition-fast),
    color var(--transition-fast);
}
.header-account-item .icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  color: var(--gold-dark);
  stroke-width: 2;
}
.header-account-item:hover,
.header-account-item:focus-visible {
  background: rgba(12, 59, 46, 0.06);
  color: var(--ink);
  outline: none;
}
.header-account-item:focus-visible {
  box-shadow: inset 0 0 0 2px var(--gold);
}
.header-account-signout {
  color: #8c2f2f;
}
.header-account-signout .icon {
  color: #8c2f2f;
}
.header-account-divider {
  height: 1px;
  margin: 6px 4px;
  background: rgba(12, 59, 46, 0.1);
}
.icon-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 34px;
  height: 36px;
  padding: 4px;
  border: none !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: #ffffff;
  cursor: pointer;
  transition:
    color 0.2s ease,
    transform 0.15s ease;
}
.icon-button:hover,
.icon-button:focus-visible {
  color: #d4af37;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none;
}
.icon-button .icon {
  width: 24px;
  height: 24px;
  color: #ffffff;
  transition: color 0.2s ease;
}
.icon-button:hover .icon {
  color: #d4af37;
}
.mobile-search-toggle {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #ffffff;
  padding: 4px;
}
.mobile-search-toggle:hover,
.mobile-search-toggle:focus-visible {
  border: none !important;
  background: transparent !important;
  color: #d4af37;
}
.mobile-search-toggle.active {
  background: transparent !important;
  border: none !important;
  color: #d4af37 !important;
}
.mobile-search-toggle.active .icon {
  color: #d4af37;
}
.cart-link-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  text-decoration: none;
  border: none;
  background: transparent;
}
.cart-icon-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-svg {
  width: 24px;
  height: 24px;
  color: #ffffff;
  transition: color 0.2s ease;
}
.cart-link-item:hover .cart-svg {
  color: #d4af37;
}

/* Mobile Search Dropdown */
.mobile-search-dropdown {
  display: none;
  background: #082920;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 2px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  padding: 16px 0 18px;
  position: relative;
  z-index: 99;
}
.mobile-search-dropdown.open {
  display: block;
  animation: mobileSearchSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes mobileSearchSlideDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-search-container {
  display: flex;
  align-items: center;
}

.mobile-search-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.mobile-search-label {
  display: block;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.mobile-search-input-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.mobile-search-input {
  width: 100%;
  height: 48px;
  padding: 0 76px 0 20px;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 999px;
  color: #ffffff !important;
  caret-color: #d4af37;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: inherit;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.mobile-search-input::-webkit-search-cancel-button,
.mobile-search-input::-webkit-search-decoration,
.mobile-search-input::-webkit-search-results-button,
.mobile-search-input::-webkit-search-results-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.mobile-search-input::placeholder {
  color: rgba(255, 255, 255, 0.65) !important;
  opacity: 1 !important;
}

.mobile-search-input:focus {
  outline: none;
  border-color: #d4af37 !important;
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  box-shadow:
    0 0 0 3px rgba(212, 175, 55, 0.35),
    0 4px 14px rgba(0, 0, 0, 0.25) !important;
}

.mobile-search-input:-webkit-autofill,
.mobile-search-input:-webkit-autofill:hover,
.mobile-search-input:-webkit-autofill:focus {
  -webkit-text-fill-color: #ffffff !important;
  -webkit-box-shadow: 0 0 0px 1000px #082920 inset !important;
  transition: background-color 5000s ease-in-out 0s;
}

.mobile-search-clear-btn {
  position: absolute;
  right: 44px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.2) !important;
  border: none !important;
  border-radius: 50% !important;
  color: #ffffff !important;
  cursor: pointer;
  padding: 0;
  transition:
    background 0.15s ease,
    transform 0.15s ease,
    color 0.15s ease;
}

.mobile-search-clear-btn:hover {
  background: rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  transform: scale(1.1);
}

.mobile-search-clear-btn svg {
  width: 12px;
  height: 12px;
  stroke: #ffffff !important;
  color: #ffffff !important;
  stroke-width: 2.4 !important;
}

.mobile-search-submit-icon-btn {
  position: absolute;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  color: #ffffff !important;
  border: none !important;
  cursor: pointer;
  padding: 0;
  transition:
    color 0.15s ease,
    transform 0.15s ease;
}

.mobile-search-submit-icon-btn:hover {
  color: #d4af37 !important;
  transform: scale(1.12);
}

.mobile-search-submit-icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor !important;
  stroke-width: 2.3 !important;
}

/* Search inside Mobile Slideout Panel */
.mobile-panel-search {
  padding-bottom: 18px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.panel-search-form .mobile-search-input {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

@media (min-width: 901px) {
  .mobile-search-dropdown {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .mobile-actions {
    gap: 14px;
  }
  .icon-button {
    min-width: 30px;
    height: 34px;
    border: none !important;
    background: transparent !important;
  }
  .mobile-search-submit-btn {
    padding: 0 14px;
    font-size: 0.82rem;
  }
}

.mobile-panel {
  display: none;
  position: fixed;
  inset: 72px 0 0;
  top: var(--mtts-panel-top, 72px);
  z-index: 98;
  overflow: auto;
  padding: 24px 20px 80px;
  background: var(--navy);
  color: #fff;
}
.share-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(12, 59, 46, 0.7);
  backdrop-filter: blur(5px);
}
.share-modal-dialog {
  position: relative;
  width: min(100%, 560px);
  padding: clamp(28px, 5vw, 42px);
  border: 1px solid rgba(212, 171, 85, 0.38);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}
.share-modal-dialog .eyebrow {
  margin-bottom: 12px;
}
.share-modal-dialog h2 {
  margin: 0 42px 8px 0;
  color: var(--navy);
  font-size: clamp(1.6rem, 4vw, 2rem);
}
.share-modal-dialog > p {
  margin: 0 0 24px;
  color: var(--muted);
}
.share-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  background: #ffffff;
  cursor: pointer;
}
.share-modal-close:hover {
  color: #ffffff;
  background: var(--navy);
}
.share-modal-close .icon {
  width: 18px;
  height: 18px;
}
.share-modal-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.share-modal-option {
  display: flex;
  min-height: 96px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--navy);
  background: #ffffff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 750;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}
.share-modal-option .icon {
  width: 23px;
  height: 23px;
}
.share-modal-option:hover {
  transform: translateY(-2px);
  border-color: var(--navy);
  color: #ffffff;
  background: var(--navy);
}
@media (max-width: 480px) {
  .share-modal {
    padding: 16px;
  }
  .share-modal-dialog {
    padding: 28px 20px 22px;
  }
  .share-modal-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .share-modal-option {
    min-height: 82px;
  }
}

/* ==========================================================================
   Group Booking Required Modal (Exact Reference Red Badge / Notification)
   ========================================================================== */
.group-booking-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.group-booking-modal[hidden] {
  display: none !important;
}
.group-booking-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.group-booking-modal-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #ea3838;
  background: linear-gradient(145deg, #ef4444 0%, #dc2626 100%);
  border-radius: 18px;
  padding: 28px 28px 24px;
  color: #ffffff;
  box-shadow: 0 20px 45px -10px rgba(220, 38, 38, 0.45), 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  animation: groupModalPop 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  z-index: 1;
}
@keyframes groupModalPop {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.group-booking-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.group-booking-close-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.08);
}
.group-booking-close-btn .icon {
  width: 16px;
  height: 16px;
}
.group-booking-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.group-booking-modal-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.group-booking-modal-icon .icon {
  width: 20px;
  height: 20px;
  stroke: #ffffff;
}
.group-booking-title {
  margin: 0;
  font-size: 19px;
  font-weight: 750;
  line-height: 1.3;
  color: #ffffff;
  letter-spacing: -0.01em;
}
.group-booking-message {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 450;
}
.group-booking-modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.group-booking-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}
.group-booking-action-btn .icon {
  width: 15px;
  height: 15px;
}
.btn-switch-group {
  background: #ffffff;
  color: #dc2626;
  border: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.btn-switch-group:hover {
  background: #f8fafc;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}
.btn-contact-team {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-contact-team:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}
@media (max-width: 480px) {
  .group-booking-modal {
    padding: 14px;
  }
  .group-booking-modal-card {
    padding: 22px 18px 20px;
    border-radius: 16px;
  }
  .group-booking-modal-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .group-booking-action-btn {
    width: 100%;
  }
}

/* Course Detail Two-Column Hero Grid */
.course-hero-grid-modern {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 36px;
  align-items: start;
  margin-bottom: 40px;
}
@media (max-width: 1024px) {
  .course-hero-grid-modern {
    grid-template-columns: 1fr;
  }
}

/* Left Hero Navy Banner */
.course-hero-navy-card {
  background: linear-gradient(135deg, #0c3b2e 0%, #0c3b2e 100%);
  border-radius: 16px;
  padding: 36px 32px;
  color: #fff;
  box-shadow: 0 10px 30px rgba(12, 59, 46, 0.15);
  margin-bottom: 24px;
}
.course-hero-navy-card .eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  display: block;
}
.course-hero-navy-card h1 {
  color: #fff;
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.course-hero-navy-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
  max-width: 680px;
}

/* Delivery Mode Selection Box */
.course-delivery-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.course-delivery-box h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.course-delivery-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 18px;
}
.delivery-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) {
  .delivery-options-grid {
    grid-template-columns: 1fr;
  }
}
.delivery-option-card {
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
.delivery-option-card.selected,
.delivery-option-card:hover {
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 4px 14px rgba(12, 59, 46, 0.08);
}
.delivery-option-card.selected::after {
  content: "Selected";
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--navy);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}
.delivery-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  display: block;
}
.delivery-option-card strong {
  display: block;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.delivery-details-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8rem;
  color: #5e6f86;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.delivery-details-list li {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Sticky Booking Widget (Right Column) */
.booking-widget-modern {
  position: sticky;
  top: 90px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.booking-widget-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.booking-widget-body {
  padding: 24px;
}
.booking-widget-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 12px;
  line-height: 1.35;
}
.booking-widget-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.booking-widget-price strong {
  font-size: 2.1rem;
  color: var(--navy);
  font-weight: 800;
}
.booking-widget-price small {
  font-size: 0.78rem;
  color: var(--muted);
}
.booking-vat-label {
  font-size: 0.75rem;
  color: #0c3b2e;
  font-weight: 700;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.booking-select-group {
  margin-bottom: 14px;
}
.booking-select-group label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.booking-select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  font-size: 0.82rem;
  color: var(--navy);
  font-weight: 600;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
}
.booking-select:focus {
  border-color: var(--gold);
  background: #fff;
}
.btn-book-primary {
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  box-shadow: 0 4px 14px rgba(12, 59, 46, 0.25);
}
.btn-book-primary:hover {
  background: #0c3b2e;
}
.btn-enquire-secondary {
  width: 100%;
  padding: 11px;
  border-radius: 999px;
  background: transparent;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 700;
  border: 1.5px solid var(--line);
  cursor: pointer;
  margin-top: 10px;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: all 0.2s ease;
}
.btn-enquire-secondary:hover {
  border-color: var(--navy);
  background: #ffffff;
}
.booking-trust-list {
  list-style: none;
  padding: 16px 0 0;
  margin: 16px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.78rem;
  color: #5e6f86;
}
.booking-trust-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.booking-trust-list li svg {
  color: #0c3b2e;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Two-Column Main Content Layout */
.course-main-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 1024px) {
  .course-main-layout {
    grid-template-columns: 1fr;
  }
  .course-toc-sticky {
    display: none;
  }
}

/* Left Sticky Jump Navigation */
.course-toc-sticky {
  position: sticky;
  top: 90px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 16px;
}
.course-toc-sticky h4 {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.course-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.course-toc-link {
  font-size: 0.82rem;
  color: #5e6f86;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: block;
}
.course-toc-link:hover,
.course-toc-link.active {
  color: var(--navy);
  background: #ffffff;
  font-weight: 700;
}

/* Stacked White Section Cards */
.course-section-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 100px;
}
.course-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #ffffff;
}
.course-section-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(12, 59, 46, 0.07);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}
.course-section-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  transition: stroke 0.25s ease;
}
.course-section-card:hover .course-section-icon,
.course-section-icon:hover {
  background: var(--navy);
  color: #ffffff;
}
.course-section-card:hover .course-section-icon svg,
.course-section-icon:hover svg {
  stroke: #ffffff;
}
.course-section-header h2 {
  font-size: 1.55rem;
  color: var(--navy);
  margin: 0;
}
.course-section-body p {
  color: #5e6f86;
  line-height: 1.8;
  font-size: 0.95rem;
  margin: 0 0 16px;
}
.course-section-body ul,
.course-section-body ol {
  color: #5e6f86;
  line-height: 1.8;
  padding-left: 20px;
  margin: 0 0 16px;
}
.course-section-body li {
  margin-bottom: 8px;
}

/* Course Accordion Units */
.syllabus-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.syllabus-unit-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  transition: border-color 0.2s;
}
.syllabus-unit-card[open] {
  border-color: var(--navy);
  background: #fff;
}
.syllabus-unit-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 750;
  color: var(--navy);
  list-style: none;
  font-size: 0.95rem;
}
.syllabus-unit-summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--gold-dark);
}
.syllabus-unit-card[open] .syllabus-unit-summary::after {
  content: "\2212";
}
.syllabus-unit-content {
  padding: 0 20px 18px;
  color: #5e6f86;
  font-size: 0.88rem;
  line-height: 1.7;
}

/* Career & Salary Grid */
.career-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 18px;
}
@media (max-width: 640px) {
  .career-cards-grid {
    grid-template-columns: 1fr;
  }
}
.career-stat-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}
.career-stat-card strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 6px;
}
.career-stat-card .career-rate {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold-dark);
  margin-bottom: 4px;
}
.career-stat-card small {
  font-size: 0.78rem;
  color: var(--muted);
}

/* Accreditation Logos Banner */
.course-accreditation-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 36px);
  flex-wrap: wrap;
  padding: 22px 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-top: 18px;
}
.course-accreditation-row img {
  height: 42px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}

@media (max-width: 600px) {
  .course-accreditation-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
    align-items: center;
    justify-items: center;
    padding: 20px 16px;
  }
  .course-accreditation-row img {
    height: 38px;
    max-width: 130px;
  }
}

/* FAQ & policy */
[data-faq-accordion] {
  --faq-duration: 450ms;
}
.faq-answer {
  display: grid;
  grid-template-rows: 1fr;
}

/* Certification awarding-body logos - smaller on mobile & iPad */
.course-certifications {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  justify-items: center;
  align-items: center;
  text-align: center;
  padding: 16px;
}
.course-certifications > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.course-certifications img {
  height: 64px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}
@media (max-width: 1024px) {
  .course-certifications img {
    height: 48px;
    max-width: 120px;
  }
}
@media (max-width: 600px) {
  .course-certifications {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 14px 12px;
  }
  .course-certifications img {
    height: 40px;
    max-width: 100px;
  }
}

.faq-answer-content {
  min-height: 0;
  overflow: hidden;
}
.faq-accordion-ready .faq-answer {
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--faq-duration) cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-accordion-ready details.is-expanded > .faq-answer {
  grid-template-rows: 1fr;
}
.faq-accordion-ready details:not(.is-expanded) > summary::after {
  content: "+";
}
[data-faq-accordion] summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -4px;
  border-radius: 6px;
}
[data-faq-accordion] summary::-webkit-details-marker {
  display: none;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 20px 4px;
  color: var(--navy);
  cursor: pointer;
  font-weight: 750;
  list-style: none;
}
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
}
.faq[open] summary::after {
  content: "\2212";
}
.faq p {
  padding: 0 35px 18px 4px;
}
.policy {
  max-width: none;
}
.policy section > :last-child,
  .approach-text > :last-child {
    margin-bottom: 0;
  }
.policy > section > p,
.policy > p {
  max-width: 75ch;
  line-height: 1.75;
}
.policy-index {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: var(--section-heading-gap);
}
.policy-index a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--navy);
  background: #ffffff;
  font-size: 0.72rem;
  font-weight: 750;
}
.policy section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.policy h2 {
  color: var(--navy);
  font-size: 1.65rem;
  margin-bottom: 16px;
  line-height: 1.2;
}

/* Split / about / team */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(24px, 2vw, 40px);
}
.about-image {
  height: 520px;
  border-radius: 17px 82px 17px 82px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: #ffffff;
  padding: 28px 24px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--navy);
}
.value-card .feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(12, 59, 46, 0.07);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.value-card .feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  transition: stroke 0.2s ease;
}
.value-card:hover .feature-icon,
.value-card .feature-icon:hover {
  background: var(--navy);
  color: #ffffff;
}
.value-card:hover .feature-icon svg,
.value-card .feature-icon:hover svg {
  stroke: #ffffff;
}
.value-card h3 {
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 750;
  margin-bottom: 8px;
  line-height: 1.35;
}
.value-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: #5e6f86;
  line-height: 1.55;
}
.number-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.number-card {
  padding: 30px;
  border-radius: 9px 30px 9px 30px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  text-align: center;
}
.number-card strong {
  display: block;
  color: var(--gold);
  font-size: 2.4rem;
}
.number-card span {
  color: #a4aab0;
  font-size: 0.79rem;
}

/* Forms */
.form-card {
  padding: clamp(25px, 4vw, 45px);
  border: 1px solid var(--line);
  border-radius: 14px 55px 14px 55px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 19px;
}
.field {
  display: grid;
  gap: 7px;
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 750;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #a4aab0;
  border-radius: 8px 21px 8px 21px;
  outline: 0;
  background: #fff;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(12, 59, 46, 0.18);
}
.form-message {
  display: none;
  margin: 18px 0 0;
  padding: 13px 16px;
  border-radius: 8px 22px 8px 22px;
  color: #0c3b2e;
  background: #ffffff;
}
.form-message.show {
  display: block;
}

/* Contact */
.contact-cards {
  display: grid;
  gap: 16px;
}
.contact-card {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 9px 28px 9px 28px;
}
.contact-card strong {
  color: var(--navy);
}
.contact-card p {
  margin: 4px 0 0;
  font-size: 0.82rem;
}

/* ============ Contact Page (modern layout) ============ */
.cm-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 2.5vw, 44px);
  align-items: start;
}
.cm-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: clamp(24px, 3vw, 40px);
}
.cm-form-title {
  color: var(--navy);
  font-size: 1.9rem;
  margin: 0 0 10px;
}
.cm-form-intro {
  color: var(--muted);
  margin: 0 0 26px;
}
.cm-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.cm-field {
  display: grid;
  gap: 8px;
}
.cm-field.cm-full {
  grid-column: 1 / -1;
}
.cm-field label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
}
.cm-input-icon {
  position: relative;
}
.cm-input-icon > svg.icon {
  position: absolute;
  left: 13px;
  top: 50%;
  translate: 0 -50%;
  width: 17px;
  height: 17px;
  color: var(--muted);
  pointer-events: none;
  transition: color 0.2s ease;
}
.cm-input-icon.cm-input-icon-textarea > svg.icon,
.cm-input-icon:has(textarea) > svg.icon {
  top: 18px;
  translate: 0 0;
  transform: none;
}
.cm-input-icon input,
.cm-input-icon select,
.cm-input-icon textarea {
  width: 100%;
  padding: 12px 14px 12px 40px;
  border: 1px solid #c9d2d9;
  border-radius: 10px;
  font: inherit;
  background: #fff;
  outline: 0;
  color: var(--ink);
}
.cm-input-icon textarea {
  min-height: 150px;
  resize: vertical;
}
.cm-input-icon input:focus,
.cm-input-icon select:focus,
.cm-input-icon textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(12, 59, 46, 0.12);
}
.cm-input-icon:focus-within > svg.icon {
  color: var(--navy);
}
.cm-submit {
  width: 100%;
  justify-content: center;
  background: var(--navy);
  color: #fff;
}
.cm-submit:hover {
  background: var(--gold);
  color: var(--navy);
}
.cm-terms {
  margin: 18px 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}
.cm-terms a {
  color: var(--navy);
  text-decoration: underline;
}
.cm-side {
  display: grid;
  gap: clamp(20px, 2vw, 28px);
}
.cm-quick-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: clamp(22px, 2.5vw, 32px);
}
.cm-quick-card h3 {
  color: var(--navy);
  margin: 0 0 14px;
  font-size: 1.25rem;
}
.cm-qc-row {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
  padding: 12px 0;
  text-decoration: none;
}
.cm-qc-row + .cm-qc-row {
  border-top: 1px solid rgba(12, 59, 46, 0.08);
}
.cm-qc-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(12, 59, 46, 0.07);
  color: var(--navy);
  flex-shrink: 0;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}
.cm-qc-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  transition: stroke 0.25s ease;
}
.cm-qc-row:hover .cm-qc-icon,
.cm-info-card:hover .cm-qc-icon,
.cm-qc-icon:hover {
  background: var(--navy);
  color: #ffffff;
}
.cm-qc-row:hover .cm-qc-icon svg,
.cm-info-card:hover .cm-qc-icon svg,
.cm-qc-icon:hover svg {
  stroke: #ffffff;
}
.cm-qc-body {
  display: grid;
  gap: 3px;
}
.cm-qc-body small {
  color: var(--muted);
  font-size: 0.8rem;
}
.cm-qc-body strong {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
}
.cm-qc-body .cm-qc-subtext {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.4;
  margin-top: 2px;
  display: block;
}
.cm-map-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  background: #fff;
}
.cm-map-card iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}
.cm-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 28px);
  margin-top: clamp(24px, 3vw, 40px);
}
.cm-info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: clamp(20px, 2.5vw, 30px);
}
.cm-info-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.cm-info-head h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
}
.cm-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  font-size: 0.9rem;
  border-bottom: 1px dashed rgba(12, 59, 46, 0.12);
}
.cm-hours-row:last-child {
  border-bottom: 0;
}
.cm-hours-row span {
  color: var(--muted);
}
.cm-hours-row strong {
  color: var(--navy);
  font-weight: 600;
}
.cm-info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}
.cm-info-card .cm-loc-name {
  color: var(--navy);
  font-weight: 700;
}
.cm-directions {
  display: inline-flex;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  transition: var(--transition-fast);
}
.cm-directions:hover {
  background: var(--navy);
  color: #fff;
}
@media (max-width: 980px) {
  .cm-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .cm-info-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .cm-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.map-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  overflow: hidden;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.map-card:hover {
  box-shadow: var(--shadow);
}
.map-iframe-wrap {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 290px;
  overflow: hidden;
  background: #f1f5f9;
}
.map-iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
}
.map-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: #ffffff;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.map-card-address {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  flex: 1;
  min-width: 180px;
}
.map-card-address svg {
  width: 15px;
  height: 15px;
  max-width: 15px;
  max-height: 15px;
  color: #0c3b2e;
  flex-shrink: 0;
}
.map-directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 750;
  color: #0c3b2e;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  white-space: nowrap;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.map-directions-btn:hover {
  background: #0c3b2e;
  color: #ffffff;
  border-color: #0c3b2e;
}
.map-pin {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border: 10px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  box-shadow: var(--shadow);
  margin: auto;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px 38px 10px 38px;
  background: #fff;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  box-shadow: 0 4px 16px rgba(12, 59, 46, 0.05);
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(12, 59, 46, 0.12);
}
.post-art {
  display: block;
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), #d4af37);
  flex-shrink: 0;
}
.post-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.post-card:hover .post-card-img {
  transform: scale(1.08);
}
.article-banner-img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 12px 45px 12px 45px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}
.post-body,
.post-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}
.post-label {
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}
.post-body h3,
.post-card-body h3 {
  margin: 10px 0 12px;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 750;
  line-height: 1.4;
}
.post-body h3 a,
.post-card-body h3 a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
}
.post-body h3 a:hover,
.post-card-body h3 a:hover {
  color: var(--gold-dark);
}
.post-body p,
.post-card-body p {
  font-size: 0.88rem;
  color: #5e6f86;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(12, 59, 46, 0.08);
}
.post-author {
  /* display: inline-flex; */
   display: none;
  align-items: center;
  gap: 6px;
  color: #5e6f86;
  font-size: 0.76rem;
  font-weight: 600;
}
.post-author svg {
  width: 14px;
  height: 14px;
  color: var(--gold-dark);
  flex-shrink: 0;
}
.btn-read-article,
.post-read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.btn-read-article svg,
.post-read-link svg {
  width: 13px;
  height: 13px;
  transition: transform 0.2s ease;
}
.btn-read-article:hover svg,
.post-read-link:hover svg,
.post-card:hover .btn-read-article svg,
.post-card:hover .post-read-link svg {
  transform: translateX(3px);
}
.btn-read-article:hover,
.post-read-link:hover,
.post-card:hover .btn-read-article,
.post-card:hover .post-read-link {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.article {
  max-width: 820px;
  margin-inline: auto;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
  color: #5e6f86;
  font-size: 0.78rem;
}
.article .post-art {
  height: 420px;
  margin-bottom: 48px;
  border-radius: 15px 58px 15px 58px;
}
.article-copy h2 {
  margin: 50px 0 18px;
  color: var(--navy);
  font-size: 2rem;
}
.article-copy h3 {
  margin: 35px 0 15px;
  color: var(--navy);
}
.article-copy p,
.article-copy li {
  color: #5e6f86;
  line-height: 1.85;
}
.article-copy blockquote {
  margin: 35px 0;
  padding: 25px 30px;
  border-left: 4px solid var(--cyan);
  border-radius: 0 25px 25px 0;
  color: var(--navy);
  background: #ffffff;
  font-size: 1.08rem;
  font-weight: 650;
}

/* ==========================================================================
   ENHANCED BLOG & ARTICLE STYLES (COMPETITOR BENCHMARK)
   ========================================================================== */

/* Blog Hero */
.blog-hero-section {
  background: linear-gradient(120deg, var(--navy), #0c3b2e);
  border-bottom: 0;
}
.blog-hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  align-items: center;
  gap: 40px;
}
.blog-hero-text h1 {
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.blog-hero-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 14px;
}
.blog-hero-desc {
  font-size: 0.98rem;
  color: #a4aab0;
  line-height: 1.65;
  max-width: 620px;
  margin: 0;
}
.blog-hero-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
}
.blog-hero-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 18px 52px 18px 52px;
  object-fit: contain;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
  transition: transform 0.3s ease;
}
.blog-hero-img:hover {
  transform: translateY(-3px);
}

/* Blog Filter & Search Bar */
.blog-filter-bar {
  display: grid;
  gap: 18px;
  margin: 0 0 32px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.blog-toolbar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.blog-filter-title {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.blog-category-pills {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  gap: 8px;
}
.blog-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  flex-shrink: 0;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.blog-pill:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: #fff;
}
.blog-pill.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.blog-pill:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.blog-search-box {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 1 320px;
  min-width: 0;
}
.blog-search-icon {
  position: absolute;
  left: 14px;
  color: #a4aab0;
  pointer-events: none;
  width: 18px;
  height: 18px;
}
.blog-search-input {
  width: 100%;
  min-height: 46px;
  padding: 9px 16px 9px 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--ink);
  background: #ffffff;
  outline: none;
  transition: all 0.2s ease;
}
.blog-search-input:focus {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}
@media (max-width: 767px) {
  .blog-filter-bar {
    padding: 18px;
    gap: 14px;
  }
  .blog-toolbar-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-bottom: 16px;
  }
  .blog-search-box {
    flex-basis: auto;
  }
  .blog-category-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 3px 3px 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
  }
}

/* Post Cards */
.post-art {
  position: relative;
}
.post-badge-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: rgba(12, 59, 46, 0.88);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.post-badge-featured {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 6px;
  z-index: 2;
}
.post-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #5e6f86;
  font-size: 0.76rem;
  margin-bottom: 8px;
}
.post-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.post-meta-item svg {
  width: 14px;
  height: 14px;
  color: var(--gold-dark);
}
.btn-read-article {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: 14px;
}
.post-card:hover .btn-read-article {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* Pagination */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 48px 0 20px;
}
.blog-listing-section .blog-pagination {
  margin-bottom: 0;
}
.blog-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.blog-page-btn:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--gold-dark);
}
.blog-page-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.blog-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Single Article Layout */
.article-page-layout {
  padding: 24px 0 60px;
}
.article-header-block {
  margin-bottom: 28px;
}
.article-header-block h1 {
  font-size: 2.35rem;
  line-height: 1.25;
  color: var(--navy);
  margin: 12px 0;
}
.article-header-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  font-size: 0.82rem;
  color: #5e6f86;
}
.article-header-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
  line-height: 1.25;
  white-space: nowrap;
}
.article-header-meta > span:nth-child(even) {
  display: block;
  min-height: 0;
  color: #d4af37;
  font-size: 0.92em;
  line-height: 1;
}
.article-header-meta .icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.article-hero-image-wrap {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 36px;
}
.article-hero-image-wrap img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  display: block;
}
.article-content-grid {
  display: grid;
  grid-template-columns: 240px 1fr 300px;
  gap: 36px;
  align-items: start;
}
@media (max-width: 1100px) {
  .article-content-grid {
    grid-template-columns: 1fr 300px;
  }
  .article-toc-sticky {
    display: none;
  }
}
@media (max-width: 850px) {
  .blog-hero-grid {
    grid-template-columns: 1fr;
  }
  .article-content-grid {
    grid-template-columns: 1fr;
  }
}

/* Sticky Table of Contents */
.article-toc-sticky {
  position: sticky;
  top: 90px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 18px;
}
.article-toc-sticky h4 {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.article-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.article-toc-link {
  font-size: 0.82rem;
  color: #5e6f86;
  text-decoration: none;
  line-height: 1.4;
  transition: all 0.2s ease;
  display: block;
  padding-left: 6px;
  border-left: 2px solid transparent;
}
.article-toc-link:hover,
.article-toc-link.active {
  color: var(--gold-dark);
  font-weight: 650;
  border-left-color: var(--gold);
}

/* Article Sidebar Widgets */
.article-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-widget {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.sidebar-widget-course {
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
  border-color: rgba(12, 59, 46, 0.15);
}
.sidebar-widget-course .widget-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--navy);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.sidebar-widget-course h4 {
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.35;
}
.sidebar-widget-course p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 14px;
}
.sidebar-course-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 14px;
}
.sidebar-course-price small {
  font-size: 0.74rem;
  color: var(--muted);
}
.sidebar-course-price strong {
  font-size: 1.35rem;
  color: var(--navy);
}

/* Social Share */
.share-buttons-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.2s ease;
}
.share-btn:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.share-btn .icon {
  width: 19px;
  height: 19px;
}
.share-btn[data-share="facebook"] .icon {
  transform: translateX(2.5px);
}

/* Bottom Inside-Article CTA Box */
.article-bottom-cta {
  background: linear-gradient(135deg, #0c3b2e 0%, #0c3b2e 100%);
  border-radius: 16px;
  padding: 36px 32px;
  color: #fff;
  text-align: center;
  margin: 48px 0 20px;
}
.article-bottom-cta h3 {
  font-size: 1.6rem;
  margin: 0 0 10px;
  color: #fff;
}
.article-bottom-cta p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  margin: 0 auto 20px;
}

/* Cart */
.cart-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 1.25rem;
  border-bottom: 1px solid rgba(12, 59, 46, 0.1);
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 1rem;
}
.cart-item-row > div {
  min-width: 0;
}
.cart-item-row h4 {
  margin: 0 0 0.25rem;
  color: var(--navy);
  overflow-wrap: anywhere;
}
.cart-item-row small {
  color: var(--muted);
}
.cart-item-totals {
  flex-shrink: 0;
  text-align: right;
}
.cart-item-totals strong {
  color: var(--navy);
  font-size: 1.15rem;
}
.cart-item-remove {
  background: none;
  border: none;
  color: #c00;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
  margin-top: 0.25rem;
}
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  align-items: start;
  gap: 35px;
}
.cart-items {
  display: grid;
  gap: 15px;
}
.cart-item {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 10px 30px 10px 30px;
}
.cart-item .mini-art {
  width: 92px;
  height: 80px;
  border-radius: 7px 22px 7px 22px;
}
.cart-item h3 {
  margin-bottom: 5px;
  color: var(--navy);
  font-size: 0.94rem;
}
.cart-item p {
  margin: 0;
  font-size: 0.75rem;
}
.remove-item {
  border: 0;
  color: #5e6f86;
  background: transparent;
  font-size: 0.74rem;
}
.summary-card {
  position: sticky;
  top: 20px;
  padding: 28px;
  border-radius: 10px 38px 10px 38px;
  color: #fff;
  background: var(--navy);
}
.summary-card h3 {
  color: #fff;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  margin: 13px 0;
  color: #a4aab0;
  font-size: 0.82rem;
}
.summary-row.total {
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}
.summary-card .btn {
  width: 100%;
  margin-top: 17px;
}
.summary-card .btn-white:disabled {
  opacity: 0.88;
  color: #0c3b2e;
  background: #ffffff;
  border-color: #d4af37;
  box-shadow: inset 0 0 0 1px #d4af37;
}

/* Reveal animation */
.reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes offer-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* ============ Responsive ============ */
@media (max-width: 1200px) {
  .header-row-top {
    padding-right: 0;
  }
  .header-actions {
    position: static;
  }
  .header-desktop-grid {
    grid-template-columns: 200px 1fr;
  }
  .header-row-top {
    justify-content: flex-end;
  }
  /* Menu stays centred on tablet/small desktop: full-width row under the
     logo/search, basket pinned right, phone link hidden to give the menu room. */
  .header-row-bottom {
    grid-column: 1 / -1;
    justify-content: center;
    padding: 10px 0 14px;
  }
  .header-bottom-actions {
    position: absolute;
    right: 0;
  }
  .header-phone-link,
  .header-bottom-sep {
    display: none;
  }
  .header-search {
    width: min(560px, calc(100% - 2 * max(200px, var(--mtts-hdr-actions-w, 250px))));
    min-width: 0;
  }

  .primary-nav-links {
    width: auto;
  }
  .mega-menu {
    width: min(860px, calc(100vw - 40px));
  }
}

@media (max-width: 1100px) {
  /* Long signed-in names ("Training 4 All Team") would push the account button
     into the centred search at this width; show the icon only while signed in. */
  .header-account[data-account-state="signed-in"] .header-account-label {
    display: none;
  }
  .nav-item.has-mega-menu {
    position: static;
  }
  .mega-menu {
    left: auto;
    right: 0;
    transform: translateY(8px);
    width: min(860px, calc(100vw - 40px));
  }
  .nav-item.has-mega-menu.is-open .mega-menu,
  .nav-item.has-mega-menu:focus-within .mega-menu {
    transform: translateY(0);
  }
  .offer-marquee {
    overflow: hidden;
    flex: 1 1 auto;
    min-width: 0;
  }
  .offer-marquee-track {
    animation-duration: 22s;
  }
  .primary-nav-links {
    gap: 18px;
  }
  .primary-nav-links .nav-link {
    font-size: 0.85rem;
  }
  .course-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
  .testimonial-row {
    grid-template-columns: 220px 1fr auto;
  }
  .testimonial-carousel-track .testimonial-card {
    flex: 0 0 calc(50% - 8px);
    min-width: 0;
  }
  .hero-stats-card {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .hero-stat-item {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 22px 18px;
    border-radius: 16px;
  }
  .hero-stat-divider {
    display: none;
  }
  .organisations-strip-inner {
    flex-direction: column;
    gap: 16px;
  }
  .org-logos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 24px;
    overflow: visible;
    width: 100%;
  }
  .org-logos-track {
    display: contents;
    width: auto;
    animation: none;
  }
  .org-logos-track .org-logos-set {
    display: contents;
    padding: 0;
  }
  .org-logos-track .org-logos-set:last-child {
    display: none;
  }
  .org-logo-img {
    width: 100%;
    max-width: 120px;
    margin-inline: auto;
  }
  .footer-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 24px;
  }
}

/* ============ Authentication Pages (Login, Sign Up, Reset Password) ============ */
.auth-section {
  background: #ffffff;
  min-height: calc(100vh - 350px);
  display: flex;
  align-items: center;
  padding: var(--section-space) 0;
}
.auth-container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}
.auth-container.auth-container-sm {
  max-width: 520px;
}
.auth-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px 48px 18px 48px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(12, 59, 46, 0.08);
  min-height: 660px;
}
.auth-split-grid .auth-card {
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 44px 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-visual-side {
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 44px 40px;
  color: #ffffff;
  overflow: hidden;
}
.auth-visual-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    rgba(12, 59, 46, 0.93) 0%,
    rgba(12, 59, 46, 0.88) 55%,
    rgba(12, 59, 46, 0.96) 100%
  );
  z-index: 1;
}
.auth-visual-side::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.25) 0%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}
.auth-visual-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}
.auth-visual-top {
  display: flex;
  flex-direction: column;
}
.auth-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.45);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  color: #ffffff;
  width: fit-content;
  margin-bottom: 22px;
}
.auth-badge-pill svg {
  color: #d4af37;
  width: 14px;
  height: 14px;
}
.auth-visual-heading {
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  font-weight: 800;
  line-height: 1.22;
  color: #ffffff;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.auth-visual-heading span {
  color: #d4af37;
}
.auth-visual-sub {
  font-size: 0.92rem;
  color: #a4aab0;
  line-height: 1.6;
  margin: 0;
}
.auth-feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0;
}
.auth-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.auth-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px 14px 8px 14px;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #d4af37;
  flex-shrink: 0;
  margin-top: 2px;
}
.auth-feature-icon svg {
  width: 15px;
  height: 15px;
}
.auth-feature-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 750;
  color: #ffffff;
  margin-bottom: 2px;
}
.auth-feature-text p {
  font-size: 0.8rem;
  color: #a4aab0;
  margin: 0;
  line-height: 1.4;
}
.auth-visual-footer {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.auth-trust-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  padding: 12px 18px;
  border-radius: 12px 24px 12px 24px;
  gap: 14px;
}
.auth-trust-stars {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.auth-stars-row {
  color: #d4af37;
  font-size: 0.95rem;
  letter-spacing: 2px;
  line-height: 1;
}
.auth-trust-caption {
  font-size: 0.74rem;
  color: #a4aab0;
  font-weight: 600;
}
.auth-stats-col {
  text-align: right;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding-left: 14px;
}
.auth-stats-num {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: #d4af37;
  line-height: 1.1;
}
.auth-stats-label {
  font-size: 0.68rem;
  color: #a4aab0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Testimonial Quote in Left Column */
.auth-testimonial-snippet {
  margin-top: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  border-radius: 12px 24px 12px 24px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.testimonial-quote {
  font-size: 0.83rem;
  font-style: italic;
  color: #ffffff;
  line-height: 1.5;
  margin: 0;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.testimonial-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #d4af37;
  color: #0c3b2e;
  font-weight: 800;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-info strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 750;
  color: #ffffff;
  line-height: 1.2;
}
.testimonial-info small {
  display: block;
  font-size: 0.7rem;
  color: #a4aab0;
  line-height: 1.2;
}

/* Security Box in Left Column */
.auth-security-badge-box {
  margin-top: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  border-radius: 12px 24px 12px 24px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.sec-box-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #d4af37;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sec-box-icon svg {
  width: 18px;
  height: 18px;
}
.sec-box-text strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 750;
  color: #ffffff;
  margin-bottom: 3px;
}
.sec-box-text p {
  font-size: 0.76rem;
  color: #a4aab0;
  margin: 0;
  line-height: 1.45;
}

/* Accreditation Pills */
.auth-accreditation-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.acc-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #a4aab0;
}
.acc-pill svg {
  width: 12px;
  height: 12px;
  color: #d4af37;
}

.auth-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px 45px 14px 45px;
  padding: 42px 46px;
  box-shadow: 0 16px 40px rgba(12, 59, 46, 0.08);
}
.auth-card-sm {
  max-width: 480px;
  margin: 0 auto;
}
.auth-header {
  text-align: center;
  margin-bottom: 28px;
}
.auth-header h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.3rem);
  color: var(--navy);
  margin: 6px 0 10px;
  line-height: 1.2;
}
.auth-header p {
  color: #5e6f86;
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}
.auth-tabs {
  display: flex;
  gap: 8px;
  background: #ffffff;
  padding: 6px;
  border-radius: 14px 28px 14px 28px;
  margin-bottom: 26px;
  border: 1px solid #a4aab0;
}
.auth-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border: none;
  background: transparent;
  color: #0c3b2e;
  font-size: 0.86rem;
  font-weight: 750;
  border-radius: 10px 22px 10px 22px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.auth-tab:hover {
  color: #0c3b2e;
  background: rgba(255, 255, 255, 0.6);
}
.auth-tab.active {
  background: #0c3b2e;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(12, 59, 46, 0.25);
}
.auth-tab svg {
  width: 16px;
  height: 16px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.form-group label {
  font-size: 0.88rem;
  font-weight: 750;
  color: #0c3b2e;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.label-with-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}
.label-with-link label {
  margin-bottom: 0;
}
.forgot-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0c3b2e;
  text-decoration: none;
  transition: all 0.2s ease;
}
.forgot-link:hover {
  color: #d4af37;
  text-decoration: underline;
}

/* Modern Input Wrap & Decorative Icons */
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.input-icon {
  position: absolute;
  left: 16px;
  width: 20px;
  height: 20px;
  color: #5e6f86;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  z-index: 2;
}
.input-icon svg {
  width: 18px;
  height: 18px;
}
.input-wrap:focus-within .input-icon {
  color: #0c3b2e;
}

/* State-of-the-Art Inputs & Select Fields */
.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="tel"],
.auth-form select {
  width: 100%;
  height: 52px;
  padding: 0 16px 0 46px;
  font-size: 0.94rem;
  font-family: inherit;
  font-weight: 550;
  color: #0c3b2e;
  background: #ffffff;
  border: 1.5px solid #a4aab0;
  border-radius: 12px 22px 12px 22px;
  box-shadow: 0 2px 5px rgba(12, 59, 46, 0.03);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.auth-form input:not(.input-wrap input) {
  padding-left: 16px;
}

.auth-form input::placeholder {
  color: #a4aab0;
  font-weight: 450;
}

.auth-form input:hover,
.auth-form select:hover {
  border-color: #a4aab0;
  background: #ffffff;
}

.auth-form input:focus,
.auth-form select:focus {
  outline: none;
  border-color: #0c3b2e;
  background: #ffffff;
  box-shadow:
    0 0 0 4px rgba(12, 59, 46, 0.12),
    0 4px 12px rgba(12, 59, 46, 0.06);
}

/* Custom Select Chevron */
.auth-form select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23043927' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 42px;
}

/* Custom Interactive Select Dropdown */
.custom-select-wrap {
  position: relative;
  width: 100%;
}
.custom-select-trigger {
  width: 100%;
  height: 52px;
  padding: 0 16px 0 46px;
  font-size: 0.94rem;
  font-family: inherit;
  font-weight: 550;
  color: #0c3b2e;
  background: #ffffff;
  border: 1.5px solid #a4aab0;
  border-radius: 12px 22px 12px 22px;
  box-shadow: 0 2px 5px rgba(12, 59, 46, 0.03);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
}
.custom-select-trigger:hover {
  border-color: #a4aab0;
  background: #ffffff;
}
.custom-select-wrap.open .custom-select-trigger,
.custom-select-trigger:focus {
  outline: none;
  border-color: #0c3b2e;
  background: #ffffff;
  box-shadow:
    0 0 0 4px rgba(12, 59, 46, 0.12),
    0 4px 12px rgba(12, 59, 46, 0.06);
}
.custom-select-label {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #a4aab0;
  line-height: 1.35;
  padding-bottom: 2px;
}
.custom-select-wrap.has-value .custom-select-label {
  color: #0c3b2e;
  font-weight: 650;
}
.custom-select-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: #0c3b2e;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: 8px;
  flex-shrink: 0;
}
.custom-select-arrow svg {
  width: 16px;
  height: 16px;
}
.custom-select-wrap.open .custom-select-arrow {
  transform: rotate(180deg);
}

/* Custom Select Dropdown Menu */
.custom-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1.5px solid #d4af37;
  border-radius: 14px 26px 14px 26px;
  box-shadow:
    0 16px 40px rgba(12, 59, 46, 0.18),
    0 2px 6px rgba(0, 0, 0, 0.06);
  padding: 6px;
  max-height: 290px;
  overflow-y: auto;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 3px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.custom-select-wrap.open .custom-select-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.custom-select-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px 18px 10px 18px;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}
.custom-select-item:hover,
.custom-select-item.highlighted {
  background: #ffffff;
  transform: translateX(4px);
}
.custom-select-item:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: -2px;
  background: #ffffff;
}
.custom-select-item.selected {
  background: #ffffff;
  border: 1px solid #a4aab0;
}
.custom-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px 12px 8px 12px;
  background: #ffffff;
  color: #0c3b2e;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.custom-select-item:hover .custom-item-icon,
.custom-select-item.selected .custom-item-icon {
  background: #0c3b2e;
  color: #ffffff;
}
.custom-item-icon svg {
  width: 16px;
  height: 16px;
}
.custom-item-details {
  flex: 1;
  min-width: 0;
}
.custom-item-details strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 750;
  color: #0c3b2e;
  line-height: 1.25;
}
.custom-item-details small {
  display: block;
  font-size: 0.73rem;
  color: #5e6f86;
  margin-top: 1px;
  line-height: 1.3;
}
.custom-item-check {
  display: none;
  color: #0c3b2e;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.custom-item-check svg {
  width: 18px;
  height: 18px;
}
.custom-select-item.selected .custom-item-check {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Password Visibility Toggle */
.btn-toggle-password {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: #5e6f86;
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 2;
}
.btn-toggle-password:hover {
  color: #0c3b2e;
  background: rgba(12, 59, 46, 0.06);
}
.btn-toggle-password svg {
  width: 18px;
  height: 18px;
}

/* Form Check / Keep me signed in */
.form-check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: #0c3b2e;
  cursor: pointer;
  padding: 4px 0;
  user-select: none;
}
.form-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #0c3b2e;
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 6px;
}
.form-check label {
  cursor: pointer;
  line-height: 1.4;
  margin: 0;
}
.form-check a {
  color: #0c3b2e;
  font-weight: 750;
  text-decoration: underline;
}

/* Stunning Premium Button */
.btn-auth-submit {
  width: 100%;
  height: 54px;
  padding: 0 28px;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #0c3b2e 0%, #0c3b2e 60%, #0c3b2e 100%);
  color: #ffffff;
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  border-radius: 12px 28px 12px 28px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 8px 24px rgba(12, 59, 46, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}
.btn-auth-submit::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 55, 0.25),
    transparent
  );
  transform: skewX(-20deg);
  transition: all 0.6s ease;
}
.btn-auth-submit:hover::after {
  left: 140%;
}
.btn-auth-submit:hover {
  background: linear-gradient(135deg, #0c3b2e 0%, #0c3b2e 100%);
  border-color: #d4af37;
  transform: translateY(-2px);
  box-shadow:
    0 12px 30px rgba(12, 59, 46, 0.35),
    0 0 20px rgba(212, 175, 55, 0.25);
}
.btn-auth-submit:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(12, 59, 46, 0.2);
}
.btn-auth-submit svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}
.btn-auth-submit:hover svg {
  transform: translateX(4px);
}

/* Demo Credentials Hint */
.auth-demo-hint {
  margin-top: 24px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
  border: 1px dashed #a4aab0;
  border-radius: 12px 24px 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.auth-demo-hint small {
  font-weight: 750;
  color: #0c3b2e;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-demo-fill {
  background: #ffffff;
  border: 1.5px solid #d4af37;
  color: #0c3b2e;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(212, 175, 55, 0.18);
}
.btn-demo-fill:hover {
  background: #d4af37;
  color: #0c3b2e;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}
.auth-footer {
  margin-top: 26px;
  text-align: center;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.auth-footer p {
  color: #5e6f86;
  font-size: 0.88rem;
  margin: 0 0 12px;
}
.auth-footer a {
  color: #0c3b2e;
  text-decoration: underline;
}
.auth-security-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  color: #5e6f86;
  font-weight: 600;
}
.auth-security-note svg {
  width: 13px;
  height: 13px;
  color: #0c3b2e;
}

@media (max-width: 980px) {
  .auth-split-grid {
    grid-template-columns: 1fr;
    border-radius: 14px 36px 14px 36px;
    min-height: auto;
  }
  .auth-visual-side {
    padding: 34px 28px;
  }
  .auth-feature-list {
    margin: 18px 0;
    gap: 12px;
  }
  .auth-split-grid .auth-card {
    padding: 36px 28px;
  }
}

@media (max-width: 680px) {
  .auth-visual-side {
    display: none;
  }
  .auth-split-grid .auth-card {
    padding: 30px 20px;
  }
  .auth-card {
    padding: 30px 20px;
    border-radius: 12px 28px 12px 28px;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .auth-tabs {
    flex-direction: column;
    border-radius: 16px;
    padding: 6px;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 32px, var(--max));
  }
  .header-main-bar {
    display: none;
  }
  .mobile-header {
    display: flex;
  }
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    overflow: hidden;
  }
  .top-offer-bar {
    padding: 6px 0;
    font-size: 0.78rem;
  }
  .offer-bar-inner {
    justify-content: center;
    gap: 10px;
    padding-left: 0;
  }
  .btn-get-offer {
    font-size: 0.72rem;
    padding: 4px 12px;
    width: 180px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-image-box {
    height: 300px;
  }
  .hero-stats-card {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .hero-stat-icon {
    width: 38px;
    height: 38px;
  }
  .hero-stat-icon svg {
    width: 18px;
    height: 18px;
  }
  .hero-stat-item strong {
    font-size: 1.1rem;
  }
  .hero-stat-item small {
    font-size: 0.72rem;
  }
  .hero-stat-divider {
    display: none;
  }
  .hero-stat-item {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 18px 14px;
    border-radius: 16px;
  }
  .home-why-layout,
  .split {
    grid-template-columns: 1fr;
  }
  .visual-stack {
    min-height: 470px;
  }
  .category-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-banner-card {
    grid-template-columns: 1fr;
    padding: 30px;
  }
  .cta-banner-visual {
    height: 200px;
  }
  .testimonial-row {
    grid-template-columns: 1fr;
  }
  .testimonial-nav-col {
    flex-direction: row;
    justify-content: flex-end;
  }
  .testimonial-carousel-track .testimonial-card {
    flex-basis: calc(50% - 8px);
  }
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .booking-card {
    position: static;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .detail-nav {
    display: flex;
    position: static;
    overflow-x: auto;
  }
  .detail-nav a {
    flex: 0 0 auto;
    border: 0;
  }
  .filter-shell {
    grid-template-columns: 1fr;
  }
  .filter-panel {
    position: static;
  }
  .filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 18px;
  }
  .filter-option {
    width: auto;
  }
  .number-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .summary-card {
    position: static;
  }
  .prefooter-inner {
    justify-content: center;
    text-align: center;
  }
  .prefooter-actions {
    justify-content: center;
  }
  .prefooter-call {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .prefooter-bar {
    padding: 32px 0 28px;
  }
  .prefooter-inner {
    width: min(100% - 24px, var(--max));
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }
  .prefooter-actions {
    width: 100%;
    flex-direction: column;
    margin-top: 10px;
    gap: 18px;
  }
  .prefooter-divider {
    display: none;
  }
  .prefooter-text h2 {
    margin-bottom: 4px;
    font-size: 1.45rem;
  }
  .prefooter-text p {
    max-width: 360px;
    margin-inline: auto;
    font-size: 0.92rem;
  }
  .prefooter-call {
    gap: 8px;
    justify-content: center;
  }
  .prefooter-call-block {
    align-items: center;
    text-align: center;
  }
  .prefooter-call-label {
    display: block;
    text-align: center;
    width: 100%;
  }
  .prefooter-call-icon {
    width: 20px;
    height: 20px;
  }
  .prefooter-call-number {
    font-size: 1.45rem;
  }
  .prefooter-btn {
    width: auto;
    min-width: 190px;
    min-height: 44px;
    max-width: none;
    padding: 10px 24px;
  }
  .brand .brand-logo-tablet {
    height: 60px;
  }
  .container {
    width: min(100% - 24px, var(--max));
  }
  .hero-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }
  .btn-get-offer {
    width: 180px;
  }
  .offer-marquee-track {
    animation-duration: 20s;
  }
  .feature-list {
    grid-template-columns: 1fr;
  }
  .visual-stack {
    min-height: 400px;
  }
  .visual-photo {
    inset: 0 6% 0 0;
  }
  .visual-block {
    width: 50%;
  }
  .hero-stats-card {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .hero-stat-item {
    justify-content: center;
    text-align: center;
    padding: 16px 12px;
    border-radius: 14px;
  }
  .payment-methods {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }
  .container {
    width: min(100% - 28px, var(--max));
  }
  .brand .brand-logo-mobile {
    height: 56px;
  }
  .mobile-header {
    min-height: 68px;
  }
  .mobile-panel {
    inset: 68px 0 0;
    top: var(--mtts-panel-top, 68px);
  }
  .hero-card {
    border-radius: 18px;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-image-box {
    height: 220px;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
  .hero-stats-card {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .hero-stat-item {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 6px;
    padding: 16px 10px;
    border-radius: 14px;
  }
  .hero-stat-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
  .hero-stat-icon svg {
    width: 16px;
    height: 16px;
  }
  .hero-stat-item strong {
    font-size: 0.95rem;
  }
  .hero-stat-item small {
    font-size: 0.65rem;
  }
  .section-head,
  .page-hero .hero-inline {
    display: block;
  }
  .section-head .btn,
  .page-hero .hero-inline .btn {
    margin-top: 20px;
  }
  .course-grid,
  .category-cards-grid,
  .blog-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }
  .course-art {
    height: 200px;
  }
  .visual-stack {
    min-height: 410px;
  }
  .visual-photo {
    right: 8%;
  }
  .visual-block {
    width: 60%;
  }
  .cta-banner-card {
    padding: 24px 20px;
    border-radius: 18px;
  }
  .cta-banner-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-banner-actions .btn-hero-primary,
  .cta-banner-actions .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }
  .testimonial-carousel-track .testimonial-card {
    flex-basis: 88%;
    min-width: 0;
  }
  .organisations-strip-inner {
    justify-content: center;
    text-align: center;
  }
  .org-logos {
    justify-content: center;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  .footer-registration-info {
    text-align: center;
  }
  .footer-bottom-right {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-left: 0;
    padding-right: 0;
  }
  .footer-legal {
    justify-content: center;
  }
  .footer-legal-list {
    justify-content: center;
  }
  .footer-bottom-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    border-left: none;
    padding-left: 0;
  }
  .payment-methods {
    flex-wrap: wrap;
    justify-content: center;
  }
  .page-hero h1 {
    font-size: 2.55rem;
  }
  .info-grid,
  .form-grid,
  .steps,
  .number-grid {
    grid-template-columns: 1fr;
  }
  .info-item {
    border-right: 0;
  }
  .detail-art {
    height: 220px;
  }
  .filter-options {
    display: grid;
  }
  .results-top {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
  .about-image {
    height: 380px;
  }
  .article .post-art {
    height: 260px;
  }
  .cart-item {
    grid-template-columns: 70px 1fr;
  }
  .cart-item .mini-art {
    width: 70px;
    height: 70px;
  }
  .cart-item > strong,
  .cart-item .remove-item {
    grid-column: 2;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }
  .top-offer-bar {
    padding: 4px 0;
    font-size: 0.68rem;
  }
  .offer-badge {
    font-size: 0.6rem;
    padding: 2px 8px;
  }
  .btn-get-offer {
    font-size: 0.65rem;
    padding: 3px 10px;
    width: 225px;
  }
  .hero-badge {
    font-size: 0.65rem;
    padding: 3px 10px;
  }
  .hero-chip {
    font-size: 0.7rem;
    padding: 4px 10px;
  }
  .hero-image-box {
    height: 180px;
  }
  .hero-stats-card {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .hero-stat-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }
  .hero-stat-icon svg {
    width: 14px;
    height: 14px;
  }
  .hero-stat-item {
    flex-direction: column;
    gap: 4px;
    padding: 14px 8px;
    border-radius: 12px;
  }
  .hero-stat-item strong {
    font-size: 0.85rem;
  }
  .hero-stat-item small {
    font-size: 0.6rem;
  }
  .section-head,
  .page-hero .hero-inline {
    text-align: center;
  }
  .section-head .btn,
  .page-hero .hero-inline .btn {
    margin-top: 16px;
    width: 100%;
  }
}

@media (min-width: 769px) {
  .primary-nav-links {
    position: relative;
  }
  .nav-item.has-mega-menu {
    position: static;
  }
  .mega-menu {
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(8px);
  }
  .nav-item.has-mega-menu.is-open .mega-menu,
  .nav-item.has-mega-menu:focus-within .mega-menu {
    transform: translateX(-50%) translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   NEW PAGES STYLES: VERIFY, STATUS, REGISTRATION, DASHBOARD, PROVIDER, ADMIN
   ========================================================================== */

/* 1. Certificate Verification Page (/verify) */
.verify-hero {
  background: linear-gradient(120deg, var(--navy), #0c3b2e);
  color: #ffffff;
}
.verify-hero-content {
  max-width: 760px;
  margin: 0;
}
.verify-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #ffffff;
}
.verify-hero .lead {
  color: #a4aab0;
  font-size: 1.05rem;
  line-height: 1.6;
}

.verify-section {
  background: var(--mist);
}
.verify-container {
  max-width: none;
}
.verify-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}
.verify-search-form {
  margin-bottom: 24px;
}
.verify-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 750;
  color: var(--navy);
  margin-bottom: 10px;
}
.verify-input-group {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.verify-input-group .input-wrap {
  flex: 1;
  min-width: 0;
  position: relative;
}
.verify-input-group input {
  width: 100%;
  padding: 13px 16px 13px 42px;
  border: 2px solid var(--line);
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  background: #ffffff;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.verify-input-group input::placeholder {
  color: #94a3b8;
  font-weight: 400;
  font-size: 0.92rem;
  text-overflow: ellipsis;
}
.verify-input-group input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(12, 59, 46, 0.1);
  outline: none;
}
.btn-verify {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  white-space: nowrap;
  font-weight: 750;
}
.verify-samples {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.8rem;
  color: var(--muted);
}
.btn-chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #a4aab0;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 650;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.15s;
}
.btn-chip:hover {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
  transform: translateY(-1px);
}
.verify-hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

/* Certificate Result Box */
.cert-print-header,
.cert-print-footer {
  display: none;
}
.btn-cert-action > svg {
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
  display: inline-block;
  vertical-align: middle;
}
.cert-result-card.cert-result-error {
  border-color: #ef4444;
}
.cert-result-error .cert-result-header {
  border-color: rgba(239, 68, 68, 0.2);
}
.cert-result-error .cert-status-badge {
  background: #dc2626;
}
.cert-result-error .cert-status-badge .badge-icon {
  color: var(--white);
}
.cert-error-message {
  padding: 10px 0;
}
.cert-error-message h3 {
  color: #991b1b;
  margin-bottom: 8px;
}
.cert-error-message p {
  color: #6b7280;
  font-size: 0.92rem;
  line-height: 1.6;
}
.cert-error-message a {
  color: var(--navy);
  font-weight: 600;
}
.cert-loading-message {
  padding: 24px;
  text-align: center;
  color: var(--muted);
}
.verify-result-box {
  margin-top: 32px;
  animation: slideDown 0.35s ease;
}
.verify-result-box svg,
#verify-result svg {
  max-width: 24px !important;
  max-height: 24px !important;
  flex-shrink: 0;
}
.badge-icon svg,
.unit-check svg {
  width: 15px !important;
  height: 15px !important;
  max-width: 15px !important;
  max-height: 15px !important;
  display: inline-block !important;
  vertical-align: middle !important;
}
.verify-valid-icon,
.verify-invalid-icon {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  display: inline-block !important;
}
.cert-result-card {
  border: 2px solid #d4af37;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
  padding: clamp(20px, 3.5vw, 36px);
  box-shadow: 0 14px 38px rgba(12, 59, 46, 0.1);
  position: relative;
  overflow: hidden;
}
.cert-result-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #0c3b2e, #d4af37, #0c3b2e);
}
.cert-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.cert-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0c3b2e;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.cert-status-badge .badge-icon {
  display: inline-flex;
  color: #d4af37;
}
.cert-status-badge .badge-icon svg {
  width: 14px;
  height: 14px;
}
.cert-awarding-pill {
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--navy);
  background: #ffffff;
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid #a4aab0;
}
.cert-title-section {
  margin-bottom: 24px;
}
.cert-sub {
  display: block;
  font-size: 0.8rem;
  font-weight: 750;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.cert-name {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  color: var(--navy);
  line-height: 1.3;
  margin: 0;
}
.cert-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.cert-detail-item small {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 4px;
}
.cert-detail-item strong {
  font-size: 0.95rem;
  color: var(--ink);
}
.text-gold {
  color: #d4af37 !important;
}
.text-green {
  color: #0c3b2e !important;
}
.bg-green {
  background: #0c3b2e !important;
}
.cert-units-section {
  margin-bottom: 28px;
}
.cert-units-section h4 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 750;
}
.cert-units-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.cert-units-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: #0c3b2e;
  line-height: 1.4;
}
.cert-units-list .unit-check {
  color: #0c3b2e;
  font-weight: 800;
  display: flex;
  align-items: center;
}
.cert-units-list .unit-check svg {
  width: 15px;
  height: 15px;
}
.cert-actions-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 20px;
  margin-top: 10px;
  border-top: 1px solid var(--line);
}
.btn-cert-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 750;
  border-radius: var(--radius-pill, 999px);
  white-space: nowrap;
  line-height: 1.35;
}
.btn-cert-action .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
}
@media (max-width: 640px) {
  .cert-actions-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .btn-cert-action {
    width: 100%;
    min-height: 48px;
    padding: 12px 18px;
    font-size: 0.92rem;
  }
}

/* External Callout */
.verify-external-callout {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #a4aab0;
  flex-wrap: wrap;
}
.ext-badge-box .ext-partner-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.ext-text-box {
  flex: 1;
  min-width: 0;
}
.ext-text-box h4 {
  font-size: 0.95rem;
  color: var(--navy);
  margin: 0 0 4px;
}
.ext-text-box p {
  font-size: 0.82rem;
  color: #5e6f86;
  margin: 0;
  line-height: 1.4;
}

/* 2. System Status Page (/status) */
.status-hero {
  background: linear-gradient(180deg, #0c3b2e 0%, #0c3b2e 100%);
  color: #ffffff;
}
.status-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(12, 59, 46, 0.16);
  border: 1px solid rgba(12, 59, 46, 0.4);
  color: #0c3b2e;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.status-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0c3b2e;
  box-shadow: 0 0 0 3px rgba(12, 59, 46, 0.4);
  animation: pulseDot 1.8s infinite;
}
@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(12, 59, 46, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(12, 59, 46, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(12, 59, 46, 0);
  }
}
.status-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #ffffff;
}
.status-hero .lead {
  color: #a4aab0;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 780px;
}
.status-section {
  background: var(--mist);
}
.status-container {
  max-width: none;
}
.status-banner-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-left: 6px solid #0c3b2e;
  border-radius: 16px;
  padding: 24px 30px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.status-banner-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 260px;
}
.status-banner-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ffffff;
  color: #0c3b2e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.status-banner-icon-box svg {
  width: 24px;
  height: 24px;
}
.status-banner-left h2 {
  font-size: 1.25rem;
  color: var(--navy);
  margin: 0 0 4px;
}
.status-banner-left p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}
.status-banner-metric {
  text-align: right;
}
.status-banner-metric strong {
  display: block;
  font-size: 1.6rem;
  color: #0c3b2e;
  line-height: 1.1;
}
.status-banner-metric small {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
}
.services-status-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px clamp(18px, 3.5vw, 32px);
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}
.services-status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.services-status-header h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0 0 4px;
}
.services-status-header p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}
.status-last-check {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0c3b2e;
  background: #ffffff;
  padding: 4px 10px;
  border-radius: 999px;
}
.services-list {
  display: grid;
  gap: 20px;
}
.service-status-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 20px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid #ffffff;
}
.service-status-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.service-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}
.service-title-row strong {
  font-size: 0.95rem;
  color: var(--navy);
}
.badge-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 750;
  color: #0c3b2e;
  background: #ffffff;
  padding: 2px 8px;
  border-radius: 999px;
}
.pip-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0c3b2e;
}
.service-meta small {
  font-size: 0.78rem;
  color: var(--muted);
}
.service-uptime-visual {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.timeline-bar-track {
  display: flex;
  gap: 2px;
  height: 18px;
  align-items: stretch;
}
.status-bar-day {
  flex: 1;
  background: #0c3b2e;
  border-radius: 2px;
  transition:
    opacity 0.15s,
    transform 0.15s;
}
.status-bar-day:hover {
  opacity: 0.8;
  transform: scaleY(1.2);
}
.service-stats-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--muted);
}
.incidents-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px clamp(18px, 3.5vw, 32px);
  box-shadow: var(--shadow-sm);
}
.incidents-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0 0 20px;
}
.incident-timeline {
  display: grid;
  gap: 18px;
}
.incident-item {
  border-left: 2px solid var(--line);
  padding-left: 18px;
  position: relative;
}
.incident-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy);
}
.incident-date {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 4px;
}
.incident-content h4 {
  font-size: 0.95rem;
  color: var(--navy);
  margin: 0 0 6px;
}
.incident-content p {
  font-size: 0.84rem;
  color: #5e6f86;
  margin: 0 0 8px;
  line-height: 1.5;
}
.badge-resolved {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 750;
  color: #0c3b2e;
  background: #ffffff;
  padding: 3px 9px;
  border-radius: 999px;
}
.status-footer-note {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}
.status-footer-note a {
  color: var(--navy);
  font-weight: 750;
  text-decoration: underline;
}
.status-link-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.status-pip {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: 0 0 7px;
  background: #40d17b;
  box-shadow:
    0 0 0 2px #ffffff,
    0 0 0 4px rgba(64, 209, 123, 0.26);
  animation: status-pip-pulse 1.8s ease-in-out infinite;
}
@keyframes status-pip-pulse {
  50% {
    box-shadow:
      0 0 0 2px #ffffff,
      0 0 0 6px rgba(64, 209, 123, 0.05);
  }
}

/* 3. Learner Registration Page (/learner-registration-form) */
.reg-hero {
  background: linear-gradient(180deg, #0c3b2e 0%, #0c3b2e 100%);
  color: #ffffff;
}
.reg-hero-content {
  max-width: 820px;
  margin: 0 auto;
}
.reg-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #ffffff;
}
.reg-hero .lead {
  color: #a4aab0;
  font-size: 1.05rem;
  line-height: 1.6;
}
.reg-section {
  background: var(--mist);
}
.reg-container {
  max-width: 1120px;
}
.reg-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(20px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}
.reg-steps-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 32px;
  max-width: 100%;
}
.reg-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #5e6f86;
  font-size: 0.78rem;
  font-weight: 700;
  min-width: 0;
  white-space: normal;
}
.reg-step.active {
  background: #0c3b2e;
  color: #ffffff;
}

.demo-form-notice {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-left: 4px solid var(--blue);
  background: #ffffff;
  color: #5e6f86;
  font-size: 0.86rem;
  line-height: 1.5;
}
.contact-unavailable,
.social-unavailable {
  color: #a4aab0;
  font-size: 0.82rem;
  line-height: 1.45;
}
.header-phone-link.contact-unavailable {
  color: #a4aab0;
}
.mobile-phone-link.contact-unavailable {
  color: #a4aab0 !important;
}
.reg-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #a4aab0;
  color: #0c3b2e;
  font-size: 0.7rem;
}
.reg-step.active span {
  background: #d4af37;
  color: #0c3b2e;
  font-weight: 800;
}
.form-fieldset {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px clamp(16px, 3vw, 26px);
  margin-bottom: 24px;
  background: #ffffff;
}
.fieldset-legend {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
  padding: 0 10px;
}
.form-grid-3 {
  display: grid;
  grid-template-columns: 100px 1fr 1fr;
  gap: 16px;
}
.learner-reg-form .reg-identity-grid {
  grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr);
}
.learner-reg-form .reg-emergency-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.learner-reg-form {
  display: grid;
  gap: 24px;
}
.learner-reg-form .form-fieldset {
  margin: 0;
  padding: 26px clamp(20px, 3vw, 32px) 30px;
  background: #ffffff;
}
.learner-reg-form .form-group {
  gap: 9px;
}
.learner-reg-form input:not([type="checkbox"]):not([type="radio"]),
.learner-reg-form select,
.learner-reg-form textarea {
  width: 100%;
  border: 1.5px solid #a4aab0;
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.35;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}
.learner-reg-form input:not([type="checkbox"]):not([type="radio"]),
.learner-reg-form select {
  min-height: 52px;
  padding: 0 16px;
}
.learner-reg-form textarea {
  min-height: 112px;
  padding: 14px 16px;
  resize: vertical;
}
.learner-reg-form .input-icon + input {
  padding-left: 48px;
}
.learner-reg-form .select-wrap {
  position: relative;
}
.learner-reg-form .select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23043927' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.learner-reg-form input:not([type="checkbox"]):not([type="radio"])::placeholder,
.learner-reg-form textarea::placeholder {
  color: #a4aab0;
}
.learner-reg-form input:not([type="checkbox"]):not([type="radio"]):hover,
.learner-reg-form select:hover,
.learner-reg-form textarea:hover {
  border-color: #a4aab0;
}
.learner-reg-form input:not([type="checkbox"]):not([type="radio"]):focus,
.learner-reg-form select:focus,
.learner-reg-form textarea:focus {
  outline: 0;
  border-color: var(--navy);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(12, 59, 46, 0.12);
}
.learner-reg-form .form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.learner-reg-form .form-check input[type="checkbox"] {
  width: 20px !important;
  height: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  margin: 2px 0 0 0 !important;
  padding: 0 !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  border: 1.5px solid #a4aab0 !important;
  outline: none !important;
}
.learner-reg-form .form-check input[type="checkbox"]:focus {
  outline: 2px solid rgba(12, 59, 46, 0.25) !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
  border-color: #0c3b2e !important;
}
.text-required {
  color: #5e6f86;
}
.btn-submit-reg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
  font-weight: 800;
  margin-top: 16px;
}

/* Registration Receipt Box */
.reg-receipt-card {
  text-align: center;
  padding: 20px clamp(10px, 3vw, 20px);
}
.receipt-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ffffff;
  color: #0c3b2e;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.receipt-icon-box svg {
  width: 32px;
  height: 32px;
}
.reg-receipt-card h2 {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.receipt-details-box {
  max-width: 540px;
  margin: 24px auto;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 24px;
  display: grid;
  gap: 12px;
  text-align: left;
}
.receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.88rem;
  border-bottom: 1px solid #ffffff;
  padding-bottom: 8px;
}
.receipt-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.receipt-row span {
  color: var(--muted);
}
.receipt-row strong {
  color: var(--navy);
}
.receipt-instruction {
  font-size: 0.88rem;
  color: #5e6f86;
  max-width: 600px;
  margin: 0 auto 24px;
  line-height: 1.5;
}
.receipt-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* 4. Student Dashboard Page (/dashboard) */
.dashboard-hero {
  background: linear-gradient(180deg, #0c3b2e 0%, #0c3b2e 100%);
  color: #ffffff;
}
.dashboard-user-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.user-avatar-badge {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: #d4af37;
  color: #0c3b2e;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}
.user-welcome-info {
  flex: 1;
  min-width: 240px;
}
.user-welcome-info h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #ffffff;
  margin: 4px 0 6px;
}
.user-welcome-info p {
  color: #a4aab0;
  font-size: 0.88rem;
  margin: 0;
}
.dashboard-head-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.dashboard-head-actions .btn {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}
.dashboard-head-actions .btn:hover {
  background: #ffffff;
  color: var(--navy);
}
@media (max-width: 620px) {
  .dashboard-head-actions {
    width: 100%;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .dashboard-head-actions .btn {
    min-width: 0;
    flex: 1 1 0;
    justify-content: center;
    padding-inline: 10px;
    font-size: 0.78rem;
    white-space: nowrap;
  }
}

.dashboard-section {
  background: var(--mist);
}
.dashboard-container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}
.dash-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 34px;
}
.dash-metric-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 16px rgba(12, 59, 46, 0.05);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}
.dash-metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(12, 59, 46, 0.1);
}
.metric-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(12, 59, 46, 0.06);
  border: 1px solid rgba(12, 59, 46, 0.1);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.metric-icon-wrap svg {
  width: 22px;
  height: 22px;
  stroke: var(--navy);
}
.dash-metric-card strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 3px;
}
.dash-metric-card small {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-transform: uppercase;
}
.dash-main-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}
.dash-block {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px clamp(16px, 3vw, 30px);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.dash-block-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.dash-block-head h2 {
  font-size: 1.25rem;
  color: var(--navy);
  margin: 0;
}
.dash-badge {
  font-size: 0.72rem;
  font-weight: 750;
  color: var(--navy);
  background: #ffffff;
  padding: 4px 10px;
  border-radius: 999px;
}
.enrolled-course-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 18px;
  background: #ffffff;
}
.enrolled-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}
.enrolled-cat-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 750;
  text-transform: uppercase;
  color: #d4af37;
  margin-bottom: 4px;
}
.enrolled-top h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0 0 4px;
}
.enrolled-top p {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}
.enrolled-progress-stat {
  text-align: right;
  flex-shrink: 0;
}
.enrolled-progress-stat strong {
  display: block;
  font-size: 1.25rem;
  color: var(--navy);
  line-height: 1.1;
}
.enrolled-progress-stat small {
  font-size: 0.68rem;
  color: var(--muted);
}
.progress-bar-track {
  width: 100%;
  height: 8px;
  background: #ffffff;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 16px;
}
.units-checklist {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}
.unit-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #0c3b2e;
}
.unit-check-item.passed {
  color: #0c3b2e;
  font-weight: 650;
}
.unit-check-item.current {
  color: var(--navy);
  font-weight: 750;
}
.unit-check-item.upcoming {
  color: #5e6f86;
}
.unit-check-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.enrolled-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.live-session-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  flex-wrap: wrap;
}
.live-session-date {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #0c3b2e;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.live-session-date strong {
  font-size: 0.85rem;
  line-height: 1.1;
}
.live-session-date span {
  font-size: 0.72rem;
  color: #d4af37;
}
.live-session-info {
  flex: 1;
  min-width: 220px;
}
.live-session-info h4 {
  font-size: 0.95rem;
  color: var(--navy);
  margin: 0 0 4px;
}
.live-session-info p {
  font-size: 0.8rem;
  color: #5e6f86;
  margin: 0;
  line-height: 1.4;
}
.dash-sidebar-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.dash-sidebar-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0 0 14px;
}
.feedback-bubble {
  background: #ffffff;
  border-left: 3px solid #d4af37;
  padding: 12px 14px;
  border-radius: 0 10px 10px 0;
}
.feedback-author strong {
  display: block;
  font-size: 0.85rem;
  color: var(--navy);
}
.feedback-author small {
  font-size: 0.72rem;
  color: var(--muted);
}
.feedback-bubble p {
  font-size: 0.82rem;
  color: #0c3b2e;
  margin: 8px 0;
  line-height: 1.45;
  font-style: italic;
}
.feedback-time {
  font-size: 0.7rem;
  color: var(--muted);
}
.support-links-list {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}
.support-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: #0c3b2e;
}
.support-item svg {
  width: 16px;
  height: 16px;
  color: var(--navy);
}

/* 5. Provider Portal Page (/provider) */
.provider-hero {
  background: linear-gradient(180deg, #0c3b2e 0%, #0c3b2e 100%);
  color: #ffffff;
}
.provider-hero-content {
  max-width: 820px;
  margin: 0 auto;
}
.provider-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #ffffff;
}
.provider-hero .lead {
  color: #a4aab0;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Shared inner-page banner system */
.page-hero,
.status-hero,
.reg-hero,
.dashboard-hero,
.provider-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy), #0c3b2e);
  padding: var(--page-hero-space) 0;
}
.page-hero h1,
.status-hero h1,
.reg-hero h1,
.provider-hero h1 {
  margin: 0 0 16px;
  line-height: 1.2;
}
.page-hero .eyebrow,
.status-hero .eyebrow,
.reg-hero .eyebrow,
.provider-hero .eyebrow {
  margin-bottom: 16px;
}
.page-hero p,
.status-hero p,
.reg-hero p,
.provider-hero p,
.page-hero .lead,
.status-hero .lead,
.reg-hero .lead,
.provider-hero .lead {
  line-height: 1.7;
  margin-bottom: 0;
}
.page-hero p + p {
  margin-top: 16px;
}
.page-hero::after,
.status-hero::after,
.reg-hero::after,
.dashboard-hero::after,
.provider-hero::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: min(48vw, 680px);
  height: 100%;
  background-image:
    radial-gradient(circle, rgba(213, 171, 85, 0.42) 1.3px, transparent 1.7px),
    linear-gradient(
      135deg,
      transparent 0 48%,
      rgba(213, 171, 85, 0.16) 48% 49%,
      transparent 49% 100%
    );
  background-size:
    24px 24px,
    76px 76px;
  opacity: 0.9;
  -webkit-mask-image: none;
  mask-image: none;
  pointer-events: none;
}
.page-hero > .container,
.status-hero > .container,
.reg-hero > .container,
.dashboard-hero > .container,
.provider-hero > .container {
  position: relative;
  z-index: 1;
}
.status-hero-content,
.reg-hero-content,
.provider-hero-content {
  max-width: 760px;
  margin: 0;
}
.status-hero h1,
.reg-hero h1,
.provider-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}
@media (max-width: 768px) {
  .page-hero::after,
  .status-hero::after,
  .reg-hero::after,
  .dashboard-hero::after,
  .provider-hero::after {
    width: 58vw;
  }
}
.provider-section {
  background: var(--mist);
}
.provider-container {
  max-width: none;
}
.provider-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.prov-feature-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}
.prov-feature-card:hover {
  transform: translateY(-3px);
}
.prov-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(12, 59, 46, 0.07);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}
.prov-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  transition: stroke 0.25s ease;
}
.prov-feature-card:hover .prov-icon,
.prov-icon:hover {
  background: var(--navy);
  color: #ffffff;
}
.prov-feature-card:hover .prov-icon svg,
.prov-icon:hover svg {
  stroke: #ffffff;
}
.prov-feature-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.prov-feature-card p {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.provider-split-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  align-items: start;
}
.provider-form-card,
.provider-login-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 42px);
  box-shadow: 0 16px 40px rgba(12, 59, 46, 0.08);
}
.prov-card-header {
  margin-bottom: 26px;
  border-bottom: 1px solid #ffffff;
  padding-bottom: 18px;
}
.prov-card-header h2 {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 8px;
  font-weight: 800;
  line-height: 1.25;
}
.prov-card-header p {
  font-size: 0.92rem;
  color: #5e6f86;
  margin: 0;
  line-height: 1.55;
}

/* Provider Enquiry Form Polish */
.provider-enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.provider-enquiry-form .form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 620px) {
  .provider-form-card {
    padding: 22px 20px;
  }
  .provider-enquiry-form .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
.provider-enquiry-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.provider-enquiry-form .form-group label {
  font-size: 0.88rem;
  font-weight: 750;
  color: #0c3b2e;
  display: flex;
  align-items: center;
  gap: 4px;
}
.provider-enquiry-form .input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.provider-enquiry-form .input-wrap .input-icon {
  position: absolute;
  left: 16px;
  width: 20px;
  height: 20px;
  color: #5e6f86;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  z-index: 2;
}
.provider-enquiry-form .input-wrap .input-icon svg {
  width: 18px;
  height: 18px;
}
.provider-enquiry-form .input-wrap:focus-within .input-icon {
  color: #0c3b2e;
}
.provider-enquiry-form input[type="text"],
.provider-enquiry-form input[type="email"],
.provider-enquiry-form input[type="tel"],
.provider-enquiry-form select,
.provider-enquiry-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 550;
  color: #0c3b2e;
  background: #ffffff;
  border: 1.5px solid #a4aab0;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(12, 59, 46, 0.03);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}
.provider-enquiry-form input[type="text"],
.provider-enquiry-form input[type="email"],
.provider-enquiry-form input[type="tel"] {
  height: 52px;
  padding: 0 16px;
}
.provider-enquiry-form .input-wrap input {
  padding-left: 48px;
}
.provider-enquiry-form select {
  height: 52px;
  padding: 0 42px 0 16px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23043927' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}
.provider-enquiry-form textarea {
  padding: 14px 16px;
  min-height: 115px;
  resize: vertical;
  line-height: 1.5;
}
.provider-enquiry-form input::placeholder,
.provider-enquiry-form textarea::placeholder {
  color: #a4aab0;
  font-weight: 450;
}
.provider-enquiry-form input:hover,
.provider-enquiry-form select:hover,
.provider-enquiry-form textarea:hover {
  border-color: #a4aab0;
  background: #ffffff;
}
.provider-enquiry-form input:focus,
.provider-enquiry-form select:focus,
.provider-enquiry-form textarea:focus {
  outline: none;
  border-color: #0c3b2e;
  background: #ffffff;
  box-shadow:
    0 0 0 4px rgba(12, 59, 46, 0.12),
    0 4px 12px rgba(12, 59, 46, 0.06);
}
.provider-enquiry-form .btn-submit-provider {
  width: 100%;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.02rem;
  font-weight: 800;
  border-radius: 12px;
  margin-top: 6px;
  cursor: pointer;
  background: #0c3b2e;
  color: #ffffff;
  border: none;
  box-shadow: 0 6px 18px rgba(12, 59, 46, 0.22);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.provider-enquiry-form .btn-submit-provider:hover {
  background: #0c3b2e;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(12, 59, 46, 0.32);
}
.provider-enquiry-form .btn-submit-provider svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}
.provider-enquiry-form .btn-submit-provider:hover svg {
  transform: translateX(4px);
}

.provider-support-callout {
  margin-top: 24px;
  padding: 18px 20px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.provider-support-callout h4 {
  font-size: 0.92rem;
  color: var(--navy);
  margin: 0 0 4px;
  font-weight: 750;
}
.provider-support-callout p {
  font-size: 0.82rem;
  color: #5e6f86;
  margin: 0 0 8px;
  line-height: 1.45;
}

/* Admin badge */
.admin-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: #5e6f86;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.admin-badge-top svg {
  width: 14px;
  height: 14px;
}

/* ============ Responsive Breakpoints for New Pages ============ */
@media (max-width: 900px) {
  .service-status-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .dash-main-layout {
    grid-template-columns: 1fr;
  }
  .provider-split-layout {
    grid-template-columns: 1fr;
  }
  .verify-input-group {
    flex-direction: column;
  }
  .btn-verify {
    width: 100%;
    justify-content: center;
  }
  .form-grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .verify-card {
    padding: 22px 16px;
  }
  .verify-input-group input {
    padding: 12px 14px 12px 38px;
    font-size: 0.9rem;
  }
  .verify-input-group input::placeholder {
    font-size: 0.86rem;
  }
  .verify-external-callout-compact {
    padding: 14px;
    gap: 12px;
  }
  .cert-details-grid {
    grid-template-columns: 1fr;
  }
  .status-banner-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .status-banner-metric {
    text-align: left;
  }
  .enrolled-top {
    flex-direction: column;
    gap: 8px;
  }
  .enrolled-progress-stat {
    text-align: left;
  }
  .live-session-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  .reg-steps-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .reg-step:last-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 620px) {
  .learner-reg-form .form-grid-2,
  .learner-reg-form .form-grid-3 {
    grid-template-columns: 1fr;
  }
  .reg-card {
    padding: 20px 14px;
  }
  .learner-reg-form .form-fieldset {
    padding: 20px 14px 24px;
  }
  .reg-steps-bar {
    grid-template-columns: 1fr;
  }
  .reg-step:last-child {
    grid-column: auto;
  }
}

/* ============ Externalized component styles ============ */
.social-links-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.social-link:hover {
  opacity: 1;
}
.footer-registration-info {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.6;
  opacity: 0.9;
}
.detail-chips-top {
  margin-top: 20px;
}
.chip-on-dark {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}
.chip-gold,
.article-category-chip {
  color: var(--navy);
  background: var(--gold);
  border: 0;
  font-weight: 800;
}
.package-tabs-compact {
  margin-bottom: 18px;
}
.course-regulator-logo {
  width: auto;
  max-height: 42px;
  object-fit: contain;
}
.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.form-title-lg {
  font-size: 1.65rem;
}
.form-title-xl {
  font-size: 2rem;
}
.empty-state-full {
  grid-column: 1 / -1;
}
.article-ordered-list {
  padding-left: 20px;
  color: #5e6f86;
  line-height: 1.85;
}
.article-category-chip {
  display: inline-block;
  margin-bottom: 12px;
}
.article-intro {
  margin-bottom: 28px;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.75;
}
.article-section-title {
  margin: 38px 0 16px;
  padding-top: 10px;
  color: var(--navy);
  font-size: 1.65rem;
}
.article-bottom-link {
  color: var(--navy);
  background: var(--gold);
  border: 0;
  font-weight: 700;
}
.sidebar-course-level {
  margin-left: auto;
  color: var(--navy);
  font-weight: 600;
}
.sidebar-widget-title {
  margin: 0;
  color: var(--navy);
  font-size: 0.95rem;
}
.sidebar-widget-title-share {
  margin-bottom: 10px;
}
.sidebar-widget-title-advice {
  margin-bottom: 8px;
}
.sidebar-widget-copy {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.82rem;
}
.sidebar-advisor-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
}
.cart-security-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 14px 0 0;
  font-size: 0.75rem;
}
.auth-visual-side-login {
  background-image: url("/assets/hero-training.png");
}
.auth-visual-side-signup {
  background-image: url("/assets/hero-main.jpg");
}
.is-hidden {
  display: none;
}
.course-card[hidden],
.cookie-banner[hidden] {
  display: none;
}
.verify-choice-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0;
  color: #a4aab0;
  font-size: 0.75rem;
  text-transform: uppercase;
}
.verify-choice-divider span {
  flex: 1;
  height: 1px;
  background: #a4aab0;
}
.verify-external-callout-compact {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  color: inherit;
  background: #ffffff;
  border: 1px solid #a4aab0;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.verify-external-logo {
  display: flex;
  width: 110px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  flex-shrink: 0;
}
.verify-external-logo-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.verify-external-text {
  flex: 1;
}
.verify-external-title {
  display: block;
  color: #0c3b2e;
  font-size: 0.95rem;
}
.verify-external-copy {
  color: #5e6f86;
  font-size: 0.85rem;
}
.verify-external-action {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #d4af37;
  font-size: 0.85rem;
  font-weight: 600;
}
.demo-form-notice-info {
  color: #5e6f86;
  background: #ffffff;
  border-color: #a4aab0;
}
.cookie-policy-link {
  color: var(--gold);
  text-decoration: underline;
}

/* Dashboard course cards */
.dashboard-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: start;
  gap: 32px;
}
.dash-courses-area {
  min-width: 0;
}
.dash-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.dash-section-header h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.6rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}
.dash-section-header .text-link {
  font-weight: 700;
  color: var(--gold-dark);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dash-section-header .text-link:hover {
  text-decoration: underline;
}

/* Enrolled Qualification Cards */
.enrolled-card {
  margin-bottom: 20px;
  padding: 22px 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(12, 59, 46, 0.05);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}
.enrolled-card:hover {
  border-color: rgba(12, 59, 46, 0.28);
  box-shadow: 0 10px 30px rgba(12, 59, 46, 0.09);
}
.enrolled-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.enrolled-card-header .chip {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.76rem;
  font-weight: 750;
  padding: 5px 12px;
  border-radius: 999px;
}
.enrolled-card-header h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 1.22rem;
  font-weight: 750;
  line-height: 1.35;
}
.enrolled-card-header small {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}
.enrolled-chip-dark {
  background: var(--navy);
  color: var(--white);
}
.enrolled-progress {
  display: block;
  appearance: none;
  width: 100%;
  height: 8px;
  margin: 16px 0 0;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(12, 59, 46, 0.08);
}
.enrolled-progress::-webkit-progress-bar {
  background: rgba(12, 59, 46, 0.08);
  border-radius: 999px;
}
.enrolled-progress::-webkit-progress-value {
  background: linear-gradient(90deg, var(--navy), var(--gold));
  border-radius: 999px;
}
.enrolled-progress::-moz-progress-bar {
  background: linear-gradient(90deg, var(--navy), var(--gold));
  border-radius: 999px;
}
.enrolled-card-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 18px;
}
.enrolled-card-actions .btn {
  border-radius: 8px;
  font-weight: 700;
  padding: 9px 18px;
  font-size: 0.88rem;
}

/* Right Sidebar: Verified Certificate Card */
.dash-sidebar {
  min-width: 0;
}
.dash-cert-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 4px 16px rgba(12, 59, 46, 0.05);
  position: relative;
  overflow: hidden;
}
.dash-cert-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--navy));
}
.dash-cert-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.dash-cert-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.22rem;
  font-weight: 750;
}
.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #0c3b2e;
  background: rgba(12, 59, 46, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.badge-verified svg {
  width: 14px;
  height: 14px;
}
.cert-item-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.cert-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(12, 59, 46, 0.07);
  border: 1px solid rgba(12, 59, 46, 0.12);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}
.cert-icon-badge svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  transition: stroke 0.25s ease;
}
.cert-card:hover .cert-icon-badge,
.cert-icon-badge:hover {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}
.cert-card:hover .cert-icon-badge svg,
.cert-icon-badge:hover svg {
  stroke: #ffffff;
}
.cert-details {
  flex: 1;
  min-width: 0;
}
.cert-details strong {
  display: block;
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 750;
  line-height: 1.35;
  margin-bottom: 6px;
}
.cert-details small {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 16px;
}
.cert-action-wrap .btn-verify-cred {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.81rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  background: rgba(12, 59, 46, 0.04);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  max-width: 100%;
  line-height: 1.25;
  transition: all var(--transition-fast);
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}
.cert-action-wrap .btn-verify-cred .btn-verify-text {
  display: inline-block;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
.cert-action-wrap .btn-verify-cred .btn-verify-arrow {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}
.cert-action-wrap .btn-verify-cred:hover {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}
.cert-action-wrap .btn-verify-cred:hover .btn-verify-arrow {
  transform: translateX(3px);
}

@media (max-width: 1080px) {
  .dashboard-main-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .dash-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .dash-metrics-grid {
    grid-template-columns: 1fr;
  }
  .enrolled-card {
    padding: 20px;
  }
  .dash-section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Consistent image frames: always show the complete source image. */
.brand-logo-img,
.mega-feature-img,
.course-card-bg-img,
.cta-banner-img,
.detail-hero-img,
.booking-widget-img,
.post-card-img,
.article-banner-img,
.article-hero-image-wrap img {
  object-fit: contain;
}

/* Home page hero image and About Us page image: cover cleanly as requested */
.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center;
  display: block;
}

.about-img,
.about-image .about-img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center;
  display: block;
}

.hero-visual-card,
.course-art,
.mini-art,
.cta-banner-visual,
.detail-art,
.post-art,
.article-hero-image-wrap {
  height: auto;
  aspect-ratio: auto;
}

.booking-widget-img,
.article-banner-img {
  height: auto;
  max-height: none;
  aspect-ratio: 16 / 9;
}

.article-hero-image-wrap img {
  width: 100%;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 16 / 9;
  object-fit: contain !important;
}

.course-card:hover .course-card-bg-img,
.post-card:hover .post-card-img {
  transform: none;
}

/* Course photos are decorative card backgrounds: keep their frames fixed and balanced. */
.course-art {
  height: 190px;
  aspect-ratio: auto;
}
.mini-art {
  height: 96px;
  aspect-ratio: auto;
}
.course-art .course-card-bg-img,
.mini-art .course-card-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-image {
  height: clamp(340px, 32vw, 410px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  background: transparent;
}
.about-hero .hero-subtext {
  color: #cbd5e1;
  max-width: 820px;
}
.about-values-section .lead {
  max-width: 760px;
}
.about-offer-section .lead {
  max-width: 720px;
}
.about-objectives-section .lead {
  max-width: 820px;
}
.about-why-section .lead {
  max-width: 800px;
}
.about-image::before {
  display: none !important;
}
.about-image .about-img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center;
  display: block;
}
.about-btn-wrap {
  display: flex;
  margin-top: 18px;
}
.about-stats-section {
  background:
    linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)),
    var(--navy);
  padding: 32px 0;
}


/* Core Values: 4 items in a clean single row */
.about-values-grid,
.about-values-section .value-grid {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
}
.about-values-section .value-card {
  background: #ffffff;
  padding: 24px 20px;
  border-radius: 16px;
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.about-values-section .value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--navy);
}

/* Section Head Split */
.section-head-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .section-head-split {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  .section-head-split > div:first-child {
    width: 100%;
    text-align: center;
  }
  .section-head-split .section-head-action {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 4px;
  }
  .section-head-split .section-head-action .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    margin: 0 auto;
  }
}

/* What We Offer Grid */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.offer-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 20px;
  background: #ffffff;
  border-radius: 16px;
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.offer-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--navy);
}
.offer-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(12, 59, 46, 0.07);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.offer-icon-badge svg {
  width: 26px;
  height: 26px;
}
.offer-card:hover .offer-icon-badge {
  background: var(--navy);
  color: #ffffff;
}
.offer-card-body {
  flex: 1;
  min-width: 0;
}
.offer-card-body h3 {
  font-size: 1.15rem;
  font-weight: 750;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.35;
}
.offer-card-body p {
  font-size: 0.9rem;
  color: #5e6f86;
  line-height: 1.55;
  margin: 0;
}
.offer-card-arrow {
  color: #a4aab0;
  display: flex;
  align-items: center;
  align-self: center;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}
.offer-card-arrow svg {
  width: 20px;
  height: 20px;
}
.offer-card:hover .offer-card-arrow {
  transform: translateX(4px);
  color: var(--navy);
}

/* Approach & Safeguarding Sections */
.approach-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.approach-row + .approach-row {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.approach-text h2 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(1.4rem, 2.2vw, 1.95rem);
}
.approach-text .lead {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 14px;
}
.approach-text p {
  line-height: 1.6;
  color: #5e6f86;
}
.about-highlight-card {
  background: #ffffff;
  border-radius: 20px;
  padding: clamp(24px, 3.5vw, 36px);
  border: 1.5px solid var(--line);
  box-shadow: 0 12px 32px rgba(12, 59, 46, 0.06);
  position: relative;
  overflow: hidden;
}
.about-highlight-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
}
.highlight-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.highlight-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(12, 59, 46, 0.07);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}
.highlight-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  transition: stroke 0.25s ease;
}
.about-highlight-card:hover .highlight-card-icon,
.highlight-card-icon:hover {
  background: var(--navy);
  color: #ffffff;
}
.about-highlight-card:hover .highlight-card-icon svg,
.highlight-card-icon:hover svg {
  stroke: #ffffff;
}
.highlight-card-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}
.highlight-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.highlight-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.45;
  font-weight: 550;
}
.highlight-checklist .check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(12, 59, 46, 0.1);
  color: #0c3b2e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.highlight-checklist .check-icon svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
}

/* Objectives Grid */
.objectives-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.objective-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 22px 20px;
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.objective-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--navy);
}
.objective-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(12, 59, 46, 0.07);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}
.objective-icon-wrap svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  transition: stroke 0.25s ease;
}
.objective-card:hover .objective-icon-wrap,
.objective-icon-wrap:hover {
  background: var(--navy);
  color: #ffffff;
}
.objective-card:hover .objective-icon-wrap svg,
.objective-icon-wrap:hover svg {
  stroke: #ffffff;
}
.objective-content h3 {
  font-size: 1.15rem;
  font-weight: 750;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.35;
}
.objective-content p {
  font-size: 0.9rem;
  color: #5e6f86;
  line-height: 1.55;
  margin: 0;
}

/* About page benefit cards */
.about-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 26px 22px;
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--navy);
}
.why-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(12, 59, 46, 0.07);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}
.why-icon-wrap svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  transition: stroke 0.25s ease;
}
.why-card:hover .why-icon-wrap,
.why-icon-wrap:hover {
  background: var(--navy);
  color: #ffffff;
}
.why-card:hover .why-icon-wrap svg,
.why-icon-wrap:hover svg {
  stroke: #ffffff;
}
.why-card h3 {
  font-size: 1.2rem;
  font-weight: 750;
  color: var(--navy);
  margin-bottom: 8px;
}
.why-card p {
  font-size: 0.9rem;
  color: #5e6f86;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 1024px) {
  .about-values-grid,
  .about-values-section .value-grid,
  .objectives-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 900px) {
  .about-btn-wrap {
    justify-content: center;
    width: 100%;
  }
  .about-btn-wrap .btn {
    justify-content: center;
    width: min(100%, 360px);
    text-align: center;
  }
  .about-image {
    height: 340px;
  }
  .approach-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .approach-row-reverse {
    display: flex;
    flex-direction: column-reverse;
  }
}
@media (max-width: 768px) {
  .offer-grid,
  .about-benefits-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .about-image {
    height: 260px;
  }
  .about-values-grid,
  .about-values-section .value-grid,
  .offer-grid,
  .objectives-grid,
  .about-benefits-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Gentle content motion while scrolling, without hiding layout before it enters view. */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0.92;
    transform: translateY(12px);
    will-change: opacity, transform;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Skip Link Accessibility */
.skip-link {
  position: absolute;
  top: -9999px;
  left: -9999px;
  z-index: 999999;
}
.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  background: var(--navy);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 4px;
  z-index: 999999;
  text-decoration: none;
}

/* WordPress Admin Bar Compatibility - No double top offset on in-flow header */
body.admin-bar .site-header {
  top: 0;
}
body.admin-bar .mobile-panel {
  top: max(32px, var(--mtts-panel-top, 0px));
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 0;
  }
  body.admin-bar .mobile-panel {
    top: max(46px, var(--mtts-panel-top, 0px));
  }
}

/* ==========================================================================
   Print Stylesheet - Isolate Certificate Record
   ========================================================================== */
@page {
  size: A4 portrait;
  margin: 10mm 12mm;
}

@media print {
  /* 1. Reset Global Canvas */
  html,
  body {
    background: #ffffff !important;
    color: #0c3b2e !important;
    font-size: 10pt !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* 2. Hide Everything Not Part Of The Certificate */
  #wpadminbar,
  .skip-link,
  .site-header,
  .top-offer-bar,
  .header-main-bar,
  .mobile-panel,
  .mobile-backdrop,
  .mobile-dock,
  .site-breadcrumb-band,
  .page-hero,
  .verify-hero,
  .verify-search-form,
  .verify-samples,
  .verify-hint,
  .verify-choice-divider,
  .verify-external-callout,
  .prefooter-bar,
  .site-footer,
  .share-modal,
  .back-top,
  .toast,
  .cookie-banner,
  .cookie-prefs,
  .cert-actions-bar,
  .floating-buttons,
  .dashboard-sidebar,
  .dash-nav-pills {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  /* 3. Strip Page & Layout Wrappers */
  #app,
  main,
  #main-content,
  .site-main,
  .verify-section,
  .verify-container,
  .verify-card,
  #verify-result {
    display: block !important;
    position: static !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    transform: none !important;
    animation: none !important;
  }

  /* 4. Official Certificate Card Layout */
  .cert-result-card {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 24px 28px !important;
    background: #ffffff !important;
    border: 2px solid #0c3b2e !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    page-break-after: avoid !important;
    break-after: avoid !important;
    position: relative !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .cert-result-card::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 6px !important;
    background: linear-gradient(90deg, #0c3b2e, #d4af37, #0c3b2e) !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Formal Print Header */
  .cert-print-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding-bottom: 12px !important;
    margin-bottom: 16px !important;
    border-bottom: 2px solid #0c3b2e !important;
  }

  .cert-print-brand-title {
    font-size: 15pt !important;
    font-weight: 900 !important;
    letter-spacing: 0.12em !important;
    color: #0c3b2e !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
  }

  .cert-print-brand-subtitle {
    font-size: 8.5pt !important;
    font-weight: 700 !important;
    color: #b48c1e !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    margin-top: 3px !important;
  }

  /* Result Badge & Header */
  .cert-result-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 14px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }

  .cert-status-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #0c3b2e !important;
    color: #ffffff !important;
    padding: 5px 14px !important;
    border-radius: 999px !important;
    font-size: 8pt !important;
    font-weight: 800 !important;
    letter-spacing: 0.05em !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .cert-status-badge .badge-icon {
    color: #d4af37 !important;
    display: inline-flex !important;
  }

  .cert-status-badge .badge-icon svg {
    width: 13px !important;
    height: 13px !important;
  }

  .cert-awarding-pill {
    display: inline-block !important;
    font-size: 8.5pt !important;
    font-weight: 750 !important;
    color: #0c3b2e !important;
    background: #f8fafc !important;
    padding: 4px 12px !important;
    border-radius: 6px !important;
    border: 1px solid #cbd5e1 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Qualification Title */
  .cert-title-section {
    margin-bottom: 14px !important;
  }

  .cert-sub {
    display: block !important;
    font-size: 8pt !important;
    font-weight: 800 !important;
    color: #b48c1e !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 3px !important;
  }

  .cert-name {
    font-size: 13pt !important;
    font-weight: 800 !important;
    color: #0c3b2e !important;
    line-height: 1.25 !important;
    margin: 0 !important;
  }

  /* Candidate & Qualification Details Grid */
  .cert-details-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px 18px !important;
    margin-bottom: 16px !important;
    background: #fbfcfd !important;
    padding: 14px 18px !important;
    border-radius: 10px !important;
    border: 1px solid #e2e8f0 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .cert-detail-item small {
    display: block !important;
    font-size: 6.8pt !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    color: #64748b !important;
    margin-bottom: 2px !important;
  }

  .cert-detail-item strong {
    display: block !important;
    font-size: 9pt !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
  }

  .cert-detail-item strong.text-gold {
    color: #b48c1e !important;
  }

  .cert-detail-item strong.text-green {
    color: #0c3b2e !important;
  }

  /* Competency Modules */
  .cert-units-section {
    margin-bottom: 14px !important;
  }

  .cert-units-section h4 {
    font-size: 8.5pt !important;
    font-weight: 800 !important;
    color: #0c3b2e !important;
    margin-bottom: 6px !important;
  }

  .cert-units-list {
    display: grid !important;
    gap: 5px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .cert-units-list li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    font-size: 8pt !important;
    line-height: 1.3 !important;
    color: #1e293b !important;
  }

  .cert-units-list .unit-check {
    color: #0c3b2e !important;
    display: inline-flex !important;
    margin-top: 1px !important;
  }

  .cert-units-list .unit-check svg {
    width: 13px !important;
    height: 13px !important;
  }

  /* Verification Footer */
  .cert-print-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 7pt !important;
    color: #64748b !important;
    margin-top: 14px !important;
    padding-top: 10px !important;
    border-top: 1px dashed #cbd5e1 !important;
  }

  .cert-print-footer span {
    display: block !important;
  }
}

/* ==========================================================================
   GLOBAL ICON BADGE CONSISTENCY (All Pages)
   Ensures unified squircle container, pale sage bg, dark green stroke,
   and dark green solid bg with crisp white stroke on hover.
   ========================================================================== */
.feature-icon,
.value-card .feature-icon,
.offer-icon-badge,
.objective-icon-wrap,
.why-icon-wrap,
.highlight-card-icon,
.category-card-icon-box,
.hero-stat-icon,
.course-section-icon,
.prov-icon,
.cm-qc-icon,
.cert-icon-badge {
  border-radius: 12px !important;
  background: rgba(12, 59, 46, 0.07) !important;
  color: var(--navy, #0c3b2e) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease !important;
}

.feature-icon svg,
.feature-icon .icon,
.value-card .feature-icon svg,
.value-card .feature-icon .icon,
.offer-icon-badge svg,
.offer-icon-badge .icon,
.objective-icon-wrap svg,
.objective-icon-wrap .icon,
.why-icon-wrap svg,
.why-icon-wrap .icon,
.highlight-card-icon svg,
.highlight-card-icon .icon,
.category-card-icon-box svg,
.category-card-icon-box .icon,
.hero-stat-icon svg,
.hero-stat-icon .icon,
.course-section-icon svg,
.course-section-icon .icon,
.prov-icon svg,
.prov-icon .icon,
.cm-qc-icon svg,
.cm-qc-icon .icon,
.cert-icon-badge svg,
.cert-icon-badge .icon {
  stroke: currentColor !important;
  transition: stroke 0.25s ease !important;
}

/* Hover on card or on badge directly */
.value-card:hover .feature-icon,
.feature:hover .feature-icon,
.offer-card:hover .offer-icon-badge,
.objective-card:hover .objective-icon-wrap,
.why-card:hover .why-icon-wrap,
.about-highlight-card:hover .highlight-card-icon,
.category-card-item:hover .category-card-icon-box,
.hero-stat-item:hover .hero-stat-icon,
.course-section-card:hover .course-section-icon,
.prov-feature-card:hover .prov-icon,
.cm-qc-row:hover .cm-qc-icon,
.cm-info-card:hover .cm-qc-icon,
.cert-card:hover .cert-icon-badge,
.dash-metric-card:hover .metric-icon-wrap,
.feature-icon:hover,
.offer-icon-badge:hover,
.objective-icon-wrap:hover,
.why-icon-wrap:hover,
.highlight-card-icon:hover,
.category-card-icon-box:hover,
.hero-stat-icon:hover,
.course-section-icon:hover,
.prov-icon:hover,
.cm-qc-icon:hover,
.cert-icon-badge:hover,
.metric-icon-wrap:hover {
  background: var(--navy, #0c3b2e) !important;
  color: #ffffff !important;
  border-color: var(--navy, #0c3b2e) !important;
}

.value-card:hover .feature-icon svg,
.value-card:hover .feature-icon .icon,
.feature:hover .feature-icon svg,
.feature:hover .feature-icon .icon,
.offer-card:hover .offer-icon-badge svg,
.offer-card:hover .offer-icon-badge .icon,
.objective-card:hover .objective-icon-wrap svg,
.objective-card:hover .objective-icon-wrap .icon,
.why-card:hover .why-icon-wrap svg,
.why-card:hover .why-icon-wrap .icon,
.about-highlight-card:hover .highlight-card-icon svg,
.about-highlight-card:hover .highlight-card-icon .icon,
.category-card-item:hover .category-card-icon-box svg,
.category-card-item:hover .category-card-icon-box .icon,
.hero-stat-item:hover .hero-stat-icon svg,
.hero-stat-item:hover .hero-stat-icon .icon,
.course-section-card:hover .course-section-icon svg,
.course-section-card:hover .course-section-icon .icon,
.prov-feature-card:hover .prov-icon svg,
.prov-feature-card:hover .prov-icon .icon,
.cm-qc-row:hover .cm-qc-icon svg,
.cm-qc-row:hover .cm-qc-icon .icon,
.cm-info-card:hover .cm-qc-icon svg,
.cm-info-card:hover .cm-qc-icon .icon,
.cert-card:hover .cert-icon-badge svg,
.cert-card:hover .cert-icon-badge .icon,
.dash-metric-card:hover .metric-icon-wrap svg,
.dash-metric-card:hover .metric-icon-wrap .icon,
.feature-icon:hover svg,
.feature-icon:hover .icon,
.offer-icon-badge:hover svg,
.offer-icon-badge:hover .icon,
.objective-icon-wrap:hover svg,
.objective-icon-wrap:hover .icon,
.why-icon-wrap:hover svg,
.why-icon-wrap:hover .icon,
.highlight-card-icon:hover svg,
.highlight-card-icon:hover .icon,
.category-card-icon-box:hover svg,
.category-card-icon-box:hover .icon,
.hero-stat-icon:hover svg,
.hero-stat-icon:hover .icon,
.course-section-icon:hover svg,
.course-section-icon:hover .icon,
.prov-icon:hover svg,
.prov-icon:hover .icon,
.cm-qc-icon:hover svg,
.cm-qc-icon:hover .icon,
.cert-icon-badge:hover svg,
.cert-icon-badge:hover .icon,
.metric-icon-wrap:hover svg,
.metric-icon-wrap:hover .icon {
  stroke: #ffffff !important;
}

/* ==========================================================================
   Header Basket Trigger & Mobile Toggle
   ========================================================================== */
.header-basket-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 4px 0;
  color: #a4aab0;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease, opacity 0.2s ease;
  line-height: 1.35;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.header-basket-btn:hover {
  background: transparent;
  color: #ffffff;
  opacity: 1;
  transform: none;
}
.header-basket-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.header-basket-icon-wrap .icon {
  width: 18px;
  height: 18px;
  color: currentColor;
  stroke-width: 2.2;
}
.header-basket-label {
  color: currentColor;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  padding-bottom: 2px;
  margin-bottom: -2px;
}
.header-basket-badge,
.mobile-basket-badge {
  background: var(--gold, #d4af37);
  color: var(--navy, #0c3b2e);
  font-size: 10px;
  font-weight: 850;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.header-basket-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  pointer-events: none;
}
.mobile-basket-toggle {
  position: relative;
}
.mobile-basket-badge {
  position: absolute;
  top: -4px;
  right: -6px;
}

/* ==========================================================================
   Slide-in Side Cart Drawer (Nevara-Style Flyout Cart)
   ========================================================================== */
.side-cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease;
}
.side-cart-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.side-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 94vw);
  background: #ffffff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.25);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.side-cart-drawer.open {
  transform: translateX(0);
}

.side-cart-header {
  padding: 20px 24px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}
.side-cart-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.side-cart-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f0fdf4;
  color: #0c3b2e;
  display: flex;
  align-items: center;
  justify-content: center;
}
.side-cart-icon-box .icon {
  width: 18px;
  height: 18px;
}
.side-cart-heading {
  margin: 0;
  font-size: 18px;
  font-weight: 750;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}
.side-cart-count {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
}
.side-cart-close-btn {
  background: transparent;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}
.side-cart-close-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.side-cart-close-btn .icon {
  width: 20px;
  height: 20px;
}

.side-cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}
.side-cart-empty {
  text-align: center;
  padding: 44px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.side-cart-empty[hidden],
[data-cart-empty-state][hidden] {
  display: none !important;
}
.side-cart-empty .empty-icon-box {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  margin-bottom: 16px;
}
.side-cart-empty .empty-icon-box .icon {
  width: 30px;
  height: 30px;
}
.side-cart-empty h4 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: #1e293b;
}
.side-cart-empty p {
  color: #64748b;
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0 0 22px;
  max-width: 280px;
}

.side-cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cart-item-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}
.cart-item-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.cart-item-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #0c3b2e;
}
.cart-item-details {
  flex: 1;
  min-width: 0;
}
.cart-item-title {
  margin: 0 0 4px;
  font-size: 13.5px;
  font-weight: 750;
  color: #0f172a;
  line-height: 1.35;
}
.cart-item-meta {
  font-size: 12px;
  color: #0c3b2e;
  font-weight: 650;
  margin: 0 0 4px;
}
.cart-item-slot {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.4;
}
.cart-item-remove-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 4px;
  cursor: pointer;
  transition: color 0.18s ease;
}
.cart-item-remove-btn:hover {
  color: #ef4444;
}
.cart-item-remove-btn .icon {
  width: 17px;
  height: 17px;
}
.cart-item-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}
.cart-item-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  height: 32px;
  background: #ffffff;
}
.cart-item-qty button {
  width: 28px;
  height: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  color: #475569;
}
.cart-item-qty button:hover {
  background: #f1f5f9;
  color: #0c3b2e;
}
.cart-item-qty span {
  padding: 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}
.cart-item-price-val {
  font-size: 16px;
  font-weight: 800;
  color: #0c3b2e;
}

.side-cart-footer {
  padding: 20px 24px;
  border-top: 1px solid #f1f5f9;
  background: #f8fafc;
}
.side-cart-breakdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.side-cart-breakdown .breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #64748b;
}
.side-cart-breakdown .breakdown-total {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  padding-top: 10px;
  border-top: 1px dashed #cbd5e1;
}
.side-cart-footer[hidden],
[data-side-cart-footer][hidden] {
  display: none !important;
}
.side-cart-btn-stack {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.side-cart-checkout-btn,
.side-cart-continue-btn {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  height: 40px;
  padding: 8px 10px;
  border-radius: var(--radius-btn, 8px 22px);
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  text-align: center;
  white-space: nowrap;
}
/* While redirecting, the checkout button takes the whole row so the label and
   spinner fit cleanly instead of clipping against the rounded ends. */
.side-cart-btn-stack.is-loading .side-cart-continue-btn {
  display: none;
}
.side-cart-checkout-btn {
  font-size: 12.5px;
  font-weight: var(--font-weight-bold, 750);
  background: var(--cyan, #d4af37);
  color: var(--navy, #0c3b2e);
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-card);
  gap: 6px;
  transition:
    transform var(--transition-fast, 0.18s),
    box-shadow var(--transition-fast, 0.18s),
    background var(--transition-fast, 0.18s),
    color var(--transition-fast, 0.18s),
    border-color var(--transition-fast, 0.18s);
}
.side-cart-checkout-btn:hover {
  background: var(--navy, #0c3b2e) !important;
  color: var(--cyan, #d4af37) !important;
  border-color: var(--navy, #0c3b2e) !important;
  transform: translateY(-1px) scale(1.02);
  box-shadow: var(--shadow-elevated);
}
.side-cart-checkout-btn .icon {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  flex-shrink: 0;
}
.side-cart-continue-btn {
  font-size: 12px;
  font-weight: 650;
  border: 1.5px solid var(--line, rgba(12, 59, 46, 0.22));
  background: transparent;
  color: var(--navy, #0c3b2e);
  transition:
    transform var(--transition-fast, 0.18s),
    box-shadow var(--transition-fast, 0.18s),
    background var(--transition-fast, 0.18s),
    color var(--transition-fast, 0.18s),
    border-color var(--transition-fast, 0.18s);
}
.side-cart-continue-btn:hover {
  border-color: var(--navy, #0c3b2e);
  background: var(--navy, #0c3b2e);
  color: #ffffff;
  transform: translateY(-1px) scale(1.02);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 640px) {
  .side-cart-drawer {
    width: 100% !important;
    max-width: 100vw !important;
  }
  .side-cart-header {
    padding: 16px 18px;
  }
  .side-cart-body {
    padding: 16px 18px;
  }
  .side-cart-footer {
    padding: 16px 18px;
  }
  .side-cart-btn-stack {
    flex-direction: column !important;
    width: 100%;
    gap: 10px;
  }
  .side-cart-checkout-btn,
  .side-cart-continue-btn {
    width: 100% !important;
    flex: none !important;
    min-height: 48px !important;
    height: auto !important;
    padding: 12px 18px !important;
    font-size: 14px !important;
    white-space: normal !important;
  }
}

/* ==========================================================================
   WooCommerce Checkout - Premium Seamless Course Booking Experience
   ========================================================================== */
.checkout-section {
  padding-top: 40px;
  padding-bottom: 80px;
  background: #f8fafc;
  min-height: 60vh;
}
.checkout-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.checkout-hero {
  background: linear-gradient(135deg, #0c3b2e 0%, #061c16 100%);
  color: #ffffff;
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.checkout-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 100%;
  background-image: radial-gradient(rgba(212, 175, 55, 0.15) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.6;
  pointer-events: none;
}
.checkout-hero h1 {
  color: #ffffff;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin: 6px 0 0;
  letter-spacing: -0.02em;
}
.checkout-hero .eyebrow {
  color: #d4af37;
  font-weight: 750;
  letter-spacing: 0.12em;
  font-size: 13px;
  text-transform: uppercase;
  display: inline-block;
}
.checkout-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  max-width: 640px;
  margin: 12px 0 0;
  line-height: 1.6;
}

/* Coupon & Alert Notices */
.woocommerce-NoticeGroup,
.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  background: #ffffff !important;
  border: 1.5px solid rgba(12, 59, 46, 0.1) !important;
  border-left: 5px solid #d4af37 !important;
  border-radius: 12px !important;
  padding: 16px 20px !important;
  margin: 0 0 28px !important;
  color: #0c3b2e !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 18px rgba(12, 59, 46, 0.05) !important;
  list-style: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  line-height: 1.5 !important;
}
.woocommerce-info::before,
.woocommerce-message::before,
.woocommerce-error::before {
  display: none !important;
}
.woocommerce-error {
  border-left-color: #dc2626 !important;
  color: #991b1b !important;
}
/* WooCommerce wraps each notice line in an <a href="#field"> so it can jump
   to the field; without this they render as default blue underlined links.
   Buttons inside notices ("Confirm email address", "View cart", …) are
   excluded: forcing the notice text colour on them made the label vanish on
   the dark-green hover background. */
.woocommerce-NoticeGroup a:not(.button):not(.woocommerce-button),
.woocommerce-error a:not(.button):not(.woocommerce-button),
.woocommerce-info a:not(.button):not(.woocommerce-button),
.woocommerce-message a:not(.button):not(.woocommerce-button) {
  color: inherit !important;
  text-decoration: none !important;
}
.woocommerce-NoticeGroup a:not(.button):not(.woocommerce-button):hover,
.woocommerce-error a:not(.button):not(.woocommerce-button):hover,
.woocommerce-info a:not(.button):not(.woocommerce-button):hover,
.woocommerce-message a:not(.button):not(.woocommerce-button):hover {
  text-decoration: underline !important;
}
/* Notice CTAs keep a readable pill: white pill, dark green label — white text
   on the dark green hover background. */
.woocommerce-NoticeGroup a.button,
.woocommerce-error a.button,
.woocommerce-info a.button,
.woocommerce-message a.button,
.woocommerce-NoticeGroup a.woocommerce-button,
.woocommerce-error a.woocommerce-button,
.woocommerce-info a.woocommerce-button,
.woocommerce-message a.woocommerce-button {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 20px;
  background: #ffffff !important;
  color: #0c3b2e !important;
  border: 1.5px solid rgba(12, 59, 46, 0.18) !important;
  border-radius: 999px !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.woocommerce-NoticeGroup a.button:hover,
.woocommerce-error a.button:hover,
.woocommerce-info a.button:hover,
.woocommerce-message a.button:hover,
.woocommerce-NoticeGroup a.woocommerce-button:hover,
.woocommerce-error a.woocommerce-button:hover,
.woocommerce-info a.woocommerce-button:hover,
.woocommerce-message a.woocommerce-button:hover {
  background: #0c3b2e !important;
  border-color: #0c3b2e !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Checkout validation notices become floating toasts. WooCommerce prepends
   its notice group into form.checkout (a 2-column grid), which would add a
   third grid item and scramble the layout; theme.js lifts it out and shows
   it here instead. Auto-dismissed after ~5 seconds. */
.woocommerce-NoticeGroup.mtts-checkout-toast {
  position: fixed !important;
  top: 24px !important;
  right: 24px !important;
  left: auto !important;
  bottom: auto !important;
  width: min(460px, calc(100vw - 32px)) !important;
  /* The group would otherwise inherit the notice-card styling above
     (white card, gold border, flex layout, padding) and offset or shrink
     the real error card. */
  display: block !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  z-index: 9999 !important;
  animation: mttsToastIn 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.woocommerce-NoticeGroup.mtts-checkout-toast-out {
  opacity: 0 !important;
  transform: translateY(-10px) !important;
}
.woocommerce-NoticeGroup.mtts-checkout-toast .woocommerce-error,
.woocommerce-NoticeGroup.mtts-checkout-toast .woocommerce-message,
.woocommerce-NoticeGroup.mtts-checkout-toast .woocommerce-info {
  margin: 0 !important;
  box-shadow: 0 18px 44px rgba(12, 59, 46, 0.22) !important;
  cursor: pointer;
  /* Stack the messages so each one gets the full width instead of the
     theme's default side-by-side flex row (cramped in a narrow toast). */
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
  text-align: left !important;
}
@keyframes mttsToastIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 900px) {
  .woocommerce-NoticeGroup.mtts-checkout-toast {
    /* Clear the sticky mobile header (~121px tall incl. offer bar). */
    top: 132px !important;
    right: 16px !important;
  }
}
.woocommerce-form-coupon-toggle .showcoupon {
  color: #0c3b2e !important;
  font-weight: 750 !important;
  text-decoration: underline !important;
  text-decoration-color: #d4af37 !important;
  text-underline-offset: 3px !important;
  transition: color 0.18s ease;
}
.woocommerce-form-coupon-toggle .showcoupon:hover {
  color: #d4af37 !important;
}
form.checkout_coupon {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 28px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
form.checkout_coupon p {
  margin: 0;
}
form.checkout_coupon .input-text {
  min-width: 240px;
  height: 46px;
  padding: 0 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 9px;
  font-size: 14px;
}
form.checkout_coupon .button {
  height: 46px;
  padding: 0 20px;
  background: #0c3b2e;
  color: #ffffff;
  border: none;
  border-radius: var(--radius-btn, 8px 20px);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
form.checkout_coupon .button:hover {
  background: #d4af37;
  color: #0c3b2e;
}

/* Returning Customer Login Notice & Logged-in Badge */
.mtts-checkout-login-notice {
  background: linear-gradient(135deg, rgba(12, 59, 46, 0.05) 0%, rgba(212, 175, 55, 0.08) 100%) !important;
  border: 1.5px solid rgba(212, 175, 55, 0.35) !important;
  border-radius: 14px !important;
  padding: 16px 22px !important;
  margin-bottom: 24px !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  box-sizing: border-box !important;
  box-shadow: 0 4px 16px rgba(12, 59, 46, 0.04) !important;
}
.mtts-login-notice-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #0c3b2e;
  color: #d4af37;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mtts-login-notice-icon svg {
  width: 22px;
  height: 22px;
}
.mtts-login-notice-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex: 1;
  flex-wrap: wrap;
}
.mtts-login-notice-text .notice-title {
  font-size: 15px;
  font-weight: 750;
  color: #0c3b2e;
  margin-bottom: 2px;
}
.mtts-login-notice-text .notice-sub {
  font-size: 13px;
  color: #64748b;
  line-height: 1.4;
}
.btn-checkout-login {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #0c3b2e !important;
  color: #ffffff !important;
  padding: 10px 20px !important;
  border-radius: 8px 18px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 12px rgba(12, 59, 46, 0.15) !important;
}
.btn-checkout-login svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}
.btn-checkout-login:hover {
  background: #d4af37 !important;
  color: #0c3b2e !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.3) !important;
}
.btn-checkout-login:hover svg {
  transform: translateX(3px);
}

.mtts-checkout-logged-in-badge {
  background: #f0fdf4 !important;
  border: 1.5px solid #bbf7d0 !important;
  border-radius: 12px !important;
  padding: 12px 18px !important;
  margin-bottom: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  box-sizing: border-box !important;
}
.logged-in-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #166534;
}
.logged-in-user-info svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #16a34a;
}
.logged-in-logout-link {
  font-size: 13px;
  font-weight: 650;
  color: #dc2626;
  text-decoration: underline;
  transition: opacity 0.2s;
}
.logged-in-logout-link:hover {
  opacity: 0.8;
}

/* Inline Notice when email belongs to existing user */
.mtts-email-exists-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8px;
  padding: 10px 14px;
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  border-radius: 8px;
  font-size: 13px;
  color: #1e40af;
  line-height: 1.4;
  box-sizing: border-box;
  animation: mttsFadeIn 0.25s ease;
}
.mtts-email-exists-notice svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  color: #2563eb;
}
.mtts-notice-login-link {
  font-weight: 700;
  color: #0c3b2e;
  text-decoration: underline;
}
.mtts-notice-login-link:hover {
  color: #d4af37;
}

@keyframes mttsFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 2-Column Checkout Layout */
.mtts-checkout-layout,
form.woocommerce-checkout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.22fr) minmax(390px, 1fr) !important;
  gap: 36px !important;
  align-items: start !important;
}

/* Clean up misaligned dotted lines in order confirmation summary */
.woocommerce-order,
.woocommerce-checkout-review-order {
  border: none !important;
  outline: none !important;
}
/* Remove stray dotted/dashed vertical separators next to order meta labels */
.woocommerce-order *,
.woocommerce-checkout-review-order * {
  border-right-style: none !important;
  border-left-style: none !important;
}
/* Remove any inline dotted/dashed borders */
.woocommerce-order [style*="dotted"],
.woocommerce-checkout-review-order [style*="dotted"],
.woocommerce-order [style*="dashed"],
.woocommerce-checkout-review-order [style*="dashed"] {
  border: none !important;
  outline: none !important;
}

/* Fallback handling if native template renders */
#customer_details.col2-set {
  grid-column: 1 / 2 !important;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  display: block !important;
}
#customer_details.col2-set .col-1,
#customer_details.col2-set .col-2 {
  float: none !important;
  width: 100% !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
}
form.woocommerce-checkout > #order_review_heading {
  display: none !important;
}
form.woocommerce-checkout > #order_review {
  grid-column: 2 / 3 !important;
  grid-row: 1 / 3 !important;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

/* Left Column Cards */
.mtts-checkout-main-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mtts-checkout-card {
  background: #ffffff !important;
  border: 1.5px solid rgba(12, 59, 46, 0.09) !important;
  border-radius: 16px !important;
  padding: 32px !important;
  box-shadow: 0 6px 24px -2px rgba(12, 59, 46, 0.05) !important;
  box-sizing: border-box;
}

/* Eliminate nested card wrapper borders & paddings inside custom checkout cards */
.mtts-billing-fields-wrap .woocommerce-billing-fields,
.mtts-additional-fields-wrap .woocommerce-additional-fields {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
}

/* Hide duplicate WooCommerce h3 headings when our custom card heading exists */
.mtts-billing-fields-wrap .woocommerce-billing-fields > h3,
.mtts-additional-fields-wrap .woocommerce-additional-fields > h3 {
  display: none !important;
}

/* Card Header with Icon */
.mtts-card-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1.5px solid #f1f5f9;
}
.mtts-card-heading .heading-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #0c3b2e;
}
.mtts-card-heading .heading-icon svg {
  width: 22px;
  height: 22px;
}
.mtts-card-heading h2,
.woocommerce-billing-fields > h3,
.woocommerce-additional-fields > h3 {
  font-size: 20px;
  font-weight: 750;
  color: #0c3b2e;
  margin: 0 0 4px;
  line-height: 1.3;
}
.mtts-card-heading p {
  font-size: 13.5px;
  color: #64748b;
  margin: 0;
}

/* Billing Details Grid */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 18px 20px !important;
  box-sizing: border-box;
}
.form-row {
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: none !important;
  display: flex !important;
  flex-direction: column !important;
}
.form-row.hidden,
.form-row[style*="display: none"],
.form-row[style*="display:none"] {
  display: none !important;
}
#billing_first_name_field {
  order: 1 !important;
  grid-column: span 1 !important;
  width: 100% !important;
}
#billing_last_name_field {
  order: 2 !important;
  grid-column: span 1 !important;
  width: 100% !important;
}
#billing_email_field {
  order: 3 !important;
  grid-column: span 1 !important;
  width: 100% !important;
}
#billing_phone_field {
  order: 4 !important;
  grid-column: span 1 !important;
  width: 100% !important;
}
#billing_country_field {
  order: 5 !important;
  grid-column: 1 / -1 !important;
  width: 100% !important;
}
#billing_company_field {
  order: 6 !important;
  grid-column: 1 / -1 !important;
  width: 100% !important;
}
#billing_address_1_field {
  order: 7 !important;
  grid-column: 1 / -1 !important;
  width: 100% !important;
}
#billing_address_2_field {
  order: 8 !important;
  grid-column: 1 / -1 !important;
  width: 100% !important;
}
#billing_city_field {
  order: 9 !important;
  grid-column: span 1 !important;
  width: 100% !important;
}
#billing_postcode_field {
  order: 10 !important;
  grid-column: span 1 !important;
  width: 100% !important;
}
#billing_state_field {
  display: none !important;
}
#order_comments_field {
  grid-column: 1 / -1 !important;
  width: 100% !important;
}
.form-row label {
  font-size: 13px !important;
  font-weight: 650 !important;
  color: #0c3b2e !important;
  margin-bottom: 7px !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px;
  line-height: 1.3 !important;
}
.form-row label .required {
  color: #dc2626 !important;
  font-weight: 700;
  text-decoration: none !important;
}
.form-row .optional {
  color: #94a3b8;
  font-weight: 500;
  font-size: 12px;
}
.woocommerce-input-wrapper {
  display: block !important;
  width: 100% !important;
}

/* Inputs & Form Controls */
.form-row input.input-text,
.form-row select,
.woocommerce-checkout textarea,
.select2-container--default .select2-selection--single {
  width: 100% !important;
  height: 48px !important;
  padding: 10px 14px !important;
  font-size: 14.5px !important;
  font-family: inherit !important;
  color: #0f172a !important;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 10px !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease !important;
  box-sizing: border-box !important;
  outline: none !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}
.woocommerce-checkout textarea {
  height: auto !important;
  min-height: 96px !important;
  resize: vertical;
  line-height: 1.5;
}
.form-row input.input-text:focus,
.form-row select:focus,
.woocommerce-checkout textarea:focus,
.select2-container--default.select2-container--open .select2-selection--single {
  border-color: #0c3b2e !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25) !important;
}
/* Keep Select2's visually-hidden helper select at 1px. The 100% width rule
   above would otherwise stretch it (it is position:absolute) and create a
   stray horizontal scrollbar across the checkout page. */
.form-row select.select2-hidden-accessible {
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  border: 0 !important;
}

/* Enforce Theme Typography across all WooCommerce & Select2 Elements */
.checkout-section,
.checkout-section *,
.woocommerce,
.woocommerce *,
.woocommerce-checkout,
.woocommerce-checkout *,
.select2-container,
.select2-container *,
.select2-dropdown,
.select2-dropdown *,
.select2-search__field,
.select2-results__option,
.select2-results__options {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* Select2 Country Dropdown Styling */
.select2-container {
  width: 100% !important;
}
.select2-container--default .select2-selection--single {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: normal !important;
  padding: 0 !important;
  color: #0f172a !important;
  font-size: 14.5px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 46px !important;
  top: 0 !important;
  right: 12px !important;
}
.select2-dropdown {
  background: #ffffff !important;
  border: 1.5px solid #0c3b2e !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 36px rgba(12, 59, 46, 0.16) !important;
  overflow: hidden !important;
  z-index: 999999 !important;
  margin-top: 4px !important;
}
.select2-container--default .select2-search--dropdown {
  padding: 10px 12px !important;
  background: #f8fafc !important;
  border-bottom: 1.5px solid #e2e8f0 !important;
  box-sizing: border-box !important;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
  width: 100% !important;
  height: 42px !important;
  padding: 8px 14px !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  outline: none !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  color: #0f172a !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}
.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  border-color: #0c3b2e !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25) !important;
}
.select2-container--default .select2-results__options {
  max-height: 250px !important;
  padding: 8px !important;
  overflow-y: auto !important;
}
.select2-container--default .select2-results__option {
  padding: 11px 16px !important;
  font-size: 14px !important;
  font-weight: 550 !important;
  color: #1e293b !important;
  border-radius: 8px !important;
  margin-bottom: 2px !important;
  cursor: pointer !important;
  transition: background 0.15s ease, color 0.15s ease !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option:hover {
  background-color: #0c3b2e !important;
  color: #ffffff !important;
}
.select2-container--default .select2-results__option[aria-selected="true"] {
  background-color: rgba(212, 175, 55, 0.2) !important;
  color: #0c3b2e !important;
  font-weight: 750 !important;
}

/* Account Fields & "Create an account?" checkbox */
.woocommerce-account-fields {
  margin-top: 32px !important;
  padding-top: 26px !important;
  border-top: 1.5px solid #e2e8f0 !important;
  width: 100% !important;
  clear: both !important;
  display: block !important;
  box-sizing: border-box !important;
  text-align: left !important;
}
.woocommerce-account-fields p.form-row.create-account {
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: left !important;
  width: 100% !important;
  float: none !important;
}
.woocommerce-account-fields label.checkbox,
.woocommerce-account-fields label.woocommerce-form__label-for-checkbox {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  cursor: pointer !important;
  font-size: 15px !important;
  font-weight: 650 !important;
  color: #0c3b2e !important;
  margin: 0 !important;
  padding: 0 !important;
  user-select: none !important;
  line-height: 1.4 !important;
  text-align: left !important;
}
.woocommerce-account-fields input[type="checkbox"]#createaccount,
.woocommerce-account-fields input.input-checkbox {
  accent-color: #0c3b2e !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer !important;
  border-radius: 4px !important;
  flex-shrink: 0 !important;
  vertical-align: middle !important;
}
.woocommerce-account-fields div.create-account {
  margin-top: 18px !important;
  padding: 20px 22px !important;
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
}
.woocommerce-account-fields div.create-account p {
  font-size: 13.5px !important;
  color: #64748b !important;
  margin: 0 0 16px !important;
  line-height: 1.5 !important;
}

/* RIGHT COLUMN: Sticky Order Summary & Payment Card */
.mtts-checkout-sidebar-col {
  position: relative;
}
.mtts-summary-card {
  position: static !important;
  max-height: none !important;
  overflow-y: visible !important;
  background: #ffffff !important;
  border: 1.5px solid rgba(12, 59, 46, 0.09) !important;
  border-radius: 16px !important;
  padding: 28px 24px !important;
  box-shadow: 0 8px 30px rgba(12, 59, 46, 0.08) !important;
  box-sizing: border-box;
}
.mtts-summary-card #order_review {
  position: static !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
form.woocommerce-checkout > #order_review {
  position: sticky !important;
  top: 32px !important;
  background: #ffffff !important;
  border: 1.5px solid rgba(12, 59, 46, 0.09) !important;
  border-radius: 16px !important;
  padding: 28px 24px !important;
  box-shadow: 0 8px 30px rgba(12, 59, 46, 0.08) !important;
  box-sizing: border-box;
}
body.admin-bar form.woocommerce-checkout > #order_review {
  top: 68px !important;
}

/* Sticky Header */
.mtts-summary-header #order_review_heading,
.mtts-summary-card #order_review_heading {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 20px !important;
  font-weight: 750 !important;
  color: #0c3b2e !important;
  margin: 0 0 20px !important;
  padding-bottom: 16px !important;
  border-bottom: 1.5px solid #f1f5f9 !important;
}
.mtts-summary-header .icon {
  width: 22px;
  height: 22px;
  stroke: #d4af37;
  color: #d4af37;
  flex-shrink: 0;
}

/* Order Review Table */
table.woocommerce-checkout-review-order-table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin-bottom: 20px !important;
  border: none !important;
}
table.woocommerce-checkout-review-order-table th,
table.woocommerce-checkout-review-order-table td {
  padding: 14px 0 !important;
  border: none !important;
  border-bottom: 1px solid #f1f5f9 !important;
  font-size: 14px !important;
  vertical-align: top !important;
}
table.woocommerce-checkout-review-order-table thead th {
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: #64748b !important;
  padding-bottom: 12px !important;
  border-bottom: 1.5px solid #e2e8f0 !important;
}
table.woocommerce-checkout-review-order-table thead th.product-total {
  text-align: right !important;
}
table.woocommerce-checkout-review-order-table tbody .product-name {
  color: #0c3b2e !important;
  font-weight: 650 !important;
  line-height: 1.4 !important;
  padding-right: 14px !important;
}
table.woocommerce-checkout-review-order-table tbody .product-name strong.product-quantity {
  font-weight: 700 !important;
  color: #64748b !important;
  margin-left: 4px;
}
table.woocommerce-checkout-review-order-table tbody .product-total {
  text-align: right !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  color: #0c3b2e !important;
  white-space: nowrap !important;
}

/* Custom Line Item Metadata */
.wc-item-meta,
dl.variation {
  list-style: none !important;
  padding: 0 !important;
  margin: 8px 0 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}
.wc-item-meta li,
dl.variation dt,
dl.variation dd {
  font-size: 12px !important;
  color: #475569 !important;
  line-height: 1.45 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 5px !important;
  margin: 0 !important;
}
.wc-item-meta strong,
dl.variation dt {
  font-weight: 700 !important;
  color: #0c3b2e !important;
  min-width: 60px;
}
.wc-item-meta p {
  margin: 0 !important;
  display: inline !important;
}
/* Package Pill */
.wc-item-meta li:first-child p,
.wc-item-meta li:has(strong:first-child) p {
  background: rgba(212, 175, 55, 0.16) !important;
  color: #0c3b2e !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  display: inline-block !important;
}

/* Subtotal & Total Rows */
table.woocommerce-checkout-review-order-table tfoot .cart-subtotal th,
table.woocommerce-checkout-review-order-table tfoot .cart-subtotal td {
  padding: 12px 0 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #475569 !important;
}
table.woocommerce-checkout-review-order-table tfoot .cart-subtotal td {
  text-align: right !important;
  color: #0c3b2e !important;
}
table.woocommerce-checkout-review-order-table tfoot .order-total th {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #0c3b2e !important;
  border-top: 2px solid #0c3b2e !important;
  border-bottom: none !important;
  padding-top: 16px !important;
}
table.woocommerce-checkout-review-order-table tfoot .order-total td {
  text-align: right !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  color: #0c3b2e !important;
  border-top: 2px solid #0c3b2e !important;
  border-bottom: none !important;
  padding-top: 16px !important;
}

/* Scrollable Item List — only the ordered items scroll (column header, totals,
   payment and Place Order stay in place) so a long booking never stretches the
   summary column or the page. Rows become flex so header/totals/prices stay
   perfectly aligned while tbody scrolls. */
table.woocommerce-checkout-review-order-table,
table.woocommerce-checkout-review-order-table thead,
table.woocommerce-checkout-review-order-table tbody,
table.woocommerce-checkout-review-order-table tfoot {
  display: block !important;
  width: 100% !important;
}
table.woocommerce-checkout-review-order-table tr {
  display: flex !important;
  width: 100% !important;
  align-items: flex-start !important;
  gap: 4px !important;
}
table.woocommerce-checkout-review-order-table thead th:first-child,
table.woocommerce-checkout-review-order-table tfoot th:first-child {
  flex: 1 1 auto !important;
}
table.woocommerce-checkout-review-order-table tbody td:first-child {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
table.woocommerce-checkout-review-order-table thead th:last-child,
table.woocommerce-checkout-review-order-table tbody td:last-child,
table.woocommerce-checkout-review-order-table tfoot td:last-child {
  flex: 0 1 auto !important;
}
table.woocommerce-checkout-review-order-table tbody {
  max-height: clamp(240px, 40vh, 400px) !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}
table.woocommerce-checkout-review-order-table tbody::-webkit-scrollbar {
  width: 8px;
}
table.woocommerce-checkout-review-order-table tbody::-webkit-scrollbar-track {
  background: transparent;
}
table.woocommerce-checkout-review-order-table tbody::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 99px;
}
/* While the items list scrolls, keep the header/totals amounts aligned with
   the item prices (JS toggles the class and measures the real scrollbar
   width; 0 on overlay scrollbars so nothing is padded). */
table.woocommerce-checkout-review-order-table.mtts-items-scrolling thead th:last-child,
table.woocommerce-checkout-review-order-table.mtts-items-scrolling tfoot td:last-child {
  padding-right: var(--mtts-items-scrollbar-w, 0px) !important;
}

/* Payment Box */
#payment {
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 20px !important;
  margin: 20px 0 16px !important;
}
#payment ul.payment_methods {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 16px !important;
}
#payment ul.payment_methods li {
  margin-bottom: 12px !important;
  padding: 14px 16px !important;
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  transition: all 0.2s ease !important;
  cursor: pointer;
}
#payment ul.payment_methods li:last-child {
  margin-bottom: 0 !important;
}
#payment ul.payment_methods li:hover,
#payment ul.payment_methods li:has(input:checked) {
  border-color: #0c3b2e !important;
  background: #ffffff !important;
  box-shadow: 0 4px 14px rgba(12, 59, 46, 0.08) !important;
}
#payment ul.payment_methods input[type="radio"] {
  accent-color: #0c3b2e !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 8px 0 0 !important;
  vertical-align: middle !important;
  cursor: pointer;
}
#payment ul.payment_methods label {
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #0c3b2e !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  vertical-align: middle !important;
}
#payment div.payment_box {
  margin-top: 12px !important;
  padding: 12px 14px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-left: 3.5px solid #d4af37 !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  color: #475569 !important;
  line-height: 1.55 !important;
}
#payment div.payment_box::before,
#payment div.payment_box::after {
  display: none !important;
}

/* Terms & Place Order Button */
.woocommerce-terms-and-conditions-wrapper {
  margin-bottom: 16px !important;
  font-size: 12.5px !important;
  color: #64748b !important;
  line-height: 1.5 !important;
}
.woocommerce-terms-and-conditions-wrapper a {
  color: #0c3b2e !important;
  font-weight: 650;
  text-decoration: underline;
}
.woocommerce-privacy-policy-text p {
  margin: 0 0 10px !important;
  font-size: 12px !important;
  color: #64748b !important;
  line-height: 1.5 !important;
}
#payment #place_order {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 54px !important;
  padding: 14px 28px !important;
  background: var(--gold, #d4af37) !important;
  color: var(--navy, #0c3b2e) !important;
  border: 1.5px solid transparent !important;
  border-radius: var(--radius-btn, 9px 28px) !important;
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  cursor: pointer !important;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.38) !important;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
#payment #place_order:hover {
  background: var(--navy, #0c3b2e) !important;
  color: var(--gold, #d4af37) !important;
  border-color: var(--navy, #0c3b2e) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px rgba(12, 59, 46, 0.28) !important;
}
#payment #place_order:active {
  transform: translateY(0) !important;
}

/* Trust Badges in Checkout Sidebar */
.mtts-checkout-trust-box {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1.5px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mtts-checkout-trust-box .trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mtts-checkout-trust-box .trust-item .icon {
  width: 22px;
  height: 22px;
  color: #0c3b2e;
  stroke: #0c3b2e;
  flex-shrink: 0;
}
.mtts-checkout-trust-box .trust-item strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0c3b2e;
  line-height: 1.3;
}
.mtts-checkout-trust-box .trust-item span {
  display: block;
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.3;
}

/* Spinner Animation */
.mtts-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(12, 59, 46, 0.3);
  border-radius: 50%;
  border-top-color: #0c3b2e;
  animation: mttsSpin 0.6s linear infinite;
  margin-left: 8px;
  flex-shrink: 0;
}
@keyframes mttsSpin {
  to { transform: rotate(360deg); }
}

/* Responsive Adaptations */
@media (max-width: 1024px) {
  .mtts-checkout-layout,
  form.woocommerce-checkout {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .mtts-summary-card,
  #order_review {
    position: static !important;
    top: auto !important;
    max-height: none !important;
    overflow-y: visible !important;
  }
  form.woocommerce-checkout > #order_review {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }
}
@media (max-width: 640px) {
  .woocommerce-billing-fields__field-wrapper,
  .woocommerce-additional-fields__field-wrapper {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  #billing_first_name_field,
  #billing_last_name_field,
  #billing_email_field,
  #billing_phone_field,
  #billing_city_field,
  #billing_postcode_field {
    grid-column: 1 / -1 !important;
  }
  .mtts-checkout-card,
  .mtts-summary-card,
  #order_review {
    padding: 22px 18px !important;
    border-radius: 12px !important;
  }
  .checkout-section {
    padding-top: 24px;
    padding-bottom: 48px;
  }
}

/* ==========================================================================
   Checkout Processing Loader — clean centred spinner chip (no screen wash)
   BlockUI sizes its overlay to the blocked element (form.checkout, order
   review, payment box…), which on tall mobile forms pushed the spinner far
   off-screen and tiled several green blobs over the page. Pin the overlay to
   the viewport, drop the tint/blur entirely and show one small white spinner
   chip dead-centre. Identical on desktop, tablet and mobile.
   ========================================================================== */
.blockUI.blockOverlay,
.woocommerce .blockUI.blockOverlay,
.woocommerce-checkout .blockUI.blockOverlay,
form.checkout .blockUI.blockOverlay,
#order_review .blockUI.blockOverlay,
.woocommerce-checkout-payment .blockUI.blockOverlay {
  position: fixed !important;
  inset: 0 !important;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-radius: 0 !important;
  opacity: 1 !important;
  z-index: 9999 !important;
  cursor: wait !important;
}

.blockUI.blockOverlay::before,
.woocommerce .blockUI.blockOverlay::before,
form.checkout .blockUI.blockOverlay::before {
  content: "" !important;
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  width: 60px !important;
  height: 60px !important;
  margin-top: -30px !important;
  margin-left: -30px !important;
  border: 4px solid rgba(12, 59, 46, 0.15) !important;
  border-top-color: #0c3b2e !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  box-shadow: 0 14px 34px rgba(12, 59, 46, 0.16), 0 3px 10px rgba(12, 59, 46, 0.1) !important;
  box-sizing: border-box !important;
  pointer-events: none !important;
  z-index: 10001 !important;
  animation: mttsOverlaySpin 0.8s linear infinite !important;
}

@keyframes mttsOverlaySpin {
  to { transform: rotate(360deg); }
}

.blockUI.blockMsg,
.woocommerce .blockUI.blockMsg {
  display: none !important;
}

@media (max-width: 640px) {
  .blockUI.blockOverlay::before,
  .woocommerce .blockUI.blockOverlay::before,
  form.checkout .blockUI.blockOverlay::before {
    width: 52px !important;
    height: 52px !important;
    margin-top: -26px !important;
    margin-left: -26px !important;
    border-width: 3.5px !important;
  }
}

/* =========================================================
   Universal Custom Dropdown UI Enhancement
   Replaces native browser OS popup menu with modern custom UI
   ========================================================= */

/* Visually hide native select while preserving DOM accessibility & form submission */
select[data-custom-select-ready] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.mtts-custom-select-wrap {
  position: relative;
  display: block;
  width: 100%;
  font-family: inherit;
  user-select: none;
}

/* Base Trigger Button */
.mtts-custom-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  background: #ffffff;
  border: 1px solid #c9d2d9;
  border-radius: 10px;
  color: var(--navy, #0c3b2e);
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.mtts-custom-select-trigger:hover {
  border-color: var(--navy, #0c3b2e);
  background: #fdfefe;
}

.mtts-custom-select-wrap.is-open .mtts-custom-select-trigger,
.mtts-custom-select-trigger:focus-visible {
  border-color: var(--navy, #0c3b2e);
  box-shadow: 0 0 0 3px rgba(12, 59, 46, 0.14);
}

.mtts-custom-select-label {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  line-height: 1.35;
  padding-bottom: 2px;
}

/* Chevron Icon */
.mtts-custom-select-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #64748b;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.mtts-chevron-icon {
  width: 16px;
  height: 16px;
}

.mtts-custom-select-wrap.is-open .mtts-custom-select-arrow {
  transform: rotate(180deg);
  color: var(--navy, #0c3b2e);
}

/* Dropdown Menu Panel */
.mtts-custom-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 99999;
  background: #ffffff;
  border: 1px solid rgba(12, 59, 46, 0.12);
  border-radius: 14px;
  box-shadow: 0 20px 42px -8px rgba(12, 59, 46, 0.22), 0 8px 18px -4px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.2s;
  overflow: hidden;
}

/* Open downwards */
.mtts-custom-select-wrap.is-open .mtts-custom-select-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Open upwards if near bottom of viewport */
.mtts-custom-select-wrap.open-up .mtts-custom-select-menu {
  top: auto;
  bottom: calc(100% + 6px);
  transform: translateY(8px) scale(0.98);
}
.mtts-custom-select-wrap.open-up.is-open .mtts-custom-select-menu {
  transform: translateY(0) scale(1);
}

.mtts-custom-select-menu-inner {
  max-height: 275px;
  overflow-y: auto;
  padding: 6px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}
.mtts-custom-select-menu-inner::-webkit-scrollbar {
  width: 5px;
}
.mtts-custom-select-menu-inner::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

/* Option Items */
.mtts-custom-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 9px;
  color: #334155;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  outline: none;
}

.mtts-custom-select-option:hover,
.mtts-custom-select-option.is-focused {
  background: rgba(12, 59, 46, 0.06);
  color: var(--navy, #0c3b2e);
  font-weight: 600;
  transform: translateX(2px);
}

.mtts-custom-select-option.is-selected {
  background: var(--navy, #0c3b2e);
  color: #ffffff;
  font-weight: 600;
}

.mtts-custom-select-option.is-selected:hover {
  background: #092c22;
  color: #ffffff;
}

.mtts-custom-select-option.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* Checkmark Icon */
.mtts-option-check {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0;
  color: var(--gold, #d4af37);
  transition: opacity 0.15s ease;
}

.mtts-custom-select-option.is-selected .mtts-option-check {
  opacity: 1;
}

/* =========================================================
   Context-Specific Styling:
   ========================================================= */

/* 1. Field Select (e.g. Team Training Form - matching input border-radius: 8px 21px 8px 21px) */
.mtts-custom-select-wrap.is-field-select .mtts-custom-select-trigger {
  border-radius: 8px 21px 8px 21px;
  padding: 13px 16px;
  border: 1px solid #a4aab0;
}

/* 2. Contact Form with Input Icon (.cm-input-icon) */
.mtts-custom-select-wrap.is-cm-icon-select .mtts-custom-select-trigger {
  padding-left: 42px;
}

/* 3. Single Course City Select (Compact Pill in Widget) */
.mtts-custom-select-wrap.is-city-select {
  width: auto;
  min-width: 110px;
}
.mtts-custom-select-wrap.is-city-select .mtts-custom-select-trigger {
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 20px;
  border-color: #cbd5e1;
  color: #334155;
  gap: 6px;
  box-shadow: none;
}
.mtts-custom-select-wrap.is-city-select .mtts-chevron-icon {
  width: 12px;
  height: 12px;
}
.mtts-custom-select-wrap.is-city-select .mtts-custom-select-menu {
  min-width: 170px;
  right: 0;
  left: auto;
}
.mtts-custom-select-wrap.is-city-select .mtts-custom-select-option {
  padding: 7px 10px;
  font-size: 12px;
}
.mtts-custom-select-wrap.is-city-select .mtts-option-check {
  width: 14px;
  height: 14px;
}

/* 4. Course Archive Sort Select */
.mtts-custom-select-wrap.is-sort-select {
  width: auto;
  /* Wide enough for the longest option label ("Price: low to high") so the
     menu can match the trigger width exactly without wrapping options. */
  min-width: 200px;
}
.mtts-custom-select-wrap.is-sort-select .mtts-custom-select-trigger {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 8px;
}
/* The menu keeps the base rule's left: 0 / right: 0, so it always inherits
   the exact width of the trigger — edges stay flush on desktop, tablet and
   mobile (previously it was 200px+ right-aligned against a 185px trigger,
   which made the trigger look shifted to the right). */
@media (max-width: 768px) {
  .results-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding-left: 4px;
  }
  .mtts-custom-select-wrap.is-sort-select {
    min-width: 200px;
    max-width: 100%;
  }
}

/* 5. My Account ? My Favourites list */
.mtts-fav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.mtts-fav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}
.mtts-fav-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}
.mtts-fav-link {
  font-weight: 600;
  color: #0c3b2e;
  text-decoration: none;
}
.mtts-fav-link:hover {
  text-decoration: underline;
}
.mtts-fav-remove {
  margin-left: auto;
  color: #64748b;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}
.mtts-fav-remove:hover {
  color: #b91c1c;
  text-decoration: underline;
}
@media (max-width: 575px) {
  .mtts-fav-item {
    flex-wrap: wrap;
  }
  .mtts-fav-remove {
    margin-left: 0;
    width: 100%;
  }
}