/* ========================================= */
/* LOCAL FONTS SETUP (Self-Hosted)           */
/* ========================================= */

/* 1. Reggae One (Auto Deals Title) */
@font-face {
  font-family: 'Reggae One';
  src: url('../../fonts/ReggaeOne-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fondamento';
  src: url('../../fonts/Fondamento-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Audiowide';
  src: url('../../fonts/Audiowide-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cuprum';
  src: url('../../fonts/Cuprum-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Exo 2';
  src: url('../../fonts/Exo2-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Federo';
  src: url('../../fonts/Federo-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Play';
  src: url('../../fonts/Play-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Amarna';
  src: url('../../fonts/Amarna-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}



:root {
  --font-autodeals: "Reggae One", system-ui;
  --font-logistics-services: "Fondamento", cursive;
  --font-expand-subject: "Audiowide", sans-serif;
  --font-expand-body: "Cuprum", sans-serif;
  --font-expand-year: "Exo 2", sans-serif;
  --font-expand-price: "Federo", sans-serif;
  --font-search: "Play", sans-serif;
  --font-contact: "Amarna", sans-serif; 
  --sidebar-text: #f1f1f1; /* Dark Green */
  --floating-shadow:
    0 16px 40px rgba(0, 0, 0, 0.18),
    0 6px 16px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
}

html, body {
  height: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-search);
  font-weight: 600;
}

body {
  overflow-y: auto;  /* ensure scrolling is enabled */
  background: #f4f1ec; /* smokey cream white */
}

/* HEADER BASE (REDUCED HEIGHT) */
.main-header {
  position: sticky;
  top: 16px; /* creates floating gap */
  background: #1c1c1c;

  border-radius: 70px;
  /* --- THE FIX START --- */
  min-height: auto;
  /* Bar length trimmed to 8/10 of the viewport, centered. */
  width: 80%;
  margin: 0 auto;
  /* --- THE FIX END --- */
  display: flex;

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.25),
    0 4px 12px rgba(0, 0, 0, 0.15);

  z-index: 100;
  padding-bottom: 20px;
}



.page-indicator,
.search-zone,
.header-actions {
  margin-top: 45px; /* pulls them down to center */
  margin-left: 35px;
}


.header-inner {
    display: flex;
    align-items: center;
    justify-content: flex; /* Change this from center */
    /* Stretch content to the pill's edges: the old 92%/1400px inset left
       ~1in of dead space at BOTH ends of the bar. */
    width: calc(100% - 36px);
    max-width: none;
    margin: 0 auto;
    height: 100%;
    position: relative;
    
}


/* LOGO OVERLAP (50% INTO BODY) */

.logo-zone {
  position: absolute;
  left: -100px; /* nudged back so the car art clears the AUTO DEALS label */
  top: -22px; 
  z-index: 100;
}

.logo-zone img {
  height: 250px;
  object-fit: contain;
} 

/* PAGE INDICATOR */
.page-indicator {
  margin-left: 260px; /* clears the edge-anchored logo */
  position: relative;
  padding-bottom: 6px;
  
}



.page-title {
  color: #e6b35c;
  
  display: inline-block;
  animation: slideDown 0.6s ease forwards;
  font-family: var(--font-autodeals);
  font-weight: 400;
  font-size: 20px; /* adjust freely */
  letter-spacing: 1px;
  cursor: pointer;                /* Shows the hand icon */
  transition: transform 0.3s ease; /* Makes the zoom smooth */

  
}

/* ZOOM OUT EFFECT ON HOVER */
.page-title:hover {
  transform: scale(0.92); /* Scales down to 92% (Zoom Out) */
}

.active-underline {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  
  /* Simple Gold Gradient */
  background: linear-gradient(to right, #d4af37, #f5c46b);
  
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(212,175,55,0.4);
  
  /* Smoothly return to center when mouse leaves */
  transition: transform 0.3s ease; 
}

/* When cursor is on Auto Deals, physically move the line back and forth */
.page-indicator:hover .active-underline {
  animation: moveLinePhysical 1s ease-in-out infinite;
}

@keyframes goldFlow {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 200% 0; /* Moves the gradient fully across */
  }
}

@keyframes moveLinePhysical {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(10px); /* Move right 10 pixels */
  }
  100% {
    transform: translateX(0);    /* Move back to start */
  }
}

/* SEARCH (COMPACT + ICON BACKUP) */
.search-zone {
  flex: 1;
  max-width: 400px;
  position: relative;
  border-radius: 30px;
  margin-left: auto;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #a52121;
  pointer-events: none; /* icon is visual backup, not blocking */
}
.search-zone::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;

  background: radial-gradient(circle, #ff4d4d 30%, rgba(255,77,77,0.3) 60%, transparent 75%);
  filter: drop-shadow(0 0 6px rgba(255,77,77,0.9))
        drop-shadow(0 0 12px rgba(255,77,77,0.6));
  border-radius: 50%;
  

  offset-path: inset(0 round 30px);
  offset-distance: 0%;
  offset-rotate: auto;

  animation: searchRunner 4s linear infinite;

  pointer-events: none;
  z-index: 1;
}

.search-zone.gold-glow::before {
  background: radial-gradient(
    circle,
    #d4af37 30%,
    rgba(212,175,55,0.4) 60%,
    transparent 75%
  );

  filter: drop-shadow(0 0 6px rgba(212,175,55,0.9))
          drop-shadow(0 0 14px rgba(212,175,55,0.6));
}

.search-zone:focus-within::before {
  animation: none;
  opacity: 0;
}




.search-zone input {
  width: 100%;
  padding: 10px 16px 10px 40px; /* space for icon */
  border-radius: 24px;
  border: 1px solid #444;
  background: #2a2a2a;
  color: #fff;
  font-family: var(--font-search);
  font-weight: 400;
  font-size: 15px;
  position: relative;
  z-index: 2;
}



.search-zone input:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 8px rgba(212,175,55,0.4);
}

/* SEARCH DROPDOWN */
.search-dropdown {
  display: none;
  position: absolute;
  top: 46px;
  width: 100%;
  background: #242424;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}

.search-dropdown.active {
  display: block;
}

.search-item {
  padding: 8px;
  color: #ddd;
}

/* ACTION BUTTONS */
.header-actions {
  display: flex;
  gap: 30px;
  margin-right: 32px; /* pulled away from edge */
  
}




.nav-btn1 {
  padding: 8px 18px;
  border-radius: 0 18px 0 18px;
  background: transparent;
  border: 2px solid #d4af37;
  color: #d4af37;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-logistics-services);
  font-weight: 400;
  font-size: 16px; /* adjust freely */
  transition: transform 0.25s ease, letter-spacing 0.25s ease;

}
.nav-btn2 {
  padding: 8px 18px;
  border-radius: 18px 0 18px 0;
  background: transparent;
  border: 2px solid #d4af37;
  color: #d4af37;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-logistics-services);
  font-weight: 400;
  font-size: 16px; /* adjust freely */
  transition: transform 0.25s ease, letter-spacing 0.25s ease;

}

.nav-btn1:hover {
  /* background: #d4af37; */
  /* color: #111; */
  transform: scale(1.12);
  letter-spacing: 1px;

}
.nav-btn2:hover {
 /* background: #d4af37; */
 /* color: #111; */
 transform: scale(1.12);
  letter-spacing: 1px;

}

/* ANIMATIONS */
@keyframes underlineIn {
  from { width: 0; }
  to { width: 100%; }
}

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

@keyframes buttonPress {
  0%   { transform: scale(1.12); }
  50%  { transform: scale(0.95); }
  100% { transform: scale(1.08); }
}
@keyframes searchRunner {
  from {
    offset-distance: 0%;
  }
  to {
    offset-distance: 100%;
  }
}


/* SLIDER SECTION*/

/* SLIDER CONTAINER */


.hero-slider {
  position: relative;

  max-width: 1180px;       /* reduced length */
  margin: 48px auto 0;     /* breathing room */
  padding: 0 80px;

  border-radius: 30px;
  overflow: hidden;

  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.18),
    0 6px 16px rgba(0, 0, 0, 0.12);
}


/* TRACK */
.hero-track {
  display: flex;
  /*gap: 10px;*/
  transition: transform 1s ease-in-out;
}

/* SLIDE */
.hero-slide {
  min-width: 100%;
  flex: 0 0 100%;
  height: 380px;
  border-radius: 30px;
  overflow: hidden;
}

/* MEDIA */
.hero-slide img,
.hero-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* DOT INDICATORS */
.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.hero-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: all 0.3s ease;
  cursor: pointer;
}

.hero-dots span.active {
  background: #d4af37;
  transform: scale(1.3);
}
/* END SLIDE BAR*/


/* ========================================= */
/* ACTION ADS SECTION                        */
/* ========================================= */
.action-ads-section {
  display: flex;
  gap: 20px;
  max-width: 1180px;
  margin: 30px auto; /* Space above/below */
  padding: 0 20px; /* Safety padding */
  height: 280px; /* Fixed medium height */
}

.ad-card {
  flex: 1; /* Both cards take equal space */
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.ad-card:hover {
  transform: translateY(-5px);
  border-color: #d4af37;
}

/* Background Image with Animation */
.ad-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  /* The "Live Advert" Effect */
  animation: adZoom 20s linear infinite;
}

/* Dark Overlay */
.ad-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.2));
}

/* Content */
.ad-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 20px;
}

.ad-content i {
  font-size: 40px;
  color: #d4af37;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.ad-content h3 {
  font-family: var(--font-expand-subject); /* Using your existing font var */
  font-size: 24px;
  letter-spacing: 1px;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.ad-content p {
  font-family: var(--font-search);
  font-size: 14px;
  color: #ddd;
  margin-bottom: 15px;
  max-width: 80%;
}

.ad-btn {
  padding: 8px 20px;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid #d4af37;
  color: #d4af37;
  border-radius: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ad-card:hover .ad-btn {
  background: #d4af37;
  color: #000;
}

/* ANIMATION KEYFRAMES (Subtle Zoom) */
@keyframes adZoom {
  0% { transform: scale(1.0); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1.0); }
}

/* RESPONSIVE (Stack on Mobile) */
/* ========================================= */
/* MOBILE ACTION ADS: 30% SCALE REDUCTION    */
/* ========================================= */
@media (max-width: 768px) {
  .action-ads-section {
    flex-direction: column;
    height: auto;
    gap: 15px;      /* Tighter gap between cards */
    margin: 20px auto; 
    padding: 0 15px;
  }

  .ad-card {
    height: 180px;  /* Reduced ~30% from 250px */
    width: 100%;
    border-radius: 15px;
  }

  /* Tighten internal content */
  .ad-content {
    padding: 10px;
  }

  .ad-content i {
    font-size: 28px; /* Reduced from 40px */
    margin-bottom: 5px;
  }

  .ad-content h3 {
    font-size: 16px; /* Reduced from 24px */
    letter-spacing: 0.5px;
    margin-bottom: 4px;
  }

  .ad-content p {
    font-size: 11px; /* Reduced from 14px */
    margin-bottom: 10px;
    max-width: 90%;
    line-height: 1.3;
  }

  .ad-btn {
    padding: 6px 16px; /* Slimmer button */
    font-size: 11px;
    border-radius: 15px;
  }
}

/* LEFT FILTER SIDEBAR */

/* ============================= */
/* LEFT FILTER SIDEBAR (VERTICAL) */
/* ============================= */

.filter-sidebar {
  position: fixed;
  bottom: 24px;
  left: 80px;

  width: 300px;

  
  color: #ffffff;
  background:
    linear-gradient(
      180deg,
      rgba(40, 40, 40, 0.75),
      rgba(25, 25, 25, 0.82)
    );



  border: 1.5px solid rgba(212,175,55,0.65);
  border-radius: 22px;

  backdrop-filter: blur(8px);

  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.18),
    0 6px 16px rgba(0, 0, 0, 0.12);

  z-index: 20;

  display: flex;
  flex-direction: column;

  /* COLLAPSE CONTROL */
  max-height: 70px; /* header-only */
  overflow: hidden;

  transition:
    max-height 0.45s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.filter-sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.08),
      rgba(255,255,255,0)
    );

  pointer-events: none;
}



/* EXPANDED STATE */
.filter-sidebar.expanded {
  max-height: calc(100vh - 320px);
}

/* ============================= */
/* SIDEBAR HEADER (ALWAYS VISIBLE) */
/* ============================= */

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 12px 14px;

  border-bottom: 1px solid rgba(212,175,55,0.4);
  border-radius: 18px 18px 0 0;
  box-shadow:
    inset 0 -1px 0 rgba(212,175,55,0.25);
}




/* SEARCH INPUT */
.sidebar-search {
  flex: 1;

  padding: 8px 12px;
  border-radius: 20px;
  border: 1px solid rgba(212,175,55,0.5);

  background: rgba(20,20,20,0.9);
  color: var(--sidebar-text);
  font-family: var(--font-search);
  font-weight: 400;
  font-size: 15px;

  font-size: 14px;
}

.sidebar-search::placeholder {
  color: var(--sidebar-text);
  font-family: var(--font-search);
  font-weight: 400;
  font-size: 15px;
}

.sidebar-search:focus {
  outline: none;
  border-color: #d4af37;
}

/* TOGGLE BUTTON (UP / DOWN) */
.sidebar-toggle {
  width: 36px;
  height: 36px;

  border-radius: 50%;
  border: 2px solid #d4af37;
  background: #111;

  color: #d4af37;
  font-size: 18px;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow:
    0 6px 14px rgba(212,175,55,0.35),
    inset 0 1px 2px rgba(255,255,255,0.15);

  transition: transform 0.3s ease;
}
.sidebar-toggle:hover {
  transform: scale(1.08);
}

/* ROTATE ARROW WHEN EXPANDED */
.filter-sidebar.expanded .sidebar-toggle {
  transform: rotate(180deg);
}

/* ============================= */
/* FILTER CONTENT (SCROLLABLE) */
/* ============================= */

.filter-content {
  padding: 18px 18px 22px;

  overflow-y: auto;
  max-height: calc(100vh - 420px);
}

/* ============================= */
/* FILTER TEXT COLORS */
/* ============================= */

.filter-sidebar,
.filter-sidebar label,
.filter-sidebar h4,
.filter-sidebar small {
  color: var(--sidebar-text);
}

/* ============================= */
/* FILTER GROUPS */
/* ============================= */

.filter-group {
  margin-bottom: 24px;
}

.filter-group h4 {
  margin-bottom: 10px;
  font-size: 15px;
  color: #e6b35c;
}

.filter-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  cursor: pointer;
}

/* ============================= */
/* RANGE INPUTS */
/* ============================= */

.range-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
}

.range-inputs input {
  width: 100%;
  padding: 6px 8px;

  border-radius: 8px;
  border: 1px solid #444;
  background: #222;

  color: #eaeaea;
  font-size: 13px;
}

.filter-group small {
  font-size: 12px;
  opacity: 0.7;
}



.page-layout {
  display: block;        /* CHANGED: Removed 'flex' to stop side-by-side enforcement */
  padding: 40px 0;       /* CHANGED: Removed left padding/gap */
  width: 100%;
  position: relative;
  
}

.cars-area {
  margin-left: 0;        /* CHANGED: Removed 380px margin. Now uses full width */
  width: 100%;
  padding-top: 40px;
  transition: none;
  
}


/* ========================================= */
/* MOBILE FIX: PERFECTLY CENTERED FILTER BAR */
/* ========================================= */
@media (max-width: 768px) {
  .filter-sidebar {
    /* 1. Reset desktop positioning */
    position: fixed;
    left: 40% !important;
    bottom: 20px !important;
    transform: translateX(-50%); /* This is the secret to perfect centering */
    
    /* 2. Set consistent width */
    width: 78% !important;
    max-width: 320px;
    
    /* 3. Reclaim vertical space */
    max-height: 60px; /* Collapsed height */
    z-index: 2000;   /* Ensure it sits above the cars but below the menu */
  }

  .filter-sidebar.expanded {
    width: 90% !important; /* Grow to full width when user is actually filtering */
    left: 50% !important;
    max-height: 80vh !important; /* Opens upwards, covering 80% of screen */
    bottom: 10px !important;
  }

  /* 4. Balance the Header Internal Spacing */
  .sidebar-header {
    padding: 10px 12px;
    gap: 8px;
    justify-content: space-between;
  }

  .sidebar-search {
    font-size: 14px;
    padding: 8px 15px;
    border-radius: 25px; /* Softer pill shape */
  }

  .sidebar-toggle {
    width: 38px;
    height: 38px;
    flex-shrink: 0; /* Prevents the button from squishing */
  }

  /* 5. Ensure Content is readable when expanded */
  .filter-content {
    padding: 20px;
    max-height: calc(80vh - 70px);
  }
}




/*===end====*/

/*===Search Button side panel*/
.filter-action {
  margin-top: auto;               /* ⬅ pushes it to the bottom */
  
  padding: 14px;
  border-top: 1px solid rgba(212,175,55,0.25);
}

.filter-search-btn {
  width: 100%;
  padding: 11px;

  border-radius: 16px;
  border: 1px solid rgba(212,175,55,0.6);

  background: linear-gradient(135deg, #d4af37, #f5c46b);
  color: #111;

  font-family: var(--font-search);
  font-weight: 700;
  font-size: 15px;

  cursor: pointer;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.filter-search-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 10px 22px rgba(212,175,55,0.35);
}


/*==Search Result===*/
.empty-state {
  text-align: center;
  padding: 40px;
  color: #555;
  font-family: var(--font-search);
}
.empty-state i {
  font-size: 50px;
  color: #d4af37;
  display: block;
  margin-bottom: 10px;
}

/*====end====*/


/* END LEFT SIDE BAR*/
.cars-section {
  position: relative;
  margin-top: 32px;   /* space under slider */
}


/* ============================= */
/* CARS GRID */
/* ============================= */

.cars-grid {
  display: grid;
  
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  
  /* 2. POSITION FIX: Moves grid to the Left */
  margin-left: 0;       /* Align to left */
  margin-right: auto;   /* Right side can be empty */
 

  /* 3. Adds the "little space" from the edge */
  padding-left: 30px;   
  padding-right: 30px;     /* No need for right padding */

  max-width: 1440px;
  width: 100%;
  gap: 40px 30px;
}

/* ============================= */
/* CAR CARD */
/* ============================= */

.car-card {
  max-width: 380px;          /* 👈 limits width so they don't get huge */
  width: 100%;
  margin: 0 auto;            /* 👈 centers card in the grid column */

  position: relative;
  background: rgba(43, 41, 41, 0.85);
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  padding-bottom: 4px; 

  box-shadow:
    0 12px 30px rgba(0,0,0,0.6),
    inset 0 0 0 1px rgba(212,175,55,0.25);

  backdrop-filter: blur(6px);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.car-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.75),
    inset 0 0 0 1px rgba(212,175,55,0.45);
}

/*======END=====*/

.car-media {
  height: 400px;
  
  padding: 12px;
  overflow: hidden;
  
  position: relative;
  overflow: hidden;
}
.car-media::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 2.5s infinite;
  z-index: 1
}

.car-track {
  display: flex;
  height: 100%;
  width: 100%;
  /* REMOVED: animation: carSlide 10s infinite ease-in-out; */
  
  /* ADDED: Smooth movement for JavaScript control */
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); 
  
  position: relative;
  z-index: 2; 
  will-change: transform; /* Performance optimization for smoother sliding */
}

.car-slide {
  flex: 0 0 100%;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  padding: 0 8px;
  box-sizing: border-box;
}
@keyframes shimmer {
  100% { transform: translateX(100%); }
}

.car-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  position: relative;
  z-index: 3;
  
}


@keyframes carSlide {
  0%, 25% { transform: translateX(0); }
  33%, 58% { transform: translateX(-100%); }
  66%, 100% { transform: translateX(-200%); }
}

/*==========End====*/

.car-info {
  padding: 14px 16px 18px;
}
.car-title .car-year{
  font-family: var(--font-expand-year);
  margin-left: 10px;
  color: #b9b6b0;
}

.car-title .car-name {
  font-family: var(--font-expand-subject);
  font-size: 17px;
  font-weight: 700;
  color: #e6b35c;
  margin-bottom: 8px;
}

.car-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: #dcdcdc;
}

.car-price {
  font-family: var(--font-expand-price);
  font-size: 16px;
  color: #d4af37;
  margin-bottom: 10px;

}

.car-notes {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.offer {
  color: #d4af37;
}

.contact {
  color: #8fd1ff;
}



/*==========end and mobile view======*/

/* ========================================= */
/* MOBILE COMPACT CAR CARD (2-COLUMN GRID)   */
/* ========================================= */
@media (max-width: 480px) {
  
  /* 1. Force 2 columns and tighten spacing */
  .cars-grid {
    grid-template-columns: repeat(2, 1fr); /* 👈 This places two cars side-by-side */
    padding-left: 10px;
    padding-right: 10px;
    gap: 12px; /* Tighter gap for small screens */
  }

  /* 2. Remove max-width so they fill the grid columns */
  .car-card {
    max-width: none; 
    border-radius: 12px;
  }

  /* 3. Reduce Image Height for 2-column balance */
  .car-media {
    height: 160px; /* 👈 Reduced further so they aren't too tall side-by-side */
    padding: 5px;   
  }

  /* 4. Tighter Text Area */
  .car-info {
    padding: 8px 10px;
  }

  .car-title .car-name {
    font-size: 12px; /* Smaller for narrow columns */
    margin-bottom: 2px;
  }

  .car-title .car-year {
    font-size: 11px;
    margin-left: 4px;
  }

  .car-price {
    font-size: 12px;
    margin-bottom: 4px;
    font-weight: bold;
  }

  .car-meta {
    font-size: 10px;
    gap: 1px;
  }

  .car-notes {
    display: none; /* 👈 Hidden on 2-col mobile to keep it clean */
  }
  
  .sold-badge {
    font-size: 18px;
    letter-spacing: 1px;
  }
}
/*=========End====*/

.sold-badge {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  /* --- THE FIX: BRING TO FRONT --- */
  z-index: 10; 
  /* ------------------------------- */

  font-size: 42px;
  font-weight: 800;
  letter-spacing: 4px;

  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.6);

  backdrop-filter: blur(3px);
}

.car-card[data-status="sold"] .sold-badge {
  display: flex;
}


/*=====end=====*/


/* ============================= */
/* EXPANDED CAR OVERLAY */
/* ============================= */

.car-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
}

.car-overlay.active {
  display: flex;
  opacity: 1;
  visibility: visible;
}

/* BACKDROP */
.overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.65);
  backdrop-filter: blur(6px);
}

/* ============================= */
/* EXPANDED CARD */
/* ============================= */

.expanded-car-card {
  position: relative;
  width: min(92vw, 800px);
  max-height: 88vh;

  background:
    linear-gradient(
      180deg,
      rgba(40, 40, 40, 0.92),
      rgba(22, 22, 22, 0.96)
    );

  border-radius: 28px;
  overflow-y: auto;

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(212, 175, 55, 0.25);

  z-index: 2;
}

/* ============================= */
/* TOP BAR */
/* ============================= */

.expanded-top-bar {
  position: sticky;
  top: 0;
  z-index: 10;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 14px 18px;

  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(6px);

  border-bottom: 1px solid rgba(212,175,55,0.3);
}

.overlay-close {
  background: transparent;
  border: none;
  color: #d4af37;
  font-size: 26px;
  cursor: pointer;
}

.media-counter {
  font-size: 14px;
  color: #e6b35c;
  font-family: var(--font-search);
}

/* ============================= */
/* MEDIA SECTION */
/* ============================= */

.expanded-media {
  position: relative;
  padding: 24px;
}

.expanded-media-track {
  position: relative;
  height: 480px;
  border-radius: 22px;
  overflow: hidden;

  box-shadow:
    0 16px 40px rgba(0,0,0,0.5);
}

.expanded-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.expanded-slide.active {
  opacity: 1;
}

.expanded-slide img,
.expanded-slide iframe {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 22px;
}

/* VIDEO SLIDE */
.video-slide iframe {
  background: #000;
}

/* ============================= */
/* MEDIA NAVIGATION */
/* ============================= */

.media-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;

  width: 46px;
  height: 46px;

  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.6);

  background: rgba(20,20,20,0.75);
  color: #d4af37;
  font-size: 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
}

.media-nav.prev { left: 36px; }
.media-nav.next { right: 36px; }

.media-nav:hover {
  transform: translateY(-50%) scale(1.08);
}

/* ============================= */
/* MEDIA TRACKER */
/* ============================= */

.media-tracker {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.media-tracker .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
}

.media-tracker .dot.active {
  background: #d4af37;
  transform: scale(1.3);
}

.media-tracker .dot.video {
  background: linear-gradient(135deg, #8fd1ff, #d4af37);
}

/* ============================= */
/* CORE IDENTITY (ALWAYS VISIBLE) */
/* ============================= */

.car-core-identity {
  padding: 28px 32px;
  border-bottom: 1px solid rgba(212,175,55,0.25);
}

.car-main-title .car-name {
  font-family: var(--font-expand-subject);
  font-size: 32px;
  font-weight: 800;
  color: #e6b35c;
  letter-spacing: 1px;
}

.car-main-title span {
  font-family: var(--font-expand-year);
  font-size: 24px;
  margin-left: 10px;
  color: #ffffff;
}

.car-subtitle {
  margin-top: 6px;
  font-size: 15px;
  color: #dcdcdc;
}

.car-price-expanded {
  margin-top: 16px;
  font-family: var(--font-expand-price);
  font-size: 26px;
  font-weight: 700;
  color: #d4af37;
}

/* ============================= */
/* PRIMARY ACTIONS */
/* ============================= */

.primary-actions {
  margin-top: 18px;
  display: flex;
  gap: 18px;
  
  
}

.primary-actions i {
  font-size: 18px;
  line-height: 1;
}


.primary-actions button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 15px;
  font-family: var(--font-contact);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@keyframes softBounce {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

.primary-actions button:hover {
  animation: softBounce 2.75s ease;
}

.direct-contact {
  font-size: 15px;
  font-family: var(--font-expand-body);
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.3px;
  white-space: nowrap;
  margin-top: 18px;
}

.direct-contact strong {
  color: #e6b35c;
  font-weight: 600;
}

.direct-contact a {
  text-decoration: none;
}


/* MESSAGE BUBBLE */
.btn-contact::after {
  content: "Use WhatsApp for faster response";
  position: absolute;

  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);

  background: rgba(20, 20, 20, 0.9);
  color: #ffffff;

  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;

  border-radius: 14px;
  white-space: nowrap;

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255,255,255,0.15);

  opacity: 0;
  pointer-events: none;

  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

/* BUBBLE TAIL */
.btn-contact::before {
  content: "";
  position: absolute;

  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);

  width: 10px;
  height: 10px;

  background: rgba(20, 20, 20, 0.9);
  clip-path: polygon(50% 100%, 0 0, 100% 0);

  opacity: 0;
  transition: opacity 0.35s ease;
}

/* SHOW ON HOVER */
.btn-contact:hover::after,
.btn-contact:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}





.btn-offer,
.btn-contact {
  padding: 12px 22px;
  border-radius: 24px;
  font-size: 15px;
  cursor: pointer;
  border: none;

  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-offer {
  background: linear-gradient(135deg, #d4af37, #f5c46b);
  color: #111;
  font-weight: 700;
}

.btn-contact {
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.35);
  position: relative;
}


/*=============icon=======*/
.icon-row {
  display: flex;
  justify-content: space-between; /* left | center | right */
  align-items: center;
  width: 80%;          /* controls how spread out they are */
  max-width: 600px;    /* prevents extreme spacing on large screens */
  margin: 0 auto;      /* centers the whole group */
  transform: translateX(-55px);
}


/* Icon placed vertically above existing text */
.icon-top {
  display: flex;
  flex-direction: column;
  
  gap: 0.6rem;
  text-align: center;
}

/* Large luxury icon */
.icon-top i {
  font-size: 3rem;          /* 3× size */
  color: #c9a24d;           /* gold accent */
  line-height: 1;
}

/* Keep original text styling untouched */
.icon-top strong {
  font-weight: 600;
}



/*=======END=========*/

/* ============================= */
/* DETAILS GRID */
/* ============================= */

.car-details-grid {
  padding: 28px 32px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 28px;
}

.car-details-grid .detail {
  font-size: 14px;
  color: #eaeaea;
}

.car-details-grid .detail strong {
  color: #e6b35c;
}

.car-details-grid .rating {
  grid-column: span 3;
  font-size: 16px;
  margin-top: 10px;
}

/* ============================= */
/* CAR NOTE SECTION */
/* ============================= */

.car-note-section {
  margin: 14px 32px 36px;
  padding: 14px 26px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  width: calc(100% - 64px); /* force wide strip */
  max-width: none;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );

   

  border-radius: 18px;
  border: 1px solid rgba(212,175,55,0.25);

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.04);
    
}

.car-note-title {
  font-family: var(--font-expand-subject);
  font-size: 18px;
  font-weight: 700;
  color: #e6b35c;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
}

.car-note-text {
  font-family: var(--font-expand-body);
  font-size: 14px;
  line-height: 1.65;
  color: #eaeaea;
  opacity: 0.95;
  
  
}

.car-note-footer {
  margin: 10px 32px 32px;
  width: calc(100% - 64px);

  text-align: center;
  font-size: 12px;
  letter-spacing: 0.6px;

  color: rgba(255,255,255,0.45);
  font-family: var(--font-expand-body);
}

/*======End======*/

/* ============================= */
/* OFFER FORM – FLOATING GLASS   */
/* ============================= */

.offer-form-overlay {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 10001;

  /* NON-BLOCKING */
  pointer-events: none;
}

/* GLASS CARD */
.offer-form-card {
  width: 340px;
  padding: 22px 22px 20px;

  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.25);

  box-shadow:
    0 18px 45px rgba(0,0,0,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.08);

  color: #fff;
  pointer-events: auto;

  animation: offerSlideIn 0.35s ease;

}
/* Style for invalid inputs */
.input-error {
  border: 2px solid #ff4444 !important;
  background-color: #ffe6e6 !important;
  animation: shake 0.3s ease-in-out;
}

/* Add this to the end of your CSS file */

.form-error-text {
  color: #ff4444;       /* Bright red */
  font-size: 12px;
  margin-top: -6px;     /* Pulls it closer to the input above */
  margin-bottom: 12px;  /* Pushes the next input down slightly */
  text-align: left;
  font-weight: 500;
  display: block;
  animation: slideDownFade 0.3s ease;
}

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

/* Optional: A little shake animation */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* ENTRY ANIMATION */
@keyframes offerSlideIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* CLOSE BUTTON */
.offer-close {
  position: absolute;
  top: 12px;
  right: 14px;

  background: none;
  border: none;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
}

/* FORM */
.offer-form-card h3 {
  margin-bottom: 14px;
  font-family: var(--font-expand-subject);
  color: #e6b35c;
}

.offer-form-card input {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 10px;

  border-radius: 12px;
  border: none;
  outline: none;

  background: rgba(20,20,20,0.85);
  color: #fff;
  font-size: 14px;
}

/* SUBMIT */
.offer-form-card button[type="submit"] {
  width: 100%;
  margin-top: 8px;
  padding: 12px;

  border-radius: 14px;
  border: none;
  cursor: pointer;

  background: linear-gradient(135deg, #d4af37, #f5c46b);
  color: #111;
  font-weight: 700;
}

/* SUCCESS MESSAGE */
.offer-success {
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  color: #fff;
}


/*=======end====*/



/*======Pagination=====*/

/*======Pagination Fixed=====*/

.pagination-zone {
  display: flex;
  align-items: center;
  justify-content: center; 
  gap: 40px;               
  margin: 60px auto; /* Increased margin for better separation from cards */
  width: 100%;
  position: relative;
  left: 0; /* Ensures no inheritance shifts it */
}

.page-btn {
  min-width: 100px; 
  padding: 10px 20px;
  border-radius: 30px;
  background: #2b2929;
  color: #ffd700;
  border: 1px solid rgba(255, 215, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-search);
  font-weight: 600;
}

.page-btn:hover:not(:disabled) {
  background: #d4af37;
  color: #111;
  transform: translateY(-2px);
}

.page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  filter: grayscale(1);
}

/* New class name to avoid conflict with Header Page Indicator */
.page-num-display {
  color: #1c1c1c; 
  font-weight: 800;
  font-family: var(--font-expand-year);
  font-size: 16px;
  margin: 0; /* 👈 Forces it to stay centered, no 280px shift! */
  padding: 0;
}

/*=====end====*/

.results-count {
  text-align: center;       /* Centers the text */
  margin: 0 auto 30px auto; /* Centers the block itself and adds bottom space */
  width: 100%;
  
  font-family: var(--font-expand-body);
  font-size: 18px;
  color: #1c1c1c;           /* Dark text for visibility */
  font-weight: 700;
  transition: opacity 0.3s ease;
}

/* Hide the results count if it's empty or hasn't been populated yet */
.results-count:empty {
  display: none;
}


/*============perfect end ===========*/

/* --- Floating WhatsApp --- */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366; /* Original WA Color */
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 35px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* --- Main Footer --- */
.main-footer {
  background: rgba(20, 20, 20, 0.95);
  color: #fff;
  padding: 60px 40px 20px;
  margin-top: 80px;
  border-top: 1px solid rgba(255, 215, 0, 0.1); /* Subtle gold border */
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-section h3, .footer-section h4 {
  color: #ffd700; /* Matching your gold accent */
  font-family: 'Audiowide', sans-serif;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-section p {
  line-height: 1.6;
  color: #ccc;
  font-size: 0.95rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #ffd700;
}

.footer-bottom {
  text-align: center;
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.85rem;
  color: #777;
}

/* Ensure the WhatsApp button stays above footer on mobile */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 30px;
  }
}


/* ========================================= */
/* MOBILE FOOTER: AUTO DEALS OPTIMIZATION    */
/* ========================================= */
@media (max-width: 768px) {
  /* 1. Reclaim 20% vertical space */
  .main-footer {
    padding: 35px 20px 15px; 
    margin-top: 40px;         
  }

  /* 2. Side-by-Side Flex Layout */
  .footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;               
  }

  /* Center "OLADAY AUTOS" at the top */
  .footer-section:nth-child(1) {
    flex: 0 0 100%;
    text-align: center;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Split Links and Contact into two columns */
  .footer-section:nth-child(2),
  .footer-section:nth-child(3) {
    flex: 1;                 
    min-width: 140px;        
  }

  /* 3. Scale down text for mobile precision */
  .footer-section h3 {
    font-size: 18px; 
    margin-bottom: 10px;
  }

  .footer-section h4 {
    font-size: 15px; 
    margin-bottom: 12px;
  }

  .footer-section p, 
  .footer-section ul li, 
  .footer-section ul li a {
    font-size: 13px;         
    margin-bottom: 6px;      
  }

  .footer-bottom {
    margin-top: 25px;        
    padding-top: 15px;
    font-size: 11px;
  }
}

/* ========================================= */
/* MOBILE MENU REDESIGN (MATCHING ABOUT US)  */
/* ========================================= */

@media (max-width: 992px) {

  /* 1. HEADER LAYOUT FIX */
  .main-header {
    width: auto; /* cancel the desktop 80% trim on mobile */
    margin: 10px 16px;
    height: 70px; /* Fixed height for stability */
    display: flex;
    align-items: center;
    justify-content: center; /* Centers the inner content */
    padding-bottom: 0;
    z-index: 1000;
  }

  .header-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Pushes Logo Left, Menu Right */
    padding: 0 10px;
    position: static;
  }

  /* Hide Desktop Elements */
  .header-actions, .search-zone { display: none !important; }

  /* 2. LOGO RESIZING & POSITIONING */
  .logo-zone {
    position: relative;
    top: auto; left: auto; /* Reset absolute positioning */
    display: flex;
    align-items: center;
    margin-left: -45px; /* Slight left pull */
  }

  .logo-zone img {
    height: 150px; /* Much smaller to fit inside header */
    width: auto;
    object-fit: contain;
    margin-top: 55px; /* Nudge down */
  }

  /* 3. PAGE TITLE CENTERED (THE FIX) */
  .page-indicator {
    position: absolute;
    left: 50%;
    transform: translateX(-50%); /* Dead center */
    margin: 0; /* REMOVES THE 280px PUSH */
    padding: 0;
    white-space: nowrap;
    top: 24px;
    width: auto;
  }

  .page-title {
    font-size: 16px;
    letter-spacing: 1px;
    color: #d4af37;
  }
  
  /* Hide the underline on mobile for cleaner look */
  .active-underline { display: none; }

  /* 4. CIRCULAR MENU BUTTON */
  .mobile-nav-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; 
    height: 40px;
    background: transparent;
    border: 2px solid #d4af37;
    border-radius: 50%; /* Makes it a circle */
    cursor: pointer;
    z-index: 1100;
    transition: all 0.3s ease;
    
    /* Ensure it stays to the right */
    position: relative; 
    right: auto;
    top: auto;
    transform: none;
  }

  /* Hamburger Lines */
  .hamburger-lines {
    width: 20px;
    height: 14px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .line {
    display: block;
    height: 2px;
    width: 100%;
    background: #d4af37;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s;
  }

  /* ANIMATION: TURN TO 'X' WHEN ACTIVE */
  .mobile-nav-trigger.active {
    background: #d4af37; /* Optional: Fill circle when active */
  }
  .mobile-nav-trigger.active .line { background: #1c1c1c; } /* Lines turn dark */
  
  .mobile-nav-trigger.active .line1 {
    transform: rotate(45deg);
    position: absolute;
    top: 6px;
  }
  .mobile-nav-trigger.active .line2 { opacity: 0; }
  .mobile-nav-trigger.active .line3 {
    transform: rotate(-45deg);
    position: absolute;
    top: 6px;
  }

  /* 5. THE FLOATING CARD MENU (EXACT LOOK) */
  .mobile-menu-overlay {
    /* VISIBILITY CONTROL */
    display: block; 
    
    position: fixed;
    top: 100px; /* Below the header */
    left: 50%;
    transform: translateX(-50%) translateY(-20px); /* Centered horizontal, slightly up */
    
    width: 280px; /* Fixed width like the card */
    background: rgba(28, 28, 28, 0.98);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 999;
  }

  .mobile-menu-overlay.menu-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .m-link {
    font-family: "Exo 2", sans-serif; /* Matches the clean look */
    font-size: 14px;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 15px;
  }

  /* GOLD SQUARE BULLETS */
  .m-link::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border: 1.5px solid #d4af37; /* Hollow gold square */
    background: transparent;
    flex-shrink: 0;
  }

  .m-link:hover {
    color: #d4af37;
  }
}


/* ========================================= */
/* HERO SLIDER (FLOATING FRAME DESIGN)       */
/* ========================================= */

/* 1. THE FLOATING FRAME CONTAINER */
.hero-slider {
  position: relative;
  max-width: 1100px;  /* Width of the frame */
  height: 500px;      /* FIXED HEIGHT (Crucial for uniform size) */
  margin: 40px auto;  /* Centers it on page */
  
  /* The "Floating Frame" Look */
  padding: 10px;      /* Gap between image and frame edge */
  background: rgba(255, 255, 255, 0.05); /* Subtle glass frame */
  border: 1px solid rgba(212, 175, 55, 0.3); /* Gold border */
  border-radius: 40px; /* Big Curved Edges */
  
  /* Deep Shadow to make it "Float" */
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.5), 
    inset 0 0 20px rgba(0, 0, 0, 0.2);
    
  overflow: hidden;
}

/* 2. THE TRACK */
.hero-track {
  display: flex;
  height: 100%; /* Fills the frame height */
  transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1); /* Smooth Slide */
}

/* 3. INDIVIDUAL SLIDES */
.hero-slide {
  min-width: 100%;
  flex: 0 0 100%;
  height: 100%; /* Forces slide to match frame height */
  
  /* Inner Curves to match the outer frame */
  border-radius: 30px; 
  overflow: hidden;
  position: relative;
}

/* 4. MEDIA FIX (Uniform Sizing) */
.hero-slide img,
.hero-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* THIS IS KEY: It crops the video/image to fill the box perfectly */
  display: block;
}

/* 5. DOTS */
.hero-dots {
  position: absolute;
  bottom: 25px; /* Moved up slightly inside the frame */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
  
  /* Optional: Background pill behind dots for visibility */
  background: rgba(0,0,0,0.3);
  padding: 8px 15px;
  border-radius: 20px;
  backdrop-filter: blur(5px);
}

.hero-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: all 0.3s ease;
  cursor: pointer;
}

.hero-dots span.active {
  background: #d4af37;
  transform: scale(1.3);
}



/* ========================================= */
/* MOBILE HERO SLIDER: REDUCED HEIGHT & WIDTH */
/* ========================================= */
@media (max-width: 768px) {
  .hero-slider {
    /* 1. Dimensions: 20% Height Reduction & 10% Width Margin */
    height: 400px !important;    /* Reduced from 500px */
    width: 90% !important;      /* Creates 5% margin on each side */
    margin: 25px auto !important; /* Centers the frame and adds spacing */
    
    /* 2. Visual Refinement */
    border-radius: 28px !important; /* Tighter curves for mobile screens */
    padding: 6px !important;       /* Thinner glass frame for mobile */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  }

  /* 3. Adjust Internal Slide Heights */
  .hero-slide {
    border-radius: 22px !important; /* Matches thinner outer frame */
  }

  /* 4. Compact Navigation Dots */
  .hero-dots {
    bottom: 15px !important;      /* Moves dots slightly closer to bottom */
    padding: 5px 12px !important;
    gap: 8px !important;
  }

  .hero-dots span {
    width: 8px !important;
    height: 8px !important;
  }
}

/* ========================================= */
/* TABLET / IPAD PRO SPECIFIC FIX (1024px)   */
/* ========================================= */

@media screen and (max-width: 1024px) {
  /* Hides the search bar on iPad Pro and smaller */
  .search-zone {
    display: none !important;
  }

  /* Optional: Pushes the buttons to the right so they don't float in the middle */
  .header-actions {
    margin-left: auto; 
  }
}

/* ========================================= */
/* HIDE MOBILE ELEMENTS ON DESKTOP           */
/* ========================================= */

@media (min-width: 993px) {
  .mobile-menu-overlay, 
  .mobile-nav-trigger {
    display: none !important;
  }
}



/* MARKETING PANEL STYLES (UPDATED) */
.marketing-panel {
  background: linear-gradient(90deg, #0f0f0f 0%, #1a1a1a 100%);
  border: 1px solid #333;
  border-bottom: 3px solid #d4af37; /* Thicker Gold Bottom */
  padding: 20px 0;
  
  /* --- NEW: Space on sides & Centering --- */
  width: 85%;              /* Leaves 5% space on left and right */
  max-width: 880px;       /* Stops it from getting too wide on big screens */
  margin: 25px auto;       /* Centers the panel itself */
  border-radius: 15px;     /* Rounds the corners */
  box-shadow: 0 10px 30px rgba(0,0,0,0.5); /* Adds depth */
  
  position: relative;
  overflow: hidden;
}

.marketing-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center; /* Centers items horizontally */
  gap: 20px;
  padding: 0 20px;
  text-align: center;      /* Ensures text is centered */
}

.marketing-icon {
  font-size: 36px;
  color: #d4af37;
  flex-shrink: 0;
}

.marketing-content {
  flex: 1;
  display: flex;           /* Flexbox to align text */
  flex-direction: column;  /* Stack Title on top of Body */
  align-items: center;     /* Center align the text block */
  animation: slideInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.m-title {
  font-family: var(--font-autodeals);
  font-size: 20px;         /* Increased size */
  font-weight: 800;        /* Extra Bold */
  color: #fff;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;      /* Explicitly center subject */
}

.m-desc {
  font-family: var(--font-expand-body);
  font-size: 15px;
  font-weight: 600;        /* --- NEW: Made Body Bolder --- */
  color: #e0e0e0;          /* Brighter white for better visibility */
  line-height: 2.0;
  margin: 0;
  max-width: 500px;        /* Keeps text from stretching too wide */
}

/* Progress Bar at bottom */
.marketing-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;             /* Slightly thicker */
  background: #222;
}

.progress-fill {
  height: 100%;
  background: #d4af37;
  width: 0%;
  animation: progressFill 10s linear infinite;
}

/* Pause animation on hover */
.marketing-panel:hover .progress-fill {
  animation-play-state: paused;
}

/* ANIMATIONS */
@keyframes slideInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes progressFill {
  from { width: 0%; }
  to { width: 100%; }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .marketing-panel {
    width: 95%;            /* Less space on sides for mobile */
    border-radius: 10px;
  }
  .marketing-container {
    flex-direction: column; /* Stack Icon on top of text for mobile */
    gap: 10px;
  }
  .m-title { font-size: 16px; }
  .m-desc { font-size: 12px; font-weight: 500; }
  .marketing-icon { font-size: 30px; }
}

/* Pause animation on hover */
.marketing-panel:hover .progress-fill {
  animation-play-state: paused;
}


/* ========================================= */
/* MOBILE OVERLAY FIX (FINAL CORRECTED)      */
/* ========================================= */

@media (max-width: 768px) {

  /* 1. FIX THE POSITION (Push Card Down & Bring to Front) */
  .car-overlay {
    z-index: 9999 !important;       /* Force it above the Site Header/Logo */
    align-items: flex-start !important; 
    padding-top: 60px !important;  /* Push down 120px to clear the Logo completely */
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 20px;
  }

  /* 2. RESIZE THE CARD & SCROLLING */
  .expanded-car-card {
    width: 100% !important;
    max-height: calc(100vh - 140px) !important; /* Adjust height to fit screen */
    border-radius: 20px;
    overflow-y: auto; /* Ensure we can scroll inside */
  }

  /* 3. RESIZE THE TITLE (Smaller on Mobile) */
  .car-main-title .car-name {
    font-size: 22px !important; /* Reduced from 32px */
  }
  .car-main-title span {
    font-size: 18px !important; /* Reduced Year size */
  }
  .car-price-expanded {
    font-size: 22px !important;
  }

  /* 4. FIX THE BUTTONS & CONTACT TEXT (Stack Vertically) */
  .primary-actions {
    flex-direction: column !important; /* Stack items on top of each other */
    align-items: center !important;
    gap: 15px !important;
  }

  .primary-actions button {
    width: 100% !important; /* Buttons take full width */
    justify-content: center;
  }

  .direct-contact {
    margin-top: 5px !important;
    margin-left: 0 !important;
    text-align: center !important;
    font-size: 13px !important;
    white-space: normal !important; /* Allow text to wrap */
  }

  /* 5. CENTER THE 3 ICONS (Reset Desktop Shift) */
  .icon-row {
    width: 100% !important;
    justify-content: center !important;
    transform: none !important; /* Remove the desktop shift hack */
    margin: 20px auto !important;
    gap: 30px !important; /* Add proper spacing */
  }

  /* 6. BIGGER CLOSE BUTTON */
  .overlay-close {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center;
  }
}

/* 2. Mobile Specific: Center the form on screen */
@media (max-width: 768px) {
  .offer-form-overlay {
    /* Reset the corner positioning */
    bottom: 0 !important;
    right: 0 !important;
    left: 0 !important;
    top: 0 !important;
    
    /* Force it to fill screen but let clicks pass through empty space */
    width: 100%;
    height: 100%;
    pointer-events: none;
    
    /* Center the card perfectly */
    display: flex;
    
    align-items: center;
    justify-content: center;
  }

  .offer-form-card {
    /* Make card clickable again */
    pointer-events: auto;
    
    /* Resize for mobile width */
    width: 90% !important;
    max-width: 350px;
    
    /* Ensure it doesn't touch edges */
    margin: 0 auto;
  }
}









/* this is the new update */


/* ========================================= */
/* OLADAY AUTODEALS MODAL (ENTERPRISE vNext)  */
/* ========================================= */
/* NAMESPACED: odm-* (Prevents Conflicts)    */

:root {
  --odm-gold: #d4af37;
  --odm-gold-2: #f0d36b;
  --odm-gold-glow: rgba(212, 175, 55, 0.28);

  --odm-black: #0b0b0b;
  --odm-dark: #141414;
  --odm-card: rgba(255, 255, 255, 0.04);

  --odm-text: rgba(255, 255, 255, 0.92);
  --odm-text-dim: rgba(255, 255, 255, 0.68);
  --odm-text-faint: rgba(255, 255, 255, 0.45);

  --odm-border: rgba(255, 255, 255, 0.10);
  --odm-border-strong: rgba(255, 255, 255, 0.18);

  --odm-danger: #ff4d4d;
  --odm-success: #2ee59d;
  --odm-warn: #ffcc66;

  --odm-radius: 24px;
  --odm-radius-sm: 14px;

  --odm-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.90);
  --odm-ease: cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

/* ===========================
   OVERLAY BACKDROP
   =========================== */
.odm-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10002;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.odm-overlay.odm-open {
  display: flex;
  opacity: 1;
}

/* ===========================
   MODAL CARD
   =========================== */
.odm-modal {
  width: min(820px, 100%);
  max-height: 90vh;
  display: flex;
  flex-direction: column;

  background: radial-gradient(1200px 600px at 20% 0%,
      rgba(212,175,55,0.10) 0%,
      rgba(0,0,0,0) 45%),
    linear-gradient(145deg, #1a1a1a 0%, #070707 100%);

  border: 1px solid var(--odm-gold-glow);
  box-shadow: var(--odm-shadow);
  border-radius: var(--odm-radius);
  overflow: hidden;
  position: relative;

  transform: translateY(18px) scale(0.99);
  transition: transform 0.35s var(--odm-ease);
}

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

/* ===========================
   HEADER
   =========================== */
.odm-head {
  padding: 24px 30px 14px;
  border-bottom: 1px solid var(--odm-border);
  flex-shrink: 0;
  z-index: 10;
}

.odm-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: linear-gradient(90deg, #fff, var(--odm-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.odm-sub {
  margin-top: 6px;
  font-size: 13px;
  color: var(--odm-text-dim);
}

/* ===========================
   ALERT (same position as you wanted)
   =========================== */
.odm-alert {
  margin: 12px 30px 0;
  border-radius: 14px;
  border: 1px solid var(--odm-border);
  background: rgba(255,255,255,0.04);
  padding: 12px 14px;
  color: var(--odm-text);
  font-size: 13px;
  line-height: 1.35;
}

.odm-alert.odm-success {
  border-color: rgba(46,229,157,0.35);
  background: rgba(46,229,157,0.10);
}

.odm-alert.odm-error {
  border-color: rgba(255,77,77,0.35);
  background: rgba(255,77,77,0.10);
}

.odm-alert.odm-warn {
  border-color: rgba(255,204,102,0.35);
  background: rgba(255,204,102,0.10);
}

/* ===========================
   TOP TABS (Rent vs Swap/Sell)
   =========================== */
.odm-tabs-container {
  padding: 12px 30px 8px;
  flex-shrink: 0;
}

.odm-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.40);
  padding: 6px;
  border-radius: 16px;
  border: 1px solid var(--odm-border);
  gap: 6px;
}

.odm-tab {
  flex: 1;
  padding: 12px 12px;
  border: none;
  background: transparent;
  color: var(--odm-text-dim);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 12px;
  cursor: pointer;

  transition: 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  user-select: none;
}

.odm-tab i { font-size: 16px; }

.odm-tab.active {
  background: linear-gradient(180deg, var(--odm-gold-2), var(--odm-gold));
  color: #0a0a0a;
  box-shadow: 0 10px 22px rgba(212, 175, 55, 0.20);
}

.odm-tab:not(.active):hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

/* Accessibility: visible focus */
.odm-tab:focus-visible {
  outline: 3px solid rgba(212,175,55,0.35);
  outline-offset: 2px;
}

/* ===========================
   FORMS (scroll area)
   =========================== */
.odm-form {
  padding: 12px 30px 26px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/* Nice internal scrollbar */
.odm-form::-webkit-scrollbar { width: 10px; }
.odm-form::-webkit-scrollbar-thumb {
  background: rgba(212,175,55,0.18);
  border-radius: 10px;
  border: 2px solid rgba(0,0,0,0.45);
}
.odm-form::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.25);
}

/* ===========================
   GRID SYSTEM
   =========================== */
.odm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.odm-full { grid-column: span 2; }

/* ===========================
   FIELD STYLING
   =========================== */
.odm-field { margin-bottom: 6px; }

.odm-field label {
  display: block;
  font-size: 10px;
  font-weight: 900;
  color: var(--odm-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.odm-field input,
.odm-field select,
.odm-field textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid var(--odm-border);
  color: #fff;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  outline: none;
  transition: 0.18s ease;
}

.odm-field textarea { resize: vertical; min-height: 96px; }

.odm-field input::placeholder,
.odm-field textarea::placeholder {
  color: rgba(255,255,255,0.35);
}

.odm-field input:focus,
.odm-field select:focus,
.odm-field textarea:focus {
  border-color: rgba(212,175,55,0.65);
  background: rgba(0, 0, 0, 0.52);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.10);
}

/* Better keyboard focus without changing your style */
.odm-field input:focus-visible,
.odm-field select:focus-visible,
.odm-field textarea:focus-visible {
  outline: 2px solid rgba(212,175,55,0.25);
  outline-offset: 2px;
}

/* Budget row */
.odm-budget {
  display: flex;
  align-items: center;
  gap: 10px;
}
.odm-budget span {
  color: rgba(255,255,255,0.35);
  font-weight: 900;
}
.odm-budget input {
  flex: 1;
}

/* ===========================
   CONDITIONAL BLOCKS
   =========================== */
.odm-block {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed rgba(212, 175, 55, 0.22);
  animation: odmFadeIn 0.30s ease forwards;
}

.odm-block-title {
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ===========================
   BUTTONS / ACTIONS
   =========================== */
.odm-actions,
.odm-confirm-actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}

.odm-btn {
  flex: 1;
  padding: 15px 16px;
  border-radius: 14px;
  border: none;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  cursor: pointer;
  transition: 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  user-select: none;
}

.odm-btn i { font-size: 18px; }

.odm-btn-primary {
  background: linear-gradient(180deg, var(--odm-gold-2), var(--odm-gold));
  color: #050505;
  box-shadow: 0 12px 24px rgba(212,175,55,0.18);
}

.odm-btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.odm-btn-ghost {
  background: transparent;
  border: 1px solid var(--odm-border-strong);
  color: #fff;
}

.odm-btn-ghost:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.35);
}

.odm-btn:focus-visible {
  outline: 3px solid rgba(212,175,55,0.35);
  outline-offset: 2px;
}

/* Disabled / loading-safe */
.odm-btn:disabled,
.odm-btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  filter: none !important;
}

/* ===========================
   CLOSE BUTTONS
   =========================== */
.odm-close,
.odm-confirm-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--odm-border);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 110;
  transition: 0.2s ease;
}

.odm-close:hover,
.odm-confirm-close:hover {
  background: linear-gradient(180deg, var(--odm-gold-2), var(--odm-gold));
  color: #000;
  border-color: rgba(212,175,55,0.55);
}

/* ===========================
   CONFIRM / THANK-YOU OVERLAY
   IMPORTANT: your HTML uses .odm-hidden to hide it.
   So we make it flex by default and .odm-hidden will override.
   =========================== */
.odm-confirm {
  position: absolute;
  inset: 0;
  z-index: 200;
  background: rgba(10, 10, 10, 0.985);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  padding: 26px;
  overflow-y: auto;
}

.odm-confirm-card {
  width: 100%;
  margin: auto;
}

.odm-confirm-head {
  margin-bottom: 18px;
  position: relative;
}

.odm-confirm-title {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 6px;
}

.odm-confirm-sub {
  font-size: 13px;
  color: var(--odm-text-dim);
}

.odm-confirm-sub span {
  color: var(--odm-gold);
  font-weight: 900;
}

.odm-confirm-foot {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--odm-text-dim);
  font-size: 12px;
  border-top: 1px solid var(--odm-border);
  padding-top: 14px;
}

.odm-confirm-foot i {
  color: var(--odm-gold);
  font-size: 18px;
}

/* Summary grid */
.odm-sum-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0 18px;
}

.odm-sum-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--odm-border);
  padding: 12px 14px;
  border-radius: 14px;
}

.odm-sum-item.odm-sum-wide { grid-column: span 2; }

.odm-sum-item .k {
  display: block;
  font-size: 9px;
  font-weight: 900;
  color: var(--odm-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.odm-sum-item .v {
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  word-break: break-word;
}

/* ===========================
   CONSENT / FOOT NOTE
   =========================== */
.odm-consent {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--odm-text-faint);
  font-size: 12px;
  line-height: 1.35;
  border-top: 1px solid var(--odm-border);
  padding-top: 14px;
}

.odm-consent i {
  color: var(--odm-gold);
  font-size: 18px;
  margin-top: 1px;
}

/* ===========================
   HELPERS / ANIMATIONS
   =========================== */
.odm-hidden { display: none !important; }

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

.uil-spinner {
  animation: odmSpin 1s linear infinite;
  display: inline-block;
}
@keyframes odmSpin { to { transform: rotate(360deg); } }

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .odm-overlay,
  .odm-modal,
  .odm-tab,
  .odm-btn {
    transition: none !important;
    animation: none !important;
  }
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 700px) {
  .odm-modal { width: 100%; }
}

@media (max-width: 600px) {
  .odm-grid,
  .odm-sum-grid {
    grid-template-columns: 1fr;
  }

  .odm-sum-item.odm-sum-wide { grid-column: span 1; }

  .odm-modal {
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }

  .odm-actions,
  .odm-confirm-actions {
    flex-direction: column-reverse;
  }

  .odm-head { padding: 22px 18px 12px; }
  .odm-form { padding: 10px 18px 20px; }
  .odm-tabs-container { padding: 10px 18px 6px; }
  .odm-alert { margin: 12px 18px 0; }
  .odm-confirm { padding: 18px; }
}

/* ===========================
   Honeypot
   =========================== */
.odm-hp {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}




/* Spinner Animation */
.offer-loader {
    display: inline-block;
    animation: spin 1s linear infinite;
    margin-right: 10px;
    font-size: 1.2rem;
    vertical-align: middle;
}

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

/* Make button look "busy" */
.btn-submit-offer:disabled {
    opacity: 0.8;
    cursor: wait;
}


.odm-field label::after {
    content: none;
}
.odm-field label.required::after {
    content: " *";
    color: #ff2a2a;
    font-weight: 900;
}


@media (max-width: 420px){

.page-title { font-size: 16px;
margin-left: 45px;}
}

