h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    color: var(--primary-color);
}

.accordion-button:not(.collapsed) {
    color: var(--white-surface);
    background-color: var(--primary-color);
    -webkit-box-shadow: inset 0 calc(-1* var(--bs-accordion-border-width)) 0 var(--white-surface);
    box-shadow: inset 0 calc(-1* var(--bs-accordion-border-width)) 0 var(--primary-color);
}
.accordion-header {
    margin-bottom: 0;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.300);
}
.form-control:focus {
    border-color: var(--primary-color);

}

.accordion-button:focus {
    z-index: 3;
    border-color: var(--primary-color) !important;
    outline: 0;
    -webkit-box-shadow: var(--accordian-shadow);
    box-shadow: var(--accordian-shadow);
}

.btnchoice {
    color: var(--primary-color);
    font-weight: bold;
}

/* Card styles */
.item .car-card {
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.300);
    border-radius: 10px;
    /* overflow: hidden; */
    transition: all 0.5s ease;
}

.item .car-card:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.3);
}

/* Image hover overlay */
.item .car-card .car-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--white-surface);

}

.item .car-card .car-img img { 
    transition: transform 0.5s ease;
    height: 12.5rem;
}

.item .car-card:hover .car-img img {
    transform: scale(1.2);
}

.item .car-card .car-img::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color-transparent);
    transition: all 0.5s ease;
    border-radius: 10px;

}

.item .car-card:hover .car-img::after {
    width: 100%;
    height: 100%;
    border-radius: 10px;

}

/* Content overlay */
.item .car-card .car-content {
    position: relative;
    padding-right: 18px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 18px;
    background-color: #fff;
    transition: all 0.5s ease;
    z-index: 1;
    border-radius: 10px;
}

.item .car-card .car-content::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--primary-color);
    transition: all 0.5s ease;
    z-index: 0;
    border-radius: 10px;


}

.item .car-card:hover .car-content::after {
    width: 100%;
    height: 100%;
}

/* Content inner and text */
.item .car-card .car-content-inner {
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
}

.item .car-card:hover .car-content-inner {
    color: #fff;
}

.item a{
    color: var(--black-surface);
}
/* Title, Price, and Reviews */
.item .car-card .car-title {
    font-size: 14px;
    font-weight: bold;
    color: var(--black-surface);
    transition: color 0.5s ease;
}

.item .car-card:hover .car-title,
.item .car-card:hover .car-price,
.item .car-card:hover .car-reviews,
.item .car-card:hover .small,
.item .car-card:hover .fa-heart {
    color: var(--white-surface);
}

.item .car-card .car-price {
    font-size: 14px;
    color: var(--primary-color);
    margin: 0;
    transition: color 0.5s ease;
}

.item .car-card .car-reviews {
    font-size: 14px;
    color: #555;
}

.item .car-card .car-reviews .rating {
    color: #ffcc00;
    font-weight: bolder;
}

.form-select:focus {
    border-color: var(--primary-color);
    outline: 0;
    -webkit-box-shadow: var(--accordian-shadow);
    box-shadow: var(--accordian-shadow);
}

.iconhide .accordion-button::after {
    width: 0;
    height: 0;
}

  /* Style for the slider */
  .form-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: #ddd; /* Light gray track color */
    border-radius: 5px;
    outline: none;
    transition: background 0.3s;
}

/* Color of the slider's track */
.form-range::-webkit-slider-runnable-track {
    background: #ddd; /* Light gray track color */
}

/* Color of the slider thumb */
.form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary-color); /* Red color for the thumb */
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff; /* White border around the thumb */
}

/* Color of the slider thumb for Firefox */
.form-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
}

/* Color of the slider thumb for Internet Explorer */
.form-range::-ms-thumb {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
}

/* Optional: Change the track color when the slider is active */
.form-range:active::-webkit-slider-runnable-track {
    background: var(--primary-color);; /* A darker red when active */
}

  /* Tooltip styling */
  .slider-tooltip {
    position: absolute;
    top: -30px; /* Position above the slider */
    left: 0;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    display: none; /* Initially hidden */
}

/* Show the tooltip when the slider is active */
.form-range:active + .slider-tooltip {
    display: block;
}