/* ==========================================================================
   AHUJA STORE & AHUJA ENTERPRISES — CORE STYLESHEET
   Enterprise UI/UX Design System for Agency & AI Academy
   Color Palette: Deep Navy, Royal Blue, Electric Purple, Cyan, WhatsApp Green
   ========================================================================== */

:root {
  /* Brand Core Colors */
  --navy-dark: #071329;
  --navy-surface: #0b1935;
  --navy-border: #1e293b;
  --royal-blue: #2563eb;
  --royal-blue-hover: #1d4ed8;
  --electric-purple: #7c3aed;
  --electric-purple-hover: #6d28d9;
  --cyan: #06b6d4;
  --cyan-hover: #0891b2;
  --whatsapp-green: #25d366;
  --whatsapp-green-hover: #1eb956;
  --amber-warning: #f59e0b;
  --red-danger: #ef4444;

  /* Light Theme Variables (Default) */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-surface: #ffffff;
  --bg-elevated: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --border-color: #e2e8f0;
  --border-subtle: #edf2f7;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #475569;
  --text-inverse: #ffffff;
  
  --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  --card-shadow-hover: 0 16px 32px -4px rgba(37, 99, 235, 0.14);
  --card-border: 1px solid #e2e8f0;

  --header-bg: rgba(255, 255, 255, 0.94);
  --topbar-bg: #071329;
  --topbar-text: #e2e8f0;

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

  /* Layout */
  --max-width: 1280px;
  --header-height: 80px;
  --topbar-height: 40px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition-fast: 0.18s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Theme Overrides */
[data-theme="dark"] {
  --bg-primary: #071329;
  --bg-secondary: #0b1935;
  --bg-surface: #0f2347;
  --bg-elevated: #132a54;
  --bg-glass: rgba(7, 19, 41, 0.92);
  --border-color: #1e3a6d;
  --border-subtle: #172d54;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-inverse: #0f172a;

  --card-shadow: 0 4px 24px -2px rgba(0, 0, 0, 0.5);
  --card-shadow-hover: 0 16px 36px -4px rgba(37, 99, 235, 0.3);
  --card-border: 1px solid rgba(255, 255, 255, 0.08);

  --header-bg: rgba(7, 19, 41, 0.94);
  --topbar-bg: #030a16;
  --topbar-text: #94a3b8;
}

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

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* Accessible focus ring */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--royal-blue);
  color: #fff;
  padding: 10px 18px;
  z-index: 99999;
  border-radius: var(--radius-sm);
  transition: top var(--transition-fast);
  font-weight: 600;
}
.skip-link:focus {
  top: 15px;
}

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

.gradient-text {
  background: linear-gradient(135deg, var(--royal-blue) 0%, var(--electric-purple) 60%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-full);
  color: var(--royal-blue);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}

[data-theme="dark"] .section-tag {
  background: rgba(37, 99, 235, 0.18);
  border-color: rgba(37, 99, 235, 0.35);
  color: #60a5fa;
}

.section-tag-academy {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.25);
  color: var(--electric-purple);
}
[data-theme="dark"] .section-tag-academy {
  background: rgba(124, 58, 237, 0.2);
  color: #c084fc;
}

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

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
}

/* ==========================================================================
   TOP CONTACT BAR
   ========================================================================== */
.top-bar {
  background-color: var(--topbar-bg);
  color: var(--topbar-text);
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--topbar-text);
}
.top-bar-item:hover {
  color: var(--cyan);
}

.top-bar-badge {
  background: rgba(37, 99, 235, 0.3);
  color: #93c5fd;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

/* ==========================================================================
   STICKY HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  transition: box-shadow var(--transition-fast), background-color var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-logo img {
  height: 48px;
  width: auto;
}

/* Main Navigation Links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.6rem 0.85rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav-link:hover, .nav-link:focus, .nav-item.active .nav-link {
  color: var(--royal-blue);
  background-color: rgba(37, 99, 235, 0.06);
}

[data-theme="dark"] .nav-link:hover, 
[data-theme="dark"] .nav-item.active .nav-link {
  color: #60a5fa;
  background-color: rgba(37, 99, 235, 0.15);
}

/* Mega Menu Dropdown for Services */
.mega-menu {
  position: absolute;
  top: 100%;
  left: -120px;
  width: 780px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-normal);
  z-index: 1100;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-column h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  color: var(--royal-blue);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border-color);
}

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

.mega-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: block;
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius-sm);
}

.mega-links a:hover {
  color: var(--royal-blue);
  background-color: var(--bg-secondary);
}

/* Header CTAs & Utility */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: var(--royal-blue);
}

/* Button Component Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 1.0625rem;
  border-radius: var(--radius-md);
}

.btn-primary {
  background: linear-gradient(135deg, var(--royal-blue) 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  transform: translateY(-1px);
}

.btn-purple {
  background: linear-gradient(135deg, var(--electric-purple) 0%, #6d28d9 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}
.btn-purple:hover {
  background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover {
  background-color: var(--whatsapp-green-hover);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-color);
  color: var(--text-primary);
}
.btn-outline:hover {
  background: var(--bg-secondary);
  border-color: var(--royal-blue);
  color: var(--royal-blue);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
}

/* Mobile Hamburger Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  color: var(--text-primary);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem) 0;
  background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.06) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(124, 58, 237, 0.06) 0%, transparent 40%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--royal-blue);
}
[data-theme="dark"] .hero-badge {
  background: rgba(37, 99, 235, 0.2);
  color: #93c5fd;
}

.hero-badge-green {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.3);
  color: #15803d;
}
[data-theme="dark"] .hero-badge-green {
  background: rgba(37, 211, 102, 0.2);
  color: #4ade80;
}

.hero-title {
  font-size: clamp(1.85rem, 5.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-supporting {
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
}

.hero-description {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
}
.hero-trust-item svg {
  color: var(--royal-blue);
}

.hero-visual-col {
  position: relative;
}

.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.demo-data-pill {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #f59e0b;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 158, 11, 0.35);
  z-index: 10;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   STAT COUNTER BAR (Transparent Demonstration Data Notice)
   ========================================================================== */
.stats-bar-section {
  padding: 2rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--royal-blue);
  line-height: 1;
  margin-bottom: 0.35rem;
}

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

.stat-demo-note {
  font-size: 0.6875rem;
  color: var(--amber-warning);
  font-weight: 600;
  margin-top: 0.2rem;
}

/* ==========================================================================
   FILTER & SEARCH CONTROLS
   ========================================================================== */
.catalogue-controls {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.search-box-wrap {
  position: relative;
  max-width: 580px;
  margin: 0 auto;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.85rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  color: var(--text-primary);
  box-shadow: var(--card-shadow);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.search-input:focus {
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.search-icon-inside {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.filter-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.84375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--royal-blue);
  color: var(--royal-blue);
  background: var(--bg-secondary);
}

.filter-btn.active {
  background: var(--royal-blue);
  border-color: var(--royal-blue);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3);
}

.filter-btn-academy.active {
  background: var(--electric-purple);
  border-color: var(--electric-purple);
}

/* ==========================================================================
   SERVICE CARDS GRID
   ========================================================================== */
.services-section {
  padding: 5rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-surface);
  border: var(--card-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(37, 99, 235, 0.4);
}

.service-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(6, 182, 212, 0.12) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--royal-blue);
  flex-shrink: 0;
}

.service-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.1);
  color: var(--royal-blue);
}

[data-theme="dark"] .service-badge {
  background: rgba(37, 99, 235, 0.25);
  color: #93c5fd;
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.service-price-tag {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.service-price-val {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--royal-blue);
}

.service-price-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.service-card-desc {
  font-size: 0.90625rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.55;
  flex-grow: 1;
}

.service-benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.84375rem;
  color: var(--text-secondary);
}

.service-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.service-benefit-item svg {
  color: var(--royal-blue);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.service-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: auto;
}

.service-card-actions-full {
  grid-column: span 2;
}

/* ==========================================================================
   AHUJA DIGITAL ACADEMY COURSES
   ========================================================================== */
.academy-section {
  padding: 5.5rem 0;
  background: radial-gradient(circle at 85% 15%, rgba(124, 58, 237, 0.08) 0%, transparent 45%),
              radial-gradient(circle at 15% 85%, rgba(37, 99, 235, 0.08) 0%, transparent 45%),
              var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

.course-card {
  background: var(--bg-surface);
  border: var(--card-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -4px rgba(124, 58, 237, 0.18);
  border-color: rgba(124, 58, 237, 0.4);
}

.course-badge {
  background: rgba(124, 58, 237, 0.12);
  color: var(--electric-purple);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
}
[data-theme="dark"] .course-badge {
  background: rgba(124, 58, 237, 0.25);
  color: #c084fc;
}

.course-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0.85rem 0 0.5rem 0;
  line-height: 1.3;
}

.course-fee {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--electric-purple);
  margin-bottom: 0.5rem;
}
[data-theme="dark"] .course-fee {
  color: #c084fc;
}

.course-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.course-meta-tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.course-outcomes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  font-size: 0.84375rem;
  color: var(--text-secondary);
  flex-grow: 1;
}

.course-outcomes-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}
.course-outcomes-list li svg {
  color: var(--electric-purple);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.course-schedule-notice {
  font-size: 0.75rem;
  color: var(--amber-warning);
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   PORTFOLIO DEMONSTRATION SHOWCASE
   ========================================================================== */
.portfolio-section {
  padding: 5rem 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.portfolio-card {
  background: var(--bg-surface);
  border: var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.portfolio-img-wrap {
  position: relative;
  background: #071329;
  cursor: pointer;
  overflow: hidden;
}

.portfolio-img-wrap img {
  width: 100%;
  height: auto;
  transition: transform var(--transition-normal);
}

.portfolio-card:hover .portfolio-img-wrap img {
  transform: scale(1.02);
}

.portfolio-demo-label {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.9);
  color: #fbbf24;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 158, 11, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.portfolio-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--royal-blue);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.portfolio-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.portfolio-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

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

/* ==========================================================================
   PRICING SECTION & TRANSPARENT MATRIX
   ========================================================================== */
.pricing-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.pricing-card {
  background: var(--bg-surface);
  border: var(--card-border);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-normal);
}

.pricing-card.featured {
  border-color: var(--royal-blue);
  box-shadow: 0 12px 36px -4px rgba(37, 99, 235, 0.2);
  transform: scale(1.02);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--royal-blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
}

.pricing-plan-name {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-plan-price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--royal-blue);
  line-height: 1;
  margin: 1rem 0 0.35rem 0;
}

.pricing-plan-period {
  font-size: 0.84375rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.pricing-features li svg {
  color: var(--royal-blue);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.pricing-disclaimer-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--amber-warning);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 2rem;
  line-height: 1.6;
}

/* ==========================================================================
   NATIONWIDE DIRECTORY (28 STATES & 8 UTS)
   ========================================================================== */
.locations-section {
  padding: 5rem 0;
}

.states-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.state-card {
  background: var(--bg-surface);
  border: var(--card-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.state-card:hover {
  border-color: var(--royal-blue);
  transform: translateY(-2px);
}

.state-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.state-name {
  font-size: 1.15rem;
  font-weight: 700;
}

.state-type-badge {
  font-size: 0.6875rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  color: var(--text-muted);
}

.city-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.city-tag {
  font-size: 0.75rem;
  background: var(--bg-secondary);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.city-tag:hover {
  background: var(--royal-blue);
  color: #fff;
}

.remote-notice-banner {
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* ==========================================================================
   ABOUT & FOUNDER SECTION
   ========================================================================== */
.about-section {
  padding: 5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 3.5rem;
}

.founder-card {
  background: var(--bg-surface);
  border: var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  text-align: center;
}

.founder-img {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem auto;
  border-radius: var(--radius-full);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.value-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.value-card h4 {
  font-size: 1rem;
  color: var(--royal-blue);
  margin-bottom: 0.4rem;
}

.value-card p {
  font-size: 0.84375rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
}

.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-surface);
  border: var(--card-border);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--royal-blue);
}

.faq-trigger {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
}

.faq-trigger:hover {
  color: var(--royal-blue);
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--royal-blue);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 1.25rem;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

/* ==========================================================================
   INTERACTIVE CONSULTATION & ENQUIRY MODAL / FORM
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 19, 41, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-surface);
  border: var(--card-border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--red-danger);
  color: #fff;
  border-color: var(--red-danger);
}

.modal-header {
  padding: 2rem 2rem 1.25rem 2rem;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.modal-header p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.modal-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.modal-tab-btn {
  flex: 1;
  padding: 0.85rem;
  background: none;
  border: none;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
}

.modal-tab-btn.active {
  color: var(--royal-blue);
  border-bottom-color: var(--royal-blue);
  background: var(--bg-surface);
}

.modal-body {
  padding: 1.75rem 2rem 2rem 2rem;
}

/* Form Groups */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group-full {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

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

.form-control {
  width: 100%;
  padding: 0.75rem 0.95rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.90625rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.form-check input[type="checkbox"] {
  margin-top: 0.2rem;
  accent-color: var(--royal-blue);
}

.form-info-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ==========================================================================
   IMAGE LIGHTBOX MODAL (PORTFOLIO PREVIEW)
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 19, 41, 0.9);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-inner {
  max-width: 900px;
  width: 100%;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  position: relative;
}

.lightbox-inner img {
  width: 100%;
  max-height: 65vh;
  object-fit: contain;
  background: #000;
}

.lightbox-details {
  padding: 1.5rem;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON & MOBILE BOTTOM CONTACT BAR
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 58px;
  height: 58px;
  background-color: var(--whatsapp-green);
  color: #ffffff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  z-index: 990;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.whatsapp-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* Pulse animation on WhatsApp */
.whatsapp-float-btn::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: var(--radius-full);
  border: 2px solid var(--whatsapp-green);
  animation: waPulse 2s infinite cubic-bezier(0.36, 0.11, 0.89, 0.32);
  pointer-events: none;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 95px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--card-shadow);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 980;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  background: var(--royal-blue);
  color: #fff;
  border-color: var(--royal-blue);
}

/* Mobile Sticky Bottom Contact Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-color);
  z-index: 995;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: center;
  padding: 0 0.5rem;
}

.bottom-bar-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-secondary);
  height: 100%;
}

.bottom-bar-link.wa-accent {
  color: #15803d;
  font-weight: 700;
}
[data-theme="dark"] .bottom-bar-link.wa-accent {
  color: #4ade80;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.site-footer {
  background: #030a16;
  color: #94a3b8;
  border-top: 1px solid #1e293b;
  padding-top: 4.5rem;
  font-size: 0.90625rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-brand-logo img {
  height: 48px;
  width: auto;
}

.footer-desc {
  line-height: 1.6;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.footer-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.2);
  color: #93c5fd;
  border: 1px solid rgba(37, 99, 235, 0.35);
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
}

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.875rem;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover {
  color: #38bdf8;
  padding-left: 4px;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: #cbd5e1;
  font-size: 0.875rem;
}

.footer-contact-item svg {
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-contact-item a:hover {
  color: var(--cyan);
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: #94a3b8;
}

.footer-legal-links {
  display: flex;
  gap: 1.25rem;
}

.footer-legal-links a {
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================================================
   BREADCRUMBS & INNER PAGE HEADERS
   ========================================================================== */
.breadcrumbs {
  padding: 1rem 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  gap: 0.5rem;
}

.breadcrumb-separator {
  color: var(--text-muted);
}

.breadcrumb-item.active {
  color: var(--text-primary);
  font-weight: 600;
}

.page-hero {
  padding: 4rem 0 3.5rem 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-bottom: 1rem;
}

.page-hero p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.125rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (Mobile-First: 360px, 768px, 1024px, 1440px)
   ========================================================================== */
@media (max-width: 1024px) {
  .main-nav {
    display: none !important;
  }

  .nav-list {
    display: none !important;
  }

  .mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    cursor: pointer;
    flex-shrink: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .nav-container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    gap: 0.5rem;
  }

  .brand-logo {
    max-width: 145px;
    flex-shrink: 1;
    overflow: hidden;
  }

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

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

  .header-actions .btn {
    display: none !important;
  }

  .top-bar-right {
    display: none !important;
  }

  .top-bar-content {
    justify-content: center;
    font-size: 0.725rem;
  }

  .top-bar-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    width: 100%;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

  .services-grid, .courses-grid, .portfolio-grid {
    grid-template-columns: 1fr;
  }

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

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

  .form-group-full {
    grid-column: span 1;
  }

  .filter-pills, .filter-pills-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    width: 100%;
  }

  .filter-pills::-webkit-scrollbar, .filter-pills-wrap::-webkit-scrollbar {
    display: none;
  }

  .filter-pill, .btn-filter {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .mobile-bottom-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  body {
    padding-bottom: 64px; /* offset for sticky bottom bar */
  }

  .whatsapp-float-btn {
    bottom: 74px;
    right: 16px;
    width: 50px;
    height: 50px;
  }

  .back-to-top-btn {
    bottom: 132px;
    right: 18px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-supporting {
    font-size: 1.05rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .page-hero h1 {
    font-size: 1.75rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .top-bar-left {
    flex-direction: column;
    gap: 0.2rem;
  }
}

/* Mobile Drawer Overlay & Panel */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 19, 41, 0.7);
  backdrop-filter: blur(6px);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(300px, 85vw);
  height: 100%;
  background: var(--bg-surface);
  z-index: 1210;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--transition-normal), visibility var(--transition-normal);
  padding: 1.5rem;
  overflow-y: auto;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer.active {
  transform: translateX(0);
  visibility: visible;
}

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

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-links a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
}

.mobile-nav-links a:hover, .mobile-nav-links a.active {
  background: rgba(37, 99, 235, 0.1);
  color: var(--royal-blue);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ==========================================================================
   ACCESSIBILITY & CORE WEB VITALS OPTIMIZATIONS
   ========================================================================== */
/* Enhanced Focus Indicator for Keyboard Navigation (WCAG 2.1 AA) */
:focus-visible {
  outline: 2px solid var(--royal-blue);
  outline-offset: 3px;
}

/* Minimum Accessible Touch Targets for Mobile (>= 44px / 48px) */
.footer-links a,
.footer-contact-item a,
.nav-link,
.topbar-link,
.bottom-bar-link,
.theme-toggle-btn,
.mobile-menu-btn,
.city-tag,
.filter-pill,
.az-pill,
.faq-question,
.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* Eliminate Cumulative Layout Shift (CLS) on Images */
img {
  max-width: 100%;
  height: auto;
  aspect-ratio: attr(width) / attr(height);
}

/* Performance: Defer Rendering for Heavy Off-Screen Blocks */
.city-grid,
.locations-az-grid,
.states-grid {
  content-visibility: auto;
  contain-intrinsic-size: 1px 1200px;
}

