/* ============================================
   BLUE ECO FAST - Professional Stylesheet
   Reimagine the Ride - Modern & Responsive
============================================ */

:root {
  /* Color Palette */
  --primary-blue: #1a56db;
  --primary-blue-hover: #1e40af;
  --primary-blue-light: #3b82f6;
  --secondary-green: #059669;
  --secondary-green-hover: #047857;
  --accent-green: #10b981;
  --accent-green-light: #34d399;

  /* Semantic Tokens (admin + app) */
  --success: var(--secondary-green);
  --success-light: rgba(5, 150, 105, 0.15);
  --success-dark: var(--secondary-green-hover);
  --warning: #f59e0b;
  --warning-light: rgba(245, 158, 11, 0.15);
  --warning-dark: #b45309;
  --danger: #dc2626;
  --danger-light: rgba(220, 38, 38, 0.12);
  --danger-dark: #b91c1c;
  --info: var(--primary-blue);
  --info-light: rgba(26, 86, 219, 0.12);
  --info-dark: var(--primary-blue-hover);

  --primary-light: rgba(26, 86, 219, 0.12);
  --primary-dark: var(--primary-blue-hover);

  --border-color: rgba(26, 86, 219, 0.12);
  --text-primary: var(--gray-900);
  --text-secondary: var(--gray-600);
  --bg-light: var(--gray-50);

  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Dark Theme Colors */
  --navy-dark: #0f172a;
  --navy-darker: #020617;
  --blue-navy: #1e293b;
  --blue-navy-light: #334155;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-green) 100%);
  --gradient-secondary: linear-gradient(135deg, #163a6b 0%, #1a56db 55%, #059669 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-green) 0%, var(--primary-blue) 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(26, 86, 219, 0.1) 0%, rgba(46, 184, 78, 0.1) 100%);

  /* Section background tones */
  --bg-section-light: #f0f6ff;
  --bg-section-dark: #0f2d52;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Typography */
  --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-family-secondary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Section vertical rhythm — all sections use this so spacing is identical */
  --section-py: 96px;

  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* ===== RESET & BASE STYLES ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}

body {
  font-family: var(--font-family-primary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-900);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-secondary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--gray-900);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); font-weight: 600; }
h5 { font-size: 1.25rem; font-weight: 600; }
h6 { font-size: 1rem; font-weight: 600; }

p {
  margin-bottom: var(--space-md);
  color: var(--gray-600);
}

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

a:hover {
  color: var(--primary-blue-hover);
}

/* ===== UTILITY CLASSES ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (min-width: 576px) {
  .container {
    padding: 0 var(--space-lg);
  }
}

@media (min-width: 992px) {
  .container {
    padding: 0 var(--space-xl);
  }
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.d-flex { display: flex; }
.d-block { display: block; }
.d-none { display: none; }

.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-start { justify-content: flex-start; }
.justify-content-end { justify-content: flex-end; }

.align-items-center { align-items: center; }
.align-items-start { align-items: flex-start; }
.align-items-end { align-items: flex-end; }

.flex-wrap { flex-wrap: wrap; }
.flex-column { flex-direction: column; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.m-0 { margin: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }

.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }

.p-1 { padding: var(--space-xs); }
.p-2 { padding: var(--space-sm); }
.p-3 { padding: var(--space-md); }
.p-4 { padding: var(--space-lg); }
.p-5 { padding: var(--space-xl); }

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

.bg-white { background-color: var(--white); }
.bg-light { background-color: var(--gray-50); }
.bg-primary { background-color: var(--primary-blue); }
.bg-secondary { background-color: var(--secondary-green); }

.text-white { color: var(--white); }
.text-primary { color: var(--primary-blue); }
.text-secondary { color: var(--secondary-green); }
.text-muted { color: var(--gray-500); }

.fw-normal { font-weight: 400; }
.fw-medium { font-weight: 500; }
.fw-semibold { font-weight: 600; }
.fw-bold { font-weight: 700; }
.fw-extrabold { font-weight: 800; }

.fs-sm { font-size: 0.875rem; }
.fs-md { font-size: 1rem; }
.fs-lg { font-size: 1.125rem; }
.fs-xl { font-size: 1.25rem; }
.fs-2xl { font-size: 1.5rem; }

/* ===== RESPONSIVE UTILITIES ===== */
@media (min-width: 576px) {
  .d-sm-flex { display: flex; }
  .d-sm-block { display: block; }
  .d-sm-none { display: none; }
}

@media (min-width: 768px) {
  .d-md-flex { display: flex; }
  .d-md-block { display: block; }
  .d-md-none { display: none; }
}

@media (min-width: 992px) {
  .d-lg-flex { display: flex; }
  .d-lg-block { display: block; }
  .d-lg-none { display: none; }
}

@media (min-width: 1200px) {
  .d-xl-flex { display: flex; }
  .d-xl-block { display: block; }
  .d-xl-none { display: none; }
}

/* ===== NAVIGATION ===== */
.navbar-bef {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-md) 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: var(--z-fixed);
  border-bottom: 1px solid rgba(46, 184, 78, 0.2);
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.navbar-bef.scrolled {
  background: rgba(15, 23, 42, 0.98);
  box-shadow: var(--shadow-md);
  padding: calc(var(--space-md) - 0.25rem) 0;
}

.navbar-bef .navbar-brand img {
  height: 48px;
  width: auto;
  transition: var(--transition-fast);
}

.navbar-bef .navbar-brand img:hover {
  transform: scale(1.05);
}

.navbar-bef .navbar-nav {
  gap: var(--space-sm);
}

.navbar-bef .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: var(--space-sm) var(--space-md) !important;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.navbar-bef .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(46, 184, 78, 0.1), transparent);
  transition: left 0.5s;
}

.navbar-bef .nav-link:hover::before {
  left: 100%;
}

.navbar-bef .nav-link:hover,
.navbar-bef .nav-link.active {
  color: var(--accent-green) !important;
  background: rgba(46, 184, 78, 0.1);
  transform: translateY(-1px);
}

.btn-enquire-nav {
  background: var(--gradient-primary);
  color: var(--white) !important;
  border-radius: var(--radius-full) !important;
  padding: calc(var(--space-sm) + 0.1rem) calc(var(--space-lg) + 0.2rem) !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  box-shadow: 0 4px 14px rgba(46, 184, 78, 0.3);
  transition: var(--transition-fast) !important;
  border: none !important;
  position: relative;
  overflow: hidden;
}

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

.btn-enquire-nav:hover::before {
  left: 100%;
}

.btn-enquire-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(46, 184, 78, 0.4) !important;
  color: var(--white) !important;
}

.navbar-toggler {
  border: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  transition: var(--transition-fast);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(46, 184, 78, 0.3);
}

.navbar-toggler-icon {
  filter: invert(1);
  width: 1.2em;
  height: 1.2em;
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--bg-section-dark);
    margin-top: var(--space-md);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-xl);
  }

  .navbar-bef .navbar-nav {
    flex-direction: column;
    gap: 0;
  }

  .navbar-bef .nav-link {
    padding: var(--space-md) !important;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xs);
  }

  .btn-enquire-nav {
    margin-top: var(--space-sm);
    width: 100%;
    text-align: center;
  }
}

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 90px;    /* navbar height */
  padding-bottom: 0;
}

/* ── Hero overlay (replaces old ::before with opaque gradient) ── */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.82) 0%,
    rgba(26, 86, 219, 0.55) 55%,
    rgba(5, 150, 105, 0.42) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Hero content sits above video (z:0) and overlay (z:1) */
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

/* ::before removed — overlay handled by .hero-overlay div */
.hero-section::before { display: none; }

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0; /* sits behind the ::before overlay (z-index: 1) */
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-green-light);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(10px);
}

.hero-section h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-section h1 span {
  color: var(--accent-green);
  position: relative;
}

.hero-section h1 span::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-green);
  border-radius: 2px;
}


/* Hero subtitle line */
.hero-section h1 .hero-sub {
  font-size: 0.65em;
  font-weight: 600;
  color: var(--accent-green-light, #34d399);
  display: block;
  margin-top: 4px;
}
.hero-section .lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  max-width: 600px;
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
}

.btn-hero-primary,
.btn-hero-outline {
  padding: calc(var(--space-md) + 0.2rem) calc(var(--space-xl) + 0.5rem);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1.05rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  position: relative;
  overflow: hidden;
}

.btn-hero-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 8px 25px rgba(46, 184, 78, 0.3);
}

.btn-hero-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.btn-hero-primary:hover::before {
  left: 100%;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(46, 184, 78, 0.4);
}

.btn-hero-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.hero-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(12px);
  padding: var(--space-lg) var(--space-xl);
  width: 100%;
}

.hero-stat-item {
  flex: 1;
  min-width: 120px;
  text-align: center;
  padding: var(--space-md) var(--space-lg);
}

.hero-stat-item .stat-num {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--accent-green);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-item .stat-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.hero-car-visual {
  position: relative;
  text-align: center;
}

.eco-badge-float {
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--accent-green);
  color: var(--white);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.hero-car-visual {
  position: relative;
  max-width: 420px;
  width: 100%;
}

.hero-car-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-2xl);
  padding: var(--space-xl);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  position: relative;
  overflow: hidden;
}

.hero-car-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.car-placeholder {
  width: 100%;
  height: 210px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-lg);
  position: relative;
}

.car-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  transition: var(--transition-slow);
}

.car-placeholder:hover img { transform: scale(1.04); }

.hero-features {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.hero-feat-tag {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  padding: 4px var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
}

/* Vehicle-of-the-month name strip inside hero card */
.hero-votm-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 8px var(--space-md);
  margin-bottom: var(--space-sm);
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.14);
}
.hero-votm-name {
  color: #fff;
  font-weight: 700;
  font-size: 0.97rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-votm-sub {
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Price row inside the hero card */
.hero-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-md);
  margin-top: var(--space-sm);
}

.hero-price-label {
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
  font-weight: 500;
}

.hero-price-value {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
}

.hero-price-value small {
  font-size: 0.72rem;
  font-weight: 400;
  opacity: 0.65;
  margin-left: 2px;
}

/* ===== SECTIONS ===== */
.section-label {
  display: inline-block;
  background: var(--gradient-subtle);
  color: var(--primary-blue);
  border: 1px solid rgba(26, 86, 219, 0.2);
  border-radius: var(--radius-full);
  padding: var(--space-xs) var(--space-lg);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy-dark);
  margin-bottom: var(--space-lg);
}

.section-title span,
.section-title .green {
  color: var(--secondary-green);
  position: relative;
}

.section-title span::after,
.section-title .green::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-divider {
  width: 64px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
  margin: var(--space-lg) 0 var(--space-2xl);
}

/* ===== WHY CHOOSE US ===== */
.why-section {
  background: var(--bg-section-light);
  padding: var(--section-py) 0;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(26, 86, 219, 0.06);
  transition: var(--transition-normal);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition-normal);
}

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

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
  border-color: rgba(26, 86, 219, 0.12);
}

.why-icon {
  width: 72px;
  height: 72px;
  background: var(--gradient-subtle);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto var(--space-lg);
  transition: var(--transition-normal);
}

.why-card:hover .why-icon {
  transform: scale(1.1);
  background: var(--gradient-primary);
  color: var(--white);
}

.why-card h5 {
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: var(--space-md);
}

.why-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== SERVICES ===== */
.services-section {
  padding: var(--section-py) 0;
  background: var(--white);
}

.service-card {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-normal);
  border: 1px solid transparent;
  height: 100%;
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-2xl);
  border-color: var(--primary-blue);
}

.service-img-top {
  height: 200px;
  background: var(--gradient-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  position: relative;
  overflow: hidden;
}

.service-img-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><circle cx="350" cy="50" r="120" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="350" r="100" fill="rgba(255,255,255,0.03)"/></svg>');
  pointer-events: none;
}

.service-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent-green);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
}

.service-body {
  padding: var(--space-xl);
}

.service-body h5 {
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: var(--space-md);
}

.service-body p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.btn-service {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  transition: var(--transition-fast);
  position: relative;
}

.btn-service::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s;
}

.btn-service:hover::after {
  width: 100%;
}

.btn-service:hover {
  color: var(--secondary-green);
  gap: calc(var(--space-sm) + 4px);
}

/* ===== FLEET SECTION ===== */
.fleet-section {
  background: var(--bg-section-light);
  padding: var(--section-py) 0;
}

.car-filter-btns {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
  justify-content: center;
}

.filter-btn {
  background: var(--white);
  border: 2px solid rgba(26, 86, 219, 0.15);
  color: var(--navy-dark);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left 0.4s;
}

.filter-btn.active::before,
.filter-btn:hover::before {
  left: 0;
}

.filter-btn.active,
.filter-btn:hover {
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.car-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 35, 64, 0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  cursor: pointer;
  border: 1px solid rgba(15, 35, 64, 0.05);
  position: relative;
  height: 100%;                /* equal-height cards inside the Bootstrap row */
  display: flex;
  flex-direction: column;
}

.car-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(26, 86, 219, 0.18);
  border-color: rgba(26, 86, 219, 0.25);
}

.car-img {
  /* Fluid height instead of a fixed 200 px — preserves the 16/10 aspect ratio
     of car photos at every viewport so they never look squashed on mobile. */
  aspect-ratio: 16 / 10;
  width: 100%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(16, 185, 129, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}
.car-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;       /* Show the entire car — no cropping */
  object-position: center;
  display: block;
  padding: 10px;             /* small breathing room around the photo */
  background: transparent;
  transition: transform 0.4s ease;
}
.car-card:hover .car-img img { transform: scale(1.03); }

.car-ev-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent-green);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
}

.car-body {
  padding: 22px 22px 24px;
  flex: 1 1 auto;              /* fill remaining space so the button hugs the bottom */
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Title row — name + category pill on the right */
.car-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.car-title {
  font-weight: 800;
  font-size: 1.18rem;
  line-height: 1.25;
  color: var(--navy-dark);
  margin: 0;
  letter-spacing: -0.01em;
}
.car-category-pill {
  display: inline-block;
  background: rgba(26, 86, 219, 0.08);
  color: var(--primary-blue);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Spec list — label/value pairs, three per row */
.car-meta {
  list-style: none;
  padding: 14px 16px;
  margin: 0;
  background: var(--gray-50, #f8fafc);
  border-radius: var(--radius-md, 10px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 14px;
}
.car-meta li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.car-meta-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500, #6b7280);
}
.car-meta-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-dark, #1e3a5f);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Price row — price on the left, photo-count on the right */
.car-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
  border-top: 1px dashed rgba(15, 35, 64, 0.08);
  margin-top: 2px;
}
.car-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-blue);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.car-price-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}
/* Small-screen polish */
@media (max-width: 575.98px) {
  .car-body { padding: 18px; gap: 12px; }
  .car-title { font-size: 1.08rem; }
  .car-meta { grid-template-columns: 1fr 1fr; }
}

.car-btn-group {
  display: flex;
  gap: 10px;
  margin-top: auto;
}
.car-btn-group .btn-car-enquire,
.car-btn-group .btn-car-whatsapp {
  flex: 1;
  margin-top: 0;
}

.btn-car-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c50 100%);
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}
.btn-car-whatsapp i {
  font-size: 1.15rem;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.18));
}
.btn-car-whatsapp::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 60%);
  border-radius: inherit;
  pointer-events: none;
}
.btn-car-whatsapp::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transition: left 0.45s ease;
}
.btn-car-whatsapp:hover::after { left: 100%; }
.btn-car-whatsapp:hover {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
}
.btn-car-whatsapp:active { transform: translateY(-1px); }

.btn-car-enquire {
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-car-enquire i { font-size: 1rem; }

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

.btn-car-enquire:hover::before {
  left: 100%;
}

.btn-car-enquire:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(46, 184, 78, 0.3);
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: var(--section-py) 0;
  background: var(--white);
}

.about-visual {
  background: var(--gradient-secondary);
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl) var(--space-2xl);
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><circle cx="350" cy="50" r="120" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="350" r="100" fill="rgba(255,255,255,0.03)"/></svg>');
  pointer-events: none;
}

.mission-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  text-align: left;
  backdrop-filter: blur(10px);
}

.mission-card h6 {
  color: var(--accent-green);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.mission-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

.about-point {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.about-point-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--gradient-subtle);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: var(--transition-normal);
}

.about-point:hover .about-point-icon {
  background: var(--gradient-primary);
  color: var(--white);
  transform: scale(1.1);
}

.about-point h6 {
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: var(--space-sm);
}

.about-point p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testi-section {
  background: var(--bg-section-dark);
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

.testi-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(26, 86, 219, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.testi-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  height: 100%;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  position: relative;
}

.testi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.testi-stars {
  color: #fbbf24;
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
}

.testi-card p {
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  margin-bottom: var(--space-xl);
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
}

.testi-card p::before {
  content: '"';
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.1);
  position: absolute;
  top: -10px;
  left: -20px;
  font-family: serif;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testi-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--white);
  font-size: 1.1rem;
  box-shadow: var(--shadow-lg);
}

.testi-author h6 {
  color: var(--white);
  font-weight: 700;
  margin: 0;
  font-size: 1rem;
}

.testi-author small {
  color: var(--accent-green);
  font-size: 0.85rem;
}

/* ===== ENQUIRY FORM ===== */
.enquiry-section {
  padding: var(--section-py) 0;
  background: var(--bg-section-light);
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(26, 86, 219, 0.08);
  position: relative;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.form-label {
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--navy-dark);
  margin-bottom: 8px;
  display: block;
}

.form-control,
.form-select {
  border: 1.5px solid rgba(26, 86, 219, 0.14);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.94rem;
  line-height: 1.5;
  background-color: #f4f8ff;
  color: var(--navy-dark);
  font-family: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.form-control::placeholder { color: #a0aec0; font-size: 0.88rem; }
.form-control:hover:not(:focus),
.form-select:hover:not(:focus) {
  border-color: rgba(26, 86, 219, 0.35);
  background-color: #edf2ff;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.1);
  outline: none;
  background-color: #fff;
  color: var(--navy-dark);
}

/* ── Input with icon prefix ─────────────────────── */
.input-icon-wrap { position: relative; }
.input-icon-wrap > .bi {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(26, 86, 219, 0.38);
  font-size: 1rem;
  pointer-events: none;
  z-index: 1;
  transition: color 0.18s ease;
}
.input-icon-wrap:focus-within > .bi { color: var(--primary-blue); }
.input-icon-wrap > .form-control,
.input-icon-wrap > .form-select { padding-left: 42px; }
.input-icon-wrap.wrap-textarea > .bi { top: 13px; transform: none; }

/* ── Form help text ─────────────────────────────── */
.form-help {
  display: block;
  font-size: 0.76rem;
  color: #6b7280;
  margin-top: 5px;
  line-height: 1.45;
}

.btn-submit-enquiry {
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  padding: 15px 32px;
  font-size: 1rem;
  font-weight: 700;
  width: 100%;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(26, 86, 219, 0.28);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-submit-enquiry::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.55s ease;
}
.btn-submit-enquiry:hover::after { transform: translateX(100%); }
.btn-submit-enquiry:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(26, 86, 219, 0.35);
}
.btn-submit-enquiry:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 4px 12px rgba(26, 86, 219, 0.15);
}

.alert-result {
  display: none;
  border-radius: var(--radius-lg);
  margin-top: var(--space-lg);
  border: none;
  box-shadow: var(--shadow-md);
}

.car-checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.car-checkbox-item {
  border: 1.5px solid rgba(26, 86, 219, 0.13);
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.87rem;
  font-weight: 500;
  background: #f8faff;
  user-select: none;
}
.car-checkbox-item:hover {
  border-color: rgba(26, 86, 219, 0.4);
  background: #edf2ff;
}

/* Custom checkbox */
.car-checkbox-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(26, 86, 219, 0.3);
  border-radius: 5px;
  background: #fff;
  flex-shrink: 0;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  position: relative;
}
.car-checkbox-item input[type="checkbox"]::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 7px;
  height: 11px;
  border: 2px solid var(--primary-blue);
  border-top: none;
  border-left: none;
  transform: rotate(45deg) scale(0);
  transition: transform 0.15s ease;
}
.car-checkbox-item input[type="checkbox"]:checked {
  border-color: var(--primary-blue);
  background: rgba(26, 86, 219, 0.08);
}
.car-checkbox-item input[type="checkbox"]:checked::after {
  transform: rotate(45deg) scale(1);
}
.car-checkbox-item:has(input:checked) {
  border-color: var(--primary-blue);
  background: rgba(26, 86, 219, 0.06);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
  font-weight: 600;
  color: var(--primary-blue);
}

.rating-stars {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.rating-stars .star {
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--gray-300);
}

.rating-stars .star.active,
.rating-stars .star:hover {
  color: #fbbf24;
  transform: scale(1.1);
}

.star-feedback {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-top: var(--space-sm);
  height: 1.4em;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: var(--section-py) 0;
  background: var(--white);
}

.contact-info-card {
  background: var(--gradient-secondary);
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl);
  color: var(--white);
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.contact-info-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><circle cx="350" cy="50" r="120" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="350" r="100" fill="rgba(255,255,255,0.03)"/></svg>');
  pointer-events: none;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  backdrop-filter: blur(10px);
  transition: var(--transition-fast);
}

.contact-info-item:hover .contact-info-icon {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.contact-info-item h6 {
  margin: 0 0 var(--space-xs);
  font-weight: 700;
  color: var(--accent-green);
  font-size: 0.9rem;
}

.contact-info-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
  position: relative;
  z-index: 1;
}

.social-link {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition-fast);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
  background: var(--accent-green);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

/* ===== FOOTER ===== */
.footer-bef {
  background: var(--bg-section-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-3xl) 0 var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.footer-bef::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(26, 86, 219, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.footer-brand img {
  height: 52px;
  width: auto;
  margin-bottom: var(--space-lg);
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 300px;
  line-height: 1.6;
}

.footer-heading {
  color: var(--accent-green);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-lg);
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-green);
  border-radius: 1px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  position: relative;
  display: inline-block;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-green);
  transition: width 0.3s;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-links a:hover {
  color: var(--accent-green);
  padding-left: var(--space-sm);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== BACK TO TOP ===== */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-xl);
  z-index: var(--z-fixed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

#backToTop:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(46, 184, 78, 0.4);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-out forwards;
}

.slide-in-right {
  animation: slideInRight 0.8s ease-out forwards;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet Styles */
@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 120px;
    padding-bottom: var(--space-2xl);
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .hero-buttons {
    justify-content: center;
  }

  .btn-hero-primary,
  .btn-hero-outline {
    flex: 1;
    min-width: 200px;
    text-align: center;
  }

  .why-card,
  .service-card {
    margin-bottom: var(--space-xl);
  }

  .car-filter-btns {
    justify-content: center;
  }

  .filter-btn {
    flex: 1;
    min-width: 120px;
    text-align: center;
  }

  .contact-info-item {
    margin-bottom: var(--space-lg);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }
}

/* Mobile Styles */
@media (max-width: 767.98px) {
  :root {
    --space-md: 0.75rem;
    --space-lg: 1rem;
    --space-xl: 1.25rem;
    --space-2xl: 1.5rem;
    --space-3xl: 2rem;
    --section-py: 60px;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .navbar-bef {
    padding: calc(var(--space-md) - 0.25rem) 0;
  }

  .navbar-bef .navbar-brand img {
    height: 40px;
  }

  .hero-section {
    padding-top: 100px;
    text-align: center;
  }

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

  .hero-stats {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .hero-stat-item {
    padding: var(--space-lg) var(--space-md);
  }

  .hero-buttons {
    flex-direction: column;
    gap: var(--space-md);
  }

  .btn-hero-primary,
  .btn-hero-outline {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

  .why-card,
  .service-card,
  .car-card {
    margin-bottom: var(--space-lg);
  }

  .car-filter-btns {
    gap: var(--space-xs);
  }

  .filter-btn {
    padding: var(--space-xs) var(--space-md);
    font-size: 0.8rem;
  }

  .form-card {
    padding: var(--space-xl);
    margin: 0 var(--space-sm);
  }

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

  .contact-info-card,
  .about-visual {
    margin: 0 var(--space-sm);
  }

  .contact-info-item {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }

  .social-links {
    justify-content: center;
  }

  .footer-bef {
    padding: var(--space-2xl) 0 var(--space-lg);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
  }

  #backToTop {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
}

/* Small Mobile Styles */
@media (max-width: 575.98px) {
  .hero-section h1 {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }

  .hero-stat-item .stat-num {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .btn-hero-primary,
  .btn-hero-outline {
    padding: calc(var(--space-sm) + 0.1rem) calc(var(--space-lg) + 0.2rem);
    font-size: 0.95rem;
  }

  .section-title {
    font-size: clamp(1.3rem, 7vw, 1.8rem);
  }

  .why-card,
  .service-card {
    padding: var(--space-lg);
  }

  .car-card {
    max-width: 100%;
  }

  .form-card {
    padding: var(--space-lg);
  }

  .rating-stars .star {
    font-size: 1.5rem;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.navbar-bef .nav-link:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}
/* Form fields use box-shadow as focus ring — no extra outline needed */
.form-control:focus,
.form-select:focus { outline: none; }

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-blue: #0066cc;
    --secondary-green: #008000;
    --navy-dark: #000000;
    --white: #ffffff;
    --gray-900: #000000;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar-bef,
  #backToTop,
  .btn {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .hero-section,
  .testi-section,
  .footer-bef {
    background: #fff !important;
    color: #000 !important;
  }

  .hero-section h1,
  .hero-section p {
    color: #000 !important;
  }
}

/* ===== ANIMATION DELAYS ===== */
.delay-1 { animation-delay: 0.1s; opacity: 0; animation-fill-mode: forwards; }
.delay-2 { animation-delay: 0.3s; opacity: 0; animation-fill-mode: forwards; }
.delay-3 { animation-delay: 0.55s; opacity: 0; animation-fill-mode: forwards; }

/* ===== ABOUT SECTION — HERO ICON ===== */
.about-hero-icon {
  position: relative;
  width: 88px;
  height: 88px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  color: #fff;
  margin: 0 auto 1.5rem;
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.35);
}
.about-hero-icon-leaf {
  position: absolute;
  bottom: -4px;
  right: -4px;
  font-size: 1.35rem;
  background: var(--secondary-green);
  border-radius: 50%;
  padding: 5px;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(5,150,105,0.4);
}

/* ===== WHY SECTION — ICON SIZE ===== */
.why-icon i {
  font-size: 1.9rem;
  color: var(--primary-blue);
  transition: var(--transition-normal);
}
.why-card:hover .why-icon i {
  color: var(--white);
}

/* ===== CTA BAND ===== */
.cta-band {
  background: var(--gradient-secondary);
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 50%, rgba(16, 185, 129, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 90% 50%, rgba(26, 86, 219, 0.15) 0%, transparent 55%);
  pointer-events: none;
}
.cta-band-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-green-light);
  margin-bottom: 0.6rem;
}
.cta-band-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.cta-band-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0;
  line-height: 1.65;
}
.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--navy-dark);
  border: 2px solid #fff;
  border-radius: var(--radius-full);
  padding: 14px 32px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition-normal);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  white-space: nowrap;
}
.btn-cta-white:hover {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(16,185,129,0.4);
}
.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.45);
  border-radius: var(--radius-full);
  padding: 14px 32px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition-normal);
  white-space: nowrap;
  backdrop-filter: blur(8px);
}
.btn-cta-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.75);
  color: #fff;
  transform: translateY(-3px);
}

/* ===== ALTERNATING ENQUIRY SECTION ===== */
.enquiry-section--alt {
  background: var(--white);
  padding-top: calc(var(--section-py) + 2rem);
}

/* ===== ADMIN PANEL STYLES ===== */

/* Admin Layout */
.admin-wrapper {
  display: flex;
  min-height: 100vh;
  background: #eef2f7;
}

.admin-sidebar {
  background: #0f172a;
  height: 100vh;
  height: 100dvh;
  width: 256px;
  padding: 0 0 var(--space-lg);
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.18);
  color: var(--white);
  display: flex;
  flex-direction: column;
}

.admin-sidebar::-webkit-scrollbar { width: 4px; }
.admin-sidebar::-webkit-scrollbar-track { background: transparent; }
.admin-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 4px; }
.admin-sidebar::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.22); }

.admin-sidebar-header {
  padding: 24px 20px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 8px;
  position: sticky;
  top: 0;
  background: #0f172a;
  z-index: 2;
}

.admin-sidebar-header h5 {
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 0 3px;
  display: flex;
  align-items: center;
  gap: 9px;
  letter-spacing: -0.01em;
}

.admin-sidebar-header h5 i {
  color: #10b981;
  font-size: 1.15rem;
}

.admin-sidebar-header p {
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  margin: 0;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 600;
}

.admin-nav {
  list-style: none;
  padding: 0 10px;
  margin: 0;
}

.admin-nav-item {
  padding: 0;
  margin: 0;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.58);
  text-decoration: none;
  padding: 9px 12px;
  transition: background 0.15s ease, color 0.15s ease;
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: 8px;
  margin-bottom: 2px;
  white-space: nowrap;
}

.admin-nav-link i {
  font-size: 1.05rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.admin-nav-link:hover {
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.07);
}

.admin-nav-link.active {
  color: #fff;
  background: rgba(37,99,235,0.35);
  font-weight: 600;
}

.admin-nav-link.active i { color: #60a5fa; }

.admin-nav-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin: 10px 0;
}

.admin-main-content {
  margin-left: 256px;
  flex: 1;
  padding: 28px 32px;
  min-height: 100vh;
}

/* Admin Header */
.admin-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.admin-page-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.02em;
}

.admin-page-title i {
  color: #2563eb;
  font-size: 1.2rem;
  background: rgba(37,99,235,0.1);
  width: 36px; height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-page-subtitle {
  color: #64748b;
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.5;
}

/* Stat Cards */
.admin-stat-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px 20px 18px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.admin-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}

.admin-stat-card.gradient-bg {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  color: #fff;
  border: none;
  box-shadow: 0 6px 24px rgba(29,78,216,0.35);
}

.admin-stat-label {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 8px;
}

.admin-stat-card.gradient-bg .admin-stat-label {
  color: rgba(255,255,255,0.75);
}

.admin-stat-value {
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  word-break: break-word;
  padding-right: 52px;
  max-width: 100%;
  white-space: normal;
}

.admin-stat-card.gradient-bg .admin-stat-value { color: #fff; }

@media (max-width: 575.98px) {
  .admin-stat-value { font-size: 1.05rem; padding-right: 40px; }
}

.admin-stat-trend {
  font-size: 0.78rem;
  color: #94a3b8;
}

.admin-stat-card.gradient-bg .admin-stat-trend { color: rgba(255,255,255,0.65); }

.admin-stat-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(37,99,235,0.1);
  color: #2563eb;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-stat-card.gradient-bg .admin-stat-icon {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

/* Admin Tables */
.admin-table-container {
  background: #fff;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.06);
  overflow-x: auto;
  margin-bottom: 24px;
}

.admin-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.admin-table thead {
  background: #f8fafc;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.admin-table thead th {
  color: #475569;
  font-weight: 700;
  padding: 10px 14px;
  text-align: left;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border: none;
  white-space: nowrap;
}

.admin-table tbody tr {
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: background 0.12s ease;
}

.admin-table tbody tr:last-child { border-bottom: none; }

.admin-table tbody tr:hover {
  background: rgba(37,99,235,0.03);
}

.admin-table tbody td {
  padding: 12px 14px;
  color: #334155;
  font-size: 0.875rem;
  vertical-align: middle;
  border: none;
}

.admin-table-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.admin-table-badge.status-active {
  background: rgba(16, 185, 129, 0.15);
  color: var(--secondary-green);
}

.admin-table-badge.status-pending {
  background: rgba(251, 191, 36, 0.15);
  color: #d97706;
}

.admin-table-badge.status-completed {
  background: rgba(59, 130, 246, 0.15);
  color: var(--primary-blue);
}

.admin-table-badge.status-rejected {
  background: rgba(239, 68, 68, 0.15);
  color: #dc2626;
}

/* Admin Empty State */
.admin-empty-state {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  border: 1px dashed rgba(26, 86, 219, 0.2);
  text-align: center;
  color: var(--gray-600);
  box-shadow: var(--shadow-md);
}

.admin-empty-state i {
  font-size: 2rem;
  color: var(--primary-blue);
  display: inline-block;
  margin-bottom: var(--space-md);
}

/* Admin Table Header */
.admin-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.admin-table-header h2 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}
/* Admin Form Card */
.admin-form-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  margin-bottom: 24px;
}

.admin-form-header {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  padding: 18px 24px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 3px;
}

.admin-form-header h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
}

.admin-form-header h2 i {
  color: #2563eb;
  font-size: 1rem;
}

.admin-form-header small {
  font-size: 0.78rem;
  color: #94a3b8;
}

.admin-form {
  padding: 24px;
}

.admin-form-col {
  min-width: 0;
}

/* Compatibility aliases (some admin pages use these) */
.admin-form-input {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  border: 2px solid rgba(26, 86, 219, 0.15);
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  color: var(--navy-dark);
  background: var(--white);
  font-family: inherit;
  transition: var(--transition-fast);
}

.admin-form-input:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
  outline: none;
}

.admin-form-hint {
  display: block;
  margin-top: var(--space-sm);
  font-size: 0.8rem;
  color: var(--gray-500);
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(26, 86, 219, 0.08);
  margin-top: var(--space-lg);
}

/* Make modal content match admin look */
.admin-modal {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(26, 86, 219, 0.08);
}

/* Mobile tweaks for admin form card padding */
@media (max-width: 767.98px) {
  .admin-form {
    padding: var(--space-lg);
  }

  .admin-form-header {
    padding: var(--space-lg);
  }
}

/* Admin Actions */
.admin-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.admin-btn {
  padding: 8px 16px;
  border-radius: 9px;
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.admin-btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.admin-btn-primary {
  background: #2563eb;
  color: #fff;
  border-color: #1d4ed8;
  box-shadow: 0 1px 3px rgba(37,99,235,0.3), 0 4px 10px rgba(37,99,235,0.15);
}

.admin-btn-primary:hover {
  background: #1d4ed8;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37,99,235,0.35);
}

.admin-btn-secondary {
  background: #fff;
  color: #334155;
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.admin-btn-secondary:hover {
  background: #f8fafc;
  border-color: rgba(0,0,0,0.18);
  color: #0f172a;
}

.admin-btn-danger {
  background: #fff;
  color: #dc2626;
  border-color: rgba(220,38,38,0.25);
}

.admin-btn-danger:hover {
  background: #dc2626;
  color: #fff;
  border-color: #dc2626;
}

.admin-btn-sm {
  padding: 5px 11px;
  font-size: 0.75rem;
  border-radius: 7px;
}

/* Admin Forms */
.admin-form-group {
  margin-bottom: var(--space-xl);
}

.admin-form-label {
  font-weight: 600;
  color: var(--navy-dark);
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.admin-form-label.required::after {
  content: ' *';
  color: #dc2626;
}

.admin-form-control,
.admin-form-select,
.admin-form-textarea {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  border: 2px solid rgba(26, 86, 219, 0.15);
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  color: var(--navy-dark);
  background: var(--white);
  font-family: inherit;
  transition: var(--transition-fast);
}

.admin-form-control:focus,
.admin-form-select:focus,
.admin-form-textarea:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
  outline: none;
}

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

.admin-form-help {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: var(--space-sm);
}

.admin-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

/* Admin Cards */
.admin-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(26, 86, 219, 0.05);
  margin-bottom: var(--space-2xl);
}

.admin-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.admin-card-title i {
  color: var(--primary-blue);
}

.admin-card-body {
  color: var(--gray-700);
  line-height: 1.8;
}

/* Admin Grid */
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
  .admin-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
}

/* Admin Modal */
.admin-modal-header {
  background: #f8fafc;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  padding: 18px 24px;
}

.admin-modal-header h5 {
  color: var(--navy-dark);
  font-weight: 700;
  margin: 0;
}

.admin-modal-body {
  padding: var(--space-2xl);
}

.admin-modal-footer {
  background: var(--gray-50);
  border-top: 1px solid rgba(26, 86, 219, 0.1);
  padding: var(--space-lg) var(--space-2xl);
  display: flex;
  gap: var(--space-md);
  justify-content: flex-end;
}

/* Admin Alerts */
.admin-alert {
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.admin-alert i {
  flex-shrink: 0;
  font-size: 0.95rem;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: #fff;
}

.admin-alert-success {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.25);
  color: #065f46;
}
.admin-alert-success i { background: #10b981; }

.admin-alert-danger {
  background: rgba(220, 38, 38, 0.07);
  border-color: rgba(220, 38, 38, 0.22);
  color: #991b1b;
}
.admin-alert-danger i { background: #dc2626; }

.admin-alert-warning {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.25);
  color: #92400e;
}
.admin-alert-warning i { background: #f59e0b; }

.admin-alert-info {
  background: rgba(37, 99, 235, 0.07);
  border-color: rgba(37, 99, 235, 0.2);
  color: #1e40af;
}
.admin-alert-info i { background: #2563eb; }

/* Mobile backdrop overlay (rendered once by admin_topbar) */
.admin-sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 1099;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.admin-sidebar-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}
body.admin-sidebar-open { overflow: hidden; }   /* lock body scroll when drawer open */

/* Admin Responsive */
@media (max-width: 991.98px) {
  .admin-sidebar {
    width: 256px;
    left: -256px;
    transition: left var(--transition-normal);
    z-index: 1100;
  }

  .admin-sidebar.active {
    left: 0;
  }

  .admin-main-content {
    margin-left: 0;
    padding: var(--space-lg);
  }

  .admin-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .admin-table-container {
    padding: var(--space-lg);
  }

  .admin-page-header {
    padding: var(--space-lg);
  }
}

@media (max-width: 767.98px) {
  .admin-sidebar {
    width: 100%;
    left: -100%;
  }

  .admin-main-content {
    padding: var(--space-md);
  }

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

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

  .admin-table {
    font-size: 0.85rem;
  }

  .admin-table thead th,
  .admin-table tbody td {
    padding: var(--space-sm);
  }

  .admin-page-title {
    font-size: 1.5rem;
  }

  .admin-card {
    padding: var(--space-lg);
  }

  .admin-modal-footer {
    flex-wrap: wrap;
    gap: var(--space-sm);
  }

  .admin-actions {
    gap: var(--space-xs);
  }

  .admin-btn {
    padding: var(--space-xs) var(--space-md);
    font-size: 0.75rem;
  }
}

/* Admin Toggle Button (Mobile) */
.admin-sidebar-toggle {
  display: none;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  cursor: pointer;
  font-size: 1.2rem;
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-fast);
}

/* ─── Car-card carousel — show full photo, soft backdrop ────────────── */
.car-img-carousel,
.car-img-carousel .carousel-inner,
.car-img-carousel .carousel-item {
  width: 100%;
  height: 100%;
}
.car-img-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;       /* whole car visible, no cropping */
  object-position: center;
  display: block;
  padding: 10px;
  background: transparent;
}
.car-img-view-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 35, 64, 0.75);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 2;
}
.car-img-carousel .carousel-control-prev,
.car-img-carousel .carousel-control-next {
  width: 14%;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.car-img:hover .car-img-carousel .carousel-control-prev,
.car-img:hover .car-img-carousel .carousel-control-next {
  opacity: 0.85;
}
.car-img-carousel .carousel-control-prev-icon,
.car-img-carousel .carousel-control-next-icon {
  background-color: rgba(15, 35, 64, 0.55);
  border-radius: 50%;
  padding: 14px;
  background-size: 50% 50%;
}
.car-img-carousel .car-img-dots { margin: 0 0 6px; }
.car-img-carousel .car-img-dots button {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  border: none;
  opacity: 0.7;
  margin: 0 3px;
}
.car-img-carousel .car-img-dots button.active {
  background: var(--accent-green, #10b981);
  opacity: 1;
  transform: scale(1.25);
}
@media (hover: none) {
  .car-img-carousel .carousel-control-prev,
  .car-img-carousel .carousel-control-next { opacity: 0.65; }
}

/* Soft, subtle backdrop so contain-fit images don't look "lost" on a wide card */
.car-img {
  background: linear-gradient(135deg, #f8fafc, #eef2f7);
}

/* ─── Partners section (public homepage) — professional layout ───────── */
.partners-section {
    padding: var(--section-py) 0;
    background:
        radial-gradient(circle at 0% 0%, rgba(26, 86, 219, 0.07), transparent 45%),
        radial-gradient(circle at 100% 100%, rgba(16, 185, 129, 0.06), transparent 50%),
        linear-gradient(180deg, #ffffff, var(--bg-section-light));
    position: relative;
}
.partners-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}
.partners-intro {
    color: var(--gray-600, #475569);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 600px;
    margin: 14px auto 0;
}

/* Mini stats strip above the grid */
.partners-stats {
    display: flex;
    justify-content: center;
    gap: 36px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.partners-stats > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 90px;
}
.partners-stats strong {
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--primary-blue, #1a56db);
    line-height: 1;
    letter-spacing: -0.02em;
}
.partners-stats span {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-500, #6b7280);
}

/* Grid — adapts from 4-up to 1 column */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Each partner is a compact, professional card */
.partner-card {
    background: #fff;
    border: 1px solid rgba(15, 35, 64, 0.06);
    border-radius: 14px;
    padding: 20px 18px 18px;
    box-shadow: 0 4px 14px rgba(15, 35, 64, 0.04);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}
/* Subtle accent strip on the top edge */
.partner-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue, #1a56db), var(--accent-green, #10b981));
    opacity: 0.7;
    transition: opacity 0.25s ease;
}
.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(26, 86, 219, 0.15);
    border-color: rgba(26, 86, 219, 0.25);
    color: inherit;
}
.partner-card:hover::before { opacity: 1; }

.partner-logo-wrap {
    height: 40px;                     /* smaller, more professional */
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 0;
    margin-bottom: 4px;
}
.partners-logos {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px 14px;
    align-items: center;
    justify-items: center;
}

/* Ensure partner section doesn't affect other sections layout */
.partners-section .partners-header {
    width: 100%;
}


.partner-logo-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 0;
    width: 100%;
}

.partners-logos .partner-logo-cell img {
    width: 100%;
    height: 46px;
    max-height: 46px;
    object-fit: contain;
    object-position: center;
    display: block;
}



/* Backwards-compatible: admin-style partner cards */
.partner-logo-wrap img {
    max-height: 40px;                 /* compact logo, like trust-strip standards */
    max-width: 40px;
    object-fit: contain;
    filter: grayscale(100%);          /* unified greyscale row → reads as a true trust strip */
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.partner-card:hover .partner-logo-wrap img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.04);
}
.partner-monogram {
    width: 40px; height: 40px;        /* matches the smaller logo size */
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-blue, #1a56db), var(--accent-green, #10b981));
    color: #fff;
    font-size: 1.2rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    letter-spacing: -0.02em;
}
.partner-card.no-logo .partner-logo-wrap { background: transparent; padding: 0; }

.partner-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 auto;
}
.partner-name {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: var(--navy-dark, #1e3a5f) !important;
    text-transform: none !important;
    letter-spacing: -0.01em !important;
    margin: 0;
}
.partner-country {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary-blue, #1a56db);
    background: rgba(26, 86, 219, 0.08);
    padding: 3px 9px;
    border-radius: 999px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.partner-country i { font-size: 0.78rem; }
.partner-desc {
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--gray-600, #475569);
    margin: 4px 0 0;
}
.partner-visit {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed rgba(15, 35, 64, 0.08);
    color: var(--primary-blue, #1a56db);
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.partner-card:hover .partner-visit { color: var(--accent-green, #10b981); }

/* Responsive — gracefully steps down */
@media (max-width: 991.98px) {
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
    .partners-section { padding: var(--section-py) 0; }
    .partners-stats { gap: 22px; }
    .partners-stats strong { font-size: 1.4rem; }
    .partners-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .partner-card { padding: 14px 12px; gap: 8px; }
    .partner-logo-wrap { height: 40px; }
    .partner-logo-wrap img { max-height: 32px; max-width: 40px; }
    .partner-monogram { width: 34px; height: 34px; font-size: 1rem; }
    .partner-name { font-size: 0.95rem !important; }
    .partner-desc { display: none; }   /* keep mobile cards compact */
}
