/**
 * EPPS Mobility Unified Design System & Theme CSS
 *
 * @package EPPS_Mobility
 * @version 2.2.0
 */

:root {
  /* Brand Color Palette */
  --color-brand-primary: #0d0e12;
  --color-brand-navy: #0A2540;
  --color-brand-surface: #121317;
  --color-brand-card: #17181e;
  --color-brand-accent: #3fe56c;
  --color-brand-accent-hover: #2ed25a;
  --color-brand-signal: #ff4d4f;
  
  --color-text-primary: #e3e2e8;
  --color-text-slate: #cbd5e1;
  --color-text-muted: #9ca3af;
  --color-border-subtle: rgba(255, 255, 255, 0.1);
  --color-border-glass: rgba(255, 255, 255, 0.08);

  /* Typography Stack */
  --font-sans: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;

  /* Clamp Typography Scales */
  --clamp-h1: clamp(2.25rem, 5vw, 3.5rem);
  --clamp-h2: clamp(1.75rem, 3.5vw, 2.5rem);
  --clamp-h3: clamp(1.25rem, 2.5vw, 1.75rem);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--color-brand-primary);
  color: var(--color-text-primary);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-brand-primary);
  color: var(--color-text-primary);
  overflow-x: hidden;
}

/* Fluid Typography Utilities */
.heading-h1 {
  font-size: var(--clamp-h1);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.heading-h2 {
  font-size: var(--clamp-h2);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.heading-h3 {
  font-size: var(--clamp-h3);
  line-height: 1.25;
  font-weight: 700;
}

/* Glassmorphism & Soft Card Utilities */
.soft-card {
  background: var(--color-brand-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.soft-card:hover {
  border-color: rgba(63, 229, 108, 0.35);
  transform: translateY(-2px);
}

.glass-panel {
  background: rgba(18, 19, 23, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border-subtle);
}

/* Hero Carousel Slide Animation */
.hero-slide {
  transition: opacity 0.5s ease-in-out;
}

/* Core Structural & Sizing Utilities */
.hidden { display: none !important; }
.block { display: block !important; }
.inline-block { display: inline-block !important; }
.inline-flex { display: inline-flex !important; }
.flex { display: flex !important; }
.grid { display: grid !important; }

/* SVG Icon Caps & Standard Utilities */
svg {
  max-width: 100%;
}
svg:not([width]) {
  width: 1.25rem;
  height: 1.25rem;
}
svg.w-3\.5 { width: 0.875rem !important; }
svg.h-3\.5 { height: 0.875rem !important; }
svg.w-4 { width: 1rem !important; }
svg.h-4 { height: 1rem !important; }
svg.w-5 { width: 1.25rem !important; }
svg.h-5 { height: 1.25rem !important; }
svg.w-6 { width: 1.5rem !important; }
svg.h-6 { height: 1.5rem !important; }
svg.w-8 { width: 2rem !important; }
svg.h-8 { height: 2rem !important; }
svg.w-10 { width: 2.5rem !important; }
svg.h-10 { height: 2.5rem !important; }
svg.w-12 { width: 3rem !important; }
svg.h-12 { height: 3rem !important; }

/* Partner Logo Max Height Caps */
.partner-logo-grid img, 
.card img {
  max-height: 55px;
  width: auto;
  object-fit: contain;
}

/* Header Navigation Desktop Row Layout Override */
@media (min-width: 1024px) {
  header nav ul,
  .main-navigation ul {
    flex-direction: row !important;
    align-items: center !important;
  }
}
