/* ==========================================================================
   E-PRO CAD ACADEMY - MODERN HIGH-CONVERSION DESIGN SYSTEM
   Author: Senior Frontend & Conversion Optimization Specialist
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --color-primary-900: #0f172a;
  --color-primary-800: #1e293b;
  --color-primary-700: #334155;
  --color-primary-600: #475569;
  
  --color-blue-900: #1e3a8a;
  --color-blue-700: #1d4ed8;
  --color-blue-600: #2563eb;
  --color-blue-500: #3b82f6;
  --color-blue-100: #dbeafe;
  --color-blue-50:  #eff6ff;

  --color-cyan-600: #0891b2;
  --color-cyan-500: #06b6d4;
  --color-cyan-50:  #ecfeff;

  --color-amber-600: #d97706;
  --color-amber-500: #f59e0b;
  --color-amber-100: #fef3c7;
  --color-amber-50:  #fffbeb;

  --color-emerald-700: #047857;
  --color-emerald-600: #059669;
  --color-emerald-500: #10b981;
  --color-emerald-50:  #ecfdf5;

  --color-rose-600: #e11d48;
  --color-rose-500: #f43f5e;
  --color-rose-50:  #fff1f2;

  --color-slate-900: #090d16;
  --color-slate-800: #1e293b;
  --color-slate-700: #334155;
  --color-slate-600: #475569;
  --color-slate-500: #64748b;
  --color-slate-400: #94a3b8;
  --color-slate-300: #cbd5e1;
  --color-slate-200: #e2e8f0;
  --color-slate-100: #f1f5f9;
  --color-slate-50:  #f8fafc;
  --color-white:     #ffffff;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Elevations & Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.08), 0 1px 2px -1px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.09), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.06);
  --shadow-blue: 0 10px 25px -5px rgba(37, 99, 235, 0.35);

  /* Radius & Transitions */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --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-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Container width */
  --container-max: 1240px;
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-slate-800);
  background-color: var(--color-slate-50);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.menu-open {
  overflow: hidden;
}

img, svg, picture {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-blue-600);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-blue-700);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* Accessibility Focus Ring */
:focus-visible {
  outline: 3px solid var(--color-blue-500);
  outline-offset: 2px;
}

/* Utility Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 20px;
  background: var(--color-primary-900);
  color: var(--color-white);
  padding: 8px 16px;
  z-index: 1000;
  border-radius: var(--radius-sm);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 15px;
}

/* ==========================================================================
   TOP NOTIFICATION & CONTACT BAR
   ========================================================================== */
.top-bar {
  background: var(--color-primary-900);
  color: var(--color-slate-300);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-slate-300);
}

.top-bar-item svg {
  color: var(--color-cyan-500);
  flex-shrink: 0;
}

.top-bar-item a {
  color: var(--color-slate-200);
  font-weight: 500;
}

.top-bar-item a:hover {
  color: var(--color-white);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.batch-alert-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.75rem;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #fbbf24;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(251, 191, 36, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(251, 191, 36, 0); }
}

/* ==========================================================================
   SITE HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-slate-200);
  transition: all var(--transition-normal);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-blue-700), var(--color-cyan-600));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-primary-900);
  line-height: 1.1;
}

.brand-title span {
  color: var(--color-blue-600);
}

.brand-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-slate-500);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-slate-700);
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link:focus {
  color: var(--color-blue-600);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-blue-600);
  transition: width var(--transition-normal);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 20px;
  background: var(--color-blue-600);
  color: var(--color-white);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transition: all var(--transition-fast);
}

.nav-cta:hover {
  background: var(--color-blue-700);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

/* Mobile Hamburger Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-slate-800);
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  line-height: 1.25;
}

.btn-primary {
  background: var(--color-blue-600);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  background: var(--color-blue-700);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  background: var(--color-primary-900);
  color: var(--color-white);
}

.btn-secondary:hover {
  background: var(--color-primary-800);
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-slate-700);
  border-color: var(--color-slate-300);
}

.btn-outline:hover {
  background: var(--color-slate-100);
  border-color: var(--color-slate-400);
  color: var(--color-slate-900);
}

.btn-whatsapp-direct {
  background: #16a34a;
  color: var(--color-white);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.28);
}

.btn-whatsapp-direct:hover {
  background: #15803d;
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.38);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1.0625rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-primary {
  background: var(--color-blue-50);
  color: var(--color-blue-700);
  border: 1px solid var(--color-blue-100);
}

.badge-gold {
  background: var(--color-amber-50);
  color: var(--color-amber-600);
  border: 1px solid var(--color-amber-100);
}

/* ==========================================================================
   HERO SECTION (CRO ELEVATED)
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
  padding: 3.5rem 0 4.5rem;
  border-bottom: 1px solid var(--color-slate-200);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-blue-50);
  color: var(--color-blue-700);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  border: 1px solid var(--color-blue-100);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-size: clamp(2rem, 3.8vw, 3.15rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-primary-900);
  margin-bottom: 1.25rem;
}

.hero-headline .text-gradient {
  background: linear-gradient(135deg, var(--color-blue-600), var(--color-cyan-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-supporting-text {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.65;
  color: var(--color-slate-600);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-trust-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
  margin-bottom: 2.25rem;
}

.trust-pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.pillar-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-emerald-50);
  color: var(--color-emerald-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.pillar-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-slate-800);
  line-height: 1.35;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.hero-micro-notice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-slate-500);
}

.hero-micro-notice strong {
  color: var(--color-slate-700);
}

/* Interactive Hero CAD Bench Previewer */
.hero-workbench-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-slate-200);
  overflow: hidden;
  position: relative;
}

.workbench-header {
  background: var(--color-primary-900);
  color: var(--color-white);
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.workbench-window-controls {
  display: flex;
  gap: 6px;
}

.win-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.win-dot-red { background: #ef4444; }
.win-dot-yellow { background: #f59e0b; }
.win-dot-green { background: #10b981; }

.workbench-title-bar {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--color-slate-300);
  display: flex;
  align-items: center;
  gap: 6px;
}

.workbench-tabs {
  display: flex;
  background: var(--color-slate-100);
  padding: 6px 8px;
  gap: 6px;
  border-bottom: 1px solid var(--color-slate-200);
  overflow-x: auto;
}

.hero-tab-btn {
  background: transparent;
  border: none;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  color: var(--color-slate-600);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.hero-tab-btn:hover {
  color: var(--color-slate-900);
  background: rgba(0, 0, 0, 0.04);
}

.hero-tab-btn.is-active {
  background: var(--color-white);
  color: var(--color-blue-600);
  box-shadow: var(--shadow-xs);
}

.workbench-viewport {
  position: relative;
  background: #0b1120;
  height: 310px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.workbench-viewport img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 150ms ease-in-out, transform 400ms ease;
}

.workbench-viewport:hover img {
  transform: scale(1.02);
}

.workbench-overlay-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: var(--color-white);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.workbench-footer {
  padding: 12px 18px;
  background: var(--color-white);
  border-top: 1px solid var(--color-slate-200);
}

.workbench-caption {
  font-size: 0.8125rem;
  color: var(--color-slate-600);
  line-height: 1.4;
  margin: 0;
}

/* ==========================================================================
   STAT COUNTER BAR (HONEST & EVIDENCE-BASED)
   ========================================================================== */
.stats-strip {
  background: var(--color-white);
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--color-slate-200);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-item {
  padding: 0 1rem;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--color-slate-200);
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-primary-900);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-number span {
  color: var(--color-blue-600);
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-slate-600);
}

.stat-subtext {
  font-size: 0.75rem;
  color: var(--color-slate-400);
  margin-top: 2px;
}

/* ==========================================================================
   SECTION COMMON HEADINGS
   ========================================================================== */
.section-pad {
  padding: 5rem 0;
}

.section-pad-sm {
  padding: 3.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-header.text-left {
  text-align: left;
  margin: 0 0 2.5rem;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-blue-600);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--color-primary-900);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-slate-600);
}

/* ==========================================================================
   COURSE CATALOG SECTION
   ========================================================================== */
.courses-controls {
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.courses-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.filter-btn {
  background: var(--color-white);
  border: 1px solid var(--color-slate-300);
  color: var(--color-slate-700);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: var(--color-slate-100);
  border-color: var(--color-slate-400);
}

.filter-btn.is-active {
  background: var(--color-blue-600);
  color: var(--color-white);
  border-color: var(--color-blue-600);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.courses-search-bar {
  max-width: 580px;
  margin: 0 auto;
  position: relative;
  width: 100%;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrap svg {
  position: absolute;
  left: 16px;
  color: var(--color-slate-400);
  pointer-events: none;
}

.course-search-input {
  width: 100%;
  padding: 12px 18px 12px 46px;
  font-size: 0.9375rem;
  border: 1px solid var(--color-slate-300);
  border-radius: var(--radius-full);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.course-search-input:focus {
  border-color: var(--color-blue-500);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.course-count-display {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-slate-500);
  margin-top: 0.5rem;
}

/* Course Grid & Cards */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.75rem;
}

.course-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-slate-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-blue-200);
}

.course-card-media {
  position: relative;
  height: 200px;
  background: #0f172a;
  overflow: hidden;
}

.course-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.course-card:hover .course-img {
  transform: scale(1.05);
}

.course-category-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: var(--color-white);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.course-ribbon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--color-amber-500);
  color: var(--color-primary-900);
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.course-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-meta-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.course-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-slate-500);
}

.course-meta-item svg {
  color: var(--color-blue-600);
}

.course-title {
  font-size: 1.1875rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--color-primary-900);
  margin-bottom: 0.5rem;
}

.course-title a {
  color: inherit;
  text-decoration: none;
}

.course-title a:hover,
.course-title a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.course-tagline {
  font-size: 0.875rem;
  color: var(--color-slate-600);
  line-height: 1.5;
  margin-bottom: 1.125rem;
}

.course-software-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.125rem;
}

.software-chip {
  background: var(--color-slate-100);
  color: var(--color-slate-700);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-slate-200);
}

.course-skills-summary {
  background: var(--color-slate-50);
  border-radius: var(--radius-md);
  padding: 0.875rem;
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
}

.course-skills-summary strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-slate-500);
  margin-bottom: 0.35rem;
}

.skills-mini-list {
  list-style: none;
}

.skills-mini-list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 3px;
  color: var(--color-slate-700);
}

.skills-mini-list li::before {
  content: '•';
  position: absolute;
  left: 2px;
  color: var(--color-blue-600);
  font-weight: bold;
}

.course-card-actions {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.75rem;
  margin-top: auto;
}

/* Empty state */
.courses-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--color-slate-300);
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* ==========================================================================
   WHY TRAIN WITH E-PRO (HONEST CRO VALUE PROPOSITION)
   ========================================================================== */
.why-section {
  background: var(--color-primary-900);
  color: var(--color-white);
  position: relative;
}

.why-section .section-title {
  color: var(--color-white);
}

.why-section .section-desc {
  color: var(--color-slate-300);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.why-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.2);
  color: var(--color-cyan-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.why-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-white);
}

.why-card-text {
  font-size: 0.9375rem;
  color: var(--color-slate-300);
  line-height: 1.6;
}

/* Honest Placement Policy Banner */
.honest-placement-banner {
  margin-top: 3.5rem;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.honest-banner-icon {
  font-size: 2.25rem;
  flex-shrink: 0;
}

.honest-banner-content h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.honest-banner-content p {
  font-size: 0.875rem;
  color: var(--color-slate-300);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   REAL CAD DRAWINGS & RENDERS GALLERY
   ========================================================================== */
.gallery-section {
  background: var(--color-slate-50);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  background: var(--color-white);
  border: 1px solid var(--color-slate-300);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-slate-700);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-filter-btn.is-active {
  background: var(--color-primary-900);
  color: var(--color-white);
  border-color: var(--color-primary-900);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-slate-200);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-card-thumb {
  position: relative;
  height: 220px;
  background: #0f172a;
  overflow: hidden;
}

.gallery-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.gallery-card:hover .gallery-card-thumb img {
  transform: scale(1.06);
}

.gallery-zoom-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: var(--color-white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-card-info {
  padding: 1.125rem;
}

.gallery-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-blue-600);
  margin-bottom: 0.25rem;
  display: block;
}

.gallery-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary-900);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.gallery-card-desc {
  font-size: 0.8125rem;
  color: var(--color-slate-500);
  line-height: 1.4;
  margin: 0;
}

/* ==========================================================================
   LEAD GENERATION & ENQUIRY SECTION (CRO ESSENTIAL)
   ========================================================================== */
.enquiry-section {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  position: relative;
}

.enquiry-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: flex-start;
}

/* Left Column: Direct Admissions Info */
.admissions-info-block {
  padding-right: 1rem;
}

.counselor-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-slate-200);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
  margin-bottom: 2rem;
}

.counselor-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.counselor-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-blue-600), var(--color-cyan-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.75rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.counselor-name {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-primary-900);
}

.counselor-title {
  font-size: 0.8125rem;
  color: var(--color-slate-500);
  font-weight: 500;
}

.counselor-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.counselor-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-slate-700);
}

.counselor-contact-list li svg {
  color: var(--color-blue-600);
  flex-shrink: 0;
}

.admissions-benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admissions-benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.benefit-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-emerald-50);
  color: var(--color-emerald-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-text strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--color-slate-800);
}

.benefit-text span {
  font-size: 0.8125rem;
  color: var(--color-slate-500);
}

/* Right Column: High-Converting Form Card */
.enquiry-form-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-slate-200);
  padding: 2.25rem;
  position: relative;
}

.form-header {
  margin-bottom: 1.5rem;
}

.form-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary-900);
  letter-spacing: -0.02em;
}

.form-header p {
  font-size: 0.875rem;
  color: var(--color-slate-500);
  margin-top: 0.25rem;
}

/* Active Course Notice Banner */
.active-course-banner {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: var(--color-blue-50);
  border: 1px solid var(--color-blue-200);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-blue-900);
}

.banner-icon {
  color: var(--color-blue-600);
  margin-right: 8px;
  display: flex;
  align-items: center;
}

.banner-text {
  flex-grow: 1;
}

.banner-text strong {
  color: var(--color-blue-700);
}

.banner-clear {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--color-blue-600);
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

/* Form Groups & Inputs */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-slate-700);
  margin-bottom: 0.4rem;
}

.form-group label .req {
  color: var(--color-rose-600);
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.9375rem;
  border: 1px solid var(--color-slate-300);
  border-radius: var(--radius-md);
  background: var(--color-slate-50);
  color: var(--color-slate-900);
  transition: all var(--transition-fast);
}

.form-control:focus {
  background: var(--color-white);
  border-color: var(--color-blue-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  outline: none;
}

select.form-control {
  cursor: pointer;
}

textarea.form-control {
  resize: vertical;
  min-height: 85px;
}

/* Error States */
.form-group.has-error .form-control {
  border-color: var(--color-rose-500);
  background-color: var(--color-rose-50);
}

.input-error-msg {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-rose-600);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-privacy-note {
  font-size: 0.75rem;
  color: var(--color-slate-500);
  text-align: center;
  margin-top: 0.875rem;
}

/* Honest Success Card View */
.enquiry-success-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  animation: fadeIn 300ms ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.success-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-emerald-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  border: 2px solid rgba(22, 163, 74, 0.2);
}

.success-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary-900);
  margin-bottom: 0.5rem;
}

.success-lead {
  font-size: 0.9375rem;
  color: var(--color-slate-600);
  max-width: 480px;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
}

.enquiry-summary-box {
  background: var(--color-slate-50);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  max-width: 440px;
  margin: 0 auto 1.5rem;
  text-align: left;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.8125rem;
}

.summary-row:not(:last-child) {
  border-bottom: 1px dashed var(--color-slate-200);
}

.summary-row .label {
  color: var(--color-slate-500);
}

.summary-row .value {
  font-weight: 700;
  color: var(--color-slate-800);
}

.summary-row .ref-code {
  font-family: var(--font-mono);
  color: var(--color-blue-600);
  font-size: 0.875rem;
}

.counselor-commitment {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  background: #f8fafc;
  border-left: 3px solid var(--color-blue-600);
  padding: 1rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  text-align: left;
  max-width: 440px;
  margin: 0 auto 1.75rem;
}

.commitment-avatar {
  font-size: 1.5rem;
}

.commitment-text strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-primary-900);
  margin-bottom: 2px;
}

.commitment-text p {
  font-size: 0.75rem;
  color: var(--color-slate-600);
  line-height: 1.4;
  margin: 0;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 400px;
  margin: 0 auto;
}

/* Spinner */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--color-white);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   FACILITIES & LAB SECTION
   ========================================================================== */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.facility-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--color-slate-200);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition-normal);
}

.facility-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-blue-300);
}

.facility-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-blue-50);
  color: var(--color-blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}

.facility-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-primary-900);
  margin-bottom: 0.5rem;
}

.facility-desc {
  font-size: 0.8125rem;
  color: var(--color-slate-600);
  line-height: 1.5;
}

/* ==========================================================================
   FAQ ACCORDION SECTION
   ========================================================================== */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-xs);
  transition: border-color var(--transition-fast);
  overflow: hidden;
}

.faq-item.is-active {
  border-color: var(--color-blue-300);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-primary-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-blue-600);
}

.faq-arrow {
  color: var(--color-slate-400);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.is-active .faq-arrow {
  transform: rotate(180deg);
  color: var(--color-blue-600);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow) ease-out;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--color-slate-600);
  line-height: 1.6;
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
  background: var(--color-primary-900);
  color: var(--color-slate-300);
  padding: 4.5rem 0 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.footer-brand-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-slate-400);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links-list a {
  color: var(--color-slate-400);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--color-white);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--color-slate-400);
}

.footer-contact-item svg {
  color: var(--color-cyan-500);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a {
  color: var(--color-slate-200);
}

.footer-contact-item a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--color-slate-500);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: var(--color-slate-500);
}

.footer-bottom-links a:hover {
  color: var(--color-slate-300);
}

/* ==========================================================================
   FLOATING WHATSAPP & MOBILE USABILITY
   ========================================================================== */
.floating-wa-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
}

.floating-wa-btn {
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  cursor: pointer;
  border: none;
  transition: transform var(--transition-normal);
  position: relative;
}

.floating-wa-btn:hover {
  transform: scale(1.08);
}

.wa-pulse-ring {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: waPulse 2s infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.floating-wa-card {
  position: absolute;
  bottom: 74px;
  right: 0;
  width: 310px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-slate-200);
  overflow: hidden;
  display: none;
  flex-direction: column;
  animation: waPopupIn 250ms ease;
}

.floating-wa-card.is-visible {
  display: flex;
}

@keyframes waPopupIn {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.wa-card-header {
  background: #075e54;
  color: var(--color-white);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wa-counselor-preview {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wa-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #128c7e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.wa-header-text h5 {
  font-size: 0.8125rem;
  margin: 0;
  color: var(--color-white);
}

.wa-header-text span {
  font-size: 0.6875rem;
  color: #a7f3d0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.wa-online-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
}

.floating-wa-close {
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.25rem;
  cursor: pointer;
}

.wa-card-body {
  padding: 14px;
  background: #e5ddd5;
  background-image: radial-gradient(#d1c7bd 1px, transparent 1px);
  background-size: 16px 16px;
}

.wa-message-bubble {
  background: var(--color-white);
  padding: 10px 12px;
  border-radius: 0 10px 10px 10px;
  font-size: 0.8125rem;
  color: var(--color-slate-800);
  line-height: 1.4;
  box-shadow: var(--shadow-xs);
  margin-bottom: 12px;
}

.wa-card-footer {
  padding: 12px;
  background: var(--color-white);
}

/* Sticky Mobile Bottom Action Bar (Screens < 768px) */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-slate-200);
  padding: 8px 12px;
  z-index: 980;
  box-shadow: 0 -4px 12px rgba(15, 23, 42, 0.08);
}

.mobile-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 8px;
}

.btn-mobile-act {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

.btn-mobile-call {
  background: var(--color-slate-100);
  color: var(--color-slate-800);
  border: 1px solid var(--color-slate-300);
}

.btn-mobile-wa {
  background: #16a34a;
  color: var(--color-white);
}

.btn-mobile-enquire {
  background: var(--color-blue-600);
  color: var(--color-white);
}

/* ==========================================================================
   MODALS & LIGHTBOXES
   ========================================================================== */
.modal-backdrop, .lightbox-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}

.modal-backdrop.is-open, .lightbox-backdrop.is-open {
  display: flex;
}

.modal-dialog {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalIn 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-dialog-lg {
  max-width: 900px;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.94) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--color-slate-200);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: var(--color-slate-50);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-slate-400);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.modal-close:hover {
  color: var(--color-slate-800);
}

.modal-body {
  padding: 1.75rem;
  overflow-y: auto;
}

.modal-footer {
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--color-slate-200);
  background: var(--color-slate-50);
}

/* Syllabus Modal Specifics */
.syllabus-summary-banner {
  background: var(--color-blue-50);
  border: 1px solid var(--color-blue-200);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
}

.syllabus-summary-banner h4 {
  font-size: 1rem;
  color: var(--color-blue-900);
  margin-bottom: 0.4rem;
}

.syllabus-summary-banner p {
  font-size: 0.875rem;
  color: var(--color-slate-700);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.syllabus-section-heading {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-primary-900);
  margin-bottom: 1rem;
}

.modules-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 2rem;
}

.module-item {
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  background: var(--color-white);
}

.module-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.module-number {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  background: var(--color-slate-100);
  color: var(--color-blue-700);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-slate-200);
}

.module-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-primary-900);
  margin: 0;
}

.module-topics-list {
  list-style: none;
  padding-left: 0.5rem;
}

.module-topics-list li {
  font-size: 0.8125rem;
  color: var(--color-slate-600);
  position: relative;
  padding-left: 14px;
  margin-bottom: 4px;
}

.module-topics-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--color-blue-600);
}

.real-projects-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.real-projects-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--color-slate-800);
}

/* Lightbox Dialog */
.lightbox-dialog {
  max-width: 1000px;
  width: 100%;
  background: var(--color-primary-900);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: var(--color-white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

.lightbox-content {
  display: flex;
  flex-direction: column;
}

.lightbox-img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #050811;
}

.lightbox-meta {
  padding: 1.5rem;
  background: var(--color-primary-800);
  color: var(--color-white);
}

.lightbox-meta h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.lightbox-meta p {
  font-size: 0.875rem;
  color: var(--color-slate-300);
  margin-bottom: 0.75rem;
}

/* Admin Leads Table */
.leads-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  text-align: left;
}

.leads-table th {
  background: var(--color-slate-100);
  padding: 10px 12px;
  color: var(--color-slate-700);
  font-weight: 700;
  border-bottom: 2px solid var(--color-slate-200);
}

.leads-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--color-slate-200);
  color: var(--color-slate-800);
}

.btn-table-action {
  display: inline-block;
  padding: 4px 8px;
  background: #25d366;
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.75rem;
}

.badge-batch {
  background: var(--color-blue-50);
  color: var(--color-blue-700);
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
}

.table-responsive {
  overflow-x: auto;
}

/* ==========================================================================
   STUDENT TESTIMONIALS & CASE STUDIES (CRO SOCIAL PROOF)
   ========================================================================== */
.testimonials-section {
  background: #f1f5f9;
  position: relative;
  border-top: 1px solid var(--color-slate-200);
  border-bottom: 1px solid var(--color-slate-200);
}

.testimonials-stat-banner {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.testimonials-stat-main {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.rating-score-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.score-num {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--color-primary-900);
  line-height: 1;
}

.score-max {
  font-size: 1.125rem;
  color: var(--color-slate-400);
  font-weight: 700;
}

.stars-row {
  display: flex;
  gap: 3px;
  color: #f59e0b;
}

.rating-details-text {
  font-size: 0.875rem;
  color: var(--color-slate-600);
}

.rating-details-text strong {
  color: var(--color-slate-800);
}

.testimonials-stat-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.proof-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-blue-50);
  color: var(--color-blue-700);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-blue-100);
}

.proof-tag svg {
  color: var(--color-blue-600);
}

.testimonials-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.testimonial-filter-btn {
  background: var(--color-white);
  border: 1px solid var(--color-slate-300);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-slate-700);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.testimonial-filter-btn:hover {
  background: var(--color-slate-100);
}

.testimonial-filter-btn.is-active {
  background: var(--color-blue-600);
  color: var(--color-white);
  border-color: var(--color-blue-600);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-slate-200);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-blue-300);
}

.testimonial-card-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-blue-600), var(--color-cyan-600));
  color: var(--color-white);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
}

.testimonial-author-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-primary-900);
  line-height: 1.2;
}

.testimonial-author-role {
  font-size: 0.75rem;
  color: var(--color-slate-500);
  margin-top: 2px;
}

.testimonial-rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.875rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-slate-100);
}

.verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-emerald-700);
  background: var(--color-emerald-50);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.testimonial-course-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--color-slate-100);
  color: var(--color-blue-700);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 0.875rem;
}

.testimonial-quote {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-slate-700);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.testimonial-project-foot {
  background: var(--color-slate-50);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.75rem;
  color: var(--color-slate-600);
  border: 1px solid var(--color-slate-200);
  margin-top: auto;
}

.testimonial-project-foot strong {
  color: var(--color-slate-800);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (TESTED AT 375px, 768px, 1024px, 1440px)
   ========================================================================== */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .enquiry-split-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  .top-bar {
    display: none; /* Hide top bar on mobile to optimize viewport space */
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    border-bottom: 2px solid var(--color-blue-600);
    box-shadow: var(--shadow-xl);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-normal);
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .header-actions .nav-cta {
    display: none; /* Replaced by sticky mobile action bar */
  }

  .hero-section {
    padding: 2.5rem 0 3.5rem;
  }

  .hero-trust-pillars {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1.75rem;
  }

  .stat-item:nth-child(even)::after {
    display: none;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .why-grid, .gallery-grid, .facilities-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-stat-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .enquiry-form-card {
    padding: 1.5rem;
  }

  /* Sticky Mobile Bottom Bar Active */
  .mobile-bottom-bar {
    display: block;
  }

  body {
    padding-bottom: 64px; /* Space for sticky bottom bar */
  }

  .floating-wa-container {
    bottom: 80px; /* Shift above sticky bar */
    right: 16px;
  }
}

/* Small Phones (max-width: 480px) */
@media (max-width: 480px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .course-card-actions {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }
}

/* Print Styles */
@media print {
  .top-bar, .site-header, .site-footer, .floating-wa-container, .mobile-bottom-bar, .modal-footer button {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .modal-backdrop {
    position: static;
    background: none;
    padding: 0;
  }

  .modal-dialog {
    max-width: 100%;
    box-shadow: none;
  }
}

/* ==========================================================================
   ONLINE TRAINING SECTION
   ========================================================================== */

.online-training-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0c2340 100%);
  position: relative;
  overflow: hidden;
}

.online-training-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.07);
  pointer-events: none;
}

/* Nav highlight for Online Training tab */
.nav-link--highlight {
  color: #38bdf8 !important;
  font-weight: 600;
  border: 1px solid rgba(56,189,248,0.3);
  border-radius: 6px;
  padding: 4px 10px !important;
  transition: background 0.2s, color 0.2s;
}
.nav-link--highlight:hover,
.nav-link--highlight:focus {
  background: rgba(56,189,248,0.12);
  color: #7dd3fc !important;
}

/* Online Features Grid */
.online-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.online-feature-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(56,189,248,0.15);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.online-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56,189,248,0.4);
  background: rgba(56,189,248,0.07);
}

.online-feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.online-feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 0.5rem;
}

.online-feature-text {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.65;
}

/* ==========================================================================
   LANGUAGE PREFERENCE CARDS (Online Training Section)
   ========================================================================== */

.lang-pref-wrap {
  margin-top: 2rem;
  text-align: center;
}

.lang-pref-label {
  font-size: 1rem;
  color: #cbd5e1;
  font-weight: 500;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.lang-pref-cards {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

.lang-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 1.4rem 2rem;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 170px;
  position: relative;
  color: #cbd5e1;
}

.lang-card:hover {
  border-color: #38bdf8;
  background: rgba(56,189,248,0.08);
}

.lang-card.is-active {
  border-color: #38bdf8;
  background: rgba(56,189,248,0.12);
  color: #f1f5f9;
  box-shadow: 0 0 0 3px rgba(56,189,248,0.18);
}

.lang-flag {
  font-size: 2rem;
  line-height: 1;
}

.lang-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: inherit;
}

.lang-desc {
  font-size: 0.78rem;
  color: #94a3b8;
  text-align: center;
}

.lang-check {
  display: none;
  font-size: 0.85rem;
  color: #38bdf8;
  font-weight: 700;
}

.lang-card.is-active .lang-check {
  display: block;
}

/* ==========================================================================
   LANGUAGE RADIO CARDS (Enquiry Form)
   ========================================================================== */

.lang-radio-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.lang-radio-card {
  flex: 1;
  min-width: 160px;
  cursor: pointer;
}

.lang-radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.lang-radio-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  border: 2px solid #334155;
  border-radius: 10px;
  background: #1e293b;
  transition: border-color 0.2s, background 0.2s;
}

.lang-radio-card input[type="radio"]:checked + .lang-radio-inner {
  border-color: #38bdf8;
  background: rgba(56,189,248,0.08);
}

.lang-radio-flag {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.lang-radio-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lang-radio-text strong {
  font-size: 0.92rem;
  color: #f1f5f9;
  font-weight: 600;
}

.lang-radio-text small {
  font-size: 0.75rem;
  color: #94a3b8;
}

@media (max-width: 600px) {
  .lang-radio-group {
    flex-direction: column;
  }
  .online-features-grid {
    grid-template-columns: 1fr;
  }
  .lang-pref-cards {
    flex-direction: column;
    align-items: center;
  }
  .lang-card {
    width: 100%;
    max-width: 320px;
  }
}

/* ==========================================================================
   BROCHURE SECTION
   ========================================================================== */

.brochure-section {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.brochure-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.brochure-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: ;
  margin: 0;
}

.brochure-header svg {
  color: #38bdf8;
  flex-shrink: 0;
}

.brochure-badge {
  background: rgba(56,189,248,0.12);
  color: #38bdf8;
  border: 1px solid rgba(56,189,248,0.3);
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brochure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.brochure-page-card {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
  background: #1e293b;
}

.brochure-page-card:hover {
  transform: translateY(-5px);
  border-color: #38bdf8;
  box-shadow: 0 12px 32px rgba(56,189,248,0.18);
}

.brochure-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.brochure-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.3s;
}

.brochure-page-card:hover .brochure-img-wrap img {
  transform: scale(1.04);
}

.brochure-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.58);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  opacity: 0;
  transition: opacity 0.22s;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.brochure-page-card:hover .brochure-zoom-overlay {
  opacity: 1;
}

.brochure-page-label {
  padding: 0.9rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brochure-page-label span {
  font-size: 0.92rem;
  font-weight: 600;
  color: #e2e8f0;
}

.brochure-page-label small {
  font-size: 0.78rem;
  color: #94a3b8;
}

.brochure-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.2rem;
  border: 1.5px solid rgba(56,189,248,0.4);
  border-radius: 8px;
  color: #38bdf8;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  background: rgba(56,189,248,0.06);
}

.brochure-download-btn:hover {
  background: rgba(56,189,248,0.15);
  border-color: #38bdf8;
  color: #7dd3fc;
}

/* Lightbox */
.brochure-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10,15,28,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeInLightbox 0.2s ease;
}

@keyframes fadeInLightbox {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.brochure-lightbox-inner {
  position: relative;
  max-width: 960px;
  width: 100%;
  text-align: center;
}

.brochure-close-btn {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}

.brochure-close-btn:hover {
  background: rgba(239,68,68,0.7);
}

.brochure-lightbox-title {
  color: #94a3b8;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  text-align: center;
}

@media (max-width: 600px) {
  .brochure-grid {
    grid-template-columns: 1fr;
  }
  .brochure-download-btn {
    display: block;
    text-align: center;
    margin: 0.5rem auto;
    max-width: 260px;
  }
}

/* Phone and tablet layout refinements */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 76px;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .header-inner {
    gap: 0.75rem;
  }

  .brand-logo-wrap img {
    max-width: min(58vw, 230px);
    height: auto !important;
    max-height: 48px;
  }

  .header-actions {
    margin-left: auto;
  }

  .mobile-menu-toggle {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    top: 76px;
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
    gap: 0;
  }

  .nav-menu .nav-link {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--color-slate-100);
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .courses-filter-bar,
  .gallery-filters,
  .testimonials-filter-bar {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.25rem 0.125rem 0.75rem;
    margin-inline: -0.25rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .courses-filter-bar > *,
  .gallery-filters > *,
  .testimonials-filter-bar > * {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .filter-btn,
  .gallery-filter-btn,
  .testimonial-filter-btn {
    min-height: 44px;
    white-space: nowrap;
  }

  .courses-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .course-card {
    min-width: 0;
  }

  .course-card-media {
    aspect-ratio: 16 / 9;
  }

  .course-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .course-card-content,
  .course-card-actions {
    min-width: 0;
  }

  .modal-backdrop,
  .lightbox-backdrop {
    align-items: flex-end;
    padding: 0;
  }

  .modal-dialog,
  .modal-dialog-lg {
    width: 100%;
    max-width: none;
    max-height: 92dvh;
    margin: 0;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
  }

  .modal-body {
    max-height: calc(92dvh - 140px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .modal-header,
  .modal-footer {
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .brochure-lightbox img,
  .lightbox-image {
    max-width: 100%;
    max-height: 78dvh;
    object-fit: contain;
  }

  .mobile-bottom-bar {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .mobile-bottom-grid {
    min-height: 58px;
  }

  .btn-mobile-act {
    min-height: 48px;
  }

  input,
  select,
  textarea,
  button {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: clamp(2rem, 10vw, 2.75rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .section-header h2,
  .section-title {
    font-size: clamp(1.65rem, 8vw, 2.15rem);
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .course-card-actions {
    gap: 0.625rem;
  }

  .course-card-actions .btn {
    min-height: 44px;
  }

  .form-grid-2,
  .form-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .mobile-bottom-bar {
    padding-left: max(0.5rem, env(safe-area-inset-left));
    padding-right: max(0.5rem, env(safe-area-inset-right));
  }
}


/* ==========================================================================
   STUDENTS & ALUMNI DIRECTORY SECTION
   ========================================================================== */
.students-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
}

.students-controls-wrapper {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.students-search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.students-search-box {
  position: relative;
  flex: 1 1 320px;
  min-width: 260px;
}

.students-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-slate-400);
  pointer-events: none;
}

.students-search-input {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 2.75rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--color-slate-900);
  background-color: var(--color-slate-50);
  border: 1.5px solid var(--color-slate-200);
  border-radius: 9999px;
  outline: none;
  transition: all 0.2s ease;
}

.students-search-input:focus {
  background-color: var(--color-white);
  border-color: var(--color-blue-600);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.students-search-clear {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: var(--color-slate-200);
  color: var(--color-slate-600);
  font-size: 1.1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.students-search-clear:hover {
  background: var(--color-slate-300);
  color: var(--color-slate-900);
}

.students-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.student-filter-btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--color-slate-700);
  background: var(--color-slate-100);
  border: 1px solid var(--color-slate-200);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.student-filter-btn:hover {
  background: var(--color-slate-200);
  color: var(--color-slate-900);
}

.student-filter-btn.is-active {
  background: var(--color-blue-600);
  color: var(--color-white);
  border-color: var(--color-blue-600);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.students-alphabet-bar {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-slate-100);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.alphabet-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-slate-500);
  white-space: nowrap;
}

.alphabet-letters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
}

.alphabet-btn {
  min-width: 28px;
  height: 28px;
  padding: 0 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--color-slate-700);
  background: var(--color-slate-100);
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.alphabet-btn:hover:not(:disabled) {
  background: var(--color-slate-200);
  color: var(--color-slate-900);
  border-color: var(--color-slate-300);
}

.alphabet-btn.is-active {
  background: var(--color-blue-600);
  color: var(--color-white);
  border-color: var(--color-blue-600);
  font-weight: 700;
}

.alphabet-btn.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background: transparent;
}

.students-results-meta {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--color-slate-600);
}

.students-meta-count {
  font-weight: 600;
  color: var(--color-slate-700);
}

.students-meta-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-blue-700);
  background: var(--color-blue-50);
  border: 1px solid var(--color-blue-100);
  border-radius: 9999px;
}

/* Students Cards Grid */
.students-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 1.25rem;
}

.student-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  outline: none;
}

.student-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-blue-500);
}

.student-card:focus-visible {
  outline: 2.5px solid var(--color-blue-600);
  outline-offset: 2px;
}

.student-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--color-slate-100);
  overflow: hidden;
}

.student-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.35s ease;
}

.student-card:hover .student-card-img {
  transform: scale(1.05);
}

.student-avatar-fallback {
  display: none;
}

.student-card-img-wrap.has-fallback-avatar .student-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: var(--color-blue-700);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.student-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.student-card:hover .student-card-overlay {
  opacity: 1;
}

.student-view-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-slate-900);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.student-card-body {
  padding: 0.85rem 0.65rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  flex: 1;
}

.student-card-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin: 0;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.2em;
}

.student-card-course {
  display: inline-block;
  align-self: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-blue-700);
  background: var(--color-blue-50);
  border: 1px solid var(--color-blue-100);
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Empty State */
.students-empty-state {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: var(--color-white);
  border: 1px dashed var(--color-slate-300);
  border-radius: 16px;
  margin: 1.5rem 0;
}

.students-empty-state svg {
  color: var(--color-slate-400);
  margin-bottom: 1rem;
}

.students-empty-state h3 {
  font-size: 1.25rem;
  color: var(--color-slate-900);
  margin-bottom: 0.5rem;
}

.students-empty-state p {
  color: var(--color-slate-600);
  margin-bottom: 1.25rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* Pagination & Load More */
.students-pagination-wrapper {
  margin-top: 2.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.students-load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.25rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.students-load-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

.load-more-counter {
  font-weight: 500;
  opacity: 0.9;
  font-size: 0.9rem;
}

/* Student Modal Lightbox */
.student-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.student-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.student-modal-dialog {
  position: relative;
  z-index: 2;
  background: var(--color-white);
  border-radius: 20px;
  max-width: 680px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  animation: studentModalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes studentModalPop {
  0% {
    opacity: 0;
    transform: scale(0.94) translateY(12px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.student-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-slate-200);
  background: var(--color-white);
  color: var(--color-slate-700);
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.15s ease;
}

.student-modal-close:hover {
  background: var(--color-slate-100);
  color: var(--color-slate-900);
}

.student-modal-content {
  display: grid;
  grid-template-columns: 280px 1fr;
}

.student-modal-img-col {
  background: var(--color-slate-900);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.student-modal-photo {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.student-modal-info-col {
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.student-modal-counter {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-slate-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.student-modal-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-blue-600);
  margin-bottom: 0.5rem;
}

.student-modal-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-slate-900);
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.student-modal-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.25rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-blue-700);
  background: var(--color-blue-50);
  border: 1px solid var(--color-blue-100);
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.student-modal-details {
  border-top: 1px solid var(--color-slate-100);
  padding-top: 1rem;
  margin-bottom: 1.5rem;
}

.student-modal-meta-item {
  font-size: 0.85rem;
  color: var(--color-slate-600);
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
}

.student-modal-meta-item strong {
  color: var(--color-slate-800);
}

.student-modal-nav-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.student-modal-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--color-slate-200);
  background: var(--color-white);
  color: var(--color-slate-700);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.student-modal-nav-btn:hover {
  background: var(--color-slate-100);
  color: var(--color-slate-900);
}

@media (max-width: 768px) {
  .students-controls-wrapper {
    padding: 1.15rem;
  }
  
  .students-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.85rem;
  }
  
  .student-modal-content {
    grid-template-columns: 1fr;
  }
  
  .student-modal-img-col {
    min-height: 240px;
    max-height: 280px;
  }
  
  .student-modal-info-col {
    padding: 1.5rem;
  }
  
  .student-modal-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .students-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .student-card-name {
    font-size: 0.82rem;
  }
  
  .students-search-box {
    flex: 1 1 100%;
  }
  
  .student-filter-btn {
    font-size: 0.78rem;
    padding: 0.4rem 0.75rem;
  }
}

.students-total-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-blue-50);
  border: 1px solid var(--color-blue-100);
  padding: 0.5rem 1.15rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.students-total-num {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-blue-700);
}

.students-total-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-slate-700);
}


/* ==========================================================================
   STUDENT PHOTO PRIVACY & ANTI-DOWNLOAD / ANTI-SCREENSHOT PROTECTION
   ========================================================================== */
.student-card,
.student-card-img-wrap,
.student-modal,
.student-modal-dialog {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
}

.student-card-img,
.student-modal-photo {
  pointer-events: none; /* Prevents direct clicks, long-press or drag on <img> */
  -webkit-user-drag: none;
  user-drag: none;
  transition: filter 0.15s ease, opacity 0.15s ease, transform 0.35s ease;
}

/* Protective transparent shield layer directly over photos */
.student-photo-shield {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: transparent;
  cursor: pointer;
}

.student-modal-shield {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: transparent;
  pointer-events: auto;
}

/* Security watermark branding on photos */
.student-watermark-overlay {
  position: absolute;
  bottom: 0.45rem;
  right: 0.45rem;
  z-index: 3;
  background: rgba(15, 23, 42, 0.68);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.58rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  pointer-events: none;
  letter-spacing: 0.03em;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.student-modal-watermark {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  z-index: 4;
  background: rgba(15, 23, 42, 0.75);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  pointer-events: none;
  letter-spacing: 0.04em;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Anti-screenshot blur state: activated when window loses focus (e.g. Snipping tool, screen capture) */
.is-protected-blurred {
  filter: blur(28px) grayscale(60%) !important;
  opacity: 0.15 !important;
}

/* Privacy warning toast */
.student-protect-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(15, 23, 42, 0.95);
  color: #ffffff;
  padding: 0.75rem 1.4rem;
  border-radius: 9999px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  z-index: 999999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 90vw;
  text-align: center;
}

.student-protect-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Complete black-out / hide on Print or Print-to-PDF */
@media print {
  .students-section,
  .students-grid,
  .student-card,
  .student-card-img,
  .student-modal,
  .student-modal-dialog,
  .student-modal-photo {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
}


/* ==========================================================================
   NAME-ONLY STUDENT DIRECTORY & VERIFICATION SEARCH
   ========================================================================== */
.students-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.15rem;
}

.student-card--name-only {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: 14px;
  padding: 1.35rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  outline: none;
}

.student-card--name-only:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-blue-500);
  background: #fbfdff;
}

.student-card--name-only:focus-visible {
  outline: 2.5px solid var(--color-blue-600);
  outline-offset: 2px;
}

.student-avatar-badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22);
  flex-shrink: 0;
}

.student-card--name-only .student-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
}

.student-card--name-only .student-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin: 0;
  line-height: 1.35;
  word-break: break-word;
}

.student-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.7rem;
  border-radius: 9999px;
  background: var(--color-emerald-50);
  color: var(--color-emerald-700);
  border: 1px solid #a7f3d0;
  font-size: 0.74rem;
  font-weight: 700;
}

/* Modal for Verification (No Photo) */
.student-modal-dialog--cert {
  max-width: 520px;
  border-radius: 20px;
}

.student-modal-content--cert {
  display: flex;
  flex-direction: column;
  padding: 2.25rem 2rem;
  text-align: center;
  align-items: center;
}

.student-modal-header-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.student-modal-avatar-badge {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.student-modal-verify-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  background: var(--color-emerald-50);
  color: var(--color-emerald-700);
  border: 1px solid #6ee7b7;
  font-size: 0.78rem;
  font-weight: 700;
}

.student-modal-content--cert .student-modal-info-col {
  padding: 0;
  width: 100%;
  text-align: center;
}

.student-modal-content--cert .student-modal-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.student-modal-content--cert .student-modal-details {
  background: var(--color-slate-50);
  border: 1px solid var(--color-slate-200);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  text-align: left;
  margin: 1.25rem 0;
}

.student-modal-content--cert .student-modal-nav-row {
  justify-content: center;
  margin-top: 0.5rem;
}

@media (max-width: 480px) {
  .students-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}
