/* ╔══════════════════════════════════════════════════════════════════╗
   ║  F2 — CSS VARIABLES, RESET, THEME (Dark/Light)                 ║
   ╚══════════════════════════════════════════════════════════════════╝ */
/* ═══════════════════════════════════════════
   CSS VARIABLES & RESET
   ═══════════════════════════════════════════ */
:root {
  /* ── Core Colors ── */
  --navy-dark: #0A1628;
  --navy: #0A1628;
  --navy-light: #132038;
  --navy-mid: #1A2D4A;
  --gold: #C8A24E;
  --gold-light: #E4C76B;
  --gold-dim: #9A7B3A;
  --white: #FFFFFF;
  --off-white: #F5F2EB;
  --gray-100: #E8E4DC;
  --gray-200: #D0CAC0;
  --gray-300: #8A8678;
  --gray-500: #5A5750;
  --text-dark: #1A1A1A;
  --text-light: #C8C4BC;

  /* ── Department Accents ── */
  --accent-medical: #2E86AB;
  --accent-engineering: #D4763B;
  --accent-languages: #5B9279;
  --accent-computing: #7B68AE;
  --accent-conferences: #C44569;
  --accent-workforce: #2D6A4F;

  /* ── Shadows ── */
  --shadow-sm: 0 2px 8px rgba(10,22,40,0.08);
  --shadow-md: 0 4px 20px rgba(10,22,40,0.12);
  --shadow-lg: 0 8px 40px rgba(10,22,40,0.18);
  --shadow-gold: 0 4px 20px rgba(200,162,78,0.25);

  /* ── Spacing System ── */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 100px;

  /* ── Border Radius ── */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 50px;

  /* ── Typography ── */
  --font-display: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
  --font-arabic: 'Noto Sans Arabic', 'Tajawal', sans-serif;
  --line-height-tight: 1.2;
  --line-height-normal: 1.6;
  --line-height-arabic: 1.8;

  /* ── Transitions ── */
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html[lang="ar"], html[lang="ar"] * { font-family: var(--font-arabic) !important; }
html[lang="ku"], html[lang="ku"] * { font-family: var(--font-arabic) !important; }
html[lang="ar"] h1.logo-h1 { font-family: var(--font-arabic) !important; letter-spacing: 0 !important; }
html[lang="en"] { font-family: var(--font-body); }


/* ═══ V8 Reset Enhancements ═══ */
*, *::before, *::after { box-sizing: border-box; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, picture, video, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }

/* ═══ V9.1 Performance Optimizations ═══ */
html { scroll-behavior: smooth; }
.section { contain: content; }
img { content-visibility: auto; }

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ═══════════════════════════════════════════
   LIGHT MODE OVERRIDES
   ═══════════════════════════════════════════ */
html.light-mode {
  --navy: #FFFFFF;
  --navy-light: #F8F7F4;
  --navy-mid: #EDE9E0;
  --off-white: #FAFAF8;
  --white: #FFFFFF;
  --gray-100: #E8E4DC;
  --gray-200: #D0CAC0;
  --gray-300: #7A776C;
  --gray-500: #4A4740;
  --text-dark: #1A1A1A;
  --text-light: #5A5750;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.1);
}

html.light-mode .top-bar {
  background: #1A2D4A;
}

html.light-mode header {
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid #E8E4DC;
}

html.light-mode .logo-text h1 { color: #0A1628; }
html.light-mode .logo-text span { color: var(--gold); }

html.light-mode nav a { color: #4A4740; }
html.light-mode nav a:hover,
html.light-mode nav a.active { color: var(--gold-dim); background: rgba(200,162,78,0.06); }
html.light-mode nav a.active::after { background: var(--gold); }

html.light-mode .mobile-toggle span { background: #0A1628; }

/* Hero stays dark in light mode for contrast */
html.light-mode .hero { background: #0A1628; }

/* Light sections */
html.light-mode .departments { background: var(--white); }

html.light-mode .dept-card {
  background: var(--white);
  border-color: #E8E4DC;
}

html.light-mode .dept-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

html.light-mode .dept-tag { background: #F5F2EB; }

/* Featured section stays dark for contrast */
html.light-mode .featured { background: #0A1628; }
html.light-mode .featured-card { background: #132038; border-color: rgba(200,162,78,0.1); }

/* Conferences */
html.light-mode .conferences { background: var(--white); }
html.light-mode .conf-card { background: #F8F7F4; border-color: #E8E4DC; }
html.light-mode .conf-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }

/* Verification */
html.light-mode .verification { background: var(--white); }
html.light-mode .cert-preview { background: linear-gradient(145deg, #0A1628, #132038); }
html.light-mode .verify-form { background: #F8F7F4; border-color: #E8E4DC; }
html.light-mode .verify-form input { background: var(--white); border-color: #E8E4DC; color: #1A1A1A; }

/* Workforce */
html.light-mode .workforce { background: #FAFAF8; }
html.light-mode .wf-feature { background: var(--white); border-color: #E8E4DC; }
html.light-mode .wf-search-demo { background: var(--white); border-color: #E8E4DC; }
html.light-mode .wf-search-header { border-color: #E8E4DC; }
html.light-mode .wf-search-header input,
html.light-mode .wf-search-header select { background: #F8F7F4; border-color: #E8E4DC; }
html.light-mode .wf-result-item:hover { background: #F8F7F4; }

/* Registration stays dark */
html.light-mode .registration { background: #0A1628; }

/* YouTube stays dark */
html.light-mode .youtube-section { background: #0A1628; }

/* Vision */
html.light-mode .vision { background: #FAFAF8; }
html.light-mode .vision-card { background: var(--white); border-color: #E8E4DC; }
html.light-mode .vision-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
html.light-mode .vision-card h3 { color: #0A1628; }

/* Footer stays dark */
html.light-mode footer { background: #0A1628; }

/* Section headers in light mode */
html.light-mode .section-header h2 { color: #0A1628; }
html.light-mode .section-header p { color: #5A5750; }
html.light-mode .dept-card h3 { color: #0A1628; }

/* Dark Mode Toggle Button */
.theme-toggle {
  display: flex;
  align-items: center;
}

.theme-toggle-btn {
  width: 48px;
  height: 26px;
  border-radius: 13px;
  border: 1.5px solid rgba(200,162,78,0.25);
  background: var(--navy-light);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  padding: 0;
  display: flex;
  align-items: center;
}

.theme-toggle-btn:hover {
  border-color: var(--gold);
}

.theme-toggle-knob {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  position: absolute;
  left: 2px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

html.light-mode .theme-toggle-btn {
  background: #E8E4DC;
  border-color: #D0CAC0;
}

html.light-mode .theme-toggle-knob {
  left: 24px;
}

.theme-toggle-label {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
  white-space: nowrap;
}

html.light-mode .theme-toggle-label {
  color: rgba(255,255,255,0.7);
}

/* Smooth transition for all elements */
html.light-mode *,
html.light-mode *::before,
html.light-mode *::after {
  transition: background-color 0.4s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--off-white);
  overflow-x: hidden;
  line-height: 1.6;
}

html[dir="rtl"] body {
  font-family: var(--font-arabic-body);
}

html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 {
  font-family: var(--font-arabic-display);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ╔══════════════════════════════════════════════════════════════════╗
   ║  F3 — CSS LAYOUT: Header, Hero, Navigation                     ║
   ╚══════════════════════════════════════════════════════════════════╝ */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════════════════════════════════
   LANGUAGE SWITCHER BAR
   ═══════════════════════════════════════════ */
.top-bar {
  background: var(--navy);
  padding: 8px 0;
  border-bottom: 1px solid rgba(200,162,78,0.15);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  direction: ltr;
}

.top-bar-info {
  display: flex;
  gap: 24px;
  font-size: 0.8rem;
  color: var(--text-light);
  direction: ltr;
}

.top-bar-info span { display: flex; align-items: center; gap: 6px; }

.lang-globe-wrap {
  position: relative;
  display: flex;
  align-items: center;
  direction: ltr;
}


.lang-globe-btn:hover { border-color: var(--gold); color: var(--gold); }

html.light-mode .lang-globe-btn { color: var(--gray-500); border-color: var(--gray-200); }
html.light-mode .lang-globe-btn:hover { color: var(--gold); border-color: var(--gold); }

.lang-drop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--navy-light);
  border: 1in-width: 130px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  z-index: 999;
  display: none;
  flex-direction: column;
  gap: 2px;
}

.lang-drop.open { display: flex; }

html.light-mode .lang-drop { background: #fff; border-color: var(--gray-100); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }

.lang-drop button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 12px;
  border: none;
  background: transparent;
  color: var(--text-light);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 8px;
  transition: var(--transition);
  font-family: var(--font-body);
  text-align: left;
}

.lang-drop button:hover { background: rgba(200,162,78,0.08); color: var(--gold); }
.lang-drop button.active { background: rgba(200,162,78,0.12); color: var(--gold); font-weight: 600; }

html.light-mode .lang-drop button { color: var(--gray-500); }
html.light-mode .lang-drop button:hover { background: rgba(200,162,78,0.06); color: var(--gold); }
html.light-mode .lang-drop button.active { background: rgba(200,162,78,0.1); color: var(--gold); }

.lang-globe-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(200,162,78,0.2);
  background: var(--navy-light);
  color: var(--text-light);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  padding: 0;
  flex-shrink: 0;
}

.lang-globe-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200,162,78,0.08);
}

/* ── QR App Download Button ── */
.nav-qr-wrap {
  position: relative;
  margin-left: 10px;
  display: flex;
  align-items: center;
}

.nav-qr-btn {
  height: 38px;
  min-width: auto;
  padding: 0 16px;
  border-radius: 10px;
  border: none;
  background: rgba(255,255,255,0.95);
  color: #0A1628;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: qrPulse 3s infinite;
  font-family: var(--font-body);
  white-space: nowrap;
}

.nav-qr-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 4px 16px rgba(255,255,255,0.2);
}

.nav-qr-btn:active {
  transform: scale(0.95);
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.15);
}

.qr-btn-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0A1628;
  white-space: nowrap;
}

html.light-mode .nav-qr-btn {
  background: transparent;
  border: 2px solid rgba(200,162,78,0.3);
  color: var(--gold);
}

html.light-mode .nav-qr-btn:hover {
  box-shadow: 0 4px 16px rgba(200,162,78,0.2);
}

html.light-mode .qr-btn-text { color: var(--gold); }

@keyframes qrPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,162,78,0.2); }
  50% { box-shadow: 0 0 0 6px rgba(200,162,78,0); }
}

.nav-qr-btn:hover {
  background: rgba(255,255,255,1);
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(200,162,78,0.25);
}

.nav-qr-popup {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 500;
  animation: dropIn 0.25s ease;
}

.nav-qr-popup.show { display: block; }

.qr-popup-inner {
  background: var(--navy-light);
  border: 1px solid rgba(200,162,78,0.2);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  min-width: 200px;
}

.qr-popup-inner h4 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.qr-code-box {
  background: white;
  border-radius: 12px;
  padding: 10px;
  display: inline-block;
  margin-bottom: 10px;
}

.qr-popup-inner > p {
  color: var(--gray-300);
  font-size: 0.75rem;
  margin-bottom: 10px;
}

.qr-store-links {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.qr-store {
  padding: 4px 10px;
  background: rgba(200,162,78,0.1);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 600;
  border-radius: 6px;
}

html.light-mode .qr-popup-inner {
  background: #fff;
  border-color: #E8E4DC;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

html.light-mode .qr-popup-inner h4 { color: #0A1628; }
html.light-mode .qr-popup-inner > p { color: #5A5750; }

/* Keep old classes hidden for compatibility */


/* ═══════════════════════════════════════════
   HEADER / NAVIGATION
   ═══════════════════════════════════════════ */
header {
  background: rgba(10,22,40,0.97);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(200,162,78,0.12);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  direction: ltr;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  direction: ltr;
  flex-shrink: 0;
}

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

.logo-icon {
  height: 48px;
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.95);
  border-radius: 10px;
  padding: 0;
  flex-shrink: 0;
}

.logo-icon img {
  height: 85%;
  width: 85%;
  object-fit: contain;
}

html.light-mode .logo-icon {
  background: transparent;
  padding: 0;
}

.logo-text h1 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}

.logo-text span {
  font-size: 0.6rem;
  color: var(--gold);
  font-weight: 500;
  white-space: nowrap;
}

html[lang="en"] .logo-text span {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: var(--font-body);
}

html[lang="ar"] .logo-text span,
html[lang="ku"] .logo-text span {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.65rem;
  font-weight: 600;
}

nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
  margin: 0;
}

nav {
  display: flex;
  align-items: center;
}

nav a {
  padding: 8px 14px;
  color: var(--text-light);
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
  font-family: var(--font-body);
}

nav a:hover, nav a.active {
  color: var(--gold);
  background: rgba(200,162,78,0.08);
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.nav-cta {
  padding: 0 20px !important;
  background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
  color: var(--navy) !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  border-radius: 10px !important;
  height: 38px;
  min-width: auto;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.nav-cta:hover {
  box-shadow: var(--shadow-gold) !important;
  transform: scale(1.06) !important;
}

.nav-cta:active {
  transform: scale(0.95) !important;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.2) !important;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}

/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */

.hero-bg-shapes, .hero-particles, .hero-grid-pattern, .hero-logo-watermark, .hero-slideshow, .hero-slide-overlay { display: none; }

.hero {
  background: var(--navy);
  height: calc(100vh - 90px);
  height: calc(100dvh - 90px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  height: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
}

html[dir="rtl"] .hero .container { direction: rtl; }

.hero-content { padding: 0; position: relative; z-index: 3; }
html[dir="rtl"] .hero-content { text-align: right; }

/* Hero Slideshow - one instructor at a time */
.hero-visual {
  position: relative;
  z-index: 2;
  height: calc(100vh - 160px);
  height: calc(100dvh - 160px);
  max-height: 600px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(200,162,78,0.15);
  box-shadow: 0 16px 50px rgba(0,0,0,0.3);
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.hero-slide.prev {
  opacity: 0;
  transform: translateX(-100%);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 24px;
  background: linear-gradient(transparent 0%, rgba(10,22,40,0.7) 30%, rgba(10,22,40,0.95) 100%);
}

.hero-slide-info h4 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.hero-slide-info p {
  color: var(--gold);
  font-size: 0.88rem;
  margin-bottom: 4px;
}

.hero-slide-info span {
  color: var(--gray-300);
  font-size: 0.78rem;
}

/* YouTube Play Button */
.hero-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 5;
  opacity: 0.85;
  transition: all 0.3s ease;
}
.hero-play-btn:hover {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.15);
}
.hero-play-btn svg circle {
  transition: fill 0.3s;
}
.hero-play-btn:hover svg circle {
  fill: rgba(200, 0, 0, 0.85);
}

/* Slide dots */
.hero-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* Hide old elements */
.hero-slideshow { display: none; }
.hero-slide-overlay { display: none; }
.hero-card-stack { display: none; }
.hero-card { display: none; }
.hero-gallery { display: none; }

@media (max-width: 1024px) {
  .hero { height: auto; min-height: auto; }
  .hero .container { grid-template-columns: 1fr; height: auto; padding-top: 20px; padding-bottom: 20px; }
  .hero-content { text-align: center; }
  html[dir="rtl"] .hero-content { text-align: center; }
  .hero-content .hero-badge { justify-content: center; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-visual { height: 350px; max-height: none; }
}

@media (max-width: 600px) {
  .hero-visual { height: 250px; border-radius: 16px; }
  .hero-slide-info h4 { font-size: 1rem; }
  .hero-slide-info { padding: 16px; }
}

.hero-card {
  position: relative;
  background: var(--navy-light);
  border: 1px solid rgba(200,162,78,0.12);
  border-radius: 14px;
  padding: 16px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  width: 220px;
  flex-shrink: 0;
}

.hero-card:hover { border-color: var(--gold); transform: translateY(-4px); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,162,78,0.1);
  border: 1px solid rgba(200,162,78,0.2);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 14px;
  animation: fadeInUp 0.8s ease;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h2 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease 0.1s both;
  letter-spacing: -0.5px;
}

.hero h2 .highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

html[dir="rtl"] .hero h2 { font-size: 2.4rem; line-height: 1.35; letter-spacing: 0; text-align: right; font-family: var(--font-arabic-display); }

.hero p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

html[dir="rtl"] .hero p { font-size: 1rem; line-height: 1.9; text-align: right; }

.hero-actions {
  display: flex;
  gap: 16px;
  animation: fadeInUp 0.8s ease 0.3s both;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
}

.btn-primary:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-secondary {
  padding: 14px 32px;
  background: transparent;
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200,162,78,0.05);
}

.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  animation: fadeInUp 0.8s ease 0.4s both;
  flex-wrap: wrap;
}

html[dir="rtl"] .hero-stats { justify-content: flex-end; }

.stat-item h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
}

.stat-item p {
  font-size: 0.75rem;
  color: var(--gray-300);
  margin: 0;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 420px;
  margin: 0 auto;
}

.hero-card {
  position: absolute;
  background: var(--navy-light);
  border: 1px solid rgba(200,162,78,0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.hero-card-1 { background: linear-gradient(145deg, var(--navy-light), var(--navy-mid)); }
.hero-card-2 { background: linear-gradient(145deg, rgba(46,134,171,0.15), var(--navy-light)); border-color: rgba(46,134,171,0.2); }
.hero-card-3 { background: linear-gradient(145deg, rgba(200,162,78,0.1), var(--navy-light)); }

.hero-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.hero-card h4 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.hero-card p {
  color: var(--gray-300);
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0;
}

.hero-card-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(200,162,78,0.12);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 20px;
  margin-top: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-logo-watermark {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 1;
}

.hero-logo-watermark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  F4 — CSS COMPONENTS: Sections, Cards, Forms, Buttons           ║
   ╚══════════════════════════════════════════════════════════════════╝ */
/* ═══════════════════════════════════════════
   SECTION STYLES
   ═══════════════════════════════════════════ */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-label::before, .section-label::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold-dim);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   TRAINING DEPARTMENTS
   ═══════════════════════════════════════════ */
.departments {
  background: var(--white);
}

.dept-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.dept-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  background: var(--white);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.dept-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--dept-color);
  opacity: 0;
  transition: var(--transition);
}

.dept-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.dept-card:hover::before { opacity: 1; }

.dept-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background: var(--dept-bg);
}

.dept-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.dept-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 16px;
}

.dept-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dept-tag {
  padding: 4px 12px;
  background: var(--off-white);
  color: var(--gray-500);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 20px;
}

.dept-count {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 0.78rem;
  color: var(--gray-300);
  font-weight: 500;
}

/* ═══════════════════════════════════════════
   FEATURED COURSES / CONFERENCES
   ═══════════════════════════════════════════ */
.featured {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 50% at 80% 0%, rgba(200,162,78,0.05) 0%, transparent 60%);
}

.featured .section-header h2 { color: var(--white); }
.featured .section-header p { color: var(--text-light); }

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.featured-card {
  background: var(--navy-light);
  border: 1px solid rgba(200,162,78,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.featured-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200,162,78,0.25);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.featured-card-img {
  height: 200px;
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-card-img .card-type {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 14px;
  background: rgba(200,162,78,0.9);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 6px;
}

.featured-card-img .card-icon {
  font-size: 3rem;
  opacity: 0.3;
}

.featured-card-body {
  padding: 24px;
}

.featured-card-body h3 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

.featured-card-body p {
  color: var(--gray-300);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.featured-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.featured-card-meta span {
  font-size: 0.8rem;
  color: var(--gray-300);
  display: flex;
  align-items: center;
  gap: 6px;
}

.featured-card-meta .price {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ═══════════════════════════════════════════
   CERTIFICATE VERIFICATION
   ═══════════════════════════════════════════ */
.verification {
  background: var(--white);
}

.verify-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.verify-visual {
  position: relative;
}

.cert-preview {
  background: linear-gradient(145deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 2px solid rgba(200,162,78,0.2);
  position: relative;
  overflow: hidden;
}

.cert-preview::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: repeating-conic-gradient(
    from 0deg, transparent 0deg 80deg, rgba(200,162,78,0.02) 80deg 90deg
  );
}

.cert-header {
  text-align: center;
  margin-bottom: 24px;
  position: relative;
}

.cert-header .cert-logo {
  width: 104px;
  height: 104px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.95);
  border-radius: 14px;
  padding: 8px;
}

.cert-header .cert-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cert-header h4 {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}

.cert-header p { color: var(--text-light); font-size: 0.82rem; }

.cert-body {
  text-align: center;
  position: relative;
}

.cert-body h5 {
  color: var(--text-light);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.cert-body .cert-name {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(200,162,78,0.2);
}

.cert-body .cert-course {
  color: var(--gold-light);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.cert-body .cert-date {
  color: var(--gray-300);
  font-size: 0.82rem;
}

.cert-qr {
  margin: 24px auto 0;
  width: 80px;
  height: 80px;
  background: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--navy);
  font-weight: 600;
  text-align: center;
  padding: 8px;
}

.verify-content h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.verify-content > p {
  color: var(--gray-500);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.verify-form {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-100);
}

.verify-form h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--navy);
}

.verify-input-group {
  display: flex;
  gap: 12px;
}

.verify-input-group input {
  flex: 1;
  padding: 14px 18px;
  border: 1.5px solid var(--gray-100);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  background: var(--white);
  transition: var(--transition);
  color: var(--text-dark);
}

.verify-input-group input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,162,78,0.1);
}

.verify-input-group button {
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  font-size: 0.95rem;
  white-space: nowrap;
}

.verify-input-group button:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.verify-result {
  margin-top: 20px;
  padding: 20px;
  border-radius: 12px;
  display: none;
}

.verify-result.show { display: block; }
.verify-result.success {
  background: rgba(91,146,121,0.08);
  border: 1px solid rgba(91,146,121,0.2);
}
.verify-result.error {
  background: rgba(196,69,105,0.08);
  border: 1px solid rgba(196,69,105,0.2);
}

.verify-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.verify-step {
  text-align: center;
  padding: 16px;
}

.verify-step .step-num {
  width: 36px;
  height: 36px;
  background: rgba(200,162,78,0.1);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 auto 10px;
}

.verify-step p {
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* ═══════════════════════════════════════════
   WORKFORCE DATABASE
   ═══════════════════════════════════════════ */
.workforce {
  background: var(--off-white);
}

.workforce-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.wf-content h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.wf-content > p {
  color: var(--gray-500);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.wf-features {
  display: grid;
  gap: 16px;
}

.wf-feature {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.wf-feature:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--gold);
}

.wf-feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(200,162,78,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.wf-feature h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.wf-feature p {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.wf-visual {
  position: relative;
}

.wf-search-demo {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.wf-search-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  gap: 10px;
  align-items: center;
}

.wf-search-header input {
  flex: 1;
  padding: 10px 16px;
  border: 1.5px solid var(--gray-100);
  border-radius: 8px;
  font-size: 0.88rem;
  font-family: var(--font-body);
  background: var(--off-white);
}

.wf-search-header select {
  padding: 10px 16px;
  border: 1.5px solid var(--gray-100);
  border-radius: 8px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--gray-500);
}

.wf-results {
  padding: 16px;
}

.wf-result-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.wf-result-item:hover {
  background: var(--off-white);
  border-color: var(--gray-100);
}

.wf-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--white);
}

.wf-result-info h5 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}

.wf-result-info p {
  font-size: 0.78rem;
  color: var(--gray-300);
}

.wf-result-skills {
  margin-left: auto;
  display: flex;
  gap: 4px;
}

.wf-skill-tag {
  padding: 3px 10px;
  background: rgba(200,162,78,0.1);
  color: var(--gold-dim);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 20px;
}

/* ═══════════════════════════════════════════
   REGISTRATION SECTION
   ═══════════════════════════════════════════ */
.registration {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.registration::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 70% at 30% 100%, rgba(200,162,78,0.06) 0%, transparent 60%);
}

.reg-wrapper {
  position: relative;
  z-index: 2;
}

.reg-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
}

.reg-tab {
  padding: 12px 28px;
  background: var(--navy-light);
  border: 1px solid rgba(200,162,78,0.1);
  border-radius: 10px;
  color: var(--text-light);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.reg-tab.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-weight: 600;
  border-color: transparent;
}

.reg-tab:hover:not(.active) {
  border-color: rgba(200,162,78,0.3);
  color: var(--gold);
}

.reg-form-container {
  max-width: 720px;
  margin: 0 auto;
  background: var(--navy-light);
  border: 1px solid rgba(200,162,78,0.12);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.reg-form-container h3 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.reg-form-container > p {
  color: var(--gray-300);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-row-3 {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  background: var(--navy);
  border: 1.5px solid rgba(200,162,78,0.12);
  border-radius: 10px;
  color: var(--white);
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,162,78,0.1);
}

.form-group select { cursor: pointer; }
.form-group select option { background: var(--navy); }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-submit {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}

.form-submit button {
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.form-submit button:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   CONFERENCES SECTION
   ═══════════════════════════════════════════ */
.conferences {
  background: var(--white);
}

.conf-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.conf-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--gold-dim), transparent);
  transform: translateX(-50%);
}

.conf-item {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
  position: relative;
}

.conf-item:nth-child(even) { flex-direction: row-reverse; }

.conf-dot {
  width: 16px;
  height: 16px;
  min-width: 16px;
  background: var(--gold);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--gold);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.conf-card {
  flex: 1;
  max-width: calc(50% - 40px);
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.conf-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.conf-card .conf-date {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.conf-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.conf-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.conf-card .conf-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--gray-300);
  margin-top: 10px;
}

/* ═══════════════════════════════════════════
   YOUTUBE SECTION
   ═══════════════════════════════════════════ */
.youtube-section {
  background: var(--navy);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.youtube-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(255,0,0,0.03) 0%, transparent 60%);
}

.yt-wrapper {
  display: flex;
  flex-direction: column;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.yt-header {
  text-align: center;
}

.yt-info { text-align: center; max-width: 700px; margin: 0 auto; }

.yt-info h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.yt-info p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.yt-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  background: #FF0000;
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 14px;
  transition: var(--transition);
  font-family: var(--font-body);
  text-decoration: none;
}

.yt-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.yt-btn:hover {
  box-shadow: 0 6px 30px rgba(255,0,0,0.35);
  transform: translateY(-3px);
  background: #E60000;
}

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

.yt-video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}

.yt-video-card:hover {
  border-color: rgba(255,0,0,0.25);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  transform: translateY(-3px);
}

.yt-video-card iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  display: block;
}

.yt-video-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(196,69,105,0.2), var(--navy-mid));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.yt-video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: var(--transition);
}

.yt-video-placeholder:hover::before {
  background: rgba(0,0,0,0.15);
}

.yt-play-icon {
  transition: var(--transition);
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}

.yt-video-placeholder:hover .yt-play-icon {
  transform: scale(1.15);
}

.yt-thumb-text {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.yt-video-card .yt-vid-info {
  padding: 16px 18px;
}

.yt-video-card .yt-vid-info h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
}

.yt-video-card .yt-vid-info span {
  font-size: 0.78rem;
  color: var(--gray-300);
}

/* YouTube Footer Banner */
.footer-yt-banner {
  margin-top: 20px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(255,0,0,0.12), rgba(255,0,0,0.04));
  border: 1px solid rgba(255,0,0,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.footer-yt-banner:hover {
  border-color: rgba(255,0,0,0.4);
  background: linear-gradient(135deg, rgba(255,0,0,0.18), rgba(255,0,0,0.06));
}

.footer-yt-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: #FF0000;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-yt-icon svg {
  width: 26px;
  height: 26px;
  fill: white;
}

.footer-yt-text h5 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.footer-yt-text p {
  color: var(--gray-300);
  font-size: 0.8rem;
  margin-bottom: 0;
  line-height: 1.4;
}

.footer-yt-text a {
  color: #FF4444;
  font-weight: 600;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  transition: var(--transition);
}

.footer-yt-text a:hover {
  color: #FF6666;
}

/* ═══════════════════════════════════════════
   VISION / ABOUT
   ═══════════════════════════════════════════ */
.vision {
  background: var(--off-white);
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.vision-card {
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  background: var(--white);
  transition: var(--transition);
}

.vision-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.vision-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.vision-card p {
  color: var(--gray-500);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(200,162,78,0.1);
}

.footer-main {
  padding: 64px 0 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--gray-300);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.9rem;
  transition: var(--transition);
  border: 1px solid rgba(200,162,78,0.08);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--navy);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer-col a {
  display: block;
  color: var(--gray-300);
  font-size: 0.88rem;
  padding: 5px 0;
  transition: var(--transition);
}

.footer-col a:hover { color: var(--gold); padding-left: 4px; }

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(200,162,78,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: var(--gray-300);
  font-size: 0.82rem;
}

.footer-bottom a { color: var(--gold); }

/* ═══════════════════════════════════════════
   VIDEO BUTTON
   ═══════════════════════════════════════════ */
.btn-video {
  padding: 14px 28px;
  background: transparent;
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  opacity: 0.85;
}

.btn-video:hover { opacity: 1; color: var(--gold); }

/* ═══════════════════════════════════════════
   PARTNERS BAR
   ═══════════════════════════════════════════ */
.partners-bar {
  background: var(--navy-light);
  border-top: 1px solid rgba(200,162,78,0.06);
  border-bottom: 1px solid rgba(200,162,78,0.06);
  padding: 20px 0;
  overflow: hidden;
}

html.light-mode .partners-bar {
  background: var(--white);
  border-color: var(--gray-100);
}

.partners-bar .container {
  display: flex;
  align-items: center;
  gap: 24px;
}

.partners-label {
  font-size: 0.7rem;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  white-space: nowrap;
  min-width: 200px;
}

.partners-scroll {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.partners-track {
  display: flex;
  gap: 40px;
  animation: partnerScroll 30s linear infinite;
  width: max-content;
}

@keyframes partnerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-item {
  font-size: 0.85rem;
  color: var(--text-light);
  white-space: nowrap;
  font-weight: 500;
  opacity: 0.7;
  transition: var(--transition);
}

.partner-item:hover { opacity: 1; color: var(--gold); }

html.light-mode .partner-item { color: var(--gray-500); }

/* ═══════════════════════════════════════════
   VIDEO MODAL
   ═══════════════════════════════════════════ */
.video-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,22,40,0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.video-modal-overlay.show { display: flex; }

.video-modal {
  width: 80vw;
  max-width: 900px;
  position: relative;
}

.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition);
}

.video-modal-close:hover { opacity: 1; }

.video-modal-content {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.video-modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}
/* ── Department & Course Modals ── */
.dept-modal-overlay, .course-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.dept-modal-overlay.show, .course-modal-overlay.show {
  display: flex !important;
}

.dept-modal, .course-modal {
  background: var(--navy-light);
  border: 1px solid rgba(200, 162, 78, 0.2);
  border-radius: 20px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html.light-mode .dept-modal, html.light-mode .course-modal {
  background: var(--white);
  border-color: var(--gray-100);
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.dept-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(200, 162, 78, 0.1);
  padding-bottom: 16px;
}

.dept-modal-head h2 { font-family: var(--font-display); color: var(--white); font-size: 1.5rem; }
html.light-mode .dept-modal-head h2 { color: var(--navy); }

.dept-modal-close { background: none; border: none; color: var(--gold); font-size: 1.5rem; cursor: pointer; transition: var(--transition); }
.dept-modal-close:hover { transform: rotate(90deg); color: var(--gold-light); }

.dm-section { margin-bottom: 20px; }
.dm-section h4 { color: var(--gold); margin-bottom: 10px; font-size: 1rem; }
.dm-section p { color: var(--gray-300); font-size: 0.95rem; }
html.light-mode .dm-section p { color: var(--gray-500); }
.dm-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.dm-tag { padding: 4px 12px; background: rgba(200, 162, 78, 0.15); color: var(--gold-light); border-radius: 20px; font-size: 0.75rem; }
html.light-mode .dm-tag { background: var(--off-white); color: var(--gold-dim); }
.dm-cta { margin-top: 30px; text-align: center; }
.dm-cta a { display: inline-block; padding: 12px 32px; background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--navy); font-weight: 700; border-radius: 12px; }


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  F5 — CSS RESPONSIVE + ANIMATIONS                              ║
   ╚══════════════════════════════════════════════════════════════════╝ */
/* ═══════════════════════════════════════════
   ACTIVE COURSES BANNER
   ═══════════════════════════════════════════ */
.active-courses-banner {
  background: linear-gradient(135deg, rgba(200,162,78,0.06), rgba(46,134,171,0.04));
  border-top: 1px solid rgba(200,162,78,0.1);
  border-bottom: 1px solid rgba(200,162,78,0.1);
  padding: 24px 0;
}

html.light-mode .active-courses-banner { background: linear-gradient(135deg, rgba(200,162,78,0.04), rgba(46,134,171,0.02)); }

.acb-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.acb-pulse { width: 10px; height: 10px; background: #EF4444; border-radius: 50%; animation: acbPulse 1.5s infinite; flex-shrink: 0; }
@keyframes acbPulse { 0%,100%{box-shadow:0 0 0 0 rgba(239,68,68,0.4)} 50%{box-shadow:0 0 0 8px rgba(239,68,68,0)} }
.acb-header h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--white); }
html.light-mode .acb-header h3 { color: var(--navy); }

.acb-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.acb-scroll::-webkit-scrollbar { display: none; }
.acb-track { display: flex; gap: 14px; padding-bottom: 4px; }

.acb-card {
  flex-shrink: 0;
  width: 280px;
  background: var(--navy-light);
  border: 1px solid rgba(200,162,78,0.12);
  border-radius: 14px;
  padding: 16px;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.acb-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,162,78,0.1); }
html.light-mode .acb-card { background: var(--white); border-color: #E8E4DC; }

.acb-dept { font-size: 0.65rem; color: var(--gold); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; margin-bottom: 6px; }
.acb-card h4 { font-family: var(--font-display); font-size: 0.95rem; color: var(--white); margin-bottom: 8px; line-height: 1.3; }
html.light-mode .acb-card h4 { color: var(--navy); }
.acb-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.72rem; color: var(--gray-300); margin-bottom: 10px; }
.acb-btn { display: inline-block; padding: 6px 16px; background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--navy); font-size: 0.78rem; font-weight: 600; border-radius: 8px; }


/* ═══════════════════════════════════════════
   V8 — PROFESSIONAL ANIMATIONS
   ═══════════════════════════════════════════ */

/* Staggered reveal on scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.animate-on-scroll.visible .dept-card:nth-child(1),
.animate-on-scroll.visible .featured-card:nth-child(1) { transition-delay: 0s; }
.animate-on-scroll.visible .dept-card:nth-child(2),
.animate-on-scroll.visible .featured-card:nth-child(2) { transition-delay: 0.08s; }
.animate-on-scroll.visible .dept-card:nth-child(3),
.animate-on-scroll.visible .featured-card:nth-child(3) { transition-delay: 0.16s; }
.animate-on-scroll.visible .dept-card:nth-child(4) { transition-delay: 0.24s; }
.animate-on-scroll.visible .dept-card:nth-child(5) { transition-delay: 0.32s; }
.animate-on-scroll.visible .dept-card:nth-child(6) { transition-delay: 0.40s; }

/* Enhanced hover micro-interactions */
.dept-card,
.featured-card,
.conf-card,
.wf-feature {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

/* Button press feedback */
.btn-primary:active,
.btn-secondary:active,
.nav-cta:active,
.verify-input-group button:active {
  transform: scale(0.97) !important;
  transition-duration: 0.1s;
}

/* Focus-visible rings for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Touch targets — minimum 44px for mobile accessibility */
@media (pointer: coarse) {
  nav a,
  .reg-tab,
  .lang-drop button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* Print styles */
@media print {
  .top-bar, header, .hero-visual, .partners-bar,
  .nav-qr-wrap, .mobile-toggle, .header-controls,
  footer, .btn-video, .yt-wrapper, #paymentBanner { display: none !important; }
  .section { padding: 24px 0; }
  body { color: #000; background: #fff; }
}


/* ═══ Nav User Dropdown ═══ */
#navUserArea { position: relative; }
#navUserDrop.show { display: flex !important; flex-direction: column; gap: 2px; }
#navUserDrop a:hover { background: rgba(200,162,78,0.08); }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero h2 { font-size: 2.8rem; }
  .dept-grid { grid-template-columns: repeat(4, 1fr); }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .verify-wrapper, .workforce-wrapper { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .top-bar-info { display: none; }
  .partners-label { display: none; }
  .partners-bar .container { gap: 0; }
  .btn-video { padding: 10px 16px; font-size: 0.85rem; }
  nav ul { display: none; }
  .mobile-toggle { display: flex; }
  .hero h2 { font-size: 2.2rem; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-card-stack { flex-direction: column; align-items: center; }
  .hero-card { width: 90%; max-width: 300px; }
  .dept-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .dept-card { padding: 15px 10px; text-align: center; }
  .dept-card h3 { font-size: 0.85rem; }
  .dept-card p { display: none; }
  .dept-icon { width: 40px; height: 40px; font-size: 1.2rem; margin: 0 auto 10px; }
  .dept-features { display: none; }
  .dept-count { font-size: 0.6rem; top: 5px; right: 5px; }
  .featured-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section-header h2 { font-size: 2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .yt-wrapper { flex-direction: column; }
  .yt-videos-grid { grid-template-columns: 1fr; }
  .vision-grid { grid-template-columns: 1fr; }
  .conf-timeline::before { left: 20px; }
  .conf-dot { left: 20px; }
  .conf-item, .conf-item:nth-child(even) { flex-direction: column; padding-left: 48px; }
  .conf-card { max-width: 100%; }
  .reg-tabs { flex-wrap: wrap; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .verify-input-group { flex-direction: column; }
}

/* Mobile Nav */
nav.mobile-open ul {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--navy);
  padding: 16px;
  border-bottom: 1px solid rgba(200,162,78,0.12);
}
