/*
Theme Name: Drivealong Car Sales
Theme URI: https://drivealong.co.uk
Author: Faisal Shehzad
Author URI: https://drivealong.co.uk
Description: A professional car dealership theme for Drivealong Car Sales Ltd
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: drivealong
Tags: business, automotive, car-dealer, responsive
*/

/* =========================================
   CSS VARIABLES
========================================= */
:root {
  --orange: #ff8c00;
  --orange-dark: #d4900a;
  --black: #0a0a0a;
  --dark: #111111;
  --dark-2: #1a1a1a;
  --dark-3: #222222;
  --gray: #555555;
  --light-gray: #999999;
  --white: #ffffff;
  --border: #2a2a2a;
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  color: var(--white);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-subtitle {
  text-align: center;
  color: var(--light-gray);
  font-size: 0.95rem;
  margin-bottom: 40px;
}

.btn-orange {
  display: inline-block;
  background: var(--orange);
  color: var(--black);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 28px;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-2px); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 26px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline:hover { background: var(--white); color: var(--black); }

/* =========================================
   HEADER (FINAL CLEAN)
========================================= */

.site-header {
  position:absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgb(26, 26, 26);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  transition: var(--transition);
  overflow: visible;
}

.site-header.scrolled {
  background: rgba(0, 0, 0, 0.98);
  padding: 10px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

/* LEFT */
.header-left {
  display: flex;
  align-items: center;
  position: relative;
}


.menu-toggle {
  width: clamp(34px, 5vw, 42px);
  height: clamp(34px, 5vw, 42px);

  background: transparent;
  border: 2px solid var(--orange);
  border-radius: 50%;
  cursor: pointer;
  color: var(--orange);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(3px, 0.8vw, 5px);
}

.menu-toggle span {
  width: clamp(14px, 2.5vw, 18px);
  height: 2px;
  background: var(--orange);
  display: block;
}

/* CENTER LOGO */
.header-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}


.custom-logo {
  height: auto;
  width: auto;

  max-height: clamp(32px, 5vw, 56px);
  max-width: clamp(140px, 20vw, 300px);

  object-fit: contain;
}
/* RIGHT */
.header-right {
  display: flex;
  align-items: center;
}

.header-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.phone-icon {
  width: 15px;
  height: 15px;
  color: var(--orange);
}

.phone-prefix,
.phone-number {
  font-size: 1rem;
  font-weight: 800;
  color: var(--orange);
  white-space: nowrap;
}

/* MOBILE MENU */

.mobile-menu {
  position: absolute; 
  top: 100%;
  left: 0;
  margin-top: 8px;
  width: 180px;
  background: rgb(26, 26, 26);
  border-radius: 8px;
  z-index: 2000;
  padding: 8px 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  pointer-events: none;
  border: 1px solid var(--border);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu-close { display: none; }

.mobile-nav a {
  display: block;
  padding: 13px 24px;
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--white);
  border: none;
  transition: color 0.18s ease, background 0.18s ease;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}
.mobile-nav a:hover {
  color: var(--white);
  background: #0a0a0a;
}
/* =========================================
   HERO / BANNER
========================================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,0.5) 50%,
    rgba(0,0,0,0.85) 100%
  );
  z-index: 1;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-section:not(:has(.hero-image)) {
  background: linear-gradient(160deg, #0d0d0d 0%, #1a1208 40%, #0d0d0d 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.hero-welcome {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--light-gray);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-welcome::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--orange);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 50px; }

/* Search bar */
.hero-search {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  max-width: 700px;
}

.hero-search select,
.hero-search input {
  flex: 1;
  min-width: 160px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}
.hero-search select option { background: var(--dark-2); color: var(--white); }
.hero-search select:focus,
.hero-search input:focus { border-color: var(--orange); }
.hero-search input::placeholder { color: rgba(255,255,255,0.5); }

/* =========================================
   FEATURED VEHICLES
========================================= */
.featured-section {
  background: var(--dark);
  padding: 80px 0;
}

.featured-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}
.featured-header .view-all {
  font-size: 0.85rem;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.featured-header .view-all:hover { border-bottom-color: var(--orange); }

.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.vehicle-card {
  background: var(--dark-2);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}
.vehicle-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(240,165,0,0.15);
}

.vehicle-card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--dark-3);
}
.vehicle-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.vehicle-card:hover .vehicle-card-image img { transform: scale(1.05); }

.vehicle-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--orange);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 3px;
}

.vehicle-card-body {
  padding: 18px;
}

.vehicle-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.vehicle-spec {
  font-size: 0.8rem;
  color: var(--light-gray);
  margin-bottom: 12px;
  line-height: 1.4;
}

.vehicle-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 12px;
}

.vehicle-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  border-top: 1px solid var(--border);
}

.view-details-link {
  font-size: 0.8rem;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  transition: var(--transition);
}
.view-details-link:hover { letter-spacing: 2px; }

/* =========================================
   REVIEWS SECTION
========================================= */
.reviews-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.reviews-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.8));
  z-index: 1;
}
.reviews-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.reviews-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.reviews-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--orange);
  margin-bottom: 16px;
}

.reviews-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.reviews-tagline {
  color: var(--light-gray);
  font-size: 0.95rem;
  margin-bottom: 50px;
}

.review-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 36px;
  text-align: left;
  margin-bottom: 30px;
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}
.star { color: var(--orange); font-size: 1.1rem; }

.review-heading {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.review-text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 16px;
}

.reviewer-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.review-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition);
}
.dot.active { background: var(--orange); width: 24px; border-radius: 4px; }

/* =========================================
   SELL / PART EXCHANGE
========================================= */
.sell-section {
  position: relative;
  padding: 100px 0;
}

.sell-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.82), rgba(0,0,0,0.82));
  z-index: 1;
}
.sell-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.sell-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.sell-box {
  background: rgba(10,10,10,0.9);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 50px 40px;
}

.sell-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.sell-title span { color: var(--orange); }

.sell-subtitle {
  color: var(--light-gray);
  font-size: 0.95rem;
  margin-bottom: 36px;
}

.reg-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--light-gray);
  margin-bottom: 14px;
  text-align: left;
}

.reg-input-group {
  display: flex;
  gap: 14px;
  align-items: stretch;
}

.reg-input {
  flex: 1;
  background: var(--orange);
  border: none;
  color: var(--black);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 8px;
  padding: 16px 24px;
  border-radius: 6px;
  outline: none;
}
.reg-input::placeholder { color: rgba(0,0,0,0.5); letter-spacing: 6px; }

/* =========================================
   AI CHAT SECTION
========================================= */
.ai-section {
  background: var(--dark-2);
  padding: 80px 0;
}

.ai-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--orange);
  margin-bottom: 12px;
}

.ai-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ai-subtitle {
  color: var(--light-gray);
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.chat-window {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  max-width: 680px;
}

.chat-messages {
  padding: 24px;
  min-height: 120px;
}

.chat-msg {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--black);
  flex-shrink: 0;
}

.chat-bubble {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  max-width: 80%;
}

.chat-input-row {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
}

.chat-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 14px 18px;
  outline: none;
}
.chat-input::placeholder { color: rgba(255,255,255,0.35); }

.chat-send {
  background: var(--orange);
  border: none;
  color: var(--black);
  padding: 14px 18px;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
}
.chat-send:hover { background: var(--orange-dark); }

.chat-quick-links {
  display: flex;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  background: rgba(0,0,0,0.2);
}

.quick-link {
  font-size: 0.78rem;
  color: var(--light-gray);
  background: var(--dark-2);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.quick-link:hover { border-color: var(--orange); color: var(--orange); }

/* =========================================
   WARRANTY SECTION
========================================= */
.warranty-section {
  background: var(--dark);
  padding: 80px 0;
}

.warranty-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.warranty-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--light-gray);
  margin-bottom: 14px;
}

.warranty-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1.1;
}

.warranty-text {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.warranty-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.warrantywise-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.warrantywise-eye {
  width: 80px;
  height: 80px;
  opacity: 0.9;
}

.warrantywise-name {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 2px;
}

.warrantywise-tagline {
  font-size: 0.8rem;
  color: var(--light-gray);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* =========================================
   WHY CHOOSE US
========================================= */
.why-section {
  background: var(--black);
  padding: 80px 0;
}

.why-text-block {
  max-width: 700px;
  margin: 0 auto 50px;
  text-align: center;
}

.why-text-block p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.why-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.why-link {
  font-size: 0.82rem;
  color: var(--light-gray);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}
.why-link:hover { border-color: var(--orange); color: var(--orange); }

/* =========================================
   FOOTER
========================================= */
.site-footer {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}


.footer-grid-inner {
  display: grid;
  gap: 40px;
}

/* Dynamic columns */
.footer-grid-inner.columns-2 {
  grid-template-columns: repeat(2, 1fr);
}
.footer-grid-inner.columns-3 {
  grid-template-columns: repeat(3, 1fr);
}
.footer-grid-inner.columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--light-gray);
  margin-bottom: 20px;
  color: #ffffff !important;
}

.footer-col p,
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  display: block;
  margin-bottom: 8px;
  transition: var(--transition);
  color: #ffffff !important;
}
.footer-col a:hover { color: var(--orange); }

.footer-hours-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.85rem;
}
.footer-hours-row .day { color: #9ca3af !important; } 
.footer-hours-row .time { color: #ffffff !important; }
.footer-hours-row.closed .time { color: var(--gray); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

/* Main Layout */
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

/* Columns */
.footer-bottom-inner .footer-col {
  flex: 1;
  font-size: 0.8rem;
  color: #9ca3af !important;
}

/* Alignment */
.footer-bottom-inner .left {
  text-align: left;
}

.footer-bottom-inner .center {
  text-align: center;
}

.footer-bottom-inner .right {
  text-align: right;
}

/* Prevent text break issues */
.footer-bottom-inner .footer-col p {
  margin: 0;
  line-height: 1.5;
}

/* SideBar CSS*/
.da-layout {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 30px;
}

   .da-sidebar {
        width: 100%;
        margin-top: 100px;
    }

    /* Sidebar widgets spacing */
    .da-sidebar .widget {
        margin-bottom: 20px;
    }

    .da-sidebar .widget-title {
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #fff;
}

/* =============================================
   EXTRA CONTENT (Vehicle Detail Page)
============================================= */
.da-extra-content {
    margin-top: 30px;
    padding: 25px;
    background: #111;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    color: #ddd;
    line-height: 1.7;
    font-size: 14px;
}

/* Headings */
.da-extra-content h1,
.da-extra-content h2,
.da-extra-content h3,
.da-extra-content h4 {
    color: #fff;
    margin-bottom: 10px;
}

/* Paragraph */
.da-extra-content p {
    margin-bottom: 12px;
    color: #aaa;
}

/* Links */
.da-extra-content a {
    color: #F59E0B;
    text-decoration: none;
    font-weight: 500;
}

.da-extra-content a:hover {
    color: #FCD34D;
}

/* Lists */
.da-extra-content ul,
.da-extra-content ol {
    padding-left: 18px;
    margin-bottom: 15px;
}

.da-extra-content li {
    margin-bottom: 6px;
}

/* Buttons inside editor */
.da-extra-content .btn,
.da-extra-content button {
    display: inline-block;
    background: #F59E0B;
    color: #000;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.da-extra-content .btn:hover {
    background: #FCD34D;
}

/* Images */
.da-extra-content img {
    max-width: 100%;
    border-radius: 10px;
    margin: 10px 0;
}

/* Tables */
.da-extra-content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.da-extra-content table td,
.da-extra-content table th {
    border: 1px solid rgba(255,255,255,0.1);
    padding: 10px;
}

/* Typing Effect Js */

.typing-effect {
  display: inline;
}

/* End */


/* =========================================
   RESPONSIVE
========================================= */
/* Tablet */
@media (max-width: 1024px) {
 .footer-grid-inner {
    grid-template-columns: repeat(2, 1fr) !important;
  }

   .footer-bottom-inner {
    gap: 15px;
  }

  .footer-bottom-inner .footer-col {
    font-size: 0.78rem;
  }

   .da-layout {
        grid-template-columns: 2fr 1fr;
    }

     .da-sidebar {
        margin-top: 60px;
        margin-left: 20px;
    }

    .da-sidebar .widget {
        margin-bottom: 18px;
    }

}
/* Mobile */
@media (max-width: 768px) {
  .header-inner {
  display: flex;
  align-items: center;
    justify-content: center;
  /* justify-content: center; */
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  position: relative; /* ✅ important */
  
}

 .site-header {
    padding: 8px 0; 
  }

  .custom-logo {
    max-width: 230px;
    max-height: 116px;
  } 

  .header-left {
    position: absolute;
    left: 15px;
  }

  .header-contact-label,
  .header-contact-us { display: none; }
  .header-phone { font-size: 0.95rem; }
  .header-phone-link {
    display: none; 
  }
  .header-center {
    position: static;        /* ✅ reset */
    transform: none;         /* ✅ reset */
    left: auto;              /* ✅ reset */
    justify-content: center;
  }

 
  .hero-title { font-size: 2.4rem; }
  .hero-search { flex-direction: column; }
  .hero-search select,
  .hero-search input { width: 100%; }

  .vehicles-grid { grid-template-columns: 1fr; }
  .warranty-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .reg-input-group { flex-direction: column; }

  .featured-header { flex-direction: column; align-items: flex-start; gap: 8px; }

/* Footer */
  .footer-grid-inner {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  

   .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-bottom-inner .footer-col {
    width: 100%;
    text-align: center !important;
  }

   .da-layout {
        grid-template-columns: 1fr;
    }

     .da-sidebar {
        margin-top: 40px;
        margin-left: 20px;
    }

    .da-sidebar .widget {
        margin-bottom: 16px;
    }

    .da-sidebar .widget-title {
        font-size: 13px;
    }

     .da-extra-content {
        padding: 18px;
    }
}

/* Small Mobile */

@media (max-width: 480px) {
 
  .hero-cta { flex-direction: column; }
  .sell-box { padding: 30px 20px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid-inner {
    grid-template-columns: 1fr !important;
  }
   .footer-bottom {
    padding: 15px 0;
  }

  .footer-bottom-inner .footer-col {
    font-size: 0.75rem;
    line-height: 1.6;
  }

    .da-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .da-content {
        width: 100%;
    }

     .da-sidebar {
        margin-top: 25px;
        margin-left: 20px;
    }

    .da-sidebar .widget {
        margin-bottom: 14px;
    }

    .da-sidebar .widget-title {
        font-size: 12px;
        letter-spacing: 1px;
    }

 
}

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

.hero-content > * {
  animation: fadeInUp 0.7s ease forwards;
}
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }

.inventory-page {
    padding: 100px 20px;
    background: #000;
    color: #fff;
}

.inventory-header {
    text-align: center;
    margin-bottom: 30px;
}

.refine-btn {
    background: transparent;
    border: 1px solid #444;
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
}

.filter-box {
    max-width: 800px;
    margin: 20px auto;
    background: #111;
    padding: 20px;
    border-radius: 12px;
}

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
