/* ==========================================================================
   DIAGCCESS AUTO SERVICE - DESIGN SYSTEM & STYLESHEET
   Atelier Spécialisé en Diagnostic, Codage & Électronique Automobile à Fès
   THEME : BLEU & BLANC HIGH-TECH (Modern Blue & White Automotive Theme)
   ========================================================================== */

/* --- 1. DESIGN TOKENS & VARIABLES --- */
:root {
  /* High-Tech Blue & White Backgrounds */
  --bg-primary: #ffffff;
  --bg-secondary: #f4f8fd;
  --bg-surface: #edf4fc;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-card-blue: #f0f7ff;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --bg-glass-heavy: rgba(255, 255, 255, 0.98);

  /* Deep Executive Navy (For High-Contrast Accents, Hero Overlay & Footer) */
  --navy-deep: #0a1628;
  --navy-dark: #0f1d33;
  --navy-card: #13243d;

  /* High-Tech Automotive Blue Accents */
  --accent-blue: #2563eb;
  --accent-blue-hover: #1d4ed8;
  --accent-blue-dark: #1e40af;
  --accent-blue-light: #3b82f6;
  --accent-blue-glow: rgba(37, 99, 235, 0.28);
  --accent-cyan: #0284c7;
  --accent-cyan-light: #38bdf8;
  --accent-gradient: linear-gradient(135deg, #1d4ed8 0%, #0284c7 100%);
  --accent-gradient-hover: linear-gradient(135deg, #1e40af 0%, #0369a1 100%);
  --accent-gradient-soft: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);

  /* WhatsApp Green */
  --whatsapp-green: #25d366;
  --whatsapp-dark: #128c7e;
  --whatsapp-glow: rgba(37, 211, 102, 0.35);

  /* Text & Readability Colors */
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  /* Borders & Dividers */
  --border-subtle: rgba(37, 99, 235, 0.08);
  --border-card: rgba(37, 99, 235, 0.12);
  --border-card-hover: rgba(37, 99, 235, 0.35);
  --border-focus: #2563eb;
  --border-glow: rgba(37, 99, 235, 0.3);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(37, 99, 235, 0.05);
  --shadow-md: 0 8px 24px rgba(37, 99, 235, 0.08);
  --shadow-lg: 0 16px 40px rgba(37, 99, 235, 0.12);
  --shadow-card-hover: 0 16px 36px rgba(37, 99, 235, 0.15), 0 0 15px rgba(2, 132, 199, 0.08);
  --shadow-blue-btn: 0 8px 25px rgba(37, 99, 235, 0.35);
  --shadow-whatsapp: 0 8px 25px rgba(37, 211, 102, 0.4);

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-max: 1240px;
  --header-height: 80px;
  --border-radius-sm: 8px;
  --border-radius-md: 14px;
  --border-radius-lg: 20px;
  --border-radius-full: 9999px;
}

/* --- 2. GLOBAL RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Blue & White Subtle Geometric Grid Background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(circle at 12% 15%, rgba(37, 99, 235, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 88% 70%, rgba(2, 132, 199, 0.05) 0%, transparent 50%),
    linear-gradient(rgba(37, 99, 235, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  pointer-events: none;
  z-index: -1;
}

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

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

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

ul {
  list-style: none;
}

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

/* Section Header Utility */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
}

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

.badge-tag.cyan {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.25);
  color: var(--accent-cyan);
}

.badge-tag.green {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.3);
  color: var(--whatsapp-green);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-title .gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* --- 3. TOP NOTIFICATION BAR --- */
.top-bar {
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.825rem;
  color: #94a3b8;
  padding: 0.55rem 0;
  position: relative;
  z-index: 101;
}

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

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

.top-info-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-info-item svg {
  color: var(--accent-cyan-light);
  flex-shrink: 0;
}

.top-info-item a:hover {
  color: #ffffff;
}

.badge-open {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(37, 211, 102, 0.15);
  color: var(--whatsapp-green);
  padding: 0.15rem 0.6rem;
  border-radius: var(--border-radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-open::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--whatsapp-green);
  box-shadow: 0 0 8px var(--whatsapp-green);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* --- 4. HEADER & NAVIGATION --- */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
  z-index: 100;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: var(--bg-glass-heavy);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
  border-bottom-color: rgba(37, 99, 235, 0.18);
  height: 72px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.logo-badge {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 100%);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.site-logo:hover .logo-badge {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.logo-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #ffffff;
  opacity: 0.8;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.logo-name span {
  color: var(--accent-blue);
}

.logo-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width var(--transition-normal);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-blue);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ==========================================================================
   LANGUAGE SWITCHERS (HEADER, TOP BAR, MOBILE DRAWER)
   ========================================================================== */
/* Header Prominent Pill Switcher */
.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e40af;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1.5px solid rgba(37, 99, 235, 0.28);
  border-radius: var(--border-radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
  user-select: none;
  text-decoration: none;
  white-space: nowrap;
}

.lang-switch-btn:hover {
  background: var(--accent-gradient);
  color: #ffffff;
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

.lang-switch-btn .lang-flag {
  font-size: 1.15rem;
  line-height: 1;
  display: inline-block;
}

.lang-switch-btn .lang-text {
  letter-spacing: 0.02em;
  font-family: inherit;
}

/* Top Notification Bar Switcher */
.top-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--border-radius-full);
  padding: 0.15rem 0.5rem;
}

.top-lang-btn {
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.top-lang-btn:hover,
.top-lang-btn.active {
  color: #ffffff;
  background: rgba(37, 99, 235, 0.5);
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.3);
}

.top-lang-sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.7rem;
}

/* Mobile Drawer Language Selector */
.mobile-lang-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: #f0f7ff;
  border: 1.5px solid rgba(37, 99, 235, 0.18);
  border-radius: var(--border-radius-md);
  margin-bottom: 1.25rem;
}

.mobile-lang-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.mobile-lang-pills {
  display: flex;
  gap: 0.5rem;
}

.mobile-lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--border-radius-full);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-lang-pill.active {
  background: var(--accent-gradient);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-blue-btn);
}

.btn-primary:hover {
  background: var(--accent-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45);
  color: #ffffff;
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: var(--shadow-whatsapp);
  font-weight: 700;
}

.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.btn-outline {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.25);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background: #f0f7ff;
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-red {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.25);
  color: var(--accent-blue);
}

.btn-outline-red:hover {
  background: var(--accent-gradient);
  border-color: transparent;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  padding: 0.55rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.mobile-toggle:hover {
  background: #f0f7ff;
  color: var(--accent-blue);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 360px;
  height: 100vh;
  background: #ffffff;
  border-left: 1px solid rgba(37, 99, 235, 0.15);
  box-shadow: -10px 0 35px rgba(15, 23, 42, 0.2);
  z-index: 105;
  transition: right var(--transition-smooth);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

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

.drawer-close-btn {
  background: #f1f5f9;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.drawer-close-btn:hover {
  background: #fee2e2;
  color: #dc2626;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.85rem 1rem;
  border-radius: var(--border-radius-sm);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background: #eff6ff;
  color: var(--accent-blue);
  border-left: 3px solid var(--accent-blue);
}

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

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 104;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* --- 5. HERO SECTION - PRO AUTOMOTIVE SLIDER WITH HUD TELEMETRY --- */
.hero-section {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: var(--navy-deep);
}

/* Global Top Progress Timer Bar */
.slider-progress-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 25;
}

.slider-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #38bdf8, #60a5fa, #818cf8);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.8);
  transition: width 0.08s linear;
}

/* Slides Wrapper */
.hero-slides-wrapper {
  position: relative;
  width: 100%;
  min-height: 580px;
  flex: 1;
  display: flex;
  align-items: center;
}

/* Individual Slide */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  padding: 4rem 0 3.5rem 0;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.hero-bg-container {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.38) contrast(1.15);
  transform: scale(1.02);
  transition: transform 12s cubic-bezier(0.1, 0.5, 0.1, 1);
}

.hero-slide.active .hero-bg-image {
  transform: scale(1.09);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 75% 45%,
    rgba(2, 132, 199, 0.28) 0%,
    rgba(10, 22, 40, 0.82) 45%,
    rgba(10, 22, 40, 0.96) 85%
  ),
  linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.94) 0%,
    rgba(29, 78, 216, 0.75) 55%,
    rgba(2, 132, 199, 0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

/* Pro Split Grid Layout: Left Content + Right Live Telemetry Card */
.hero-grid-pro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
}

.hero-text-col {
  max-width: 650px;
}

/* Staggered Animations on Active Slide */
.hero-slide.active .hero-badge-pill {
  animation: slideBadgeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-slide.active .hero-title {
  animation: slideTitleIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.hero-slide.active .hero-subtitle {
  animation: slideTextIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.18s forwards;
}

.hero-slide.active .hero-spec-chips {
  animation: slideChipsIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.26s forwards;
}

.hero-slide.active .hero-actions {
  animation: slideActionsIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.34s forwards;
}

.hero-slide.active .hero-hud-card {
  animation: slideHudIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

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

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

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

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

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

@keyframes slideHudIn {
  from { opacity: 0; transform: translateX(35px) scale(0.96); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

/* Badge Pill with Live Beacon Dot */
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1.15rem;
  border-radius: var(--border-radius-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.pill-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  animation: pulseBeacon 2s infinite;
}

@keyframes pulseBeacon {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.hero-badge-pill .pill-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
}

.hero-badge-pill .pill-text span {
  color: #93c5fd;
  font-weight: 700;
}

.hero-title {
  font-size: clamp(2.2rem, 4.4vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.15rem;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.hero-title .highlight-blue {
  background: linear-gradient(135deg, #93c5fd 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 35px rgba(56, 189, 248, 0.35);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: #e2e8f0;
  line-height: 1.68;
  max-width: 620px;
  margin-bottom: 1.5rem;
}

/* Pro Spec Chips */
.hero-spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-full);
  color: #f1f5f9;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.spec-chip svg {
  color: #38bdf8;
  flex-shrink: 0;
}

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

.hero-actions .btn-outline {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.hero-actions .btn-outline:hover {
  background: #ffffff;
  color: var(--accent-blue);
  border-color: #ffffff;
}

/* --- PRO FLOATING HUD TELEMETRY CARD (RIGHT COLUMN) --- */
.hero-visual-col {
  display: flex;
  justify-content: center;
}

.hero-hud-card {
  width: 100%;
  max-width: 440px;
  background: rgba(15, 29, 51, 0.72);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--border-radius-md);
  padding: 1.75rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 30px rgba(37, 99, 235, 0.2);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hero-hud-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, #2563eb, #38bdf8);
}

.hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 1.25rem;
}

.hud-status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hud-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulseBeacon 1.8s infinite;
}

.hud-live-dot.blue { background: #38bdf8; box-shadow: 0 0 10px #38bdf8; }
.hud-live-dot.purple { background: #a855f7; box-shadow: 0 0 10px #a855f7; }
.hud-live-dot.amber { background: #f59e0b; box-shadow: 0 0 10px #f59e0b; }

.hud-status-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-transform: uppercase;
}

.hud-badge-tag {
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--border-radius-full);
}

/* Radar Scan Graphic */
.hud-radar-scanner {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px dashed rgba(56, 189, 248, 0.4);
  margin: 0 auto 1.25rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-scan-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #38bdf8);
  transform-origin: 0 0;
  animation: rotateRadar 3s linear infinite;
}

@keyframes rotateRadar {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.radar-core-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Chip Preview */
.hud-chip-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-sm);
  margin-bottom: 1.25rem;
}

.hud-chip-info {
  display: flex;
  flex-direction: column;
}

.hud-chip-info strong {
  font-size: 0.85rem;
  color: #ffffff;
}

.hud-chip-info span {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* App Badges in HUD */
.hud-app-badges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.app-chip {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius-sm);
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
}

.app-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.app-dot.green { background: #22c55e; }
.app-dot.blue { background: #3b82f6; }
.app-dot.spotify { background: #1db954; }
.app-dot.cyan { background: #06b6d4; }

/* Telemetry List */
.hud-telemetry-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.telemetry-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  font-size: 0.825rem;
}

.tel-label {
  color: #cbd5e1;
  font-weight: 500;
}

.tel-val {
  font-weight: 700;
  font-size: 0.8rem;
}

.tel-val.text-success { color: #4ade80; }
.tel-val.text-cyan { color: #38bdf8; }
.tel-val.text-highlight { color: #facc15; }

.hud-footer {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hud-footer-text {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.775rem;
  color: #94a3b8;
  font-weight: 500;
}

.hud-footer-text svg {
  color: #38bdf8;
  flex-shrink: 0;
}

/* --- PRO FLOATING NAVIGATION CONTROLS --- */
.slider-nav-controls {
  position: absolute;
  top: 48%;
  right: 2.25rem;
  transform: translateY(-50%);
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  background: rgba(10, 22, 40, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.85rem 0.55rem;
  border-radius: var(--border-radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.slider-arrow, .slider-play-pause {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-arrow:hover, .slider-play-pause:hover {
  background: #ffffff;
  color: var(--accent-blue);
  transform: scale(1.08);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.slider-play-pause .icon-play {
  display: none;
}

.slider-play-pause.paused .icon-pause {
  display: none;
}

.slider-play-pause.paused .icon-play {
  display: block;
}

.slider-counter {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  padding: 0.2rem 0;
  text-align: center;
  user-select: none;
}

.slider-counter .current {
  color: #38bdf8;
  font-size: 1.15rem;
}

.slider-counter .total {
  color: #94a3b8;
  font-size: 0.8rem;
}

/* --- QUICK SWITCHER TABS WITH EMBEDDED PROGRESS BARS --- */
.slider-tabs-container {
  position: relative;
  z-index: 10;
  margin-top: auto;
  margin-bottom: 1.5rem;
  width: 100%;
}

.slider-tabs-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.slider-tab {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-sm);
  padding: 1rem 1.15rem;
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

/* Embedded tab progress track */
.tab-progress-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
}

.tab-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #2563eb);
  box-shadow: 0 0 8px #38bdf8;
  transition: width 0.08s linear;
}

.slider-tab.active .tab-progress-track {
  background: rgba(37, 99, 235, 0.2);
}

.slider-tab:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}

.slider-tab.active {
  background: #ffffff;
  color: var(--text-primary);
  border-color: #ffffff;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
  transform: translateY(-3px);
}

.tab-content-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.tab-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.tab-index {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  color: #38bdf8;
}

.slider-tab.active .tab-index {
  color: var(--accent-blue);
}

.tab-icon {
  color: #94a3b8;
  display: flex;
}

.slider-tab.active .tab-icon {
  color: var(--accent-blue);
}

.tab-title {
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.tab-sub {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
}

.slider-tab.active .tab-sub {
  color: #64748b;
}

/* Trust Badges Bar in Hero Base */
.hero-trust-wrapper {
  position: relative;
  z-index: 10;
  padding-bottom: 2rem;
  width: 100%;
}

.hero-trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.trust-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.25);
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 800;
}

.trust-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #f1f5f9;
}

/* --- 6. VEHICLE BRANDS CAROUSEL / LOGO TICKER --- */
.brands-ticker-section {
  background: #f0f7ff;
  border-top: 1px solid rgba(37, 99, 235, 0.1);
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
  padding: 1.5rem 0;
  position: relative;
  overflow: hidden;
}

.ticker-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.ticker-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-blue);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.brand-badge {
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.15);
  padding: 0.45rem 1.1rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.04);
}

.brand-badge span {
  color: var(--accent-blue);
}

/* --- 7. SERVICES SECTION (WHITE & BLUE CARDS) --- */
.services-section {
  padding: 6rem 0;
  background: #ffffff;
  position: relative;
}

/* Filter Tabs */
.services-filter-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 3.5rem;
}

.filter-btn {
  background: #f1f5f9;
  border: 1px solid rgba(37, 99, 235, 0.12);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border-radius: var(--border-radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--accent-blue);
  border-color: rgba(37, 99, 235, 0.3);
  background: #e0f2fe;
}

.filter-btn.active {
  background: var(--accent-gradient);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}

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

.service-card {
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: var(--border-radius-md);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.05);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background var(--transition-normal);
}

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

.service-card:hover::before {
  background: var(--accent-gradient);
}

.service-card.hidden {
  display: none !important;
}

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

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--border-radius-sm);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(2, 132, 199, 0.06) 100%);
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.service-card:hover .service-icon-box {
  transform: scale(1.08);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(2, 132, 199, 0.12) 100%);
}

.service-cat-pill {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--border-radius-full);
  background: rgba(37, 99, 235, 0.07);
  border: 1px solid rgba(37, 99, 235, 0.18);
  color: var(--accent-blue);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-perks {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(37, 99, 235, 0.08);
}

.service-perk-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: var(--text-secondary);
}

.service-perk-item svg {
  color: var(--whatsapp-green);
  flex-shrink: 0;
}

.service-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.service-card-footer .btn {
  width: 100%;
}

/* --- 9. REALISATIONS & INTERACTIVE BEFORE/AFTER SHOWCASE --- */
.realisations-section {
  padding: 6rem 0;
  background: #f8fbff;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(37, 99, 235, 0.08);
}

/* 2-Column Grid (2 on top, 2 below) */
.ba-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
  margin-bottom: 4.5rem;
}

.before-after-card {
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.before-after-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.14);
  border-color: rgba(37, 99, 235, 0.35);
}

.before-after-header {
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ba-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ba-badge-tech {
  display: inline-block;
  background: rgba(37, 99, 235, 0.09);
  color: var(--accent-blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.65rem;
  border-radius: var(--border-radius-full);
  width: fit-content;
}

.ba-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
}

.ba-legend {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.legend-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-full);
}

.legend-tag.before {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.legend-tag.after {
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent-blue);
  border: 1px solid rgba(37, 99, 235, 0.25);
}

/* Split Viewer Box */
.before-after-viewer {
  position: relative;
  width: 100%;
  height: 290px;
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
  background: #0f172a;
  container-type: inline-size;
}

.ba-image-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ba-image-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: block;
}

.before-layer {
  width: 50%;
  overflow: hidden;
  z-index: 2;
  border-right: 2px solid #ffffff;
  transition: none;
}

.before-layer img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100cqw;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.layer-pill {
  position: absolute;
  top: 1rem;
  z-index: 4;
  padding: 0.35rem 0.85rem;
  border-radius: var(--border-radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.after-pill {
  right: 1rem;
  background: rgba(37, 99, 235, 0.9);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.before-pill {
  left: 1rem;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Draggable Handle */
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 40px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
}

.ba-handle:active {
  cursor: grabbing;
}

.handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

.handle-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
  border: 2.5px solid #ffffff;
  position: relative;
  z-index: 2;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.ba-handle:hover .handle-button {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.75);
}

/* Card Body with bullets & CTA */
.ba-card-body {
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  justify-content: space-between;
}

.ba-card-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ba-bullet-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.ba-bullet-item svg {
  color: var(--accent-blue);
  flex-shrink: 0;
}

.ba-card-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(37, 99, 235, 0.08);
}

.ba-card-action .btn {
  font-size: 0.85rem;
  padding: 0.55rem 1.15rem;
  gap: 0.5rem;
}

/* Recent Projects Carousel */
.recent-projects-wrapper {
  margin-top: 2rem;
}

.projects-carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.75rem;
  gap: 1rem;
}

.projects-carousel-title {
  font-size: 1.65rem;
  color: var(--text-primary);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.projects-carousel-nav {
  display: flex;
  gap: 0.65rem;
}

.proj-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.proj-nav-btn:hover {
  background: var(--accent-gradient);
  color: #ffffff;
  border-color: transparent;
  transform: scale(1.06);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}

.projects-track-container {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.5rem 0.25rem 1.5rem 0.25rem;
}

.projects-track-container::-webkit-scrollbar {
  display: none;
}

.projects-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
}

.project-card {
  width: min(320px, calc(100vw - 3rem));
  flex-shrink: 0;
  scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: var(--border-radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.05);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.14);
  border-color: var(--accent-blue);
}

.proj-brand-tag {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.proj-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.proj-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
}

.proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.proj-pill {
  background: #eff6ff;
  color: var(--accent-blue-dark);
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 9999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.proj-action {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(37, 99, 235, 0.08);
}

.proj-link {
  color: var(--accent-blue);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--transition-fast);
}

.proj-link:hover {
  color: var(--accent-blue-hover);
  text-decoration: underline;
}

/* --- 8. BOOKING & SERVICE REQUEST MODAL --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.modal-container {
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: var(--border-radius-lg);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem 2.25rem;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25), 0 0 30px rgba(37, 99, 235, 0.1);
  transform: scale(0.94) translateY(20px);
  transition: transform var(--transition-normal);
  position: relative;
}

.modal-overlay.open .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #f1f5f9;
  border: 1px solid rgba(37, 99, 235, 0.12);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: #fee2e2;
  border-color: #ef4444;
  color: #dc2626;
}

.modal-header {
  margin-bottom: 1.75rem;
  padding-right: 2rem;
}

.modal-title {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Form Styles */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.form-label span.req {
  color: #ef4444;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--border-radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
  background: #ffffff;
}

.form-select option {
  background: #ffffff;
  color: var(--text-primary);
}

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

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.form-note svg {
  color: var(--whatsapp-green);
  flex-shrink: 0;
}

/* --- 9. WHY CHOOSE US SECTION (ICE-BLUE & WHITE) --- */
.why-us-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, #f0f7ff 0%, #e6f0fa 100%);
  position: relative;
  border-top: 1px solid rgba(37, 99, 235, 0.1);
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.why-card {
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: var(--border-radius-md);
  padding: 2.25rem 1.75rem;
  text-align: left;
  position: relative;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.05);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow-card-hover);
}

.why-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-sm);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.12);
}

.why-card-title {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.why-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- 10. ABOUT SECTION (PURE WHITE & BLUE ACCENTS) --- */
.about-section {
  padding: 6rem 0;
  background: #ffffff;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image-card {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.15);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.1);
  position: relative;
}

.about-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-badge-float {
  position: absolute;
  bottom: 2rem;
  right: -1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: var(--border-radius-md);
  padding: 1.25rem 1.75rem;
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.15);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-badge-float .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.about-badge-float .badge-info h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.about-badge-float .badge-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.about-text-content {
  display: flex;
  flex-direction: column;
}

.about-paragraph {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.75rem 0 2.25rem 0;
}

.highlight-box {
  background: #f0f7ff;
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: var(--border-radius-sm);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.highlight-box .box-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-blue);
}

.highlight-box .box-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* --- 11. SOLUTIONS POUR VÉHICULES MODERNES (DEEP SAPPHIRE BLUE BANNER) --- */
.modern-vehicles-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #0b1a36 0%, #1e3a8a 60%, #0369a1 100%);
  position: relative;
  color: #ffffff;
}

.modern-vehicles-section .section-title {
  color: #ffffff;
}

.modern-vehicles-section .section-subtitle {
  color: #cbd5e1;
}

.modern-vehicles-section .badge-tag {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #93c5fd;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.solution-pill-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--border-radius-md);
  padding: 1.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
}

.solution-pill-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(56, 189, 248, 0.3);
}

.sol-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-sm);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sol-content h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.sol-content p {
  font-size: 0.8rem;
  color: #cbd5e1;
}

/* --- 12. 3 STEPS PROCESS (WHITE & BLUE) --- */
.process-section {
  padding: 6rem 0;
  background: #ffffff;
  position: relative;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.process-step-card {
  background: #f8fbff;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: var(--border-radius-md);
  padding: 2.5rem 2rem;
  position: relative;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.04);
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.process-step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow-card-hover);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.step-title {
  font-size: 1.35rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- 13. CONTACT & LOCATION SECTION (ICE-BLUE & WHITE) --- */
.contact-section {
  padding: 6rem 0;
  background: #f0f7ff;
  border-top: 1px solid rgba(37, 99, 235, 0.1);
  position: relative;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-info-card {
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.07);
}

.contact-info-card h3 {
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.contact-info-card p.lead {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-detail-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-sm);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-box.green {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.25);
  color: var(--whatsapp-green);
}

.contact-meta h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
  color: var(--text-primary);
}

.contact-meta p, .contact-meta a {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.contact-meta a:hover {
  color: var(--accent-blue);
}

.contact-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Map Card */
.map-container-card {
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.07);
}

.map-embed-wrapper {
  position: relative;
  width: 100%;
  height: 380px;
  background: #f1f5f9;
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-card-footer {
  padding: 1.5rem 2rem;
  background: #ffffff;
  border-top: 1px solid rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.map-card-footer .address-summary {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* --- 14. FAQ SECTION (PURE WHITE & BLUE) --- */
.faq-section {
  padding: 6rem 0;
  background: #ffffff;
  position: relative;
}

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

.faq-item {
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.04);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.08);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  gap: 1rem;
}

.faq-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  background: rgba(37, 99, 235, 0.2);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 1.75rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.75rem 1.5rem 1.75rem;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- 15. FOOTER (DEEP CORPORATE AUTOMOTIVE BLUE) --- */
.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5rem 0 2rem 0;
  position: relative;
  color: #94a3b8;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand .site-logo .logo-name {
  color: #ffffff;
}

.footer-brand p {
  font-size: 0.95rem;
  color: #94a3b8;
  margin-top: 1.25rem;
  max-width: 340px;
  line-height: 1.65;
}

.footer-col-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--accent-cyan-light);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.footer-link:hover {
  color: #ffffff;
  padding-left: 0.35rem;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

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

.footer-contact-item a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #64748b;
}

/* --- 16. FLOATING WHATSAPP BUTTON --- */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.whatsapp-bubble-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  position: relative;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.whatsapp-bubble-btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.4);
  animation: pulse-ring 2.2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

.floating-whatsapp:hover .whatsapp-bubble-btn {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.65);
}

.whatsapp-tooltip {
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--text-primary);
  padding: 0.5rem 0.95rem;
  border-radius: var(--border-radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  white-space: nowrap;
  pointer-events: none;
  animation: tooltip-fade 4s infinite alternate;
}

@keyframes tooltip-fade {
  0%, 70% { opacity: 1; transform: translateX(0); }
  100% { opacity: 0.85; transform: translateX(-4px); }
}

/* --- 17. MOBILE BOTTOM ACTION BAR --- */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(37, 99, 235, 0.15);
  padding: 0.6rem 1rem;
  z-index: 98;
  gap: 0.75rem;
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
}

.mobile-action-bar .btn {
  flex: 1;
  padding: 0.65rem 0.5rem;
  font-size: 0.825rem;
}

/* --- 18. RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .hero-grid-pro {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .hero-text-col {
    max-width: 100%;
  }
  .hero-visual-col {
    justify-content: flex-start;
  }
  .slider-nav-controls {
    right: 1.25rem;
  }
  .slider-tabs-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  .ba-features-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-image-card img {
    height: 380px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .process-steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

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

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

  .top-bar {
    display: none;
  }

  .container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  /* Header adjustments */
  .site-header {
    height: var(--header-height);
  }

  .header-inner {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .logo-badge {
    width: 40px;
    height: 40px;
  }

  .logo-name {
    font-size: 1.15rem;
  }

  .logo-tagline {
    font-size: 0.68rem;
  }

  /* HERO SECTION - ROCK SOLID MOBILE STACKING WITHOUT HORIZONTAL DISPLACEMENT */
  .hero-section {
    padding: 1.25rem 0 2rem 0;
    min-height: auto;
    overflow-x: hidden;
  }

  .hero-slides-wrapper {
    display: block !important;
    position: relative;
    width: 100%;
    min-height: auto;
    overflow: hidden;
  }

  .hero-slide {
    display: none !important;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    padding: 1rem 0 1.5rem 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .hero-slide.active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    animation: fadeInSlideMobile 0.35s ease-out forwards;
  }

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

  .hero-grid-pro {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
  }

  .hero-text-col {
    max-width: 100%;
    width: 100%;
  }

  /* Hero Typography & Badges */
  .hero-badge-pill {
    display: inline-flex;
    max-width: 100%;
    padding: 0.35rem 0.85rem;
    gap: 0.5rem;
    margin-bottom: 1rem;
    box-sizing: border-box;
  }

  .hero-badge-pill .pill-text {
    font-size: 0.78rem;
    line-height: 1.35;
    white-space: normal;
    word-break: break-word;
  }

  .hero-title {
    font-size: clamp(1.65rem, 5.2vw, 2.2rem);
    line-height: 1.22;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
  }

  .hero-spec-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.35rem;
  }

  .spec-chip {
    font-size: 0.75rem;
    padding: 0.3rem 0.65rem;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
  }

  /* Visual HUD Column on Mobile */
  .hero-visual-col {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
  }

  .hero-hud-card {
    width: 100%;
    max-width: 100%;
    padding: 1.25rem;
    margin: 0;
  }

  .hero-slide.active .hero-hud-card {
    animation: slideTextIn 0.5s ease-out forwards;
  }

  .hud-radar-scanner {
    width: 60px;
    height: 60px;
    margin-bottom: 0.85rem;
  }

  .radar-core-circle {
    width: 40px;
    height: 40px;
  }

  .telemetry-item {
    font-size: 0.8rem;
    padding: 0.3rem 0;
  }

  .hud-footer-text {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  /* Slider Navigation Controls */
  .slider-nav-controls {
    position: static;
    transform: none;
    flex-direction: row;
    justify-content: center;
    margin: 1.15rem auto 0.75rem auto;
    padding: 0.35rem 0.85rem;
    width: fit-content;
  }

  .slider-arrow, .slider-play-pause {
    width: 36px;
    height: 36px;
  }

  /* Slider Tabs */
  .slider-tabs-container {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0;
  }

  .slider-tabs-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .slider-tab {
    padding: 0.6rem 0.75rem;
  }

  .slider-tab .tab-title {
    font-size: 0.8rem;
    white-space: normal;
  }

  .slider-tab .tab-sub {
    display: none;
  }

  .hero-trust-bar {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding-top: 1.15rem;
  }

  /* Interactive Before/After Split-Screen Showcase */
  .ba-showcase-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }

  .before-after-viewer {
    height: 250px;
    container-type: inline-size;
  }

  .before-layer img {
    width: 100cqw;
    max-width: none;
    height: 100%;
    object-fit: cover;
  }

  .before-after-header {
    padding: 1rem 1.15rem;
  }

  .ba-card-body {
    padding: 1rem 1.15rem;
  }

  .layer-pill {
    top: 0.85rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.75rem;
  }

  .after-pill { right: 0.85rem; }
  .before-pill { left: 0.85rem; }

  .handle-button {
    width: 38px;
    height: 38px;
  }

  .handle-button svg {
    width: 18px;
    height: 18px;
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-categories-filter {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.825rem;
  }

  /* Forms & Modals */
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .modal-container {
    padding: 1.5rem 1.25rem;
    max-width: 95%;
  }

  /* About Section */
  .about-badge-float {
    position: static;
    margin-top: 1rem;
  }

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

  /* Contact Section */
  .contact-info-card {
    padding: 1.5rem;
  }

  .map-card-footer {
    padding: 1.15rem 1.25rem;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* HIDE FLOATING WHATSAPP ON MOBILE TO PREVENT OVERLAPPING TEXT */
  .floating-whatsapp {
    display: none !important;
  }

  .whatsapp-tooltip {
    display: none;
  }

  /* MOBILE FIXED ACTION BAR */
  .mobile-action-bar {
    display: flex;
  }

  body {
    padding-bottom: 68px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(1.45rem, 6.2vw, 1.85rem);
    line-height: 1.22;
  }

  .hero-badge-pill {
    padding: 0.3rem 0.75rem;
  }

  .hero-badge-pill .pill-text {
    font-size: 0.72rem;
  }

  .before-after-viewer {
    height: 240px;
  }

  .slider-tabs-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
  }

  .slider-tab {
    padding: 0.5rem 0.6rem;
  }

  .slider-tab .tab-title {
    font-size: 0.75rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .btn {
    padding: 0.7rem 1.1rem;
    font-size: 0.9rem;
  }

  .service-card {
    padding: 1.25rem;
  }

  .btn-whatsapp.btn-sm span {
    display: none;
  }

  .btn-whatsapp.btn-sm {
    padding: 0.5rem 0.65rem;
  }

  .lang-switch-btn {
    padding: 0.4rem 0.65rem;
    font-size: 0.82rem;
    gap: 0.35rem;
  }

  .lang-switch-btn .lang-flag {
    font-size: 1rem;
  }
}

/* ==========================================================================
   ARABIC (RTL) STYLES & BIDIRECTIONAL SUPPORT
   ========================================================================== */
html[dir="rtl"] {
  font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  text-align: right;
}

html[dir="rtl"] body {
  font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  direction: rtl;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] .hero-title,
html[dir="rtl"] .section-title,
html[dir="rtl"] .nav-link,
html[dir="rtl"] .btn,
html[dir="rtl"] .service-title,
html[dir="rtl"] .ba-title,
html[dir="rtl"] .logo-name,
html[dir="rtl"] .logo-tagline,
html[dir="rtl"] .tab-title,
html[dir="rtl"] .tab-sub {
  font-family: 'Cairo', sans-serif;
  letter-spacing: normal;
}

/* Nav Link Underline in RTL */
html[dir="rtl"] .nav-link::after {
  left: auto;
  right: 0;
}

/* Mobile Drawer slides from left in RTL */
html[dir="rtl"] .mobile-drawer {
  left: -100%;
  right: auto;
  border-left: none;
  border-right: 1px solid rgba(37, 99, 235, 0.18);
  box-shadow: 10px 0 35px rgba(15, 23, 42, 0.2);
  transition: left var(--transition-smooth);
}

html[dir="rtl"] .mobile-drawer.open {
  left: 0;
  right: auto;
}

html[dir="rtl"] .mobile-nav-link .arrow {
  display: inline-block;
  transform: rotate(180deg);
}

/* Before / After Badges and Pills */
html[dir="rtl"] .after-pill {
  right: auto;
  left: 14px;
}

html[dir="rtl"] .before-pill {
  left: auto;
  right: 14px;
}

/* Service perks & bullets icons alignment */
html[dir="rtl"] .service-perk-item svg,
html[dir="rtl"] .ba-bullet-item svg,
html[dir="rtl"] .spec-chip svg {
  margin-left: 0.45rem;
  margin-right: 0;
}

/* Modal Close Button */
html[dir="rtl"] .modal-close {
  right: auto;
  left: 1.25rem;
}

