/* Stats Section */
#stats {
    background: linear-gradient(135deg, var(--background-color) 0%, var(--secondary-color) 100%);
}

#stats h3 {
    color: var(--text-color) !important;
    margin-bottom: 2rem;
}

.stats-item {
    background: var(--secondary-color);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid color-mix(in srgb, var(--primary-color) 10%, transparent);
}

.stats-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.stats-icon {
    transition: transform 0.3s ease;
    /* Make emojis more visible in light mode */
    filter: contrast(1.3) brightness(0.85) saturate(1.2);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Font Awesome icons in stats get Azure blue color */
/* Target both regular icons and SVG replacements */
.stats-icon i,
.stats-icon i.fas,
.stats-icon i.fa-cloud,
.stats-icon svg {
    color: #0078D4 !important;
    fill: #0078D4 !important;
    filter: none !important;
    text-shadow: none;
}

/* Target SVG paths specifically */
.stats-icon svg path {
    fill: #0078D4 !important;
}

/* Dark mode adjustments for icons */
[data-theme="dark"] .stats-icon {
    filter: contrast(1.1) brightness(1.1) saturate(1);
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .stats-icon i,
[data-theme="dark"] .stats-icon i.fas,
[data-theme="dark"] .stats-icon i.fa-cloud,
[data-theme="dark"] .stats-icon svg {
    color: #0078D4 !important;
    fill: #0078D4 !important;
    filter: none !important;
}

[data-theme="dark"] .stats-icon svg path {
    fill: #0078D4 !important;
}

.stats-item:hover .stats-icon {
    transform: scale(1.1);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.stats-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary-color) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stats-number {
        font-size: 2rem;
    }
    
    .stats-label {
        font-size: 1rem;
    }
    
    .stats-item {
        margin-bottom: 1rem;
    }
}
