/* ==========================================================================
   ProAuto - Premium Automotive Service Center Stylesheet
   Theme: Red, White, & Carbon Dark Aesthetics
   Support: Bilingual (EN / AR) with Full RTL
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Color Palette - Default Dark */
  --primary-red: #e50914;
  --primary-red-hover: #ff1e27;
  --primary-red-dark: #b91c1c;
  --accent-glow: rgba(229, 9, 20, 0.35);

  --bg-dark: #0a0b0d;
  --bg-card: #13151b;
  --bg-card-hover: #1c1f28;
  --bg-elevated: #181a22;
  --header-bg: rgba(10, 11, 13, 0.92);
  --footer-bg: #050608;

  --text-main: #ffffff;
  --text-muted: #9ba3af;
  --text-dim: #6b7280;

  --border-color: rgba(255, 255, 255, 0.08);
  --border-red: rgba(229, 9, 20, 0.3);

  --hero-overlay-bg: linear-gradient(180deg, rgba(10, 11, 13, 0.75) 0%, var(--bg-dark) 100%);
  --hero-title-gradient: linear-gradient(180deg, #FFFFFF 0%, #D1D5DB 100%);
  --app-section-bg: linear-gradient(135deg, #12141c 0%, #0a0b0e 100%);
  --map-filter: invert(90%) hue-rotate(180deg) contrast(1.1);

  /* Dark mode logo filter: turns black lines to white, keeps red wrench/text red */
  --logo-filter: invert(1) hue-rotate(180deg);

  /* Fonts */
  --font-en: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-ar: 'Cairo', system-ui, -apple-system, sans-serif;
  --font-family: var(--font-en);

  /* Elevation & Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
  --shadow-red: 0 10px 30px -5px rgba(229, 9, 20, 0.3);

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

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

[data-theme="light"] {
  --bg-dark: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-elevated: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.94);
  --footer-bg: #e2e8f0;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;

  --border-color: rgba(0, 0, 0, 0.08);
  --border-red: rgba(229, 9, 20, 0.3);

  --hero-overlay-bg: linear-gradient(180deg, rgba(248, 250, 252, 0.85) 0%, var(--bg-dark) 100%);
  --hero-title-gradient: linear-gradient(180deg, #0F172A 0%, #334155 100%);
  --app-section-bg: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  --map-filter: none;

  /* Light mode logo filter: original dark logo (black gear & red wrench/text) on light background */
  --logo-filter: none;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
}

html[dir="rtl"] {
  --font-family: var(--font-ar);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  background-color: var(--bg-dark);
  color: var(--text-main);
  background-image:
    radial-gradient(circle at 15% 15%, rgba(229, 9, 20, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(229, 9, 20, 0.04) 0%, transparent 40%);
}

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  color: var(--primary-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  display: inline-block;
  background: rgba(229, 9, 20, 0.1);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-red);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  background: var(--hero-title-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-red-hover) 0%, var(--primary-red) 100%);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(229, 9, 20, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-outline-red {
  background: transparent;
  color: var(--text-main);
  border: 1.5px solid var(--primary-red);
}

.btn-outline-red:hover {
  background: var(--primary-red);
  color: #ffffff;
  box-shadow: var(--shadow-red);
  transform: translateY(-2px);
}

/* Header & Navigation */
.header-top-bar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 0.5rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

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

.top-bar-item svg {
  color: var(--primary-red);
}

.top-bar-social {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.social-icon-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--primary-red);
  color: #ffffff;
  transform: scale(1.1);
}

/* Main Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.5rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: none;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text-main);
  line-height: 1;
}

.brand-title span {
  color: var(--primary-red);
}

.brand-slogan {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 3px;
  letter-spacing: 0.2px;
}

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

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

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary-red);
  transition: var(--transition-fast);
  border-radius: var(--radius-full);
}

html[dir="rtl"] .nav-link::after {
  left: auto;
  right: 0;
}

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

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

.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 1rem;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: rgba(229, 9, 20, 0.15);
  border-color: var(--primary-red);
  transform: scale(1.05);
}

.lang-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.lang-toggle-btn:hover {
  background: rgba(229, 9, 20, 0.15);
  border-color: var(--primary-red);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
}

/* Page Views Container */
.page-view {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.page-view.active-page {
  display: block;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
  background: var(--hero-overlay-bg),
    url('https://images.unsplash.com/photo-1617814076367-b759c7d7e738?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(229, 9, 20, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(229, 9, 20, 0.15);
  border: 1px solid var(--border-red);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-red-hover);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-title span {
  color: var(--primary-red);
  background: linear-gradient(135deg, #ff1e27 0%, #e50914 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

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

.hero-stats {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
}

.stat-number span {
  color: var(--primary-red);
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* Feature Cards Section (Why Choose Us) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-red) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  border-color: var(--border-red);
  box-shadow: var(--shadow-md);
}

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

.feature-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(229, 9, 20, 0.1);
  border: 1px solid var(--border-red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

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

/* Mobile App Section */
.app-section {
  background: var(--app-section-bg);
  border-y: 1px solid var(--border-color);
  overflow: hidden;
}

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

.app-content-box {
  max-width: 540px;
}

.app-features-list {
  list-style: none;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.app-feature-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1rem;
  color: var(--text-main);
}

.app-feature-item svg {
  color: var(--primary-red);
  flex-shrink: 0;
}

.app-badges-wrap {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.direct-download-btn,
.google-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
  border: 1px solid var(--border-red);
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  color: #ffffff;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-red);
}

.direct-download-btn:hover,
.google-play-btn:hover {
  background: linear-gradient(135deg, var(--primary-red-hover) 0%, var(--primary-red) 100%);
  border-color: var(--primary-red-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(229, 9, 20, 0.45);
}

.direct-download-btn i,
.google-play-btn i {
  font-size: 1.5rem;
  color: #ffffff;
}

.badge-text-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}

.badge-text-main {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
}

.phone-mockup-wrapper {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-frame {
  width: 290px;
  height: 570px;
  background: #18191f;
  border: 10px solid #2b2d38;
  border-radius: 44px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(229, 9, 20, 0.2);
  position: relative;
  overflow: hidden;
}

.phone-notch {
  width: 120px;
  height: 20px;
  background: #2b2d38;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-b-left-radius: 12px;
  border-b-right-radius: 12px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #0b0c10;
  padding: 2rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.8rem;
}

.phone-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-app-card {
  background: #181b24;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.8rem;
}

.phone-card-title {
  font-size: 0.75rem;
  color: var(--text-muted);

}

.phone-card-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-red-hover);
}

/* Services Page & Service Cards Grid */
.service-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.filter-tab-btn {
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.filter-tab-btn:hover,
.filter-tab-btn.active {
  background: var(--primary-red);
  color: #ffffff;
  border-color: var(--primary-red);
  box-shadow: var(--shadow-red);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-red);
  box-shadow: var(--shadow-lg);
}

.service-card-img-wrap {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card-img {
  transform: scale(1.08);
}

.service-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(10, 11, 13, 0.85);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-red-hover);
  border: 1px solid var(--border-red);
}

html[dir="rtl"] .service-card-badge {
  right: auto;
  left: 1rem;
}

.service-card-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-icon-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(229, 9, 20, 0.1);
  border: 1px solid var(--border-red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
}

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

.service-benefits-list {
  list-style: none;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.service-benefit-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.service-benefit-item svg,
.service-benefit-item i {
  color: var(--primary-red);
  flex-shrink: 0;
}

.service-card-footer {
  margin-top: auto;
}

/* About Page */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}

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

.established-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: rgba(10, 11, 13, 0.9);
  backdrop-filter: blur(12px);
  padding: 1.2rem 1.8rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-red);
  display: flex;
  align-items: center;
  gap: 1rem;
}

html[dir="rtl"] .established-badge {
  left: auto;
  right: 2rem;
}

.est-year {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary-red);
  line-height: 1;
}

.est-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.leadership-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 3rem;
  position: relative;
}

.leader-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-red);
  box-shadow: var(--shadow-red);
}

.leader-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.leader-role {
  color: var(--primary-red);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.leader-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
}

.leader-email:hover {
  color: #ffffff;
  background: rgba(229, 9, 20, 0.2);
}

/* About Quick Highlights Chips */
.about-quick-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.about-highlight-chip {
  background: rgba(229, 9, 20, 0.08);
  border: 1px solid rgba(229, 9, 20, 0.25);
  border-radius: var(--radius-full);
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.about-highlight-chip i {
  color: var(--primary-red);
}

.about-highlight-chip:hover {
  background: rgba(229, 9, 20, 0.15);
  border-color: var(--primary-red);
}

/* German Brands / VAG Group Specialization Section */
.about-brands-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  margin-top: 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-brands-header {
  margin-bottom: 2.2rem;
  max-width: 750px;
  margin-inline: auto;
}

.about-brands-title {
  font-size: 1.65rem;
  font-weight: 800;
  margin: 0.4rem 0 0.6rem;
  color: var(--text-main);
}

.about-brands-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.about-brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.brand-spec-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.brand-spec-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-red);
  box-shadow: 0 10px 25px rgba(229, 9, 20, 0.18);
}

.brand-spec-logo {
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-spec-svg {
  transition: transform 0.3s ease;
}

.brand-spec-card:hover .brand-spec-svg {
  transform: scale(1.08);
}

.brand-spec-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

.brand-spec-badge {
  font-size: 0.75rem;
  color: var(--primary-red);
  background: rgba(229, 9, 20, 0.1);
  border: 1px solid rgba(229, 9, 20, 0.25);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}

/* 4 Pillars of Excellence Section */
.about-pillars-section {
  margin-top: 4rem;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-red), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: rgba(229, 9, 20, 0.4);
  box-shadow: var(--shadow-lg);
}

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

.pillar-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.2), rgba(229, 9, 20, 0.05));
  border: 1px solid rgba(229, 9, 20, 0.3);
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.pillar-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary-red);
  font-weight: 800;
  display: block;
}

.pillar-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-top: 0.15rem;
  color: var(--text-main);
}

.pillar-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.pillar-points-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.2rem;
}

.pillar-point-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.55;
}

.pillar-point-item i {
  color: var(--primary-red);
  margin-top: 0.25rem;
  flex-shrink: 0;
  font-size: 0.9rem;
}

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

.value-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  padding: 1.8rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.value-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(229, 9, 20, 0.1);
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.value-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.value-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
}

.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  transition: var(--transition-fast);
}

.contact-info-card:hover {
  border-color: var(--border-red);
  transform: translateY(-3px);
}

.contact-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(229, 9, 20, 0.1);
  border: 1px solid var(--border-red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

.contact-info-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  transition: var(--transition-fast);
}

a.contact-info-value:hover {
  color: var(--primary-red);
}

.contact-phone-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

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

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

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

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-md);
  color: var(--text-main);
  transition: var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.15);
}

.form-select option {
  background: #181a22;
  color: #ffffff;
}

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

.map-container {
  margin-top: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  height: 100%;
  min-height: 420px;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: var(--map-filter);
}

/* Modal Styles */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

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

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-red);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  padding: 2.5rem;
  position: relative;
  transform: scale(0.95) translateY(10px);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-lg);
}

.modal-backdrop.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

html[dir="rtl"] .modal-close-btn {
  right: auto;
  left: 1.2rem;
}

.modal-close-btn:hover {
  background: var(--primary-red);
  color: #ffffff;
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

html[dir="rtl"] .toast-container {
  right: auto;
  left: 2rem;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary-red);
  color: var(--text-main);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  font-size: 0.95rem;
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast span {
  color: var(--text-main);
}

html[dir="rtl"] .toast {
  border-left: 1px solid var(--border-color);
  border-right: 4px solid var(--primary-red);
  animation: slideInLeft 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Footer */
.main-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 0.93rem;
  margin: 1.2rem 0;
  line-height: 1.6;
}

.footer-column-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-column-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-red);
}

html[dir="rtl"] .footer-column-title::after {
  left: auto;
  right: 0;
}

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

.footer-link {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--primary-red-hover);
  padding-left: 5px;
}

html[dir="rtl"] .footer-link:hover {
  padding-left: 0;
  padding-right: 5px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* Floating Emergency Call CTA */
.fa-phone,
.fa-phone-alt {
  transform: scaleX(-1);
  display: inline-block;
}

.floating-call-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
  background: var(--primary-red);
  color: #ffffff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(229, 9, 20, 0.5);
  transition: var(--transition-smooth);
}

html[dir="rtl"] .floating-call-btn {
  left: auto;
  right: 2rem;
}

.floating-call-btn:hover {
  transform: scale(1.1) rotate(10deg);
  background: var(--primary-red-hover);
}

.mobile-only {
  display: none !important;
}

/* Responsive Media Queries & Mobile Enhancements */
@media (max-width: 991px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }
}

/* --- 1200px Breakpoint (Laptops & Large Displays) --- */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding: 0 1.25rem;
  }

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

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

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2rem;
  }
}

/* --- 1024px Breakpoint (Tablets Landscape & Standard Laptops) --- */
@media (max-width: 1024px) {
  .section {
    padding: 5rem 0;
  }

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

  .app-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .app-content-box {
    max-width: 100%;
    margin: 0 auto;
  }

  .app-badges-wrap {
    justify-content: center;
  }

  .app-features-list {
    align-items: center;
  }

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

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

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

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

  .leadership-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem;
  }

  .leader-avatar {
    margin: 0 auto;
  }

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

/* --- 768px Breakpoint (Tablets Portrait & Mobile Devices) --- */
@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }

  .section-title-wrap {
    margin-bottom: 2.5rem;
  }

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

  .section-desc {
    font-size: 1rem;
  }

  /* Top info bar */
  .top-bar-inner {
    justify-content: center;
    text-align: center;
    gap: 0.6rem;
  }

  .top-bar-contact {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  /* Main Navigation Header */
  .nav-container {
    padding: 0.6rem 1rem;
  }

  .brand-logo-img {
    height: 44px;
  }

  .brand-title {
    font-size: 1.3rem;
  }

  .brand-slogan {
    font-size: 0.72rem;
  }

  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
  }

  .nav-links {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100vh - 65px);
    overflow-y: auto;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    padding: 1.5rem 1rem;
    gap: 1.2rem;
    display: none;
    z-index: 999;
  }

  .nav-links.active-menu {
    display: flex;
    animation: fadeInDown 0.3s ease;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 0.6rem 1rem;
    width: 100%;
    text-align: center;
    border-radius: var(--radius-md);
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(229, 9, 20, 0.12);
  }

  .nav-link::after {
    display: none;
  }

  /* Hero Section */
  .hero-section {
    min-height: auto;
    padding: 3rem 0;
  }

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

  .hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  /* Filter Tabs horizontal pill scroll on mobile */
  .service-filter-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.6rem;
    margin-bottom: 2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .service-filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .filter-tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.6rem 1.1rem;
    font-size: 0.85rem;
  }

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

  /* About Page */
  .about-img-box img {
    height: 320px;
  }

  .established-badge {
    position: static;
    margin-top: 1rem;
    justify-content: center;
    width: 100%;
  }

  .about-brands-section {
    padding: 2rem 1.25rem;
  }

  .about-brands-title {
    font-size: 1.35rem;
  }

  .about-brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .pillar-card {
    padding: 1.6rem 1.25rem;
  }

  /* Contact Map & Form */
  .contact-info-value {
    word-break: break-word;
  }

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

  .map-container {
    min-height: 320px;
  }

  /* Modal */
  .modal-content {
    padding: 1.8rem 1.2rem;
    margin: 1rem;
    max-height: 90vh;
    overflow-y: auto;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

/* --- 576px Breakpoint (Mobile Phones Portrait) --- */
@media (max-width: 576px) {
  .section {
    padding: 2.8rem 0;
  }

  .hero-title {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 0.3rem 0.8rem;
  }

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

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

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

  .feature-card {
    padding: 1.5rem;
  }

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

  .service-card-body {
    padding: 1.4rem;
  }

  .phone-frame {
    width: 260px;
    height: 520px;
    border-width: 8px;
    border-radius: 36px;
  }

  .leader-avatar {
    width: 120px;
    height: 120px;
  }

  .leader-email {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
    word-break: break-all;
  }

  .contact-info-card {
    padding: 1.2rem;
  }

  .floating-call-btn {
    bottom: 1.2rem;
    right: 1.2rem;
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }

  html[dir="rtl"] .floating-call-btn {
    left: 1.2rem;
    right: auto;
  }

  .toast-container {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
  }

  html[dir="rtl"] .toast-container {
    left: 1rem;
    right: 1rem;
  }

  .toast {
    font-size: 0.85rem;
    padding: 0.8rem 1rem;
  }
}

/* --- 380px Breakpoint (Ultra-small Mobile Displays) --- */
@media (max-width: 380px) {
  .brand-title {
    font-size: 1.15rem;
  }

  .brand-slogan {
    display: none;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .lang-toggle-btn {
    padding: 0.4rem 0.6rem;
    font-size: 0.78rem;
  }

  .theme-toggle-btn {
    width: 34px;
    height: 34px;
  }

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

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .phone-frame {
    width: 230px;
    height: 460px;
  }

  .about-img-box img {
    height: 240px;
  }

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

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}