@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

/* ==========================================================================
   MDA ACADEMY MALTA - MAIN STYLESHEET
   Base: Clean White & Verde Acqua (Teal / Aqua / Emerald) & Luxury Academic Gold
   ========================================================================== */

:root {
  /* Color Palette - Aqua / Teal */
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a;
  --teal-950: #042f2e;

  /* Neutrals & Dark Contrast */
  --white: #ffffff;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  /* Accent Gold / Alert / Highlights */
  --accent-gold: #d97706;
  --accent-gold-light: #fef3c7;
  --accent-gold-border: #fde68a;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', sans-serif;

  /* Shadows & Glassmorphism */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.07);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.08);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.08);
  --shadow-teal: 0 10px 25px -5px rgba(20, 184, 166, 0.25);
  --shadow-teal-glow: 0 0 35px -5px rgba(45, 212, 191, 0.35);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--white);
  color: var(--slate-700);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 960px;
}

/* Section Common Styling */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-bg-light {
  background-color: var(--slate-50);
}

.section-bg-teal-subtle {
  background: linear-gradient(180deg, var(--teal-50) 0%, var(--white) 100%);
}

.section-bg-dark {
  background: linear-gradient(135deg, var(--teal-950) 0%, var(--slate-900) 100%);
  color: var(--white);
}

/* Typography Utilities */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-700);
  background-color: var(--teal-100);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  border: 1px solid var(--teal-200);
}

.eyebrow-dark {
  color: var(--teal-300);
  background-color: rgba(45, 212, 191, 0.15);
  border-color: rgba(45, 212, 191, 0.3);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-bg-dark .section-title {
  color: var(--white);
}

.section-lead {
  font-size: 1.125rem;
  color: var(--slate-600);
  line-height: 1.7;
}

.section-bg-dark .section-lead {
  color: var(--slate-300);
}

/* ==========================================================================
   BUTTONS & CTA
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal-600) 0%, var(--teal-700) 100%);
  color: var(--white) !important;
  box-shadow: var(--shadow-teal);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--teal-500) 0%, var(--teal-600) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal-glow);
  color: var(--white) !important;
}

.btn-secondary {
  background-color: var(--white);
  color: var(--teal-800);
  border-color: var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--teal-50);
  border-color: var(--teal-300);
  color: var(--teal-700);
  transform: translateY(-2px);
}

.btn-teal-light {
  background-color: var(--teal-100);
  color: var(--teal-800);
  border-color: var(--teal-200);
}

.btn-teal-light:hover {
  background-color: var(--teal-200);
  color: var(--teal-900);
}

.btn-outline-white {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--teal-900);
  border-color: var(--white);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   TOPBAR & PRESTIGE ACCREDITATION RIBBON
   ========================================================================== */
.topbar {
  background: #070c18;
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
  position: relative;
  z-index: 1001;
}

.topbar::before {
  content: '';
  display: block;
  height: 2.5px;
  background: linear-gradient(90deg, #916b08 0%, #d4af37 25%, #0d9488 50%, #d4af37 75%, #916b08 100%);
  width: 100%;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.775rem;
  color: #cbd5e1;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #fde68a;
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.topbar-link {
  color: #94a3b8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--transition-fast);
}

.topbar-link:hover {
  color: #5eead4;
}

.topbar-verified-pill {
  color: var(--teal-300);
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}

/* ==========================================================================
   HEADER / NAVIGATION (LUXURY ACADEMIC INSTITUTION STYLE)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 4px 25px -4px rgba(15, 23, 42, 0.06), 0 1px 0 rgba(212, 175, 55, 0.15);
  transition: all var(--transition-normal);
}

.site-header .container {
  max-width: 1400px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.site-header.scrolled {
  background-color: #ffffff;
  box-shadow: 0 8px 30px -4px rgba(15, 23, 42, 0.12), 0 1px 0 rgba(212, 175, 55, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1.25rem;
}

/* ==========================================================================
   LUXURY ACADEMIC BRAND LOGOTYPE & HERALDIC CREST
   ========================================================================== */
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-link:hover {
  transform: translateY(-1px);
}

.brand-crest-wrapper {
  position: relative;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.14));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
}

.brand-link:hover .brand-crest-wrapper {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 14px rgba(212, 175, 55, 0.35));
}

.brand-crest-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-divider {
  width: 1.5px;
  height: 36px;
  background: linear-gradient(180deg, 
    rgba(212, 175, 55, 0.05) 0%, 
    rgba(212, 175, 55, 0.6) 25%, 
    rgba(184, 134, 11, 0.85) 50%, 
    rgba(212, 175, 55, 0.6) 75%, 
    rgba(212, 175, 55, 0.05) 100%
  );
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #081021;
  letter-spacing: 0.08em;
  line-height: 1.05;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-subtitle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.2rem;
  line-height: 1;
  white-space: nowrap;
}

.brand-jurisdiction {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: #b8860b;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
}

.brand-subdot {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #d4af37;
  opacity: 0.85;
}

.brand-accreditation {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

/* Footer context adaptations */
.footer .brand-title {
  color: #ffffff;
}

.footer .brand-accreditation {
  color: #94a3b8;
}

.footer .brand-jurisdiction {
  color: #fde047;
}

.footer .brand-divider {
  background: linear-gradient(180deg, 
    rgba(212, 175, 55, 0.05) 0%, 
    rgba(212, 175, 55, 0.5) 50%, 
    rgba(212, 175, 55, 0.05) 100%
  );
}

/* ==========================================================================
   DESKTOP NAVIGATION MENU & DROPDOWNS
   ========================================================================== */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-item {
  position: relative;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-link {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #334155;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all var(--transition-fast);
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}

.dropdown-chevron {
  transition: transform 0.2s ease;
  color: #94a3b8;
  flex-shrink: 0;
}

.nav-item.nav-dropdown-parent:hover .dropdown-chevron,
.nav-dropdown-parent.expanded .dropdown-chevron {
  transform: rotate(180deg);
  color: #0d9488;
}

.nav-link:hover {
  color: #0f172a;
  background-color: rgba(13, 148, 136, 0.06);
}

.nav-link.active {
  color: #0d9488;
  background-color: rgba(13, 148, 136, 0.08);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 2.5px;
  background: linear-gradient(90deg, #d4af37, #0d9488);
  border-radius: 2px;
}

/* Dropdown Menu Container */
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 14px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(15, 23, 42, 0.04);
  padding: 0.6rem;
  min-width: 295px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1100;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-top: 1px solid rgba(212, 175, 55, 0.28);
  border-left: 1px solid rgba(212, 175, 55, 0.28);
}

/* Invisible bridge so hover is not lost */
.nav-item.nav-dropdown-parent::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-item.nav-dropdown-parent:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(4px);
}

.nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem 0.95rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.18s ease;
  position: relative;
}

.nav-dropdown-item:hover {
  background-color: #f8fafc;
  transform: translateX(3px);
}

.nav-dropdown-item.active {
  background-color: var(--teal-50);
}

.dropdown-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--slate-100);
  color: var(--slate-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

.dropdown-item-icon-gold {
  background: rgba(212, 175, 55, 0.12);
  color: #b8860b;
}

.nav-dropdown-item:hover .dropdown-item-icon {
  background: var(--teal-600);
  color: #ffffff;
}

.dropdown-item-text {
  display: flex;
  flex-direction: column;
}

.dropdown-item-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}

.nav-dropdown-item:hover .dropdown-item-title {
  color: var(--teal-700);
}

.dropdown-item-desc {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.2rem;
  line-height: 1.4;
}

.badge-mqf {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(13, 148, 136, 0.12);
  color: #0f766e;
  border: 1px solid rgba(13, 148, 136, 0.3);
}

/* ==========================================================================
   EXCLUSIVE LUXURY CTA BUTTON
   ========================================================================== */
.nav-cta-btn {
  background: linear-gradient(135deg, #090d19 0%, #1e293b 100%);
  color: #ffffff !important;
  border: 1px solid #d4af37;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all var(--transition-fast);
  margin-left: 0.35rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta-btn::after {
  display: none !important;
}

.nav-cta-btn:hover {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  border-color: #2dd4bf;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.32);
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--slate-800);
  padding: 0.5rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 4.5rem 0 5.5rem 0;
  background: radial-gradient(circle at 85% 15%, rgba(204, 251, 241, 0.6) 0%, rgba(240, 253, 250, 0.3) 40%, #ffffff 80%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.15rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--teal-700) 0%, var(--teal-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--slate-600);
  line-height: 1.75;
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slate-200);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
}

.trust-badge-item svg {
  color: var(--teal-600);
  flex-shrink: 0;
}

/* Hero Media / Graphic */
.hero-media-wrapper {
  position: relative;
  z-index: 1;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(226, 232, 240, 0.8);
  background-color: var(--white);
}

.hero-image-frame img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-frame:hover img {
  transform: scale(1.03);
}

/* Floating Glass Cards */
.hero-glass-badge-1 {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 280px;
  animation: floatSlow 5s ease-in-out infinite;
}

.hero-glass-badge-2 {
  position: absolute;
  top: 24px;
  right: -20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: floatSlow 6s ease-in-out infinite reverse;
}

.badge-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--teal-100);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.2;
}

.badge-desc {
  font-size: 0.75rem;
  color: var(--slate-500);
}

/* ==========================================================================
   INFO BAR (FACTS)
   ========================================================================== */
.facts-bar-section {
  position: relative;
  z-index: 10;
  margin-top: -2.5rem;
  margin-bottom: 2rem;
}

.facts-card-container {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.9);
  padding: 1.75rem 2rem;
  border-top: 4px solid var(--teal-500);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.fact-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.fact-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -0.75rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--slate-200);
}

.fact-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-700);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.fact-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.35;
}

.fact-sub {
  font-size: 0.75rem;
  color: var(--slate-500);
}

.licence-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: var(--teal-50);
  color: var(--teal-800);
  border: 1px solid var(--teal-300);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-weight: 700;
  font-size: 0.875rem;
}

/* ==========================================================================
   ACCREDITED PROGRAMME (MFHEA)
   ========================================================================== */
.programme-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: box-shadow var(--transition-normal);
}

.programme-card:hover {
  box-shadow: var(--shadow-xl);
}

.programme-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}

.programme-content {
  padding: 3.5rem;
}

.programme-badge-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.pill-accredited {
  background: linear-gradient(135deg, var(--teal-100) 0%, var(--teal-50) 100%);
  color: var(--teal-800);
  border: 1px solid var(--teal-300);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.pill-level {
  background-color: var(--slate-100);
  color: var(--slate-800);
  border: 1px solid var(--slate-300);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.programme-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.programme-desc {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Key Metadata Grid */
.meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.meta-item {
  background-color: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  transition: all var(--transition-fast);
}

.meta-item:hover {
  background-color: var(--teal-50);
  border-color: var(--teal-200);
  transform: translateY(-2px);
}

.meta-icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background-color: var(--white);
  border: 1px solid var(--teal-200);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.meta-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-500);
  margin-bottom: 0.2rem;
}

.meta-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-800);
  line-height: 1.3;
}

/* Hours Breakdown Visual */
.hours-breakdown-box {
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2.25rem;
}

.hours-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.hours-total {
  font-size: 1rem;
  font-weight: 800;
  color: var(--teal-900);
}

.hours-total span {
  color: var(--teal-600);
}

.hours-bar {
  display: flex;
  height: 12px;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 1rem;
  background-color: var(--slate-200);
}

.hours-segment {
  height: 100%;
  transition: width 0.8s ease-in-out;
}

.seg-contact { background-color: var(--teal-600); width: 40%; }
.seg-practice { background-color: var(--teal-400); width: 16%; }
.seg-self { background-color: #38bdf8; width: 36%; }
.seg-exam { background-color: #f59e0b; width: 8%; }

.hours-legend {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-700);
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Programme Sidebar / Visual */
.programme-media-side {
  position: relative;
  background-color: var(--slate-900);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.programme-media-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 380px;
}

.media-overlay-card {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.assessment-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal-300);
  margin-bottom: 0.35rem;
}

.assessment-text {
  font-size: 0.9rem;
  color: var(--slate-200);
  line-height: 1.45;
}

/* First Aid Topics Checklist */
.fa-topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.fa-topic-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  transition: all var(--transition-fast);
}

.fa-topic-card:hover {
  border-color: var(--teal-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.fa-topic-icon {
  color: var(--teal-600);
  flex-shrink: 0;
  margin-top: 2px;
}

.fa-topic-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.2rem;
}

.fa-topic-desc {
  font-size: 0.8rem;
  color: var(--slate-500);
  line-height: 1.4;
}

/* ==========================================================================
   ADMISSIONS (LEARNER JOURNEY)
   ========================================================================== */
.journey-timeline-wrapper {
  position: relative;
  margin-top: 3rem;
}

.journey-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  position: relative;
  z-index: 2;
}

/* Connecting Line */
.journey-line-bg {
  display: none;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--teal-300);
}

.step-number-badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--white) 0%, var(--teal-50) 100%);
  border: 3px solid var(--teal-500);
  color: var(--teal-700);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 15px rgba(20, 184, 166, 0.25);
  position: relative;
  z-index: 3;
  transition: all var(--transition-fast);
}

.step-card:hover .step-number-badge {
  background: linear-gradient(135deg, var(--teal-600) 0%, var(--teal-700) 100%);
  color: var(--white);
  border-color: var(--white);
  transform: scale(1.08);
}

.step-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.6;
}

.step-details-list {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--slate-200);
  width: 100%;
  text-align: left;
  list-style: none;
}

.step-details-list li {
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.step-details-list li svg {
  color: var(--teal-600);
  flex-shrink: 0;
}

/* ==========================================================================
   QUALITY ASSURANCE & POLICIES
   ========================================================================== */
.qa-framework-banner {
  background: linear-gradient(135deg, var(--teal-950) 0%, var(--slate-900) 100%);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.5rem;
  color: var(--white);
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-xl);
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.qa-banner-title {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--white);
  line-height: 1.25;
}

.qa-banner-lead {
  font-size: 0.95rem;
  color: var(--slate-300);
  line-height: 1.65;
}

/* QA Standards Structured Grid */
.qa-standards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
  width: 100%;
}

.qa-grid-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--teal-100);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.qa-grid-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--teal-400);
  color: var(--white);
  transform: translateY(-1px);
}

.qa-check-icon {
  color: var(--teal-400);
  flex-shrink: 0;
}

/* Policies Search & Filter */
.policies-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.policies-search-box {
  position: relative;
  flex: 1 1 360px;
  max-width: 560px;
  min-width: 280px;
  width: 100%;
}

.policies-search-box input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.6rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-300);
  background-color: var(--white);
  font-size: 0.9rem;
  outline: none;
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.policies-search-box input:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.policies-search-box svg {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-400);
}

/* Policy Grid */
.policies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.policy-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
}

.policy-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal-300);
  box-shadow: var(--shadow-lg);
}

.policy-card-top {
  margin-bottom: 1.25rem;
}

.policy-category-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal-700);
  background-color: var(--teal-50);
  border: 1px solid var(--teal-200);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 0.85rem;
}

.policy-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.policy-excerpt {
  font-size: 0.85rem;
  color: var(--slate-600);
  line-height: 1.55;
}

.policy-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--slate-100);
}

.policy-meta-ref {
  font-size: 0.75rem;
  color: var(--slate-400);
  font-family: monospace;
}

.policy-view-btn {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal-700);
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0;
  transition: color var(--transition-fast);
}

.policy-view-btn:hover {
  color: var(--teal-900);
  text-decoration: underline;
}

/* ==========================================================================
   MODAL DIALOG (POLICY / INFO POPUP)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 2.5rem;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-smooth);
}

.modal-overlay.active .modal-content-box {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--slate-100);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-600);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--slate-200);
  color: var(--slate-900);
}

/* ==========================================================================
   PROFESSIONAL COURSES SECTION
   ========================================================================== */
.courses-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.course-item-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.course-item-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal-400);
  box-shadow: var(--shadow-teal);
}

.course-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal-800);
  background: var(--teal-100);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.course-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.6rem;
}

.course-card-desc {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   FOOTER & CONTACT
   ========================================================================== */
.footer-section {
  background-color: var(--slate-900);
  color: var(--slate-300);
  padding-top: 5rem;
  padding-bottom: 2rem;
  border-top: 4px solid var(--teal-600);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand-desc {
  font-size: 0.925rem;
  color: var(--slate-400);
  line-height: 1.7;
  margin-top: 1.25rem;
  margin-bottom: 1.75rem;
}

.footer-col-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--teal-400);
  border-radius: var(--radius-full);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.925rem;
  color: var(--slate-300);
}

.footer-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(20, 184, 166, 0.15);
  border: 1px solid rgba(20, 184, 166, 0.3);
  color: var(--teal-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-contact-item a:hover {
  color: var(--teal-300);
}

.campus-preview-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.campus-preview-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.campus-preview-body {
  padding: 1rem;
}

.campus-loc-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}

.campus-loc-addr {
  font-size: 0.8rem;
  color: var(--slate-400);
}

/* Footer Bottom */
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.825rem;
  color: var(--slate-500);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a:hover {
  color: var(--teal-300);
}

/* ==========================================================================
   MICRO-ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes shine {
  0% { transform: translateX(-100%) rotate(30deg); }
  20%, 100% { transform: translateX(100%) rotate(30deg); }
}

@keyframes pulseBeacon {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(20, 184, 166, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); }
}

.pulse-beacon {
  width: 8px;
  height: 8px;
  background-color: var(--teal-500);
  border-radius: 50%;
  display: inline-block;
  animation: pulseBeacon 2s infinite;
}

/* SVG Pulse Line Animation */
@keyframes dashPulse {
  to {
    stroke-dashoffset: -40;
  }
}

.animated-dash-line {
  stroke-dasharray: 6 6;
  animation: dashPulse 2s linear infinite;
}

/* Heartbeat ECG Pulse */
@keyframes ecgPulse {
  0% { stroke-dashoffset: 200; }
  50% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -200; }
}

.svg-ecg-path {
  stroke-dasharray: 200;
  animation: ecgPulse 3s linear infinite;
}

/* Scroll reveal utility */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN / MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-image-frame img {
    height: 360px;
  }

  .facts-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .fact-item:nth-child(3)::after {
    display: none;
  }

  .programme-grid {
    grid-template-columns: 1fr;
  }

  .programme-content {
    padding: 2.5rem;
  }

  .journey-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .journey-line-bg {
    display: none;
  }

  .policies-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .qa-framework-banner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .qa-standards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .courses-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 1240px) and (min-width: 1081px) {
  .site-header .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .nav-link {
    padding: 0.45rem 0.55rem;
    font-size: 0.775rem;
  }
  .brand-title {
    font-size: 1.18rem;
  }
  .brand-accreditation {
    font-size: 0.58rem;
  }
  .nav-cta-btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.76rem;
  }
}

/* ==========================================================================
   MOBILE & TABLET NAVIGATION DRAWER & BACKDROP
   ========================================================================== */
body.menu-open {
  overflow: hidden !important;
  touch-action: none;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 12, 24, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1040;
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 1080px) {
  .header-inner {
    height: 76px;
  }

  .brand-crest-wrapper {
    width: 44px;
    height: 44px;
  }

  .brand-divider {
    height: 34px;
  }

  .brand-title {
    font-size: 1.15rem;
  }

  .brand-jurisdiction {
    font-size: 0.68rem;
  }

  .brand-accreditation {
    font-size: 0.60rem;
  }

  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid var(--slate-200);
    color: var(--slate-900);
    cursor: pointer;
    transition: all var(--transition-fast);
  }

  .mobile-nav-toggle:hover {
    background: var(--slate-100);
    color: var(--teal-700);
  }

  /* Luxury Off-Canvas Drawer (Tablet & Mobile) */
  .nav-menu {
    position: fixed;
    top: 76px;
    right: 0;
    bottom: 0;
    left: auto;
    width: 100%;
    max-width: 400px;
    background-color: #ffffff;
    flex-direction: column;
    padding: 1.5rem 1.25rem 3rem 1.25rem;
    box-shadow: -10px 0 40px rgba(7, 12, 24, 0.22);
    border-left: 1px solid var(--slate-200);
    border-top: 1px solid var(--slate-200);
    gap: 0.5rem;
    display: flex;
    transform: translateX(105%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1050;
    visibility: hidden;
    pointer-events: none;
  }

  .nav-menu.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    font-size: 0.925rem;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid var(--slate-100);
    cursor: pointer;
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    background: #f8fafc;
    border-left: 3px solid var(--teal-600);
    border-radius: 0 8px 8px 0;
    margin: 0.35rem 0 0.5rem 0.5rem;
    padding: 0.4rem 0.5rem;
    display: none;
    min-width: unset;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown-parent.expanded .nav-dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    animation: fadeIn 0.22s ease-out;
  }

  .nav-dropdown-item {
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
  }

  .nav-dropdown-item:hover,
  .nav-dropdown-item.active {
    background: #f0fdfa;
    border-color: rgba(13, 148, 136, 0.3);
  }

  .nav-cta-btn {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .topbar-content {
    justify-content: center;
    text-align: center;
    font-size: 0.72rem;
    gap: 0.35rem;
    padding: 0.4rem 0;
  }

  .topbar-left, .topbar-right {
    justify-content: center;
    gap: 0.5rem;
  }

  .brand-crest-wrapper {
    width: 40px;
    height: 40px;
  }

  .brand-divider {
    display: none;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .brand-accreditation {
    display: none;
  }

  .brand-subdot {
    display: none;
  }

  .hero-title {
    font-size: 2.15rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .facts-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .fact-item::after {
    display: none !important;
  }

  .meta-grid {
    grid-template-columns: 1fr;
  }

  .fa-topics-grid {
    grid-template-columns: 1fr;
  }

  .journey-steps-grid {
    grid-template-columns: 1fr;
  }

  .policies-grid {
    grid-template-columns: 1fr;
  }

  .policies-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .policies-search-box {
    max-width: 100%;
  }

  .qa-standards-grid {
    grid-template-columns: 1fr;
  }

  .courses-showcase-grid {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .hero-glass-badge-1,
  .hero-glass-badge-2 {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
    animation: none;
  }

  .modal-overlay {
    padding: 0.75rem;
  }

  .modal-content-box {
    padding: 1.5rem 1.25rem;
    max-height: 90vh;
  }
}

@media (max-width: 480px) {
  .site-header .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .nav-menu {
    max-width: 100%;
    border-left: none;
    padding: 1.25rem 1rem 3rem 1rem;
  }

  .brand-title {
    font-size: 0.95rem;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .section-title {
    font-size: 1.45rem;
  }
}

/* External Link Icon & Micro-interactions */
.external-link-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

a:hover .external-link-icon {
  transform: translate(2px, -2px);
}

/* Card Links Footer Optimization */
.card-links-footer {
  margin-top: 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--slate-100);
}

.card-links-label {
  display: block;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-400);
  margin-bottom: 0.5rem;
}

.card-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.doc-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-800);
  padding: 0.5rem 0.75rem;
  background-color: var(--teal-50);
  border: 1px solid var(--teal-200);
  border-radius: var(--radius-sm);
  text-decoration: none !important;
  transition: all var(--transition-fast);
  line-height: 1.35;
}

.doc-link:hover {
  background-color: var(--teal-100);
  border-color: var(--teal-300);
  color: var(--teal-950);
  box-shadow: 0 2px 4px rgba(13, 148, 136, 0.08);
}

.doc-link-text {
  flex: 1;
}

.doc-link-internal {
  background-color: var(--slate-50);
  border-color: var(--slate-200);
  color: var(--slate-700);
}

.doc-link-internal:hover {
  background-color: var(--slate-100);
  border-color: var(--slate-300);
  color: var(--slate-900);
}

/* ==========================================================================
   MULTI-PAGE LAYOUT & INNER HERO COMPONENT
   ========================================================================== */
.inner-hero {
  background: linear-gradient(135deg, var(--slate-900) 0%, #082f49 50%, var(--teal-950) 100%);
  color: var(--white);
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid rgba(45, 212, 191, 0.2);
  position: relative;
  overflow: hidden;
}

.inner-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(20, 184, 166, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: var(--slate-400);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.breadcrumb-nav a {
  color: var(--teal-300);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb-nav a:hover {
  color: var(--white);
  text-decoration: underline;
}

.breadcrumb-separator {
  color: var(--slate-500);
  font-size: 0.75rem;
}

.breadcrumb-current {
  color: var(--slate-300);
  font-weight: 600;
}

.inner-hero-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  color: var(--white);
}

.inner-hero-lead {
  font-size: 1.075rem;
  color: var(--slate-200);
  line-height: 1.65;
  max-width: 820px;
  margin-bottom: 1.5rem;
}

.inner-hero-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.inner-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--slate-200);
}

.inner-hero-badge-teal {
  background: rgba(20, 184, 166, 0.2);
  border-color: rgba(45, 212, 191, 0.35);
  color: var(--teal-200);
}

/* ==========================================================================
   PAGE TWO-COLUMN & CONTENT LAYOUTS
   ========================================================================== */
.content-grid-sidebar {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.75rem;
  align-items: start;
}

.content-grid-even {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.sidebar-panel {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-panel-header {
  border-bottom: 1px solid var(--slate-100);
  padding-bottom: 0.85rem;
}

.sidebar-panel-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.25rem;
}

.sidebar-panel-desc {
  font-size: 0.825rem;
  color: var(--slate-500);
  margin: 0;
}

/* ==========================================================================
   CUSTOM DATA TABLES & MATRICES
   ========================================================================== */
.custom-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.custom-table th {
  background: var(--slate-800);
  color: var(--white);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.85rem 1.15rem;
  border: none;
}

.custom-table td {
  padding: 0.95rem 1.15rem;
  border-top: 1px solid var(--slate-200);
  color: var(--slate-700);
  vertical-align: top;
  line-height: 1.55;
}

.custom-table tr:nth-child(even) td {
  background-color: var(--slate-50);
}

.custom-table tr:hover td {
  background-color: var(--teal-50);
}

.custom-table td strong {
  color: var(--slate-900);
}

.table-col-highlight {
  font-weight: 700;
  color: var(--teal-800);
}

/* ==========================================================================
   NOTICE & CALLOUT BOXES
   ========================================================================== */
.compliance-notice-box {
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin: 1.75rem 0;
  border-left: 4px solid var(--teal-600);
  background: var(--teal-50);
  color: var(--slate-800);
}

.compliance-notice-box h3,
.compliance-notice-box h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal-950);
  margin-top: 0;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.compliance-notice-box p {
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  color: var(--slate-700);
}

.compliance-notice-box p:last-child {
  margin-bottom: 0;
}

.notice-box-gold {
  border-left-color: var(--accent-gold);
  background: var(--accent-gold-light);
}

.notice-box-gold h3,
.notice-box-gold h4 {
  color: #78350f;
}

.notice-box-slate {
  border-left-color: var(--slate-600);
  background: var(--slate-100);
}

.notice-box-slate h3,
.notice-box-slate h4 {
  color: var(--slate-900);
}

/* ==========================================================================
   FORM CONTROLS (STANDALONE CONTACT & APPLICATION)
   ========================================================================== */
.form-grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 0.4rem;
}

.form-label .req-star {
  color: #e11d48;
  margin-left: 0.2rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.925rem;
  font-family: inherit;
  color: var(--slate-900);
  background-color: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.25rem 0;
  font-size: 0.85rem;
  color: var(--slate-700);
  line-height: 1.5;
}

.form-checkbox-container input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  accent-color: var(--teal-600);
  flex-shrink: 0;
  cursor: pointer;
}

.form-checkbox-container a {
  color: var(--teal-700);
  font-weight: 600;
  text-decoration: underline;
}

.form-checkbox-container a:hover {
  color: var(--teal-900);
}

.form-help-text {
  font-size: 0.775rem;
  color: var(--slate-500);
  margin-top: 0.35rem;
}


@media (max-width: 1024px) {
  .content-grid-sidebar {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}



@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.contact-main-grid {
  grid-template-columns: 1fr 1.35fr;
  gap: 3rem;
}

@media (max-width: 1024px) {
  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-main-grid .sidebar-panel {
    position: static !important;
  }
}
