﻿
/* Grid that holds the cards */
.card-grid {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: nowrap; /* 🔥 keeps them in one row on desktop */
}

/* Each card */
.card {
    width: 180px;
    height: 180px;
    background: white;
    border-radius: 20px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: 0.2s ease;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0px 10px 20px rgba(0,0,0,0.18);
    }

    /* Icon + text */
    .card .icon {
        font-size: 48px;
        margin-bottom: 10px;
    }

    .card .label {
        font-size: 16px;
        font-weight: 600;
        text-align: center;
        color: #003366;
        padding: 0 10px;
    }

/* 🔥 Mobile responsive: stack vertically */
@media (max-width: 600px) {

    .card-grid {
        flex-wrap: wrap; /* allow them to stack */
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
        max-width: 300px;
    }
}
