.dashboard-container {
    padding: 20px;
    max-width: 1200px; /* Set a maximum width for larger screens */
    margin: 0 auto; /* Center the container */
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Set three columns for larger screens */
    gap: 20px; /* Space between cards */
}

.card {
    background-color: #c8e6c9; /* Light green background */
    border: 1px solid #a5d6a7; /* Light green border */
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: 100%; /* Ensure cards take full height of the grid cell */
    display: flex; /* Use flexbox for centering content */
    flex-direction: column; /* Stack content vertically */
    justify-content: center; /* Center content vertically */
}

.card h3 {
    margin: 0 0 10px;
}

.card p {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 10px; /* Reduce padding on smaller screens */
    }

    .cards {
        grid-template-columns: repeat(2, 1fr); /* Two columns for medium screens */
    }

    .card {
        padding: 15px; /* Reduce padding inside cards */
    }

    .card p {
        font-size: 20px; /* Adjust font size for smaller screens */
    }
}

@media (max-width: 480px) {
    .cards {
        grid-template-columns: 1fr; /* One column for small screens */
    }

    .card {
        padding: 10px; /* Further reduce padding inside cards */
    }

    .card p {
        font-size: 18px; /* Further adjust font size for smaller screens */
    }
}