/* stats_styles.css */



.stat-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    width: 280px; /* Fixed width for consistency */
    min-width: 250px;
    opacity: 0; /* Initially hidden for fade-in effect */
    transform: translateY(20px); /* Slightly move down for slide-up effect */
    animation: fadeInSlideUp 0.8s ease-out forwards; /* Apply animation */
}

/* Delay animation for each card for a staggered effect */
.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.3s; }
.stat-card:nth-child(3) { animation-delay: 0.5s; }


.stat-card h3 {
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3em;
    font-weight: 600;
}

.stat-card .number {
    font-size: 3em;
    font-weight: 700;
    color: #28a745; /* Green color for the numbers */
    margin-bottom: 0;
    display: block; /* Ensure it takes full width for text-align */
}

/* Keyframes for the fade-in and slide-up animation */
@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Optional: Hover effect for a subtle interaction */
.stat-card:hover {
    transform: translateY(-5px); /* Lift slightly on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); /* More pronounced shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}