@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

/* ============ Base / tokens ============ */
.team-exam {
  --te-blue: #0d2d6c;
  --te-navy: #071e4a;
  --te-red: #e53935;
  --te-red-text: #d32f2f;
  --te-red-dark: #b71c1c;
  --te-red-soft: #ff8a80;
  --te-white: #ffffff;
  --te-gray: #f8f9fb;
  --te-text: #22304a;
  --te-muted: #5d6b82;
  --te-border: #dce3ef;
  --te-radius: 18px;
  --te-shadow: 0 10px 30px rgba(13, 45, 108, 0.08);
  --te-shadow-lg: 0 20px 50px rgba(13, 45, 108, 0.14);
  font-family:
    "Manrope",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--te-text);
  background: var(--te-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.team-exam *,
.team-exam *::before,
.team-exam *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.team-exam [hidden] {
  display: none;
}

.team-exam a {
  color: inherit;
  text-decoration: none;
}

.team-exam ul,
.team-exam ol {
  list-style: none;
}

/* Button neutralization is done per-component below (a shared `.team-exam button`
   reset would outrank single-class component rules and break them). */
.team-exam svg {
  display: inline-block;
  vertical-align: middle;
  flex: 0 0 auto;
}

.team-exam input,
.team-exam select,
.team-exam textarea {
  font: inherit;
  color: inherit;
}

.team-exam :focus-visible {
  outline: 3px solid var(--te-red);
  outline-offset: 2px;
  border-radius: 6px;
}

.team-exam-container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.team-exam-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ============ Buttons ============ */
.team-exam-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  min-height: 48px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.team-exam-btn--primary {
  background: var(--te-red-text);
  color: #fff;
  box-shadow: 0 12px 24px rgba(229, 57, 53, 0.32);
}

.team-exam-btn--primary:hover {
  background: var(--te-red-dark);
  transform: translateY(-2px);
}

.team-exam-btn--primary:active {
  transform: translateY(0);
}

.team-exam-btn--primary[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.team-exam-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.team-exam-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.8);
}

/* Default focus ring must stay visible on light surfaces (e.g. the white
   registration card); the hero override keeps a light ring on dark navy. */
.team-exam-btn:focus-visible {
  outline-color: var(--te-blue);
  box-shadow: 0 0 0 5px rgba(13, 45, 108, 0.22);
}

.team-exam-hero .team-exam-btn:focus-visible {
  outline-color: #fff;
  box-shadow: 0 0 0 5px rgba(229, 57, 53, 0.35);
}

/* ============ Header ============ */
.team-exam-header {
  background: var(--te-white);
  border-bottom: 1px solid var(--te-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.team-exam-header__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto;
  padding: 14px 20px;
  justify-content: space-around;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.team-exam-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  margin-left: 0;
  transition: transform 0.3s ease;
}

.team-exam-logo:hover {
  transform: scale(1.05);
}

/* Logo image: scales the user's own logo in header and footer. */
.team-exam-logo__image {
  display: block;
  height: 42px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  transition: filter 0.3s ease;
}

.team-exam-logo:hover .team-exam-logo__image {
  filter: brightness(1.1);
}

.team-exam-lang {
  display: inline-flex;
  align-items: center;
  background: var(--te-gray);
  border: 1px solid var(--te-border);
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
}

.team-exam-lang__btn {
  min-width: 44px;
  min-height: 40px;
  padding: 8px 13px;
  border-radius: 999px;
  background: none;
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--te-muted);
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.team-exam-lang__btn:hover {
  color: var(--te-blue);
}

.team-exam-lang__btn--active {
  background: var(--te-red-text);
  color: #fff;
  box-shadow: 0 6px 14px rgba(229, 57, 53, 0.3);
}

.team-exam-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: none;
  border: 1px solid var(--te-border);
  color: var(--te-blue);
  font-family: inherit;
  cursor: pointer;
}

.team-exam-nav-toggle:hover {
  background: var(--te-gray);
}

.team-exam-nav {
  display: none;
  flex-basis: 100%;
  order: 6;
  width: 100%;
}

.team-exam-nav--open {
  display: block;
}

.team-exam-nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 0;
}

.team-exam-nav a {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--te-text);
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.team-exam-nav a:hover {
  background: var(--te-gray);
  color: var(--te-blue);
}

/* ============ Hero ============ */
.team-exam-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0d2d6c 0%, #0a2456 48%, #071e4a 100%);
  color: #fff;
}

.team-exam-hero__shape {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.team-exam-hero__shape--1 {
  width: 440px;
  height: 440px;
  background: #1d47a0;
  opacity: 0.55;
  top: -150px;
  right: -130px;
}

.team-exam-hero__shape--2 {
  width: 380px;
  height: 380px;
  background: #e53935;
  opacity: 0.2;
  bottom: -170px;
  left: -150px;
}

.team-exam-hero__shape--3 {
  width: 240px;
  height: 240px;
  background: #2e5fc0;
  opacity: 0.35;
  top: 38%;
  left: 8%;
}

.team-exam-hero__glass {
  position: absolute;
  z-index: 1;
  display: none;
  width: 190px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.team-exam-hero__glass span {
  display: block;
  height: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.35);
  margin: 9px 0;
}

.team-exam-hero__glass span:first-child {
  width: 60%;
  background: rgba(229, 57, 53, 0.85);
  margin-top: 0;
}

.team-exam-hero__glass span:last-child {
  width: 40%;
  margin-bottom: 0;
}

.team-exam-hero__glass--left {
  left: 5%;
  top: 22%;
  transform: rotate(-8deg);
}

.team-exam-hero__glass--right {
  right: 5%;
  bottom: 18%;
  transform: rotate(6deg);
}

.team-exam-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  padding: 72px 20px 88px;
  text-align: center;
}

.team-exam-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.team-exam-hero__badge::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--te-red);
  box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.25);
}

.team-exam-hero__title {
  margin: 24px auto 18px;
  max-width: 840px;
  font-size: clamp(1.9rem, 5.2vw, 3.4rem);
  line-height: 1.14;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.team-exam-hero__subtitle {
  max-width: 640px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.06rem;
}

.team-exam-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.team-exam-hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 30px;
  margin-top: 46px;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.team-exam-hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.team-exam-hero__trust svg {
  color: var(--te-red-soft);
}

/* ============ Sections ============ */
.team-exam-section {
  padding: 72px 0;
}

.team-exam-section--tint {
  background: var(--te-gray);
}

.team-exam-section__head {
  max-width: 700px;
  margin: 0 auto 46px;
  text-align: center;
  padding: 0 4px;
}

.team-exam-section__eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--te-red-text);
  margin-bottom: 12px;
}

.team-exam-section__title {
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--te-blue);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.team-exam-divider {
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--te-red), var(--te-blue));
  margin: 18px auto;
}

.team-exam-section__subtitle {
  color: var(--te-muted);
  font-size: 1rem;
}

.team-exam-section--navy .team-exam-section__title {
  color: #fff;
}

.team-exam-section--navy .team-exam-section__eyebrow {
  color: var(--te-red-soft);
}

.team-exam-section--navy .team-exam-section__subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* ============ Exam info cards ============ */
.team-exam-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.team-exam-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--te-border);
  border-radius: var(--te-radius);
  padding: 28px 24px;
  box-shadow: var(--te-shadow);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.team-exam-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--te-blue), var(--te-red));
}

.team-exam-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--te-shadow-lg);
}

.team-exam-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(13, 45, 108, 0.08);
  color: var(--te-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.team-exam-card__label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--te-muted);
  margin-bottom: 6px;
}

.team-exam-card__value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--te-blue);
}

/* ============ Why / features ============ */
.team-exam-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.team-exam-feature {
  position: relative;
  background: #fff;
  border: 1px solid var(--te-border);
  border-radius: var(--te-radius);
  padding: 30px 24px;
  box-shadow: var(--te-shadow);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.team-exam-feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--te-red);
}

.team-exam-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--te-shadow-lg);
}

.team-exam-feature__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(229, 57, 53, 0.1);
  color: var(--te-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.team-exam-feature__title {
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--te-blue);
  margin-bottom: 8px;
  line-height: 1.35;
}

.team-exam-feature__text {
  color: var(--te-muted);
  font-size: 0.94rem;
}

/* ============ Scholarships / grants ============ */
.team-exam-scholarships {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0d2d6c 0%, #0a2456 50%, #071e4a 100%);
  color: #fff;
}

.team-exam-scholarships::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: #1d47a0;
  opacity: 0.4;
  filter: blur(80px);
  top: -150px;
  right: -120px;
  pointer-events: none;
}

.team-exam-scholarships::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: #e53935;
  opacity: 0.15;
  filter: blur(80px);
  bottom: -130px;
  left: -110px;
  pointer-events: none;
}

.team-exam-scholarships .team-exam-container {
  position: relative;
  z-index: 2;
}

.team-exam-grants {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.team-exam-grant {
  position: relative;
  background: #fff;
  color: var(--te-text);
  border-radius: var(--te-radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--te-shadow-lg);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.team-exam-grant::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--te-red), var(--te-blue));
}

.team-exam-grant:hover {
  transform: translateY(-4px);
}

.team-exam-grant__score {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--te-muted);
  margin-bottom: 10px;
}

.team-exam-grant__percent {
  font-size: clamp(2.6rem, 5vw, 3.3rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--te-red-text);
}

.team-exam-grant__label {
  margin-top: 8px;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--te-blue);
}

.team-exam-grant__text {
  margin-top: 8px;
  color: var(--te-muted);
  font-size: 0.92rem;
}

.team-exam-scholarships__note {
  max-width: 640px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ============ Registration ============ */
.team-exam-register {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: linear-gradient(160deg, #0d2d6c 0%, #0a2456 50%, #071e4a 100%);
  color: #fff;
}

.team-exam-register::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: #1d47a0;
  opacity: 0.4;
  filter: blur(80px);
  top: -160px;
  left: -140px;
  pointer-events: none;
}

.team-exam-register::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: #e53935;
  opacity: 0.16;
  filter: blur(80px);
  bottom: -140px;
  right: -120px;
  pointer-events: none;
}

.team-exam-register .team-exam-container {
  position: relative;
  z-index: 2;
}

.team-exam-register__card {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  color: var(--te-text);
  border-radius: 24px;
  box-shadow: var(--te-shadow-lg);
  padding: 34px 22px;
}

/* ============ Form ============ */
.team-exam-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.team-exam-field {
  position: relative;
}

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

.team-exam-field input[type="text"],
.team-exam-field input[type="tel"],
.team-exam-field input[type="email"],
.team-exam-field input[type="date"],
.team-exam-field select,
.team-exam-field textarea {
  width: 100%;
  min-height: 54px;
  padding: 23px 16px 7px;
  border: 1.5px solid var(--te-border);
  border-radius: 14px;
  background: #fff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.team-exam-field textarea {
  min-height: 120px;
  resize: vertical;
  padding-top: 26px;
}

.team-exam-field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 46px;
  cursor: pointer;
}

.team-exam-field label {
  position: absolute;
  left: 16px;
  top: 16px;
  max-width: calc(100% - 32px);
  font-size: 0.95rem;
  color: var(--te-muted);
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition:
    top 0.18s ease,
    font-size 0.18s ease,
    color 0.18s ease,
    letter-spacing 0.18s ease;
}

.team-exam-field input:focus,
.team-exam-field select:focus,
.team-exam-field textarea:focus {
  border-color: var(--te-blue);
  box-shadow: 0 0 0 4px rgba(13, 45, 108, 0.12);
  outline: none;
}

.team-exam-field input:focus ~ label,
.team-exam-field input:not(:placeholder-shown) ~ label,
.team-exam-field textarea:focus ~ label,
.team-exam-field textarea:not(:placeholder-shown) ~ label,
.team-exam-field:focus-within label,
.team-exam-field--float label {
  top: 7px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--te-blue);
}

.team-exam-field__chevron {
  position: absolute;
  right: 16px;
  top: 19px;
  pointer-events: none;
  color: var(--te-muted);
}

.team-exam-field__error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--te-red-dark);
}

.team-exam-field__error svg {
  margin-top: 2px;
}

.team-exam-field--error input,
.team-exam-field--error select,
.team-exam-field--error textarea {
  border-color: var(--te-red);
  box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.1);
}

.team-exam-field--error:focus-within input,
.team-exam-field--error:focus-within select,
.team-exam-field--error:focus-within textarea {
  border-color: var(--te-red);
}

.team-exam-segmented {
  border: 1.5px solid var(--te-border);
  border-radius: 14px;
  padding: 13px 16px 16px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.team-exam-segmented:focus-within {
  border-color: var(--te-blue);
  box-shadow: 0 0 0 4px rgba(13, 45, 108, 0.12);
}

.team-exam-segmented legend {
  padding: 0 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--te-muted);
}

.team-exam-segmented__options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.team-exam-segmented__option {
  position: relative;
  display: inline-block;
}

.team-exam-segmented__option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.team-exam-segmented__option span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--te-border);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--te-muted);
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.team-exam-segmented__option:hover span {
  border-color: var(--te-blue);
  color: var(--te-blue);
}

.team-exam-segmented__option input:checked + span {
  background: var(--te-red-text);
  border-color: var(--te-red-text);
  color: #fff;
  box-shadow: 0 6px 14px rgba(229, 57, 53, 0.28);
}

.team-exam-segmented__option input:focus-visible + span {
  outline: 3px solid var(--te-red);
  outline-offset: 2px;
}

.team-exam-segmented--error {
  border-color: var(--te-red);
  box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.1);
}

.team-exam-segmented__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(13, 45, 108, 0.06);
  border: 1px solid var(--te-border);
  color: var(--te-blue);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.5;
}

.team-exam-segmented__note svg {
  margin-top: 1px;
  flex: 0 0 auto;
  color: var(--te-blue);
}

/* Exam date picker: large selectable radio cards (see the matching fieldset in the form). */
.team-exam-date-picker {
  border: 0;
  min-width: 0;
  padding: 0;
  font-family: inherit;
}

.team-exam-date-picker legend {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 0;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--te-text);
  line-height: 1.35;
}

.team-exam-date-picker__required {
  color: var(--te-red-text);
  font-weight: 800;
}

.team-exam-date-picker__hint {
  margin-top: 4px;
  font-size: 0.94rem;
  color: var(--te-muted);
}

.team-exam-date-picker--error .team-exam-date-picker__hint {
  color: var(--te-red-dark);
}

.team-exam-date-picker__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.team-exam-date-card {
  position: relative;
  display: block;
  min-width: 0;
  cursor: pointer;
}

/* The real radio stays focusable for keyboard/screen-reader users but is
   visually hidden; the card body is the visible control. */
.team-exam-date-card__input {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 18px;
  height: 18px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.team-exam-date-card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 30px 20px;
  text-align: center;
  background: #fff;
  border: 2px solid var(--te-border);
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(13, 45, 108, 0.05);
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.team-exam-date-card:hover .team-exam-date-card__body {
  border-color: var(--te-blue);
  transform: translateY(-2px);
  box-shadow: var(--te-shadow);
}

.team-exam-date-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--te-red-text);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  box-shadow: 0 6px 14px rgba(229, 57, 53, 0.3);
}

.team-exam-date-card__top {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--te-muted);
}

.team-exam-date-card__date {
  font-size: clamp(1.5rem, 4.5vw, 1.9rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--te-blue);
}

.team-exam-date-card__bottom {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--te-muted);
}

.team-exam-date-card__input:checked + .team-exam-date-card__body {
  border-color: var(--te-red-text);
  background: rgba(229, 57, 53, 0.07);
  box-shadow: 0 8px 22px rgba(229, 57, 53, 0.14);
}

.team-exam-date-card__input:checked
  + .team-exam-date-card__body
  .team-exam-date-card__date {
  color: var(--te-red-text);
}

.team-exam-date-card__input:focus-visible + .team-exam-date-card__body {
  outline: 3px solid var(--te-red);
  outline-offset: 3px;
}

/* Disabled example card: faded and non-interactive. Remove the `disabled`
   attribute (and the --disabled class) in the markup to make it selectable. */
.team-exam-date-card--disabled {
  cursor: not-allowed;
}

.team-exam-date-card--disabled .team-exam-date-card__body {
  opacity: 0.5;
  box-shadow: none;
}

.team-exam-date-card--disabled:hover .team-exam-date-card__body {
  border-color: var(--te-border);
  transform: none;
  box-shadow: none;
}

.team-exam-form__actions {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.team-exam-form__note {
  font-size: 0.84rem;
  color: var(--te-muted);
}

.team-exam-form__status {
  font-size: 0.92rem;
  font-weight: 700;
}

.team-exam-form__status--error {
  color: var(--te-red-dark);
}

.team-exam-form__notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  margin-top: 16px;
  border-radius: 14px;
  background: #e8f5e9;
  border: 1px solid #c8e6c9;
  color: #1b5e20;
  font-size: 0.94rem;
}

.team-exam-form__notice svg {
  margin-top: 2px;
}

.team-exam-form__notice--error {
  background: #fdecea;
  border-color: #f5c6c2;
  color: #8e2019;
}

.team-exam .team-exam-form__notice-icon--error {
  display: none;
}

.team-exam
  .team-exam-form__notice--error
  .team-exam-form__notice-icon--success {
  display: none;
}

.team-exam .team-exam-form__notice--error .team-exam-form__notice-icon--error {
  display: inline-block;
}

/* ============ Sample exam sheet (post-registration download) ============ */
.team-exam-form__sample {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--te-gray);
  border: 1px solid var(--te-border);
}

.team-exam-form__sample-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.team-exam-form__sample-head svg {
  flex: none;
  margin-top: 2px;
  color: var(--te-blue);
}

.team-exam-form__sample-title {
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--te-blue);
}

.team-exam-form__sample-text {
  font-size: 0.9rem;
  color: var(--te-muted);
}

.team-exam-form__sample-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.team-exam-form__sample-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid var(--te-border);
  background: var(--te-white);
  color: var(--te-blue);
  font-weight: 700;
  font-size: 0.9rem;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.team-exam-form__sample-link:hover {
  border-color: var(--te-blue);
  transform: translateY(-1px);
}

.team-exam-form__sample-link:focus-visible {
  outline: 2px solid var(--te-blue);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .team-exam-form__sample-link:hover {
    transform: none;
  }
}

/* ============ Timeline ============ */
.team-exam-timeline {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  padding-left: 52px;
}

.team-exam-timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--te-blue), var(--te-red));
}

.team-exam-timeline__step {
  position: relative;
  padding: 0 0 30px 10px;
}

.team-exam-timeline__step:last-child {
  padding-bottom: 0;
}

.team-exam-timeline__num {
  position: absolute;
  left: -52px;
  top: -4px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--te-blue);
  color: var(--te-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: var(--te-shadow);
}

.team-exam-timeline__step--final .team-exam-timeline__num {
  background: var(--te-red-text);
  border-color: var(--te-red-text);
  color: #fff;
}

.team-exam-timeline__title {
  font-weight: 800;
  color: var(--te-blue);
  font-size: 1.05rem;
}

.team-exam-timeline__text {
  color: var(--te-muted);
  font-size: 0.93rem;
  margin-top: 4px;
}

/* ============ FAQ ============ */
.team-exam-faq {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.team-exam-faq__item {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--te-navy);
  background: var(--te-navy);
  box-shadow: var(--te-shadow);
}

.team-exam-faq__heading {
  margin: 0;
  font-size: 1rem;
}

.team-exam-faq__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  text-align: left;
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.team-exam-faq__btn:hover {
  background: rgba(255, 255, 255, 0.07);
}

.team-exam-faq__btn:focus-visible {
  outline-color: var(--te-red-soft);
}

.team-exam-faq__icon {
  flex: 0 0 auto;
  color: var(--te-red-soft);
  transition: transform 0.25s ease;
}

.team-exam-faq__btn[aria-expanded="true"] .team-exam-faq__icon {
  transform: rotate(180deg);
}

.team-exam-faq__answer {
  background: #fff;
  padding: 0 22px;
}

.team-exam-faq__answer p {
  padding: 18px 0;
  color: var(--te-muted);
  font-size: 0.95rem;
}

/* ============ Contact ============ */
.team-exam-contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

.team-exam-contact__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.team-exam-contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--te-border);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--te-shadow);
}

/* .team-exam-js .team-exam-contact-item:hover {
  border-color: var(--te-blue);
  transform: translateY(-2px);
  box-shadow: var(--te-shadow);
} */

.team-exam-js .team-exam-reveal--visible.team-exam-contact-item {
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.team-exam-js .team-exam-reveal--visible.team-exam-contact-item:hover {
  transform: translateY(-4px);
  border-color: var(--te-blue);
  box-shadow: var(--te-shadow);
}

.team-exam-contact-item__icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  background: rgba(13, 45, 108, 0.08);
  color: var(--te-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-exam-contact-item__label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--te-muted);
  margin-bottom: 2px;
}

.team-exam-contact-item__value {
  font-weight: 700;
  color: var(--te-blue);
  word-break: break-word;
}

.team-exam-contact-item__value:hover {
  text-decoration: underline;
}

.team-exam-map {
  position: relative;
  min-height: 320px;
  border-radius: 20px;
  border: 1.5px solid var(--te-border);
  background: #fff;
  box-shadow: var(--te-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.team-exam-map__iframe {
  display: block;
  width: 100%;
  flex: 1 1 auto;
  min-height: 320px;
  border: 0;
}

.team-exam-map__fallback {
  padding: 12px 16px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  background: var(--te-gray);
  border-top: 1px solid var(--te-border);
}

.team-exam-map__fallback a {
  color: var(--te-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  border-radius: 6px;
}

.team-exam-map__fallback a:hover {
  color: var(--te-red-text);
}

/* ============ Footer ============ */
.team-exam-footer {
  background: var(--te-navy);
  color: rgba(255, 255, 255, 0.82);
  padding: 46px 0 30px;
}

.team-exam-footer__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.team-exam-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}

.team-exam-footer__links a {
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 6px;
}

.team-exam-footer__links a:hover {
  color: #fff;
  text-decoration: underline;
}

.team-exam-footer__social {
  display: flex;
  gap: 12px;
}

.team-exam-footer__social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.team-exam-footer__social a:hover {
  background: var(--te-red);
  transform: translateY(-2px);
}

.team-exam-footer__copy {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ============ Scroll reveal (JS-gated so content stays visible without JS) ============ */
.team-exam-js .team-exam-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.team-exam-js .team-exam-reveal--visible {
  opacity: 1;
  transform: none;
}

/* ============ Responsive ============ */
@media (max-width: 639px) {
  .team-exam-header__inner {
    gap: 8px;
  }

  .team-exam-lang__btn {
    min-width: 40px;
    min-height: 40px;
    padding: 8px 11px;
  }
}

@media (min-width: 640px) {
  .team-exam-cards {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .team-exam-register__card {
    padding: 44px 38px;
  }

  .team-exam-form__actions {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 900px) {
  .team-exam-nav {
    display: block;
    flex-basis: auto;
    order: 0;
    width: auto;
  }

  .team-exam-nav ul {
    flex-direction: row;
    gap: 5px;
    padding: 0;
  }

  .team-exam-nav a {
    padding: 10px 13px;
    font-size: 0.88rem;
  }

  .team-exam-nav-toggle {
    display: none;
  }

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

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

  .team-exam-contact__grid {
    grid-template-columns: 1fr 1.1fr;
  }

  .team-exam-timeline {
    display: flex;
    max-width: none;
    padding-left: 0;
    gap: 26px;
  }

  .team-exam-timeline::before {
    left: 10%;
    right: 10%;
    top: 23px;
    bottom: auto;
    width: auto;
    height: 3px;
    background: linear-gradient(90deg, var(--te-blue), var(--te-red));
  }

  .team-exam-timeline__step {
    flex: 1;
    padding: 66px 8px 0;
    text-align: center;
  }

  .team-exam-timeline__num {
    left: 50%;
    transform: translateX(-50%);
  }

  .team-exam-section {
    padding: 88px 0;
  }
}

@media (min-width: 1100px) {
  .team-exam-features {
    grid-template-columns: repeat(4, 1fr);
  }

  .team-exam-hero__glass {
    display: block;
  }

  .team-exam-hero__inner {
    padding: 96px 20px 110px;
  }
}

/* Reduced motion: disable transitions/animations; reveal content immediately. */
@media (prefers-reduced-motion: reduce) {
  .team-exam *,
  .team-exam *::before,
  .team-exam *::after {
    transition: none !important;
    animation: none !important;
  }

  .team-exam-js .team-exam-reveal {
    opacity: 1;
    transform: none;
  }
}
