/**
 * Stats Section Styles
 * A responsive stats counter section with animated effects
 */

/* === Main Container === */
.stats-section {
    background-color: #333F48 !important;
    border-radius: 0 !important;
}

@media (min-width: 768px) {
    .stats-section {
        border-radius: 9999px !important;
    }
}

/* === Stats Card === */
.stats-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
}

/* === Stats Icon === */
.stats-icon {
    margin-bottom: 1rem;
}

.stats-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* === Stats Number === */
.stats-number {
    color: #ffffff !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

/* === Stats Label === */
.stats-label {
    color: #9CA3AF !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    margin: 0;
    line-height: 1.4;
}

/* === Responsive Adjustments === */
@media (max-width: 767px) {
    .stats-section {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    .stats-card {
        padding: 1.5rem 1rem;
    }
    
    .stats-number {
        font-size: 2rem !important;
    }
    
    .stats-label {
        font-size: 1rem !important;
    }
}

/* === Block Editor Styles === */
.block-editor-block-list__layout .stats-section {
    background-color: #333F48 !important;
}

.block-editor-block-list__layout .stats-card {
    align-items: center;
}

.block-editor-block-list__layout .stats-icon img {
    filter: brightness(0) invert(1);
}

.block-editor-block-list__layout .stats-number {
    color: #ffffff !important;
}

.block-editor-block-list__layout .stats-label {
    color: #9CA3AF !important;
}
