.card-container {
    display: flex;
    /* flex-wrap: wrap; */
    width: 100%;
    align-items: center;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: center; /* Adjusts spacing between cards */
     /* Adjusts spacing around the container */
}

.card {
    /* background-color: black !important; */
    /* flex: 1 1 calc(33.333% - 20px); 3 cards per row, with space between */
    margin: 10px; /* Margin around each card */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    background: #fff; /* Card background color */
    display: flex;
    flex-direction: column;
    width: 30%;
}

.card-image {
    width: 100%;
    height: 250px !important; /* Ensures image is responsive */
}

.card-body {
    padding: 10px; /* Adds some padding in the card body */
}

.card-button {
    margin-top: auto; /* Pushes the button to the bottom of the card */
    padding: 10px;
    background-color: #007BFF; /* Example button color */
    color: white;
    border: none;
    cursor: pointer;
    text-align: center; /* Center-align text in the button */
}

.card-button a {
    text-decoration: none;
    color: white;
}

@media (max-width: 768px) {
    .card {
        flex: 1 1 calc(50% - 20px); /* 2 cards per row on smaller screens */
    }
}

@media (max-width: 480px) {
    .card {
        flex: 1 1 100%; /* 1 card per row on very small screens */
    }
}
