* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}


body {
  background: #FAF9F6;
 
}

/* NAVBAR */
.navbar {
  height: 70px;
  background: #000;
  color: #fff;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;

  position: fixed; /* keeps navbar always at the top */
  top: 0;          /* stick to top */
  left: 0;         /* align left edge */
  width: 100%;     /* full width */
  z-index: 1000;   /* stay above other content */
 
}
.tagline{
  padding: 20px;
}
.nav-menu a.active {
  color: #e10600;
}

.nav-menu a.active::after {
  width: 100%;
}


.navbar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 100%;
  height: 12px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4),
    transparent
  );
  pointer-events: none;
}
.logo {
  display: flex;
  align-items: center;
  transition: opacity 0.3s ease;
}

.logo img {
  height: 50px;      /* adjust size here */
  width: auto;
  object-fit: contain;
}
/* INNER PAGE HERO */
.page-hero {
  margin-top: 70px;
  padding: 70px 20px;
  text-align: center;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.85),
    rgba(0,0,0,0.6)
  ),
  url("images/bas_banner.png") center/cover no-repeat;
  color: #fff;
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 600;
}

.page-hero p {
  margin-top: 10px;
  color: #ddd;
}
/* for sold page */
.sold-message{
  font-size: 0.95rem;
  font-weight: 500;
  color: #888;
  margin-top: 8px;
}

.car-card.sold{
  pointer-events: none; /* prevents any accidental clicks */
}

.car-card.sold {
  opacity: 0.6;
}

.car-card.sold .price-badge {
  background: #555;
}
/* SOLD badge like the screenshot */
.sold-badge{
  position:absolute;
  top:15px;
  right:15px;
  background:#8a8a8a;
  color:#fff;
  padding:6px 14px;
  font-size:0.8rem;
  border-radius:999px;
  font-weight:700;
  z-index:2;
}

/* make sold images look gray */
.car-card.sold img{
  filter: grayscale(1);
  opacity: .85;
}




/* DESKTOP MENU */
.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: #fff;
  font-weight: 400;
  position: relative;
  transition: color 0.3s ease;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #e10600;
  left: 0;
  bottom: -5px;
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: #e10600;
}

.nav-menu a:hover::after {
  width: 100%;
}


/* HAMBURGER BASE */
.hamburger {
display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.35s ease;
}

/* ACTIVE STATE → CLOSE ICON */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background: #e10600;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background: #e10600;
}
.hamburger:hover span {
  background: #e10600;
}
/* HERO SECTION */
.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  background: url("images/bas_banner.png") center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 0 6%;
  color: #fff;
}

/* DARK OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0.4)
  );
  z-index: 1;
}

/* CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.2;
}

.hero-motto {
  margin: 1.5rem 0 2.5rem;
  font-size: 1.1rem;
  color: #e5e5e5;
}

/* CTA BUTTON */
.hero-btn {
  display: inline-block;
  padding: 0.9rem 2.3rem;
  background: #e10600;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  border-radius: 30px;
  transition: all 0.35s ease;
  box-shadow: 0 10px 30px rgba(225, 6, 0, 0.35);
}

.hero-btn:hover {
  background: #fff;
  color: #000;
  transform: translateY(-3px);
}


/* BACKDROP OVERLAY */
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 900;
}

/* PAGE BLUR */
#page-content {
  transition: filter 0.4s ease;
}

#page-content.blur {
  filter: blur(6px);
}

/* Show backdrop when active */
.backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* MOBILE STYLES */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    width: 260px;
    background: #000;
    padding-top: 80px;
    transition: left 0.4s ease;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 1.5rem;
    padding-left: 2rem;
  }

  .nav-menu.active {
    left: 0;
  }

  
}
@media (max-width: 768px) {
  .hero {
    padding: 0 1.5rem;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }
}
/* car brand logo carousel */
.brands {
  background: black;
  padding: 60px 0 70px;
  overflow: hidden;
}

/* TITLE */
.brands-title {
  width: 520px;
  height: 48px;
  margin: 0 auto 45px;
  background: linear-gradient(
    to right,
    #ff0000 0%,
    #b30000 55%,
    rgba(255, 0, 0, 0) 100%
  );
  color: #fff;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ROW */
.brands-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

/* VIEWPORT */
.brands-track-wrapper {
  width: 860px;
  overflow: hidden;
}

/* TRACK */
.brands-track {
  display: flex;
  gap: 26px;
  will-change: transform;
}

/* LOGO */
.brand {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #ff0000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

/* HOVER GROW */
.brand:hover {
  transform: scale(1.25);
  box-shadow: 0 0 18px rgba(255, 0, 0, 0.6);
  z-index: 5;
}

/* ARROWS */
.nav-arrow {
  background: none;
  border: none;
  color: #fff;
  font-size: 34px;
  cursor: pointer;
  transition: color 0.25s ease;
}

.nav-arrow:hover {
  color: #ff0000;
}
/* introduction Section */
.intro-section {
  display: flex;
  justify-content: center;
  padding: 80px 20px;
  background: #FAF9F6 /* dark background like your site */
}

.intro-card {
  max-width: 1100px;
  background: #ffffff;
  padding: 40px 50px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  border-top: 5px solid #e10600;
}

/* TITLE */
.intro-card h2 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 20px;
  line-height: 1.4;
}

.intro-card h2 span {
  color: #e10600;
}

/* TEXT */
.intro-card p {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  max-width: 950px;
  margin: 0 auto;
}

/* MOBILE */
@media (max-width: 768px) {
  .intro-card {
    padding: 30px 25px;
  }

  .intro-card h2 {
    font-size: 1.3rem;
  }
}
/* FEATURED CARS SECTION */
.featured-cars {
  padding: 80px 5%;
  background: #FAF9F6;
  text-align: center;
}

.featured-cars h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  font-weight: 700;
}

.car-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.car-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.car-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}
.list-controls{
  max-width: 1200px;
  margin: 0 auto 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
}

.searchbox{
  flex: 1;
  max-width: 520px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 999px;
  padding: 12px 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
}

.searchbox i{ color: #999; }

.searchbox input{
  border: none;
  outline: none;
  width: 100%;
  font-size: 0.95rem;
}

.counter{
  font-size: 0.95rem;
  color: #444;
  font-weight: 500;
}

.pagination{
  max-width: 1200px;
  margin: 26px auto 0;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-btn{
  border: none;
  background: #111;
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
  font-size: 0.9rem;
}

.page-btn:hover{
  background: #e10600;
  transform: translateY(-2px);
}

.page-btn.active{
  background: #e10600;
}
.page-btn:disabled{
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}


/* 🏷 Price Badge */
.price-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #e63946;
  color: #fff;
  padding: 6px 14px;
  font-size: 0.85rem;
  border-radius: 20px;
  font-weight: 600;
  z-index: 2;
}

/* 🖼 Image Zoom */
.img-wrapper {
  overflow: hidden;
}

.img-wrapper img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.car-card:hover img {
  transform: scale(1.08);
}

/* 📄 Content */
.card-content {
  padding: 20px;
}

.card-content h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.card-content p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

/* 🔘 Button */
.btn {
  display: inline-block;
  padding: 10px 22px;
  background: #111;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-size: 0.9rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background: #e63946;
  transform: translateY(-2px);
}

/* 📱 Responsive */
@media (max-width: 1024px) {
  .car-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .car-grid {
    grid-template-columns: 1fr;
  }
}
/* FEATURED VIDEOS FROM FB */
.fb-carousel-section {
  background: #FAF9F6;
  padding: 80px 20px;
  overflow: hidden;
}

.fb-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #111;
}

.fb-carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
}

.fb-carousel {
  overflow: hidden;
  width: 100%;
}

.fb-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease;
}

.fb-card {
  min-width: 360px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08); 
  padding: 10px;
}

/* Facebook iframe sizing */
.fb-card iframe {
  width: 100%;
  border: none;
}

/* Navigation buttons */
.nav-btn {
  background: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 10;
}

.nav-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.nav-btn.left {
  margin-right: 15px;
}

.nav-btn.right {
  margin-left: 15px;
}

/* Mobile */
@media (max-width: 768px) {
  .fb-card {
    min-width: 90%;
  }
}
/* FOOTER & SUBFOOTER HERE*/
.subfooter {
  background: linear-gradient(135deg, #0c0c0c, #111);
  color: #fff;
  padding: 60px 20px;
}

.subfooter-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.subfooter-box h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
}

.subfooter-box h4::after {
  content: "";
  width: 40px;
  height: 3px;
  background: #e10600;
  display: block;
  margin-top: 8px;
  border-radius: 5px;
}

.subfooter-box p {
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: #e0e0e0;
}

.subfooter-box i {
  color: #e10600;
  margin-right: 10px;
}

/* Social icons */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.social-icons a:hover {
  background: #e10600;
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(225, 6, 0, 0.6);
}
/* fb chat button */
.messenger-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #0084ff;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.messenger-float:hover {
  transform: scale(1.1);
  box-shadow: 0 20px 40px rgba(0, 132, 255, 0.6);
}


/* Footer */
.main-footer {
  background: #000;
  text-align: center;
  padding: 18px 10px;
}

.main-footer p {
  color: #aaa;
  font-size: 0.85rem;
}
/* =======================
   CAR DETAILS PAGE
======================= */

.details-wrap{
  padding: 40px 16px;
  background: #f5f7fb;
}

.details-card{
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0,0,0,.10);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 18px;
}

.details-gallery{
  background: #f7f7f7;
  border-radius: 16px;
  padding: 14px;
  display:flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.details-main{
  width: 100%;
  height: 440px;
  border-radius: 14px;
  object-fit: cover;
  object-position: center;
  background: #fff;
  display:block;
}

.details-thumbs{
  display:flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}
.details-thumbs::-webkit-scrollbar{ height: 8px; }
.details-thumbs::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.18);
  border-radius: 999px;
}

.details-thumb{
  width: 76px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center;
  cursor: pointer;
  border: 2px solid transparent;
  flex: 0 0 auto;
  background: #fff;
}
.details-thumb.active{
  border-color: #e10600;
}

.details-info{
  padding: 8px 6px;
  min-width: 0;
}

.details-title{
  font-size: 28px;
  font-weight: 800;
  color: #111;
  margin-bottom: 12px;
}

/* table styling (instead of inline styles) */
.details-table{
  width:100%;
  border-collapse: collapse;
}
.details-table td{
  padding: 10px 8px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  vertical-align: top;
}
.details-table td.key{
  color:#666;
  font-weight: 500;
  width: 42%;
}
.details-table td.val{
  font-weight: 600;
  color: #111;
}

.details-desc{
  margin-top: 14px;
  color:#333;
  line-height: 1.7;
  word-break: break-word;
}

.details-actions{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: stretch;
}

/* Make action buttons behave on small screens */
.details-actions .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  white-space: nowrap;
}

/* ===== Mobile ===== */
@media (max-width: 900px){
  .details-card{
    grid-template-columns: 1fr;
  }

  /* mobile image: full width, nice height */
  .details-main{
    height: min(52vh, 340px);
    object-fit: cover;   /* 👈 fills width nicely */
  }

  .details-title{
    font-size: 22px;
  }
}

@media (max-width: 520px){
  .details-card{
    padding: 14px;
  }

  .details-gallery{
    padding: 12px;
  }

  .details-thumb{
    width: 66px;
    height: 52px;
  }

  /* stack buttons so nothing gets cut */
  .details-actions{
    flex-direction: column;
  }
  .details-actions .btn{
    width: 100%;
  }
}

/* ============ SERVICES PAGE ============ */
.services-hero{
  position: relative;
  min-height: 44vh;
  display: grid;
  align-items: center;
  background: linear-gradient(90deg, rgba(0,0,0,.78), rgba(225,29,46,.18));
  overflow: hidden;
}

.services-hero__overlay{
  position:absolute;
  inset:0;
  background: radial-gradient(800px 420px at 20% 20%, rgba(225,29,46,.18), transparent 55%),
              radial-gradient(700px 500px at 90% 40%, rgba(255,255,255,.08), transparent 55%);
  pointer-events:none;
}

.services-hero__content{
  position: relative;
  padding: 64px 0;
}

.services-hero h1{
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
}

.services-hero p{
  margin-top: 10px;
  max-width: 720px;
  opacity: .9;
  line-height: 1.7;
}
/* ===== SERVICES SECTION ===== */

.services-wrapper{
  background:#e9e9e9;
  padding:60px 20px;
}

.service-card{
  background:#ffffff;
  max-width:1100px;
  margin:0 auto 50px auto;
  border-radius:20px;
  box-shadow:0 10px 30px rgba(0,0,0,0.15);
  border-top:5px solid #e30613;
  padding:40px;
}

.service-content{
  display:flex;
  align-items:center;
  gap:40px;
  flex-wrap:wrap;
}

.service-content.reverse{
  flex-direction:row-reverse;
}

.service-text{
  flex:1;
}

.service-text h2{
  font-size:28px;
  margin-bottom:15px;
  font-weight:700;
}

.service-text p{
  font-size:16px;
  line-height:1.7;
  color:#555;
  margin-bottom:20px;
}

.service-image{
  flex:1;
  text-align:center;
}

.service-image img{
  width:100%;
  max-width:450px;
  border-radius:15px;
}

/* ===== RED BUTTON ONLY ===== */

.btn-red{
  display:inline-block;
  background:#e30613;
  color:#fff;
  padding:12px 25px;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
  transition:0.3s ease;
}

.btn-red:hover{
  background:#c00410;
  transform:translateY(-2px);
}

/* ===== RESPONSIVE ===== */

@media (max-width:768px){
  .service-content{
    flex-direction:column;
  }

  .service-content.reverse{
    flex-direction:column;
  }

  .service-card{
    padding:30px 20px;
  }
}
/* ===========================
   ABOUT PAGE – PREMIUM TIMELINE
   (Frontend style: white cards, soft shadow, red accent)
   =========================== */

.about-hero{
  padding: 50px 16px 10px;
  background: #f6f6f6;
}

.about-hero__inner{
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 28px 28px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
  border-top: 4px solid #e11d2e;
}

.about-hero h1{
  margin: 0;
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 800;
  color: #111;
  text-align: center;
}

.about-hero h1 span{
  color: #e11d2e;
}

.about-hero p{
  margin: 12px auto 0;
  max-width: 900px;
  text-align: center;
  color: #333;
  line-height: 1.7;
  font-size: 15px;
}

.about-timeline{
  background: #f6f6f6;
  padding: 26px 16px 70px;
}

.about-timeline__wrap{
  width: min(1100px, 92%);
  margin: 0 auto;
}

.timeline-head{
  text-align: center;
  margin: 14px 0 26px;
}

.timeline-head h2{
  margin: 0;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 900;
  color: #111;
}

.timeline-head p{
  margin: 8px 0 0;
  color: #444;
  opacity: .9;
}

/* Timeline layout */
.t-item{
  display:grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: stretch;
  margin: 0 0 22px;
}

.t-rail{
  position: relative;
  display:flex;
  justify-content:center;
}

.t-dot{
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #e11d2e;
  box-shadow: 0 10px 22px rgba(225,29,46,.25);
  position: sticky;
  top: 120px; /* feels like “guided” scroll */
  margin-top: 20px;
}

.t-line{
  position:absolute;
  top: 44px;
  bottom: -22px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(to bottom, rgba(225,29,46,.45), rgba(0,0,0,0));
  left: 50%;
  transform: translateX(-50%);
}

.t-item--final .t-line{
  bottom: 30px;
}

/* Premium card */
.t-card{
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
  padding: 22px 22px;
  border-left: 5px solid rgba(225,29,46,.18);
  position: relative;
  overflow: hidden;
}

.t-card::before{
  content:"";
  position:absolute;
  inset: 0;
  background: radial-gradient(700px 220px at 0% 0%, rgba(225,29,46,.10), transparent 60%);
  pointer-events:none;
}

.t-top{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
  position: relative;
}

.t-year{
  font-weight: 900;
  color: #111;
  background: #f2f2f2;
  border: 1px solid rgba(0,0,0,.08);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.t-tag{
  font-weight: 800;
  color: #e11d2e;
  background: rgba(225,29,46,.08);
  border: 1px solid rgba(225,29,46,.18);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.t-card h3{
  margin: 12px 0 8px;
  font-size: 18px;
  font-weight: 900;
  color: #111;
  position: relative;
}

.t-card p{
  margin: 0;
  color: #2d2d2d;
  line-height: 1.8;
  font-size: 14.5px;
  position: relative;
}

/* CTA buttons – red only */
.t-cta{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
  position: relative;
}

.red-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 11px 16px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 13px;
  background: #e11d2e;
  color: #fff;
  border: 1px solid #e11d2e;
  transition: transform .12s ease, filter .2s ease;
}

.red-btn:hover{
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.red-btn:active{
  transform: translateY(0px);
}

.red-btn--ghost{
  background: #fff;
  color: #e11d2e;
  border: 1px solid rgba(225,29,46,.35);
}

.red-btn--ghost:hover{
  filter: none;
  background: rgba(225,29,46,.06);
}

/* Responsive */
@media (max-width: 720px){
  .t-item{ grid-template-columns: 38px 1fr; gap: 12px; }
  .t-dot{ top: 110px; }
  .t-card{ padding: 18px; }
}


/* ===== BAS FRONTEND MODAL (Sell My Car) ===== */
.bas-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  padding: .85rem 1.1rem;
  border-radius: 12px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: transform .12s ease, filter .2s ease, box-shadow .2s ease;
}
.bas-btn:active{ transform: translateY(1px); }

.bas-btn--red{
  background: #e11d2e;
  color: #fff;
  box-shadow: 0 10px 25px rgba(225,29,46,.22);
}
.bas-btn--red:hover{ filter: brightness(1.05); }

.bas-btn--ghost{
  background: #fff;
  color: #111;
  border: 1px solid rgba(0,0,0,.12);
}
.bas-btn--ghost:hover{ filter: brightness(.98); }

.bas-modal[hidden]{ display:none !important; }
.bas-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 18px;
}

.bas-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(3px);
}

.bas-modal__card{
  position: relative;
  width: min(980px, 96vw);
  max-height: 90vh;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  color: #111;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  border: 2px solid rgba(225,29,46,.18);
  display:flex;
  flex-direction: column;
}

.bas-modal__head{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 18px 12px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.bas-modal__title{
  margin:0;
  font-size: 1.2rem;
  font-weight: 800;
}
.bas-modal__sub{
  margin:.35rem 0 0;
  color: rgba(0,0,0,.62);
  font-size: .95rem;
}

.bas-modal__close{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  font-size: 22px;
  cursor:pointer;
}

.bas-modal__body{
  padding: 16px 18px;
  overflow:auto;
}

.bas-form-section{
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 16px;
  padding: 14px;
  background: #fff;
  margin-bottom: 14px;
}

.bas-form-section__title{
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 800;
  display:inline-block;
  padding-bottom: 6px;
  border-bottom: 3px solid #e11d2e;
}

.bas-grid{ display:grid; gap: 12px; }
.bas-grid--2{ grid-template-columns: repeat(2, 1fr); }
.bas-field--full{ grid-column: 1 / -1; }

.bas-field label{
  display:block;
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: 6px;
}

.bas-field input,
.bas-field textarea{
  width:100%;
  padding: .8rem .85rem;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.14);
  outline: none;
  font-family: inherit;
  font-size: .95rem;
  background: #fff;
}

.bas-field input:focus,
.bas-field textarea:focus{
  border-color: rgba(225,29,46,.55);
  box-shadow: 0 0 0 4px rgba(225,29,46,.15);
}

.bas-help{
  display:block;
  margin-top: 6px;
  color: rgba(0,0,0,.62);
  font-size: .85rem;
}

.bas-modal__actions{
  display:flex;
  justify-content:flex-end;
  gap: 10px;
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(0,0,0,.08);
  background: #fff;
}

.bas-form-msg{
  border-radius: 14px;
  padding: 12px 12px;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: .95rem;
}
.bas-form-msg.ok{
  background: rgba(16,185,129,.12);
  border: 1px solid rgba(16,185,129,.25);
  color: #065f46;
}
.bas-form-msg.err{
  background: rgba(225,29,46,.10);
  border: 1px solid rgba(225,29,46,.22);
  color: #7f1d1d;
}

/* Image previews */
.bas-previews{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.bas-preview{
  width: 110px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 14px;
  overflow:hidden;
  position: relative;
  background: #f7f7f7;
}
.bas-preview img{
  width:100%;
  height: 78px;
  object-fit: cover;
  display:block;
}
.bas-preview button{
  position:absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border-radius: 10px;
  border: 0;
  background: rgba(225,29,46,.92);
  color: #fff;
  cursor:pointer;
  font-weight: 900;
}

@media (max-width: 820px){
  .bas-grid--2{ grid-template-columns: 1fr; }
}
/* ===== Sell My Car modal states ===== */
.sell-status {
  border-radius: 16px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  margin-bottom: 14px;
}

.sell-status.success {
  border-color: rgba(225,29,46,.35);
  background: linear-gradient(180deg, rgba(225,29,46,.18), rgba(0,0,0,.18));
}

.sell-status.error {
  border-color: rgba(255,91,91,.35);
  background: rgba(255,91,91,.10);
}

.sell-status h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
}

.sell-status p {
  margin: 0;
  opacity: .85;
  line-height: 1.5;
  font-size: 14px;
}

.sell-status .sub {
  margin-top: 10px;
  opacity: .7;
  font-size: 13px;
}

.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: .9;
  filter: saturate(.9);
}

.btn-loading .btn-text {
  opacity: .85;
}

.btn-loading .spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: rgba(255,255,255,.95);
  display: inline-block;
  animation: spin .75s linear infinite;
  margin-right: 10px;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
.bas-spinner{
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  display:inline-block;
  animation: basSpin .7s linear infinite;
}
@keyframes basSpin{ to{ transform: rotate(360deg); } }




