/* ===== Luxury Auto Port — English LTR Default with Dropdowns & Bottom-Right WhatsApp ===== */

:root {
  --bg-main: #f8fafc;
  --bg-subtle: #f1f5f9;
  --bg-card: #ffffff;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --coral: #e05d4d;
  --coral-hover: #cb4e3f;
  --coral-light: #fef2f2;
  
  --dark-pill: #2b2b2e;
  --dark-pill-hover: #18181b;

  --accent-gold: #c9a557;

  --border: #e2e8f0;
  --border-dark: #cbd5e1;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 50px;
  
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 45px rgba(0,0,0,0.12);

  --max-w: 1240px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  padding-top: 86px;
  font-family: "Inter", "Tajawal", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  direction: ltr;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

body.rtl, html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
  font-family: "Tajawal", "Inter", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Smart Blurred Glass Sticky Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 12px 24px;
  z-index: 1000;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.site-header.header-hidden {
  transform: translateY(-110%);
}

.site-header.header-scrolled {
  background: transparent;
  box-shadow: none;
  padding: 10px 24px;
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.brand-logo-wrap {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, background 0.2s ease;
}

.brand-logo-wrap:hover {
  transform: translateY(-1px);
  background: #ffffff;
}

.nav-pill-menu {
  justify-self: center;
}

.header-utility-wrap {
  justify-self: end;
}

.brand-logo-picture {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background: #ffffff;
}

.brand-logo-picture img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-logo-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .brand-logo-wrap {
    display: contents;
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    background: transparent;
    border: none;
    box-shadow: none;
    justify-content: center;
  }

  .brand-logo-picture {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
  }

  .brand-logo-text {
    display: none;
  }

  .brand-logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .nav-pill-menu {
    display: none;
    position: absolute;
    top: 58px;
    right: 16px;
    width: 210px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 10px 8px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.15);
    flex-direction: column;
    gap: 4px;
    z-index: 1100;
  }

  body.rtl .nav-pill-menu {
    right: auto;
    left: 16px;
  }

  .nav-pill-menu.active {
    display: flex;
  }

  .nav-pill-menu a {
    padding: 10px 14px;
    width: 100%;
    border-radius: 10px;
    font-size: 0.92rem;
  }

  .wa-floating {
    bottom: 110px;
    right: 10px;
  }
}

.modal-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.modal-details-grid img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

@media (max-width: 700px) {
  .modal-box {
    padding: 20px;
  }

  .modal-details-grid {
    grid-template-columns: 1fr;
  }

  .modal-details-grid img {
    display: none;
  }
}

.nav-pill-menu {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-pill-menu a {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.92rem;
  color: #334155;
}
.nav-pill-menu a:hover {
  color: var(--coral);
}
.nav-pill-menu a.active {
  color: var(--coral);
  font-weight: 800;
}

.header-utility-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.utility-dropdown-container {
  position: relative;
}

.icon-circle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}
.icon-circle-btn:hover, .icon-circle-btn.active {
  border-color: var(--coral);
  color: var(--coral);
}

.dropdown-menu-popup {
  position: absolute;
  top: 52px;
  right: 0;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border);
  padding: 12px 8px;
  min-width: 140px;
  max-height: 380px;
  overflow-y: auto;
  z-index: 1100;
  display: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.dropdown-menu-popup.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-item {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: 0.15s;
}
.dropdown-item:hover {
  background: #f8fafc;
  color: var(--coral);
}
.dropdown-item.active {
  color: var(--coral);
  font-weight: 700;
}

.mobile-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border);
  font-size: 1.15rem;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: #334155;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.mobile-toggle:hover {
  border-color: var(--coral);
  color: var(--coral);
}

/* ===== Hero Section ===== */
.hero-iridescent {
  position: relative;
  padding: 70px 0 90px;
  text-align: center;
  background: 
    radial-gradient(ellipse at 50% 10%, rgba(255, 255, 255, 0.9), transparent 70%),
    linear-gradient(135deg, #eef2ff 0%, #f8fafc 40%, #e0e7ff 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero-iridescent h1 {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}
.hero-iridescent p.subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 30px;
}

/* Single Clean Search Bar */
.single-search-bar {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 8px 8px 24px;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
body.rtl .single-search-bar {
  padding: 8px 24px 8px 8px;
}
.single-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 1.05rem;
  color: #0f172a;
  outline: none;
}

.btn-coral-search {
  background: var(--coral);
  color: #ffffff;
  border: none;
  padding: 13px 32px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(224, 93, 77, 0.4);
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-coral-search:hover {
  background: var(--coral-hover);
  transform: translateY(-1px);
}

/* ===== Premium Brands Carousel Section (Attached Image 2 Match) ===== */
.brands-section {
  padding: 70px 0;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 40%, #fca5a5 100%);
  position: relative;
  overflow: hidden;
}
.brands-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.brands-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: #0f172a;
}
.brands-header a {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  opacity: 0.85;
}
.brands-header a:hover {
  opacity: 1;
  color: var(--coral);
}

.brands-slider-wrap {
  position: relative;
}
.brands-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0 20px;
  scrollbar-width: none;
}
.brands-track::-webkit-scrollbar {
  display: none;
}

.brand-card-item {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px 28px;
  min-width: 170px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}
.brand-card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.12);
}
.brand-logo-icon {
  font-size: 2.2rem;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.brand-card-item span {
  font-weight: 800;
  font-size: 0.98rem;
  color: #0f172a;
}

.brands-nav-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}
.brand-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.1);
  color: #0f172a;
  font-weight: 800;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.2s;
}
.brand-nav-btn:hover {
  background: #f8fafc;
  color: var(--coral);
  transform: scale(1.05);
}

/* ===== Origin Filter Buttons ===== */
.filter-origin-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.filter-origin-btn {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-origin-btn:hover {
  border-color: var(--coral);
  color: var(--coral);
}
.filter-origin-btn.active {
  background: var(--coral);
  color: #ffffff;
  border-color: var(--coral);
  box-shadow: 0 4px 14px rgba(224, 93, 77, 0.3);
}

/* ===== Vertical Timeline Step Process (Screenshot 1 Match) ===== */
.timeline-section {
  padding: 80px 0;
  background: #f8fafc;
  border-top: 1px solid var(--border);
}
.timeline-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}
.timeline-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 14px;
}
.timeline-header p {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.7;
}

.timeline-wrap {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 0;
}
.timeline-wrap::before {
  content: "";
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 50%;
  width: 3px;
  background: #cbd5e1;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  margin-bottom: 80px;
}
.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--coral);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
  display: grid;
  place-items: center;
  z-index: 5;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 12px rgba(224, 93, 77, 0.3);
}

.timeline-media {
  position: relative;
  z-index: 2;
}
.timeline-media img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}

.timeline-body {
  position: relative;
  z-index: 2;
}
.timeline-body h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 12px;
}
.timeline-body p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.7;
}

/* Reverse alternating timeline sides */
.timeline-item.reverse .timeline-media {
  grid-column: 2;
  grid-row: 1;
}
.timeline-item.reverse .timeline-body {
  grid-column: 1;
  grid-row: 1;
}

body.rtl .timeline-item.reverse .timeline-media {
  grid-column: 1;
}
body.rtl .timeline-item.reverse .timeline-body {
  grid-column: 2;
}

/* ===== Car Grid & Showcase ===== */
.section {
  padding: 70px 0;
}
.car-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}

.car-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.car-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--coral);
}

.car-thumb {
  position: relative;
  width: 100%;
  height: 220px;
  background: #f1f5f9;
  overflow: hidden;
}
.car-thumb-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.car-thumb-trigger:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
  border-radius: 18px;
}
.car-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.car-card:hover .car-thumb img {
  transform: scale(1.05);
}

.modal-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.modal-details-grid img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

@media (max-width: 700px) {
  .brand-logo-wrap {
    width: 54px;
    height: 54px;
    padding: 8px;
  }

  .nav-pill-menu {
    display: none;
  }

  .modal-box {
    padding: 20px;
  }

  .modal-details-grid {
    grid-template-columns: 1fr !important;
  }

  .modal-details-grid img {
    display: none;
  }
}

.badge-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 800;
}
body.rtl .badge-tag {
  right: auto;
  left: 14px;
}
.badge-buy-now {
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.car-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.car-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}
.car-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 14px;
}

.car-specs-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: #475569;
  margin-bottom: 16px;
}
.car-specs-grid div {
  background: #f8fafc;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #f1f5f9;
}

.car-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: 0.2s;
}
.btn-whatsapp:hover {
  background: #20bd5a;
}

.btn-detail {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}
.btn-detail:hover {
  background: #e2e8f0;
}

/* Floating WhatsApp Button */
.wa-floating {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  z-index: 9999;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s ease;
}
.wa-floating:hover {
  transform: scale(1.1);
}
.wa-floating svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

@media (max-width: 900px) {
  .wa-floating {
    bottom: 94px;
    right: 20px;
  }
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  padding: 30px;
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
}
body.rtl .modal-close {
  right: auto;
  left: 18px;
}

/* Responsive */
@media (max-width: 900px) {
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .site-header,
  .header-inner,
  .nav-pill-menu,
  .nav-pill-menu.active,
  .header-utility-wrap,
  .mobile-bottom-nav,
  .mobile-nav-items {
    direction: ltr;
  }
  .nav-pill-menu,
  .nav-pill-menu.active,
  .header-utility-wrap {
    direction: ltr;
  }
  .nav-pill-menu {
    display: none;
  }
  .nav-pill-menu.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    right: 16px;
    left: auto;
    width: min(280px, calc(100% - 32px));
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    padding: 16px;
    gap: 8px;
    z-index: 1001;
  }
  .nav-pill-menu.active a {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 1rem;
    border-radius: 8px;
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
  }
}

/* ===== PAGE ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Hero and search bar fade-in animations */
.site-header {
  animation: fadeInUp 0.6s ease-out;
}

.hero-iridescent {
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.single-search-bar {
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

/* ===== MOBILE BOTTOM NAV ===== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 999;
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
    width: 100%;
  }

  .mobile-bottom-nav.active {
    display: flex;
    justify-content: center;
  }

  .mobile-nav-items {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    padding: 0 12px;
    gap: 18px;
    transition: all 0.2s;
    text-align: center;
  }

  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 66px;
    min-width: 66px;
    padding: 6px 0;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    border-radius: 16px;
  }

  .mobile-nav-item span {
    display: block;
    margin-top: 3px;
    line-height: 1.2;
  }

  .mobile-nav-item:active {
    background: rgba(224, 93, 77, 0.1);
    color: #e05d4d;
  }

.mobile-nav-item svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 767px) {
  body {
    padding-bottom: 80px;
  }
  
  .mobile-bottom-nav {
    display: flex;
    border-radius: 999px;
    margin: 0 auto;
    bottom: 12px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: fit-content;
    max-width: 280px;
    min-width: 250px;
    height: 62px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    position: fixed;
    z-index: 1000;
  }

  .mobile-bottom-nav.active {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
  }
  
  .site-header {
    padding: 8px 16px;
  }
  
  .header-inner {
    gap: 8px;
  }

  .brand-logo-img {
    width: 52px;
    height: 52px;
    max-height: none;
  }
  
  .hero-iridescent {
    padding: 32px 16px 24px;
  }
  
  .hero-iridescent h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }
  
  .single-search-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 6px 6px 6px 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    gap: 8px;
  }
  body.rtl .single-search-bar {
    padding: 6px 18px 6px 6px;
  }

  .single-search-input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0;
    font-size: 0.95rem;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
  }

  .btn-coral-search {
    width: auto;
    height: 44px;
    padding: 0 20px;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  .brands-slider-wrap {
    padding: 0;
  }
  
  .car-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ===== Mobile Expert Callout Footer & Mobile App Responsive Layouts ===== */
.mobile-expert-footer {
  display: none;
}

.footer-desktop-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-copyright-row {
  text-align: center;
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  color: #64748b;
  font-size: 0.85rem;
}

@media (max-width: 767px) {
  /* Mobile footer overhaul (Matching attached reference image) */
  .footer-desktop-grid {
    display: none !important;
  }
  
  .site-footer-wrapper {
    background: #ffffff !important;
    color: #0f172a !important;
    padding: 40px 20px 100px !important;
    border-top: 1px solid #e2e8f0 !important;
    text-align: left;
  }
  body.rtl .site-footer-wrapper {
    text-align: right;
  }

  .mobile-expert-footer {
    display: block;
    max-width: 480px;
    margin: 0 auto;
  }

  .mobile-expert-footer h3 {
    font-size: 1.55rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.25;
  }

  .mobile-expert-footer p {
    font-size: 0.98rem;
    color: #475569;
    margin-bottom: 24px;
    line-height: 1.5;
  }

  .mobile-expert-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .btn-expert-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    background: #ffffff;
    border: 1.5px solid #111827;
    border-radius: 999px;
    color: #0f172a;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  .btn-expert-outline:hover {
    background: #f8fafc;
  }

  .btn-expert-dark {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 52px;
    background: #111827;
    border: none;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  .btn-expert-dark:hover {
    background: #1f2937;
  }

  .footer-copyright-row {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    color: #94a3b8;
    font-size: 0.85rem;
    text-align: center;
  }

  /* How It Works mobile app timeline card flow (Matching attached reference image 2) */
  .timeline-wrap::before {
    display: none !important;
  }
  .timeline-badge {
    display: none !important;
  }
  .timeline-wrap {
    padding: 0 !important;
  }
  .timeline-item, .timeline-item.reverse {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    margin-bottom: 36px !important;
    background: transparent !important;
  }
  .timeline-media {
    width: 100% !important;
    order: 1 !important;
  }
  .timeline-media img {
    width: 100% !important;
    height: 240px !important;
    object-fit: cover !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08) !important;
  }
  .timeline-body {
    width: 100% !important;
    order: 2 !important;
    text-align: left !important;
    padding: 0 4px !important;
  }
  body.rtl .timeline-body {
    text-align: right !important;
  }
  .timeline-body h3 {
    font-size: 1.45rem !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    margin-bottom: 8px !important;
    letter-spacing: -0.3px !important;
  }
  .timeline-body p {
    font-size: 0.95rem !important;
    color: #475569 !important;
    line-height: 1.65 !important;
  }

  /* Who We Are page mobile view overhaul (Tight padding, zero illustration gap, no empty spaces) */
  body.page-about section,
  body.page-about .section {
    padding: 24px 0 !important;
  }

  body.page-about .hero-iridescent {
    padding: 28px 16px 16px !important;
  }

  body.page-about .container[style*="grid-template-columns"] {
    display: block !important;
    gap: 0 !important;
  }

  /* Hide vector SVG illustrations on mobile view for Who We Are page */
  .about-illustration {
    display: none !important;
  }

  /* Hide footer completely on mobile view for Who We Are page */
  footer.hide-mobile-footer,
  .site-footer-wrapper.hide-mobile-footer {
    display: none !important;
  }
}

/* Base Responsive Grids for Services & Values Cards */
.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.values-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

@media (max-width: 767px) {
  .services-cards-grid,
  .values-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
  }

  .services-cards-grid > div,
  .values-cards-grid > div {
    padding: 24px 20px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Hide Contact Us section in footer on mobile view for Contact Us page */
  body.page-contact .footer-contact-column {
    display: none !important;
  }
}
