/* ============================================
   NOVEXA SKILLS — Main Stylesheet
   Aesthetic: Deep tech navy + electric cyan accent
   Font Stack: Clash Display + DM Sans
============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ---------- Variables ---------- */
:root {
  --navy-950: #020810;
  --navy-900: #041224;
  --navy-800: #0a1e3d;
  --navy-700: #0d2e58;
  --navy-600: #144272;
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --white: #ffffff;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --text-primary: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --accent-gradient: linear-gradient(135deg, #22d3ee, #3b82f6);
  --card-bg: #ffffff;
  --card-border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.display-xl { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; letter-spacing: -0.03em; }
.display-lg { font-size: clamp(2rem, 3.5vw, 3.25rem); font-weight: 800; letter-spacing: -0.02em; }
.display-md { font-size: clamp(1.6rem, 2.5vw, 2.5rem); font-weight: 700; letter-spacing: -0.015em; }
.display-sm { font-size: clamp(1.2rem, 2vw, 1.75rem); font-weight: 600; letter-spacing: -0.01em; }

.body-lg { font-size: 1.125rem; line-height: 1.7; }
.body-md { font-size: 1rem; line-height: 1.65; }
.body-sm { font-size: 0.875rem; line-height: 1.6; }

/* ---------- Layout ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ---------- Utility Classes ---------- */
.text-center { text-align: center; }
.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-cyan { color: var(--cyan-500); }
.text-white { color: var(--white); }
.text-muted { color: var(--text-muted); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-cyan {
  background: rgba(6,182,212,0.1);
  color: var(--cyan-500);
  border: 1px solid rgba(6,182,212,0.25);
}

.badge-white {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.25);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(34,211,238,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(34,211,238,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--card-border);
}
.btn-outline-dark:hover {
  background: var(--slate-100);
  border-color: var(--slate-300);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-arrow::after {
  content: '→';
  margin-left: 2px;
  transition: transform 0.2s ease;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(2,8,16,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

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

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--cyan-400); }
.nav-links a.active { color: var(--cyan-400); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  border-radius: 2px;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(4,18,36,0.97);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 12px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: all 0.25s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75) !important;
  transition: all 0.15s;
}
.dropdown-menu a::after { display: none !important; }
.dropdown-menu a:hover {
  background: rgba(34,211,238,0.1);
  color: var(--cyan-400) !important;
}

.dropdown-icon { width: 20px; font-size: 1rem; }

.nav-cta { margin-left: 12px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--navy-950);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 160px 0 100px;
}

.hero-tag {
  margin-bottom: 24px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  max-width: 820px;
}

.hero-desc {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 760px;
}

.hero-stat {
  border-top: 2px solid rgba(255,255,255,0.12);
  padding-top: 16px;
}

.hero-stat .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat .label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Partner logos strip */
.partners-strip {
  background: var(--navy-900);
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.partners-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
  margin-right: 40px;
  white-space: nowrap;
}

.partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.partner-logo {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
  transition: color 0.25s;
}
.partner-logo:hover { color: rgba(255,255,255,0.8); }

/* ---------- Section Headers ---------- */
.section-header {
  margin-bottom: 56px;
}
.section-header.centered { text-align: center; }
.section-header .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan-500);
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
}
.section-header.centered p { margin: 0 auto; }

/* ---------- Cards ---------- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(34,211,238,0.2);
}

.card-dark {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.07);
  color: var(--white);
}
.card-dark h3, .card-dark h4 { color: var(--white); }
.card-dark p { color: rgba(255,255,255,0.6); }

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

/* ---------- Service Cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
  border-color: rgba(6,182,212,0.3);
}

.service-card-img {
  position: relative;
  overflow: hidden;
  height: 190px;
  background: var(--navy-900);
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.05); }

.service-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.service-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.service-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--slate-100);
  color: var(--slate-600);
}

.service-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cyan-500);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.service-link:hover { gap: 8px; }

/* ---------- Stats Section ---------- */
.stats-section {
  background: var(--navy-950);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/stats-bg.svg') center/cover no-repeat;
  opacity: 0.5;
}

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

.stat-item { text-align: center; }

.stat-number {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  margin-top: 6px;
}

/* ---------- Why Choose Us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.why-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(34,211,238,0.25);
  transform: translateY(-3px);
}

.why-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.why-text h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.why-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Certifications ---------- */
.certs-section { background: var(--slate-100); }

.cert-logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.cert-logo-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition);
}
.cert-logo-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(6,182,212,0.3);
}

.cert-logo-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}
.cert-logo-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Testimonials ---------- */
.testimonials-section { background: var(--white); }

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

.testimonial-card {
  background: var(--navy-950);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 5rem;
  line-height: 1;
  color: rgba(34,211,238,0.15);
  font-family: Georgia, serif;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.author-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}
.author-title {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
}

/* ---------- CTA Banner ---------- */
.cta-section {
  background: var(--navy-950);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(34,211,238,0.08), transparent 60%);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -5%;
  width: 50%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(59,130,246,0.08), transparent 60%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-inner h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-inner p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin: 0 auto 40px;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-950);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand img { height: 42px; margin-bottom: 20px; }
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-link:hover {
  background: rgba(34,211,238,0.15);
  border-color: rgba(34,211,238,0.4);
  color: var(--cyan-400);
}

.footer-col h5 {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--cyan-400); }

.footer-contact p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
}
.footer-contact strong {
  color: rgba(255,255,255,0.7);
  display: block;
  margin-top: 12px;
  margin-bottom: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--cyan-400); }

/* ---------- About Page ---------- */
.about-hero {
  background: var(--navy-950);
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.svg') center/cover no-repeat;
  opacity: 0.6;
}

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

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

.team-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
}
.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.team-photo {
  height: 200px;
  background: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}

.team-info { padding: 20px; }
.team-info h4 { font-size: 1rem; margin-bottom: 4px; }
.team-info .role {
  font-size: 0.82rem;
  color: var(--cyan-500);
  font-weight: 600;
  margin-bottom: 8px;
}
.team-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---------- Courses Page ---------- */
.courses-hero {
  background: var(--navy-950);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.courses-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.svg') center/cover no-repeat;
  opacity: 0.5;
}
.courses-hero-inner { position: relative; z-index: 2; }

.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-tab {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--card-border);
  background: var(--white);
  color: var(--text-muted);
  transition: var(--transition);
}
.filter-tab.active,
.filter-tab:hover {
  background: var(--navy-800);
  color: var(--cyan-400);
  border-color: rgba(34,211,238,0.4);
}

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

.course-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
  border-color: rgba(6,182,212,0.3);
}

.course-img {
  height: 160px;
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}
.course-img img { width: 100%; height: 100%; object-fit: cover; }

.course-level {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.level-beginner { background: rgba(52,211,153,0.2); color: #34d399; border: 1px solid rgba(52,211,153,0.3); }
.level-intermediate { background: rgba(251,191,36,0.2); color: #fbbf24; border: 1px solid rgba(251,191,36,0.3); }
.level-advanced { background: rgba(239,68,68,0.2); color: #ef4444; border: 1px solid rgba(239,68,68,0.3); }

.course-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.course-provider {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cyan-500);
  margin-bottom: 8px;
}

.course-body h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.35;
}

.course-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.course-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.course-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--card-border);
}
.course-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
}
.course-price .original {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 400;
  margin-right: 6px;
}

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); margin-bottom: 36px; line-height: 1.7; }

.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--cyan-500);
}
.contact-detail-text strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.contact-detail-text span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan-500);
  box-shadow: 0 0 0 3px rgba(6,182,212,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

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

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: var(--navy-950);
  padding: 140px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.svg') center/cover;
  opacity: 0.5;
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1.1rem; max-width: 600px; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.82rem;
}
.breadcrumb a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--cyan-400); }
.breadcrumb .sep { color: rgba(255,255,255,0.25); }
.breadcrumb .current { color: var(--cyan-400); }

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

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(34,211,238,0.3); }
  50% { box-shadow: 0 0 40px rgba(34,211,238,0.6); }
}

.animate-fade-up { animation: fadeInUp 0.7s ease both; }
.animate-fade-left { animation: fadeInLeft 0.7s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-logos-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy-950);
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 999;
  }
  .mobile-menu-open .nav-links a { font-size: 1.4rem; }
  
  .services-grid { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: 1fr; }
  .cert-logos-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .container-wide { padding: 0 20px; }
  .nav-inner { padding: 16px 20px; }
  .contact-form { padding: 28px 20px; }
  .section { padding: 64px 0; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .cert-logos-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 2rem; }
  .team-grid { grid-template-columns: 1fr; }
  .partners-row { gap: 20px; }
}

/* ---------- Misc Utility ---------- */
.divider {
  height: 1px;
  background: var(--card-border);
  margin: 48px 0;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 8px 16px;
  background: var(--slate-100);
  border: 1px solid var(--card-border);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-body);
  transition: var(--transition);
}
.pill:hover {
  background: rgba(6,182,212,0.08);
  border-color: rgba(6,182,212,0.3);
  color: var(--cyan-600);
}

/* Sticky CTA bar */
.sticky-enquire {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 500;
  display: none;
}
.sticky-enquire.visible { display: block; }

.floating-btn {
  background: var(--accent-gradient);
  color: white;
  padding: 14px 24px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 32px rgba(34,211,238,0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
}
.floating-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(34,211,238,0.55);
}

/* Scroll progress bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent-gradient);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* Page transition */
.page-transition {
  animation: fadeInUp 0.5s ease both;
}

/* ---------- Clients Section ---------- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.client-logo-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  transition: var(--transition);
  cursor: default;
}

.client-logo-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(34,211,238,0.25);
}

.client-logo-text {
  display: block;
  text-align: center;
  line-height: 1.2;
  transition: opacity 0.2s;
}

.client-logo-card:hover .client-logo-text {
  opacity: 0.75;
}

@media (max-width: 900px) {
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  section.section [style*="grid-template-columns: 280px 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}
