/* Modern Statistic Cards Custom CSS */
.stat-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 20px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

/* Accent line on top of card */
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #00c6ff);
    opacity: 0;
    transition: opacity 0.3s;
}

.stat-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: rgba(0,123,255,0.1);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card .counter {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    margin-bottom: 10px !important;
    color: #2c3e50 !important;
    display: block;
}

.stat-card .counter-title {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #7f8c8d !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-card i {
    font-size: 2.2rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #007bff 0%, #6610f2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s;
}

.stat-card:hover i {
    transform: scale(1.2) rotate(5deg);
}
