.car-booking .car-filters {
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    width: 100%; /* Ensure the container takes full width */
    flex-wrap: wrap; /* Allow wrapping if needed on smaller screens */
}

.car-booking .car-filters a {
    margin: 0 5px;
    text-decoration: none;
    color: #0073aa;
    padding: 5px 10px;
    border: 1px solid #0073aa;
    border-radius: 5px;
    display: inline-block; /* Ensure links behave as inline blocks */
}

.car-booking .car-filters a.active {
    color: #00a32a;
    border-color: #00a32a;
}
.car-booking .car-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.car-booking .car-item {
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    padding: 15px;
    text-align: center;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.car-booking .car-item img {
    max-width: 360px;
    height: 200px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 10px;
}
.car-booking .car-item h3 {
    margin: 0 0 15px;
    font-size: 1.5em;
    color: #333;
}
.car-booking .price-details {
    text-align: left;
    margin-bottom: 15px;
}
.car-booking .price-details p {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
    font-size: 1em;
}
.car-booking .price-details .label {
    font-weight: bold;
    color: #666;
}
.car-booking .price-details .value {
    color: #00a32a;
    font-weight: bold;
}
.car-booking .car-item .book-now-btn {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1em;
    width: 100%;
}
.car-booking .car-item .book-now-btn:hover {
    background-color: #005d87;
}
.contact-form-wrapper {
    margin-top: 15px;
}
.contact-form-wrapper form {
    margin: 0;
    width: 100%;
}

@media (min-width: 768px) {
    .car-booking .car-item {
        width: 45%;
    }
}

@media (min-width: 1024px) {
    .car-booking .car-item {
        width: 30%;
    }
}