/* ============================================================
   IQBrain College — Main Stylesheet
   Design: Modern Educational Platform
   ============================================================ */

/* -------------------------------------------------------
   CSS Custom Properties (Design Tokens)
   ------------------------------------------------------- */
:root {
  --primary:        #0072BC;
  --primary-dark:   #005a96;
  --primary-light:  #e8f4fc;
  --secondary:      #F7941D;
  --secondary-dark: #e07d0a;
  --secondary-light:#fff5e8;
  --dark:           #1a2236;
  --text:           #2d3748;
  --text-muted:     #718096;
  --border:         #e2e8f0;
  --bg-light:       #f7f9fc;
  --white:          #ffffff;
  --success:        #38a169;
  --danger:         #e53e3e;
  --warning:        #d69e2e;
  --info:           #3182ce;
  --shadow-sm:      0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow:         0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.05);
  --shadow-lg:      0 10px 30px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.07);
  --shadow-xl:      0 20px 60px rgba(0,0,0,0.12);
  --radius-sm:      6px;
  --radius:         10px;
  --radius-lg:      16px;
  --radius-xl:      24px;
  --transition:     all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font:           'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }
input, select, textarea, button { font-family: var(--font); }

/* -------------------------------------------------------
   Typography
   ------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.65rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* -------------------------------------------------------
   Layout Utilities
   ------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow { max-width: 860px; }
.container-wide   { max-width: 1400px; }

.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-lg { padding: 100px 0; }

.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { max-width: 560px; margin: 0 auto; color: var(--text-muted); font-size: 1.05rem; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  background: var(--secondary-light);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-gap { display: flex; align-items: center; gap: 12px; }
.flex-wrap { flex-wrap: wrap; }

.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-muted  { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-white  { color: var(--white); }

.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fs-sm  { font-size: 0.875rem; }
.fs-lg  { font-size: 1.15rem; }
.mb-0   { margin-bottom: 0; }
.mt-auto { margin-top: auto; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-20 { gap: 20px; }

.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.divider { height: 1px; background: var(--border); margin: 24px 0; }

/* -------------------------------------------------------
   Buttons
   ------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.3;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn i { font-size: 0.9em; }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); box-shadow: 0 4px 15px rgba(0,114,188,0.35); }

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}
.btn-secondary:hover { background: var(--secondary-dark); border-color: var(--secondary-dark); color: var(--white); box-shadow: 0 4px 15px rgba(247,148,29,0.35); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: var(--white); color: var(--primary); }

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-white:hover { background: var(--primary-light); border-color: var(--primary-light); }

.btn-success { background: var(--success); color: var(--white); border-color: var(--success); }
.btn-success:hover { filter: brightness(0.9); color: var(--white); }
.btn-danger  { background: var(--danger);  color: var(--white); border-color: var(--danger); }
.btn-danger:hover  { filter: brightness(0.9); color: var(--white); }

.btn-sm { padding: 8px 16px; font-size: 0.85rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-xl { padding: 18px 44px; font-size: 1.1rem; border-radius: var(--radius-lg); }

.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: 50%; }

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}
.btn-whatsapp:hover { background: #1da851; border-color: #1da851; color: var(--white); box-shadow: 0 4px 15px rgba(37,211,102,0.35); }

/* -------------------------------------------------------
   Badges
   ------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
}
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-secondary { background: var(--secondary-light); color: var(--secondary-dark); }
.badge-success  { background: #ebf8f0; color: var(--success); }
.badge-warning  { background: #fffbeb; color: var(--warning); }
.badge-danger   { background: #fff5f5; color: var(--danger); }
.badge-dark     { background: var(--dark); color: var(--white); }

/* -------------------------------------------------------
   Forms
   ------------------------------------------------------- */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
}
.form-label span { color: var(--danger); margin-left: 2px; }

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,114,188,0.12); }
.form-control::placeholder { color: #b0bec5; }

select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 110px; }

.form-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 5px; }
.form-error { font-size: 0.8rem; color: var(--danger); margin-top: 5px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.input-group { position: relative; display: flex; align-items: stretch; }
.input-group .form-control { border-radius: var(--radius) 0 0 var(--radius); }
.input-group .btn { border-radius: 0 var(--radius) var(--radius) 0; white-space: nowrap; }

/* -------------------------------------------------------
   Alerts
   ------------------------------------------------------- */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  border-left: 4px solid;
  font-size: 0.95rem;
}
.alert-success { background: #ebf8f0; border-color: var(--success); color: #276749; }
.alert-danger  { background: #fff5f5; border-color: var(--danger);  color: #c53030; }
.alert-warning { background: #fffbeb; border-color: var(--warning); color: #975a16; }
.alert-info    { background: #ebf4ff; border-color: var(--info);    color: #2b6cb0; }

/* -------------------------------------------------------
   Cards
   ------------------------------------------------------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); }
.card-body { padding: 24px; }
.card-footer { padding: 16px 24px; border-top: 1px solid var(--border); background: var(--bg-light); }

/* -------------------------------------------------------
   Navigation
   ------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  height: 72px;
  display: flex;
  align-items: center;
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.12); }

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

/* Logo */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.navbar-brand img { height: 44px; width: auto; }
.navbar-brand-text { display: none; }

/* Nav Links */
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.navbar-nav .nav-link {
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
  transition: var(--transition);
  white-space: nowrap;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { background: var(--primary-light); color: var(--primary); }

/* Dropdown */
.nav-item-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 100;
}
.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--text);
  transition: var(--transition);
}
.dropdown-item:hover { background: var(--primary-light); color: var(--primary); }
.dropdown-item i { width: 18px; text-align: center; color: var(--text-muted); }
.dropdown-item:hover i { color: var(--primary); }

/* Navbar Actions */
.navbar-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.navbar-search {
  position: relative;
  display: flex;
  align-items: center;
}
.navbar-search input {
  padding: 9px 16px 9px 40px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 0.88rem;
  width: 200px;
  outline: none;
  transition: var(--transition);
}
.navbar-search input:focus { border-color: var(--primary); width: 260px; box-shadow: 0 0 0 3px rgba(0,114,188,0.1); }
.navbar-search i {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Mobile Menu Toggle */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar-toggle.open span:nth-child(2) { opacity: 0; }
.navbar-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* -------------------------------------------------------
   Hero Section
   ------------------------------------------------------- */
.hero {
  background: linear-gradient(135deg, #00417A 0%, #0072BC 50%, #005a96 100%);
  position: relative;
  overflow: hidden;
  padding: 90px 0 80px;
  color: var(--white);
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: rgba(247,148,29,0.08);
  border-radius: 50%;
}
.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-shapes span {
  position: absolute;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}
.hero-shapes span:nth-child(1) { width: 80px; height: 80px; top: 15%; left: 10%; animation-delay: 0s; }
.hero-shapes span:nth-child(2) { width: 120px; height: 120px; top: 60%; left: 5%; animation-delay: 2s; }
.hero-shapes span:nth-child(3) { width: 60px; height: 60px; top: 25%; right: 15%; animation-delay: 1s; }
.hero-shapes span:nth-child(4) { width: 150px; height: 150px; bottom: 10%; right: 5%; animation-delay: 3s; }

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

.hero-content { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; text-align: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(247,148,29,0.2);
  border: 1px solid rgba(247,148,29,0.4);
  color: #ffd07a;
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.hero-badge i { color: var(--secondary); }

.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); color: var(--white); margin-bottom: 18px; font-weight: 800; }
.hero h1 span { color: var(--secondary); }

.hero p { font-size: 1.1rem; color: rgba(255,255,255,0.82); margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }

.hero-search {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-xl);
  padding: 8px 8px 8px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 620px;
  margin: 0 auto 32px;
}
.hero-search i { color: rgba(255,255,255,0.6); flex-shrink: 0; font-size: 1rem; }
.hero-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 0.95rem;
  font-family: var(--font);
}
.hero-search input::placeholder { color: rgba(255,255,255,0.55); }
.hero-search .btn { flex-shrink: 0; }

.hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero-tag {
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition);
}
.hero-tag:hover { background: rgba(255,255,255,0.22); color: var(--white); }

/* -------------------------------------------------------
   Stats Bar
   ------------------------------------------------------- */
.stats-bar {
  background: var(--dark);
  color: var(--white);
  padding: 0;
}
.stats-bar-inner {
  display: flex;
  divide-x: 1px solid rgba(255,255,255,0.1);
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 24px 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.1;
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* -------------------------------------------------------
   Category Cards
   ------------------------------------------------------- */
.category-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.category-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  text-decoration: none;
}
.category-icon {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
  transition: var(--transition);
}
.category-card:hover .category-icon { transform: scale(1.1); }
.category-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark);
}
.category-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* -------------------------------------------------------
   Course Cards
   ------------------------------------------------------- */
.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.course-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }

.course-card-image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--primary-light);
}
.course-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.course-card:hover .course-card-image img { transform: scale(1.05); }
.course-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
}
.course-card-featured {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--secondary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
}
.course-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 60%);
}

.course-card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.course-card-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.course-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.35;
}
.course-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex: 1;
  line-height: 1.55;
}
.course-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.course-card-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.course-card-meta i { color: var(--primary); font-size: 0.85em; }

.course-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.course-price-block .price-label { font-size: 0.7rem; color: var(--text-muted); display: block; }
.course-price { font-size: 1.2rem; font-weight: 800; color: var(--primary); }
.course-price-original {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 5px;
}
.course-price-save {
  font-size: 0.7rem;
  background: #ebf8f0;
  color: var(--success);
  padding: 2px 7px;
  border-radius: 50px;
  font-weight: 600;
  margin-left: 5px;
}

/* -------------------------------------------------------
   Upcoming Schedules Section
   ------------------------------------------------------- */
.schedule-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}
.schedule-table thead th {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 16px;
  background: none;
}
.schedule-table tbody tr {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
  transition: var(--transition);
}
.schedule-table tbody tr:hover {
  box-shadow: var(--shadow);
  transform: translateX(4px);
}
.schedule-table td {
  padding: 16px;
  border: none;
  font-size: 0.9rem;
  vertical-align: middle;
}
.schedule-table td:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.schedule-table td:last-child  { border-radius: 0 var(--radius) var(--radius) 0; }

/* -------------------------------------------------------
   Why Choose Us (Features)
   ------------------------------------------------------- */
.feature-card {
  text-align: center;
  padding: 36px 24px;
}
.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-xl);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--primary);
  transition: var(--transition);
}
.feature-card:hover .feature-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
}
.feature-card h4 { font-size: 1.05rem; margin-bottom: 10px; }
.feature-card p  { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* -------------------------------------------------------
   CTA Banner
   ------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--secondary) 0%, #f5760a 100%);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cta-banner p  { color: rgba(255,255,255,0.88); font-size: 1.05rem; margin-bottom: 30px; }
.cta-banner .btn-group { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* -------------------------------------------------------
   Footer
   ------------------------------------------------------- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 70px 0 0;
}
.footer-logo { margin-bottom: 18px; }
.footer-logo img { height: 46px; }
.footer-about { font-size: 0.88rem; max-width: 280px; line-height: 1.7; }

.footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-links li + li { margin-top: 9px; }
.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-links a:hover { color: var(--secondary); padding-left: 4px; }
.footer-links a i { font-size: 0.7em; color: var(--secondary); }

.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-btn:hover { background: var(--secondary); color: var(--white); transform: translateY(-3px); }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 14px;
}
.footer-contact i { color: var(--secondary); width: 16px; margin-top: 2px; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: 50px;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--secondary); }

/* -------------------------------------------------------
   Page Header (Inner Pages)
   ------------------------------------------------------- */
.page-header {
  background: linear-gradient(135deg, #00417A 0%, #0072BC 100%);
  color: var(--white);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.page-header h1 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 10px; }
.page-header p  { color: rgba(255,255,255,0.8); font-size: 1rem; margin: 0; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 12px;
}
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb i { font-size: 0.65em; }

/* -------------------------------------------------------
   Course Detail Page
   ------------------------------------------------------- */
.course-detail-hero {
  background: linear-gradient(135deg, #00417A 0%, #0072BC 100%);
  padding: 50px 0;
  color: var(--white);
}
.course-detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}
.course-detail-title { color: var(--white); font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: 14px; }
.course-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.82);
}
.course-detail-meta span { display: flex; align-items: center; gap: 7px; }
.course-detail-meta i  { color: var(--secondary); }

.course-quick-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-xl);
  position: sticky;
  top: 90px;
}
.quick-price { font-size: 2rem; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.quick-price-sub { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 20px; }

.pricing-options { margin-bottom: 20px; }
.pricing-option {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pricing-option.selected { border-color: var(--primary); background: var(--primary-light); }
.pricing-option-label { font-size: 0.88rem; font-weight: 600; }
.pricing-option-price { font-size: 1rem; font-weight: 700; color: var(--primary); }
.pricing-option-badge { font-size: 0.72rem; color: var(--success); background: #ebf8f0; padding: 2px 8px; border-radius: 50px; margin-top: 3px; }

.course-detail-tabs { background: var(--bg-light); border-bottom: 2px solid var(--border); }
.tab-nav {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 18px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: var(--transition);
}
.tab-btn:hover { color: var(--primary); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }

.tab-content { display: none; }
.tab-content.active { display: block; }

.tab-section { padding: 40px 0; }

/* Objective List */
.objectives-list, .audience-list, .prereq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  list-style: none;
}
.objectives-list li, .audience-list li, .prereq-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
}
.objectives-list li i  { color: var(--success); margin-top: 2px; flex-shrink: 0; }
.audience-list li i    { color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.prereq-list li i      { color: var(--secondary); margin-top: 2px; flex-shrink: 0; }

/* Pricing Cards */
.pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.pricing-card {
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  border: 2px solid var(--border);
  text-align: center;
  position: relative;
  transition: var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border-color: var(--primary);
  background: var(--primary-light);
}
.pricing-card-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
}
.pricing-card h4 { margin-bottom: 8px; }
.pricing-card .big-price { font-size: 2.2rem; font-weight: 800; color: var(--primary); margin: 16px 0 6px; }
.pricing-card .price-note { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 20px; }
.pricing-card-features { text-align: left; margin-bottom: 24px; }
.pricing-card-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}
.pricing-card-features li:last-child { border-bottom: none; }
.pricing-card-features i { color: var(--success); }

/* -------------------------------------------------------
   Filter Sidebar
   ------------------------------------------------------- */
.sidebar { position: sticky; top: 90px; }
.filter-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 20px;
}
.filter-box-header {
  padding: 16px 20px;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-box-body { padding: 16px 20px; }

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
  font-size: 0.88rem;
}
.filter-option input[type="radio"],
.filter-option input[type="checkbox"] { accent-color: var(--primary); width: 15px; height: 15px; cursor: pointer; }
.filter-option:hover { color: var(--primary); }
.filter-count { margin-left: auto; color: var(--text-muted); font-size: 0.78rem; }

/* Courses Layout */
.courses-layout { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: start; }

.courses-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 14px;
}
.courses-count { font-size: 0.9rem; color: var(--text-muted); }
.courses-sort { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; }
.courses-sort select { padding: 8px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 0.88rem; outline: none; cursor: pointer; }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}
.page-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--text);
  transition: var(--transition);
}
.page-link:hover { border-color: var(--primary); color: var(--primary); }
.page-link.active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.page-link.disabled { opacity: 0.4; pointer-events: none; }

/* -------------------------------------------------------
   Registration Form
   ------------------------------------------------------- */
.register-page { background: var(--bg-light); min-height: 80vh; padding: 60px 0; }
.register-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }

.register-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.register-card-header {
  background: var(--primary);
  color: var(--white);
  padding: 28px 32px;
}
.register-card-header h2 { color: var(--white); font-size: 1.4rem; margin-bottom: 6px; }
.register-card-header p  { color: rgba(255,255,255,0.8); font-size: 0.9rem; margin: 0; }
.register-card-body { padding: 32px; }

.course-summary-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 28px;
  position: sticky;
  top: 90px;
}
.course-summary-card h3 { font-size: 1.05rem; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.88rem;
}
.summary-row:not(:last-child) { border-bottom: 1px solid var(--border); }
.summary-label { color: var(--text-muted); }
.summary-value { font-weight: 600; text-align: right; }

/* -------------------------------------------------------
   Breadcrumb
   ------------------------------------------------------- */
.breadcrumb-nav {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.breadcrumb-nav ol {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.breadcrumb-nav ol li { display: flex; align-items: center; gap: 8px; }
.breadcrumb-nav ol li:not(:last-child)::after {
  content: '/';
  color: var(--border);
}
.breadcrumb-nav a { color: var(--text-muted); }
.breadcrumb-nav a:hover { color: var(--primary); }

/* -------------------------------------------------------
   No Results
   ------------------------------------------------------- */
.no-results {
  text-align: center;
  padding: 80px 40px;
  color: var(--text-muted);
}
.no-results i { font-size: 4rem; margin-bottom: 20px; opacity: 0.3; }
.no-results h3 { margin-bottom: 10px; color: var(--dark); }

/* -------------------------------------------------------
   Testimonials
   ------------------------------------------------------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 14px;
  left: 22px;
  font-size: 5rem;
  color: var(--primary-light);
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial-text { font-size: 0.9rem; color: var(--text-muted); font-style: italic; line-height: 1.7; margin-bottom: 20px; padding-top: 30px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.testimonial-name { font-weight: 700; font-size: 0.9rem; color: var(--dark); }
.testimonial-role { font-size: 0.78rem; color: var(--text-muted); }
.testimonial-stars { color: var(--secondary); font-size: 0.85rem; letter-spacing: 1px; }

/* -------------------------------------------------------
   Image Placeholder (course cards without image)
   ------------------------------------------------------- */
.course-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--primary);
  opacity: 0.6;
}
.course-image-placeholder i { font-size: 2.5rem; }
.course-image-placeholder span { font-size: 0.8rem; font-weight: 600; }

/* -------------------------------------------------------
   Back to Top
   ------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-3px); }

/* -------------------------------------------------------
   Responsive
   ------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .courses-layout { grid-template-columns: 220px 1fr; }
  .pricing-cards { grid-template-columns: 1fr 1fr; }
  .course-detail-grid { grid-template-columns: 1fr 320px; }
  .register-layout { grid-template-columns: 1fr 340px; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-lg { padding: 70px 0; }

  /* Navbar */
  .navbar-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
  }
  .navbar-nav.open { display: flex; }
  .navbar-nav .nav-link { padding: 12px 16px; border-radius: var(--radius); }
  .navbar-toggle { display: flex; }
  .navbar-search { display: none; }

  /* Mobile dropdown */
  .nav-item-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 8px 16px;
    background: var(--bg-light);
    border-radius: var(--radius);
    margin-top: 4px;
    display: none;
  }
  .nav-item-dropdown.open .dropdown-menu { display: block; }

  /* Grids */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .objectives-list, .audience-list, .prereq-list { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .courses-layout { grid-template-columns: 1fr; }
  .course-detail-grid { grid-template-columns: 1fr; }
  .register-layout { grid-template-columns: 1fr; }

  .sidebar { position: static; }

  /* Stats bar */
  .stats-bar-inner { flex-wrap: wrap; }
  .stat-item { min-width: 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }

  /* Hero */
  .hero { padding: 70px 0 60px; }
  .hero-search { flex-direction: column; border-radius: var(--radius-lg); padding: 16px; }
  .hero-search .btn { width: 100%; }

  /* Course detail */
  .course-quick-card { position: static; }

  /* CTA */
  .cta-banner { padding: 48px 28px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-about { max-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }

  /* Register */
  .register-card-body { padding: 24px; }
  .register-card-header { padding: 22px 24px; }
  .course-summary-card { position: static; }
}

@media (max-width: 480px) {
  .grid-auto { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 20px; }
  .hero h1 { font-size: 1.8rem; }
  .stat-item { min-width: 100%; }
  .tab-btn { padding: 14px 18px; font-size: 0.83rem; }
}

/* -------------------------------------------------------
   Utility Animations
   ------------------------------------------------------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}
.animate-fadeInUp { animation: fadeInUp 0.5s ease forwards; }
.skeleton { background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius); }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* -------------------------------------------------------
   Print
   ------------------------------------------------------- */
@media print {
  .navbar, .footer, .btn, .back-to-top { display: none !important; }
  .course-quick-card { box-shadow: none; border: 1px solid #ddd; }
}

/* -------------------------------------------------------
   Top Bar (Africa Edition)
   ------------------------------------------------------- */
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,0.72);
  font-size: 0.775rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar-item {
  color: rgba(255,255,255,0.68);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
  white-space: nowrap;
}
.topbar-item:hover { color: var(--secondary); }
.topbar-item i { color: var(--secondary); font-size: 0.82em; }
.topbar-wa i   { color: #25D366 !important; }
.topbar-admin  { color: rgba(255,255,255,0.42) !important; font-size: 0.73rem; }

.topbar-countries {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
}
.topbar-country        { color: rgba(255,255,255,0.52); white-space: nowrap; }
.topbar-country.active { color: var(--secondary); font-weight: 600; }
.topbar-sep            { color: rgba(255,255,255,0.18); }

@media (max-width: 900px) { .topbar-countries { display: none; } }
@media (max-width: 600px) { .topbar-left .topbar-item:first-child { display: none; } }

/* -------------------------------------------------------
   Countries We Serve Section (Homepage)
   ------------------------------------------------------- */
.countries-section {
  padding: 70px 0;
  background: linear-gradient(135deg, #00417A 0%, #0072BC 100%);
  position: relative;
  overflow: hidden;
}
.countries-section::before {
  content: '';
  position: absolute;
  top: -60%; right: -5%;
  width: 500px; height: 500px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}
.countries-section .section-header h2  { color: #fff; }
.countries-section .section-header p   { color: rgba(255,255,255,0.75); }
.countries-section .section-label      { background: rgba(255,255,255,0.18); color: #fff; }

.countries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.country-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.country-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.country-card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}
.country-card:hover::after { transform: scaleX(1); }
.country-flag { font-size: 3.2rem; line-height: 1; margin-bottom: 14px; display: block; }
.country-name { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.country-hq   {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.country-city { font-size: 0.82rem; color: rgba(255,255,255,0.6); }

@media (max-width: 768px) { .countries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .countries-grid { grid-template-columns: 1fr 1fr; gap: 14px; } .country-card { padding: 22px 14px; } }

/* -------------------------------------------------------
   AI Courses Section (Homepage)
   ------------------------------------------------------- */
.ai-section { background: var(--bg-light); position: relative; overflow: hidden; }
.ai-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(108,52,131,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.ai-hero-bar {
  display: flex;
  align-items: center;
  gap: 32px;
  background: linear-gradient(135deg, #1a0a2e 0%, #6C3483 60%, #0072BC 100%);
  border-radius: var(--radius-xl);
  padding: 36px 44px;
  margin-bottom: 44px;
  position: relative;
  overflow: hidden;
}
.ai-hero-bar::after {
  content: '🤖';
  position: absolute;
  right: 36px; top: 50%;
  transform: translateY(-50%);
  font-size: 5rem;
  opacity: 0.18;
}
.ai-hero-bar h3 { color: #fff; font-size: 1.4rem; margin-bottom: 6px; }
.ai-hero-bar p  { color: rgba(255,255,255,0.75); font-size: 0.92rem; margin: 0; }
.ai-hero-bar .btn { flex-shrink: 0; }

.ai-profession-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}
.ai-profession-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 16px;
  text-align: center;
  transition: var(--transition);
  text-decoration: none;
  color: var(--dark);
  display: block;
}
.ai-profession-card:hover {
  border-color: #6C3483;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: var(--dark);
}
.ai-profession-icon {
  width: 54px; height: 54px;
  border-radius: var(--radius-lg);
  background: #f3e8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.4rem;
  color: #6C3483;
  transition: var(--transition);
}
.ai-profession-card:hover .ai-profession-icon { background: #6C3483; color: #fff; }
.ai-profession-name  { font-size: 0.83rem; font-weight: 600; line-height: 1.35; margin-bottom: 8px; }
.ai-level-pills      { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; }
.ai-level-pill       { font-size: 0.65rem; font-weight: 600; padding: 2px 7px; border-radius: 50px; text-transform: uppercase; letter-spacing: 0.04em; }
.pill-beginner       { background: #ebf8f0; color: #276749; }
.pill-intermediate   { background: #ebf0fb; color: #2c5282; }
.pill-advanced       { background: #fef3c7; color: #92400e; }

@media (max-width: 768px) {
  .ai-hero-bar { flex-direction: column; padding: 28px 24px; text-align: center; }
  .ai-hero-bar::after { display: none; }
  .ai-profession-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

/* -------------------------------------------------------
   Footer Countries Strip
   ------------------------------------------------------- */
.footer-countries-strip {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 48px;
  padding: 22px 0 0;
}
.footer-countries-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 12px;
}
.footer-countries-list { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-country-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.58);
}
.footer-country-item .flag { font-size: 1.1rem; }
.footer-country-item strong { color: rgba(255,255,255,0.85); font-weight: 600; }
.footer-country-hq {
  font-size: 0.63rem;
  background: var(--secondary);
  color: #fff;
  padding: 1px 7px;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
@media (max-width: 480px) { .footer-countries-list { gap: 14px; } }

/* -------------------------------------------------------
   Corporate Client Logos Strip (Homepage)
   ------------------------------------------------------- */
.clients-logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  align-items: center;
}
.client-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 16px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  min-width: 130px;
  max-width: 160px;
  transition: var(--transition);
  text-align: center;
}
.client-logo-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.client-logo-item img {
  max-height: 50px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.25s;
}
.client-logo-item:hover img { filter: grayscale(0%); }
.client-initials-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}
.client-logo-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.3;
}

/* -------------------------------------------------------
   Add "Corporate" nav link (used in navbar)
   ------------------------------------------------------- */
.nav-corporate {
  background: var(--secondary);
  color: var(--white) !important;
  padding: 7px 16px !important;
  border-radius: 50px !important;
  font-size: 0.84rem !important;
}
.nav-corporate:hover { background: var(--secondary-dark) !important; color: var(--white) !important; }
