:root {
  --ink: #071d3d;
  --muted: #465977;
  --blue: #0869f8;
  --blue-dark: #004bbf;
  --line: #dce6f3;
  --soft: #f4f8fd;
  --white: #ffffff;
  --navy: #001f40;
  --shadow: 0 18px 44px rgba(7, 29, 61, 0.12);
  --page-gutter: max(24px, calc((100vw - 1130px) / 2));
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  background: var(--white);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 3.5vw, 48px);
  min-height: 88px;
  padding: 0 var(--page-gutter);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 230, 243, 0.75);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 72px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(18px, 2.7vw, 38px);
  flex: 1;
  font-size: 14px;
  font-weight: 700;
}

.nav-links > a,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 34px 0 31px;
  border-bottom: 3px solid transparent;
}

.nav-links > a[aria-current="page"],
.nav-trigger[aria-current="page"] {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.nav-dropdown {
  position: relative;
}

.nav-caret {
  width: 8px;
  height: 8px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.submenu {
  position: absolute;
  top: 100%;
  left: -24px;
  z-index: 30;
  display: grid;
  min-width: 320px;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  background: #22a3e5;
  box-shadow: 0 24px 42px rgba(7, 29, 61, 0.16);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-dropdown:hover .submenu,
.nav-dropdown:focus-within .submenu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.submenu a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 11px 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.submenu a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.submenu .submenu-feature {
  min-height: 50px;
}

.submenu a[aria-current="page"] {
  color: #6f2ee8;
  background: rgba(255, 255, 255, 0.26);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu {
  display: none;
}

.mobile-menu > summary {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu[open] > summary {
  color: var(--blue);
  background: #eef5ff;
  border-color: rgba(8, 105, 248, 0.28);
}

.menu-icon,
.heroicon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.mobile-menu-panel {
  position: fixed;
  top: 88px;
  left: var(--page-gutter);
  right: var(--page-gutter);
  z-index: 40;
  display: grid;
  gap: 8px;
  max-height: calc(100dvh - 104px);
  overflow: auto;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.mobile-menu-panel a,
.mobile-search-link {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  font-weight: 800;
  line-height: 1.25;
  border-radius: 8px;
}

.mobile-menu-panel a[aria-current="page"],
.mobile-menu-panel a:hover,
.mobile-search-link:hover {
  color: var(--blue);
  background: #eef5ff;
}

.mobile-search-link {
  width: 100%;
  gap: 10px;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.mobile-search-link .heroicon {
  width: 20px;
  height: 20px;
}

.mobile-submenu {
  border-radius: 8px;
}

.mobile-submenu summary {
  display: flex;
  align-items: center;
  width: auto;
  height: auto;
  min-height: 46px;
  padding: 0 14px;
  color: var(--ink);
  font-weight: 800;
  background: transparent;
  border: 0;
  border-radius: 8px;
  list-style: none;
}

.mobile-submenu[open] > summary {
  color: var(--blue);
  background: #eef5ff;
}

.mobile-submenu summary::-webkit-details-marker {
  display: none;
}

.mobile-submenu summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.mobile-submenu[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.mobile-submenu div {
  display: grid;
  gap: 6px;
  padding: 8px 0 0 12px;
}

.mobile-submenu div a {
  min-height: auto;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 14px;
  white-space: normal;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  color: #fff;
  font-weight: 800;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), #0057df);
  box-shadow: 0 10px 24px rgba(8, 105, 248, 0.24);
}

.button.secondary {
  color: var(--blue);
  background: #fff;
  border: 2px solid var(--blue);
  box-shadow: none;
}

.search {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--ink);
  border: 0;
  border-radius: 50%;
  background: #eef2f7;
  cursor: pointer;
}

.site-search[hidden] {
  display: none;
}

.site-search {
  position: fixed;
  z-index: 900;
  inset: 0;
  display: grid;
  place-items: start center;
  padding: 12vh 20px 30px;
}

.site-search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 29, 61, 0.46);
  backdrop-filter: blur(8px);
}

.site-search-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 660px);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 28px 80px rgba(7, 29, 61, 0.28);
}

.site-search-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: end;
  padding: 28px 72px 22px 22px;
  border-bottom: 1px solid var(--line);
}

.site-search-head label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.site-search-input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  color: var(--ink);
  font: inherit;
  border: 1px solid #cfdced;
  border-radius: 8px;
  outline: 0;
}

.site-search-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(8, 105, 248, 0.12);
}

.site-search-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: #eef3f9;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.site-search-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  transform-origin: center;
}

.site-search-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.site-search-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.site-search-results {
  display: grid;
  gap: 8px;
  max-height: min(54vh, 520px);
  overflow: auto;
  padding: 12px;
}

.site-search-result {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 8px;
}

.site-search-result:hover {
  background: #eef5ff;
}

.site-search-result strong {
  color: var(--ink);
}

.site-search-result span,
.site-search-empty {
  margin: 0;
  color: var(--muted);
}

.icon-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--ink);
  border-radius: 50%;
  background: #eef2f7;
}

.container {
  width: min(1130px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.career-section {
  padding: 54px 0;
}

.section-heading h2 {
  margin: 12px 0 10px;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: #eef5ff;
  border-radius: 4px;
}

.accent {
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 28px;
  background: var(--blue);
  border-radius: 999px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 610px;
  margin-bottom: 22px;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.1;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.25;
}

p {
  color: var(--muted);
}

.hero-course {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.94) 53%, rgba(255, 255, 255, 0.12) 76%),
    linear-gradient(135deg, #f5f2ee 0%, #eaf4ff 100%);
}

.hero-course .container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 800px) 1fr;
  align-items: center;
  min-height: 520px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.course-title-lockup {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  max-width: 820px;
  margin: 10px 0 22px;
}

.course-title-lockup h1 {
  margin-bottom: 0;
  font-size: clamp(40px, 4.1vw, 56px);
}

.training-logo {
  display: block;
  width: 100%;
  height: auto;
  padding: 8px;
  background: #fff;
  border: 1px solid rgba(220, 230, 243, 0.85);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(7, 29, 61, 0.1);
}

.hero-copy > p {
  max-width: 490px;
  font-size: 18px;
}

.hero-art {
  position: absolute;
  inset: 0 0 0 58%;
  overflow: hidden;
}

.office-photo {
  position: absolute;
  inset: 0;
  background: url("images/Index - Assistant Agent.jpg") center / cover no-repeat;
}

.office-photo::before,
.office-photo::after {
  content: "";
  display: none;
  position: absolute;
  bottom: 0;
  border-radius: 90px 90px 0 0;
  background: linear-gradient(#172b45 0 26%, #0f1e31 26% 100%);
  box-shadow: inset 0 -80px 0 rgba(255, 255, 255, 0.08);
}

.office-photo::before {
  right: 270px;
  width: 150px;
  height: 360px;
}

.office-photo::after {
  right: 88px;
  width: 170px;
  height: 430px;
}

.hero-course-certificate {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 53%, rgba(255, 255, 255, 0.18) 76%),
    linear-gradient(135deg, #eef7ff 0%, #e9f4ef 100%);
}

.hero-course-certificate .office-photo {
  background-image: url("images/Index - Quality Course.jpg");
}

.hero-course-certificate .office-photo::before {
  right: 270px;
  width: 180px;
  height: 340px;
  background: linear-gradient(#f5f7f8 0 24%, #122b48 24% 100%);
}

.hero-course-certificate .office-photo::after {
  right: 80px;
  width: 180px;
  height: 390px;
  background: linear-gradient(#182f4f 0 25%, #0f233d 25% 100%);
}

.hero-course-diploma {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.93) 54%, rgba(255, 255, 255, 0.16) 77%),
    linear-gradient(135deg, #eef7ff 0%, #f1f3fb 100%);
}

.hero-course-diploma .office-photo {
  background-image: url("images/Index - Diploma - Boss.jpg");
}

.hero-course-diploma .office-photo::before {
  right: 290px;
  width: 165px;
  height: 380px;
  background: linear-gradient(#143155 0 24%, #0a1d35 24% 100%);
}

.hero-course-diploma .office-photo::after {
  right: 82px;
  width: 190px;
  height: 420px;
  background: linear-gradient(#f7f8fb 0 23%, #173052 23% 100%);
}

.floating-credential {
  position: absolute;
  right: 7vw;
  bottom: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: 318px;
  padding: 22px 18px;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.credential-item {
  display: flex;
  min-height: 92px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  padding: 0 15px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.28;
}

.credential-item + .credential-item {
  border-left: 1px solid var(--line);
}

.credential-item b {
  display: block;
  color: var(--blue);
  font-size: 30px;
  line-height: 1;
}

.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 26px 0 30px;
  font-size: 14px;
  font-weight: 800;
}

.check {
  color: var(--blue);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.overview {
  margin-top: 54px;
  padding: 32px 46px;
  background: linear-gradient(100deg, #f3f8ff, #fff);
  border-radius: 9px;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(6, 1fr);
  gap: 18px;
  align-items: stretch;
}

.stat {
  display: grid;
  grid-template-rows: 48px auto 1fr;
  justify-items: center;
  align-content: start;
  min-height: 116px;
  text-align: center;
  font-size: 14px;
  line-height: 1.35;
}

.stat-icon,
.icon-circle {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto;
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
  border: 2px solid var(--blue);
  border-radius: 50%;
}

.stat-icon .heroicon,
.icon-circle .heroicon {
  width: 25px;
  height: 25px;
  stroke-width: 1.9;
}

.credential-item .heroicon {
  display: block;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  color: var(--blue);
  stroke-width: 1.7;
}

.stat strong,
.timeline-step strong {
  display: block;
  color: var(--ink);
}

.stat strong {
  margin-top: 9px;
  line-height: 1.2;
}

.stat > span:last-child {
  color: #102744;
  line-height: 1.35;
}

.career-grid {
  display: grid;
  grid-template-columns: minmax(340px, 430px) 1fr;
  gap: 42px;
  align-items: center;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 30px 28px;
  background: linear-gradient(100deg, #f5f9ff, #fff);
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: 0 14px 34px rgba(7, 29, 61, 0.06);
  text-align: center;
}

.timeline-step {
  position: relative;
  font-size: 14px;
  font-weight: 800;
}

.timeline-step .icon-circle {
  width: 54px;
  height: 54px;
  margin-bottom: 10px;
  background: #fff;
}

.timeline-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  right: -16px;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%230869f8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m8.25 4.5 7.5 7.5-7.5 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.centered {
  text-align: center;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 42px;
  margin-top: 34px;
  text-align: center;
}

.benefit p {
  font-size: 14px;
}

.units-grid {
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr;
  gap: 40px;
  align-items: start;
}

.portrait-card,
.about-photo {
  min-height: 330px;
  border-radius: 8px;
  background: url("images/Index - Assistant Agent.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.units-grid .portrait-card {
  position: sticky;
  top: 112px;
}

.unit-list {
  margin: 20px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.unit-list li {
  display: grid;
  grid-template-columns: 26px 120px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.compact-units li {
  padding: 10px 0;
}

.certificate-card {
  background-image: url("images/open-house.png");
}

.diploma-card {
  background-image: url("images/Index - Diploma - Boss.jpg");
}

.faq-cards {
  text-align: left;
}

.unit-list b {
  color: var(--ink);
}

.text-link {
  color: var(--blue);
  font-weight: 800;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 26px;
}

.testimonial,
.about-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: 0 12px 28px rgba(7, 29, 61, 0.06);
}

.stars {
  color: #f5bb00;
  letter-spacing: 2px;
}

.cta-band {
  color: #fff;
  background:
    radial-gradient(circle at 74% 50%, rgba(8, 105, 248, 0.42), transparent 28%),
    linear-gradient(135deg, #001a34, #003463);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: center;
  padding: 42px 0;
}

.cta-band h2,
.cta-band p {
  color: #fff;
  margin-bottom: 8px;
}

.site-footer {
  color: #fff;
  background: linear-gradient(135deg, #00294f, #001832);
}

.site-footer .brand {
  padding: 8px 10px;
  background: #fff;
  border-radius: 8px;
}

.site-footer .brand-logo {
  height: 68px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 44px;
  padding: 48px 0;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.86);
}

.site-footer h3 {
  font-size: 16px;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  position: relative;
  width: fit-content;
  padding: 4px 0;
  transition: color 160ms ease, transform 160ms ease;
}

.footer-links a::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: 0;
  transform: translate(-7px, -50%) rotate(45deg);
  transition: opacity 160ms ease, transform 160ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
  transform: translateX(4px);
}

.footer-links a:hover::before,
.footer-links a:focus-visible::before {
  opacity: 1;
  transform: translate(0, -50%) rotate(45deg);
}

.footer-contact {
  display: grid;
  gap: 12px;
}

.footer-contact a {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: fit-content;
  transition: color 160ms ease, transform 160ms ease;
}

.footer-contact a::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: 0;
  transform: translate(-7px, -50%) rotate(45deg);
  transition: opacity 160ms ease, transform 160ms ease;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: #fff;
  transform: translateX(4px);
}

.footer-contact a:hover::before,
.footer-contact a:focus-visible::before {
  opacity: 1;
  transform: translate(0, -50%) rotate(45deg);
}

.footer-contact .heroicon {
  width: 22px;
  height: 22px;
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.74);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(620px, 58%) 1fr;
  min-height: 470px;
  background: #f7f8fa;
}

.about-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 72px var(--page-gutter);
}

.about-hero-copy h1 {
  max-width: none;
  white-space: nowrap;
}

.about-hero-copy p {
  max-width: 720px;
  font-size: 24px;
  color: var(--ink);
}

.home-hero {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background: #d9f0ff;
}

.home-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 24, 54, 0.86) 0%, rgba(0, 48, 97, 0.68) 42%, rgba(0, 48, 97, 0.14) 74%),
    linear-gradient(0deg, rgba(0, 18, 40, 0.18), rgba(0, 18, 40, 0.18));
}

.home-hero-copy {
  position: relative;
  z-index: 1;
  padding-top: 78px;
}

.home-hero h1 {
  max-width: 760px;
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(42px, 4.8vw, 60px);
  line-height: 1.05;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.28);
}

.home-hero .accent {
  margin-bottom: 18px;
  background: #29a8ff;
}

.home-hero p {
  color: rgba(255, 255, 255, 0.94);
  font-size: 20px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.24);
}

.home-courses {
  padding-top: 32px;
  background: #fff;
}

.course-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 28px;
  align-items: stretch;
  text-align: left;
}

.course-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: var(--shadow);
}

.course-photo {
  min-height: 210px;
  background-color: #d9e8ef;
  background-position: center;
  background-size: cover;
}

.course-photo-agent {
  background-image: url("images/Index - Assistant Agent.jpg");
}

.course-photo-home {
  background-image: url("images/Index - Quality Course.jpg");
}

.course-photo-building {
  background-image: url("images/Index - Diploma - Boss.jpg");
}

.course-icon {
  position: absolute;
  top: 168px;
  left: 28px;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(8, 105, 248, 0.2);
}

.course-icon .heroicon {
  width: 34px;
  height: 34px;
}

.course-card-body {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  flex: 1;
  padding: 40px 22px 22px;
}

.course-card-title {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 74px;
  margin-bottom: 12px;
}

.course-card-title img {
  display: block;
  width: 58px;
  height: auto;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.course-card h3 {
  margin-bottom: 0;
  font-size: 24px;
  line-height: 1.12;
}

.course-card p {
  min-height: 82px;
  color: var(--ink);
}

.course-price {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: grid;
  grid-template-columns: 22px minmax(44px, 1fr);
  align-items: center;
  gap: 10px;
  width: 104px;
  min-height: 42px;
  padding: 0 14px;
  color: #fff;
  background: rgba(7, 29, 61, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(7, 29, 61, 0.18);
  backdrop-filter: blur(10px);
}

.course-price-right {
  right: 16px;
  left: auto;
}

.course-price strong {
  color: #fff;
  font-size: 18px;
  line-height: 1;
  text-align: right;
}

.course-price span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.course-card ul {
  display: grid;
  align-self: end;
  gap: 10px;
  margin: 0 0 18px;
  padding: 16px;
  list-style: none;
  background: #f8fafc;
  border-radius: 6px;
}

.course-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.course-card li .heroicon {
  width: 18px;
  height: 18px;
  color: var(--blue);
}

.course-card .button {
  width: 100%;
}

.home-benefits {
  padding: 28px 0 38px;
  background: #fff;
}

.benefit-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.benefit-strip div {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 14px;
  align-items: start;
}

.benefit-strip .heroicon {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  color: var(--blue);
}

.benefit-strip strong {
  color: var(--ink);
}

.benefit-strip span {
  color: var(--muted);
  font-size: 14px;
}

.home-contact {
  color: #fff;
  background: linear-gradient(135deg, #002552, #003c78);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  min-height: 260px;
}

.contact-details {
  padding: 42px 0;
}

.contact-details h2,
.contact-details p {
  color: #fff;
}

.contact-details a,
.contact-details span {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  color: #fff;
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 32px 0;
  border-left: 1px solid rgba(255,255,255,0.32);
  padding-left: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}

.contact-field {
  display: grid;
  gap: 8px;
}

.captcha-field {
  display: grid;
  justify-items: start;
  min-height: 78px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 15px 16px;
  color: var(--ink);
  font: inherit;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.16);
}

.contact-form textarea {
  min-height: 92px;
  resize: vertical;
}

.contact-form .captcha-field {
  width: fit-content;
  padding: 4px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 8px;
}

.contact-form .button {
  width: fit-content;
  min-width: 160px;
}

.contact-form .field-error {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.contact-field.is-invalid input,
.contact-field.is-invalid textarea {
  border-color: #fda29b;
  box-shadow: 0 0 0 4px rgba(253, 162, 155, 0.22);
}

.contact-form.is-submitted::after {
  content: "Thank you. Your message has been checked and is ready to send.";
  padding: 14px 16px;
  color: #fff;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
}

.office-panel {
  display: grid;
  min-height: 260px;
  place-items: center;
  align-self: stretch;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.62), rgba(255,255,255,0.22)),
    linear-gradient(135deg, #d9e5dc 0 25%, #f1e4d5 25% 62%, #c5d5df 62% 100%);
}

.office-panel img {
  width: 170px;
  height: auto;
  padding: 12px;
  background: rgba(255,255,255,0.88);
  border-radius: 8px;
}

.social-links {
  display: flex;
  gap: 14px;
}

.social-links a {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 50%;
  font-weight: 800;
}

.enrol-hero {
  padding: 72px 0;
  background:
    linear-gradient(135deg, rgba(0, 40, 86, 0.96), rgba(0, 70, 132, 0.9)),
    url("images/How%20to%20Get%20Started.png") center / cover;
}

.enrol-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: center;
}

.enrol-hero-copy {
  max-width: 720px;
}

.enrol-hero-copy h1 {
  max-width: 760px;
  margin: 18px 0;
  color: #fff;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.98;
}

.enrol-hero-copy p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.enrol-hero-link {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.enrol-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.enrol-hero-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.enrol-hero-card img {
  width: 154px;
  height: auto;
}

.enrol-hero-card h2 {
  margin: 0;
  font-size: 24px;
}

.enrol-hero-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.enrol-hero-card li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-weight: 700;
}

.enrol-hero-card li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--blue);
  border-radius: 50%;
}

.enrol-content {
  background: linear-gradient(180deg, #f4f8fd 0%, #fff 62%);
}

.enrol-heading {
  max-width: 700px;
  margin-bottom: 30px;
}

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

.enrol-step-grid article,
.enrol-course-grid article {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 100%;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(7, 29, 61, 0.06);
}

.enrol-step-grid strong {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.2;
}

.enrol-step-grid p,
.enrol-course-grid p,
.enrol-cta p {
  margin: 0;
  color: var(--muted);
}

.enrol-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.enrol-inline-links a,
.enrol-content .text-link {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.enrol-course-heading {
  margin-top: 56px;
}

.enrol-course-title {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.enrol-course-title img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.enrol-course-title h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
}

.enrol-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  padding: 30px;
  color: #fff;
  background: linear-gradient(135deg, #00366f, #0869f8);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.enrol-cta h2 {
  margin: 10px 0 8px;
  color: #fff;
  font-size: 32px;
}

.enrol-cta p {
  color: rgba(255, 255, 255, 0.84);
}

.enrol-pdf-link {
  margin-top: 8px;
  font-size: 14px;
}

.enrol-pdf-link a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.enrol-cta .button {
  flex: 0 0 auto;
  min-width: 170px;
  background: #fff;
  color: var(--blue);
  box-shadow: none;
}

.policies-hero {
  padding: 82px 0 72px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0, 31, 64, 0.94), rgba(0, 73, 143, 0.78)),
    linear-gradient(135deg, #002552, #0869f8);
}

.policies-hero h1 {
  max-width: 760px;
  margin-bottom: 16px;
  color: #fff;
}

.policies-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 22px;
}

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

.policies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.policy-card {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: 0 12px 28px rgba(7, 29, 61, 0.06);
}

.policy-card .icon-circle {
  margin: 0 0 22px;
}

.policy-card h2 {
  font-size: 28px;
}

.policy-card p {
  flex: 1;
}

.policy-card .button {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  text-align: center;
  line-height: 1.2;
}

.private-policies-hero {
  padding-bottom: 64px;
}

.private-policy-login-section,
.private-policy-section {
  background: var(--soft);
}

.private-policy-login-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: stretch;
}

.private-policy-login-copy,
.private-policy-login,
.private-policy-panel,
.private-policy-group {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: 0 12px 28px rgba(7, 29, 61, 0.06);
}

.private-policy-login-copy {
  padding: 38px;
}

.private-policy-login-copy .icon-circle,
.private-policy-panel .icon-circle {
  margin-bottom: 22px;
}

.private-policy-login-copy h2,
.private-policy-panel h2,
.private-policy-group h2 {
  margin-bottom: 12px;
  font-size: 30px;
}

.private-policy-login-copy p,
.private-policy-panel p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.private-policy-login {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 34px;
}

.private-policy-login label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

.private-policy-login input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  color: var(--ink);
  font: inherit;
  background: #f8fbff;
  border: 1px solid #cfdced;
  border-radius: 8px;
  outline: 0;
}

.private-policy-login input:focus {
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(8, 105, 248, 0.12);
}

.private-policy-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.private-policy-panel {
  position: sticky;
  top: var(--sticky-offset);
  display: grid;
  gap: 16px;
  padding: 30px;
}

.private-policy-panel .button {
  width: 100%;
}

.private-policy-list {
  display: grid;
  gap: 18px;
}

.private-policy-group {
  padding: 26px;
}

.private-policy-group h2 {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.private-policy-group > div {
  display: grid;
  gap: 10px;
}

.private-policy-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 16px;
  align-items: center;
  min-height: 54px;
  padding: 0 16px;
  color: var(--ink);
  font-weight: 700;
  background: #f8fbff;
  border: 1px solid #d9e5f4;
  border-radius: 8px;
}

.private-policy-link:hover,
.private-policy-link:focus-visible {
  color: var(--blue);
  background: #eef5ff;
  border-color: #bfd8ff;
}

.private-policy-link .heroicon {
  color: var(--blue);
}

.private-policy-link.is-disabled {
  grid-template-columns: 1fr;
  color: var(--muted);
  background: #f3f7fc;
}

.private-policy-link small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  text-align: right;
}

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

.feedback-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.feedback-panel,
.feedback-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: 0 12px 28px rgba(7, 29, 61, 0.06);
}

.feedback-panel {
  position: sticky;
  top: 112px;
  padding: 34px;
}

.feedback-panel .icon-circle {
  margin: 0 0 22px;
}

.feedback-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding: 38px;
  border-top: 5px solid var(--blue);
}

.feedback-form label {
  display: grid;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.feedback-form label > span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
}

.feedback-form input,
.feedback-form select,
.feedback-form textarea {
  width: 100%;
  min-height: 58px;
  padding: 15px 16px;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  border: 1px solid #cfdced;
  border-radius: 8px;
  background: #f8fbff;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.feedback-form input::placeholder,
.feedback-form textarea::placeholder {
  color: #74839a;
  font-weight: 500;
}

.contact-form input:focus::placeholder,
.contact-form textarea:focus::placeholder,
.feedback-form input:focus::placeholder,
.feedback-form textarea:focus::placeholder,
.form-block input:focus::placeholder {
  color: transparent;
}

.feedback-form input:focus,
.feedback-form select:focus,
.feedback-form textarea:focus {
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(8, 105, 248, 0.12);
}

.feedback-form textarea {
  min-height: 190px;
  resize: vertical;
}

.feedback-form label:nth-child(3),
.feedback-message,
.feedback-form-footer {
  grid-column: 1 / -1;
}

.feedback-form-footer {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(180px, 240px);
  gap: 18px;
  align-items: end;
  justify-content: space-between;
}

.feedback-form-footer .button {
  justify-self: end;
  width: 100%;
  min-height: 58px;
  font-size: 18px;
}

.feedback-form label.is-invalid input,
.feedback-form label.is-invalid select,
.feedback-form label.is-invalid textarea {
  border-color: #d92d20;
  box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.12);
}

.feedback-form .field-error {
  margin: 0;
  color: #b42318;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.feedback-form.is-submitted::after {
  content: "Thank you. Your feedback has been checked and is ready to submit.";
  grid-column: 1 / -1;
  padding: 16px 18px;
  color: #05603a;
  font-weight: 800;
  background: #ecfdf3;
  border: 1px solid #abefc6;
  border-radius: 9px;
}

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

.enrolment-form {
  display: grid;
  gap: 28px;
}

.form-block {
  display: grid;
  gap: 20px;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: 0 12px 28px rgba(7, 29, 61, 0.06);
}

.form-block h2 {
  margin-bottom: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.form-block h3 {
  margin: 4px 0 0;
}

.form-block fieldset {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-block legend,
.form-block label > span,
.field-label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

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

.form-grid .wide {
  grid-column: 1 / -1;
}

.form-grid .name-option {
  grid-column: 1 / -1;
  justify-self: start;
}

.form-block label,
.form-field {
  display: grid;
  grid-template-rows: auto 54px 17px;
  align-items: start;
  gap: 6px;
  color: var(--ink);
}

.form-block label.checkbox-line,
.choice-row label,
.choice-grid label {
  grid-template-rows: none;
}

.form-block label > .field-help,
.form-field > .field-help {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

.form-block label > .field-help a,
.form-field > .field-help a {
  color: var(--blue);
  font-weight: 650;
}

.usi-field {
  max-width: 760px;
  grid-template-rows: auto auto 54px 17px;
}

.form-block input[type="text"],
.form-block input[type="email"],
.form-block input[type="tel"],
.form-block input[type="date"] {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
  border: 1px solid #cfdced;
  border-radius: 8px;
  background: #f8fbff;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.form-block input[type="date"] {
  max-width: 260px;
}

.form-block label.is-disabled > span {
  color: #7a8aa3;
}

.form-block input:disabled {
  color: #7a8aa3;
  background: #eef3f9;
  border-color: #d7e1ef;
  cursor: not-allowed;
}

.form-block input[type="text"]:focus,
.form-block input[type="email"]:focus,
.form-block input[type="tel"]:focus,
.form-block input[type="date"]:focus {
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(8, 105, 248, 0.12);
}

.form-block label.is-invalid input[type="text"],
.form-block label.is-invalid input[type="email"],
.form-block label.is-invalid input[type="tel"],
.form-block label.is-invalid input[type="date"],
.form-field.is-invalid input[type="text"],
.form-field.is-invalid input[type="email"],
.form-field.is-invalid input[type="tel"],
.form-field.is-invalid input[type="date"],
.signature-field.is-invalid .signature-pad {
  border-color: #ef746d;
  background: #fffafa;
  box-shadow: 0 0 0 2px rgba(217, 45, 32, 0.08);
}

.form-block fieldset.is-invalid {
  padding: 12px;
  border: 1px solid rgba(217, 45, 32, 0.24);
  border-radius: 9px;
  background: #fffafa;
}

.field-error {
  min-height: 15px;
  margin: 0;
  color: #c0362c;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
}

.form-status {
  margin: 4px 0 0;
  padding: 14px 16px;
  font-weight: 600;
  line-height: 1.35;
  border-radius: 8px;
}

.form-status:empty {
  display: none;
}

.form-status[data-type="success"] {
  color: #05603a;
  background: #ecfdf3;
  border: 1px solid #abefc6;
}

.form-status[data-type="error"] {
  color: #b42318;
  background: #fff1f0;
  border: 1px solid #fda29b;
}

.form-toast {
  position: fixed;
  z-index: 1000;
  top: 50%;
  left: 50%;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 34px;
  gap: 14px;
  align-items: start;
  width: min(92vw, 460px);
  padding: 18px 18px 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(7, 29, 61, 0.22);
  transform: translate(-50%, -50%);
}

.form-toast[data-type="success"] {
  border-color: #abefc6;
}

.form-toast[data-type="error"] {
  border-color: #fda29b;
}

.form-toast-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: #05603a;
  border-radius: 50%;
}

.form-toast[data-type="error"] .form-toast-icon {
  background: #b42318;
}

.form-toast-icon span {
  width: 17px;
  height: 10px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: translateY(-2px) rotate(-45deg);
}

.form-toast[data-type="error"] .form-toast-icon span {
  width: auto;
  height: auto;
  border: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  transform: none;
}

.form-toast[data-type="error"] .form-toast-icon span::before {
  content: "!";
}

.form-toast-copy strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.2;
}

.form-toast-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.form-toast-countdown {
  position: absolute;
  right: 18px;
  bottom: 12px;
  display: block;
  margin-top: 0;
  color: #74839a;
  font-size: 12px;
  font-weight: 400;
}

.form-toast-close {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.form-toast-close:hover {
  background: #eef3f9;
}

.form-toast-close span {
  position: absolute;
  width: 15px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.form-toast-close span:first-child {
  transform: rotate(45deg);
}

.form-toast-close span:last-child {
  transform: rotate(-45deg);
}

.button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.choice-row,
.choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.choice-row label,
.choice-grid label,
.checkbox-line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 13px;
  font-weight: 500;
  background: #f8fbff;
  border: 1px solid #cfdced;
  border-radius: 8px;
}

.name-option.checkbox-line {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 0;
  color: var(--muted);
  font-size: 14px;
  background: transparent;
  border: 0;
}

.checkbox-line.is-invalid {
  flex-wrap: wrap;
}

.consent-line.is-invalid {
  display: grid;
}

.checkbox-line .field-error {
  flex: 0 0 100%;
  margin-left: 28px;
}

.consent-line {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  column-gap: 12px;
  row-gap: 8px;
  padding: 18px 20px;
}

.consent-line input {
  margin-top: 2px;
}

.consent-line > span {
  max-width: 600px;
  font-weight: 400;
  line-height: 1.45;
}

.consent-line .field-error {
  grid-column: 2;
  margin: 0;
}

.form-block input[type="radio"],
.form-block input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--blue);
}

.enrolment-form .button {
  min-height: 58px;
  font-size: 16px;
}

.declaration-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 340px);
  align-items: start;
  justify-content: start;
  gap: 28px;
}

.declaration-actions {
  display: grid;
  align-content: start;
  gap: 18px;
}

.declaration-actions label {
  grid-template-rows: auto 54px 28px;
}

.declaration-actions input[type="date"] {
  max-width: none;
}

.declaration-actions .button {
  width: auto;
  min-width: 0;
  justify-self: stretch;
  padding-inline: 24px;
}

.enrolment-form.is-submitted::after {
  content: "Thank you. Your enrolment application has been checked and is ready to submit.";
  display: block;
  padding: 18px 20px;
  color: #05603a;
  font-weight: 600;
  background: #ecfdf3;
  border: 1px solid #abefc6;
  border-radius: 9px;
}

.signature-field {
  display: grid;
  gap: 6px;
}

.signature-label {
  display: flex;
  align-items: center;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.signature-pad-wrap {
  position: relative;
}

.signature-pad {
  display: block;
  width: 100%;
  height: 240px;
  background:
    linear-gradient(transparent calc(100% - 42px), rgba(8, 105, 248, 0.14) calc(100% - 41px), rgba(8, 105, 248, 0.14) calc(100% - 40px), transparent calc(100% - 39px)),
    #f8fbff;
  border: 1px solid #cfdced;
  border-radius: 8px;
  cursor: crosshair;
  touch-action: none;
}

.signature-clear {
  position: absolute;
  top: 12px;
  right: 12px;
}

.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--blue);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  background: #eef5ff;
  border: 1px solid rgba(8, 105, 248, 0.22);
  border-radius: 7px;
  cursor: pointer;
}

.about-hero-art {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 29, 61, 0.18), transparent 42%),
    url("images/About Us.jpg") center / cover no-repeat;
}

.about-hero-art::before {
  content: none;
}

.about-hero-art::after {
  content: none;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.about-card {
  min-height: 270px;
  padding: 36px 34px;
}

.about-card .icon-circle {
  margin: 0 0 22px;
  color: #fff;
  background: var(--blue);
}

.about-story {
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: stretch;
}

.harbour-photo {
  min-height: 600px;
  background:
    linear-gradient(100deg, rgba(7, 29, 61, 0.12), transparent 34%),
    url("images/About Us.jpg") center / cover no-repeat;
}

.story-copy {
  padding: 64px 7vw 64px 48px;
}

.admin-page {
  min-height: 100vh;
  --admin-sticky-offset: 194px;
  background: #f3f7fc;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  min-height: 92px;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 14px 0;
  background: transparent;
}

.admin-topbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.admin-brand {
  display: inline-flex;
  width: 100%;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.admin-kicker {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-topbar h1 {
  max-width: none;
  margin: 2px 0 0;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1;
}

.admin-site-link,
.admin-button,
.admin-row-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  cursor: pointer;
}

.admin-site-link {
  color: var(--blue);
  background: #eef5ff;
}

.admin-top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
}

.admin-top-actions .admin-site-link {
  border: 0;
}

.admin-user-pill {
  display: inline-grid;
  grid-template-columns: 36px auto;
  gap: 10px;
  align-items: center;
  min-height: 42px;
  padding: 5px 12px 5px 5px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(7, 29, 61, 0.05);
}

.admin-user-pill[hidden] {
  display: none;
}

.admin-user-pill > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  background: var(--blue);
  border-radius: 50%;
}

.admin-user-pill strong,
.admin-user-pill small {
  display: block;
  line-height: 1.1;
}

.admin-user-pill strong {
  max-width: 130px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-user-pill small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  text-transform: capitalize;
}

.admin-button.ghost {
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfdced;
}

.admin-button .heroicon {
  width: 18px;
  height: 18px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 22px;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 56px;
}

.admin-sidebar {
  position: sticky;
  top: var(--admin-sticky-offset);
  align-self: start;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(7, 29, 61, 0.06);
}

.admin-sidebar nav {
  display: grid;
  gap: 6px;
}

.admin-sidebar button {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding: 0 12px;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.admin-sidebar button:hover,
.admin-sidebar button.is-active {
  color: var(--blue);
  background: #eef5ff;
}

.admin-sidebar .heroicon {
  width: 20px;
  height: 20px;
}

.admin-sidebar small {
  padding: 3px 7px;
  color: #6d7d93;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #edf2f8;
  border-radius: 999px;
}

.admin-sidebar button:hover small,
.admin-sidebar button.is-active small {
  color: var(--blue);
  background: #dceaff;
}

.admin-content {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.admin-hero,
.admin-placeholder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 245, 255, 0.92)),
    #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(7, 29, 61, 0.06);
}

.admin-hero h2,
.admin-placeholder h2 {
  margin: 6px 0 6px;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.05;
}

.admin-hero p,
.admin-placeholder p {
  max-width: 640px;
  margin: 0;
}

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

.admin-summary article,
.admin-board {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(7, 29, 61, 0.06);
}

.admin-summary article {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.admin-summary span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-summary strong {
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
}

.admin-board {
  overflow: hidden;
}

.admin-placeholder {
  display: grid;
  align-items: start;
}

.admin-placeholder[hidden] {
  display: none;
}

.admin-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
  margin-top: 6px;
}

.admin-placeholder-grid article {
  display: grid;
  gap: 6px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-placeholder-grid strong {
  color: var(--ink);
}

.admin-placeholder-grid span {
  color: var(--muted);
  font-size: 14px;
}

.admin-settings-panel[hidden] {
  display: none;
}

.admin-users-panel[hidden] {
  display: none;
}

.admin-users-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.admin-panel-title {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.1;
}

.admin-settings-form {
  display: grid;
  gap: 18px;
}

.admin-settings-section {
  display: grid;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(7, 29, 61, 0.06);
}

.admin-settings-section h2 {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.1;
}

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

.admin-settings-grid label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}

.admin-settings-grid .wide {
  grid-column: 1 / -1;
}

.admin-settings-grid input,
.admin-settings-grid select {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  background: #f8fbff;
  border: 1px solid #cfdced;
  border-radius: 8px;
  outline: 0;
}

.admin-settings-grid input:focus,
.admin-settings-grid select:focus {
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(8, 105, 248, 0.12);
}

.admin-settings-actions {
  display: flex;
  justify-content: flex-end;
}

.admin-user-form {
  position: sticky;
  top: var(--admin-sticky-offset, 128px);
}

.admin-user-form input[readonly] {
  color: var(--muted);
  background: #eef3f9;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.admin-search {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  background: #f8fbff;
  border: 1px solid #cfdced;
  border-radius: 8px;
}

.admin-search input,
.admin-actions select {
  width: 100%;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  background: transparent;
  border: 0;
  outline: 0;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-actions select {
  min-height: 42px;
  width: 160px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #cfdced;
  border-radius: 8px;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  padding: 14px 18px 0;
}

.admin-tabs button {
  min-height: 38px;
  padding: 0 14px;
  color: var(--muted);
  font: inherit;
  font-weight: 650;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  cursor: pointer;
}

.admin-tabs button.is-active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.admin-table-wrap {
  overflow: auto;
  padding: 0 18px 18px;
}

.admin-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  table-layout: fixed;
}

.admin-table th {
  padding: 14px 10px 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  text-align: left;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}

.admin-table td {
  padding: 13px 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  vertical-align: middle;
  border-bottom: 1px solid #edf2f8;
}

.admin-table td strong {
  font-weight: 650;
}

.admin-table th:nth-child(1),
.admin-table td:nth-child(1) {
  width: 132px;
}

.admin-table th:nth-child(2),
.admin-table td:nth-child(2) {
  width: 108px;
}

.admin-table th:nth-child(3),
.admin-table td:nth-child(3) {
  width: 132px;
}

.admin-table th:nth-child(6),
.admin-table td:nth-child(6) {
  width: 92px;
}

.admin-table th:nth-child(7),
.admin-table td:nth-child(7) {
  width: 58px;
}

.admin-users-table {
  min-width: 0;
  table-layout: fixed;
}

.admin-users-table th,
.admin-users-table td {
  padding-inline: 8px;
}

.admin-users-table th:nth-child(1),
.admin-users-table td:nth-child(1) {
  width: 30%;
}

.admin-users-table th:nth-child(2),
.admin-users-table td:nth-child(2) {
  width: 28%;
}

.admin-users-table th:nth-child(3),
.admin-users-table td:nth-child(3) {
  width: 76px;
}

.admin-users-table th:nth-child(4),
.admin-users-table td:nth-child(4) {
  width: 92px;
}

.admin-users-table th:nth-child(5),
.admin-users-table td:nth-child(5) {
  width: 46px;
  text-align: right;
}

.admin-users-table td {
  height: 58px;
}

.admin-users-table td strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-table td > small,
.admin-table td > span {
  display: inline-flex;
}

.admin-table small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.admin-type,
.admin-status {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
}

.admin-type-enrolment {
  color: #0057df;
  background: #eaf2ff;
}

.admin-type-contact {
  color: #047857;
  background: #ecfdf3;
}

.admin-type-feedback {
  color: #8a4b00;
  background: #fff4df;
}

.admin-status {
  color: #3c4b63;
  background: transparent;
  border: 1px solid #d8e2ef;
}

.admin-status-new {
  color: #0057df;
  background: #eaf2ff;
  border-color: #cfe0ff;
}

.admin-status-in-review {
  color: #946200;
  background: #fff6dd;
  border-color: #f4d795;
}

.admin-status-completed {
  color: #067647;
  background: #ecfdf3;
  border-color: #abefc6;
}

.admin-row-action {
  display: inline-grid;
  place-items: center;
  width: 30px;
  min-height: 28px;
  padding: 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 650;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
}

.admin-row-action .heroicon {
  width: 17px;
  height: 17px;
}

.admin-row-action:hover,
.admin-row-action:focus-visible {
  background: #eef5ff;
  border-color: #d8e6fb;
}

.admin-done-button {
  color: #067647;
}

.admin-done-button .heroicon {
  width: 17px;
  height: 17px;
}

.admin-empty {
  margin: 0;
  padding: 36px 16px;
  color: var(--muted);
  text-align: center;
}

.admin-drawer[hidden],
.admin-toast[hidden] {
  display: none;
}

.admin-drawer {
  position: fixed;
  z-index: 80;
  inset: 0;
}

.admin-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 29, 61, 0.46);
}

.admin-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 520px);
  height: 100%;
  overflow: auto;
  padding: 34px;
  background: #fff;
  box-shadow: -18px 0 50px rgba(7, 29, 61, 0.22);
}

.admin-drawer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--ink);
  background: #eef3f9;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.admin-drawer-panel h2 {
  margin: 18px 48px 6px 0;
  font-size: 34px;
  font-weight: 650;
}

.admin-detail-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}

.admin-detail-list div,
.admin-message {
  padding: 14px;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-detail-list span,
.admin-message span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.admin-detail-list strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.admin-message p {
  margin: 0;
  color: var(--ink);
  font-weight: 400;
}

.admin-drawer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.admin-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  max-width: 340px;
  padding: 14px 16px;
  color: #05603a;
  font-weight: 800;
  background: #ecfdf3;
  border: 1px solid #abefc6;
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(7, 29, 61, 0.16);
}

.admin-login-page {
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(0, 31, 64, 0.94), rgba(8, 105, 248, 0.72)),
    url("images/About Us.jpg") center / cover no-repeat;
}

.admin-login-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px 18px;
}

.admin-login-card {
  width: min(100%, 420px);
  padding: 34px 32px 32px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 10px;
  box-shadow: 0 28px 80px rgba(7, 29, 61, 0.28);
}

.admin-login-head {
  display: grid;
  justify-items: center;
  gap: 18px;
  margin-bottom: 26px;
  text-align: center;
}

.admin-login-logo {
  display: inline-flex;
  width: 164px;
  margin-bottom: 0;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-login-logo img {
  width: 100%;
  height: auto;
}

.admin-login-card h1 {
  max-width: none;
  margin: 0;
  font-size: 36px;
  line-height: 1;
}

.admin-login-form {
  display: grid;
  gap: 15px;
}

.admin-login-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.admin-login-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  background: #f8fbff;
  border: 1px solid #cfdced;
  border-radius: 8px;
  outline: 0;
}

.admin-login-form input:focus {
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(8, 105, 248, 0.12);
}

.admin-login-form.is-invalid input {
  border-color: #ef746d;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.1);
}

.admin-login-error {
  margin: -2px 0 0;
  color: #b42318;
  font-size: 14px;
  font-weight: 800;
}

.admin-login-form .admin-button {
  min-height: 54px;
}

.not-found-page {
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(0, 31, 64, 0.94), rgba(8, 105, 248, 0.66)),
    url("images/About Us.jpg") center / cover no-repeat;
}

.not-found-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px 18px;
}

.not-found-card {
  width: min(100%, 520px);
  padding: 38px 34px;
  text-align: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 10px;
  box-shadow: 0 28px 80px rgba(7, 29, 61, 0.28);
}

.not-found-logo {
  display: inline-flex;
  width: 168px;
  margin-bottom: 24px;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.not-found-logo img {
  width: 100%;
  height: auto;
}

.not-found-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  background: #eef5ff;
  border-radius: 999px;
}

.not-found-card h1 {
  max-width: none;
  margin: 18px 0 10px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1;
}

.not-found-card p {
  margin: 0 auto 26px;
  max-width: 360px;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

@media (max-width: 1000px) {
  html {
    scroll-padding-top: 76px;
  }

  .site-header {
    position: sticky;
    min-height: 76px;
    padding: 0 24px;
    gap: 16px;
    justify-content: space-between;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu {
    display: block;
    order: 3;
  }

  .mobile-menu-panel {
    top: 76px;
    left: 24px;
    right: 24px;
    max-height: calc(100dvh - 92px);
  }

  .brand-logo {
    height: 56px;
  }

  .overview-grid,
  .benefits,
  .testimonials,
  .about-cards,
  .policies-grid,
  .course-cards,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .career-grid,
  .units-grid,
  .cta-inner,
  .about-story,
  .feedback-layout,
  .private-policy-login-grid,
  .private-policy-layout,
  .enrol-hero-grid,
  .enrol-step-grid,
  .enrol-course-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feedback-panel {
    position: static;
  }

  .private-policy-panel {
    position: static;
  }

  .units-grid .portrait-card {
    position: static;
  }

  .enrol-hero {
    padding: 56px 0;
  }

  .enrol-hero-card {
    max-width: 440px;
  }

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

  .contact-form {
    border-left: 0;
    padding-left: 0;
  }

  .office-panel {
    min-height: 220px;
  }

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

  .about-hero {
    grid-template-columns: 1fr;
  }

  .about-hero-copy {
    padding: 58px 24px 50px;
  }

  .about-hero-copy h1 {
    white-space: normal;
  }

  .about-hero-art {
    min-height: 360px;
  }

  .admin-topbar {
    grid-template-columns: 132px minmax(0, 1fr) auto;
    padding-inline: 24px;
  }

  .admin-brand {
    width: 132px;
  }

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

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-users-grid {
    grid-template-columns: 1fr;
  }

  .admin-user-form {
    position: static;
  }

  .admin-sidebar {
    position: static;
    overflow: auto;
  }

  .admin-sidebar nav {
    display: flex;
    min-width: max-content;
  }

  .admin-sidebar button {
    grid-template-columns: 20px auto auto;
    white-space: nowrap;
  }

  .admin-hero {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .admin-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 0 16px;
  }

  .mobile-menu-panel {
    left: 14px;
    right: 14px;
    padding: 12px;
  }

  .mobile-menu-panel a,
  .mobile-search-link,
  .mobile-submenu summary {
    min-height: 44px;
    padding-inline: 12px;
  }

  .header-actions .button {
    display: none;
  }

  .search {
    display: none;
  }

  .container {
    width: min(100% - 28px, 1130px);
  }

  .section {
    padding: 48px 0;
  }

  .hero-course .container {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 62px 0 360px;
  }

  .course-title-lockup {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 520px;
  }

  .training-logo {
    width: min(210px, 58vw);
  }

  .hero-art {
    inset: auto 0 0;
    height: 340px;
  }

  .floating-credential {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
    max-width: 360px;
    padding: 18px 14px;
  }

  .overview {
    padding: 28px 20px;
  }

  .overview-grid,
  .benefits,
  .testimonials,
  .about-cards,
  .policies-grid,
  .course-cards,
  .benefit-strip,
  .footer-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .private-policy-login-copy,
  .private-policy-login,
  .private-policy-panel,
  .private-policy-group {
    padding: 24px;
  }

  .private-policy-link {
    min-height: 50px;
    padding: 12px 14px;
  }

  .home-hero {
    min-height: 330px;
  }

  .home-hero-copy {
    padding-top: 46px;
  }

  .home-hero h1 {
    max-width: 620px;
  }

  .course-card h3,
  .course-card p {
    min-height: 0;
  }

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

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

  .form-block {
    padding: 24px;
  }

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

  .declaration-actions .button {
    width: 100%;
    min-width: 0;
    justify-self: stretch;
  }

  .feedback-form {
    grid-template-columns: 1fr;
    padding: 24px;
  }

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

  .feedback-form-footer .button {
    justify-self: stretch;
  }

  .feedback-panel {
    padding: 24px;
  }

  .enrol-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .enrol-cta .button {
    width: 100%;
  }

  .timeline-step:not(:last-child)::after {
    display: none;
  }

  .unit-list li {
    grid-template-columns: 24px 1fr;
  }

  .unit-list span:last-child {
    grid-column: 2;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .admin-topbar {
    grid-template-columns: 1fr auto;
    gap: 14px;
    min-height: auto;
    padding: 14px;
  }

  .admin-brand {
    width: 118px;
  }

  .admin-topbar > div {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .admin-top-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .admin-site-link {
    min-height: 38px;
    padding-inline: 12px;
  }

  .admin-shell {
    width: calc(100% - 28px);
    padding-top: 18px;
  }

  .admin-summary,
  .admin-detail-list,
  .admin-placeholder-grid,
  .admin-settings-grid {
    grid-template-columns: 1fr;
  }

  .admin-toolbar {
    padding: 14px;
  }

  .admin-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-actions select,
  .admin-actions .admin-button {
    width: 100%;
  }

  .admin-tabs {
    overflow-x: auto;
    padding-inline: 14px;
  }

  .admin-table-wrap {
    padding-inline: 14px;
  }

  .admin-drawer-panel {
    padding: 26px 18px;
  }
}
