.card {
    transition: background-color .5s, box-shadow .5s, transform .5s;
    color: var(--bs-primary);
}

.card:hover {
    background-color: var(--bs-primary);
    color: #fff !important;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%) !important;
    transform: scale(1.1);
}

.card:hover a {
    color: #fff !important;
}