.card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 24px;
    margin-bottom: 80px;
}

.card {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-image img {
    width: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.card-heading {
    color: var(--black);
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
}

.card-subtext {
    color: var(--black);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.card-button {
    display: flex;
    padding: 8px 18px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    border-radius: 8px;
    background: var(--red);
    border: none;
    margin-top: auto;
    width: 100%;
}

.button-text {
    color: var(--white);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}

@media (max-width: 900px) {
    .card-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .card {
        width: 100%;
    }
}
