:root {
  --blue-soft: #025295;
  --blue-light: #025295;
  --blue-footer: #025295;
  --brand-green: #A0D424;
  --ink: #222833;
  --muted: #5f6672;
  --line: #ced4dd;
  --motion-fast: 220ms;
  --motion-base: 520ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Century Gothic", "Apple Gothic", Futura, "Trebuchet MS", sans-serif;
  color: var(--ink);
  background: #ffffff;
}

.page-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  background: #ffffff;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--motion-base) var(--ease-out),
    transform var(--motion-base) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid #d9dde5;
  padding: 8px 0 6px;
  position: relative;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.site-logo {
  height: 52px;
  width: auto;
  display: block;
}

.header-right {
  text-align: right;
}

.header-meta {
  font-size: 12px;
  color: #687387;
  margin-bottom: 6px;
}
.header-meta a {
  color: inherit;
  text-decoration: none;
  transition: color var(--motion-fast) ease;
}
.header-meta a:hover {
  color: var(--blue-soft);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}

.top-nav a {
  text-decoration: none;
  font-size: 13px;
  color: #515c6f;
  transition: color var(--motion-fast) ease;
}

.top-nav a:hover {
  color: #025295;
}

.top-nav .nav-pill {
  border: 1px solid var(--brand-green);
  border-radius: 999px;
  padding: 4px 14px;
  color: #025295;
  background: rgba(160, 212, 36, 0.2);
  cursor: pointer;
}

.hero-section {
  position: relative;
  background-color: var(--blue-soft);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  padding: 60px 0;
  overflow: hidden;
}

.hero-blend-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #025295 0%,
    #025295 42%,
    rgba(2, 82, 149, 0.82) 58%,
    rgba(2, 82, 149, 0.18) 78%,
    rgba(2, 82, 149, 0.0) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: rgba(160, 212, 36, 0.95);
  margin-bottom: 8px;
}

.hero-copy {
  max-width: 55%;
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
}

.hero-copy p {
  margin: 0 0 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.88);
  line-height: 1.6;
}

.hero-btn {
  display: inline-block;
  border-radius: 999px;
  border: 2px solid var(--brand-green);
  background: var(--brand-green);
  color: #1a2e00;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 22px;
  margin-top: 20px;
  transition:
    transform var(--motion-fast) var(--ease-out),
    box-shadow var(--motion-fast) ease;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}



.quick-links-section {
  padding: 16px 0;
}

.quick-link-card {
  display: flex;
  height: 253px;
  width: 100%;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  background-color: var(--blue-soft);
  background-size: cover;
  background-position: center;
  border: 2px solid #000000; /* Black border */
  position: relative;
  overflow: hidden;
  letter-spacing: 0.03em;
  transition:
    transform var(--motion-fast) var(--ease-out),
    box-shadow var(--motion-fast) ease;
}

.quick-link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 26px rgba(1, 27, 58, 0.25);
}

.quick-link-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(2, 82, 149, 0.62);
  border-radius: 8px;
}

.quick-link-card span {
  position: relative;
  z-index: 1;
}

.intro-copy-section {
  padding: 40px 0 32px;
}

.intro-copy-section p {
  margin: 0 auto;
  max-width: 700px;
  text-align: center;
  color: #4b5567;
  font-size: 16px;
  line-height: 1.7;
}

.commitment-section {
  padding: 48px 0 52px;
}

.commitment-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.commitment-media-wrap {
  position: relative;
  width: 386px;
  height: 253px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
}

.commitment-media-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(2, 82, 149, 0.45);
  border-radius: 10px;
}

.commitment-media-img {
  width: 386px;
  height: 253px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  border: 2px solid #000; /* Black border like quick-link-card */
  box-sizing: border-box;
}



.commitment-copy .eyebrow {
  margin-bottom: 10px;
  color: #7d8a9f;
  font-size: 13px;
}

.commitment-copy h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.35;
  color: #394153;
}

.about-btn {
  border-radius: 999px;
  border-color: var(--brand-green);
  background: var(--brand-green);
  color: #083761;
  font-size: 14px;
  padding: 8px 24px;
  margin-top: 18px;
  transition:
    transform var(--motion-fast) var(--ease-out),
    box-shadow var(--motion-fast) ease;
}

.about-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
}

.insights-section {
  background: var(--blue-soft);
  padding: 48px 0 56px;
}

.container-md {
  max-width: 1180px;
}

.section-title {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.insights-top-row {
  margin-bottom: 18px;
}

.insights-tabs {
  gap: 12px;
}

.insights-tabs .nav-link {
  padding: 0;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  letter-spacing: 0.09em;
  font-weight: 600;
}

.insights-tabs .nav-link.active {
  color: var(--brand-green);
}

.insights-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.insights-scroll-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--brand-green);
  background: rgba(160, 212, 36, 0.2);
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform var(--motion-fast) var(--ease-out),
    background var(--motion-fast) ease,
    color var(--motion-fast) ease;
}

.insights-scroll-btn:hover {
  background: var(--brand-green);
  color: #083761;
}

.view-all-btn {
  border-radius: 999px;
  border: 1px solid var(--brand-green);
  color: #083761;
  background: var(--brand-green);
  font-size: 14px;
  padding: 8px 20px;
  transition:
    transform var(--motion-fast) var(--ease-out),
    box-shadow var(--motion-fast) ease;
}

.view-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.insights-cards-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 8px;
}
.insights-cards-row::-webkit-scrollbar { display: none; }

.insights-cards-row::-webkit-scrollbar {
  display: none;
}

.insights-item {
  flex: 0 0 332px;
}

.insight-card {
  background: #edf0f4;
  border: 1px solid rgba(80, 90, 110, 0.16);
  border-radius: 8px;
  padding: 10px;
  min-height: 326px;
  display: flex;
  flex-direction: column;
  transition:
    transform var(--motion-fast) var(--ease-out),
    box-shadow var(--motion-fast) ease;
}

.insight-card:hover {
  box-shadow: 0 14px 28px rgba(0, 18, 41, 0.25);
}

.thumb-wrap {
  position: relative;
  height: 174px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.thumb-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(2, 82, 149, 0.45);
}

.thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-meta-row {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #6a7381;
  font-size: 12px;
}

.tag {
  border: 1px solid var(--brand-green);
  padding: 1px 8px;
  border-radius: 10px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #025295;
  background: rgba(160, 212, 36, 0.2);
}

.card-copy {
  margin: 10px 0 14px;
  font-size: 14px;
  line-height: 1.45;
  color: #333b48;
  flex-grow: 1;
}

.read-more-btn {
  align-self: flex-start;
  border-radius: 99px;
  border-color: var(--brand-green);
  color: #025295;
  background: rgba(160, 212, 36, 0.2);
  font-size: 12px;
  padding: 4px 14px;
  transition:
    background var(--motion-fast) ease,
    transform var(--motion-fast) var(--ease-out);
}

.read-more-btn:hover {
  background: var(--brand-green);
  transform: translateY(-1px);
}

.testimonials-section {
  background: #ffffff;
  padding: 56px 0 60px;
  border-top: 3px solid var(--brand-green);
}

.testimonial-title {
  margin-bottom: 32px;
  color: var(--blue-soft);
}

/* Carousel wrapper */
.testimonial-carousel {
  position: relative;
}

.testimonial-track {
  position: relative;
  min-height: 220px;
  overflow: hidden;
}

/* Each slide */
.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transform: translateX(48px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.testimonial-slide.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.testimonial-slide.slide-out-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.testimonial-slide.slide-in-right {
  opacity: 0;
  transform: translateX(48px);
}

.testimonial-slide.slide-out-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.testimonial-slide.slide-in-left {
  opacity: 0;
  transform: translateX(-48px);
}

.testimonial-copy {
  font-size: 17px;
  line-height: 1.8;
  color: #394153;
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
  padding-left: 40px;
  max-width: 820px;
}

.testimonial-copy::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 72px;
  line-height: 1;
  color: var(--brand-green);
  font-style: normal;
}

.testimonial-author {
  font-size: 15px;
  color: var(--blue-soft);
  font-weight: 700;
  padding-left: 40px;
}

.testimonial-org {
  font-size: 13px;
  color: #5f6672;
  padding-left: 40px;
  margin-bottom: 0;
}

/* Controls row */
.testimonial-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.testimonial-btn {
  background: none;
  border: 2px solid var(--blue-soft);
  color: var(--blue-soft);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.testimonial-btn:hover {
  background: var(--blue-soft);
  color: #ffffff;
}

.testimonial-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c8d4df;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  border: none;
  padding: 0;
  flex-shrink: 0;
}

.testimonial-dot.active {
  background: var(--blue-soft);
  transform: scale(1.3);
}

.contact-strip {
  background: #ffffff;
  padding: 40px 0;
  color: #1d2f46;
  border-top: 2px solid var(--brand-green);
  border-bottom: 2px solid var(--brand-green);
}

.contact-strip h3 {
  font-size: 26px;
  font-weight: 600;
  color: var(--blue-soft);
}

.contact-btn {
  border-radius: 999px;
  padding: 10px 28px;
  font-size: 15px;
  border-color: var(--brand-green);
  background: var(--brand-green);
  color: #083761;
  transition:
    transform var(--motion-fast) var(--ease-out),
    box-shadow var(--motion-fast) ease;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.2);
}

.updates-section {
  background: var(--blue-soft);
  padding: 56px 0 60px;
}

.updates-section h4 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
}

.updates-section p {
  margin: 12px auto 24px;
  max-width: 680px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
}

.updates-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}

.updates-form .form-control {
  border-radius: 999px;
  border-color: var(--brand-green);
  height: 46px;
  font-size: 15px;
  padding: 0 20px;
}

.updates-form .btn {
  border-radius: 999px;
  font-size: 15px;
  height: 46px;
  min-width: 100px;
  border-color: var(--brand-green);
  background: var(--brand-green);
  color: #083761;
  font-weight: 600;
  transition:
    transform var(--motion-fast) var(--ease-out),
    box-shadow var(--motion-fast) ease;
}

.updates-form .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .reveal-on-scroll.is-visible,
  .hero-btn,
  .quick-link-card,
  .about-btn,
  .insight-card,
  .insights-scroll-btn,
  .view-all-btn,
  .read-more-btn,
  .contact-btn,
  .updates-form .btn {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

@media (max-width: 991.98px) {
  .brand {
    font-size: 30px;
  }

  .top-nav {
    flex-wrap: wrap;
    gap: 8px;
  }

  .hero-copy h1 {
    font-size: 26px;
  }

  .quick-link-card {
    min-height: 74px;
  }

  .section-title {
    font-size: 18px;
  }

  .insights-top-row {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 16px;
  }

  .insights-controls {
    width: 100%;
    justify-content: flex-start;
  }

  .insights-item {
    flex: 0 0 300px;
  }

  .contact-strip h3 {
    font-size: 18px;
  }

  .testimonial-copy {
    font-size: 14px;
  }

  .testimonial-track {
    min-height: 260px;
  }
}

@media (max-width: 767.98px) {
  .header-inner,
  .hero-inner,
  .commitment-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-media-placeholder,
  .commitment-media-placeholder {
    width: 100%;
  }

  .quick-links-section .col-4 {
    width: 100%;
  }

  .testimonials-section {
    padding-top: 30px;
  }

  .testimonial-copy {
    font-size: 13px;
    line-height: 1.7;
  }

  .contact-strip .container-md {
    flex-direction: column;
  }

  .contact-strip h3 {
    text-align: center;
    font-size: 15px;
  }

  .updates-section h4 {
    font-size: 14px;
  }

  .updates-form {
    flex-direction: column;
  }

  .insights-tabs {
    flex-wrap: wrap;
  }

  .insights-item {
    flex: 0 0 88vw;
  }
}


/* ============================================================ */
/* Qualifications Page                                          */
/* ============================================================ */

:root {
  --quals-blue-tint: #e3edf7;
  --quals-blue-tint-2: #c9dbed;
  --quals-dark: #083761;
  --quals-dark-deep: #052b4d;
}

.top-nav a.active {
  color: var(--brand-green);
  font-weight: 700;
}

/* Breadcrumb */
.breadcrumb-bar {
  background: var(--quals-blue-tint);
  padding: 14px 0;
  border-bottom: 1px solid rgba(2, 82, 149, 0.08);
}
.crumbs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink);
}
.crumbs a {
  color: var(--ink);
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--blue-soft);
  text-decoration: underline;
}
.crumbs .sep {
  color: #7a8597;
  font-size: 14px;
}
.crumbs li[aria-current="page"] {
  color: #4a5468;
}

/* Quals hero */
.quals-hero {
  background-color: var(--quals-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.quals-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--quals-dark) 0%,
    var(--quals-dark) 38%,
    rgba(8, 55, 97, 0.88) 55%,
    rgba(8, 55, 97, 0.55) 78%,
    rgba(8, 55, 97, 0.25) 100%
  );
  pointer-events: none;
  z-index: 1;
}
.quals-hero::before {
  content: none;
}
.quals-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 32px;
  padding: 72px 0;
  z-index: 3;
}
.quals-hero-copy h1 {
  font-size: 30px;
  font-weight: 600;
  margin: 0 0 14px;
  letter-spacing: 0.01em;
}
.quals-hero-copy p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.86);
  max-width: 520px;
  margin: 0 0 22px;
}
.quals-hero-image {
  display: flex;
  justify-content: center;
}

/* Image placeholders (mockup style) */
.image-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
}
.image-placeholder-lg {
  width: 78px;
  height: 78px;
  border-radius: 8px;
}

/* Pill buttons */
.pill-btn {
  border-radius: 999px;
  padding: 9px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform var(--motion-fast) var(--ease-out), box-shadow var(--motion-fast) ease, background var(--motion-fast) ease, color var(--motion-fast) ease;
  cursor: pointer;
}
.pill-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 14, 36, 0.18);
}
.pill-btn-outline {
  border: 1.5px solid rgba(255,255,255,0.85);
  background: transparent;
  color: #fff;
}
.pill-btn-outline:hover {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: var(--quals-dark);
}
.pill-btn-dark {
  border: 1.5px solid var(--quals-dark);
  background: var(--quals-dark);
  color: #fff;
}
.pill-btn-dark:hover {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: var(--quals-dark);
}

/* Pathways section */
.pathways-section {
  background: var(--quals-blue-tint);
  padding: 52px 0;
}
.lead-line {
  font-size: 16px;
  color: var(--ink);
  margin: 0 0 40px;
}
.pathway-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 36px;
}
.pathway-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.pathway-item:hover h4 { color: var(--blue-soft); }
.pathway-icon {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  color: rgba(2, 82, 149, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  border: 2px solid #000;
  transition: transform var(--motion-fast) var(--ease-out), background var(--motion-fast) ease;
}
.pathway-item:hover .pathway-icon {
  transform: translateY(-3px);
  background: var(--brand-green);
  color: var(--quals-dark);
}
.pathway-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px;
}
.pathway-item p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  max-width: 220px;
}
.pathway-blurb {
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.7;
  max-width: 760px;
  margin: 22px auto;
}

/* Sectors grid */
.sectors-section {
  background: #fff;
  padding: 60px 0;
}
.section-heading {
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 36px;
}
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.sector-card {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  background: var(--quals-blue-tint-2);
  text-decoration: none;
  transition: transform var(--motion-fast) var(--ease-out), box-shadow var(--motion-fast) ease;
  min-height: 180px;
  border: 2px solid #000;
}
.sector-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(2, 82, 149, 0.18);
}
.sector-card-header {
  background: var(--quals-dark);
  color: #fff;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  min-height: 64px;
  display: flex;
  align-items: center;
  border-bottom: 3px solid var(--brand-green);
}
.sector-card-body {
  flex: 1;
  min-height: 160px;
  position: relative;
  background-color: var(--quals-blue-tint-2);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: filter var(--motion-fast) ease, transform var(--motion-fast) var(--ease-out);
}
.sector-card-body::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 82, 149, 0.55) 0%,
    rgba(8, 55, 97, 0.65) 100%
  );
  mix-blend-mode: multiply;
  pointer-events: none;
  transition: opacity var(--motion-fast) ease;
}
.sector-card:hover .sector-card-body {
  filter: brightness(1.05) saturate(1.05);
}
.sector-card:hover .sector-card-body::after {
  opacity: 0.75;
}

/* Development + Search Band */
.dev-search-band {
  background: var(--quals-blue-tint-2);
}
.dev-search-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.dev-panel {
  background: var(--quals-dark);
  color: #fff;
  padding: 48px 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.dev-panel h3 {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 14px;
}
.dev-panel p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  max-width: 360px;
  margin: 0 0 22px;
}
.search-panel {
  padding: 48px 56px;
  text-align: center;
  background: var(--quals-blue-tint-2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.search-panel h3 {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 18px;
  color: var(--ink);
}
.quals-search-form {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.search-input,
.search-select {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 13px;
  background: #fff;
  color: var(--ink);
  outline: none;
  width: 100%;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
.search-input:focus,
.search-select:focus {
  box-shadow: 0 0 0 2px var(--brand-green);
}
.search-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
}
.search-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}
.link-btn {
  background: transparent;
  border: 0;
  color: var(--ink);
  font-size: 13px;
  cursor: pointer;
  padding: 6px 4px;
}
.link-btn:hover {
  color: var(--blue-soft);
  text-decoration: underline;
}

/* Quals testimonials */
.quals-testimonials {
  background: var(--quals-blue-tint);
  padding: 56px 0;
}
.quals-test-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.quals-test-copy h2 {
  font-size: 26px;
  font-weight: 500;
  margin: 0 0 22px;
  color: var(--ink);
}
.quals-test-track {
  position: relative;
}
.quals-test-slide {
  display: none;
}
.quals-test-slide.active {
  display: block;
  animation: qualsFadeIn 0.4s var(--ease-out);
}
@keyframes qualsFadeIn {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}
.quals-test-quote {
  font-style: italic;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 22px;
  max-width: 720px;
}
.quals-test-author {
  font-size: 13.5px;
  color: var(--ink);
  margin: 0;
  font-weight: 600;
}
.quals-test-org {
  font-size: 13px;
  color: var(--muted);
  margin: 2px 0 0;
}
.quals-test-arrows {
  display: flex;
  gap: 18px;
  align-self: center;
  padding-right: 12px;
}
.arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background var(--motion-fast) ease, color var(--motion-fast) ease, transform var(--motion-fast) var(--ease-out);
}
.arrow-btn:hover {
  background: var(--brand-green);
  color: var(--quals-dark);
  transform: scale(1.05);
}

/* Updates consent */
.updates-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 640px;
  margin: 16px auto 0;
  line-height: 1.55;
  text-align: left;
}
.updates-consent input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--brand-green);
  cursor: pointer;
}

/* Footer */
.site-footer {
  background: #fff;
  border-top: 1px solid #e3e7ee;
  padding: 48px 0 24px;
  margin-top: 0;
  color: var(--ink);
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 0.7fr 1fr 1fr 1.3fr 1fr 0.8fr;
  gap: 28px;
  margin-bottom: 36px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-col h6 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink);
}
.footer-col a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: color var(--motion-fast) ease;
}
.footer-col a:hover {
  color: var(--blue-soft);
}
.footer-text {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 4px;
}
.footer-text a {
  color: inherit;
  text-decoration: none;
  transition: color var(--motion-fast, 220ms) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}
.footer-text a:hover,
.footer-text a:focus {
  color: var(--brand-green);
  text-decoration: underline;
}
.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.footer-socials a {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--quals-blue-tint);
  color: var(--blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  transition: background var(--motion-fast) ease, color var(--motion-fast) ease;
}
.footer-socials a:hover {
  background: var(--brand-green);
  color: var(--quals-dark);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid #e3e7ee;
  flex-wrap: wrap;
}
.footer-legal {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.footer-legal p {
  margin: 0 0 4px;
}
.legal-link {
  color: var(--ink);
  text-decoration: underline;
  font-size: 12px;
}
.footer-badges {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-badge-img {
  height: 96px;
  width: auto;
  display: block;
  transition: transform var(--motion-fast) var(--ease-out);
}
.footer-badge-img-wide {
  height: 72px;
}
.footer-badge-img:hover {
  transform: translateY(-2px);
}

/* Responsive — Qualifications page */
@media (max-width: 992px) {
  .quals-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 44px 0;
  }
  .quals-hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }
  .quals-hero-image {
    margin-top: 18px;
  }
  .pathway-row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 36px;
  }
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dev-search-inner {
    grid-template-columns: 1fr;
  }
  .dev-panel,
  .search-panel {
    padding: 40px 28px;
  }
  .quals-test-inner {
    grid-template-columns: 1fr;
  }
  .quals-test-arrows {
    justify-content: flex-end;
    padding-right: 0;
  }
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .quals-hero-copy h1 {
    font-size: 24px;
  }
  .pathway-row {
    grid-template-columns: 1fr;
  }
  .sectors-grid {
    grid-template-columns: 1fr;
  }
  .search-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .crumbs {
    font-size: 12px;
    gap: 6px;
  }
}



/* ============================================================ */
/* Centres & Support page                                       */
/* ============================================================ */

.centres-cards-section {
  background: #fff;
  padding: 60px 0;
}

.centres-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.centre-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  background-color: var(--quals-blue-tint-2);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform var(--motion-fast) var(--ease-out), box-shadow var(--motion-fast) ease;
}

.centre-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(2, 82, 149, 0.22);
}

.centre-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 82, 149, 0.62) 0%,
    rgba(8, 55, 97, 0.78) 100%
  );
  transition: background var(--motion-fast) ease;
}

.centre-card:hover .centre-card-overlay {
  background: linear-gradient(
    180deg,
    rgba(2, 82, 149, 0.5) 0%,
    rgba(8, 55, 97, 0.7) 100%
  );
}

.centre-card-title {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  padding: 24px 28px;
  letter-spacing: 0.01em;
  transition: color var(--motion-fast) ease;
}

.centre-card:hover .centre-card-title {
  color: var(--brand-green);
}

@media (max-width: 992px) {
  .centres-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .centre-card {
    min-height: 180px;
  }
  .centre-card-title {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .centres-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================================ */
/* Become a Centre page                                         */
/* ============================================================ */

.get-started-section {
  background: #fff;
  padding: 64px 0 48px;
}
.get-started-intro {
  max-width: 760px;
  margin: 0 auto 44px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}

.timeline-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  margin-bottom: 44px;
}
.timeline-step {
  position: relative;
  padding: 0 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.step-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--quals-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
  border: 3px solid var(--brand-green);
}
.step-line {
  position: absolute;
  top: 23px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--quals-dark);
  z-index: 1;
}
.step-line .step-arrow {
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--quals-dark);
  background: #fff;
  padding: 0 2px;
}
.timeline-step h4 {
  font-size: 17px;
  font-weight: 600;
  margin: 4px 0 10px;
  color: var(--ink);
}
.timeline-step p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  max-width: 280px;
}
.timeline-step a {
  color: var(--blue-soft);
  text-decoration: underline;
}

/* Download card */
.download-card {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid #e0e6ee;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(2, 82, 149, 0.08);
  max-width: 420px;
  text-align: left;
  margin-top: 8px;
}
.doc-icon {
  position: relative;
  flex-shrink: 0;
  color: var(--blue-soft);
}
.doc-tag {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-soft);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 2px;
  letter-spacing: 0.04em;
}
.doc-meta {
  flex: 1;
  min-width: 0;
}
.doc-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.doc-name {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.doc-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--quals-dark);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--motion-fast) ease;
}
.doc-download:hover {
  color: var(--blue-soft);
}

/* Apply section */
.apply-section {
  background: #fff;
  padding: 24px 0 64px;
}
.apply-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.apply-card {
  background: var(--quals-blue-tint);
  border-radius: 14px;
  padding: 32px 36px;
}
.apply-card h3,
.fees-block h3 {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 14px;
  color: var(--ink);
}
.apply-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 14px;
}
.apply-list {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
}
.apply-list li {
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.65;
  margin-bottom: 14px;
}
.apply-list a {
  color: var(--blue-soft);
  font-weight: 700;
}
.fees-block p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 14px;
}
.fees-block a {
  color: var(--blue-soft);
  font-weight: 700;
}

/* Ready band */
.ready-band {
  background: var(--quals-blue-tint-2);
}
.ready-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
}
.ready-panel {
  padding: 56px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ready-panel h3 {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 14px;
}
.ready-panel p {
  font-size: 13.5px;
  line-height: 1.65;
  margin: 0 0 22px;
  max-width: 520px;
}
.ready-panel-light {
  background: var(--quals-blue-tint-2);
  color: var(--ink);
}
.ready-panel-dark {
  background: var(--quals-dark);
  color: #fff;
}
.ready-panel-dark p {
  color: rgba(255, 255, 255, 0.88);
}

.download-card-inline {
  margin: 0;
}

/* Quick three card row */
.quick-three-section {
  background: #fff;
  padding: 56px 0;
}
.quick-three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

@media (max-width: 992px) {
  .timeline-row {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .step-line {
    display: none;
  }
  .apply-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ready-inner {
    grid-template-columns: 1fr;
  }
  .ready-panel {
    padding: 40px 28px;
  }
  .quick-three-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .download-card {
    flex-direction: column;
    text-align: center;
  }
  .quick-three-grid {
    grid-template-columns: 1fr;
  }
  .apply-card {
    padding: 24px 20px;
  }
}


/* ============================================================ */
/* FAQs page                                                    */
/* ============================================================ */

.faq-section {
  background: #fff;
  padding: 56px 0 32px;
}
.faq-section + .faq-section {
  padding-top: 8px;
}
.faq-category-heading {
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 28px;
}

.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-top: 1px solid #e2e6ec;
  padding: 0;
}
.faq-list .faq-item:last-child {
  border-bottom: 1px solid #e2e6ec;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 8px;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.5;
  transition: color var(--motion-fast) ease;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:hover {
  color: var(--blue-soft);
}
.faq-question {
  flex: 1;
}
.faq-toggle {
  flex-shrink: 0;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--motion-fast) ease, color var(--motion-fast) ease;
}
.faq-item[open] .faq-toggle {
  transform: rotate(180deg);
  color: var(--blue-soft);
}
.faq-body {
  padding: 0 8px 22px;
}
.faq-body p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 820px;
}

@media (max-width: 600px) {
  .faq-category-heading {
    font-size: 22px;
  }
  .faq-item summary {
    font-size: 14px;
    padding: 16px 4px;
  }
}


/* ============================================================ */
/* Qualification Search page                                    */
/* ============================================================ */

.qual-search-hero {
  min-height: 360px;
  position: relative;
}
.qual-search-hero .quals-hero-overlay {
  opacity: 0.78;
}
.qual-search-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(8, 55, 97, 0.78) 0%,
    rgba(8, 55, 97, 0.55) 45%,
    rgba(8, 55, 97, 0.2) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.qual-search-inner {
  position: relative;
  z-index: 2;
  padding: 56px 0;
  display: flex;
}

.qual-search-card {
  max-width: 520px;
  width: 100%;
}
.qual-search-card h1 {
  color: #fff;
  font-size: 32px;
  font-weight: 500;
  margin: 0 0 22px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.qual-search-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.qs-row {
  display: block;
}
.qs-row-split {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 12px;
}
.qs-input,
.qs-select {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  box-shadow: 0 6px 14px rgba(2, 82, 149, 0.08);
  outline: none;
  transition: box-shadow var(--motion-fast) ease;
}
.qs-input::placeholder,
.qs-select:invalid {
  color: #9aa3b2;
}
.qs-input:focus,
.qs-select:focus {
  box-shadow: 0 0 0 2px var(--brand-green), 0 6px 14px rgba(2, 82, 149, 0.12);
}
.qs-select-wrap {
  position: relative;
}
.qs-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  cursor: pointer;
}
.qs-select-wrap::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.qs-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 4px;
}
.qs-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--quals-dark);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--motion-fast) ease, transform var(--motion-fast) ease;
}
.qs-search-btn:hover {
  background: var(--blue-soft);
  transform: translateY(-1px);
}
.qs-clear-btn {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  padding: 4px 6px;
  transition: color var(--motion-fast) ease;
}
.qs-clear-btn:hover {
  color: var(--brand-green);
}

/* Split panels */
.split-band {
  background: var(--quals-dark);
}
.split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.split-panel {
  padding: 56px 64px;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.split-panel h3 {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 14px;
  color: #fff;
}
.split-panel p {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 22px;
  max-width: 420px;
}
.split-panel-dark {
  background: var(--quals-dark);
}
.split-panel-mid {
  background: #4f5a6b;
}

/* Qsearch testimonials */
.qsearch-testimonials {
  background: var(--quals-blue-tint-2);
  padding: 56px 0 64px;
}
.qsearch-test-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.qsearch-test-header h2 {
  font-size: 22px;
  font-weight: 500;
  margin: 0;
  color: var(--ink);
}
.qsearch-test-arrows {
  display: flex;
  gap: 14px;
}
.qsearch-test-arrow {
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color var(--motion-fast) ease, transform var(--motion-fast) ease;
}
.qsearch-test-arrow:hover {
  color: var(--blue-soft);
  transform: translateY(-1px);
}

.qsearch-test-track {
  position: relative;
  min-height: 240px;
}
.qsearch-test-slide {
  display: none;
  max-width: 760px;
}
.qsearch-test-slide.is-active {
  display: block;
  animation: qsFadeIn var(--motion-base) var(--ease-out) both;
}
@keyframes qsFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.qsearch-test-quote {
  font-style: italic;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 22px;
}
.qsearch-test-author {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
}
.qsearch-test-org {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 992px) {
  .qual-search-card {
    max-width: 100%;
  }
  .split-inner {
    grid-template-columns: 1fr;
  }
  .split-panel {
    padding: 44px 28px;
  }
}

@media (max-width: 600px) {
  .qs-row-split {
    grid-template-columns: 1fr;
  }
  .qual-search-card h1 {
    font-size: 26px;
  }
  .qsearch-test-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}


.search-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.search-panel-head h3 {
  margin: 0;
}
.search-panel-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-green);
  text-decoration: none;
  transition: color var(--motion-fast) ease, transform var(--motion-fast) ease;
}
.search-panel-link:hover {
  color: #fff;
  transform: translateX(2px);
}


/* ============================================================ */
/* Qualification Search � Results state                         */
/* ============================================================ */

/* By default show search-state, hide results-state */
.qs-state-results { display: none; }
.qs-state-search  { display: block; }

/* When body is in results mode, flip them */
body.qs-results-mode .qs-state-search  { display: none !important; }
body.qs-results-mode .qs-state-results { display: block; }

/* Collapsed bar */
.qs-collapsed-bar {
  background: #aab4c4;
  border-bottom: 1px solid #97a3b6;
}
.qs-collapsed-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 0;
}
.qs-expand-btn {
  background: transparent;
  border: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  border-radius: 6px;
  transition: background var(--motion-fast) ease, transform var(--motion-fast) ease;
}
.qs-expand-btn:hover {
  background: rgba(255, 255, 255, 0.5);
}
.qs-expand-btn.is-open {
  transform: rotate(45deg);
  color: var(--blue-soft);
}
.qs-collapsed-title {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
}

.qs-expand-panel {
  background: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  padding: 24px 0;
  animation: qsExpandFade var(--motion-fast) var(--ease-out) both;
}
@keyframes qsExpandFade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.qs-expand-form {
  max-width: 640px;
}
.qs-clear-link {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}
.qs-clear-link:hover {
  color: var(--blue-soft);
}

/* Results section */
.qs-results-section {
  background: #eef0f4;
  padding: 32px 0 56px;
}
.qs-results-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.qs-filter-group {
  display: flex;
  gap: 10px;
}
.qs-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--ink);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--motion-fast) ease, color var(--motion-fast) ease, border-color var(--motion-fast) ease;
}
.qs-filter-pill:hover {
  background: var(--quals-dark);
  color: #fff;
  border-color: var(--quals-dark);
}

.qs-results-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.qs-result-count {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
}
.qs-view-toggle {
  display: inline-flex;
  gap: 6px;
}
.qs-view-btn {
  background: transparent;
  border: 0;
  color: #9aa3b2;
  padding: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color var(--motion-fast) ease;
}
.qs-view-btn:hover { color: var(--blue-soft); }
.qs-view-btn.is-active { color: var(--quals-dark); }

/* Results grid */
.qs-results-grid[data-view="grid"] {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.qs-results-grid[data-view="list"] {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qs-result-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 4px 10px rgba(8, 55, 97, 0.06);
  border: 1px solid transparent;
  min-height: 150px;
  transition: transform var(--motion-fast) ease, box-shadow var(--motion-fast) ease, border-color var(--motion-fast) ease;
}
.qs-result-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(8, 55, 97, 0.12);
  border-color: var(--brand-green);
  color: var(--ink);
}
.qs-result-title {
  margin: 0 0 16px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.45;
  flex: 1;
}
.qs-result-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}
.qs-result-code {
  font-size: 12px;
  color: var(--muted);
}
.qs-result-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--quals-dark);
}
.qs-result-card:hover .qs-result-cta {
  color: var(--blue-soft);
}

/* List view tweaks */
.qs-results-grid[data-view="list"] .qs-result-card {
  flex-direction: row;
  align-items: center;
  min-height: 0;
  padding: 18px 22px;
}
.qs-results-grid[data-view="list"] .qs-result-title {
  margin: 0;
  flex: 1;
  font-size: 13.5px;
}
.qs-results-grid[data-view="list"] .qs-result-foot {
  margin-top: 0;
  flex-shrink: 0;
  gap: 28px;
  min-width: 280px;
  justify-content: flex-end;
}

.qs-no-results {
  background: #fff;
  border-radius: 10px;
  padding: 40px 24px;
  text-align: center;
  margin-top: 12px;
}
.qs-no-results p {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 992px) {
  .qs-results-grid[data-view="grid"] {
    grid-template-columns: repeat(2, 1fr);
  }
  .qs-results-grid[data-view="list"] .qs-result-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .qs-results-grid[data-view="list"] .qs-result-foot {
    width: 100%;
    min-width: 0;
    justify-content: space-between;
  }
}

@media (max-width: 600px) {
  .qs-results-grid[data-view="grid"] {
    grid-template-columns: 1fr;
  }
  .qs-results-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .qs-results-meta {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }
  .qs-collapsed-title {
    font-size: 20px;
  }
}


/* ============================================================ */
/* Filter & Sort sidebar + applied filters                      */
/* ============================================================ */

.qs-applied-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  padding: 4px 0;
  font-size: 13px;
  color: var(--ink);
}
.qs-applied-label {
  font-weight: 600;
  margin-right: 4px;
}
.qs-applied-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  border: 1px solid #d4dbe4;
  color: var(--ink);
}
.qs-applied-sep {
  color: var(--muted);
  font-size: 14px;
  margin: 0 2px;
}

/* Sidebar */
.qs-filter-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 320px;
  max-width: 90vw;
  background: #fff;
  box-shadow: -10px 0 28px rgba(8, 55, 97, 0.14);
  transform: translateX(100%);
  transition: transform var(--motion-base) var(--ease-out);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.qs-filter-panel.is-open {
  transform: translateX(0);
}
.qs-filter-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #e2e6ec;
}
.qs-filter-panel-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.qs-filter-close {
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background var(--motion-fast) ease, color var(--motion-fast) ease;
}
.qs-filter-close:hover {
  background: #f1f4f8;
  color: var(--blue-soft);
}

.qs-filter-form {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}

.qs-filter-section {
  border-bottom: 1px solid #e2e6ec;
}
.qs-filter-section summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: background var(--motion-fast) ease;
}
.qs-filter-section summary::-webkit-details-marker { display: none; }
.qs-filter-section summary:hover {
  background: #f6f8fb;
}
.qs-filter-section summary svg {
  transition: transform var(--motion-fast) ease;
  flex-shrink: 0;
}
.qs-filter-section[open] > summary svg {
  transform: rotate(180deg);
  color: var(--blue-soft);
}

.qs-filter-options {
  padding: 4px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.qs-filter-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  padding: 4px 0;
}
.qs-filter-radio input[type="radio"] {
  accent-color: var(--blue-soft);
  width: 14px;
  height: 14px;
  margin: 0;
  cursor: pointer;
}
.qs-filter-radio:hover span {
  color: var(--blue-soft);
}

.qs-filter-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-top: 1px solid #e2e6ec;
  background: #fff;
}
.qs-filter-actions .qs-search-btn {
  flex: 1;
  justify-content: center;
}
.qs-filter-actions .qs-clear-link {
  color: var(--muted);
}
.qs-filter-actions .qs-clear-link:hover {
  color: var(--blue-soft);
}

.qs-filter-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 55, 97, 0.35);
  backdrop-filter: blur(2px);
  z-index: 1099;
  animation: qsFadeBg var(--motion-fast) ease both;
}
@keyframes qsFadeBg {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (max-width: 600px) {
  .qs-filter-panel {
    width: 100vw;
    max-width: 100vw;
  }
}


.qs-browse-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid rgba(160, 212, 36, 0.6);
  width: fit-content;
  transition: color var(--motion-fast) ease, border-color var(--motion-fast) ease, transform var(--motion-fast) ease;
}
.qs-browse-all:hover {
  color: var(--brand-green);
  border-bottom-color: var(--brand-green);
  transform: translateX(2px);
}


/* ============================================================ */
/* Qualification detail page                                    */
/* ============================================================ */

.qual-title-bar {
  background: #aab4c4;
  padding: 36px 0;
  border-bottom: 1px solid #97a3b6;
}
.qual-title-bar h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
}

.qual-detail-section {
  background: #eef0f4;
  padding: 32px 0 56px;
}

.qual-detail-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 16px;
  flex-wrap: wrap;
}
.qd-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--quals-dark);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--motion-fast) ease, transform var(--motion-fast) ease;
}
.qd-back-btn:hover {
  background: var(--blue-soft);
  transform: translateX(-2px);
}

.qual-detail-grid {
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  gap: 20px;
  align-items: start;
}

.qd-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px 26px;
  box-shadow: 0 4px 12px rgba(8, 55, 97, 0.06);
}
.qd-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 16px;
}

.qd-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.qd-meta {
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.qd-meta > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13.5px;
  line-height: 1.5;
}
.qd-meta dt {
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.qd-meta dd {
  margin: 0;
  color: var(--ink);
}
.qd-meta-tight {
  margin-top: 6px;
}

.qd-note {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
}

.qd-download .download-card-flush {
  margin: 0;
  border: 0;
  box-shadow: none;
  padding: 0;
  background: transparent;
  align-items: flex-start;
}
.qd-download .doc-icon {
  color: #9aa3b2;
}
.qd-download .doc-tag {
  background: #9aa3b2;
}
.qd-download .doc-title {
  font-size: 13.5px;
  white-space: normal;
}
.qd-download-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  transition: color var(--motion-fast) ease;
}
.qd-download-link:hover {
  color: var(--blue-soft);
}

/* Main column */
.qd-main {
  min-height: 420px;
}
.qd-main-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.qd-main-head h3 {
  margin: 0;
}
.qd-updated {
  font-size: 12.5px;
  color: var(--muted);
}
.qd-summary p,
.qd-additional p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 12px;
}
.qd-additional-heading {
  margin-top: 28px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

@media (max-width: 992px) {
  .qual-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .qual-title-bar h1 {
    font-size: 22px;
  }
  .qd-card {
    padding: 20px 18px;
  }
}


/* ============================================================ */
/* Qualification Search page � brand colour pass               */
/* Scoped to .qs-page so other pages stay neutral.             */
/* ============================================================ */

/* Page background � soft brand blue tint */
.qs-page main.page-shell {
  background:
    linear-gradient(180deg, var(--quals-blue-tint) 0%, #f6f9fc 320px),
    #f6f9fc;
}

/* Search-state hero � stronger blue wash + green accent line */
.qs-page .qual-search-hero::after {
  background: linear-gradient(180deg,
    rgba(8, 55, 97, 0.86) 0%,
    rgba(2, 82, 149, 0.78) 60%,
    rgba(2, 82, 149, 0.45) 100%);
}
.qs-page .qual-search-card {
  border-top: 4px solid var(--brand-green);
  box-shadow: 0 18px 50px rgba(8, 55, 97, 0.28);
}
.qs-page .qual-search-card h1 {
  color: var(--quals-dark);
}
.qs-page .qs-search-btn {
  background: var(--brand-green);
  color: var(--quals-dark);
  border-color: var(--brand-green);
  font-weight: 700;
}
.qs-page .qs-search-btn:hover {
  background: #b6e23f;
  border-color: #b6e23f;
  color: var(--quals-dark);
}
.qs-page .qs-clear-btn {
  color: var(--quals-dark);
  border-color: rgba(8, 55, 97, 0.25);
}
.qs-page .qs-clear-btn:hover {
  background: var(--quals-blue-tint);
  color: var(--quals-dark);
}
.qs-page .qs-browse-all {
  color: var(--quals-dark);
  font-weight: 600;
}
.qs-page .qs-browse-all:hover {
  color: var(--blue-soft);
}

/* Inputs � focus ring in brand blue */
.qs-page .qs-input,
.qs-page .qs-select {
  border-color: rgba(8, 55, 97, 0.18);
}
.qs-page .qs-input:focus,
.qs-page .qs-select:focus {
  border-color: var(--blue-soft);
  box-shadow: 0 0 0 3px rgba(2, 82, 149, 0.18);
  outline: none;
}

/* Collapsed bar (results state) � solid brand blue */
.qs-page .qs-collapsed-bar {
  background: var(--quals-dark);
  color: #fff;
  border-bottom: 3px solid var(--brand-green);
}
.qs-page .qs-collapsed-title {
  color: #fff;
}
.qs-page .qs-expand-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.qs-page .qs-expand-btn:hover,
.qs-page .qs-expand-btn.is-open {
  background: var(--brand-green);
  color: var(--quals-dark);
  border-color: var(--brand-green);
}
.qs-page .qs-expand-panel {
  background: var(--blue-soft);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.qs-page .qs-expand-panel .qs-input,
.qs-page .qs-expand-panel .qs-select {
  background: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

/* Applied filter chips */
.qs-page .qs-applied-filters {
  background: var(--quals-blue-tint);
  border-radius: 10px;
  padding: 12px 16px;
  border-left: 4px solid var(--brand-green);
}
.qs-page .qs-applied-chip {
  background: #fff;
  color: var(--quals-dark);
  border: 1px solid rgba(8, 55, 97, 0.15);
  font-weight: 600;
}
.qs-page .qs-applied-chip + .qs-applied-chip {
  border-color: rgba(8, 55, 97, 0.15);
}

/* Results toolbar */
.qs-page .qs-results-toolbar {
  background: #fff;
  border: 1px solid rgba(8, 55, 97, 0.1);
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: 0 2px 6px rgba(8, 55, 97, 0.05);
}
.qs-page .qs-filter-pill,
.qs-page #qsFilterPill {
  background: var(--quals-dark);
  color: #fff;
  border: 0;
  font-weight: 600;
}
.qs-page .qs-filter-pill:hover,
.qs-page #qsFilterPill:hover {
  background: var(--blue-soft);
}
.qs-page .qs-result-count {
  color: var(--quals-dark);
  font-weight: 600;
}
.qs-page .qs-view-btn {
  color: var(--quals-dark);
  border: 1px solid rgba(8, 55, 97, 0.15);
  background: #fff;
}
.qs-page .qs-view-btn.is-active,
.qs-page .qs-view-btn[aria-pressed="true"] {
  background: var(--quals-dark);
  color: #fff;
  border-color: var(--quals-dark);
}

/* Result cards � white with blue accent + green hover bar */
.qs-page .qs-result-card {
  background: #fff;
  border: 1px solid rgba(8, 55, 97, 0.1);
  border-left: 4px solid var(--blue-soft);
  border-radius: 10px;
  transition: transform var(--motion-fast) var(--ease-out),
              box-shadow var(--motion-fast) var(--ease-out),
              border-color var(--motion-fast) var(--ease-out);
}
.qs-page .qs-result-card:hover {
  transform: translateY(-3px);
  border-left-color: var(--brand-green);
  box-shadow: 0 12px 28px rgba(8, 55, 97, 0.14);
}
.qs-page .qs-result-title {
  color: var(--quals-dark);
}
.qs-page .qs-result-code {
  color: var(--muted);
}
.qs-page .qs-result-cta {
  color: var(--blue-soft);
  font-weight: 700;
}
.qs-page .qs-result-card:hover .qs-result-cta {
  color: var(--quals-dark);
}

/* Filter sidebar */
.qs-page .qs-filter-panel {
  background: #fff;
  border-left: 4px solid var(--brand-green);
}
.qs-page .qs-filter-panel header,
.qs-page .qs-filter-panel .qs-filter-head {
  background: var(--quals-dark);
  color: #fff;
}
.qs-page .qs-filter-panel .qs-filter-head h3,
.qs-page .qs-filter-panel header h3 {
  color: #fff;
}
.qs-page .qs-filter-section > summary {
  color: var(--quals-dark);
  font-weight: 700;
}
.qs-page .qs-filter-section[open] > summary {
  color: var(--blue-soft);
}
.qs-page .qs-filter-radio input[type="radio"]:checked + span {
  color: var(--blue-soft);
  font-weight: 700;
}
.qs-page .qs-apply-btn {
  background: var(--brand-green);
  color: var(--quals-dark);
  font-weight: 700;
  border: 0;
}
.qs-page .qs-apply-btn:hover {
  background: #b6e23f;
}
.qs-page .qs-reset-link {
  color: var(--quals-dark);
}
.qs-page .qs-reset-link:hover {
  color: var(--blue-soft);
}
.qs-page #qsFilterBackdrop {
  background: rgba(8, 55, 97, 0.45);
  backdrop-filter: blur(3px);
}

/* Split-band + testimonials accent */
.qs-page .qsearch-testimonials {
  background: var(--quals-blue-tint);
}
.qs-page .qsearch-testimonials h2 {
  color: var(--quals-dark);
}

/* No-results state */
.qs-page .qs-no-results {
  background: #fff;
  border: 1px dashed rgba(8, 55, 97, 0.25);
  border-radius: 12px;
  color: var(--quals-dark);
}


/* Qualification Search hero � fix legibility (text was inheriting dark) */
.qs-page .qual-search-card h1 {
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.qs-page .qs-browse-all {
  color: #ffffff;
}
.qs-page .qs-browse-all:hover {
  color: var(--brand-green);
}
.qs-page .qs-browse-all svg {
  color: #ffffff;
}
.qs-page .qs-browse-all:hover svg {
  color: var(--brand-green);
}
.qs-page .qs-clear-btn {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}
.qs-page .qs-clear-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}


/* ============================================================ */
/* Qualification Detail page � brand colour pass               */
/* Scoped to .qd-page                                          */
/* ============================================================ */

/* Page wash */
.qd-page main.page-shell {
  background: #f3f6fa;
}

/* Title bar � brand blue with green underline */
.qd-page .qual-title-bar {
  background: linear-gradient(135deg, var(--quals-dark) 0%, var(--blue-soft) 100%);
  border-bottom: 4px solid var(--brand-green);
  position: relative;
}
.qd-page .qual-title-bar h1 {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

/* Section background � soft tint */
.qd-page .qual-detail-section {
  background:
    linear-gradient(180deg, var(--quals-blue-tint) 0%, #f3f6fa 280px),
    #f3f6fa;
}

/* Toolbar buttons */
.qd-page .qd-back-btn {
  background: var(--quals-dark);
  color: #fff;
  box-shadow: 0 4px 12px rgba(8, 55, 97, 0.18);
}
.qd-page .qd-back-btn:hover {
  background: var(--brand-green);
  color: var(--quals-dark);
}
.qd-page .qs-filter-pill,
.qd-page #qdFilterLink {
  background: #fff;
  color: var(--quals-dark);
  border: 1px solid rgba(8, 55, 97, 0.2);
  font-weight: 600;
}
.qd-page .qs-filter-pill:hover,
.qd-page #qdFilterLink:hover {
  background: var(--quals-dark);
  color: #fff;
  border-color: var(--quals-dark);
}

/* Cards � white with brand accents */
.qd-page .qd-card {
  background: #fff;
  border-top: 3px solid var(--blue-soft);
  box-shadow: 0 6px 18px rgba(8, 55, 97, 0.08);
}
.qd-page .qd-overview {
  border-top-color: var(--blue-soft);
}
.qd-page .qd-download {
  border-top-color: var(--brand-green);
}
.qd-page .qd-main {
  border-top-color: var(--quals-dark);
}

.qd-page .qd-card h3,
.qd-page .qd-additional-heading {
  color: var(--quals-dark);
}

/* Overview meta � keys in dark blue, values darker ink */
.qd-page .qd-meta dt {
  color: var(--quals-dark);
}
.qd-page .qd-meta dd {
  color: var(--ink);
}
.qd-page .qd-note {
  color: var(--muted);
  border-top: 1px dashed rgba(8, 55, 97, 0.18);
  padding-top: 12px;
  margin-top: 16px;
}

/* Download card */
.qd-page .qd-download .doc-tag,
.qd-page .qd-download .doc-icon {
  background: var(--quals-dark);
  color: #fff;
}
.qd-page .qd-download .doc-title {
  color: var(--quals-dark);
  font-weight: 700;
}
.qd-page .qd-download-link {
  color: var(--blue-soft);
  font-weight: 700;
}
.qd-page .qd-download-link:hover {
  color: var(--quals-dark);
}

/* Main column � readable body, blue summary heading, last-updated muted */
.qd-page .qd-summary p,
.qd-page .qd-additional p {
  color: var(--ink);
}
.qd-page .qd-updated {
  color: var(--muted);
  background: var(--quals-blue-tint);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}
.qd-page .qd-additional-heading {
  border-top: 1px solid rgba(8, 55, 97, 0.1);
  padding-top: 22px;
}


/* ============================================================ */
/* Sector pages (sector-*.html)                                 */
/* Scoped to .sector-page                                       */
/* ============================================================ */
.sector-page .sector-hero {
  position: relative;
  background-color: #0b3a6b;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 72px 0 88px;
  overflow: hidden;
}
.sector-page .sector-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 58, 107, 0.96) 0%, rgba(11, 58, 107, 0.78) 45%, rgba(11, 58, 107, 0.55) 100%),
    linear-gradient(180deg, rgba(11, 58, 107, 0.25) 0%, rgba(11, 58, 107, 0.55) 100%);
  pointer-events: none;
}
.sector-page .sector-hero-grid {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.sector-page .sector-hero h1 {
  font-size: 44px;
  margin: 0 0 22px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.sector-page .sector-hero-intro {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 36px;
  max-width: 640px;
}
.sector-page .sector-sub-heading {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 18px;
  color: #ffffff;
}
.sector-page .subsectors-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 32px;
  max-width: 560px;
}
.sector-page .subsectors-list li a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  padding: 6px 0;
  transition: color var(--motion-fast) var(--ease-out);
}
.sector-page .subsectors-list li a::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--brand-green);
  flex-shrink: 0;
}
.sector-page .subsectors-list li a:hover {
  color: var(--brand-green);
}
.sector-page .sector-hero-image { display: none; }

/* Filter applied bar */
.sector-page .sector-results-section {
  background: #eef0f4;
  padding: 48px 0 64px;
}
.sector-page .sector-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.sector-page .sector-filter-applied {
  font-size: 14px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sector-page .sector-filter-applied strong {
  font-weight: 600;
}
.sector-page .sector-filter-applied .sep {
  color: var(--muted);
  font-weight: 700;
}
.sector-page .sector-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(8, 55, 97, 0.35);
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
  transition: background var(--motion-fast) var(--ease-out),
              color var(--motion-fast) var(--ease-out);
}
.sector-page .sector-filter-pill:hover {
  background: var(--quals-dark, #2f3a4b);
  color: #fff;
  border-color: var(--quals-dark, #2f3a4b);
}

/* Card grid (reuses look from qualification-search) */
.sector-page .sector-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.sector-page .sector-card-link {
  background: #ffffff;
  border-radius: 6px;
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
  min-height: 200px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(8, 55, 97, 0.06);
  transition: transform var(--motion-fast) var(--ease-out),
              box-shadow var(--motion-fast) var(--ease-out);
}
.sector-page .sector-card-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(8, 55, 97, 0.12);
  color: var(--ink);
}
.sector-page .sector-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 24px;
  flex: 1;
}
.sector-page .sector-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sector-page .sector-card-code {
  font-size: 13px;
  color: var(--muted);
}
.sector-page .sector-card-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sector-page .sector-card-link:hover .sector-card-cta {
  color: var(--blue-soft);
}

/* Other Sectors block */
.sector-page .other-sectors-section {
  padding: 64px 0 72px;
  background: #ffffff;
}
.sector-page .other-sectors-section .section-heading {
  font-size: 30px;
  font-weight: 600;
  margin: 0 0 36px;
  text-align: center;
  color: var(--ink);
}
.sector-page .other-sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 992px) {
  .sector-page .sector-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .sector-page .other-sectors-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .sector-page .sector-hero { padding: 40px 0 56px; }
  .sector-page .sector-hero h1 { font-size: 32px; }
  .sector-page .subsectors-list { grid-template-columns: 1fr; }
  .sector-page .sector-cards-grid { grid-template-columns: 1fr; }
  .sector-page .other-sectors-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ============================================================ */
/* About Us page                                                */
/* Scoped to .about-page                                        */
/* ============================================================ */
.about-page .about-lede {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin: 14px 0 22px;
  max-width: 520px;
}

/* Mission & Vision */
.about-page .about-mv-section {
  background: #ffffff;
  padding: 64px 0 56px;
}
.about-page .about-mv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.about-page .about-mv-card {
  background: #ffffff;
  border: 1px solid rgba(8, 55, 97, 0.1);
  border-top: 4px solid var(--brand-green);
  border-radius: 10px;
  padding: 32px 28px;
  box-shadow: 0 4px 14px rgba(8, 55, 97, 0.05);
}
.about-page .about-mv-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(2, 82, 149, 0.08);
  color: var(--blue-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.about-page .about-mv-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--blue-soft);
  margin: 0 0 10px;
}
.about-page .about-mv-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
}

/* Stats band */
.about-page .about-stats-section {
  background: var(--blue-soft);
  color: #ffffff;
  padding: 48px 0;
}
.about-page .about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  text-align: center;
}
.about-page .about-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.about-page .about-stat-num {
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--brand-green);
}
.about-page .about-stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Values */
.about-page .about-values-section {
  padding: 72px 0;
  background: #f6f7fa;
}
.about-page .about-values-section .section-heading {
  font-size: 30px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 12px;
}
.about-page .about-values-lede {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 36px;
  font-size: 15px;
}
.about-page .about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.about-page .about-value-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 26px 22px;
  text-align: left;
  box-shadow: 0 1px 3px rgba(8, 55, 97, 0.06);
  transition: transform var(--motion-fast) var(--ease-out),
              box-shadow var(--motion-fast) var(--ease-out);
}
.about-page .about-value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(8, 55, 97, 0.12);
}
.about-page .about-value-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(160, 212, 36, 0.18);
  color: var(--blue-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.about-page .about-value-card h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px;
}
.about-page .about-value-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* Why ProQual pillars */
.about-page .about-why-section {
  background: #ffffff;
  padding: 72px 0;
}
.about-page .about-why-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}
.about-page .about-why-head h2 {
  font-size: 30px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 12px;
}
.about-page .about-why-head p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}
.about-page .about-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 36px;
}
.about-page .about-why-item {
  position: relative;
  padding-left: 60px;
}
.about-page .about-why-num {
  position: absolute;
  left: 0;
  top: -4px;
  font-size: 30px;
  font-weight: 600;
  color: var(--brand-green);
  line-height: 1;
}
.about-page .about-why-item h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--blue-soft);
  margin: 0 0 6px;
}
.about-page .about-why-item p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0;
}

/* Pull quote */
.about-page .about-quote-section {
  background: #eef2f7;
  padding: 72px 0;
}
.about-page .about-quote {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 0 24px;
}
.about-page .about-quote::before {
  content: "\201C";
  display: block;
  font-family: Georgia, serif;
  font-size: 88px;
  line-height: 1;
  color: var(--brand-green);
  margin-bottom: -10px;
}
.about-page .about-quote p {
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink);
  font-style: italic;
  margin: 0 0 22px;
}
.about-page .about-quote footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about-page .about-quote-author {
  font-weight: 600;
  color: var(--blue-soft);
}
.about-page .about-quote-org {
  font-size: 14px;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 992px) {
  .about-page .about-mv-grid { grid-template-columns: 1fr; }
  .about-page .about-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .about-page .about-values-grid { grid-template-columns: repeat(2, 1fr); }
  .about-page .about-why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .about-page .about-values-grid { grid-template-columns: 1fr; }
  .about-page .about-why-grid { grid-template-columns: 1fr; }
  .about-page .about-stats-grid { grid-template-columns: 1fr; }
  .about-page .about-quote p { font-size: 18px; }
}


/* ============================================================ */
/* Site-wide reveal animations (driven by assets/animations.js) */
/* ============================================================ */
.js-anim .anim {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--anim-delay, 0ms);
  will-change: opacity, transform;
}
.js-anim .anim.is-visible {
  opacity: 1;
  transform: none;
}
.js-anim .anim-fade        { transform: none; }
.js-anim .anim-up          { transform: translateY(28px); }
.js-anim .anim-left        { transform: translateX(-28px); }
.js-anim .anim-right       { transform: translateX(28px); }
.js-anim .anim-zoom        { transform: scale(0.96); }
.js-anim .anim-immediate   { transition-delay: 0ms; }

/* Header subtle slide-down on first paint */
.js-anim .site-header.anim {
  transform: translateY(-8px);
}
.js-anim .site-header.anim.is-visible {
  transform: none;
}

/* Hover micro-interactions across interactive cards */
@media (hover: hover) {
  .sector-card,
  .sector-card-link,
  .qs-result-card,
  .about-value-card,
  .about-mv-card,
  .insight-card,
  .quick-link-card,
  .pathway-item,
  .cs-card,
  .dev-panel,
  .search-panel,
  .split-panel {
    transition:
      transform var(--motion-fast, 220ms) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
      box-shadow var(--motion-fast, 220ms) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
      border-color var(--motion-fast, 220ms) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
  }
  .pathway-item:hover {
    transform: translateY(-4px);
  }
  .quick-link-card:hover {
    transform: translateY(-3px) scale(1.01);
  }
}

/* Buttons: gentle lift */
.btn,
.pill-btn,
.nav-pill,
.contact-btn {
  transition:
    transform var(--motion-fast, 220ms) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
    background-color var(--motion-fast, 220ms) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
    color var(--motion-fast, 220ms) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
    box-shadow var(--motion-fast, 220ms) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}
@media (hover: hover) {
  .pill-btn:hover,
  .nav-pill:hover,
  .contact-btn:hover {
    transform: translateY(-1px);
  }
  .pill-btn:active,
  .nav-pill:active,
  .contact-btn:active {
    transform: translateY(0);
  }
}

/* Top-nav link underline sweep */
.top-nav a {
  position: relative;
  transition: color var(--motion-fast, 220ms) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}
.top-nav a:not(.nav-pill)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--brand-green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.top-nav a:not(.nav-pill):hover::after,
.top-nav a.active:not(.nav-pill)::after {
  transform: scaleX(1);
}

/* Breadcrumb hover */
.crumbs a {
  transition: color var(--motion-fast, 220ms) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}

/* Footer link nudge */
.footer-col a {
  transition:
    color var(--motion-fast, 220ms) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
    transform var(--motion-fast, 220ms) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}
@media (hover: hover) {
  .footer-col a:hover {
    transform: translateX(2px);
  }
}

/* Hero background gentle ken-burns */
.quals-hero {
  overflow: hidden;
}
.quals-hero::after {
  content: none; /* defensive: no extra layer */
}
@keyframes pq-kenburns {
  0%   { transform: scale(1); }
  100% { transform: scale(1.06); }
}
.js-anim .quals-hero {
  animation: pq-kenburns 18s ease-out forwards;
  transform-origin: center center;
}

/* Sector hero background reveal */
@keyframes pq-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.js-anim .sector-hero {
  animation: pq-fade-in 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.js-anim .sector-hero::before {
  animation: pq-fade-in 1200ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Stats: tick up via opacity (numeric tween skipped to keep it lightweight) */
.js-anim .about-stat-num {
  display: inline-block;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1) var(--anim-delay, 0ms),
              opacity 700ms ease var(--anim-delay, 0ms);
}
.js-anim .about-stat:not(.is-visible) .about-stat-num {
  transform: translateY(8px) scale(0.94);
  opacity: 0.6;
}
.js-anim .about-stat.is-visible .about-stat-num {
  transform: none;
  opacity: 1;
}

/* Reduced-motion: fully disable site animations */
@media (prefers-reduced-motion: reduce) {
  .anim,
  .quals-hero,
  .sector-hero,
  .sector-hero::before,
  .about-stat-num {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   Contact Us page
   ========================================================================== */
.contact-page .quals-hero { min-height: 320px; }
.contact-page .quals-hero-copy h1 { color: #fff; }
.contact-page .quals-hero-copy p { color: rgba(255,255,255,0.92); max-width: 640px; }

.contact-info-section { padding: 56px 0 24px; }
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.contact-info-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px;
  text-decoration: none;
  color: var(--ink);
  transition: transform var(--motion-fast, 220ms) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
              box-shadow var(--motion-fast, 220ms) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
              border-color var(--motion-fast, 220ms) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}
.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(2, 82, 149, 0.10);
  border-color: rgba(2, 82, 149, 0.35);
}
.contact-info-card-static { cursor: default; }
.contact-info-card-static:hover { transform: none; box-shadow: none; border-color: var(--line); }
.contact-info-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--quals-blue-tint, #eaf2fa);
  color: var(--blue-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.contact-info-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}
.contact-info-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--blue-soft);
  margin: 0 0 6px;
  word-break: break-word;
}
.contact-info-meta {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.contact-form-section { padding: 56px 0 64px; }
.contact-form-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact-form-copy .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue-soft);
  margin-bottom: 14px;
}
.contact-form-copy h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 14px;
  line-height: 1.2;
}
.contact-form-copy > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 22px;
}
.contact-form-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.contact-form-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.6;
}
.contact-form-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-green);
}
.contact-form-list li strong { color: var(--blue-soft); font-weight: 700; }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  display: grid;
  gap: 18px;
  box-shadow: 0 12px 32px rgba(34, 40, 51, 0.04);
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-field { display: flex; flex-direction: column; gap: 6px; }
.contact-field-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.contact-field-optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
}
.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--ink);
  background: #fbfcfd;
  font-family: inherit;
  transition: border-color var(--motion-fast, 220ms) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
              box-shadow var(--motion-fast, 220ms) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
              background var(--motion-fast, 220ms) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}
.contact-field textarea { resize: vertical; min-height: 120px; }
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--blue-soft);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(2, 82, 149, 0.12);
}
.contact-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
.contact-consent input[type="checkbox"] { margin-top: 3px; }
.contact-consent a { color: var(--blue-soft); }
.contact-form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.contact-form-status {
  font-size: 13px;
  color: var(--blue-soft);
}
.contact-form-status.is-error { color: #c0392b; }

.contact-map-section { padding: 56px 0; background: #f7f9fb; }
.contact-map-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: stretch;
}
.contact-map-copy .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue-soft);
  margin-bottom: 14px;
}
.contact-map-copy h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 14px;
}
.contact-map-copy p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.contact-map-address {
  color: var(--ink) !important;
  font-weight: 500;
  margin-bottom: 22px !important;
}
.contact-map-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e9eef3;
  min-height: 340px;
  box-shadow: 0 14px 34px rgba(2, 82, 149, 0.10);
}
.contact-map-frame iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }

.contact-quicklinks-section { padding: 56px 0; }
.contact-quicklinks-section .section-heading {
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 32px;
}
.contact-quicklinks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.contact-quicklink {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px;
  text-decoration: none;
  color: var(--ink);
  transition: transform var(--motion-fast, 220ms) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
              box-shadow var(--motion-fast, 220ms) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
              border-color var(--motion-fast, 220ms) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}
.contact-quicklink:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(2, 82, 149, 0.10);
  border-color: rgba(2, 82, 149, 0.35);
}
.contact-quicklink h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--blue-soft);
  margin: 0 0 8px;
}
.contact-quicklink p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 14px;
  line-height: 1.55;
}
.contact-quicklink-cta {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-green);
  letter-spacing: 0.02em;
}

@media (max-width: 991px) {
  .contact-info-grid { grid-template-columns: 1fr; }
  .contact-form-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-map-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-quicklinks-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .contact-form { padding: 22px; }
  .contact-form-row { grid-template-columns: 1fr; }
  .contact-form-copy h2 { font-size: 26px; }
}

/* ==========================================================================
   Language switcher (replaces "English" in .header-meta)
   ========================================================================== */
.lang-switcher {
  position: relative;
  display: inline-block;
}
.lang-switcher-btn {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.lang-switcher-btn:hover { color: var(--blue-soft); }
.lang-switcher-caret {
  font-size: 10px;
  margin-left: 2px;
  transition: transform var(--motion-fast, 220ms) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}
.lang-switcher.is-open .lang-switcher-caret { transform: rotate(180deg); }
.lang-switcher-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  max-height: 320px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 14px 32px rgba(34, 40, 51, 0.14);
  padding: 6px;
  margin: 0;
  list-style: none;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity var(--motion-fast, 220ms) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
              transform var(--motion-fast, 220ms) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
              visibility 0s linear var(--motion-fast, 220ms);
}
.lang-switcher.is-open .lang-switcher-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}
.lang-switcher-item {
  appearance: none;
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--ink);
  border-radius: 6px;
  cursor: pointer;
  display: block;
}
.lang-switcher-item:hover { background: var(--quals-blue-tint, #eaf2fa); color: var(--blue-soft); }
.lang-switcher-item.is-active {
  background: var(--blue-soft);
  color: #fff;
  font-weight: 600;
}

/* Hide Google Translate UI artifacts */
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget,
#goog-gt-tt,
.goog-te-balloon-frame { display: none !important; }
body { top: 0 !important; }
.goog-tooltip, .goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* ==========================================================================
   Qualification Development page
   ========================================================================== */
.qualdev-page .quals-hero { min-height: 320px; }
.qualdev-page .quals-hero-copy h1 { color: #fff; }
.qualdev-page .quals-hero-copy p { color: rgba(255,255,255,0.92); max-width: 640px; }

.qualdev-intro-section { padding: 64px 0; }
.qualdev-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.qualdev-intro-copy .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue-soft);
  margin-bottom: 14px;
}
.qualdev-intro-copy h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 16px;
  line-height: 1.25;
}
.qualdev-intro-copy p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.qualdev-intro-figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e9eef3;
  box-shadow: 0 18px 38px rgba(2, 82, 149, 0.10);
}
.qualdev-intro-figure img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}
.qualdev-intro-figure figcaption {
  padding: 10px 14px;
  font-size: 12px;
  color: var(--muted);
  background: #fbfcfd;
  border-top: 1px solid var(--line);
  text-align: center;
}

.qualdev-process-section { padding: 64px 0; background: #f7f9fb; }
.qualdev-process-section .section-heading {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.qualdev-process-section .section-sub {
  color: var(--muted);
  font-size: 15px;
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.qualdev-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.qualdev-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px;
  position: relative;
  transition: transform var(--motion-fast, 220ms) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
              box-shadow var(--motion-fast, 220ms) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
              border-color var(--motion-fast, 220ms) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}
.qualdev-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(2, 82, 149, 0.10);
  border-color: rgba(2, 82, 149, 0.35);
}
.qualdev-step-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-green);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.qualdev-step h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--blue-soft);
  margin: 0 0 8px;
}
.qualdev-step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.qualdev-offer-section { padding: 64px 0; }
.qualdev-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.qualdev-offer-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 26px;
  transition: transform var(--motion-fast, 220ms) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
              box-shadow var(--motion-fast, 220ms) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}
.qualdev-offer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(2, 82, 149, 0.10);
}
.qualdev-offer-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
}
.qualdev-offer-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 14px;
}
.qualdev-offer-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.qualdev-offer-card li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.55;
}
.qualdev-offer-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-green);
}

.qualdev-why-section { padding: 64px 0; background: #f7f9fb; }
.qualdev-why-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.qualdev-why-copy .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue-soft);
  margin-bottom: 14px;
}
.qualdev-why-copy h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 14px;
  line-height: 1.25;
}
.qualdev-why-copy > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.qualdev-why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.qualdev-why-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.6;
}
.qualdev-why-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-green);
}
.qualdev-why-list strong { color: var(--blue-soft); font-weight: 700; }
.qualdev-why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 14px 32px rgba(34, 40, 51, 0.04);
}
.qualdev-why-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 10px;
  border-radius: 10px;
  background: #fbfcfd;
}
.qualdev-why-num {
  font-size: 26px;
  font-weight: 700;
  color: var(--blue-soft);
  line-height: 1;
}
.qualdev-why-label {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
}

@media (max-width: 991px) {
  .qualdev-intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .qualdev-steps { grid-template-columns: 1fr 1fr; }
  .qualdev-offer-grid { grid-template-columns: 1fr; }
  .qualdev-why-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 575px) {
  .qualdev-steps { grid-template-columns: 1fr; }
  .qualdev-why-stats { grid-template-columns: 1fr; }
  .qualdev-intro-copy h2 { font-size: 24px; }
}

/* ==========================================================================
   Theme toggle button (sits beside .lang-switcher in .header-meta)
   ========================================================================== */
.theme-toggle {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 2px 4px;
  margin: 0 0 0 2px;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color var(--motion-fast, 220ms) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
              background var(--motion-fast, 220ms) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
  vertical-align: middle;
}
.theme-toggle:hover { color: var(--blue-soft); background: rgba(2, 82, 149, 0.06); }
.theme-toggle .theme-toggle-sun { display: none; }
.theme-toggle .theme-toggle-moon { display: inline-block; }
[data-theme="dark"] .theme-toggle .theme-toggle-sun { display: inline-block; }
[data-theme="dark"] .theme-toggle .theme-toggle-moon { display: none; }

/* ============================================================ */
/* Certificate Verification page                                */
/* ============================================================ */
.verify-section {
  background: #fff;
  padding: 64px 0 80px;
}
.verify-heading {
  color: var(--blue-soft);
  font-weight: 800;
  margin: 0 0 18px;
  font-size: clamp(28px, 3.4vw, 40px);
}
.verify-intro {
  color: var(--ink);
  margin: 0 0 36px;
  max-width: 760px;
}
.verify-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.verify-card {
  position: relative;
  display: block;
  padding: 36px 36px 32px;
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
  min-height: 220px;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.verify-card:hover,
.verify-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
  color: #fff;
  text-decoration: none;
  filter: brightness(1.04);
}
.verify-card--blue { background: var(--blue-soft); }
.verify-card--green { background: var(--brand-green); }
.verify-card--green .verify-card-arrow { background: var(--blue-soft); color: #fff; }
.verify-card--blue .verify-card-arrow { background: var(--brand-green); color: var(--blue-soft); }
.verify-card-title {
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 30px);
  margin: 0 0 10px;
  color: #fff;
}
.verify-card-text {
  font-size: 18px;
  margin: 0 0 28px;
  color: #fff;
  font-weight: 600;
}
.verify-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.verify-help {
  margin-top: 56px;
  padding: 28px 32px;
  background: #f4f7fb;
  border-left: 4px solid var(--blue-soft);
  border-radius: 4px;
}
.verify-help h4 {
  color: var(--blue-soft);
  font-weight: 800;
  margin: 0 0 8px;
}
.verify-help p { margin: 0 0 8px; color: var(--ink); }
.verify-help-contacts a { color: var(--blue-soft); font-weight: 700; }

@media (max-width: 768px) {
  .verify-grid { grid-template-columns: 1fr; gap: 18px; }
  .verify-card { min-height: 0; padding: 28px 26px 26px; }
  .verify-section { padding: 40px 0 56px; }
}

/* Dark mode */
[data-theme="dark"] .verify-section { background: var(--surface, #11161e); }
[data-theme="dark"] .verify-heading { color: #cfe6ff; }
[data-theme="dark"] .verify-intro { color: #d3d8e0; }
[data-theme="dark"] .verify-help {
  background: rgba(255, 255, 255, 0.04);
  border-left-color: #4ea1ee;
}
[data-theme="dark"] .verify-help h4 { color: #cfe6ff; }
[data-theme="dark"] .verify-help p { color: #d3d8e0; }
[data-theme="dark"] .verify-help-contacts a { color: #8cc6ff; }

/* ============================================================ */
/* Print certificate verification form                          */
/* ============================================================ */
.verify-form-section {
  background: #fff;
  padding: 56px 0 80px;
}
.verify-form-heading {
  color: var(--blue-soft);
  font-weight: 800;
  margin: 0 0 28px;
  font-size: clamp(28px, 3.6vw, 44px);
}
.verify-notice {
  background: var(--blue-soft);
  color: #fff;
  padding: 24px 28px;
  border-radius: 4px;
  margin-bottom: 28px;
}
.verify-notice h4 { margin: 0 0 8px; font-weight: 800; color: #fff; }
.verify-notice p { margin: 0; color: #fff; line-height: 1.55; }
.verify-notice a { color: #fff; text-decoration: underline; font-weight: 600; }
.verify-notice a:hover { opacity: .9; }

.verify-form-intro {
  color: var(--ink);
  margin: 0 0 28px;
  max-width: 980px;
  line-height: 1.55;
}

.verify-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  gap: 22px 36px;
  margin-bottom: 28px;
}
.vf-field { display: flex; flex-direction: column; }
.vf-field label {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 8px;
}
.vf-field input {
  height: 44px;
  border: 1.5px solid var(--blue-soft);
  border-radius: 2px;
  padding: 8px 12px;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.vf-field input:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(160, 212, 36, 0.25);
}

.verify-form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-verify, .btn-reset {
  border: 0;
  border-radius: 4px;
  padding: 10px 28px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: filter .15s ease, transform .15s ease;
}
.btn-verify { background: var(--brand-green); color: #fff; }
.btn-verify:hover { filter: brightness(1.05); }
.btn-reset { background: #e6eef6; color: var(--ink); }
.btn-reset:hover { background: #d7e2ee; }

.verify-result {
  margin-top: 24px;
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.5;
}
.verify-result.info  { background: #eef6ff; color: var(--blue-soft); border-left: 4px solid var(--blue-soft); }
.verify-result.error { background: #fdecec; color: #9a1f1f; border-left: 4px solid #c0392b; }
.verify-result a { color: inherit; text-decoration: underline; font-weight: 700; }

@media (max-width: 768px) {
  .verify-form-grid { grid-template-columns: 1fr; gap: 18px; }
  .verify-form-section { padding: 40px 0 56px; }
}

/* Dark mode */
[data-theme="dark"] .verify-form-section { background: var(--surface, #11161e); }
[data-theme="dark"] .verify-form-heading { color: #cfe6ff; }
[data-theme="dark"] .verify-form-intro { color: #d3d8e0; }
[data-theme="dark"] .vf-field label { color: #b6bdc7; }
[data-theme="dark"] .vf-field input {
  background: #1a212c;
  color: #e6e9ef;
  border-color: #4ea1ee;
}
[data-theme="dark"] .btn-reset { background: #2a3340; color: #e6e9ef; }
[data-theme="dark"] .btn-reset:hover { background: #354051; }
[data-theme="dark"] .verify-result.info { background: rgba(78, 161, 238, 0.12); color: #cfe6ff; border-left-color: #4ea1ee; }
[data-theme="dark"] .verify-result.error { background: rgba(192, 57, 43, 0.18); color: #ffd0d0; }[data-theme="dark"] .theme-toggle:hover { background: rgba(255, 255, 255, 0.08); }

/* ==========================================================================
   Dark theme � global overrides
   ========================================================================== */
[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e6e9ef;
  --muted: #9aa3b2;
  --line: #2a3340;
  --blue-soft: #4ea1ee;
  --blue-light: #4ea1ee;
  --quals-blue-tint: #1a2433;
  --bg: #0e1218;
  --surface: #161c25;
  --surface-2: #1d2531;
  --surface-3: #232b39;
}

[data-theme="dark"] body,
[data-theme="dark"] .page-shell { background: #0e1218; color: #e6e9ef; }

/* Headings keep brand blue but use the lighter dark-mode blue */
[data-theme="dark"] h1, [data-theme="dark"] h2,
[data-theme="dark"] h3, [data-theme="dark"] h4,
[data-theme="dark"] h5, [data-theme="dark"] h6 { color: #e6e9ef; }

/* Header */
[data-theme="dark"] .site-header {
  background: #0e1218;
  border-bottom-color: #2a3340;
}
[data-theme="dark"] .header-meta { color: #9aa3b2; }
[data-theme="dark"] .top-nav a { color: #e6e9ef; }
[data-theme="dark"] .top-nav a:hover { color: var(--brand-green); }
[data-theme="dark"] .nav-pill { color: var(--brand-green); border-color: var(--brand-green); }
[data-theme="dark"] .nav-pill:hover { background: var(--brand-green); color: #0e1218; }

/* Breadcrumbs */
[data-theme="dark"] .breadcrumb-bar {
  background: #161c25;
  border-bottom-color: #2a3340;
  color: #9aa3b2;
}
[data-theme="dark"] .crumbs a { color: #4ea1ee; }
[data-theme="dark"] .crumbs li[aria-current="page"] { color: #e6e9ef; }
[data-theme="dark"] .crumbs .sep { color: #5f6672; }

/* Generic light section backgrounds ? dark surfaces */
[data-theme="dark"] .commitment-section,
[data-theme="dark"] .qualdev-process-section,
[data-theme="dark"] .qualdev-why-section,
[data-theme="dark"] .contact-map-section,
[data-theme="dark"] .pathways-section,
[data-theme="dark"] .sectors-section,
[data-theme="dark"] .about-stats-section,
[data-theme="dark"] .about-why-section,
[data-theme="dark"] .about-quote-section,
[data-theme="dark"] .updates-section,
[data-theme="dark"] .faqs-section,
[data-theme="dark"] .intro-copy-section,
[data-theme="dark"] .other-sectors-section,
[data-theme="dark"] .insights-section,
[data-theme="dark"] .testimonials-section,
[data-theme="dark"] .qsearch-testimonials,
[data-theme="dark"] .quals-testimonials,
[data-theme="dark"] .contact-info-section,
[data-theme="dark"] .contact-form-section,
[data-theme="dark"] .contact-quicklinks-section,
[data-theme="dark"] .qualdev-intro-section,
[data-theme="dark"] .qualdev-offer-section,
[data-theme="dark"] .about-mv-section,
[data-theme="dark"] .about-values-section { background: #0e1218; }

[data-theme="dark"] .qualdev-process-section,
[data-theme="dark"] .qualdev-why-section,
[data-theme="dark"] .contact-map-section { background: #161c25; }

/* Cards & panels */
[data-theme="dark"] .insight-card,
[data-theme="dark"] .qualdev-step,
[data-theme="dark"] .qualdev-offer-card,
[data-theme="dark"] .contact-info-card,
[data-theme="dark"] .contact-quicklink,
[data-theme="dark"] .about-mv-card,
[data-theme="dark"] .about-value-card,
[data-theme="dark"] .about-stat,
[data-theme="dark"] .qs-result-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .contact-form,
[data-theme="dark"] .qualdev-why-stats,
[data-theme="dark"] .sector-card,
[data-theme="dark"] .sector-card-link,
[data-theme="dark"] .quick-link-card,
[data-theme="dark"] .cs-card,
[data-theme="dark"] .bac-step,
[data-theme="dark"] .qd-summary,
[data-theme="dark"] .qd-additional,
[data-theme="dark"] .qd-download,
[data-theme="dark"] .accordion-item,
[data-theme="dark"] .split-panel {
  background: #161c25;
  border-color: #000000; /* Black border in dark mode */
  color: #e6e9ef;
}

[data-theme="dark"] .qualdev-why-stat { background: #1d2531; }

/* Form fields */
[data-theme="dark"] .contact-field input,
[data-theme="dark"] .contact-field select,
[data-theme="dark"] .contact-field textarea,
[data-theme="dark"] input.form-control,
[data-theme="dark"] .updates-form input,
[data-theme="dark"] .search-input,
[data-theme="dark"] .search-select {
  background: #1d2531;
  border-color: #2a3340;
  color: #e6e9ef;
}
[data-theme="dark"] .contact-field input::placeholder,
[data-theme="dark"] .contact-field textarea::placeholder,
[data-theme="dark"] input::placeholder { color: #6b7480; }
[data-theme="dark"] .contact-field input:focus,
[data-theme="dark"] .contact-field select:focus,
[data-theme="dark"] .contact-field textarea:focus {
  background: #232b39;
  border-color: #4ea1ee;
  box-shadow: 0 0 0 3px rgba(78, 161, 238, 0.18);
}

/* Buttons */
[data-theme="dark"] .pill-btn-outline { color: #e6e9ef; border-color: #2a3340; }
[data-theme="dark"] .pill-btn-outline:hover { background: var(--brand-green); color: #0e1218; border-color: var(--brand-green); }
[data-theme="dark"] .pill-btn-dark { background: #1d2531; color: #e6e9ef; }
[data-theme="dark"] .pill-btn-dark:hover { background: var(--brand-green); color: #0e1218; }
[data-theme="dark"] .btn-outline-secondary { color: #e6e9ef; border-color: #2a3340; }
[data-theme="dark"] .btn-outline-secondary:hover { background: #2a3340; color: #fff; }
[data-theme="dark"] .read-more-btn { background: transparent; color: #e6e9ef; border-color: #2a3340; }

/* Pathway icon backplate stays light-frosted on hero overlay; tweak for dark hero */
[data-theme="dark"] .pathway-icon { background: rgba(255, 255, 255, 0.06); border-color: #2a3340; color: #4ea1ee; }
[data-theme="dark"] .pathway-item h4 { color: #e6e9ef; }
[data-theme="dark"] .pathway-item p { color: #9aa3b2; }

/* Sector card header band */
[data-theme="dark"] .sector-card-header { background: #1d2531; color: #e6e9ef; }

/* Footer is already dark � slight tweaks for borders */
[data-theme="dark"] .site-footer { background: #0a0e14; }
[data-theme="dark"] .footer-bottom { border-top-color: #2a3340; }

/* Dev/search band stays branded blue */
[data-theme="dark"] .dev-search-band { background: #061f3a; }
[data-theme="dark"] .search-panel { background: #0e2c4d; border-color: #143a64; }

/* About hero quote */
[data-theme="dark"] .about-quote { background: #161c25; color: #e6e9ef; border-color: #2a3340; }

/* Insights tabs / pills */
[data-theme="dark"] .insights-tab { color: #e6e9ef; }
[data-theme="dark"] .insights-tab.active { background: var(--brand-green); color: #0e1218; }

/* Tags / chips */
[data-theme="dark"] .tag,
[data-theme="dark"] .qs-result-tag,
[data-theme="dark"] .card-meta-row .tag { background: rgba(160, 212, 36, 0.15); color: var(--brand-green); border-color: rgba(160, 212, 36, 0.4); }

/* Contact map iframe wrapper */
[data-theme="dark"] .contact-map-frame,
[data-theme="dark"] .qualdev-intro-figure { background: #1d2531; border-color: #2a3340; }
[data-theme="dark"] .qualdev-intro-figure figcaption { background: #161c25; border-top-color: #2a3340; color: #9aa3b2; }

/* Lang switcher menu in dark mode */
[data-theme="dark"] .lang-switcher-menu { background: #1d2531; border-color: #2a3340; color: #e6e9ef; box-shadow: 0 14px 32px rgba(0,0,0,0.5); }
[data-theme="dark"] .lang-switcher-item { color: #e6e9ef; }
[data-theme="dark"] .lang-switcher-item:hover { background: #232b39; color: #4ea1ee; }
[data-theme="dark"] .lang-switcher-item.is-active { background: #4ea1ee; color: #0e1218; }

/* Inline lists/dots use brand green; bump line color */
[data-theme="dark"] hr { border-color: #2a3340; }
[data-theme="dark"] .section-sub,
[data-theme="dark"] .qualdev-step p,
[data-theme="dark"] .qualdev-offer-card p,
[data-theme="dark"] .contact-info-meta,
[data-theme="dark"] .qualdev-why-label,
[data-theme="dark"] .footer-text,
[data-theme="dark"] .contact-quicklink p,
[data-theme="dark"] .lead-line,
[data-theme="dark"] .pathway-blurb { color: #9aa3b2; }

/* Accordion (FAQs) */
[data-theme="dark"] .accordion-button { background: #161c25; color: #e6e9ef; }
[data-theme="dark"] .accordion-button:not(.collapsed) { background: #1d2531; color: #4ea1ee; }
[data-theme="dark"] .accordion-body { background: #0e1218; color: #e6e9ef; border-color: #2a3340; }

/* Splash safety: links default */
[data-theme="dark"] a { color: inherit; }
[data-theme="dark"] .footer-text a:hover { color: var(--brand-green); }

/* ==========================================================================
   Dark theme � broad text color sweep (overrides hard-coded greys/inks)
   ========================================================================== */
[data-theme="dark"] body,
[data-theme="dark"] p,
[data-theme="dark"] li,
[data-theme="dark"] span,
[data-theme="dark"] label,
[data-theme="dark"] dd,
[data-theme="dark"] dt,
[data-theme="dark"] td,
[data-theme="dark"] th,
[data-theme="dark"] figcaption,
[data-theme="dark"] blockquote { color: #c7cdd8; }

[data-theme="dark"] strong,
[data-theme="dark"] b { color: #e6e9ef; }

[data-theme="dark"] h1, [data-theme="dark"] h2,
[data-theme="dark"] h3, [data-theme="dark"] h4,
[data-theme="dark"] h5, [data-theme="dark"] h6,
[data-theme="dark"] .section-title,
[data-theme="dark"] .section-heading,
[data-theme="dark"] .testimonial-title { color: #ffffff !important; }

/* Re-assert brand blue on accents (so headings inside cards keep brand color where intended) */
[data-theme="dark"] .testimonial-author,
[data-theme="dark"] .qualdev-step h3,
[data-theme="dark"] .contact-quicklink h4,
[data-theme="dark"] .qualdev-why-num,
[data-theme="dark"] .about-stat-num,
[data-theme="dark"] .stat-num,
[data-theme="dark"] .crumbs a,
[data-theme="dark"] .qd-meta-value,
[data-theme="dark"] .qs-result-card h3,
[data-theme="dark"] .qs-result-card h4 { color: #4ea1ee !important; }

/* Italic testimonial body */
[data-theme="dark"] .testimonial-copy,
[data-theme="dark"] .qsearch-test-quote,
[data-theme="dark"] .quals-test-quote,
[data-theme="dark"] .about-quote q,
[data-theme="dark"] .about-quote { color: #d6dbe4 !important; }
[data-theme="dark"] .testimonial-org,
[data-theme="dark"] .qsearch-test-org,
[data-theme="dark"] .quals-test-org { color: #8a93a3 !important; }

/* Contact strip: was pure white background */
[data-theme="dark"] .contact-strip {
  background: #161c25;
  color: #e6e9ef;
  border-top-color: var(--brand-green);
  border-bottom-color: var(--brand-green);
}
[data-theme="dark"] .contact-strip h3 { color: #ffffff !important; }

/* Hero overlays: keep readable on dark images */
[data-theme="dark"] .quals-hero-copy h1,
[data-theme="dark"] .quals-hero-copy p,
[data-theme="dark"] .commitment-copy h2,
[data-theme="dark"] .commitment-copy p { color: #ffffff !important; }

/* Specific common text helpers */
[data-theme="dark"] .lead-line,
[data-theme="dark"] .pathway-blurb,
[data-theme="dark"] .section-sub,
[data-theme="dark"] .footer-text,
[data-theme="dark"] .updates-section p,
[data-theme="dark"] .updates-consent,
[data-theme="dark"] .contact-info-meta,
[data-theme="dark"] .contact-quicklink p,
[data-theme="dark"] .contact-form-copy > p,
[data-theme="dark"] .qualdev-step p,
[data-theme="dark"] .qualdev-offer-card p,
[data-theme="dark"] .qualdev-why-copy > p,
[data-theme="dark"] .qualdev-why-label,
[data-theme="dark"] .qualdev-intro-copy p,
[data-theme="dark"] .about-mv-card p,
[data-theme="dark"] .about-value-card p,
[data-theme="dark"] .about-why-item p,
[data-theme="dark"] .about-stat-label,
[data-theme="dark"] .pathway-item p,
[data-theme="dark"] .insight-card .card-copy,
[data-theme="dark"] .qs-result-card p,
[data-theme="dark"] .accordion-body,
[data-theme="dark"] .qd-summary p,
[data-theme="dark"] .qd-additional p,
[data-theme="dark"] .breadcrumb-bar { color: #9aa3b2 !important; }

[data-theme="dark"] .lead-line strong,
[data-theme="dark"] .qualdev-why-list strong { color: #e6e9ef !important; }

/* Eyebrow accents */
[data-theme="dark"] .eyebrow,
[data-theme="dark"] .qualdev-intro-copy .eyebrow,
[data-theme="dark"] .qualdev-why-copy .eyebrow,
[data-theme="dark"] .contact-form-copy .eyebrow,
[data-theme="dark"] .contact-map-copy .eyebrow { color: #4ea1ee !important; }

/* Buttons � make sure pill buttons are readable */
[data-theme="dark"] .pill-btn-outline,
[data-theme="dark"] .pill-btn-outline:visited { color: #e6e9ef !important; border-color: #2a3340; background: transparent; }
[data-theme="dark"] .pill-btn-outline:hover { color: #0e1218 !important; background: var(--brand-green); border-color: var(--brand-green); }
[data-theme="dark"] .pill-btn-dark { background: var(--brand-green); color: #0e1218 !important; border-color: var(--brand-green); }
[data-theme="dark"] .pill-btn-dark:hover { background: #b6e23f; color: #0e1218 !important; }

/* Read more buttons in insight cards */
[data-theme="dark"] .insight-card .read-more-btn { color: #e6e9ef !important; border-color: #2a3340; background: transparent; }
[data-theme="dark"] .insight-card .read-more-btn:hover { background: var(--brand-green); color: #0e1218 !important; border-color: var(--brand-green); }

/* Card meta dates */
[data-theme="dark"] .insight-card .card-meta-row { color: #8a93a3; }
[data-theme="dark"] .insight-card .card-meta-row .tag { color: #0e1218; background: var(--brand-green); border-color: var(--brand-green); }

/* Header meta links (Home | Become an approved centre | Contact us) */
[data-theme="dark"] .header-meta { color: #c7cdd8; }
[data-theme="dark"] .header-meta a { color: #c7cdd8 !important; }
[data-theme="dark"] .header-meta a:hover { color: var(--brand-green) !important; }

/* Dark mode: footer accreditation badges */
[data-theme="dark"] .footer-badge-img-wide {
  filter: invert(1) hue-rotate(180deg) brightness(1.15);
}
/* Cyber Essentials badge — transparent webp, no special dark-mode treatment needed */

/* ============================================================ */
/* E-certificate verification (form + sample image)             */
/* ============================================================ */
.verify-form-section--ecert {
  background: #fff;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(2, 82, 149, 0.06) 0, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(78, 161, 238, 0.06) 0, transparent 45%);
}
.ecert-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 48px;
  align-items: start;
}
.ecert-form-col { min-width: 0; }
.vf-field--full { margin-bottom: 22px; }
.vf-field--full input { width: 100%; }

.ecert-sample {
  margin: 0;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(2, 82, 149, 0.10);
}
.ecert-sample img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.ecert-sample figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 992px) {
  .ecert-grid { grid-template-columns: 1fr; gap: 32px; }
  .ecert-sample { max-width: 420px; margin: 0 auto; }
}

[data-theme="dark"] .verify-form-section--ecert {
  background: var(--surface, #11161e);
  background-image: none;
}
[data-theme="dark"] .ecert-sample {
  background: #1a212c;
  border-color: #2a3340;
}
[data-theme="dark"] .ecert-sample figcaption { color: #b6bdc7; }

/* ===== Qualification detail � sub-headings & lists (dynamic data) ===== */
.qd-sub-heading {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.4rem 0 0.5rem;
  color: var(--ink, #1f2937);
}
.qd-additional ul {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}
.qd-additional li { margin-bottom: 0.35rem; }
.qd-meta-list { list-style: disc; }
[data-theme="dark"] .qd-sub-heading { color: #e7eaf0; }

/* ================= Insights page ================= */
.insights-page-section {
  padding: 40px 0 64px;
  background: #f4f6f9;
}

.insights-page-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.insights-page-toolbar .insights-tabs .nav-link {
  color: #02427a;
}
.insights-page-toolbar .insights-tabs .nav-link.active {
  color: #02427a;
  background: var(--brand-green);
  border-radius: 999px;
  padding: 4px 14px;
}

.insights-page-search {
  flex: 0 1 320px;
}
.insights-page-search input {
  border-radius: 999px;
  border: 1px solid rgba(2, 66, 122, 0.2);
  padding: 9px 16px;
  background: #fff;
}

.insights-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.insights-page-grid .insights-item { flex: none; }

.insights-empty { padding: 40px 0; }

/* Modal */
.insight-modal {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.insight-modal[hidden] { display: none; }
.insight-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 25, 50, 0.62);
  backdrop-filter: blur(2px);
}
.insight-modal-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  box-shadow: 0 30px 60px rgba(0, 18, 41, 0.35);
  z-index: 1;
}
.insight-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: rgba(255,255,255,0.92);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  z-index: 2;
}
.insight-modal-thumb {
  height: 240px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  position: relative;
}
.insight-modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.insight-modal-body { padding: 22px 26px 28px; }
.insight-modal-heading {
  margin: 8px 0 14px;
  font-size: 24px;
  color: #02427a;
}
.insight-modal-content p { margin: 0 0 12px; line-height: 1.6; color: #2c3645; }

body.insight-modal-open { overflow: hidden; }

[data-theme="dark"] .insights-page-section { background: #0e1218; }
[data-theme="dark"] .insights-page-search input { background: #161c25; color: #e6e9ef; border-color: #2a3340; }
[data-theme="dark"] .insight-modal-card { background: #161c25; color: #e6e9ef; }
[data-theme="dark"] .insight-modal-heading { color: #e6e9ef; }
[data-theme="dark"] .insight-modal-content p { color: #c7cdd8; }

/* Make insights cards clickable */
.insight-card.is-clickable { cursor: pointer; }
.insight-card.is-clickable:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 2px;
}
