/* ========================================
   EMPOWERING BUSINESSES SECTION FIX
   Final comprehensive fix - 3 equal cards in a row
   ======================================== */

/* CRITICAL: Base Grid - Always 3 columns by default */
.empowering-businesses-section .stats-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    grid-auto-flow: row !important;
}

/* Ensure container has proper width */
.empowering-businesses-section .container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
    width: 100% !important;
}

/* Stat cards - equal height, centered content, white background */
.empowering-businesses-section .stat-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 280px !important;
    background: white !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 1rem !important;
    padding: 2.5rem 2rem !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.3s ease !important;
    grid-column: span 1 !important;
}

/* Card hover effect - DISABLED */
.empowering-businesses-section .stat-card:hover {
    transform: none !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
    border-color: #e5e7eb !important;
}

/* Icon sizing and styling - NO BACKGROUND */
.empowering-businesses-section .stat-icon {
    width: 4.5rem !important;
    height: 4.5rem !important;
    background: transparent !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 1.5rem !important;
    flex-shrink: 0 !important;
}

.empowering-businesses-section .stat-icon svg {
    width: 2.5rem !important;
    height: 2.5rem !important;
    stroke: white !important;
}

/* Content container - centered */
.empowering-businesses-section .stat-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    flex: 1 !important;
}

/* Numbers - large and bold */
.empowering-businesses-section .stat-number {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin: 0 0 0.5rem 0 !important;
    text-align: center !important;
    line-height: 1.2 !important;
    font-family: 'Inter', sans-serif !important;
}

/* Labels - descriptive text */
.empowering-businesses-section .stat-label {
    font-size: 1rem !important;
    color: #6b7280 !important;
    text-align: center !important;
    margin: 0 !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
}

/* Desktop & Large Tablets: Always 3 columns on screens 900px+ */
@media (min-width: 900px) {
    .empowering-businesses-section .stats-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2rem !important;
    }
    
    .empowering-businesses-section .stat-card {
        min-height: 300px !important;
    }
}

/* Medium Tablets: 2 columns (600px - 899px) */
@media (min-width: 600px) and (max-width: 899px) {
    .empowering-businesses-section .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
    
    .empowering-businesses-section .stat-card {
        min-height: 280px !important;
    }
}

/* Mobile: 1 column (below 600px) */
@media (max-width: 599px) {
    .empowering-businesses-section .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
    
    .empowering-businesses-section .container {
        padding: 0 1rem !important;
    }
    
    .empowering-businesses-section .stat-card {
        min-height: 240px !important;
        padding: 2rem 1.5rem !important;
    }
    
    .empowering-businesses-section .stat-icon {
        width: 4rem !important;
        height: 4rem !important;
        margin-bottom: 1.25rem !important;
    }
    
    .empowering-businesses-section .stat-icon svg {
        width: 2.25rem !important;
        height: 2.25rem !important;
    }
    
    .empowering-businesses-section .stat-number {
        font-size: 2rem !important;
    }
    
    .empowering-businesses-section .stat-label {
        font-size: 0.9375rem !important;
    }
}

/* Override any conflicting styles */
.empowering-businesses-section .stats-grid * {
    box-sizing: border-box !important;
}

/* Force visibility for all cards */
.empowering-businesses-section .stat-card:nth-child(1),
.empowering-businesses-section .stat-card:nth-child(2),
.empowering-businesses-section .stat-card:nth-child(3) {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Prevent inline styles from hiding cards */
.empowering-businesses-section .stat-card[style*="display: none"],
.empowering-businesses-section .stat-card[style*="visibility: hidden"] {
    display: flex !important;
    visibility: visible !important;
}

