/* MCIQ Medical Academy - custom styles */

html {
  scroll-behavior: smooth;
}

/* Nav links */
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.55rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #475569;
  border-radius: 0.5rem;
  white-space: nowrap;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.site-nav {
  gap: 0.75rem;
}

.site-nav__links {
  display: none;
  align-items: center;
  gap: 0.125rem;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

@media (min-width: 1280px) {
  .site-nav__links {
    display: flex;
  }
}

.site-nav__logo {
  display: block;
  height: 4rem;
  width: auto;
  max-width: 14rem;
  object-fit: contain;
}

.mobile-nav-drawer__logo {
  display: block;
  height: 4.25rem;
  width: auto;
  max-width: 12rem;
  object-fit: contain;
}

.site-footer__logo {
  display: block;
  height: 5.5rem;
  width: auto;
  max-width: 15rem;
  object-fit: contain;
}

@media (min-width: 1536px) {
  .site-nav__logo {
    height: 4.5rem;
    max-width: 16rem;
  }

  .nav-link {
    padding: 0.4rem 0.65rem;
  }

  .site-nav__links {
    gap: 0.25rem;
  }
}

.nav-link:hover {
  color: #2563eb;
  background-color: #f8fafc;
}

.nav-link-active {
  color: #3b82f6;
  font-weight: 600;
}

/* Mobile navigation drawer */
body.mobile-nav-open {
  overflow: hidden;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  width: min(100vw - 2.5rem, 22rem);
  height: 100dvh;
  background: #fff;
  box-shadow: -12px 0 40px rgba(15, 23, 42, 0.12);
  transform: translateX(105%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-nav-drawer.is-open {
  transform: translateX(0);
}

.mobile-nav-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid #f1f5f9;
}

.mobile-nav-drawer__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 1rem 1.1rem 1.5rem;
}

.mobile-nav-drawer__label {
  margin-bottom: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
}

.mobile-nav-drawer__links {
  display: grid;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #334155;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.mobile-nav-link:hover {
  background: #f8fafc;
  color: #2563eb;
}

.mobile-nav-accordion {
  margin-top: 0.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  overflow: hidden;
  background: #fff;
}

.mobile-nav-accordion + .mobile-nav-accordion {
  margin-top: 0.65rem;
}

.mobile-nav-accordion__trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  text-align: left;
  background: #f8fafc;
}

.mobile-nav-accordion__chevron {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: #64748b;
  transition: transform 0.2s ease;
}

.mobile-nav-accordion.is-open .mobile-nav-accordion__chevron {
  transform: rotate(180deg);
}

.mobile-nav-accordion__panel {
  padding: 0.45rem 0.65rem 0.75rem;
  border-top: 1px solid #e2e8f0;
}

.mobile-nav-sublink {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
}

.mobile-nav-sublink:hover {
  background: #f1f5f9;
  color: #2563eb;
}

.mobile-nav-sublink--accent {
  color: #2563eb;
  font-weight: 600;
  background: #eff6ff;
}

.mobile-nav-drawer__group {
  margin: 0.65rem 0.75rem 0.35rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
}

.mobile-nav-country-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  padding: 0 0.25rem;
}

.mobile-nav-country-grid a {
  display: block;
  padding: 0.55rem 0.65rem;
  border-radius: 0.6rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #475569;
}

.mobile-nav-country-grid a:hover {
  background: #f1f5f9;
  color: #2563eb;
}

.mobile-nav-drawer__footer {
  display: grid;
  gap: 0.6rem;
  padding: 1rem 1.1rem calc(1rem + env(safe-area-inset-bottom));
  border-top: 1px solid #f1f5f9;
  background: #fff;
}

.mobile-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.mobile-nav-cta--ghost {
  border: 1px solid #93c5fd;
  color: #3b82f6;
}

.mobile-nav-cta--ghost:hover {
  border-color: #3b82f6;
  background: #eff6ff;
}

.mobile-nav-cta--primary {
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  color: #fff;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.2);
}

.mobile-nav-cta--primary:hover {
  background: linear-gradient(90deg, #2563eb, #1d4ed8);
}

/* Exam tags */
.exam-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  border-width: 1px;
  border-style: solid;
  white-space: nowrap;
}

.exam-tag .flag-icon {
  width: 1.1rem;
  height: 0.75rem;
  flex-shrink: 0;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.exam-tag .flag-icon--symbol {
  width: 0.95rem;
  height: 0.95rem;
  box-shadow: none;
}

/* Stat cards */
.stat-card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 1rem;
  padding: 1.1rem 1.15rem;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.stat-card:hover {
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.stat-number {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #3b82f6;
  line-height: 1.2;
}

.stat-label {
  margin-top: 0.2rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #64748b;
}

@media (min-width: 640px) {
  .stat-number {
    font-size: 1.85rem;
  }
}

/* Trusted-by strip */
.trusted-strip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.875rem;
}

.trusted-label {
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  line-height: 1.45;
}

.trusted-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

@media (min-width: 1024px) {
  .trusted-strip {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .trusted-label {
    width: 7.75rem;
    padding-top: 0.45rem;
  }

  .trusted-logos {
    flex: 1;
    min-width: 0;
  }
}

/* Institution tags */
.institution-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #475569;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  white-space: nowrap;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.institution-tag:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.institution-icon {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  color: #ef4444;
}

@media (min-width: 1280px) {
  .institution-tag {
    padding: 0.4rem 0.7rem;
    font-size: 0.75rem;
  }
}

/* About - feature cards */
.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 0.875rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.feature-card:hover {
  background: #fff;
  border-color: #dbeafe;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 0.625rem;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.feature-icon--brain {
  color: #ec4899;
}
.feature-icon--globe {
  color: #0ea5e9;
}
.feature-icon--chart {
  color: #6366f1;
}
.feature-icon--briefcase {
  color: #b45309;
}

/* About - professions panel */
.professions-panel {
  padding: 1.5rem;
  background: linear-gradient(160deg, #0b1b3a 0%, #122548 55%, #0f1f3d 100%);
  border-radius: 1.5rem;
  box-shadow: 0 16px 40px rgba(11, 27, 58, 0.28);
}

@media (min-width: 640px) {
  .professions-panel {
    padding: 1.75rem;
  }
}

.profession-tile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.875rem;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.profession-tile:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(96, 165, 250, 0.35);
  transform: translateY(-1px);
}

.profession-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  flex-shrink: 0;
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
}

/* Services cards */
.service-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid #eef2f7;
  border-top-width: 4px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

@media (min-width: 640px) {
  .service-card {
    padding: 1.75rem;
  }
}

.service-card--blue {
  border-top-color: #3b82f6;
}
.service-card--green {
  border-top-color: #22c55e;
}
.service-card--purple {
  border-top-color: #a855f7;
}
.service-card--orange {
  border-top-color: #f59e0b;
}
.service-card--cyan {
  border-top-color: #06b6d4;
}
.service-card--pink {
  border-top-color: #ec4899;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.875rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.service-list {
  margin-top: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.service-list li {
  position: relative;
  padding-left: 1.55rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #64748b;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 9999px;
  background: #22c55e
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 8.2l2.4 2.4L12 5' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 0.7rem no-repeat;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.service-tags span {
  display: inline-flex;
  padding: 0.25rem 0.55rem;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 9999px;
}

.service-card--blue .service-tags span {
  background: #eff6ff;
  color: #2563eb;
}
.service-card--green .service-tags span {
  background: #f0fdf4;
  color: #16a34a;
}
.service-card--purple .service-tags span {
  background: #faf5ff;
  color: #9333ea;
}
.service-card--orange .service-tags span {
  background: #fffbeb;
  color: #d97706;
}
.service-card--cyan .service-tags span {
  background: #ecfeff;
  color: #0891b2;
}
.service-card--pink .service-tags span {
  background: #fdf2f8;
  color: #db2777;
}

/* Footer */
.site-footer {
  background: linear-gradient(165deg, #0b1b3a 0%, #0f2448 50%, #0a1730 100%);
  color: #cbd5e1;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
}

.footer-links {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: #cbd5e1;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #60a5fa;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.footer-social:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(96, 165, 250, 0.4);
  color: #93c5fd;
}

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 400px) {
  .footer-newsletter {
    flex-direction: row;
  }
}

.footer-input {
  flex: 1;
  min-width: 0;
  padding: 0.65rem 0.9rem;
  font-size: 0.875rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.625rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.footer-input::placeholder {
  color: #64748b;
}

.footer-input:focus {
  border-color: rgba(96, 165, 250, 0.55);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.footer-submit {
  flex-shrink: 0;
  padding: 0.65rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  border: none;
  border-radius: 0.625rem;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.footer-submit:hover {
  filter: brightness(1.08);
}

.footer-submit:active {
  transform: scale(0.98);
}

.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;
}

/* Exam Prep — Q-Bank features */
.qbank-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.qbank-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.qbank-icon--target {
  color: #ef4444;
  background: #fef2f2;
  border-color: #fecaca;
}
.qbank-icon--ai {
  color: #64748b;
  background: #f1f5f9;
  border-color: #e2e8f0;
}
.qbank-icon--chart {
  color: #ec4899;
  background: #fdf2f8;
  border-color: #fbcfe8;
}
.qbank-icon--repeat {
  color: #f59e0b;
  background: #fffbeb;
  border-color: #fde68a;
}
.qbank-icon--clipboard {
  color: #b45309;
  background: #fff7ed;
  border-color: #fed7aa;
}

/* Exam Prep — question mockup card */
.qbank-mockup {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.qbank-mockup__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.9rem 1.15rem;
  background: linear-gradient(90deg, #0b1b3a, #122548);
}

.qbank-mockup__title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  flex: 1 1 auto;
}

.qbank-flag {
  width: 1.35rem;
  height: 0.9rem;
  flex-shrink: 0;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.qbank-mockup__exam {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qbank-mockup__meta {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: #94a3b8;
}

.qbank-mockup__header .sep {
  margin: 0 0.15rem;
  color: #64748b;
  font-weight: 500;
}

@media (min-width: 640px) {
  .qbank-mockup__exam {
    font-size: 0.875rem;
  }
  .qbank-mockup__meta {
    font-size: 0.8125rem;
  }
}

.qbank-mockup__progress {
  height: 3px;
  background: #c4b5fd;
}

.qbank-mockup__progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.qbank-mockup__body {
  padding: 1.25rem 1.15rem 1.35rem;
}

@media (min-width: 640px) {
  .qbank-mockup__body {
    padding: 1.4rem 1.5rem 1.5rem;
  }
}

.hl-blue {
  background: #dbeafe;
  color: #1d4ed8;
  padding: 0.05rem 0.25rem;
  border-radius: 0.25rem;
}

.hl-red {
  background: #fee2e2;
  color: #b91c1c;
  padding: 0.05rem 0.25rem;
  border-radius: 0.25rem;
}

.hl-yellow {
  background: #fef08a;
  color: #854d0e;
  padding: 0.05rem 0.25rem;
  border-radius: 0.25rem;
}

.q-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  font-size: 0.875rem;
  font-weight: 600;
}

.q-option--wrong {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.q-option--wrong .q-text {
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.q-option--correct {
  background: #ecfdf5;
  border-color: #86efac;
  color: #047857;
}

.q-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: #fee2e2;
  color: #dc2626;
}

.q-option--correct .q-letter,
.q-letter--check {
  background: #22c55e;
  color: #fff;
}

.qbank-explain {
  margin-top: 1.15rem;
  padding: 1rem 1.05rem;
  background: #eef2ff;
  border: 1px solid #e0e7ff;
  border-radius: 0.875rem;
}

/* Professions page grid */
.role-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .role-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }
}

@media (min-width: 1024px) {
  .role-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .role-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
  }
}

.role-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.35rem 1rem 1.2rem;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 1.15rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.role-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  border-color: #dbeafe;
}

.role-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.9rem;
  margin-bottom: 0.85rem;
}

.role-card__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.role-card__degrees {
  margin-top: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1.4;
}

.role-card__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem;
  margin-top: 0.85rem;
}

.role-card__tags span {
  display: inline-flex;
  padding: 0.2rem 0.45rem;
  font-size: 0.625rem;
  font-weight: 600;
  border-radius: 9999px;
  line-height: 1.3;
}

.role-card--blue .role-card__icon {
  color: #2563eb;
  background: #eff6ff;
}
.role-card--blue .role-card__tags span {
  background: #eff6ff;
  color: #2563eb;
}

.role-card--teal .role-card__icon {
  color: #0d9488;
  background: #f0fdfa;
}
.role-card--teal .role-card__tags span {
  background: #f0fdfa;
  color: #0f766e;
}

.role-card--purple .role-card__icon {
  color: #9333ea;
  background: #faf5ff;
}
.role-card--purple .role-card__tags span {
  background: #faf5ff;
  color: #7e22ce;
}

.role-card--orange .role-card__icon {
  color: #ea580c;
  background: #fff7ed;
}
.role-card--orange .role-card__tags span {
  background: #fff7ed;
  color: #c2410c;
}

.role-card--green .role-card__icon {
  color: #16a34a;
  background: #f0fdf4;
}
.role-card--green .role-card__tags span {
  background: #f0fdf4;
  color: #15803d;
}

.role-card--rose .role-card__icon {
  color: #e11d48;
  background: #fff1f2;
}
.role-card--rose .role-card__tags span {
  background: #fff1f2;
  color: #be123c;
}

.role-card--sky .role-card__icon {
  color: #0284c7;
  background: #f0f9ff;
}
.role-card--sky .role-card__tags span {
  background: #f0f9ff;
  color: #0369a1;
}

.role-card--indigo .role-card__icon {
  color: #4f46e5;
  background: #eef2ff;
}
.role-card--indigo .role-card__tags span {
  background: #eef2ff;
  color: #4338ca;
}

.role-card--amber .role-card__icon {
  color: #d97706;
  background: #fffbeb;
}
.role-card--amber .role-card__tags span {
  background: #fffbeb;
  color: #b45309;
}

/* Recruitment page */
.job-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.1rem 1.15rem;
  background: #fff;
  border: 1px solid #e8f0ee;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.job-card:hover {
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
  transform: translateY(-1px);
}

.job-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 0.7rem;
  background: #0b1b3a;
  color: #fff;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.job-tag {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 9999px;
}

.job-tag--blue {
  background: #eff6ff;
  color: #2563eb;
}
.job-tag--sky {
  background: #e0f2fe;
  color: #0284c7;
}
.job-tag--red {
  background: #fef2f2;
  color: #dc2626;
}
.job-tag--green {
  background: #ecfdf5;
  color: #059669;
}
.job-tag--purple {
  background: #f5f3ff;
  color: #7c3aed;
}

.recruit-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.recruit-feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
}

.recruit-feature__icon--green {
  background: #dcfce7;
  color: #16a34a;
}
.recruit-feature__icon--badge {
  background: #eff6ff;
}
.recruit-feature__icon--globe {
  background: #e0f2fe;
  color: #0284c7;
}
.recruit-feature__icon--money {
  background: #fef9c3;
  color: #ca8a04;
}

/* Success stories */
.stories-section {
  background: linear-gradient(165deg, #0b1b3a 0%, #122548 50%, #0a1730 100%);
}

.story-card {
  display: flex;
  flex-direction: column;
  padding: 1.4rem 1.25rem 1.3rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.15rem;
}

.story-stars {
  display: flex;
  gap: 0.15rem;
}

.story-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
}

.story-badge {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 0.85rem;
  padding: 0.3rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #bbf7d0;
  background: rgba(22, 163, 74, 0.25);
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: 9999px;
}

/* Pricing */
.billing-toggle {
  position: relative;
  width: 3.25rem;
  height: 1.75rem;
  padding: 0.2rem;
  border-radius: 9999px;
  background: #3b82f6;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.billing-toggle:not(.is-annual) {
  background: #cbd5e1;
}

.billing-toggle__knob {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 9999px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.2);
  transform: translateX(1.35rem);
  transition: transform 0.2s ease;
}

.billing-toggle:not(.is-annual) .billing-toggle__knob {
  transform: translateX(0);
}

.save-badge {
  display: inline-flex;
  padding: 0.25rem 0.6rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #b45309;
  background: #ffedd5;
  border-radius: 9999px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.price-card--featured {
  border-color: #93c5fd;
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.12);
  transform: scale(1.02);
  z-index: 1;
}

.price-popular {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  border-radius: 9999px;
  white-space: nowrap;
}

.price-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: filter 0.15s ease, background-color 0.15s ease;
}

.price-btn--solid {
  color: #fff;
  background: linear-gradient(90deg, #3b82f6, #2563eb);
}

.price-btn--solid:hover {
  filter: brightness(1.06);
}

.price-btn--outline {
  color: #2563eb;
  background: #fff;
  border: 1px solid #93c5fd;
}

.price-btn--outline:hover {
  background: #eff6ff;
}

.price-features {
  margin-top: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.price-features li {
  position: relative;
  padding-left: 1.55rem;
  font-size: 0.8125rem;
  color: #475569;
  line-height: 1.4;
}

.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 9999px;
  background: #22c55e
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 8.2l2.4 2.4L12 5' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 0.7rem no-repeat;
}

.price-features li.is-muted {
  color: #94a3b8;
  text-decoration: line-through;
}

.price-features li.is-muted::before {
  background: #e2e8f0
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M5 5l6 6M11 5l-6 6' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")
    center / 0.65rem no-repeat;
}

@media (max-width: 1023px) {
  .price-card--featured {
    transform: none;
  }
}

/* Country pages */
.country-hero-flag {
  width: 2rem;
  height: 1.35rem;
  border-radius: 0.2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  margin-bottom: 0.75rem;
  display: block;
}

.country-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
}

.country-hero--saudi {
  background: linear-gradient(120deg, #004d25 0%, #006c35 45%, #0a7a3e 100%);
}
.country-hero--uae {
  background: linear-gradient(120deg, #00732f 0%, #0f766e 40%, #111827 100%);
}
.country-hero--usa {
  background: linear-gradient(120deg, #1e3a8a 0%, #1d4ed8 45%, #b91c1c 100%);
}
.country-hero--uk {
  background: linear-gradient(120deg, #012169 0%, #1d4ed8 50%, #c8102e 100%);
}
.country-hero--canada {
  background: linear-gradient(90deg, #7f1d1d 0%, #dc2626 55%, #ef4444 100%);
}
.country-hero--australia {
  background: linear-gradient(90deg, #00008b 0%, #1e3a8a 40%, #b91c1c 100%);
}
.country-hero--kuwait {
  background: linear-gradient(90deg, #007a3d 0%, #166534 40%, #991b1b 100%);
}
.country-hero--qatar {
  background: linear-gradient(120deg, #6b0f2b 0%, #8d1b3d 55%, #4c0519 100%);
}
.country-hero--bahrain {
  background: linear-gradient(90deg, #9f1239 0%, #ce1126 60%, #881337 100%);
}
.country-hero--oman {
  background: linear-gradient(90deg, #c8102e 0%, #9f1239 35%, #00843d 100%);
}

.country-hero-stat {
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  backdrop-filter: blur(8px);
}

.country-hero-stat__val {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}

.country-hero-stat__label {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.country-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 0.75rem;
  transition: filter 0.15s ease, background-color 0.15s ease;
}

.country-hero-btn--light {
  color: #0f172a;
  background: #fff;
}

.country-hero-btn--light:hover {
  filter: brightness(0.97);
}

.country-hero-btn--ghost {
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.country-hero-btn--ghost:hover {
  background: rgba(0, 0, 0, 0.3);
}

.country-badge {
  display: inline-flex;
  padding: 0.3rem 0.7rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 9999px;
}

.country-badge--green {
  color: #047857;
  background: #d1fae5;
}
.country-badge--blue {
  color: #1d4ed8;
  background: #dbeafe;
}
.country-badge--purple {
  color: #7e22ce;
  background: #f3e8ff;
}

.hl-block {
  display: inline;
  padding: 0.1rem 0.45rem;
  border-radius: 0.35rem;
  color: #fff;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hl-block--green {
  background: linear-gradient(90deg, #059669, #0d9488);
}
.hl-block--teal {
  background: linear-gradient(90deg, #0d9488, #14b8a6);
}
.hl-block--blue {
  background: linear-gradient(90deg, #3b82f6, #6366f1);
}
.hl-block--purple {
  background: linear-gradient(90deg, #8b5cf6, #6366f1);
}

.country-prose {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #475569;
}

.country-prose strong {
  color: #0f172a;
  font-weight: 600;
}

.country-stat-card {
  padding: 1.15rem 1.1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.country-stat-card__val {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.15;
}

.country-stat-card__label {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: #64748b;
}

.exam-table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
}

.exam-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.exam-table th {
  padding: 0.85rem 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  color: #94a3b8;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.exam-table td {
  padding: 1rem;
  vertical-align: top;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.875rem;
}

.exam-table tr:last-child td {
  border-bottom: none;
}

.exam-name {
  font-weight: 700;
  color: #0f172a;
}

.exam-sub {
  margin-top: 0.2rem;
  font-size: 0.75rem;
  color: #94a3b8;
}

.exam-profs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.exam-prof {
  display: inline-flex;
  padding: 0.2rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 9999px;
}

.exam-prof--blue {
  color: #1d4ed8;
  background: #dbeafe;
}
.exam-prof--green {
  color: #047857;
  background: #d1fae5;
}
.exam-prof--pink {
  color: #be185d;
  background: #fce7f3;
}
.exam-prof--orange {
  color: #c2410c;
  background: #ffedd5;
}
.exam-prof--purple {
  color: #7e22ce;
  background: #f3e8ff;
}
.exam-prof--sky {
  color: #0369a1;
  background: #e0f2fe;
}
.exam-prof--indigo {
  color: #4338ca;
  background: #e0e7ff;
}

.exam-format {
  color: #64748b;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.exam-cover {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #059669;
  white-space: nowrap;
}

.exam-check {
  margin-right: 0.25rem;
}

.train-card {
  padding: 1.25rem;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 1rem;
}

.train-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.train-card__desc {
  margin-top: 0.45rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #64748b;
}

.cjob-card {
  display: flex;
  gap: 0.85rem;
  padding: 1.1rem 1.15rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
}

.cjob-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 0.7rem;
  background: #0f766e;
  color: #fff;
}

/* Get Started onboarding */
.onboard-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.onboard-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  padding: 0 0.75rem;
}

.onboard-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(100% - 0.35rem);
  top: 50%;
  width: 2.5rem;
  height: 2px;
  background: #e2e8f0;
  transform: translateY(-50%);
}

@media (min-width: 640px) {
  .onboard-step:not(:last-child)::after {
    width: 4rem;
  }
  .onboard-step {
    padding: 0 1.25rem;
  }
}

.onboard-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
  background: #e2e8f0;
}

.onboard-step__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
}

.onboard-step.is-active {
  padding: 0.4rem 0.85rem;
  background: #3b82f6;
  border-radius: 9999px;
}

.onboard-step.is-active .onboard-step__num {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.onboard-step.is-active .onboard-step__label {
  color: #fff;
}

.onboard-step.is-active:not(:last-child)::after {
  background: #bfdbfe;
}

.onboard-step.is-done .onboard-step__num {
  background: #22c55e;
  color: #fff;
}

.onboard-step.is-done .onboard-step__label {
  color: #16a34a;
}

.onboard-panel[hidden] {
  display: none !important;
}

.onboard-panel.is-visible {
  display: block;
}

.role-card.is-selectable {
  position: relative;
  cursor: pointer;
  text-align: center;
  border: 2px solid transparent;
  width: 100%;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.role-card.is-selectable.is-selected {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.select-check {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  display: none;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 9999px;
  background: #3b82f6;
  color: #fff;
}

.role-card.is-selected .select-check {
  display: inline-flex;
}

.onboard-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 28rem);
  padding: 0.95rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
  transition: filter 0.15s ease, transform 0.15s ease;
}

.onboard-cta:hover {
  filter: brightness(1.06);
}

.onboard-cta:active {
  transform: scale(0.99);
}

.country-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .country-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .country-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.country-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-align: left;
  background: #fff;
  border: 2px solid #eef2f7;
  border-radius: 1rem;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  padding: 0;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.country-card:hover {
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.country-card.is-selected {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.country-card__flag {
  display: block;
  height: 4.5rem;
  background-size: cover;
  background-position: center;
}

.country-card__flag--sa {
  background: linear-gradient(135deg, #006c35, #004d25);
}
.country-card__flag--ae {
  background: linear-gradient(90deg, #00732f 33%, #fff 33% 66%, #000 66%);
}
.country-card__flag--kw {
  background: linear-gradient(180deg, #007a3d 33%, #fff 33% 66%, #ce1126 66%);
}
.country-card__flag--qa {
  background: linear-gradient(90deg, #8d1b3d 45%, #fff 45%);
}
.country-card__flag--bh {
  background: linear-gradient(90deg, #fff 30%, #ce1126 30%);
}
.country-card__flag--om {
  background: linear-gradient(90deg, #c8102e 25%, #fff 25% 55%, #00843d 55%);
}
.country-card__flag--us {
  background: linear-gradient(180deg, #b22234 20%, #fff 20% 40%, #b22234 40% 60%, #fff 60% 80%, #3c3b6e 80%);
}
.country-card__flag--ca {
  background: linear-gradient(90deg, #ff0000 25%, #fff 25% 75%, #ff0000 75%);
}
.country-card__flag--uk {
  background: #012169;
}
.country-card__flag--au {
  background: #00008b;
}

.country-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 0.9rem 1rem;
}

.country-card__name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
}

.country-card__exams {
  font-size: 0.65rem;
  color: #94a3b8;
  line-height: 1.35;
}

.country-card__jobs {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.2rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #059669;
}

.country-card__jobs .briefcase::before {
  content: "";
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  margin-right: 0.15rem;
  vertical-align: -0.05rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='3' y='8' width='18' height='12' rx='2' stroke='%23b45309' stroke-width='2'/%3E%3Cpath d='M9 8V6.5A1.5 1.5 0 0110.5 5h3A1.5 1.5 0 0115 6.5V8' stroke='%23b45309' stroke-width='2'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.goal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .goal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .goal-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}

.goal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.35rem;
  border-radius: 1.35rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.goal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.goal-card__arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.85rem;
  opacity: 0.45;
}

.goal-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.85rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.7);
}

.goal-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.goal-card__desc {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #64748b;
  flex: 1;
}

.goal-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 1rem;
}

.goal-card__tags span {
  display: inline-flex;
  padding: 0.25rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 600;
  border-radius: 9999px;
}

.goal-card--blue {
  background: #eff6ff;
}
.goal-card--blue .goal-card__title {
  color: #1d4ed8;
}
.goal-card--blue .goal-card__tags span {
  background: #dbeafe;
  color: #1d4ed8;
}

.goal-card--green {
  background: #f0fdf4;
}
.goal-card--green .goal-card__title {
  color: #15803d;
}
.goal-card--green .goal-card__tags span {
  background: #dcfce7;
  color: #15803d;
}

.goal-card--purple {
  background: #faf5ff;
}
.goal-card--purple .goal-card__title {
  color: #7e22ce;
}
.goal-card--purple .goal-card__tags span {
  background: #f3e8ff;
  color: #7e22ce;
}

.goal-card--orange {
  background: #fff7ed;
}
.goal-card--orange .goal-card__title {
  color: #c2410c;
}
.goal-card--orange .goal-card__tags span {
  background: #ffedd5;
  color: #c2410c;
}

.goal-card--teal {
  background: #f0fdfa;
}
.goal-card--teal .goal-card__title {
  color: #0f766e;
}
.goal-card--teal .goal-card__tags span {
  background: #ccfbf1;
  color: #0f766e;
}

.goal-card--pink {
  background: #fdf2f8;
}
.goal-card--pink .goal-card__title {
  color: #be185d;
}
.goal-card--pink .goal-card__tags span {
  background: #fce7f3;
  color: #be185d;
}

/* Entrance animations */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.45);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(59, 130, 246, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

.animate-fade-up {
  animation: fade-up 0.65s ease-out both;
}

.animate-fade-in {
  animation: fade-in 0.5s ease-out both;
}

.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.2s;
}
.delay-3 {
  animation-delay: 0.3s;
}
.delay-4 {
  animation-delay: 0.4s;
}

#video-play-btn span.shadow-play,
#video-play-btn > div span {
  animation: pulse-ring 2.4s ease-out infinite;
}

/* Modal open state */
#video-modal.is-open {
  display: flex;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* Countries hub */
.countries-hub-card {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.countries-hub-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.countries-hub-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  color: #fff;
}

.countries-hub-card__name {
  margin-top: 0.35rem;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}

.countries-hub-card__meta {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
}

.countries-hub-card__jobs {
  text-align: right;
  flex-shrink: 0;
}

.countries-hub-card__jobs strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.15;
}

.countries-hub-card__jobs span {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.8);
}

.countries-hub-card__body {
  padding: 1rem 1.25rem 1.25rem;
}

.countries-hub-mini {
  width: 100%;
  border-collapse: collapse;
}

.countries-hub-mini th {
  padding: 0.35rem 0;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  color: #94a3b8;
}

.countries-hub-mini td {
  padding: 0.45rem 0;
  font-size: 0.8125rem;
  border-top: 1px solid #f1f5f9;
  vertical-align: top;
}

.countries-hub-mini .exam {
  font-weight: 700;
  color: #0f172a;
}

.countries-hub-mini .prof {
  color: #2563eb;
  font-weight: 600;
}

.countries-hub-mini .ok {
  color: #059669;
  font-weight: 600;
  white-space: nowrap;
}

.countries-hub-card__desc {
  margin-top: 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #64748b;
}

.countries-cta {
  background: linear-gradient(135deg, #0b1b3a 0%, #122a54 55%, #0f766e 140%);
}

/* ========== UK Medicine content pages ========== */
.uk-subnav {
  position: sticky;
  top: 4.25rem;
  z-index: 30;
  border-bottom: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}
.uk-subnav__scroller {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding: 0.65rem 0;
  scrollbar-width: thin;
}
.uk-subnav__link {
  flex: 0 0 auto;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 0.45rem 0.9rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.uk-subnav__link:hover {
  border-color: #93c5fd;
  color: #1d4ed8;
  background: #eff6ff;
}
.uk-subnav__link.is-active {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}
.uk-pathway {
  border: 1px solid #bfdbfe;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 55%, #ecfeff 100%);
  border-radius: 1.15rem;
  padding: 1.25rem 1.35rem;
}
.uk-pathway__label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2563eb;
}
.uk-pathway__body {
  margin-top: 0.55rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #334155;
}
.uk-pathway__journey {
  margin-top: 0.9rem;
  border-top: 1px dashed #93c5fd;
  padding-top: 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #1e3a8a;
  font-weight: 600;
}
.uk-jump {
  display: grid;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .uk-jump {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.uk-jump a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  background: #fff;
  padding: 0.75rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  transition: all 0.15s ease;
}
.uk-jump a:hover {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1d4ed8;
}
.uk-jump a span {
  display: inline-flex;
  height: 1.4rem;
  width: 1.4rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.7rem;
  font-weight: 800;
}
.uk-section {
  scroll-margin-top: 8.5rem;
}
.uk-cta {
  margin-top: 1.1rem;
  border: 1px solid #bfdbfe;
  border-radius: 1rem;
  background: #fff;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}
.uk-cta__label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2563eb;
}
.uk-cta__text {
  margin-top: 0.45rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #475569;
}
.uk-cta__btn {
  margin-top: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 0.7rem;
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}
.uk-cta__btn:hover {
  filter: brightness(1.05);
}
.uk-nav-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 1.1rem;
  background: #fff;
  padding: 1.25rem;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  transition: all 0.15s ease;
}
.uk-nav-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
  transform: translateY(-2px);
}
.uk-nav-card__eyebrow {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2563eb;
}
.uk-nav-card__title {
  margin-top: 0.4rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}
.uk-nav-card__desc {
  margin-top: 0.55rem;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #64748b;
}
.uk-nav-card__link {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #2563eb;
}
.uk-list {
  margin-top: 0.75rem;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.uk-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #475569;
}
.uk-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  height: 0.4rem;
  width: 0.4rem;
  border-radius: 999px;
  background: #2563eb;
}
