/* ===================== Cards ===================== */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 220px));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
    align-items: center;
}

.card-md {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    align-content: flex-start;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-md:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.card-md a {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-md img,
.card-md .carousel-inner,
.card-md .carousel-item {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.card-md-body {
    padding: 10px 15px;
    text-align: center;
}

.card-md-body h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-blue);
}
