/* ============================================================
   TECH ANALYTICA LIMITED — Main Stylesheet
   Design: Dark Futuristic / AI-Tech / Premium
   Fonts: Syne (display) + DM Sans (body)
   ============================================================ */

/* ── CSS Variables ──────────────────────────────────────── */
:root {
  /* Core Palette */
  --bg-primary:     #0A0A0F;
  --bg-secondary:   #0D0D15;
  --bg-card:        #12121E;
  --bg-card-hover:  #16162A;
  --bg-glass:       rgba(255,255,255,0.04);
  --bg-glass-hover: rgba(255,255,255,0.07);

  /* Brand Accents */
  --blue:    #0EA5FF;
  --purple:  #7B2FBE;
  --magenta: #E91E8C;
  --orange:  #FF6B35;
  --yellow:  #FFD700;
  --cyan:    #00D4FF;
  --green:   #00D68F;

  /* Gradients */
  --grad-primary:   linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  --grad-magenta:   linear-gradient(135deg, var(--magenta) 0%, var(--purple) 100%);
  --grad-warm:      linear-gradient(135deg, var(--orange) 0%, var(--yellow) 100%);
  --grad-hero:      linear-gradient(135deg, #0A0A0F 0%, #0D0D20 50%, #110A1F 100%);
  --grad-text:      linear-gradient(90deg, var(--blue), var(--purple), var(--magenta));

  /* Text */
  --text-primary:   #F0F0FF;
  --text-secondary: #9090B0;
  --text-muted:     #5A5A7A;

  /* Borders */
  --border:         rgba(255,255,255,0.08);
  --border-accent:  rgba(14,165,255,0.3);
  --border-glow:    rgba(14,165,255,0.6);

  /* Shadows */
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.4);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.5);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.6);
  --shadow-blue: 0 0 30px rgba(14,165,255,0.15);
  --shadow-glow: 0 0 60px rgba(14,165,255,0.2);

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Spacing */
  --section-pad: 100px;
  --section-pad-sm: 60px;

  /* Radius */
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --radius-xl:  32px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.18s ease;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ── Selection ──────────────────────────────────────────── */
::selection { background: rgba(14,165,255,0.3); color: #fff; }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.05rem; }

p { color: var(--text-secondary); line-height: 1.75; }

a { color: var(--blue); text-decoration: none; transition: var(--transition-fast); }
a:hover { color: var(--cyan); }

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

/* ── Gradient Text ──────────────────────────────────────── */
.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-accent  { color: var(--blue) !important; }
.text-purple  { color: var(--purple) !important; }
.text-magenta { color: var(--magenta) !important; }
.text-orange  { color: var(--orange) !important; }
.text-yellow  { color: var(--yellow) !important; }
.text-green   { color: var(--green) !important; }

/* ── Section Spacing ────────────────────────────────────── */
.section { padding: var(--section-pad) 0; }
.section-sm { padding: var(--section-pad-sm) 0; }

.section-header { margin-bottom: 60px; }
.section-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.section-header .eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px; height: 2px;
  background: var(--grad-primary);
  border-radius: 2px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p  { max-width: 600px; font-size: 1.05rem; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  padding: 12px 28px;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-primary-glow {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 24px rgba(14,165,255,0.3);
}
.btn-primary-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary-glow:hover {
  color: #fff;
  box-shadow: 0 6px 32px rgba(14,165,255,0.5);
  transform: translateY(-2px);
}
.btn-primary-glow:hover::before { opacity: 1; }

.btn-outline-glow {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--border-accent);
  box-shadow: inset 0 0 0 0 rgba(14,165,255,0);
}
.btn-outline-glow:hover {
  background: rgba(14,165,255,0.08);
  color: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 0 24px rgba(14,165,255,0.2);
  transform: translateY(-2px);
}

.btn-magenta {
  background: var(--grad-magenta);
  color: #fff;
  box-shadow: 0 4px 24px rgba(233,30,140,0.3);
}
.btn-magenta:hover {
  color: #fff;
  box-shadow: 0 6px 32px rgba(233,30,140,0.5);
  transform: translateY(-2px);
}

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

/* ── Cards ──────────────────────────────────────────────── */
.tal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.tal-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity 0.3s;
}
.tal-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
}
.tal-card:hover::before { opacity: 1; }

/* Glass Card */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.glass-card:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-accent);
}

/* ── Badges ─────────────────────────────────────────────── */
.badge-accent {
  background: rgba(14,165,255,0.12);
  color: var(--blue);
  border: 1px solid rgba(14,165,255,0.25);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-purple {
  background: rgba(123,47,190,0.15);
  color: #B57BFF;
  border: 1px solid rgba(123,47,190,0.3);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-magenta {
  background: rgba(233,30,140,0.12);
  color: var(--magenta);
  border: 1px solid rgba(233,30,140,0.25);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-green {
  background: rgba(0,214,143,0.12);
  color: var(--green);
  border: 1px solid rgba(0,214,143,0.25);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ── Dividers ───────────────────────────────────────────── */
.grad-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--purple), transparent);
  border: none;
  opacity: 0.4;
  margin: 0;
}

/* ── Preloader ──────────────────────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }

.preloader-inner { text-align: center; }
.preloader-logo img { animation: pulse 1.2s infinite ease-in-out; }
.preloader-bar {
  width: 160px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  margin: 20px auto 0;
  overflow: hidden;
}
.preloader-fill {
  height: 100%;
  width: 0;
  background: var(--grad-primary);
  border-radius: 2px;
  animation: preload 1.5s ease forwards;
}
@keyframes preload {
  0%   { width: 0; }
  60%  { width: 70%; }
  100% { width: 100%; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(0.92); }
}

/* ══════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: transparent;
  transition: background 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s;
}
.navbar.scrolled {
  padding: 12px 0;
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

/* Brand */
.navbar-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo { width: 38px; height: 38px; object-fit: contain; }
.nav-brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

/* Nav Links */
.navbar-nav .nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 8px 14px !important;
  border-radius: var(--radius-sm);
  letter-spacing: 0.01em;
  transition: var(--transition-fast);
  position: relative;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--blue);
  background: rgba(14,165,255,0.07);
}
.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

/* Dropdown */
.nav-dropdown {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: var(--shadow-lg), var(--shadow-blue);
  min-width: 240px;
}
.nav-dropdown .dropdown-item {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-family: var(--font-body);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}
.nav-dropdown .dropdown-item:hover {
  background: rgba(14,165,255,0.08);
  color: var(--blue);
}
.nav-dropdown .dropdown-header {
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
}
.nav-dropdown .dropdown-divider { border-color: var(--border); }

/* Mobile Toggler */
.navbar-toggler {
  border: 1px solid var(--border);
  background: var(--bg-glass);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  box-shadow: none !important;
  outline: none !important;
}
.toggler-icon {
  display: block;
  width: 22px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* CTA in nav */
.nav-cta { margin-left: 16px; }
@media (max-width: 1199px) {
  .nav-cta { margin: 16px 0 8px; }
  .navbar-nav { padding: 12px 0; gap: 2px; }
}

/* ══════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
  padding: 140px 0 80px;
}

/* Animated grid background */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14,165,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  animation: gridDrift 20s linear infinite;
}
@keyframes gridDrift {
  0%   { transform: translateY(0); }
  100% { transform: translateY(60px); }
}

/* Glowing orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: var(--blue);
  top: -10%; left: -5%;
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: var(--purple);
  top: 20%; right: -10%;
  animation-delay: -3s;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: var(--magenta);
  bottom: -5%; left: 40%;
  animation-delay: -6s;
  opacity: 0.15;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0px) scale(1); }
  50%       { transform: translateY(-30px) scale(1.05); }
}

/* Scan line effect */
.hero::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  animation: scanLine 6s linear infinite;
  opacity: 0.3;
}
@keyframes scanLine {
  0%   { top: -5%; }
  100% { top: 105%; }
}

/* Hero Content */
.hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(14,165,255,0.08);
  border: 1px solid rgba(14,165,255,0.2);
  border-radius: 30px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 28px;
  animation: fadeSlideUp 0.6s ease both;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

.hero h1 {
  animation: fadeSlideUp 0.7s 0.1s ease both;
  margin-bottom: 24px;
}
.hero h1 .line-2 {
  display: block;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 40px;
  animation: fadeSlideUp 0.7s 0.2s ease both;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fadeSlideUp 0.7s 0.3s ease both;
  margin-bottom: 56px;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.7s 0.4s ease both;
}
.hero-stat-item { }
.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Hero Visual (right column) */
.hero-visual {
  position: relative;
  z-index: 2;
  animation: fadeSlideUp 0.8s 0.2s ease both;
}
.hero-visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-blue), var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.hero-visual-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-primary);
}
.hero-visual-card::after {
  content: '';
  position: absolute;
  bottom: -50%; right: -20%;
  width: 300px; height: 300px;
  background: var(--purple);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
}

.hero-tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.hero-tag {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  cursor: default;
}
.hero-tag:hover {
  border-color: var(--border-accent);
  color: var(--blue);
  background: rgba(14,165,255,0.06);
}
.hero-tag i { margin-right: 6px; }

/* Category mini card in hero visual */
.hero-cat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  margin-bottom: 10px;
  transition: var(--transition-fast);
}
.hero-cat-item:hover {
  border-color: var(--border-accent);
  background: rgba(14,165,255,0.06);
}
.hero-cat-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.hero-cat-name { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }
.hero-cat-count { font-size: 0.75rem; color: var(--text-muted); }

/* Floating badge */
.hero-badge-float {
  position: absolute;
  bottom: -20px; left: -20px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
  animation: floatBadge 4s ease-in-out infinite;
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.hero-badge-float .badge-icon {
  width: 36px; height: 36px;
  background: var(--grad-primary);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #fff;
}
.hero-badge-num { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--text-primary); }
.hero-badge-txt { font-size: 0.72rem; color: var(--text-muted); }

/* ── Animations ─────────────────────────────────────────── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ══════════════════════════════════════════════════════════
   SERVICES / FEATURES
   ══════════════════════════════════════════════════════════ */
.services-section { background: var(--bg-secondary); }

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 0;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-blue), var(--shadow-md);
}
.service-card:hover::before { opacity: 0.06; }
.service-card > * { position: relative; z-index: 1; }

.service-icon-wrap {
  width: 64px; height: 64px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  position: relative;
}
.service-icon-wrap::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: var(--grad-primary);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover .service-icon-wrap::after { opacity: 0.3; }

.service-card h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.service-card p { font-size: 0.9rem; color: var(--text-secondary); margin: 0; }

.service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  opacity: 0;
  transform: translateX(-6px);
  transition: var(--transition);
}
.service-card:hover .service-link { opacity: 1; transform: translateX(0); }

/* ══════════════════════════════════════════════════════════
   CATEGORIES SECTION
   ══════════════════════════════════════════════════════════ */
.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  height: 100%;
}
.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-blue);
  text-decoration: none;
}
.cat-icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.cat-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.cat-count {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.cat-arrow {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: var(--transition-fast);
  flex-shrink: 0;
}
.category-card:hover .cat-arrow { color: var(--blue); transform: translateX(4px); }

/* ══════════════════════════════════════════════════════════
   COURSE CARDS
   ══════════════════════════════════════════════════════════ */
.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.course-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-blue);
  text-decoration: none;
}
.course-card-top {
  padding: 24px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.course-cat-badge {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}
.course-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--blue);
}
.course-card-body {
  padding: 18px 24px;
  flex: 1;
}
.course-card-body h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.4;
}
.course-card-body p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
}
.course-card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.course-meta {
  display: flex;
  gap: 16px;
}
.course-meta-item {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.course-meta-item i { color: var(--blue); font-size: 0.75rem; }

.course-enrol-btn {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  transition: var(--transition-fast);
  white-space: nowrap;
}
.course-card:hover .course-enrol-btn {
  background: var(--blue);
  color: #000;
  border-color: var(--blue);
}

/* ══════════════════════════════════════════════════════════
   STATS COUNTER SECTION
   ══════════════════════════════════════════════════════════ */
.stats-section {
  background: linear-gradient(135deg, rgba(14,165,255,0.05), rgba(123,47,190,0.08), rgba(233,30,140,0.04));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 70px 0;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}
.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.stat-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}
.stats-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.stats-inner .stat-item {
  padding: 0 48px;
  border-right: 1px solid var(--border);
}
.stats-inner .stat-item:last-child { border-right: none; }

/* ══════════════════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════════════════ */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  height: 100%;
  position: relative;
  transition: var(--transition);
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px; right: 24px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: var(--blue);
  opacity: 0.12;
  line-height: 1;
}
.testimonial-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-blue);
}
.testimonial-stars { color: var(--yellow); font-size: 0.85rem; margin-bottom: 16px; }
.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 0.9rem; color: var(--text-primary); }
.testimonial-role { font-size: 0.78rem; color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════
   CTA BANNER
   ══════════════════════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, rgba(14,165,255,0.08) 0%, rgba(123,47,190,0.1) 50%, rgba(233,30,140,0.06) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 70px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(14,165,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p { font-size: 1.05rem; max-width: 560px; margin: 0 auto 36px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ══════════════════════════════════════════════════════════
   BLOG CARDS
   ══════════════════════════════════════════════════════════ */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-blue);
  text-decoration: none;
}
.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, rgba(14,165,255,0.15), rgba(123,47,190,0.2));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  color: var(--blue);
  overflow: hidden;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-date { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 10px; }
.blog-card-body h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.4;
  flex: 1;
}
.blog-card-body p { font-size: 0.85rem; color: var(--text-secondary); margin: 0; }
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
}

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.site-footer {
  background: #07070E;
  border-top: 1px solid var(--border);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.footer-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14,165,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,255,0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
}
.footer-brand-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-tagline {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 12px;
}
.footer-tagline em {
  font-style: italic;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.75; }

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
  display: flex; align-items: center; gap: 6px;
}
.footer-links a::before {
  content: '';
  width: 0; height: 1px;
  background: var(--blue);
  transition: width 0.25s ease;
}
.footer-links a:hover { color: var(--blue); }
.footer-links a:hover::before { width: 12px; }

.footer-contact-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.footer-contact-list li i {
  color: var(--blue);
  width: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}
.footer-contact-list a { color: var(--text-muted); }
.footer-contact-list a:hover { color: var(--blue); }

/* Social Icons */
.social-icon {
  width: 40px; height: 40px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}
.social-icon:hover {
  background: rgba(14,165,255,0.12);
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-3px);
}

/* Verify CTA in footer */
.footer-verify-cta {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}
.footer-verify-cta:hover {
  border-color: var(--border-accent);
  background: rgba(14,165,255,0.06);
  color: var(--blue);
  text-decoration: none;
}
.verify-icon-wrap {
  width: 40px; height: 40px;
  background: var(--grad-primary);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}
.verify-cta-title { font-weight: 700; font-size: 0.88rem; color: var(--text-primary); }
.verify-cta-sub   { font-size: 0.75rem; color: var(--text-muted); }

.footer-top { padding-bottom: 60px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}
.footer-copy { font-size: 0.82rem; color: var(--text-muted); }
.footer-legal-links a { font-size: 0.82rem; color: var(--text-muted); }
.footer-legal-links a:hover { color: var(--blue); }

/* ══════════════════════════════════════════════════════════
   BACK TO TOP
   ══════════════════════════════════════════════════════════ */
#backToTop {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 46px; height: 46px;
  background: var(--grad-primary);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(14,165,255,0.4);
  z-index: 999;
}
#backToTop.visible { opacity: 1; visibility: visible; }
#backToTop:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(14,165,255,0.5); }

/* ══════════════════════════════════════════════════════════
   FORMS
   ══════════════════════════════════════════════════════════ */
.form-control, .form-select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  padding: 12px 16px;
  font-size: 0.92rem;
  transition: var(--transition-fast);
}
.form-control:focus, .form-select:focus {
  background: var(--bg-card-hover);
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(14,165,255,0.12);
  color: var(--text-primary);
  outline: none;
}
.form-control::placeholder { color: var(--text-muted); }
.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.form-select option { background: var(--bg-card); color: var(--text-primary); }

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

/* ══════════════════════════════════════════════════════════
   PAGE HERO (inner pages)
   ══════════════════════════════════════════════════════════ */
.page-hero {
  padding: 160px 0 80px;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(14,165,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.page-hero-orb {
  position: absolute;
  top: -30%; right: -10%;
  width: 400px; height: 400px;
  background: var(--blue);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.08;
}
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }
.breadcrumb-item a { color: var(--text-muted); font-size: 0.85rem; }
.breadcrumb-item a:hover { color: var(--blue); }
.breadcrumb-item.active { color: var(--blue); font-size: 0.85rem; }

/* ══════════════════════════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════════════════════════ */
.glow-text { text-shadow: 0 0 20px rgba(14,165,255,0.5); }
.glow-box  { box-shadow: 0 0 30px rgba(14,165,255,0.2) !important; }

.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

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

/* Neon border utility */
.neon-border-blue   { border: 1px solid rgba(14,165,255,0.4) !important; box-shadow: 0 0 20px rgba(14,165,255,0.1); }
.neon-border-purple { border: 1px solid rgba(123,47,190,0.4) !important; box-shadow: 0 0 20px rgba(123,47,190,0.1); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  :root { --section-pad: 70px; }
  .hero { min-height: auto; padding: 130px 0 70px; }
  .hero-visual { margin-top: 48px; }
  .stats-inner .stat-item { border-right: none; border-bottom: 1px solid var(--border); padding: 20px 24px; }
  .stats-inner .stat-item:last-child { border-bottom: none; }
  .cta-banner { padding: 50px 30px; }
}

@media (max-width: 767px) {
  :root { --section-pad: 50px; }
  .hero { padding: 110px 0 60px; }
  .hero-stats { gap: 24px; }
  .hero-stat-number { font-size: 1.6rem; }
  .section-header { margin-bottom: 40px; }
  .hero-badge-float { display: none; }
  .cta-banner { padding: 40px 24px; }
  .cta-banner h2 { font-size: 1.6rem; }
  .footer-top { padding-bottom: 40px; }
  #backToTop { bottom: 20px; right: 16px; width: 40px; height: 40px; }
}

@media (max-width: 575px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .stats-inner { flex-direction: column; }
}
