:root {
  /* ========================================
     UNIFIED TYPOGRAPHY SYSTEM
     Professional, Consistent, Hierarchy-Based
     ======================================== */
  
  /* Font Family - Single Professional Font */
  --font-base: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  
  /* Font Weights - Semantic & Consistent */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  
  /* Font Sizes - Modular Scale (1.25 ratio) */
  --text-xs: 0.75rem;      /* 12px - Captions, labels */
  --text-sm: 0.875rem;     /* 14px - Small text, metadata */
  --text-base: 1rem;       /* 16px - Body text (BASE) */
  --text-lg: 1.125rem;     /* 18px - Large body, intro text */
  --text-xl: 1.25rem;      /* 20px - Subheadings */
  --text-2xl: 1.5rem;      /* 24px - H4 */
  --text-3xl: 1.875rem;    /* 30px - H3 */
  --text-4xl: 2.25rem;     /* 36px - H2 */
  --text-5xl: 3rem;        /* 48px - H1 */
  --text-6xl: 3.75rem;     /* 60px - Hero headings */
  --text-7xl: 4.5rem;      /* 72px - Display headings */
  
  /* Line Heights - Optimized for Readability */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;
  
  /* Letter Spacing */
  --tracking-tighter: -0.05em;
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;
  
  /* ========================================
     UNIFIED PROFESSIONAL COLOR SYSTEM
     Glossy, Modern, Premium Aesthetic
     ======================================== */
  
  /* Background & Surface - Soft, Clean Whites */
  --bg: #edf2fb;
  --surface: #ffffff;
  --surface-elevated: #f7f9fe;
  --section-bg-alt: #e7effc;
  --bg-subtle: #f4f7ff;
  
  /* Primary Brand - Professional Navy Blue (Unified & Trustworthy) */
  --primary: #1e3a8a;
  --primary-dark: #1e293b;
  --primary-light: #3b82f6;
  --primary-subtle: rgba(30, 58, 138, 0.08);
  
  /* Navy Blue Palette - Unified Shades */
  --navy-primary: #1e3a8a;
  --navy-light: #3b82f6;
  --navy-dark: #1e293b;
  --navy-bright: #60a5fa;
  --navy-subtle: rgba(30, 58, 138, 0.06);
  
  /* Vibrant Blue Accent - Professional & Eye-catching */
  --blue-primary: #3b82f6;
  --blue-light: #60a5fa;
  --blue-dark: #2563eb;
  --blue-bright: #93c5fd;
  --blue-subtle: rgba(59, 130, 246, 0.1);
  
  /* Gradient Accent - Premium Feel */
  --gradient-brand: linear-gradient(135deg, #0f1f3d 0%, #1d3d78 45%, #2f7bff 70%, #5ad7ff 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(15, 31, 61, 0.95) 0%, rgba(47, 123, 255, 0.85) 100%);
  --gradient-brand-bright: linear-gradient(135deg, #2f7bff 0%, #5ad7ff 100%);
  --accent-gradient-1: var(--gradient-brand);
  --accent-gradient-2: var(--gradient-brand-bright);
  --accent-gradient-shine: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 100%);
  
  /* Accent Colors - Carefully Selected for Harmony */
  --accent: #2f7bff;
  --accent-strong: #0f2c73;
  --accent-secondary: #4cc7f2;
  --accent-purple: #5c7dff;
  --accent-teal: #37c5ff;
  --accent-emerald: #5be4ff;
  --accent-orange: #4a9bff;
  --accent-rose: #6da8ff;
  --accent-blue: var(--blue-primary);
  --accent-pink: #7cb7ff;
  --accent-gold: #8acbff;
  --maroon: var(--navy-primary);
  --maroon-dark: var(--primary-dark);
  
  /* Text Colors - High Contrast & Readable */
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-tertiary: #64748b;
  --text-muted: #94a3b8;
  --text-on-primary: #ffffff;
  
  /* Semantic Colors - Professional & Clear */
  --success: #10b981;
  --success-light: #d1fae5;
  --warning: #f59e0b;
  --warning-light: #fef3c7;
  --error: #ef4444;
  --error-light: #fee2e2;
  --info: #3b82f6;
  --info-light: #dbeafe;
  
  /* Border & Divider Colors - Subtle & Professional */
  --border: rgba(30, 58, 138, 0.12);
  --border-light: rgba(30, 58, 138, 0.08);
  --border-strong: rgba(30, 58, 138, 0.2);
  --divider: rgba(30, 58, 138, 0.08);
  
  /* Glossy Shadows - Premium Depth & Elevation */
  --shadow-xs: 
    0 1px 2px rgba(19, 37, 79, 0.04);
  --shadow-sm: 
    0 1px 3px rgba(19, 37, 79, 0.06),
    0 1px 2px rgba(19, 37, 79, 0.04);
  --shadow-md: 
    0 4px 8px rgba(19, 37, 79, 0.08),
    0 2px 4px rgba(19, 37, 79, 0.06);
  --shadow-lg: 
    0 10px 20px rgba(19, 37, 79, 0.1),
    0 4px 8px rgba(19, 37, 79, 0.08);
  --shadow-xl: 
    0 20px 30px rgba(19, 37, 79, 0.12),
    0 10px 15px rgba(19, 37, 79, 0.08);
  --shadow-2xl:
    0 30px 60px rgba(19, 37, 79, 0.15),
    0 15px 25px rgba(19, 37, 79, 0.1);
  --shadow-inner:
    inset 0 2px 4px rgba(19, 37, 79, 0.06);
  --brand-glow:
    0 25px 45px rgba(47, 123, 255, 0.35);
  
  /* Glossy Button Shadows */
  --shadow-button:
    0 4px 12px rgba(47, 123, 255, 0.3),
    0 2px 6px rgba(47, 123, 255, 0.2);
  --shadow-button-hover:
    0 8px 20px rgba(47, 123, 255, 0.35),
    0 4px 10px rgba(47, 123, 255, 0.25);
  
  /* Glassmorphism - Modern Premium Effect */
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-bg-strong: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-shadow: 0 8px 32px rgba(19, 37, 79, 0.12);
  --blur-sm: 8px;
  --blur-md: 16px;
  --blur-lg: 24px;
  --dot-color-primary: rgba(15, 31, 61, 0.08);
  --dot-color-secondary: rgba(47, 123, 255, 0.06);
  --dot-color-accent: rgba(90, 215, 255, 0.15);
  --dot-size: 1.5px;
  --dot-space: 54px;
  
  /* Overlay Colors */
  --overlay-light: rgba(17, 37, 79, 0.12);
  --overlay-medium: rgba(17, 37, 79, 0.3);
  --overlay-dark: rgba(17, 37, 79, 0.72);
  
  /* Spacing & Border Radius - Consistent & Modern */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;
  
  /* Professional Transitions - Smooth & Polished */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Layout Constraints */
  --max-width: 1320px;
  --section-spacing: 4rem;
  --card-spacing: 2rem;
  
  /* Z-index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
  
  /* Backward Compatibility Aliases */
  --text: var(--text-primary);
  --muted: var(--text-muted);
  --text-on-accent: var(--text-on-primary);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1419;
    --surface: #1a1f2e;
    --surface-elevated: #212837;
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --text-muted: #64748b;
    --border: rgba(241, 245, 249, 0.12);
    --border-light: rgba(241, 245, 249, 0.08);
    --border-strong: rgba(241, 245, 249, 0.2);
    
    --glass-bg: rgba(26, 31, 46, 0.8);
    --glass-bg-strong: rgba(26, 31, 46, 0.95);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.4);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

html,
body {
  padding: 0;
  margin: 0;
  min-height: 100%;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background-color: var(--bg);
  background-image: 
    /* Animated Dotted Pattern - Primary */
    radial-gradient(circle, var(--dot-color-primary) var(--dot-size), transparent var(--dot-size)),
    /* Secondary Dotted Layer with Offset */
    radial-gradient(circle, var(--dot-color-secondary) calc(var(--dot-size) * 0.7), transparent var(--dot-size)),
    /* Accent Dots */
    radial-gradient(circle, var(--dot-color-accent) calc(var(--dot-size) * 0.5), transparent var(--dot-size)),
    /* Gradient Mesh Overlay - Top Right */
    radial-gradient(ellipse at top right, rgba(30, 58, 138, 0.06), transparent 60%),
    /* Gradient Mesh Overlay - Bottom Left */
    radial-gradient(ellipse at bottom left, rgba(37, 99, 235, 0.05), transparent 60%),
    /* Gradient Mesh Overlay - Center */
    radial-gradient(ellipse at center, rgba(59, 130, 246, 0.03), transparent 70%);
  background-size: 
    var(--dot-space) var(--dot-space),
    calc(var(--dot-space) * 1.5) calc(var(--dot-space) * 1.5),
    calc(var(--dot-space) * 2) calc(var(--dot-space) * 2),
    100% 100%,
    100% 100%,
    100% 100%;
  background-position: 
    0 0,
    calc(var(--dot-space) / 2) calc(var(--dot-space) / 2),
    calc(var(--dot-space) / 3) calc(var(--dot-space) / 3),
    0 0,
    0 0,
    0 0;
  background-attachment: fixed;
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a.skip-link {
  position: fixed;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-strong);
  color: var(--text-on-primary);
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-weight: var(--font-semibold);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  z-index: 999;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 18px;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
  font-weight: var(--font-medium);
}

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

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

/* ========================================
   UNIFIED TYPOGRAPHY STYLES
   Consistent Headings & Text Hierarchy
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--navy-primary);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  margin: 0 0 1rem;
  letter-spacing: var(--tracking-tight);
}

h1 {
  font-size: var(--text-5xl);
  font-weight: var(--font-extrabold);
  line-height: var(--leading-tight);
  color: var(--navy-dark);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

h2 {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

h3 {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

h4 {
  font-size: var(--text-2xl);
  font-weight: var(--font-semibold);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

h5 {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

h6 {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

button, input, textarea, select {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

strong, b {
  font-weight: var(--font-semibold);
  color: var(--text-primary);
}

em, i {
  font-style: italic;
}

small {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--section-spacing) 0;
}

.section:nth-child(even) {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.02), rgba(99, 102, 241, 0.02));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 
    var(--shadow-sm),
    inset 0 -1px 0 rgba(255, 255, 255, 0.5);
}

@media (prefers-color-scheme: dark) {
  .site-header {
    background: rgba(15, 20, 25, 0.85);
  }
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 1.25rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--primary);
  transition: all var(--transition);
}

.brand:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.brand img {
  height: 88px;
}

.brand {
  font-size: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-normal);
  padding: 0.625rem 1.125rem;
  border-radius: var(--radius);
  color: #1a1a1a;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, var(--navy-primary), var(--blue-primary));
  transition: transform var(--transition);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-link:hover {
  color: var(--navy-primary);
  background: var(--navy-subtle);
}

.nav-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--navy-subtle);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--primary);
  background: var(--navy-subtle);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--text);
}

main {
  flex: 1;
}

.hero {
  padding: 2.5rem 0 2rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
  position: relative;
  min-height: 50vh;
}

.hero-content {
  max-width: 100%;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: var(--leading-tight);
  margin: 0 0 1.25rem;
  color: var(--navy-dark);
  font-weight: var(--font-extrabold);
  letter-spacing: var(--tracking-tight);
  font-style: normal;
}

.hero-content p.lead {
  margin: 0 0 1.5rem;
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  max-width: 45rem;
  font-weight: var(--font-normal);
}

.hero-programme-note {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  font-size: var(--text-base);
  color: var(--text-secondary);
  max-width: 42rem;
  line-height: var(--leading-normal);
}

.hero-programme-note strong {
  color: var(--text-primary);
  font-weight: var(--font-bold);
  margin-right: 0.35rem;
}

.hero-programme-note a {
  color: var(--accent);
  font-weight: var(--font-semibold);
  text-decoration: none;
  margin-left: 0.35rem;
}

.hero-programme-note a:hover {
  text-decoration: underline;
}

.hero-actions-primary {
  margin-top: 1.5rem;
}

.hero-secondary-link {
  margin: 0.5rem 0 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.hero-secondary-link a {
  color: var(--accent-secondary);
  font-weight: 600;
  text-decoration: none;
}

.hero-secondary-link a:hover {
  text-decoration: underline;
}

.hero > div:last-child {
  align-self: start;
  margin-top: 0;
}

.hero picture,
.hero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.hero-grid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 100%;
  margin: 0 auto;
}

.hero > .hero-grid {
  grid-column: 1 / -1; /* span the full hero width when nested */
  width: 100%;
}

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

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-weight: var(--font-semibold);
  font-size: var(--text-base);
  font-family: var(--font-base);
  letter-spacing: var(--tracking-normal);
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  padding: 1.125rem 2.25rem;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient-brand);
  color: var(--text-on-primary);
  box-shadow: var(--shadow-button);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
  border-radius: var(--radius) var(--radius) 0 0;
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-button-hover);
  background: var(--gradient-brand-bright);
}

.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: 
    0 0 0 3px var(--bg),
    0 0 0 5px var(--accent);
  transition: box-shadow var(--transition-fast);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 
    inset 0 0 0 2px var(--border-strong),
    var(--shadow-sm);
  color: var(--primary);
  backdrop-filter: blur(var(--blur-sm));
}

.btn-outline:hover {
  box-shadow: 
    inset 0 0 0 2px var(--accent),
    var(--shadow-md);
  color: var(--accent);
  background: rgba(59, 130, 246, 0.08);
  transform: translateY(-2px);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.metric-card {
  background: 
    linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(37, 99, 235, 0.08) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 1) 100%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(var(--blur-sm));
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 50%, #3b82f6 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.metric-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
  pointer-events: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.metric-card:hover::before {
  opacity: 1;
}

.metric-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.metric-value {
  display: block;
  font-size: var(--text-6xl);
  font-weight: var(--font-extrabold);
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--blue-primary);
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
  letter-spacing: var(--tracking-tight);
  font-variant-numeric: tabular-nums;
  position: relative;
  z-index: 1;
}

.metric-label {
  font-size: var(--text-base);
  letter-spacing: var(--tracking-normal);
  color: var(--text-secondary);
  font-weight: var(--font-semibold);
}

.section-header {
  text-align: center;
  margin: 0 auto 2.5rem;
  max-width: 48rem;
}

.section-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  background: linear-gradient(135deg, var(--navy-primary), var(--blue-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: var(--font-base);
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  line-height: 1.18;
  margin: 0 0 1rem;
  color: var(--navy-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-style: normal;
}

.section-subtitle {
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  max-width: 48rem;
  margin: 0 auto;
  font-weight: var(--font-normal);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--card-spacing);
}

.how-we-help-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--card-spacing);
}

.card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur-amount));
  -webkit-backdrop-filter: blur(var(--blur-amount));
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--glass-border);
  box-shadow: 
    var(--shadow-md),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--navy-primary), var(--blue-primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.card-link:hover h3 {
  color: var(--navy-primary);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 
    var(--shadow-xl),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border-color: var(--navy-primary);
  background: var(--surface);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--navy-primary);
  line-height: var(--leading-snug);
  font-family: var(--font-heading);
}

.card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: var(--leading-relaxed);
  flex-grow: 1;
  font-size: var(--text-base);
  font-weight: var(--font-normal);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.blog-tag-row {
  margin: 0.75rem 0 1.25rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background: 
    linear-gradient(135deg, var(--navy-subtle), var(--blue-subtle)),
    var(--surface);
  border: 1px solid var(--border);
  color: var(--navy-primary);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  font-weight: var(--font-semibold);
  transition: all var(--transition);
}

.tag:hover {
  background: var(--navy-primary);
  color: var(--text-on-primary);
  border-color: var(--navy-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.blog-article-modal {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: min(760px, 90vw);
}

.blog-article-modal p {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
}

.topic-filter-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.topic-filter-bar label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.topic-filter-bar select {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  font-family: var(--font-base);
}

.course-toolbar {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.course-toolbar label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 220px;
}

.course-toolbar input,
.course-toolbar select {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  transition: border-color var(--transition);
}

.course-toolbar input:focus,
.course-toolbar select:focus {
  border-color: var(--accent);
}

/* Skills Filter Styles */
#skills-filter-container {
  margin-bottom: 20px;
}

.skills-filter-wrapper {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.skills-filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.filter-count {
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  background: rgba(41, 98, 255, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
}

.skills-chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-chip {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.skill-chip:hover {
  border-color: var(--accent);
  background: rgba(41, 98, 255, 0.05);
  transform: translateY(-1px);
}

.skill-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  box-shadow: 0 4px 12px rgba(41, 98, 255, 0.3);
}

.skill-chip.active:hover {
  background: #1e5af0;
  border-color: #1e5af0;
  transform: translateY(-1px);
}


.course-carousel {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

@media (min-width: 1024px) {
  .course-carousel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }
}

@media (min-width: 1400px) {
  .course-carousel {
    gap: 36px;
  }
}

.course-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
  position: relative;
  padding-top: 80px;
}

/* Course Category Icon */
.course-icon {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-primary), var(--blue-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    var(--shadow-md),
    0 0 20px rgba(30, 58, 138, 0.2);
  transition: all var(--transition);
}

.course-icon svg {
  width: 32px;
  height: 32px;
  color: white;
}

.course-card:hover .course-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 
    var(--shadow-lg),
    0 0 30px rgba(30, 58, 138, 0.4);
}

.course-card strong {
  font-size: 20px;
  color: var(--primary);
}

/* Course Rating Display */
.course-rating-display {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -4px 0 4px;
}

.rating-stars {
  display: flex;
  gap: 2px;
}

.rating-stars .star {
  font-size: 18px;
  line-height: 1;
}

.rating-stars .star.filled {
  color: #ffa500;
}

.rating-stars .star.half-filled {
  color: #ffa500;
  opacity: 0.6;
}

.rating-stars .star:not(.filled):not(.half-filled) {
  color: #ddd;
}

.rating-text {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.course-rating-display.no-ratings {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}


.course-duration {
  margin: -6px 0 4px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.course-card p {
  flex-grow: 1;
}

.course-card .hero-actions {
  justify-content: space-between;
}

.course-pagination {
  margin-top: 28px;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pagination-status {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.pagination-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pagination-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(14, 165, 233, 0.36);
  background: transparent;
  cursor: pointer;
  transition: background var(--transition);
}

.pagination-dots .dot.active,
.pagination-dots .dot:hover {
  background: rgba(14, 165, 233, 0.32);
}

/* Page number buttons */
.pagination-dots .page-num {
  min-width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid rgba(14, 165, 233, 0.36);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-dots .page-num:hover {
  background: rgba(14, 165, 233, 0.15);
  border-color: rgba(14, 165, 233, 0.6);
}

.pagination-dots .page-num.active {
  background: rgba(14, 165, 233, 0.32);
  border-color: rgba(14, 165, 233, 0.8);
  font-weight: 700;
}

.pagination-dots .page-ellipsis {
  color: var(--muted);
  padding: 0 4px;
}

.muted {
  color: var(--muted);
  font-size: 14px;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.course-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.course-card strong {
  display: block;
  font-size: 18px;
  color: var(--primary);
}

.course-card button {
  align-self: flex-start;
}

.empty-state {
  padding: 40px;
  background: rgba(14, 165, 233, 0.08);
  border-radius: var(--radius);
  border: 1px dashed rgba(14, 165, 233, 0.26);
  color: var(--muted);
  text-align: center;
}

.section-alt {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.05), rgba(14, 165, 233, 0.08));
}

.skeleton-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  width: 100%;
}

.skeleton-card {
  height: 200px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(200, 210, 230, 0.36) 0%, rgba(255, 255, 255, 0.66) 40%, rgba(200, 210, 230, 0.36) 80%);
  background-size: 200% 100%;
  animation: shimmer 1.9s infinite;
  border: 1px solid rgba(199, 210, 240, 0.35);
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Testimonials & logos */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 26px;
  display: grid;
  gap: 18px;
}

.testimonial-card blockquote {
  margin: 0;
  font-style: italic;
  color: var(--text);
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: var(--muted);
}

.logo-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
}

.logo-row img {
  height: 50px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter var(--transition), opacity var(--transition);
}

.logo-row img:hover {
  filter: grayscale(0);
  opacity: 1;
}

.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px clamp(24px, 6vw, 60px);
  display: grid;
  gap: 16px;
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-family: var(--font-base);
}

.cta-banner p {
  margin: 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.88);
}

.cta-banner .btn {
  justify-self: start;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  box-shadow: none;
}

.cta-banner .btn:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.cta-form {
  background: rgba(14, 165, 233, 0.1);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid rgba(14, 165, 233, 0.24);
  display: grid;
  gap: 16px;
}

.cta-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.cta-form input,
.cta-form textarea {
  border: 1px solid rgba(14, 165, 233, 0.28);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
}

.cta-form textarea {
  min-height: 90px;
  resize: vertical;
}

.cta-form .form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.cta-form .form-status {
  font-size: 13px;
  color: var(--muted);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 23, 42, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  z-index: 200;
}

.modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: min(860px, 96vw);
  max-height: 90vh;
  overflow: auto;
  padding: 32px;
  border: 1px solid var(--border);
  display: grid;
  gap: 20px;
}

.modal .course-modal-container {
  position: static;
  top: auto;
  left: auto;
  transform: none;
  width: 100%;
  max-height: none;
  overflow: visible;
}

.modal header h2 {
  margin: 0;
  font-size: 28px;
  color: var(--primary);
}

.modal .subtitle {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 18px;
  color: var(--muted);
  cursor: pointer;
}

.course-design-modal {
  display: grid;
  gap: 24px;
}

.course-design-panel .form-grid,
.course-design-contact .form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.course-design-panel label,
.course-design-contact label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.course-design-panel select,
.course-design-panel textarea,
.course-design-contact input,
.course-design-contact textarea {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  font-family: inherit;
}

.course-design-panel textarea,
.course-design-contact textarea {
  resize: vertical;
  min-height: 88px;
}

.module-preview {
  background: rgba(14, 165, 233, 0.06);
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: var(--radius);
  padding: 18px;
  display: grid;
  gap: 16px;
}

.module-preview h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.module-list {
  display: grid;
  gap: 12px;
}

.module-card {
  background: var(--surface);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(14, 165, 233, 0.18);
  box-shadow: var(--shadow-sm);
}

.module-card h4 {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--primary);
}

.module-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.design-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 12px;
}

.design-output {
  min-height: 120px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px dashed rgba(14, 165, 233, 0.4);
  background: rgba(14, 165, 233, 0.04);
}

.course-design-contact .wide {
  grid-column: 1 / -1;
}

.course-design-contact form {
  display: grid;
  gap: 16px;
}

/* Architect Consultation Form Styles */
.consultation-form {
  display: grid;
  gap: 20px;
}

.form-step {
  display: none;
  animation: fadeIn 0.3s ease-in;
}

.form-step.active {
  display: grid;
  gap: 16px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

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

.form-step-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
}

.form-step-indicator {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

.radio-group {
  display: grid;
  gap: 12px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
}

.radio-option:hover {
  border-color: var(--accent);
  background: rgba(14, 165, 233, 0.04);
}

.radio-option input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.radio-option label {
  flex: 1;
  cursor: pointer;
  margin: 0;
}

.consultation-success {
  text-align: center;
  padding: 40px 20px;
}

.consultation-success h3 {
  color: var(--accent-strong);
  margin-bottom: 12px;
}

.consultation-success p {
  color: var(--muted);
  margin: 8px 0;
}

/* ========================================
   UNIFIED FOOTER STYLES - CONSISTENT ACROSS ALL PAGES
   ======================================== */

footer,
.footer {
  margin-top: 40px;
  padding: 3rem 0 2rem;
  background-color: #1a1a1a !important;
  background: #1a1a1a !important;
  border-top: 3px solid #333333 !important;
  text-align: center;
  color: #ffffff !important;
  font-size: var(--text-base);
  font-weight: var(--font-normal);
}

/* Ensure all footer elements have white text */
footer *,
.footer * {
  color: #ffffff !important;
}

footer a,
.footer a {
  color: #ffffff !important;
  opacity: 0.9;
  font-weight: var(--font-medium);
  transition: all var(--transition);
  text-decoration: none;
}

footer a:hover,
.footer a:hover {
  opacity: 1 !important;
  color: #e0e0e0 !important;
  text-decoration: underline !important;
}

footer h1, footer h2, footer h3, footer h4, footer h5, footer h6,
.footer h1, .footer h2, .footer h3, .footer h4, .footer h5, .footer h6 {
  color: #ffffff !important;
}

footer p, footer span, footer li, footer div,
.footer p, .footer span, .footer li, .footer div {
  color: #ffffff !important;
}

/* Override any page-specific footer styles */
.blog-page footer,
.blog-detail-page footer,
.career-page footer,
.contact-page footer,
[data-page] footer {
  background-color: #1a1a1a !important;
  background: #1a1a1a !important;
  color: #ffffff !important;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  :root {
    --section-spacing: 2.5rem;
    --card-spacing: 1.5rem;
  }

  .container {
    padding: 0 1.5rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 0 2rem;
    min-height: auto;
  }

  .metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 960px) {
  .navbar {
    gap: 1rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 4.5rem;
    right: 1.5rem;
    left: 1.5rem;
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    z-index: 50;
  }

  .nav-links[data-open="true"] {
    display: flex;
  }

  .nav-link {
    justify-content: center;
    padding: 0.875rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .course-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 768px) {
  :root {
    --section-spacing: 2rem;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-content p.lead {
    font-size: 1.125rem;
  }

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

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

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

/* Impact Cards Styling */
.impact-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 2rem;
}

.impact-card {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(14, 165, 233, 0.03) 100%);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.impact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.impact-card:hover::before {
  transform: scaleX(1);
}

.impact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(14, 165, 233, 0.15);
  border-color: var(--accent);
}

.impact-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.impact-card:hover .impact-icon {
  transform: scale(1.1) rotate(5deg);
}

.impact-card h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.impact-card p {
  color: var(--text);
  line-height: 1.7;
  margin: 0;
  text-align: justify;
}

/* Case Studies Grid */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.case-study-card {
  background: var(--surface);
  border-radius: 14px;
  padding: 32px;
  border: 2px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  position: relative;
}

.case-study-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-strong);
}

.case-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.case-study-card h3 {
  font-size: 1.35rem;
  color: var(--primary);
  margin: 0 0 14px 0;
  line-height: 1.4;
}

.case-study-card p {
  color: var(--text);
  line-height: 1.7;
  margin: 0 0 16px 0;
  text-align: justify;
}

.case-outcome {
  background: rgba(14, 165, 233, 0.08);
  padding: 14px 18px;
  border-radius: 10px;
  border-left: 4px solid var(--accent-strong);
  font-size: 0.95rem;
  line-height: 1.6;
}

.case-outcome strong {
  color: var(--accent-strong);
  display: block;
  margin-bottom: 6px;
}

/* Organizations Section */
.organizations-section {
  margin-top: 3rem;
}

.organizations-intro {
  margin-bottom: 3rem;
}

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

.org-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(14, 165, 233, 0.05) 100%);
  color: var(--primary);
  padding: 10px 18px;
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(14, 165, 233, 0.2);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.org-badge:hover {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

/* Public Sector Highlights Carousel */
.public-sector-highlights {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
  padding: 2rem 1.75rem;
  border-radius: 20px;
  border: 2px solid rgba(14, 165, 233, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.public-sector-highlights::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
}

.public-sector-highlights h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 1.5rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlights-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.highlights-carousel-wrapper {
  flex: 1;
  overflow: hidden;
  border-radius: 16px;
}

.highlights-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 1.5rem;
}

.highlight-card-carousel {
  min-width: calc(50% - 0.75rem);
  background: var(--surface);
  padding: 2rem;
  border-radius: 16px;
  border: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.highlight-card-carousel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.highlight-card-carousel:hover::before {
  transform: scaleX(1);
}

.highlight-card-carousel:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(14, 165, 233, 0.15);
  border-color: var(--accent);
}

.highlight-icon-large {
  font-size: 3.5rem;
  line-height: 1;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.highlight-card-carousel:hover .highlight-icon-large {
  transform: scale(1.2) rotate(5deg);
}

.highlight-content-carousel {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.highlight-content-carousel strong {
  display: block;
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
}

.highlight-content-carousel p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.highlight-tags {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.highlight-tags .tag {
  padding: 0.35rem 0.85rem;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(99, 102, 241, 0.1));
  color: var(--accent);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(14, 165, 233, 0.2);
  transition: all 0.3s ease;
}

.highlight-card-carousel:hover .tag {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(99, 102, 241, 0.15));
  border-color: var(--accent);
}

.carousel-nav {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.carousel-nav:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.3);
}

.carousel-nav:active {
  transform: scale(0.95);
}

.carousel-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.carousel-dot:hover {
  background: var(--muted);
  transform: scale(1.2);
}

.carousel-dot.active {
  background: var(--accent);
  width: 32px;
  border-radius: 5px;
  border-color: var(--accent);
}

/* Old highlight styles - keeping for backward compatibility */
.highlight-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.highlight-card {
  background: var(--surface);
  padding: 20px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.12);
  border-color: var(--accent);
}

.highlight-icon {
  font-size: 2rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.highlight-card:hover .highlight-icon {
  transform: scale(1.15);
}

.highlight-content {
  flex: 1;
}

.highlight-content strong {
  display: block;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 6px;
  line-height: 1.4;
}

.highlight-content p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}


/* Enhanced Testimonial Cards */
.testimonial-card {
  position: relative;
  padding: 32px 28px;
  background: var(--surface);
  border-radius: 16px;
  border: 2px solid var(--border);
  transition: all 0.3s ease;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}

.testimonial-card:hover::before {
  transform: scaleY(1);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.testimonial-accent-blue {
  border-color: rgba(14, 165, 233, 0.3);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.02) 0%, var(--surface) 100%);
}

.testimonial-accent-blue::before {
  background: linear-gradient(180deg, #0ea5e9 0%, #0284c7 100%);
}

.testimonial-accent-green {
  border-color: rgba(34, 197, 94, 0.3);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.02) 0%, var(--surface) 100%);
}

.testimonial-accent-green::before {
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
}

.testimonial-accent-purple {
  border-color: rgba(168, 85, 247, 0.3);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.02) 0%, var(--surface) 100%);
}

.testimonial-accent-purple::before {
  background: linear-gradient(180deg, #a855f7 0%, #9333ea 100%);
}

.quote-icon {
  font-size: 3.5rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.15;
  font-family: var(--font-base);
  position: absolute;
  top: 16px;
  right: 24px;
  font-weight: bold;
}

.testimonial-card blockquote {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  margin: 0 0 24px 0;
  font-style: italic;
  position: relative;
  z-index: 1;
  text-align: justify;
}

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

.meta-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}

.testimonial-meta strong {
  display: block;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 4px;
}

.testimonial-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Animation for cards on scroll */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.impact-card,
.case-study-card,
.highlight-card {
  animation: fadeInUp 0.6s ease-out forwards;
}

.impact-card:nth-child(1) { animation-delay: 0.1s; }
.impact-card:nth-child(2) { animation-delay: 0.2s; }
.impact-card:nth-child(3) { animation-delay: 0.3s; }
.impact-card:nth-child(4) { animation-delay: 0.4s; }
.impact-card:nth-child(5) { animation-delay: 0.5s; }

/* Responsive adjustments for new components */
@media (max-width: 768px) {
  .impact-cards-container,
  .case-studies-grid,
  .highlight-cards {
    grid-template-columns: 1fr;
  }
  
  .org-badges {
    justify-content: flex-start;
  }
  
  .public-sector-highlights {
    padding: 1.5rem;
  }
  
  .highlights-carousel-container {
    gap: 0.75rem;
  }
  
  .carousel-nav {
    width: 40px;
    height: 40px;
  }
  
  .carousel-nav svg {
    width: 20px;
    height: 20px;
  }
  
  .highlight-card-carousel {
    min-width: 100%;
    padding: 1.5rem;
  }
  
  .highlight-icon-large {
    font-size: 2.5rem;
  }
  
  .highlight-content-carousel strong {
    font-size: 1rem;
  }
  
  .highlight-content-carousel p {
    font-size: 0.875rem;
  }
  
  .impact-card,
  .case-study-card {
    padding: 20px;
  }
  
  .quote-icon {
    font-size: 2.5rem;
    top: 12px;
    right: 16px;
  }
}

/* ============================================================
   DIGITAL TRANSFORMATION CAROUSEL
   ============================================================ */

.section-transformation {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.03), rgba(139, 92, 246, 0.03));
  position: relative;
  overflow: hidden;
}

.section-transformation::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.section-transformation::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.transformation-carousel-wrapper {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  padding: 2rem 0;
}

.transformation-carousel {
  overflow: hidden;
  border-radius: var(--radius-lg);
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.transformation-card {
  min-width: calc(50% - 1rem);
  background: var(--surface);
  border: 2px solid rgba(99, 102, 241, 0.1);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.transformation-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-orange), var(--accent-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.transformation-card:hover::before {
  transform: scaleX(1);
}

.transformation-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.2);
  border-color: var(--accent-pink);
}

.card-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
  line-height: 1;
  animation: floatIcon 3s ease-in-out infinite;
}

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

.transformation-card:hover .card-icon {
  animation: none;
  transform: scale(1.1) rotate(5deg);
}

.card-content h3 {
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 1rem 0;
  font-weight: 600;
}

.card-content p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.card-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.card-features li {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.04), rgba(139, 92, 246, 0.04));
  border-radius: 8px;
  transition: all 0.2s ease;
}

.card-features li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-orange));
  color: white;
  border-radius: 50%;
  margin-right: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.transformation-card:hover .card-features li {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
  transform: translateX(4px);
}

/* Carousel Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.carousel-indicators .indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-indicators .indicator:hover {
  background: var(--muted);
  transform: scale(1.2);
}

.carousel-indicators .indicator.active {
  width: 32px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-orange));
}

/* Responsive Design */
@media (max-width: 768px) {
  .transformation-card {
    min-width: 100%;
    padding: 2rem;
  }
  
  .carousel-track {
    gap: 1rem;
  }
  
  .card-icon {
    font-size: 3rem;
  }
  
  .card-content h3 {
    font-size: 1.25rem;
  }
  
  .carousel-indicators {
    gap: 0.5rem;
  }
  
  .carousel-indicators .indicator.active {
    width: 24px;
  }
}

@media (max-width: 480px) {
  .transformation-card {
    padding: 1.5rem;
  }
  
  .card-icon {
    font-size: 2.5rem;
  }
  
  .card-content h3 {
    font-size: 1.15rem;
  }
  
  .card-content p {
    font-size: 0.875rem;
  }
  
  .card-features {
    gap: 0.5rem;
  }
  
  .card-features li {
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
  }
}

/* ============================================================
   TRANSFORMATION CTA & CUSTOM CONTACT MODAL
   ============================================================ */

.transformation-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
  border-radius: var(--radius-lg);
  border: 2px solid rgba(99, 102, 241, 0.1);
}

.lowered-cta {
  margin: 2rem auto 0;
  max-width: 720px;
}

.transformation-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 2.5rem;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-orange));
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
  position: relative;
  overflow: hidden;
}

.transformation-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.transformation-cta-btn:hover::before {
  left: 100%;
}

.transformation-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
}

.transformation-cta-btn:active {
  transform: translateY(-1px);
}

.cta-icon {
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

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

.cta-text {
  flex: 1;
}

.cta-arrow {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.transformation-cta-btn:hover .cta-arrow {
  transform: translateX(5px);
}

.transformation-cta-subtitle {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Transformation Modal Styles */
.transformation-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fadeIn 0.3s ease;
}

.transformation-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.transformation-modal-content {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.transformation-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(99, 102, 241, 0.1);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.transformation-modal-close:hover {
  background: var(--accent-pink);
  color: white;
  transform: rotate(90deg);
}

.transformation-modal-header {
  padding: 3rem 3rem 2rem;
  border-bottom: 2px solid rgba(99, 102, 241, 0.1);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.03), rgba(139, 92, 246, 0.03));
}

.transformation-modal-header h2 {
  font-size: 2rem;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 0.75rem 0;
  font-weight: 700;
}

.transformation-modal-header p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.6;
}

.transformation-form {
  padding: 2.5rem 3rem;
}

.transformation-form .form-group {
  margin-bottom: 1.75rem;
}

.transformation-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-size: 0.95rem;
}

.transformation-form input,
.transformation-form select,
.transformation-form textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  background: var(--surface);
  color: var(--text);
  transition: all 0.2s ease;
}

.transformation-form input:focus,
.transformation-form select:focus,
.transformation-form textarea:focus {
  outline: none;
  border-color: var(--accent-pink);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.transformation-form select[multiple] {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.02), rgba(139, 92, 246, 0.02));
  padding: 0.5rem;
}

.transformation-form select[multiple] option {
  padding: 0.75rem;
  border-radius: 6px;
  margin-bottom: 0.25rem;
  cursor: pointer;
}

.transformation-form select[multiple] option:checked {
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-orange));
  color: white;
}

.transformation-form textarea {
  resize: vertical;
  min-height: 80px;
}

.transformation-form-actions {
  margin-top: 2rem;
}

.transformation-submit-btn {
  width: 100%;
  padding: 1.25rem 2rem;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-orange));
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.transformation-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
}

.transformation-submit-btn:active {
  transform: translateY(0);
}

.transformation-form-note {
  text-align: center;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Success Message */
.transformation-success {
  padding: 4rem 3rem;
  text-align: center;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  animation: scaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.transformation-success h3 {
  font-size: 2rem;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 1rem 0;
  font-weight: 700;
}

.transformation-success p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0.75rem 0;
}

.transformation-success .success-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 1.5rem;
}

.transformation-success strong {
  color: var(--accent-pink);
  font-weight: 600;
}

.transformation-success .transformation-submit-btn {
  margin-top: 2rem;
  max-width: 300px;
}

/* Responsive */
@media (max-width: 768px) {
  .transformation-modal {
    padding: 1rem;
  }
  
  .transformation-modal-content {
    max-height: 95vh;
  }
  
  .transformation-modal-header {
    padding: 2rem 1.5rem 1.5rem;
  }
  
  .transformation-modal-header h2 {
    font-size: 1.5rem;
  }
  
  .transformation-form {
    padding: 1.5rem;
  }
  
  .transformation-cta-btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
  
  .cta-icon {
    font-size: 1.25rem;
  }
  
  .transformation-success {
    padding: 2.5rem 1.5rem;
  }
}

/* ============================================================
   AI CONSULTATION MODAL - Floating Button & Multi-Step Form
   ============================================================ */

/* Floating Consultation Button */
.floating-consult-btn {
  position: fixed;
  right: 2rem;
  top: calc(4.5rem + 91px);
  width: 182px;
  height: 182px;
  background: var(--navy-primary);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(30, 58, 138, 0.4),
              0 2px 10px rgba(0, 0, 0, 0.2),
              inset 0 -2px 8px rgba(0, 0, 0, 0.2),
              inset 0 2px 8px rgba(255, 255, 255, 0.15);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(-100px);
  animation: subtleGlow 3s ease-in-out infinite;
}

@keyframes subtleGlow {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.4),
                0 2px 10px rgba(0, 0, 0, 0.2),
                inset 0 -2px 8px rgba(0, 0, 0, 0.2),
                inset 0 2px 8px rgba(255, 255, 255, 0.15);
  }
  50% {
    box-shadow: 0 6px 30px rgba(30, 58, 138, 0.6),
                0 4px 15px rgba(0, 0, 0, 0.25),
                inset 0 -2px 8px rgba(0, 0, 0, 0.2),
                inset 0 2px 8px rgba(255, 255, 255, 0.2);
  }
}

.floating-consult-btn.visible {
  opacity: 1;
  transform: translateY(0);
}

.floating-consult-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 40px rgba(37, 99, 235, 0.5),
              0 6px 20px rgba(0, 0, 0, 0.3),
              inset 0 -2px 10px rgba(0, 0, 0, 0.25),
              inset 0 2px 10px rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  animation: none;
}

.floating-consult-btn:active {
  transform: translateY(-2px) scale(1.05);
}

.floating-consult-btn.pulse {
  animation: gentlePulseRing 1.5s ease-out, subtleGlow 3s ease-in-out infinite;
}

@keyframes gentlePulseRing {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5),
                0 4px 20px rgba(37, 99, 235, 0.3),
                0 2px 10px rgba(0, 0, 0, 0.2),
                inset 0 -2px 8px rgba(0, 0, 0, 0.2),
                inset 0 2px 8px rgba(255, 255, 255, 0.15);
  }
  70% {
    box-shadow: 0 0 0 40px rgba(37, 99, 235, 0),
                0 4px 20px rgba(37, 99, 235, 0.3),
                0 2px 10px rgba(0, 0, 0, 0.2),
                inset 0 -2px 8px rgba(0, 0, 0, 0.2),
                inset 0 2px 8px rgba(255, 255, 255, 0.15);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0),
                0 4px 20px rgba(37, 99, 235, 0.3),
                0 2px 10px rgba(0, 0, 0, 0.2),
                inset 0 -2px 8px rgba(0, 0, 0, 0.2),
                inset 0 2px 8px rgba(255, 255, 255, 0.15);
  }
}

.floating-consult-btn .btn-icon {
  width: 83px;
  height: 83px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  animation: gentleFloat 4s ease-in-out infinite;
}

@keyframes gentleFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-4px) rotate(5deg);
  }
}

.floating-consult-btn:hover .btn-icon {
  animation: iconRotate 0.6s ease-in-out;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
}

@keyframes iconRotate {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.1);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

.floating-consult-btn .btn-text {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

.floating-consult-btn:hover .btn-text {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6),
               0 0 10px rgba(255, 255, 255, 0.3);
}

/* Consultation Modal */
.consultation-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
}

.consultation-modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-container {
  position: relative;
  width: 50vw;
  height: 100vh;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  animation: slideInRight 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

/* Modal Header */
.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 2.5rem 3rem 2rem;
  border-bottom: 2px solid rgba(99, 102, 241, 0.1);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.modal-header-content h2 {
  margin: 0 0 0.75rem 0;
  font-size: 2.25rem;
  background: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  font-weight: 700;
}

.modal-header-content p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.modal-close {
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--muted);
  flex-shrink: 0;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--primary);
  transform: rotate(90deg);
}

/* Modal Body */
.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
}

/* Progress Indicator */
.progress-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
  gap: 0;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--border);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  z-index: 1;
}

.progress-step.active .step-number {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
  transform: scale(1.15);
}

.progress-step.completed .step-number {
  background: var(--accent);
  color: white;
}

.step-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  text-align: center;
}

.progress-step.active .step-label {
  color: var(--accent-strong);
  font-weight: 600;
}

.progress-line {
  width: 60px;
  height: 2px;
  background: var(--border);
  margin: 0 8px;
  position: relative;
  top: -10px;
}

/* Form Steps */
.consultation-form {
  width: 100%;
}

.form-step {
  display: none;
  animation: fadeInStep 0.4s ease;
}

.form-step.active {
  display: block;
}

@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.form-step h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0 0 0.5rem 0;
}

.step-description {
  color: var(--muted);
  margin: 0 0 1.5rem 0;
  font-size: 0.95rem;
}

/* Form Groups */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: var(--text-base);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: var(--text-base);
  font-family: var(--font-body);
  font-weight: var(--font-normal);
  transition: all var(--transition);
  background: var(--surface);
  color: var(--text-primary);
}

/* Multi-select styling */
.form-group select[multiple] {
  padding: 0.5rem;
  min-height: 150px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.02), rgba(139, 92, 246, 0.02));
  border: 2px solid var(--border);
}

.form-group select[multiple] option {
  padding: 0.75rem 1rem;
  margin: 0.25rem 0;
  border-radius: 6px;
  background: white;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
}

.form-group select[multiple] option:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(59, 130, 246, 0.1));
}

.form-group select[multiple] option:checked {
  background: linear-gradient(135deg, #6366f1, #3b82f6);
  color: white;
  font-weight: 600;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-group select[multiple]:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Checkbox Group */
.checkbox-group {
  display: grid;
  gap: 0.75rem;
}

.checkbox-card {
  display: block;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.checkbox-card:hover {
  border-color: var(--accent);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
}

.checkbox-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkbox-card input[type="checkbox"]:checked ~ .checkbox-content {
  color: var(--accent-strong);
}

.checkbox-card input[type="checkbox"]:checked {
  opacity: 1;
  position: relative;
}

.checkbox-card:has(input:checked) {
  border-color: var(--accent-strong);
  background: rgba(14, 165, 233, 0.05);
}

.checkbox-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.checkbox-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.checkbox-content strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--primary);
  font-size: 1rem;
}

.checkbox-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Small Checkbox Cards */
.checkbox-card-small {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 2px solid var(--border);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--surface);
  margin: 0.25rem;
}

.checkbox-card-small:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.1);
}

.checkbox-card-small input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-card-small:has(input:checked) {
  border-color: var(--accent-strong);
  background: rgba(14, 165, 233, 0.08);
  color: var(--accent-strong);
  font-weight: 500;
}

/* Radio Group */
.radio-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.radio-card {
  display: block;
  cursor: pointer;
}

.radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  transition: all 0.2s ease;
  min-height: 100px;
}

.radio-card:hover .radio-content {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
}

.radio-card input:checked ~ .radio-content {
  border-color: var(--accent-strong);
  background: rgba(14, 165, 233, 0.08);
}

.radio-icon {
  font-size: 1.5rem;
}

.radio-content strong {
  font-size: 0.95rem;
  color: var(--primary);
  text-align: center;
}

/* Radio Group Vertical */
.radio-group-vertical {
  display: grid;
  gap: 0.75rem;
}

.radio-card-large {
  display: block;
  cursor: pointer;
}

.radio-card-large input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-content-large {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  transition: all 0.2s ease;
}

.radio-card-large:hover .radio-content-large {
  border-color: var(--accent);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
}

.radio-card-large input:checked ~ .radio-content-large {
  border-color: var(--accent-strong);
  background: rgba(14, 165, 233, 0.05);
}

.radio-icon-large {
  font-size: 2rem;
  flex-shrink: 0;
}

.radio-content-large strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--primary);
  font-size: 1.05rem;
}

.radio-content-large p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* AI Response Container */
.ai-response-container {
  animation: slideUp 0.5s ease;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(139, 92, 246, 0.02) 100%);
  padding: 2rem;
  border-radius: 16px;
  border: 3px solid rgba(99, 102, 241, 0.15);
}

.ai-response-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.08) 100%);
  border-radius: 16px;
  border: 2px solid rgba(99, 102, 241, 0.2);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.15);
}

.ai-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
  border: 3px solid white;
}

.ai-response-header h3 {
  margin: 0 0 0.5rem 0;
  font-size: 2rem;
  background: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.ai-response-header p {
  margin: 0;
  font-size: 1.15rem;
  color: var(--muted);
  font-weight: 500;
}

.ai-response-content {
  padding: 2.5rem;
  background: white;
  border-radius: 16px;
  border: 3px solid rgba(99, 102, 241, 0.15);
  margin-bottom: 2rem;
  max-height: none;
  overflow-y: visible;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.roadmap-sections {
  display: grid;
  gap: 2.5rem;
}

.roadmap-section {
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.03) 100%);
  border-radius: 16px;
  border-left: 6px solid #6366f1;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.1);
  transition: all 0.3s ease;
}

.roadmap-section:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

.roadmap-section.highlight {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.08) 100%);
  border-left-color: #3b82f6;
  border-left-width: 8px;
}

.roadmap-section h4 {
  margin: 0 0 1.5rem 0;
  color: #6366f1;
  font-size: 1.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.roadmap-section p {
  margin: 1rem 0;
  line-height: 1.9;
  font-size: 1.1rem;
  color: var(--text);
}

.phase-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.phase-card {
  background: white;
  padding: 2rem;
  border-radius: 14px;
  border: 2px solid rgba(99, 102, 241, 0.15);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.08);
  transition: all 0.3s ease;
}

.phase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.2);
  border-color: #6366f1;
}

.phase-number {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
  color: white;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.phase-card h5 {
  margin: 0 0 1rem 0;
  color: var(--primary);
  font-size: 1.35rem;
  font-weight: 700;
}

.phase-card ul {
  margin: 0;
  padding-left: 1.5rem;
  font-size: 1.05rem;
  line-height: 2;
  color: var(--text);
}

.phase-card ul li {
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.benefits-list {
  margin: 0;
  padding-left: 1.25rem;
  line-height: 2;
}

.benefits-list li {
  margin-bottom: 0.5rem;
}

.next-steps-list {
  margin: 0;
  padding-left: 1.5rem;
  line-height: 2;
}

.next-steps-list li {
  margin-bottom: 0.5rem;
}

.ai-response-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Modal Footer */
.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.01);
}

/* ============================================
   How We Help Compact Section
   ============================================ */
.how-we-help-compact {
  max-width: 50%;
  margin: 0 auto;
  padding: 2rem 0;
}

.how-we-help-compact .section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #6366f1, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.how-we-help-compact .section-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.help-cards-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.help-card-compact {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.help-card-compact:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.15);
  border-color: #6366f1;
}

.help-card-compact h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.help-card-compact p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ============================================
   Flowchart Contact Section
   ============================================ */
.flowchart-container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 2rem;
  margin: 3rem 0;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.02), rgba(139, 92, 246, 0.02));
  border-radius: 24px;
  border: 2px solid rgba(99, 102, 241, 0.1);
}

.flow-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.flow-header {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(59, 130, 246, 0.1));
  border-radius: 16px;
  border: 3px solid #6366f1;
  margin-bottom: 1rem;
}

.flow-header h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #6366f1, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.flow-header p {
  font-size: 1rem;
  color: var(--muted);
  margin: 0;
}

.flow-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.flow-card:hover {
  transform: translateX(8px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.15);
  border-color: #6366f1;
}

.flow-card.flow-result:hover {
  transform: translateX(-8px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.2);
  border-color: #8b5cf6;
}

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

.flow-icon {
  font-size: 2.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.flow-item h4 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem 0;
  color: var(--text);
}

.flow-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.flow-arrow {
  width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flow-arrow svg {
  filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.3));
}

/* Responsive Design */
@media (max-width: 768px) {
  .floating-consult-btn {
    width: 143px;
    height: 143px;
    right: 1rem;
    top: 1rem;
    border-width: 2px;
  }

  .floating-consult-btn .btn-icon {
    width: 68px;
    height: 68px;
  }

  .floating-consult-btn .btn-text {
    font-size: 0.625rem;
  }
  
  .modal-container {
    width: 100vw;
  }
  
  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 2rem 1.5rem;
  }
  
  .modal-header-content h2 {
    font-size: 1.75rem;
  }
  
  .ai-response-header h3 {
    font-size: 1.5rem;
  }
  
  .roadmap-section h4 {
    font-size: 1.35rem;
  }
  
  .phase-cards {
    grid-template-columns: 1fr;
  }

  /* Flowchart responsive */
  .flowchart-container {
    flex-direction: column;
  }

  .flow-column {
    width: 100%;
  }

  .flow-arrow {
    width: 100%;
    height: 80px;
    transform: rotate(90deg);
    margin: 2rem 0;
  }

  .flow-arrow svg {
    width: 100%;
    height: 80px;
  }

  /* How we help responsive */
  .how-we-help-compact {
    max-width: 100%;
  }

  .help-cards-compact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .floating-consult-btn {
    width: 110px;
    height: 110px;
    right: 0.75rem;
    top: 0.75rem;
  }
  
  .floating-consult-btn .btn-icon {
    width: 52px;
    height: 52px;
  }

  .floating-consult-btn .btn-text {
    font-size: 0.5rem;
  }
  
  .checkbox-content {
    flex-direction: column;
    text-align: center;
  }
  
  .radio-group {
    grid-template-columns: 1fr;
  }
  
  .step-number {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
  
  .modal-header-content h2 {
    font-size: 1.5rem;
  }
  
  .ai-avatar {
    width: 56px;
    height: 56px;
    font-size: 2rem;
  }
}

/* ============================================================
   BOOK A CLASS - FLOATING BUTTON & MODAL STYLES
   ============================================================ */

/* Course Modal Container with Floating Button */
.course-modal-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.floating-book-btn {
  position: sticky;
  top: 20px;
  right: 0;
  float: right;
  z-index: 10;
  margin-bottom: 20px;
  box-shadow: var(--shadow-lg);
  animation: pulse 2s infinite;
}

.floating-book-btn:hover {
  animation: none;
  transform: translateY(-2px);
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.course-modal-content {
  clear: both;
  padding-top: 10px;
}

/* Book a Class Modal */
.book-class-modal {
  max-width: 600px;
  margin: 0 auto;
}

.booking-option-select {
  margin: 1.5rem 0;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.radio-option {
  position: relative;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1rem 1rem 3rem;
  cursor: pointer;
  transition: all var(--transition);
}

.radio-option:hover {
  border-color: var(--accent);
  background: rgba(14, 165, 233, 0.05);
}

.radio-option input[type='radio'] {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.radio-option input[type='radio']:checked ~ label {
  color: var(--accent-strong);
}

.radio-option:has(input[type='radio']:checked) {
  border-color: var(--accent-strong);
  background: rgba(14, 165, 233, 0.08);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.radio-option label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  cursor: pointer;
  margin: 0;
  font-weight: 600;
}

.radio-option label span {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted);
}

/* Booking Forms */
.booking-form {
  display: none !important;
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(14, 165, 233, 0.03);
  border-radius: var(--radius);
  border: 1px solid rgba(14, 165, 233, 0.15);
}

.booking-form.active {
  display: block !important;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.booking-form h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-size: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-weight: 600;
  color: var(--text);
  font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 1rem;
  background: var(--surface);
  color: var(--text);
  transition: border-color var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-info {
  background: rgba(99, 102, 241, 0.08);
  border-left: 4px solid var(--accent-pink);
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
}

.form-info p {
  margin: 0;
  color: var(--text);
  font-size: 0.875rem;
  line-height: 1.5;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* Booking Success Message */
.booking-success {
  text-align: center;
  padding: 3rem 2rem;
  animation: fadeIn 0.5s ease-in;
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border-radius: 50%;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.booking-success h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.booking-success p {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 1.125rem;
  line-height: 1.7;
}

/* Rating Prompt Styles */
.rating-prompt {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(41, 98, 255, 0.05);
  border: 2px solid var(--accent);
  border-radius: 12px;
  animation: slideInUp 0.4s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rating-prompt-content h4 {
  color: var(--primary);
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
}

.rating-prompt-content > p {
  color: var(--text-secondary);
  margin: 0 0 1rem 0;
  font-size: 0.95rem;
}

.rating-stars-input {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.rating-star {
  font-size: 2.5rem;
  cursor: pointer;
  color: #ddd;
  transition: all 0.2s ease;
  user-select: none;
}

.rating-star:hover {
  transform: scale(1.2);
}

.rating-star.selected {
  color: #ffa500;
}


/* Responsive adjustments for book a class */
@media (max-width: 768px) {
  .floating-book-btn {
    position: relative;
    float: none;
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }

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

  .radio-option {
    padding-left: 2.5rem;
  }

  .booking-form {
    padding: 1rem;
  }
}

/* ============================================================
   THANOS BATTLE GAME - EPIC STYLES
   ============================================================ */

/* Launcher Section */
.thanos-battle-launcher {
  margin: 4rem 0 2rem;
  padding: 0;
}

.battle-arena-preview {
  position: relative;
  background: linear-gradient(135deg, 
    rgba(139, 92, 246, 0.1) 0%,
    rgba(14, 165, 233, 0.1) 50%,
    rgba(236, 72, 153, 0.1) 100%);
  padding: 4rem 3rem;
  border-radius: 24px;
  border: 3px solid transparent;
  background-clip: padding-box;
  overflow: hidden;
  text-align: center;
  box-shadow: 
    0 10px 40px rgba(139, 92, 246, 0.3),
    0 0 80px rgba(14, 165, 233, 0.2),
    inset 0 0 60px rgba(255, 255, 255, 0.03);
}

.battle-arena-preview::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, 
    #8b5cf6, #0ea5e9, #ec4899, #f59e0b, #8b5cf6);
  border-radius: 24px;
  z-index: -1;
  animation: borderRotate 8s linear infinite;
  background-size: 400% 400%;
}

@keyframes borderRotate {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.arena-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent 70%);
  transform: translate(-50%, -50%);
  animation: pulseGlow 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes pulseGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.5; }
}

.battle-title-container {
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.battle-title {
  font-size: 4rem;
  font-weight: 900;
  margin: 0 0 1rem 0;
  line-height: 1;
  text-transform: uppercase;
  background: linear-gradient(45deg, #8b5cf6, #0ea5e9, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(139, 92, 246, 0.5);
  animation: titlePulse 2s ease-in-out infinite;
}

.title-word {
  display: inline-block;
  animation: wordFloat 3s ease-in-out infinite;
}

.title-word:nth-child(2) {
  animation-delay: 0.3s;
}

@keyframes titlePulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.3); }
}

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

.battle-subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.hero-label {
  color: #0ea5e9;
  text-shadow: 0 0 20px rgba(14, 165, 233, 0.8);
  animation: heroGlow 1.5s ease-in-out infinite;
}

.villain-label {
  color: #ec4899;
  text-shadow: 0 0 20px rgba(236, 72, 153, 0.8);
  animation: villainGlow 1.5s ease-in-out infinite;
}

@keyframes heroGlow {
  0%, 100% { text-shadow: 0 0 20px rgba(14, 165, 233, 0.8); }
  50% { text-shadow: 0 0 30px rgba(14, 165, 233, 1), 0 0 40px rgba(14, 165, 233, 0.6); }
}

@keyframes villainGlow {
  0%, 100% { text-shadow: 0 0 20px rgba(236, 72, 153, 0.8); }
  50% { text-shadow: 0 0 30px rgba(236, 72, 153, 1), 0 0 40px rgba(236, 72, 153, 0.6); }
}

.vs-text {
  font-size: 2rem;
  background: linear-gradient(45deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes vsRotate {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.05) rotate(0deg); }
}

.battle-description {
  font-size: 1.2rem;
  color: #e2e8f0;
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.battle-description strong {
  color: #60a5fa;
  font-weight: 700;
}

/* Launch Button */
.battle-launch-btn {
  position: relative;
  z-index: 10;
  padding: 1.5rem 4rem;
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 
    0 10px 30px rgba(139, 92, 246, 0.4),
    0 0 40px rgba(236, 72, 153, 0.3),
    inset 0 0 20px rgba(255, 255, 255, 0.2);
  /* Removed animation to make button stable for clicking */
  pointer-events: auto; /* Re-enable clicks on the button */
}

@keyframes btnPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4); }
  50% { transform: scale(1.05); box-shadow: 0 15px 40px rgba(139, 92, 246, 0.6); }
}

.btn-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, 
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%);
  /* Removed animation to make button stable */
  pointer-events: none;
}

@keyframes btnShine {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.btn-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.battle-launch-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 
    0 20px 50px rgba(139, 92, 246, 0.6),
    0 0 60px rgba(236, 72, 153, 0.5);
}

.battle-launch-btn:active {
  transform: translateY(-2px) scale(1.02);
}

.battle-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

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

.stat-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(45deg, #8b5cf6, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
}

/* Battle Modal */
.thanos-battle-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.thanos-battle-modal.active {
  display: flex;
}

.battle-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
}

.battle-container {
  position: relative;
  width: 95%;
  max-width: 1400px;
  height: 95vh;
  max-height: 900px;
  z-index: 1;
}

.battle-arena {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(17, 24, 39, 0.98) 0%,
    rgba(31, 41, 55, 0.98) 50%,
    rgba(17, 24, 39, 0.98) 100%);
  border-radius: 24px;
  border: 3px solid rgba(139, 92, 246, 0.5);
  overflow: hidden;
  box-shadow: 
    0 25px 100px rgba(139, 92, 246, 0.4),
    inset 0 0 100px rgba(139, 92, 246, 0.1);
  animation: arenaGlow 3s ease-in-out infinite;
}

@keyframes arenaGlow {
  0%, 100% { box-shadow: 0 25px 100px rgba(139, 92, 246, 0.4); }
  50% { box-shadow: 0 25px 100px rgba(236, 72, 153, 0.4); }
}

/* Battle Header */
.battle-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 2px solid rgba(139, 92, 246, 0.3);
}

.round-indicator {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-weight: 700;
}

.round-label {
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 2px;
}

.round-number {
  font-size: 2rem;
  color: #8b5cf6;
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.8);
}

.round-total {
  font-size: 1.2rem;
  color: var(--muted);
}

.battle-close {
  width: 40px;
  height: 40px;
  background: rgba(239, 68, 68, 0.2);
  border: 2px solid rgba(239, 68, 68, 0.5);
  border-radius: 50%;
  color: #ef4444;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.battle-close:hover {
  background: rgba(239, 68, 68, 0.4);
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.6);
}

/* Characters Section */
.characters-section {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  padding: 2rem;
  align-items: center;
}

.character-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.character-avatar {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  border: 4px solid;
  background: rgba(0, 0, 0, 0.5);
  transition: all 0.4s ease;
}

.human-avatar {
  border-color: #0ea5e9;
  box-shadow: 
    0 0 40px rgba(14, 165, 233, 0.6),
    inset 0 0 30px rgba(14, 165, 233, 0.2);
}

.thanos-avatar {
  border-color: #ec4899;
  box-shadow: 
    0 0 40px rgba(236, 72, 153, 0.6),
    inset 0 0 30px rgba(236, 72, 153, 0.2);
}

.avatar-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.human-avatar .avatar-glow {
  background: radial-gradient(circle, rgba(14, 165, 233, 0.6), transparent 70%);
}

.thanos-avatar .avatar-glow {
  background: radial-gradient(circle, rgba(236, 72, 153, 0.6), transparent 70%);
}

.character-avatar:hover .avatar-glow {
  opacity: 1;
  animation: avatarPulse 1s ease-in-out infinite;
}

@keyframes avatarPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.avatar-icon {
  position: relative;
  z-index: 1;
  animation: avatarBounce 2s ease-in-out infinite;
}

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

.emotion-indicator {
  position: absolute;
  bottom: -10px;
  right: -10px;
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
}

.emotion-indicator.show {
  opacity: 1;
  transform: scale(1);
}

.human-side .emotion-indicator {
  border-color: #0ea5e9;
}

.thanos-side .emotion-indicator {
  border-color: #ec4899;
}

.character-info {
  text-align: center;
}

.character-name {
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin: 0 0 1rem 0;
}

.human-side .character-name {
  color: #0ea5e9;
  text-shadow: 0 0 20px rgba(14, 165, 233, 0.8);
}

.thanos-side .character-name {
  color: #ec4899;
  text-shadow: 0 0 20px rgba(236, 72, 153, 0.8);
}

.score-display {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.score-label {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 2px;
}

.score-value {
  font-size: 3rem;
  font-weight: 900;
  color: white;
  text-shadow: 0 0 30px currentColor;
  transition: all 0.3s ease;
}

.belief-message {
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
  min-height: 2rem;
  transition: all 0.3s ease;
}

/* VS Divider */
.vs-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.vs-lightning {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.3), transparent 70%);
  transform: translate(-50%, -50%);
  animation: lightningPulse 1.5s ease-in-out infinite;
}

@keyframes lightningPulse {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.2); }
}

.vs-text-large {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(45deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(251, 191, 36, 0.6);
  animation: vsFloat 2s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

@keyframes vsFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.1); }
}

/* Battle Timer */
.battle-timer {
  position: relative;
  width: 100px;
  height: 100px;
  margin-top: 1rem;
}

.timer-ring {
  transform: rotate(-90deg);
}

.timer-circle-bg {
  fill: none;
  stroke: rgba(139, 92, 246, 0.2);
  stroke-width: 8;
}

.timer-circle {
  fill: none;
  stroke: #8b5cf6;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.1s linear, stroke 0.3s ease;
  filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.8));
}

.timer-circle.warning {
  stroke: #f59e0b;
  animation: timerWarning 0.5s ease-in-out infinite;
}

.timer-circle.danger {
  stroke: #ef4444;
  animation: timerDanger 0.3s ease-in-out infinite;
}

@keyframes timerWarning {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.8)); }
  50% { filter: drop-shadow(0 0 20px rgba(245, 158, 11, 1)); }
}

@keyframes timerDanger {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.8)); }
  50% { filter: drop-shadow(0 0 30px rgba(239, 68, 68, 1)); }
}

.timer-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  font-weight: 900;
  color: white;
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.8);
}

/* Question Section */
.question-section {
  padding: 2rem 3rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(139, 92, 246, 0.3);
  border-bottom: 1px solid rgba(139, 92, 246, 0.3);
}

.question-category {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(14, 165, 233, 0.2));
  border: 1px solid rgba(139, 92, 246, 0.5);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #8b5cf6;
  margin-bottom: 1.5rem;
}

.question-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  line-height: 1.6;
  margin: 0 0 1rem 0;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.question-source {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

/* Answer Options */
.answer-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 2rem 3rem;
}

.answer-btn {
  position: relative;
  padding: 1.5rem 2rem;
  background: rgba(139, 92, 246, 0.1);
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  overflow: hidden;
}

.answer-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(14, 165, 233, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.answer-btn:hover::before {
  opacity: 1;
}

.answer-btn:hover {
  transform: translateY(-5px);
  border-color: #8b5cf6;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.answer-btn.disabled {
  pointer-events: none;
  opacity: 0.5;
}

.answer-btn.correct {
  background: rgba(34, 197, 94, 0.2);
  border-color: #22c55e;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
  animation: correctPulse 0.5s ease;
}

.answer-btn.wrong {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4);
  animation: wrongShake 0.5s ease;
}

@keyframes correctPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes wrongShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  75% { transform: translateX(10px); }
}

.option-letter {
  position: relative;
  z-index: 1;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #8b5cf6, #0ea5e9);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.option-text {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  color: white;
  font-weight: 500;
  flex: 1;
}

/* Explanation Panel */
.explanation-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 3rem;
  background: linear-gradient(180deg, 
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.95) 20%,
    rgba(0, 0, 0, 0.98) 100%);
  border-top: 2px solid rgba(139, 92, 246, 0.5);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}

.explanation-panel.show {
  transform: translateY(0);
}

.explanation-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.explanation-icon {
  font-size: 2rem;
}

.explanation-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.explanation-text {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 2rem 0;
  max-width: 900px;
}

.next-question-btn {
  padding: 1rem 3rem;
  background: linear-gradient(135deg, #8b5cf6, #0ea5e9);
  border: none;
  border-radius: 50px;
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

.next-question-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.6);
}

.btn-arrow {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.next-question-btn:hover .btn-arrow {
  transform: translateX(5px);
}

/* Game Over Screen */
.game-over-screen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 100;
}

.game-over-screen.show {
  opacity: 1;
  pointer-events: all;
}

.game-over-content {
  text-align: center;
  animation: gameOverAppear 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes gameOverAppear {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.result-icon {
  font-size: 8rem;
  margin-bottom: 2rem;
  animation: resultIconBounce 1s ease-in-out infinite;
}

@keyframes resultIconBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.1); }
}

.result-title {
  font-size: 4rem;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 2rem 0;
  background: linear-gradient(45deg, #8b5cf6, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.final-scores {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin: 2rem 0;
}

.final-score {
  text-align: center;
}

.final-label {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.human-final .final-label {
  color: #0ea5e9;
}

.thanos-final .final-label {
  color: #ec4899;
}

.final-value {
  display: block;
  font-size: 4rem;
  font-weight: 900;
  color: white;
  text-shadow: 0 0 40px currentColor;
}

.result-message {
  font-size: 1.3rem;
  color: var(--muted);
  margin: 2rem 0 3rem 0;
  line-height: 1.8;
}

.game-over-actions {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.play-again-btn,
.close-game-btn {
  padding: 1.25rem 3rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.play-again-btn {
  background: linear-gradient(135deg, #8b5cf6, #0ea5e9);
  color: white;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

.play-again-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.6);
}

.close-game-btn {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 2px solid rgba(239, 68, 68, 0.5);
}

.close-game-btn:hover {
  background: rgba(239, 68, 68, 0.3);
  transform: translateY(-3px);
}

/* Particles Container */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Score Flash Animation */
@keyframes scoreFlashWin {
  0% { transform: scale(1); color: white; }
  50% { transform: scale(1.3); color: #22c55e; text-shadow: 0 0 40px #22c55e; }
  100% { transform: scale(1); color: white; }
}

@keyframes scoreFlashLose {
  0% { transform: scale(1); color: white; }
  50% { transform: scale(0.8); color: #ef4444; text-shadow: 0 0 40px #ef4444; }
  100% { transform: scale(1); color: white; }
}

.score-value.flash-win {
  animation: scoreFlashWin 0.6s ease;
}

.score-value.flash-lose {
  animation: scoreFlashLose 0.6s ease;
}

/* Screen Shake */
@keyframes screenShake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
  20%, 40%, 60%, 80% { transform: translateX(10px); }
}

.battle-arena.shake {
  animation: screenShake 0.5s ease;
}

/* Responsive */
@media (max-width: 1024px) {
  .characters-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .vs-divider {
    order: -1;
  }
  
  .answer-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .battle-title {
    font-size: 2.5rem;
  }
  
  .battle-subtitle {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .character-avatar {
    width: 100px;
    height: 100px;
    font-size: 3rem;
  }
  
  .question-text {
    font-size: 1.3rem;
  }
  
  .battle-stats {
    gap: 1.5rem;
  }
  
  .stat-value {
    font-size: 2rem;
  }
}


/* Autofill normalization */
input:-webkit-autofill,
select:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--surface, #fff) inset;
  box-shadow: 0 0 0 1000px var(--surface, #fff) inset;
  -webkit-text-fill-color: var(--text, #0f172a);
  caret-color: var(--text, #0f172a);
  transition: background-color 6000s ease 0s;
}

input:-webkit-autofill:focus,
select:-webkit-autofill:focus,
textarea:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--surface, #fff) inset;
  box-shadow: 0 0 0 1000px var(--surface, #fff) inset;
}


/* ========================================= LINKEDIN SHARE NOTIFICATION ========================================= */

.linkedin-share-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #10b981;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  animation: slideInRight 0.3s ease;
  transition: all 0.3s ease;
}


/* ========================================= ENTERPRISE PAGE STYLES ========================================= */

/* Enterprise Hero */
.enterprise-hero { background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%); padding: 3rem 0; border-bottom: 1px solid var(--border); }
.enterprise-hero-content { max-width: 800px; margin: 0 auto; text-align: center; }
.enterprise-hero h1 { font-family: var(--font-base); font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1.2; margin: 1rem 0 1.5rem; color: var(--primary); font-weight: 700; }
.enterprise-hero .lead { font-size: 1.125rem; line-height: 1.7; color: var(--muted); margin-bottom: 2rem; }
