.card {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 1.4375rem;
    text-decoration: none;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(240.23deg, #00D1FF 1.23%, #06A2F6 53.49%, #0B84F9 85.82%);
    opacity: 0;
    transition: 0s opacity;
    z-index: 1;
}
.card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    border-radius: 1.4375rem;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: 0s opacity;
    border: 2px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.card * {
    z-index: 3;
    color: #1A2C46;
}


/* .card:hover::before, .card:hover::after, */
.solution-active .card::before, .solution-active .card::after {
    opacity: .3;
}

.solution-active .card * {
    color: #FFFFFF;
}

.card_gradient {
    background: linear-gradient(36.78deg, rgba(215, 227, 233, .4) 20.56%, rgba(241, 248, 251, .4) 94.48%);
}

.card__icon {
    position: relative;
    margin-left: auto;
    width: 6rem;
    height: 6rem;
    margin-right: 2rem;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
}

.card__icon > * {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
    height: 100%;
}

.card__text {
    font-family: 'Proxima Nova', sans-serif;
    padding-left: 1.875rem;
    padding-bottom: 1.875rem;
    padding-right: 1.875rem;
    margin-top: -3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.card__title {
    font-size: 1.25rem;
    line-height: 1.4375rem;
    color: #31445B;
    max-width: 12.5rem;
    transition: 0s color;
}

.card__subtitle {
    font-size: 1rem;
    color: #000000;
    font-weight: 400;
    margin-top: 0.75rem;
    /* max-width: 15rem; */
    transition: 0s color;
}

.card__subtitle br {
    display: none;
}

.card__subtitle b {
    font-weight: 600;
}

@media (max-width: 767px) {
    .card {
        flex-direction: row;
    }

    .card__icon {
        order: 1;
        width: 8rem;
        height: 8rem;
    }

    .card__text {
        padding-bottom: 0;
        align-self: center;
        margin-top: auto;
        margin-bottom: auto;
    }

    .card__title {
        font-size: 1.125rem;
        max-width: 8.9rem;
    }
}

@media (max-width: 550px) {
    .card__subtitle {
        max-width: 10rem;
    }

    .card__icon {
        width: 6rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 370px) {
    .card__icon {
        width: 3rem;
    }
}

/* animation on carousel change */

.active-slide-0 .card-0 *, .active-slide-1 .card-1 *,
.active-slide-2 .card-2 *, .active-slide-3 .card-3 *,
.active-slide-4 .card-4 *, .active-slide-5 .card-5 * {
    color: #FFFFFF;
}

.active-slide-0 .card-0::before, .active-slide-1 .card-1::before,
.active-slide-2 .card-2::before, .active-slide-3 .card-3::before,
.active-slide-4 .card-4::before, .active-slide-5 .card-5::before,
.active-slide-0 .card-0::after, .active-slide-1 .card-1::after,
.active-slide-2 .card-2::after, .active-slide-3 .card-3::after,
.active-slide-4 .card-4::after, .active-slide-5 .card-5::after {
    opacity: 1 !important;
}