/* ==========================================================================
   Interpreter Trainers Ghana (ITG) - Modern Professional Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --primary-900: #0a1f38;
  --primary-800: #0f2b4e;
  --primary-700: #163d6e;
  --primary-600: #1e4f8f;
  --primary-500: #2563eb;
  
  /* Attention Accent - Ghana Warm Gold / Amber */
  --accent-500: #f59e0b;
  --accent-600: #d97706;
  --accent-700: #b45309;
  --accent-light: #fef3c7;
  --accent-glow: rgba(245, 158, 11, 0.35);

  /* Secondary Teal */
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-light: #ccfbf1;

  /* Neutrals */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --border-dark: #334155;

  /* Status Colors */
  --success: #10b981;
  --success-bg: #d1fae5;
  --warning: #f59e0b;
  --danger: #ef4444;
  --danger-bg: #fee2e2;
  --info: #0284c7;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  --shadow-accent: 0 10px 25px -5px rgba(217, 119, 6, 0.4);

  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 700;
}

a {
  color: var(--primary-600);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-600);
}

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

/* Layout Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 860px;
}

.container-wide {
  max-width: 1380px;
}

/* ==========================================================================
   Top Announcement / Info Bar
   ========================================================================== */
.topbar {
  background: var(--primary-900);
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.topbar-contact a {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar-contact a:hover {
  color: var(--accent-500);
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar-links a {
  color: #e2e8f0;
  font-weight: 500;
}

.topbar-links a:hover {
  color: var(--accent-500);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.brand-title-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-900);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-600);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.nav-item a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 0.5rem 0.25rem;
  position: relative;
}

.nav-item a:hover,
.nav-item.active a {
  color: var(--primary-600);
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-500);
  transition: width 0.2s ease;
}

.nav-item:hover a::after,
.nav-item.active a::after {
  width: 100%;
}

.nav-badge-pill {
  background: var(--accent-500);
  color: #fff;
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  margin-left: 4px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary-900);
  font-size: 1.5rem;
}

/* Offcanvas Drawer for Mobile */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 340px;
  height: 100vh;
  background: #ffffff;
  z-index: 2000;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-drawer.active {
  right: 0;
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 31, 56, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.active {
  display: block;
  opacity: 1;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.5rem;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
}

.drawer-nav a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.drawer-nav a:hover {
  color: var(--accent-600);
}

/* ==========================================================================
   Buttons & Attention Call-to-Action (CTA)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

/* Attention Grabber Gold CTA */
.btn-cta {
  background: linear-gradient(135deg, var(--accent-500) 0%, var(--accent-600) 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-cta:hover {
  background: linear-gradient(135deg, #fbbf24 0%, var(--accent-600) 100%);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.5);
  transform: translateY(-2px);
  color: #ffffff !important;
}

.btn-primary {
  background: var(--primary-700);
  color: #ffffff !important;
}

.btn-primary:hover {
  background: var(--primary-900);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: #ffffff;
  color: var(--primary-800) !important;
  border-color: var(--border-light);
}

.btn-secondary:hover {
  background: var(--bg-alt);
  border-color: var(--primary-600);
  color: var(--primary-900) !important;
}

.btn-outline-white {
  background: transparent;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.8);
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--primary-900) !important;
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary-700) !important;
  border-color: var(--primary-700);
}

.btn-outline-primary:hover {
  background: var(--primary-700);
  color: #ffffff !important;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #091a2f 0%, #112d52 60%, #173b6b 100%);
  color: #ffffff;
  padding: 4.5rem 0 5rem 0;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle at 80% 30%, rgba(245, 158, 11, 0.12), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: var(--accent-500);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.trust-item i {
  color: var(--accent-500);
  font-size: 1.1rem;
}

.hero-media-wrapper {
  position: relative;
}

.hero-card-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 3px solid rgba(255, 255, 255, 0.15);
  position: relative;
}

.hero-card-main img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-card-main:hover img {
  transform: scale(1.03);
}

.floating-pill {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-dark);
  z-index: 5;
}

.floating-pill-left {
  bottom: -20px;
  left: -20px;
}

.floating-pill-right {
  top: -15px;
  right: -15px;
}

.floating-pill .icon-box {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.floating-pill .pill-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.floating-pill .pill-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Stats Bar
   ========================================================================== */
.stats-bar-section {
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
}

.stats-card-wrap {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(15, 43, 78, 0.06);
  color: var(--primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary-900);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-600);
  background: var(--accent-light);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--primary-900);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-500), var(--primary-600));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: #cbd5e1;
}

.service-card:hover::after {
  opacity: 1;
}

.service-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.service-code {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: rgba(15, 43, 78, 0.25);
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  color: var(--accent-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
  color: var(--primary-900);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card-link {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary-700);
}

.service-card-link:hover {
  color: var(--accent-600);
  gap: 0.6rem;
}

/* ==========================================================================
   Courses / Online Learning Portal Cards
   ========================================================================== */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.course-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.course-thumb-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--primary-900);
}

.course-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.course-card:hover .course-thumb-wrap img {
  transform: scale(1.05);
}

.course-category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(10, 31, 56, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.course-level-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent-500);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.course-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.course-instructor {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.course-rating {
  color: var(--accent-500);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.course-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.course-title a {
  color: inherit;
}

.course-title a:hover {
  color: var(--accent-600);
}

.course-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.course-price {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--success);
}

.course-price.free {
  color: var(--teal-600);
}

/* ==========================================================================
   Why Choose Us & Feature Highlights
   ========================================================================== */
.feature-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.course-split-grid {
  grid-template-columns: 1.3fr 0.7fr;
  gap: 3.5rem;
}

.contact-split-grid {
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
}

.feature-media-box {
  position: relative;
}

.feature-media-box img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-bullet-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.feature-item-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: var(--primary-900);
}

.feature-item-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Callout Banner / Action Section
   ========================================================================== */
.callout-banner {
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.callout-banner::after {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.callout-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.callout-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.callout-text p {
  color: #cbd5e1;
  font-size: 1.05rem;
  max-width: 620px;
}

/* ==========================================================================
   Forms & Controls
   ========================================================================== */
.form-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.45rem;
}

.form-label .req {
  color: var(--danger);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-600);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.form-helper {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* ==========================================================================
   Alerts & Notifications
   ========================================================================== */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.alert-success {
  background: var(--success-bg);
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-danger {
  background: var(--danger-bg);
  color: #991b1b;
  border: 1px solid #fecaca;
}

.alert-info {
  background: #e0f2fe;
  color: #075985;
  border: 1px solid #bae6fd;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--primary-900);
  color: #94a3b8;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  padding: 4.5rem 0 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
  gap: 3rem;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent-500);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--accent-500);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: #cbd5e1;
  margin-bottom: 0.85rem;
}

.footer-contact-item i {
  color: var(--accent-500);
  margin-top: 0.25rem;
}

.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a {
  color: #94a3b8;
}

.footer-bottom a:hover {
  color: var(--accent-500);
}

/* ==========================================================================
   Responsive Breakpoints & Media Queries (All Screens & Mobile Devices)
   ========================================================================== */

/* Large Tablets & Medium Screens (<= 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 2.75rem !important;
  }
  
  .hero-media-wrapper {
    max-width: 540px;
    margin: 0 auto;
  }

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

  .feature-split-grid,
  .course-split-grid,
  .contact-split-grid {
    grid-template-columns: 1fr !important;
    gap: 2.75rem !important;
  }

  .checkout-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

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

/* Small Tablets & Mobile Landscape (<= 768px) */
@media (max-width: 768px) {
  /* Dynamic Layout Containers */
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero-section {
    padding: 3rem 0 3.5rem 0;
  }

  /* Compact Sleek Topbar */
  .topbar {
    padding: 0.4rem 0;
    font-size: 0.8rem;
  }

  .topbar-wrapper {
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
  }

  .topbar-address,
  .topbar-links {
    display: none !important;
  }

  .topbar-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: nowrap;
    width: 100%;
  }

  .topbar-contact a {
    font-size: 0.8rem;
    white-space: nowrap;
  }

  /* Header Navbar */
  .site-header {
    background: rgba(255, 255, 255, 0.98);
  }

  .navbar {
    padding: 0.65rem 0;
  }

  .brand-logo {
    gap: 0.6rem;
    max-width: calc(100% - 110px);
    min-width: 0;
  }

  .brand-logo img {
    height: 40px;
    width: auto;
    flex-shrink: 0;
  }

  .brand-title-wrap {
    min-width: 0;
    overflow: hidden;
  }

  .brand-title {
    font-size: 1.05rem;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-tagline {
    font-size: 0.62rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-links,
  .nav-actions .btn-login {
    display: none !important;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
  }

  .nav-cta-btn {
    padding: 0.5rem 0.9rem;
    font-size: 0.84rem;
    gap: 0.4rem;
    white-space: nowrap;
  }

  .nav-student-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.84rem;
    gap: 0.4rem;
    white-space: nowrap;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-md);
    background: var(--bg-alt);
    color: var(--primary-900);
    border: 1px solid var(--border-light);
    font-size: 1.25rem;
    flex-shrink: 0;
  }

  .mobile-toggle:hover {
    background: var(--border-light);
    color: var(--primary-700);
  }

  /* Mobile Drawer */
  .mobile-drawer {
    width: 85%;
    max-width: 320px;
    padding: 1.25rem;
  }

  .drawer-header {
    padding-bottom: 0.85rem;
    margin-bottom: 1rem;
  }

  .drawer-close {
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    font-size: 1.1rem;
    transition: var(--transition);
  }

  .drawer-close:hover {
    background: #fee2e2;
    color: var(--danger);
  }

  /* Cards, Forms & Grids on Mobile */
  .courses-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .stats-card-wrap {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 1.25rem;
  }

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

  .footer-top {
    padding: 3rem 0 2rem 0;
  }

  .callout-content {
    flex-direction: column;
    text-align: center;
  }

  .callout-banner {
    padding: 2.25rem 1.25rem;
  }

  .form-card {
    padding: 1.5rem 1.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .student-login-box {
    padding: 1.5rem 1.25rem !important;
  }

  .student-login-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .course-overview-card {
    padding: 1.5rem 1.25rem !important;
  }
}

/* Smart Phones & Narrow Devices (<= 540px) */
@media (max-width: 540px) {
  .brand-logo {
    max-width: calc(100% - 92px);
    gap: 0.45rem;
  }

  .brand-logo img {
    height: 36px;
  }

  .brand-title {
    font-size: 0.95rem;
  }

  .brand-tagline {
    font-size: 0.58rem;
  }

  /* Collapse CTA button text to an icon button on narrow screens to eliminate clutter and prevent overlap */
  .nav-cta-btn .nav-cta-text {
    display: none;
  }

  .nav-cta-btn {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
  }

  .nav-student-btn .nav-student-text {
    display: none;
  }

  .nav-student-btn {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
  }

  .mobile-toggle {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
  }

  /* Hero & Floating Elements */
  .hero-media-wrapper {
    padding: 0;
    max-width: 100%;
  }

  .floating-pill {
    position: static;
    margin-top: 0.75rem;
    box-shadow: var(--shadow-md);
    width: 100%;
  }

  .floating-pill-left,
  .floating-pill-right {
    position: static;
  }

  .hero-trust-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* Extra Narrow Devices (<= 380px) */
@media (max-width: 380px) {
  .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .brand-logo {
    max-width: calc(100% - 88px);
    gap: 0.35rem;
  }

  .brand-logo img {
    height: 32px;
  }

  .brand-title {
    font-size: 0.88rem;
  }

  .brand-tagline {
    font-size: 0.54rem;
  }

  .topbar-contact {
    gap: 0.6rem;
    font-size: 0.72rem;
  }

  .topbar-contact a {
    font-size: 0.72rem;
  }

  .form-card {
    padding: 1.25rem 0.9rem;
  }

  .payment-channels-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   LMS Enhancements: Video Protection, PDF, Quizzes & Assignments
   ========================================================================== */

/* ==========================================================================
   Full-Width Classroom Learning Portal Layout & Dedicated Player
   ========================================================================== */

/* Classroom Top Header Bar (Responsive & Mobile-Proof) */
.classroom-top-bar {
  background: #091a2f;
  color: #ffffff;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.classroom-top-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
}

.classroom-top-left {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.classroom-back-link {
  color: #94a3b8;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.classroom-back-link:hover {
  color: var(--accent-500);
}

.classroom-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.classroom-curriculum-toggle {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.classroom-curriculum-toggle:hover {
  background: rgba(255, 255, 255, 0.22) !important;
}

.classroom-course-title {
  font-size: 1.25rem;
  color: #ffffff;
  margin: 0;
  font-weight: 700;
  line-height: 1.25;
}

.classroom-top-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.classroom-progress-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: #cbd5e1;
}

.progress-bar-wrap {
  width: 60px;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--accent-500);
  border-radius: var(--radius-full);
}

.progress-pct {
  color: var(--accent-500);
  font-weight: 700;
}

.classroom-cert-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  white-space: nowrap;
}

.cert-btn-mobile {
  display: none;
}

@media (max-width: 768px) {
  .classroom-top-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
  .classroom-top-left {
    width: 100%;
  }
  .classroom-course-title {
    font-size: 1.1rem;
  }
  .classroom-top-right {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
  }
  .cert-btn-full {
    display: none;
  }
  .cert-btn-mobile {
    display: inline;
  }
}

@media (max-width: 480px) {
  .classroom-course-title {
    font-size: 1rem;
  }
  .classroom-progress-badge {
    padding: 0.35rem 0.65rem;
    font-size: 0.78rem;
  }
  .progress-label {
    display: none;
  }
}

/* ==========================================================================
   ITG Dedicated Cinema Video Player (Direct Native Streaming - Zero YouTube)
   ========================================================================== */
.itg-cinema-wrapper {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto 2rem auto;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  user-select: none;
  -webkit-user-select: none;
}

.itg-cinema-wrapper:fullscreen {
  max-width: 100% !important;
  width: 100vw !important;
  height: 100vh !important;
  border-radius: 0;
  aspect-ratio: auto;
}

.itg-cinema-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  overflow: hidden;
}

.itg-cinema-stage iframe,
.itg-cinema-stage video,
#itgYouTubePlayer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  outline: none;
  display: block;
}

.itg-cinema-shield {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 6;
  background: transparent;
  cursor: pointer;
}

.itg-cinema-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000000;
  cursor: pointer;
}

/* Floating Student Anti-Piracy Watermark */
.itg-cinema-watermark {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 15;
  background: rgba(9, 26, 47, 0.85);
  backdrop-filter: blur(6px);
  color: #fbbf24;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 158, 11, 0.35);
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Top Title Bar */
.itg-cinema-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 14px 18px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  z-index: 14;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.itg-cinema-title {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 65%;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.itg-cinema-badge {
  color: #e2e8f0;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Center Big Play Button Overlay */
.itg-cinema-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 12;
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.itg-cinema-wrapper.is-playing .itg-cinema-overlay {
  opacity: 0;
  pointer-events: none;
}

.itg-cinema-big-play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.92);
  border: 3px solid #ffffff;
  color: #000000;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.5);
  transition: transform 0.2s ease, background 0.2s ease;
  padding-left: 5px;
}

.itg-cinema-big-play * {
  pointer-events: none;
}

.itg-c-btn * {
  pointer-events: none;
}

.itg-cinema-big-play:hover {
  transform: scale(1.12);
  background: #fbbf24;
}

/* Bottom Dedicated Controls Bar */
.itg-cinema-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: linear-gradient(to top, rgba(9, 26, 47, 0.95) 0%, rgba(9, 26, 47, 0.8) 70%, transparent 100%);
  backdrop-filter: blur(8px);
  padding: 10px 16px 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.itg-cinema-wrapper.is-playing.is-idle .itg-cinema-controls,
.itg-cinema-wrapper.is-playing.is-idle .itg-cinema-topbar,
.itg-cinema-wrapper.is-playing.is-idle .itg-cinema-watermark {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}

/* Progress Scrubber */
.itg-cinema-progress-wrap {
  position: relative;
  width: 100%;
  height: 16px;
  display: flex;
  align-items: center;
  cursor: pointer;
  touch-action: none;
}

.itg-cinema-progress-track {
  position: relative;
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  overflow: hidden;
  transition: height 0.15s ease;
}

.itg-cinema-progress-wrap:hover .itg-cinema-progress-track {
  height: 8px;
}

.itg-cinema-progress-buffer {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 4px;
}

.itg-cinema-progress-played {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--accent-500);
  border-radius: 4px;
}

.itg-cinema-progress-handle {
  position: absolute;
  left: 0%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

.itg-cinema-progress-wrap:hover .itg-cinema-progress-handle {
  opacity: 1;
}

.itg-cinema-time-tooltip {
  position: absolute;
  bottom: 22px;
  transform: translateX(-50%);
  background: rgba(9, 26, 47, 0.95);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
  display: none;
  white-space: nowrap;
}

/* Controls Buttons Row */
.itg-cinema-controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.itg-cinema-ctrl-left,
.itg-cinema-ctrl-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.itg-c-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.05rem;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: color 0.15s ease, transform 0.15s ease;
}

.itg-c-btn:hover {
  color: var(--accent-500);
  transform: scale(1.1);
}

.itg-skip-btn {
  position: relative;
  font-size: 0.9rem;
}

.itg-skip-btn span {
  font-size: 0.68rem;
  font-weight: 700;
  margin-left: 2px;
}

.itg-cinema-time {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  margin-left: 6px;
}

/* Volume Group */
.itg-cinema-volume-group {
  display: flex;
  align-items: center;
  gap: 4px;
}

.itg-cinema-slider-box {
  width: 0;
  overflow: hidden;
  transition: width 0.25s ease;
  display: flex;
  align-items: center;
}

.itg-cinema-volume-group:hover .itg-cinema-slider-box {
  width: 65px;
}

.itg-cinema-slider {
  width: 60px;
  height: 4px;
  accent-color: var(--accent-500);
  cursor: pointer;
}

/* Speed Dropdown */
.itg-cinema-speed-wrap {
  position: relative;
}

.itg-speed-btn {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}

.itg-cinema-speed-menu {
  position: absolute;
  bottom: 38px;
  right: 0;
  background: rgba(9, 26, 47, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  display: none;
  flex-direction: column;
  padding: 5px;
  min-width: 130px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 30;
}

.itg-cinema-speed-menu.show {
  display: flex;
}

.itg-speed-item {
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 6px 10px;
  font-size: 0.8rem;
  text-align: left;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.itg-speed-item:hover,
.itg-speed-item.active {
  background: rgba(245, 158, 11, 0.25);
  color: var(--accent-500);
}

@media (max-width: 640px) {
  .itg-cinema-controls {
    padding: 8px 10px;
  }
  .itg-cinema-ctrl-left,
  .itg-cinema-ctrl-right {
    gap: 6px;
  }
  .itg-c-btn {
    padding: 5px 6px;
    font-size: 0.95rem;
  }
  .itg-cinema-time {
    font-size: 0.78rem;
    margin-left: 2px;
  }
  .itg-hide-mobile {
    display: none !important;
  }
  .itg-cinema-big-play {
    width: 58px;
    height: 58px;
    font-size: 1.3rem;
  }
  .itg-cinema-watermark {
    font-size: 0.68rem;
    padding: 3px 8px;
    top: 8px;
    right: 8px;
  }
  .itg-cinema-topbar {
    padding: 8px 10px;
  }
  .itg-cinema-title {
    font-size: 0.82rem;
  }
}
.classroom-container {
  width: 100%;
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.classroom-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  align-items: flex-start;
  gap: 1.75rem;
  width: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.classroom-grid.sidebar-collapsed {
  grid-template-columns: 1fr;
}

.classroom-sidebar {
  width: 100%;
  position: sticky;
  top: 90px;
  z-index: 20;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.classroom-grid.sidebar-collapsed .classroom-sidebar {
  display: none;
}

.classroom-sidebar .form-card {
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
  background: #ffffff;
}

.classroom-sidebar-scroll {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 70vh;
  overflow-y: auto;
  padding-right: 4px;
}

.classroom-sidebar-scroll::-webkit-scrollbar {
  width: 6px;
}
.classroom-sidebar-scroll::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: var(--radius-full);
}
.classroom-sidebar-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--primary-300);
}

.classroom-main {
  min-width: 0;
  width: 100%;
}

.classroom-main-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

@media (max-width: 1200px) {
  .classroom-grid {
    grid-template-columns: 280px 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 992px) {
  .classroom-container {
    padding: 0 1rem;
  }
  .classroom-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .classroom-sidebar {
    position: static;
  }
  .classroom-main-card {
    padding: 1.5rem 1.25rem;
  }
}

/* ==========================================================================
   ITG Protected Video Player & Stealth Shields (Anti-Leak & 100% Playable)
   ========================================================================== */
.protected-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto 2rem auto;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.protected-video-wrapper:fullscreen {
  max-width: 100% !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.protected-video-wrapper iframe,
.protected-video-wrapper video {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* 1. Top Shield: Solid Opaque Mask Covering Title, Avatar, Share, & Watch Later */
.yt-shield-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  z-index: 20;
  background: #091a2f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  pointer-events: auto;
}

.yt-shield-title {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
}

.video-protect-watermark {
  background: rgba(10, 31, 56, 0.9);
  color: #fbbf24;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 158, 11, 0.35);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* 2. Bottom Left Shield: Completely Masks & Blocks 🔗 Copy Link Button, URLs & Shortcuts */
.yt-shield-bottom-left {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 270px;
  height: 62px;
  z-index: 20;
  background: #000000;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  cursor: default;
  pointer-events: auto;
  box-shadow: 4px -2px 10px rgba(0, 0, 0, 0.5);
}

.itg-corner-ctrl-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 0.92rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.itg-corner-ctrl-btn:hover {
  background: var(--accent-500);
  border-color: var(--accent-500);
  color: #000000;
  transform: scale(1.08);
}

.itg-shield-pill {
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  user-select: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* 3. Bottom Right Shield: Masks & Blocks Watch on YouTube, YouTube Logo, and More Videos */
.yt-shield-bottom-right {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 350px;
  height: 62px;
  z-index: 20;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 14px;
  cursor: default;
  pointer-events: auto;
  box-shadow: -4px -2px 10px rgba(0, 0, 0, 0.5);
}

/* ITG Fullscreen Button in bottom-right corner */
.itg-fs-corner-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.15rem;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, transform 0.15s ease;
}

.itg-fs-corner-btn:hover {
  color: var(--accent-500);
  transform: scale(1.15);
}

@media (max-width: 640px) {
  .yt-shield-bottom-left {
    width: 170px;
  }
  .yt-shield-bottom-right {
    width: 180px;
  }
  .itg-shield-pill {
    display: none;
  }
}

@media (max-width: 480px) {
  .yt-shield-top {
    height: 48px;
    padding: 0 10px;
  }
  .yt-shield-title {
    font-size: 0.8rem;
    max-width: 55%;
  }
  .video-protect-watermark {
    font-size: 0.65rem;
    padding: 3px 8px;
  }
  .yt-shield-bottom-left {
    width: 110px;
    height: 52px;
    padding: 0 8px;
  }
  .yt-shield-bottom-right {
    width: 130px;
    height: 52px;
    padding-right: 8px;
  }
  .itg-corner-ctrl-btn {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
  .itg-fs-corner-btn {
    font-size: 1rem;
    padding: 4px;
  }
  .pdf-viewer-container {
    height: 460px;
  }
  .quiz-header-card {
    padding: 1.25rem 1rem;
  }
  .quiz-question-box {
    padding: 1.25rem 1rem;
  }
}

/* Floating ITG Custom Controls Bar */
.itg-controls-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 25;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.7) 60%, transparent 100%);
  padding: 10px 18px 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.itg-custom-player-wrapper.is-playing.is-idle .itg-controls-bar {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

/* Progress / Seek Container */
.itg-progress-container {
  position: relative;
  width: 100%;
  height: 16px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.itg-progress-track {
  position: relative;
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  overflow: hidden;
  transition: height 0.15s ease;
}

.itg-progress-container:hover .itg-progress-track {
  height: 8px;
}

.itg-progress-loaded {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.itg-progress-played {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--accent-500);
  border-radius: 4px;
}

.itg-progress-scrubber {
  position: absolute;
  left: 0%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

.itg-progress-container:hover .itg-progress-scrubber {
  opacity: 1;
}

/* Controls Row */
.itg-controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.itg-controls-left,
.itg-controls-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.itg-ctrl-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, transform 0.15s ease;
}

.itg-ctrl-btn:hover {
  color: var(--accent-500);
  transform: scale(1.12);
}

.itg-time-display {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  margin-left: 6px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

/* Volume Slider Group */
.itg-volume-group {
  display: flex;
  align-items: center;
  gap: 4px;
}

.itg-volume-slider-wrap {
  width: 0;
  overflow: hidden;
  transition: width 0.25s ease;
  display: flex;
  align-items: center;
}

.itg-volume-group:hover .itg-volume-slider-wrap {
  width: 70px;
}

.itg-volume-slider {
  width: 65px;
  height: 4px;
  accent-color: var(--accent-500);
  cursor: pointer;
}

/* Speed Dropdown Menu */
.itg-speed-menu-wrap {
  position: relative;
}

.itg-speed-btn {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  color: #ffffff;
}

.itg-speed-dropdown {
  position: absolute;
  bottom: 42px;
  right: 0;
  background: rgba(10, 31, 56, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  display: none;
  flex-direction: column;
  padding: 6px;
  min-width: 160px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 30;
}

.itg-speed-dropdown.show {
  display: flex;
}

.itg-speed-opt {
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 7px 12px;
  font-size: 0.82rem;
  text-align: left;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.itg-speed-opt:hover,
.itg-speed-opt.active {
  background: rgba(245, 158, 11, 0.25);
  color: var(--accent-500);
}

/* PDF Lesson Viewer */
.pdf-viewer-container {
  width: 100%;
  height: 720px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
  background: #f8fafc;
}

.pdf-viewer-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Quiz Styles */
.quiz-header-card {
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 100%);
  color: #ffffff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

.quiz-question-box {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.75rem;
  transition: var(--transition);
}

.quiz-question-box:hover {
  border-color: var(--primary-500);
}

.quiz-q-number {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.quiz-q-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  line-height: 1.45;
}

.quiz-options-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quiz-option-label {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.15rem;
  background: var(--bg-main);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-body);
  transition: var(--transition);
}

.quiz-option-label:hover {
  background: #ffffff;
  border-color: var(--primary-500);
}

.quiz-option-label input[type="radio"],
.quiz-option-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-600);
  cursor: pointer;
}

.quiz-explanation-box {
  background: #f8fafc;
  border-left: 4px solid var(--primary-600);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-body);
}

.quiz-results-banner {
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2.5rem;
  text-align: center;
}

.quiz-results-pass {
  background: #ecfdf5;
  border: 2px solid #10b981;
  color: #065f46;
}

.quiz-results-fail {
  background: #fef2f2;
  border: 2px solid #ef4444;
  color: #991b1b;
}

/* Assignment Styles */
.assignment-brief-card {
  background: #fff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
}

.assignment-prompt-box {
  background: var(--bg-main);
  border-left: 4px solid var(--accent-500);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.25rem 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.assignment-feedback-box {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

