.car-section {
    text-align: center;
    background: #f8f8f8;
    padding: 50px 20px
}

.car-heading {
    font-size: 30px;
    font-weight: bold;
    color: #222;
    margin-bottom: 25px
}

.car-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 90%;
    margin: auto
}

.car-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    transition: transform .5s ease-in-out;
    justify-content: center
}

.car-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform .3s ease, box-shadow .3s ease;
    cursor: pointer;
    width: 260px;
    text-align: center
}

.car-card:hover {
    transform: scale(1.07);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2)
}

.car-card-image img {
    width: 100%;
    height: 170px;
    object-fit: fill;
    transition: transform .3s ease
}

.car-card:hover .car-card-image img {
    transform: scale(1.08)
}

.car-card-details {
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #333
}

.color-seemore {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
    color: white;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .3s ease, transform .2s ease;
    text-decoration: none
}

.color-seemore:hover {
    background: linear-gradient(135deg, #3b43c0, #7d82f3);
    transform: scale(1.05)
}

@media(max-width:768px) {
    .car-slider {
        flex-direction: column;
        align-items: center
    }

    .car-card {
        width: 100%
    }
}