.hero-section {
  min-height: 60vh;
  max-height: 80vh;
  position: relative;
  padding: 60px 0;
  overflow: hidden;
  background-color: #f0f0f0;
}

/* Override Bootstrap button styles for the badge */
.card-list-absolute.btn {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
  width: 150px;
  background-color: #e80401 !important; /* Use !important to override Bootstrap */
  border-color: #e80401 !important;
  border-radius: 50px !important;
  padding: 8px 15px !important;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(232, 4, 1, 0.3);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Style for the badge inside the button */
.card-list-absolute .badge {
  background-color: white !important;
  color: #e80401 !important;
}

/* Base Styles - Desktop/Monitor (1440px+) */
.left-content {
  flex: 0 0 48%;
  z-index: 2;
  padding-left: 2rem;
}

.main-heading {
  font-size: 4.5rem;
  font-weight: 800;
  color: #333;
  line-height: 1.1;
  margin-bottom: 30px;
}

.description {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 40px;
}

.cta-button {
  background-color: #e53e3e;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 220px;
  gap: 10px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #c53030;
}

.arrow {
  font-size: 1.2rem;
}

/* Right Content Styles */
.right-content {
  flex: 0 0 60%;
  position: relative;
  height: 600px;
}

.card-relative {
  position: relative;
}

.card-absolute {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #e80401;
  border-radius: 100%;
  padding: 5px 10px;
}

.carlist-image {
  border-radius: 10px;
}

.car-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: absolute;
  width: 300px;
  z-index: 3;
  transition: transform 0.3s ease;
}

.car-card:hover {
  transform: translateY(-5px);
}

.car-image-container {
  top: 30px;
  left: 90px;
  z-index: 3;
}

.bottom-card {
  bottom: 80px;
  left: 0;
  z-index: 3;
}

.right-card {
  bottom: 10px;
  right: 10px;
  z-index: 3;
}

.car-specs {
  font-size: 0.9rem;
  color: #888;
}

.car-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #e53e3e;
}

.car-image-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.car-image {
  width: 500px;
  height: auto;
  object-fit: contain;
  max-width: none;
  transform: scale(1.2);
}

.discount-badge {
  position: absolute;
  top: 10%;
  right: 10%;
  background-color: #e53e3e;
  color: white;
  padding: 10px 18px;
  border-radius: 15px;
  font-weight: 600;
  font-size: 1.2rem;
  z-index: 4;
}

/* Search Section Styles */
.search-section {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  padding: 30px 40px;
  display: flex;
  align-items: center;
  gap: 30px;
  z-index: 5;
  backdrop-filter: blur(10px);
}

.find-car-btn {
  background-color: #e53e3e;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.find-car-btn:hover {
  background-color: #c53030;
}

.search-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  justify-content: center;
}

.dropdown-container {
  position: relative;
}

.dropdown {
  appearance: none;
  background: white;
  border: 1px solid #ddd;
  padding: 12px 40px 12px 16px;
  border-radius: 6px;
  font-size: 1rem;
  color: #666;
  cursor: pointer;
  min-width: 140px;
}

.dropdown-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #666;
  font-size: 0.8rem;
}

.search-button {
  background-color: #e53e3e;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.search-button:hover {
  background-color: #c53030;
}

.search-icon {
  font-size: 1rem;
}

/* Laptop Screens (1024px - 1439px) */
@media (max-width: 1439px) and (min-width: 1024px) {
  .main-heading {
    font-size: 4rem;
  }

  .car-image {
    width: 450px;
    transform: scale(1.1);
  }

  .car-card {
    width: 280px;
  }

  .left-content {
    padding-left: 1.5rem;
  }

  .card-list-relative {
    position: relative;
  }

  .card-list-absolute {
    position: absolute;
    top: 10px;
    right: 10px;
  }

  .card-list-text {
    background-color: #e80401;
    border-radius: 50px;
    padding: 5px 10px;
    color: #ffffff;
  }
}

/* Tablet Screens (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
  .hero-section > div:first-child {
    flex-direction: column;
    height: auto;
    padding: 0 2rem;
  }

  .left-content {
    flex: 0 0 100%;
    text-align: center;
    padding: 0;
    margin-bottom: 3rem;
  }

  .main-heading {
    font-size: 3.5rem;
    margin-bottom: 20px;
  }

  .description {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }

  .cta-button {
    margin: 0 auto;
    width: 200px;
  }

  .right-content {
    flex: 0 0 100%;
    height: 500px;
    margin: 0;
  }

  .car-image-container {
    transform: translate(-50%, -50%);
  }

  .car-image {
    width: 400px;
    transform: scale(1);
  }

  .car-card {
    width: 250px;
    padding: 18px;
  }

  .car-image-container {
    top: 20px;
    left: 20px;
  }

  .bottom-card {
    bottom: 60px;
    left: 10px;
  }

  .right-card {
    bottom: 20px;
    right: 20px;
  }

  .search-section {
    padding: 25px 30px;
    gap: 20px;
  }

  .search-controls {
    gap: 15px;
  }

  .card-list-relative {
    position: relative;
  }

  .card-list-absolute {
    position: absolute;
    top: 10px;
    right: 10px;
  }

  .card-list-text {
    background-color: #e80401;
    border-radius: 50px;
    padding: 5px 10px;
    color: #ffffff;
  }
}

/* Mobile Landscape (481px - 767px) */
@media (max-width: 767px) and (min-width: 481px) {
  .hero-section {
    padding: 40px 0;
  }

  .hero-section > div:first-child {
    flex-direction: column;
    padding: 0 1.5rem;
  }

  .left-content {
    flex: 0 0 100%;
    text-align: center;
    padding: 0;
    margin-bottom: 2rem;
  }

  .main-heading {
    font-size: 2.8rem;
    margin-bottom: 15px;
  }

  .description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .cta-button {
    width: 180px;
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .right-content {
    flex: 0 0 100%;
    height: 400px;
  }

  .car-image {
    width: 320px;
    transform: scale(0.9);
  }

  .car-card {
    width: 200px;
    padding: 15px;
  }

  .car-price {
    font-size: 1.1rem;
  }

  .top-card {
    top: 10px;
    left: 10px;
  }

  .bottom-card {
    bottom: 40px;
    left: 5px;
  }

  .right-card {
    bottom: 10px;
    right: 10px;
  }

  .discount-badge {
    padding: 8px 14px;
    font-size: 1rem;
  }

  .search-section {
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }

  .search-controls {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
  }

  .dropdown {
    min-width: 100px;
    padding: 10px 30px 10px 12px;
    font-size: 0.9rem;
  }

  .search-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* Mobile Portrait (320px - 480px) */
@media (max-width: 480px) {
  .hero-section {
    padding: 20px 0;
    min-height: auto;
  }

  .hero-section > div:first-child {
    flex-direction: column;
    padding: 0 1rem;
    height: auto;
  }

  .left-content {
    flex: 0 0 100%;
    text-align: center;
    padding: 0;
    margin-bottom: 1.5rem;
  }

  .main-heading {
    font-size: 2.2rem;
    margin-bottom: 15px;
    line-height: 1.2;
  }

  .description {
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
  }

  .cta-button {
    width: 160px;
    padding: 10px 15px;
    font-size: 0.8rem;
  }

  .right-content {
    flex: 0 0 100%;
    height: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .car-image-container {
    position: relative;
    transform: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 250px;
    margin: 10px 0;
  }

  .car-image {
    width: 280px;
    transform: scale(0.8);
  }

  .discount-badge {
    top: 5%;
    right: 5%;
    padding: 6px 12px;
    font-size: 0.9rem;
  }

  .car-card {
    position: static;
    width: 100%;
    max-width: 300px;
    padding: 12px;
    margin: 0;
  }

  .car-card h5 {
    font-size: 0.85rem;
  }

  .car-specs {
    font-size: 0.8rem;
  }

  .car-price {
    font-size: 1rem;
  }

  .search-section {
    position: relative;
    flex-direction: column;
    padding: 15px;
    gap: 12px;
    margin-top: 20px;
  }

  .find-car-btn {
    padding: 10px 20px;
    font-size: 0.8rem;
    width: 100%;
    max-width: 200px;
  }

  .search-controls {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .dropdown-container {
    width: 100%;
  }

  .dropdown {
    width: 100%;
    min-width: auto;
    padding: 10px 30px 10px 12px;
    font-size: 0.9rem;
  }

  .search-button {
    width: 100%;
    padding: 10px 20px;
    font-size: 0.9rem;
    justify-content: center;
  }
}

/* Extra Small Mobile (max-width: 320px) */
@media (max-width: 320px) {
  .main-heading {
    font-size: 1.8rem;
  }

  .car-image {
    width: 240px;
    transform: scale(0.7);
  }

  .car-image-container {
    height: 200px;
  }

  .hero-section > div:first-child {
    padding: 0 0.5rem;
  }
}

.card-section {
  border-radius: 16px;
}

/* 1 Day Release Badge Styles */
.release-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #e53e3e;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(229, 62, 62, 0.3);
  transition: transform 0.2s ease;
}

.release-badge:hover {
  transform: scale(1.05);
}

.release-badge-icon {
  font-size: 0.9rem;
}

/* Make sure the card container has relative positioning */
.card {
  position: relative !important;
}

/* Responsive adjustments for the badge */
@media (max-width: 768px) {
  .release-badge {
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  .release-badge-icon {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .release-badge {
    top: 8px;
    right: 8px;
    padding: 5px 10px;
    font-size: 0.7rem;
  }

  .release-badge-icon {
    font-size: 0.75rem;
  }
}

.card-img-top {
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
  height: 250px; /* Fixed height for all card images */
  object-fit: cover; /* Maintains aspect ratio while filling the container */
  width: 100%; /* Ensures full width coverage */
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

/* Responsive adjustments for different screen sizes */
@media (max-width: 768px) {
  .card-img-top {
    height: 200px; /* Smaller height for tablets */
  }
}

@media (max-width: 480px) {
  .card-img-top {
    height: 180px; /* Even smaller height for mobile */
  }
}

/* ============= BASIC REQUIREMENTS SECTION ============= */
/* Basic Requirements Section */
.basic-requirements-section {
  background-color: #e80401;
  border-radius: 24px;
  padding: 60px 40px;
  color: white;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

/* Left Content Styles for Basic Requirements */
.basic-requirements-section .left-content {
  padding-right: 2rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 20px;
  color: white;
}

.section-subtitle {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 30px;
  opacity: 0.95;
  color: white;
}

.buy-car-btn {
  background-color: white;
  color: #e53e3e;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.buy-car-btn:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  color: #e53e3e;
}

.btn-icon {
  font-size: 1.1rem;
}

/* Requirements Header */
.requirements-header {
  text-align: center;
}

.header-text {
  font-size: 1.1rem;
  margin-bottom: 0;
  opacity: 0.95;
  color: white;
}

/* Requirement Items */
.requirement-item {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 8px 0;
}

.check-icon {
  width: 24px;
  height: 24px;
  background-color: white;
  color: #e53e3e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  margin-right: 12px;
  flex-shrink: 0;
}

.requirement-text {
  font-size: 1rem;
  font-weight: 500;
  color: white;
  line-height: 1.4;
}

/* Responsive Design for Basic Requirements */
@media (max-width: 991px) {
  .basic-requirements-section {
    padding: 40px 30px;
  }

  .section-title {
    font-size: 2.5rem;
    text-align: center;
  }

  .section-subtitle {
    text-align: center;
  }

  .buy-car-btn {
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }

  .basic-requirements-section .left-content {
    padding-right: 0;
    text-align: center;
    margin-bottom: 2rem;
  }
}

@media (max-width: 767px) {
  .basic-requirements-section {
    padding: 30px 20px;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .requirement-text {
    font-size: 0.9rem;
  }

  .check-icon {
    width: 20px;
    height: 20px;
    font-size: 12px;
  }
}

@media (max-width: 575px) {
  .basic-requirements-section {
    padding: 25px 15px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .buy-car-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  .requirement-item {
    margin-bottom: 12px;
  }
}

/* Additional styling for better visual appeal */
.basic-requirements-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 1;
}

.basic-requirements-section::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  z-index: 1;
}

.basic-requirements-section > .row {
  position: relative;
  z-index: 2;
}

/* ============= MARQUEE BRANDS SHOWCASE SECTION ============= */
/* Brands showcase container */
.widget-icon-box {
  position: relative;
  padding: 80px 0;
  background-color: #ffffff;
}

.widget-icon-box .themesflat-container {
  margin: 0 auto;
  padding: 0 20px;
}

/* Heading section styling */
.heading-section {
  text-align: center;
  margin-bottom: 60px;
}

.sub-title {
  font-size: 1.1rem;
  color: #666;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}

/* Marquee container */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
  mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
  -webkit-mask: linear-gradient(
    90deg,
    transparent,
    white 20%,
    white 80%,
    transparent
  );
}

/* Marquee content with animation */
.marquee-content {
  display: inline-flex;
  animation: marquee 30s linear infinite;
  gap: 3rem;
  align-items: center;
  white-space: nowrap;
}

/* Pause animation on hover */
.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}

/* Marquee keyframe animation */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Update icon-box for marquee */
.marquee-content .icon-box {
  flex: 0 0 auto;
  min-width: 120px;
  padding: 20px 10px;
  transition: all 0.3s ease;
  border-radius: 8px;
  white-space: normal;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}

/* Remove border styling for clean look */
.marquee-content .icon-box.border-line {
  border: none;
}

/* Image container for marquee */
.marquee-content .image-box-wrap {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.marquee-content .image-box-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* Title styling for marquee */
.marquee-content .title-icon {
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  line-height: 1.2;
  white-space: normal;
}

/* Remove button container for clean look */
.btn-con-box {
  display: none;
}

/* Responsive adjustments for marquee */
@media (max-width: 1200px) {
  .marquee-content {
    gap: 2rem;
  }

  .marquee-content .icon-box {
    min-width: 100px;
  }

  .marquee-content .image-box-wrap {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 992px) {
  .marquee-content {
    gap: 1.5rem;
  }

  .marquee-content .icon-box {
    min-width: 90px;
  }

  .marquee-content .image-box-wrap {
    width: 45px;
    height: 45px;
  }

  .marquee-content .title-icon {
    font-size: 0.7rem;
  }
}

@media (max-width: 768px) {
  .widget-icon-box {
    padding: 60px 0;
  }

  .heading-section {
    margin-bottom: 40px;
  }

  .marquee-content {
    gap: 1rem;
    animation-duration: 25s;
  }

  .marquee-content .icon-box {
    min-width: 80px;
    padding: 15px 5px;
  }

  .marquee-content .image-box-wrap {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
  }

  .marquee-content .title-icon {
    font-size: 0.65rem;
  }
}

@media (max-width: 576px) {
  .marquee-content {
    gap: 0.8rem;
    animation-duration: 20s;
  }

  .marquee-content .icon-box {
    min-width: 70px;
    padding: 12px 5px;
  }

  .marquee-content .image-box-wrap {
    width: 35px;
    height: 35px;
    margin-bottom: 10px;
  }

  .marquee-content .title-icon {
    font-size: 0.6rem;
  }
}

@media (max-width: 480px) {
  .marquee-content {
    gap: 0.5rem;
    animation-duration: 18s;
  }

  .marquee-content .icon-box {
    min-width: 60px;
  }
}

/* Alternative: Faster marquee speed */
.marquee-content.fast {
  animation-duration: 20s;
}

/* Alternative: Slower marquee speed */
.marquee-content.slow {
  animation-duration: 40s;
}

/* Alternative: Reverse direction */
.marquee-content.reverse {
  animation-direction: reverse;
}

/* Static brands container (fallback for non-marquee) */
.brands-showcase {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

/* Icon box styling - Clean minimal design (for static version) */
.icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  flex: 1;
  min-width: 120px;
  padding: 20px 10px;
  transition: all 0.3s ease;
  border-radius: 8px;
}

/* Remove border styling for clean look */
.icon-box.border-line {
  border: none;
}

/* Image container - Clean and minimal (for static version) */
.image-box-wrap {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.image-box-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* Title styling - Clean typography (for static version) */
.title-icon {
  font-size: 0.75rem;
  font-weight: 500;
  color: #666;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  line-height: 1.2;
}

/* Responsive design for static brands showcase */
@media (max-width: 1200px) {
  .brands-showcase {
    gap: 1.5rem;
  }

  .icon-box {
    min-width: 100px;
  }

  .image-box-wrap {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 992px) {
  .brands-showcase {
    justify-content: center;
    gap: 2rem;
  }

  .icon-box {
    flex: 0 0 auto;
    min-width: 90px;
  }
}

@media (max-width: 768px) {
  .brands-showcase {
    gap: 1.5rem;
  }

  .icon-box {
    min-width: 80px;
    padding: 15px 5px;
  }

  .image-box-wrap {
    width: 45px;
    height: 45px;
    margin-bottom: 12px;
  }

  .title-icon {
    font-size: 0.7rem;
  }
}

@media (max-width: 576px) {
  .brands-showcase {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .icon-box {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 70px;
    padding: 12px 5px;
  }

  .image-box-wrap {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
  }

  .title-icon {
    font-size: 0.65rem;
  }
}

@media (max-width: 480px) {
  .icon-box {
    flex: 0 0 calc(50% - 0.5rem);
    min-width: 60px;
  }

  .brands-showcase {
    gap: 0.5rem;
  }
}

/* Alternative layout for more brands */
.brands-showcase.two-rows {
  flex-wrap: wrap;
  justify-content: center;
}

.brands-showcase.two-rows .icon-box {
  flex: 0 0 calc(20% - 1rem);
  margin-bottom: 2rem;
}

@media (max-width: 992px) {
  .brands-showcase.two-rows .icon-box {
    flex: 0 0 calc(25% - 1rem);
  }
}

@media (max-width: 768px) {
  .brands-showcase.two-rows .icon-box {
    flex: 0 0 calc(33.333% - 1rem);
  }
}

@media (max-width: 576px) {
  .brands-showcase.two-rows .icon-box {
    flex: 0 0 calc(50% - 0.5rem);
  }
}
.tab-design {
  width: 90%;
  margin: 0 auto;
  padding: 20px;
  overflow-x: auto; /* Enable horizontal scrolling */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  white-space: nowrap; /* Prevent wrapping of child elements */
}

.nav-container {
  display: inline-block; /* Make container fit content width */
  min-width: 100%; /* Ensure container is at least as wide as parent */
}

.nav {
  display: inline-flex; /* Horizontal layout */
  gap: 10px; /* Space between tabs */
}

.btn-condition-filter {
  display: inline-flex;
  align-items: center;
  background-color: #e80401;
  color: white;
  padding: 10px 15px;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
}

.number-list {
  margin-left: 5px;
  font-size: 0.9em;
}

/* Hide scrollbar but keep functionality */
.tab-design::-webkit-scrollbar {
  height: 5px;
}

.tab-design::-webkit-scrollbar-thumb {
  background: #e80401;
  border-radius: 5px;
}

.tab-design::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.promo-badge {
  padding: 10px 15px;
  border-radius: 50px;
  color: white;
  background: #e80401;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.promo-badge .badge-icon {
  background: #e80401;
  padding: 4px 5px;
  border-radius: 50%;
  font-size: 0.9em;
  display: inline-flex;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  /* Right Content Styles */
  .right-content {
    flex: 0 0 60%;
    position: relative;
    height: 600px;
    display: none;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .right-content {
    flex: 0 0 60%;
    position: relative;
    height: 600px;
    display: none;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .mobile-responsive {
    height: 400px;
  }
  .mobile-responsive-valid-id {
    height: 120px;
  }
  .right-content {
    flex: 0 0 60%;
    position: relative;
    height: 600px;
    display: block;
  }
}

.tab-list-custom {
  overflow: hidden !important;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.f-custom {
  font-weight: bold; /* Makes the text bold */
  font-size: 24px;
  position: absolute;
  right: 9px;
  top: 7px;
  cursor: pointer;
  color:blue;
  z-index: 50;
}


