/* ==========================================================================
   Vector Technology Institute (vti.edu.jm) — ProcessWire Master Stylesheet
   ========================================================================== */

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

:root {
  --green-900: #0a2e1a;
  --green-800: #0f3d23;
  --green-700: #145230;
  --green-600: #1a6b3e;
  --green-500: #22b85a;
  --green-400: #34d470;
  --green-300: #6ee7a0;
  --green-200: #a7f3c8;
  --green-100: #dcfce8;
  --green-50: #f0fdf5;
  --dark: #0b1215;
  --dark-2: #111b20;
  --dark-3: #18262d;
  --gray-900: #1a2329;
  --gray-700: #37464f;
  --gray-600: #4b5c66;
  --gray-400: #8fa3b0;
  --gray-200: #dce5ea;
  --gray-100: #eef3f6;
  --white: #ffffff;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --display: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
  --shadow: 0 4px 20px rgba(0, 0, 0, .07);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, .12);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  interpolate-size: allow-keywords;
}

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--green-500);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 9999;
  transition: top .2s;
}

.skip-link:focus {
  top: 12px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ==========================================================================
   Navigation & Dropdowns
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 18, 21, .92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: all .3s ease;
}

.navbar.scrolled {
  background: rgba(11, 18, 21, .98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, .3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, .8);
  font-size: .86rem;
  font-weight: 600;
  padding: 9px 13px;
  border-radius: 8px;
  transition: all .2s;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--white);
  background: rgba(255, 255, 255, .08);
}

.nav-caret {
  font-size: .72rem;
  opacity: .65;
}

.nav-links > li > a.nav-cta {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  margin-left: 8px;
  box-shadow: 0 4px 16px rgba(34, 184, 90, .25);
}

.nav-links > li > a.nav-cta:hover {
  background: linear-gradient(135deg, var(--green-400), var(--green-500));
  transform: translateY(-1px);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  background: rgba(15, 25, 30, .98);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s ease;
  z-index: 1100;
}

.nav-dropdown-menu.nav-dropdown-wide {
  min-width: 350px;
  max-height: 75vh;
  overflow-y: auto;
}

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

.nav-dropdown-header {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--green-400);
  padding: 6px 12px 4px;
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, .82);
  font-size: .83rem;
  font-weight: 500;
  transition: all .15s;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: rgba(34, 184, 90, .14);
  color: var(--green-300);
}

.nav-pill {
  font-size: .65rem;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .7);
  white-space: nowrap;
}

.nav-dropdown-footer {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.nav-dropdown-footer a {
  color: var(--green-400);
  font-weight: 700;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 2px;
  transition: .3s;
}

.mobile-menu {
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 18, 21, .98);
  z-index: 999;
  overflow-y: auto;
  padding: 24px 28px 48px;
}

.mobile-menu-inner {
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-group {
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  padding-bottom: 16px;
}

.mobile-nav-title {
  display: block;
  color: var(--white);
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.mobile-sublinks {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 12px;
}

.mobile-sublinks a {
  color: rgba(255, 255, 255, .7);
  font-size: .88rem;
  padding: 4px 0;
}

.mobile-sublinks a:hover {
  color: var(--green-400);
}

/* ==========================================================================
   Buttons & Section Typography
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(34, 184, 90, .3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(34, 184, 90, .4);
}

.btn-outline {
  background: rgba(255, 255, 255, .06);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, .18);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .3);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: var(--white);
  color: var(--green-700);
  border: 1.5px solid var(--gray-200);
}

.btn-outline-dark:hover {
  border-color: var(--green-500);
  background: var(--green-50);
  transform: translateY(-2px);
}

section {
  padding: 96px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--green-600);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--green-500);
  border-radius: 2px;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
  margin-bottom: 14px;
}

.section-title span {
  background: linear-gradient(135deg, var(--green-600), var(--green-400), var(--green-600));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  color: var(--gray-600);
  font-size: 1rem;
  max-width: 580px;
  line-height: 1.7;
}

/* ==========================================================================
   Homepage Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  background: var(--dark);
  overflow: hidden;
  padding: 0;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: 100vh;
}

.hero-text-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 56px 80px 64px;
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin-left: auto;
}

.hero-text-side::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(34, 184, 90, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 184, 90, .03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-image-side {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #0d2818 0%, #091a10 40%, #0b1215 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-side img {
  width: 90%;
  max-width: 560px;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, .4));
  animation: heroImgFloat 6s ease-in-out infinite;
}

@keyframes heroImgFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
}

.hero-orb-1 {
  width: 320px;
  height: 320px;
  background: rgba(34, 184, 90, .15);
  top: 10%;
  right: 10%;
}

.hero-orb-2 {
  width: 240px;
  height: 240px;
  background: rgba(20, 82, 48, .25);
  bottom: 15%;
  left: 10%;
}

.hero-orb.blue {
  width: 350px;
  height: 350px;
  background: rgba(59, 130, 246, .08);
  top: -5%;
  left: -10%;
}

.hero-orb.purple {
  width: 280px;
  height: 280px;
  background: rgba(168, 85, 247, .07);
  bottom: 10%;
  left: 30%;
}

.hero-float-badge {
  position: absolute;
  z-index: 3;
  background: rgba(11, 18, 21, .82);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(34, 184, 90, .25);
  border-radius: 12px;
  padding: 10px 16px;
  color: var(--white);
  font-size: .75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .3);
}

.hero-float-badge.one { top: 16%; left: 6%; }
.hero-float-badge.two { bottom: 20%; right: 6%; }
.hero-float-badge.three { top: 12%; right: 8%; }
.hero-float-badge.four { bottom: 32%; left: 4%; }
.hero-float-badge.five { top: 48%; right: 4%; }

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 184, 90, .1);
  border: 1px solid rgba(34, 184, 90, .25);
  color: var(--green-300);
  font-size: .78rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  width: fit-content;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -.03em;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--green-300), var(--green-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-type-wrapper {
  font-size: 1.05rem;
  color: var(--green-300);
  font-weight: 600;
  margin-bottom: 18px;
  min-height: 1.6em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-type-label {
  color: rgba(255, 255, 255, .45);
  font-weight: 400;
}

.hero-type-text {
  border-right: 2px solid var(--green-400);
  padding-right: 4px;
}

.hero-sub {
  font-size: .96rem;
  color: rgba(255, 255, 255, .68);
  max-width: 490px;
  margin-bottom: 20px;
  line-height: 1.75;
}

.hero-audience-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-audience-tag {
  font-size: .72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .75);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero-audience-tag svg {
  width: 12px;
  height: 12px;
  color: var(--green-400);
}

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

.hero-actions .btn {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 14px 26px;
}

.hero-actions .btn-sub {
  font-size: .68rem;
  font-weight: 400;
  opacity: .75;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.hero-stat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.hero-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(34, 184, 90, .12);
  border: 1px solid rgba(34, 184, 90, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-400);
}

.hero-stat h3 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}

.hero-stat h3 span {
  color: var(--green-400);
}

.hero-stat p {
  font-size: .72rem;
  color: var(--gray-400);
  margin-top: 2px;
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, .35);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, var(--green-400), transparent);
}

/* ==========================================================================
   Inner Page Hero Banner & Subnav
   ========================================================================== */

.vti-page-hero {
  position: relative;
  padding: 132px 0 60px;
  background-color: var(--dark);
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}

.vti-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 46, 26, .93) 0%, rgba(11, 18, 21, .92) 60%, rgba(11, 18, 21, .86) 100%);
}

.vti-page-hero-inner {
  position: relative;
  z-index: 2;
}

.vti-breadcrumb-nav {
  margin-bottom: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  font-size: .82rem;
  color: rgba(255, 255, 255, .65);
}

.breadcrumb-item a {
  color: var(--green-300);
  font-weight: 500;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-item::after {
  content: "/";
  margin-left: 8px;
  color: rgba(255, 255, 255, .3);
}

.breadcrumb-item:last-child::after {
  display: none;
}

.breadcrumb-item.active {
  color: rgba(255, 255, 255, .85);
}

.vti-hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.vti-hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 100px;
  background: rgba(34, 184, 90, .18);
  border: 1px solid rgba(34, 184, 90, .35);
  color: var(--green-300);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.vti-hero-ucj {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .1);
  font-size: .76rem;
  font-weight: 600;
  color: var(--white);
}

.vti-hero-ucj img {
  height: 22px;
  width: auto;
}

.vti-page-title {
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 14px;
  max-width: 860px;
}

.vti-page-summary {
  font-size: 1.04rem;
  color: rgba(255, 255, 255, .78);
  max-width: 720px;
  line-height: 1.7;
}

.vti-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.vti-hero-fact-pill {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 12px 18px;
  min-width: 150px;
}

.vti-hero-fact-pill.tuition-pill {
  background: rgba(34, 184, 90, .15);
  border-color: rgba(34, 184, 90, .35);
}

.vti-hero-fact-pill .fact-label {
  display: block;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 2px;
}

.vti-hero-fact-pill .fact-val {
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--white);
}

.vti-subnav-bar {
  background: var(--green-50);
  border-bottom: 1px solid rgba(34, 184, 90, .12);
  padding: 16px 0;
}

.vti-subnav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.vti-subnav-pill {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: all .2s;
}

.vti-subnav-pill:hover,
.vti-subnav-pill.active {
  background: var(--green-600);
  color: var(--white);
  border-color: var(--green-600);
}

/* ==========================================================================
   Homepage Sections (About, Upcoming, Stats, Programmes, Self-Study, etc.)
   ========================================================================== */

#about {
  background: var(--green-50);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 32px;
}

.about-image-stack {
  position: relative;
}

.about-image-main {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}

.about-image-tag {
  position: absolute;
  bottom: -16px;
  right: 24px;
  background: var(--green-600);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.about-image-tag strong {
  display: block;
  font-size: 1.3rem;
  font-family: var(--display);
}

.about-image-tag span {
  font-size: .78rem;
  opacity: .85;
}

.about-text h2 {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.about-text p {
  color: var(--gray-600);
  margin-bottom: 24px;
  font-size: .95rem;
}

.about-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.about-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
  border-top: 3px solid transparent;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-top-color: var(--green-500);
}

.about-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.about-card h4 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-card p {
  font-size: .82rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.5;
}

.upcoming-bar {
  background: var(--dark-2);
  border-top: 1px solid rgba(255, 255, 255, .05);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  padding: 40px 0;
}

.upcoming-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.upcoming-bar h3 {
  color: var(--white);
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  white-space: nowrap;
}

.upcoming-bar h3 span {
  color: var(--green-400);
}

.upcoming-items {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  flex: 1;
  justify-content: center;
}

.upcoming-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  transition: all .2s;
}

.upcoming-item:hover {
  border-color: var(--green-400);
  background: rgba(34, 184, 90, .08);
}

.upcoming-item-date {
  background: var(--green-600);
  color: var(--white);
  padding: 6px 11px;
  border-radius: 6px;
  text-align: center;
  line-height: 1.15;
  min-width: 48px;
}

.upcoming-item-date .month {
  font-size: .6rem;
  font-weight: 700;
  text-transform: uppercase;
  display: block;
}

.upcoming-item-date .day {
  font-size: 1.1rem;
  font-weight: 800;
  font-family: var(--display);
}

.upcoming-item-info {
  color: var(--white);
  font-size: .82rem;
  font-weight: 600;
}

.upcoming-item-info div {
  font-size: .72rem;
  color: var(--gray-400);
  font-weight: 400;
}

#stats-counter {
  background: linear-gradient(135deg, var(--green-800) 0%, var(--dark) 50%, var(--green-900) 100%);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
}

.stat-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  display: block;
}

.stat-number {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-number .stat-plus {
  color: var(--green-400);
}

.stat-label {
  font-size: .82rem;
  color: var(--gray-400);
  font-weight: 500;
}

/* ==========================================================================
   Programmes Filter, Search & Cards
   ========================================================================== */

#programmes {
  background: var(--white);
}

.vti-catalogue-section {
  padding: 56px 0 72px;
}

.programmes-header {
  margin-bottom: 28px;
}

.programmes-search {
  position: relative;
  max-width: 520px;
  margin-bottom: 36px;
  display: block;
}

.programmes-search input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border: 1.5px solid var(--gray-200);
  border-radius: 100px;
  font-family: var(--font);
  font-size: .92rem;
  color: var(--gray-900);
  background: var(--green-50);
  outline: none;
  transition: all .25s;
}

.programmes-search input:focus {
  border-color: var(--green-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(34, 184, 90, .12);
}

.programmes-search .search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  pointer-events: none;
}

.programmes-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}

.programmes-sidebar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--green-50);
  border-radius: var(--radius);
  padding: 18px;
  position: sticky;
  top: 96px;
  border: 1px solid rgba(34, 184, 90, .1);
}

.prog-filter-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: .92rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: all .2s;
  text-align: left;
}

.prog-filter-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: .6;
}

.filter-count {
  color: var(--gray-400);
  font-weight: 500;
  font-size: .82rem;
}

.prog-filter-btn:hover {
  background: rgba(34, 184, 90, .08);
  color: var(--green-700);
}

.prog-filter-btn.active {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(34, 184, 90, .25);
}

.prog-filter-btn.active svg {
  opacity: 1;
}

.prog-filter-btn.active .filter-count {
  color: rgba(255, 255, 255, .8);
}

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

.prog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.prog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .1);
  border-color: var(--green-400);
}

.prog-card-img-wrapper {
  overflow: hidden;
  position: relative;
}

.prog-card-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: var(--green-50);
  transition: transform .5s ease;
}

.prog-card:hover .prog-card-img {
  transform: scale(1.06);
}

.prog-ucj-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(10, 46, 26, .9);
  color: var(--green-300);
  border: 1px solid rgba(34, 184, 90, .4);
  font-size: .66rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
}

.prog-card-body {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.prog-card-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  width: fit-content;
}

.prog-card-tag.bachelor { background: #dbeafe; color: #1d4ed8; }
.prog-card-tag.associate { background: #fce7f3; color: #be185d; }
.prog-card-tag.diploma { background: #fef3c7; color: #b45309; }
.prog-card-tag.certificate { background: #d1fae5; color: #047857; }

.prog-card h4 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.35;
}

.prog-card h4 a:hover {
  color: var(--green-600);
}

.prog-card p {
  font-size: .8rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 14px;
}

.prog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--gray-200);
  gap: 8px;
}

.prog-card-dur {
  font-size: .72rem;
  color: var(--gray-600);
  font-weight: 600;
}

.prog-card-link {
  font-size: .8rem;
  font-weight: 700;
  color: var(--green-600);
  white-space: nowrap;
}

.prog-card.hidden {
  display: none;
}

.programmes-empty {
  text-align: center;
  color: var(--gray-600);
  padding: 48px 20px;
  background: var(--green-50);
  border-radius: var(--radius);
  font-weight: 600;
}

/* ==========================================================================
   Certifications, Partners, Self-Study, Admissions, Testimonials, Contact
   ========================================================================== */

#certifications {
  background: var(--dark);
  color: var(--white);
}

#certifications .section-label { color: var(--green-400); }
#certifications .section-desc { color: var(--gray-400); }

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.cert-item {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius-sm);
  padding: 22px;
  transition: all .25s;
  display: block;
  position: relative;
}

.cert-item:hover {
  background: rgba(255, 255, 255, .06);
  border-color: var(--green-500);
  transform: translateY(-3px);
}

.cert-item-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
  display: block;
}

.cert-item h5 {
  font-size: .92rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--white);
}

.cert-item p {
  font-size: .8rem;
  color: var(--gray-400);
  line-height: 1.5;
}

.partner-strip {
  background: var(--green-50);
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid rgba(34, 184, 90, .1);
  border-bottom: 1px solid rgba(34, 184, 90, .1);
}

.partner-strip h4 {
  font-family: var(--display);
  font-size: .9rem;
  font-weight: 700;
  color: var(--gray-600);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.partner-logo-text {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--gray-700);
  letter-spacing: -.02em;
}

#selfstudy {
  background: linear-gradient(135deg, var(--dark), #0a2e1a);
  padding: 100px 0;
  color: var(--white);
}

.selfstudy-header {
  text-align: center;
  margin-bottom: 48px;
}

.selfstudy-header .section-label { color: var(--green-400); }
.selfstudy-header .section-title { color: var(--white); }
.selfstudy-header .section-desc { color: var(--gray-400); margin: 14px auto 0; }

.selfstudy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.selfstudy-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all .3s;
}

.selfstudy-card:hover {
  background: rgba(255, 255, 255, .08);
  border-color: var(--green-400);
  transform: translateY(-4px);
}

.selfstudy-card-icon {
  font-size: 2.3rem;
  margin-bottom: 12px;
  display: block;
}

.selfstudy-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.selfstudy-card p {
  font-size: .85rem;
  color: var(--gray-400);
}

.selfstudy-footer {
  text-align: center;
  margin-top: 40px;
}

.selfstudy-badge {
  display: inline-block;
  background: rgba(34, 184, 90, .12);
  border: 1px solid rgba(34, 184, 90, .25);
  color: var(--green-300);
  font-size: .85rem;
  padding: 10px 24px;
  border-radius: 100px;
  margin-bottom: 24px;
}

#admissions {
  background: var(--green-50);
}

.admissions-wrapper {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
  margin-top: 32px;
}

.admissions-image {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.admissions-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.step-number {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  color: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.step-card h4 {
  font-size: .98rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.step-card p {
  font-size: .85rem;
  color: var(--gray-600);
}

#testimonials {
  background: var(--dark-2);
  color: var(--white);
}

#testimonials .section-label { color: var(--green-400); }
#testimonials .section-desc { color: var(--gray-400); }

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}

.testimonial-card {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius);
  padding: 32px;
}

.testimonial-stars {
  color: #fbbf24;
  font-size: .9rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: .92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .82);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.testimonial-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--green-400);
}

.testimonial-author strong {
  font-size: .9rem;
  display: block;
}

.testimonial-author span {
  font-size: .78rem;
  color: var(--gray-400);
}

#contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 36px;
}

.contact-info-card {
  background: var(--green-50);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid rgba(34, 184, 90, .15);
}

.contact-info-card h4 {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.contact-info-card > p {
  color: var(--gray-600);
  font-size: .92rem;
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-600);
  box-shadow: var(--shadow-sm);
}

.contact-detail-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gray-400);
}

.contact-detail-value {
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-900);
}

.contact-detail-value a:hover {
  color: var(--green-600);
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.contact-form-card h4 {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.contact-form-card > p {
  font-size: .86rem;
  color: var(--gray-600);
  margin-bottom: 22px;
}

/* ==========================================================================
   Inner Page Scraped Content & Bootstrap Compatibility Layer
   ========================================================================== */

.inner-page {
  padding: 64px 0 88px;
}

.inner-page h1,
.inner-page h2,
.inner-page h3,
.inner-page h4,
.inner-page h5 {
  font-family: var(--display);
  color: var(--gray-900);
  line-height: 1.25;
  margin-bottom: 16px;
}

.inner-page h2 { font-size: clamp(1.55rem, 2.5vw, 2.15rem); font-weight: 800; }
.inner-page h3 { font-size: 1.35rem; font-weight: 700; }
.inner-page h4 { font-size: 1.15rem; font-weight: 700; }
.inner-page h5 { font-size: 1.02rem; font-weight: 700; }

.inner-page p {
  margin-bottom: 16px;
  color: var(--gray-700);
  line-height: 1.75;
}

.inner-page ul,
.inner-page ol {
  margin: 0 0 20px 22px;
  color: var(--gray-700);
}

.inner-page li {
  margin-bottom: 8px;
}

.inner-page a {
  color: var(--green-600);
  font-weight: 600;
}

.inner-page a:hover {
  color: var(--green-500);
  text-decoration: underline;
}

/* Grid & Flex Utilities used in scraped HTML */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -14px;
  margin-right: -14px;
}

.row > * {
  padding-left: 14px;
  padding-right: 14px;
  width: 100%;
}

.col { flex: 1 0 0%; }
.col-md-3 { width: 25%; flex: 0 0 25%; }
.col-md-4 { width: 33.3333%; flex: 0 0 33.3333%; }
.col-md-5 { width: 41.6667%; flex: 0 0 41.6667%; }
.col-md-6 { width: 50%; flex: 0 0 50%; }
.col-md-7 { width: 58.3333%; flex: 0 0 58.3333%; }
.col-md-8 { width: 66.6667%; flex: 0 0 66.6667%; }
.col-md-9 { width: 75%; flex: 0 0 75%; }
.col-md-12 { width: 100%; flex: 0 0 100%; }

.row-cols-md-2 > * { width: 50%; flex: 0 0 50%; }
.row-cols-md-3 > * { width: 33.3333%; flex: 0 0 33.3333%; }
.row-cols-lg-4 > * { width: 25%; flex: 0 0 25%; }

.d-flex { display: flex !important; }
.d-block { display: block !important; }
.d-grid { display: grid !important; }
.flex-column { flex-direction: column; }
.flex-md-row { flex-direction: row; }
.justify-content-center, .justify-content-md-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }

.mb-1 { margin-bottom: 6px; }
.mb-2 { margin-bottom: 10px; }
.mb-3 { margin-bottom: 18px; }
.mb-4 { margin-bottom: 26px; }
.mb-5 { margin-bottom: 40px; }
.mt-2 { margin-top: 10px; }
.mt-3 { margin-top: 18px; }
.mt-4 { margin-top: 26px; }
.mt-5 { margin-top: 40px; }
.p-3 { padding: 20px; }
.p-4 { padding: 28px; }
.pt-3 { padding-top: 16px; }
.pb-1 { padding-bottom: 6px; }
.pb-3 { padding-bottom: 16px; }
.pt-5 { padding-top: 40px; }
.pb-5 { padding-bottom: 40px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-4 { padding-top: 24px; padding-bottom: 24px; }
.py-5 { padding-top: 40px; padding-bottom: 40px; }

.text-center { text-align: center; }
.text-uppercase { text-transform: uppercase; letter-spacing: .05em; }
.fw-bold { font-weight: 700; }
.fs-1 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); }
.fs-2 { font-size: 1.5rem; }
.fs-3 { font-size: 1.25rem; }
.fs-5 { font-size: 1.05rem; }
.fs-6 { font-size: .92rem; }
.fs-7 { font-size: .76rem; }

.text-green-400, .text-green--90 { color: var(--green-600) !important; }
.text-white { color: var(--white) !important; }
.text-black-40 { color: var(--gray-600); }
.bg-gray-2 { background: var(--green-50); border: 1px solid rgba(34, 184, 90, .15); }
.bg-green-400 { background: linear-gradient(135deg, var(--green-500), var(--green-600)); color: var(--white); }
.rounded-1, .rounded-2 { border-radius: var(--radius); }
.shadow-sm { box-shadow: var(--shadow); }
.border-bottom { border-bottom: 2px solid rgba(34, 184, 90, .2); }
.list-unstyled { list-style: none !important; margin-left: 0 !important; }

/* Quick Facts Banner inside Programme Pages */
.quick-facts {
  background: linear-gradient(135deg, var(--dark), var(--green-900));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 32px !important;
  margin: 40px 0 !important;
}

.quick-facts h2 {
  color: var(--white) !important;
}

.quick-facts .facts {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  height: 100%;
}

.quick-facts .facts strong {
  display: block;
  font-family: var(--display);
  font-size: 1.45rem;
  color: var(--green-300);
  margin-bottom: 6px;
}

.quick-facts .facts p {
  color: rgba(255, 255, 255, .75);
  margin: 0;
  font-size: .88rem;
}

/* Dark Section Blocks (Career Opportunities, Scholarships) */
.bg-students-playing {
  background: linear-gradient(135deg, var(--dark-2), var(--green-900));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 36px !important;
  margin: 40px 0;
}

.bg-students-playing h2,
.bg-students-playing h3,
.bg-students-playing h4,
.bg-students-playing p,
.bg-students-playing li {
  color: var(--white) !important;
}

.block-style-1 {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
}

/* ==========================================================================
   Modern Web Guidance: Responsive Tables (Container Queries + Sticky Headers)
   ========================================================================== */

.table-wrapper {
  container-type: inline-size;
  overflow-x: auto;
  margin: 20px 0 32px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.table-wrapper:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 2px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--green-900);
  color: var(--white);
  font-family: var(--display);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-align: left;
  padding: 14px 18px;
}

.table tbody th,
.table tbody td,
.table tr th,
.table tr td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-100);
  text-align: left;
  vertical-align: top;
  font-size: .92rem;
  color: var(--gray-700);
}

.table tbody tr:hover {
  background: var(--green-50);
}

.table tbody th[scope="row"] {
  font-weight: 700;
  color: var(--gray-900);
}

/* Scholarship tables inside dark sections */
.table.bg-white-10 {
  background: var(--dark-3);
}

.table.bg-white-10 th,
.table.bg-white-10 td,
.table.bg-white-10 p {
  color: rgba(255, 255, 255, .88) !important;
  border-bottom-color: rgba(255, 255, 255, .08);
}

.table.bg-white-10 th[scope="row"] {
  width: 220px;
  color: var(--green-300) !important;
}

/* Stacked Card Fallback for Narrow Containers (< 600px) */
@container (max-width: 600px) {
  .vti-responsive-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .vti-responsive-table tr,
  .vti-responsive-table th,
  .vti-responsive-table td {
    display: block;
    width: 100%;
  }

  .vti-responsive-table tbody tr {
    padding: 12px 16px;
    border-bottom: 2px solid var(--gray-200);
  }

  .vti-responsive-table tbody th[scope="row"] {
    padding: 4px 0;
    border-bottom: none;
    color: var(--green-700);
    font-size: .98rem;
  }

  .vti-responsive-table tbody td {
    padding: 4px 0;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }

  .vti-responsive-table tbody td:nth-of-type(1)::before {
    content: var(--label-2, "Details");
    font-weight: 700;
    color: var(--gray-600);
  }

  .vti-responsive-table tbody td:nth-of-type(2)::before {
    content: var(--label-3, "Credits");
    font-weight: 700;
    color: var(--gray-600);
  }
}

/* ==========================================================================
   Modern Web Guidance: Accessible Forms & User-Invalid Validation
   ========================================================================== */

.request-additional-info {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.request-additional-info .header {
  background: linear-gradient(135deg, var(--green-800), var(--green-900));
  color: var(--white);
}

.request-additional-info .header p {
  color: var(--white) !important;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.08rem;
  margin: 0;
}

.request-additional-info .body {
  padding: 24px;
}

.vti-field-group,
.form-group {
  margin-bottom: 16px;
}

.vti-form-label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.req-star {
  color: #dc2626;
}

.form-control,
.vti-modern-form input[type="text"],
.vti-modern-form input[type="email"],
.vti-modern-form input[type="tel"],
.vti-modern-form select,
.vti-modern-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .9rem;
  color: var(--gray-900);
  background: var(--green-50);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}

.form-control:focus,
.vti-modern-form input:focus,
.vti-modern-form select:focus,
.vti-modern-form textarea:focus {
  outline: none;
  border-color: var(--green-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(34, 184, 90, .15);
}

/* Modern CSS validation: only highlight invalid fields after user interaction */
.vti-modern-form input:invalid:user-invalid,
.vti-modern-form select:invalid:user-invalid,
.vti-modern-form textarea:invalid:user-invalid {
  border-color: #dc2626;
  background-color: #fef2f2;
}

.vti-form-status {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.vti-form-status.success {
  background: var(--green-100);
  color: var(--green-800);
  border: 1px solid var(--green-300);
}

.vti-form-status.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.vti-submit-btn {
  width: 100%;
  justify-content: center;
}

.vti-submit-btn[disabled] {
  opacity: .65;
  cursor: wait;
}

/* ==========================================================================
   Modern Web Guidance: Exclusive <details name="faq"> Accordions
   ========================================================================== */

.vti-disclosure {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}

.vti-disclosure[open] {
  border-color: var(--green-500);
  box-shadow: var(--shadow-sm);
}

.vti-summary {
  padding: 16px 20px;
  font-family: var(--display);
  font-size: .98rem;
  font-weight: 700;
  color: var(--gray-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--green-50);
  transition: background-color .2s;
}

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

.vti-summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-600);
  flex-shrink: 0;
  transition: transform .25s ease;
}

.vti-disclosure[open] .vti-summary {
  background: var(--green-100);
  color: var(--green-900);
}

.vti-disclosure[open] .vti-summary::after {
  content: "−";
}

.vti-disclosure::details-content {
  transition: block-size .3s ease, content-visibility .3s ease;
  transition-behavior: allow-discrete;
  block-size: 0;
  overflow: hidden;
}

.vti-disclosure[open]::details-content {
  block-size: auto;
}

.vti-details-content {
  padding: 18px 20px;
  border-top: 1px solid var(--gray-100);
}

/* ==========================================================================
   Related Programmes & CTA Banner
   ========================================================================== */

.vti-related-programmes {
  background: var(--green-50);
  padding: 72px 0;
  border-top: 1px solid rgba(34, 184, 90, .12);
}

.vti-cta-banner {
  background: linear-gradient(135deg, var(--green-800), var(--dark));
  color: var(--white);
  padding: 64px 0;
}

.vti-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.vti-cta-inner h2 {
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.vti-cta-inner p {
  color: rgba(255, 255, 255, .75);
}

.vti-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Footer & Back-to-Top
   ========================================================================== */

footer {
  background: var(--dark);
  color: rgba(255, 255, 255, .68);
  padding: 72px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-logo {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: .85rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.footer-contact-mini {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .82rem;
  margin-bottom: 18px;
}

.footer-contact-mini a:hover {
  color: var(--green-400);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all .2s;
}

.footer-social a:hover {
  background: var(--green-500);
  transform: translateY(-2px);
}

.footer-col h5 {
  font-family: var(--display);
  color: var(--white);
  font-size: .84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: .84rem;
  color: rgba(255, 255, 255, .65);
  transition: color .2s;
}

.footer-col a:hover {
  color: var(--green-400);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  font-size: .8rem;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--green-400);
}

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(34, 184, 90, .35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .3s;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-split,
  .about-grid,
  .admissions-wrapper,
  .contact-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .hero-text-side {
    padding: 110px 28px 48px;
    max-width: 100%;
  }

  .hero-image-side {
    min-height: 360px;
    padding: 36px 24px;
  }

  .programmes-layout {
    grid-template-columns: 1fr;
  }

  .programmes-sidebar {
    position: static;
    flex-direction: row;
    overflow-x: auto;
  }

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

  .about-cards,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .col-md-3, .col-md-4, .col-md-5, .col-md-6,
  .col-md-7, .col-md-8, .col-md-9, .col-md-12,
  .row-cols-md-2 > *, .row-cols-md-3 > *, .row-cols-lg-4 > * {
    width: 100%;
    flex: 0 0 100%;
  }

  .programme-cards,
  .selfstudy-grid,
  .about-cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
}
