  
:root {
  --purple-main: #a020f0;
  --purple-dark: #9333ea;
  --purple-gradient: linear-gradient(to right, #6a0dad, #8a2be2);
  --red-gradient: linear-gradient(135deg, #9333ea, #e11d48);
  --light-bg: #f8f9fa;
}

/* General */
body {
  background-color: #f5f7fa;
      font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Slider Layout */
.slider-container {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: auto;
  flex-wrap: wrap;
}

.main-swiper {
  flex: 1;
  min-width: 250px;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
}

.main-swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Swiper Arrows */
.swiper-button-prev, .swiper-button-next {
  background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(20,20,20,0.9));
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
}
.swiper-button-prev::after, .swiper-button-next::after {
  font-size: 18px;
  font-weight: bold;
}
.swiper-button-prev:hover, .swiper-button-next:hover {
  background: var(--red-gradient);
  color: black;
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0,0,0,0.5);
}

/* Thumbnail Swiper */
.thumb-swiper {
  width: 20%;
  min-width: 120px;
  height: 500px;
  display: flex;
  flex-direction: column;
}
.thumb-swiper .swiper-slide {
  height: calc((100% / 3.5) - 8px);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}
.thumb-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.thumb-swiper .swiper-slide-thumb-active {
  border: 2px solid #000;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .slider-container {
    flex-direction: column;
  }
  .main-swiper {
    width: 100%;
    height: 300px;
  }
  .thumb-swiper {
    width: 100%;
    height: auto;
    flex-direction: row;
  }
  .thumb-swiper .swiper-slide {
    height: auto;
    flex: 1 0 auto;
  }
}

/* --- Tab Navigation Redesign --- */
/* === Tab Navigation (rentTabs) === */
.rentTabs {
  background: var(--purple-gradient);
  border-radius: 16px;
  padding: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  gap: 10px;
}

/* Tab buttons (all states) */
.rentTabs .nav-link {
  color: #ffffff !important; /* Ensure light color on purple background */
  background: transparent;
  border: none;
  border-radius: 12px;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Hover effect */
.rentTabs .nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
}

/* Active tab */
.rentTabs .nav-link.active {
  background: #ffffff !important;
  color: var(--purple-dark) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Remove Bootstrap override from .nav-tabs */
.nav-tabs .nav-link {
  border: none !important;
}


@media (max-width: 576px) {
  .rentTabs .nav-link {
    padding: 0.4rem 0.9rem;
    font-size: 0.95rem;
  }
}

/* Price Boxes */
.price-box {
  background: white;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.price-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.price {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--purple-dark);
}

/* Buttons */
.btn-primary {
  background: var(--purple-gradient);
  border: none;
  font-weight: 500;
}
.btn-primary:hover {
  background: var(--red-gradient);
}
.btn-outline-success i {
  color: #25D366;
}
.btn-outline-primary i {
  color: #0088cc;
}

/* Headings */
h5, h6 {
  color: var(--purple-dark);
  font-weight: 600;
}

/* Lists */
ul.list-unstyled li i {
  color: var(--purple-dark);
  margin-right: 5px;
}

/* Specs Card */
.spec-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  background: var(--light-bg);
}
.spec-header {
  background: var(--purple-gradient);
  color: white;
  padding: 0.75rem 1rem;
  font-weight: 600;
}
.spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.spec-item i {
  font-size: 1.2rem;
  color: var(--purple-dark);
}
.spec-item:last-child {
  border-bottom: none;
}

/* Breadcrumb container wrapper */
.breadcrumb-scroll-wrapper {
  overflow-x: auto;                   /* horizontal scroll */
  -webkit-overflow-scrolling: touch;  /* smooth scrolling on mobile */
  position: relative;
  padding-right: 20px;                /* space for fade effect */
  margin-bottom: 1.5rem;
}

/* Fading edge on the right */
.breadcrumb-scroll-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
}

/* Make breadcrumb a single line that can overflow */
.breadcrumb {
  display: flex !important;
  flex-wrap: nowrap !important;
  margin-bottom: 0;
  padding-left: 0;
  min-width: max-content;  /* <-- allows it to expand beyond container */
}

/* Prevent breadcrumb links from breaking */
.breadcrumb a {
  white-space: nowrap;
  color: var(--purple-dark);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Separator */
.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  color: var(--purple-dark);
  padding: 0 0.5rem;
}




/* --- Car Show Section with Light Background --- */
/* --- Car Show Section with background from :root variable --- */
.car-show-section {
 
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1;
  
  
}

/* Subtle background accents */
.car-show-section::before {
  content: "";
  position: absolute;
  top: -30px;
  left: -30px;
  width: 120px;
  height: 120px;
 
  border-radius: 50%;
  z-index: 0;
}


/* Section Heading */
.car-show-section .car-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Slider Wrapper */
.car-show-section .slider-container {
  background: white;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.03);
  position: relative;
  z-index: 2;
}

/* Swiper Image Styling */
.car-show-section .main-swiper img,
.car-show-section .thumb-swiper img {
  border-radius: 12px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.car-show-section .main-swiper img:hover {
  transform: scale(1.02);
}

/* Animation */
.car-show-section {
  animation: fadeInUp 0.6s ease-out;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.details {
  background: linear-gradient(to right, #f3e5f5, #ede7f6);  /* Use your root variable here */
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1;
}

 .car-description { 
     line-height: 1.8;
      font-family: 'Poppins',sans-serif; 
      font-size: 1rem; 
      color: #000000ff;
      text-align: justify;
}

.car-card {
      border: 1px solid #e0e0e0;
      border-radius: 12px;
      overflow: hidden;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

   .image-zoom-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* keeps consistent height */
  overflow: hidden;
}

.image-zoom-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* crop and scale proportionally */
  transition: transform 0.3s ease;
}

.car-card:hover .image-zoom-container img {
  transform: scale(1.05);
}

    .car-logo {
      width: 32px;
      height: 32px;
      object-fit: contain;
      border-radius: 50%;
      border: 1px solid #eee;
      background: #fff;
    }
    .btn-purple {
      background: var(--purple-gradient);
      color: #fff;
      border: none;
      border-radius: 8px;
      font-size: 0.9rem;
      padding: 0.4rem 0.8rem;
    }
    .btn-purple:hover {
      background: var(--red-gradient);
    }
    .btn-outline-purple {
      border: 1px solid var(--purple-dark);
      color: var(--purple-dark);
      border-radius: 8px;
      font-size: 0.9rem;
      padding: 0.4rem 0.8rem;
    }
    .btn-outline-purple:hover {
      background: var(--purple-gradient);
      color: #fff;
    }
    .price-amount {
      font-weight: bold;
      color: var(--purple-dark);
      font-size: 1.1rem;
    }
    .badge-status {
      background: var(--purple-gradient);
      color: white;
      font-size: 0.75rem;
      padding: 0.25rem 0.6rem;
      border-radius: 12px;
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
    }
     .modal-header {
      background: var(--purple-gradient);
      color: white;
    }
    .contact-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 500;
      border: none;
      padding: 10px 20px;
      border-radius: 50px;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .contact-btn i {
      margin-right: 8px;
      font-size: 1.2rem;
    }
    .contact-btn.whatsapp {
      background-color: #25D366;
      color: white;
    }
    .contact-btn.telegram {
      background-color: #0088cc;
      color: white;
    }
    .contact-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }
        h5.section-title {
      font-weight: 600;
      border-left: 4px solid #6f42c1;
      padding-left: 12px;
      margin-top: 2rem;
      margin-bottom: 1rem;
      color: #333;
    }

    .pricing-card {
      border: 1px solid #e0e0e0;
      border-radius: 12px;
      background: #fff;
      text-align: center;
      padding: 1.5rem;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    .pricing-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .pricing-card.active {
      border-color: #6f42c1;
      background: linear-gradient(135deg, #f6efff, #ffffff);
    }

    .card-item {
      display: flex;
      align-items: center;
      gap: 10px;
      background: #fff;
      padding: 0.75rem 1rem;
      border-radius: 10px;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
      margin-bottom: 0.75rem;
    }

    .card-item i {
      color: #6f42c1;
      font-size: 1.2rem;
    }

    .dealer-card {
      border-radius: 12px;
      background: #fff;
      padding: 1.5rem;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
      text-align: center;
    }

    .dealer-card img {
      max-height: 50px;
      margin-bottom: 1rem;
    }

    .dealer-card .btn {
      width: 100%;
      margin-bottom: 0.5rem;
      font-weight: 500;
    }

    .status-badge {
      background-color: #eafaf2;
      color: #0f9d58;
      padding: 0.75rem;
      border-radius: 8px;
      font-weight: 500;
      text-align: center;
      margin-top: 1rem;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    .accordion-button {
      font-weight: 500;
    }

    @media (max-width: 767px) {
      h5.section-title {
        margin-top: 1.5rem;
      }
    }

/* Gradient animation for buttons */
.btn-gradient-blue {
  background: linear-gradient(270deg, #007bff, #00c6ff, #0056d2, #3399ff);
  background-size: 400% 400%;
  color: #fff !important;
  border: none !important;
  animation: gradientSlide 6s ease infinite;
  transition: transform 0.3s ease;
  height:50px;
}

.btn-gradient-green {
  background: linear-gradient(270deg, #28a745, #85e085, #1e7e34, #5cd65c);
  background-size: 400% 400%;
  color: #fff !important;
  border: none !important;
  animation: gradientSlide 6s ease infinite;
  transition: transform 0.3s ease;
  height:50px;
}

.btn-gradient-blue:hover,
.btn-gradient-green:hover {
  transform: scale(1.05);
}

@keyframes gradientSlide {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.mobile-sticky-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    display: flex;
    gap: 1rem; /* Creates space between buttons */
}

.mobile-sticky-buttons .btn {
    flex: 1; /* Ensures buttons share the space equally */
}
  h1 {
    font-size: clamp(1.5rem, 2.5vw, 2.5rem); /* min, preferred, max */
    line-height: 1.2;
    word-wrap: break-word;
    text-align: center;
  }