/* ═══════════════════════════════════════════════════════════════════════════
   STATS COUNTER SECTION - Premium UI/UX 2025 (4 Columns) - Compact Design
   ═══════════════════════════════════════════════════════════════════════════ */
#statsCounter {
    background: linear-gradient(135deg, #003049 0%, #00456b 35%, #005a8c 65%, #003049 100%) !important;
    height: 105px !important;
    min-height: 105px !important;
    max-height: 105px !important;
    position: relative;
    overflow: hidden;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 20px !important;
}

#statsCounter::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 50% 80% at 20% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse 40% 60% at 80% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

#counterWrap {
    position: relative;
    z-index: 1;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(50px, 8vw, 120px) !important;
    width: 100% !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
}

#statsCounter .counterContent {
    position: relative;
    padding: 0 10px;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    flex: 0 0 auto !important;
}

#statsCounter .counterNumbers {
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif !important;
    font-size: clamp(22px, 2.8vw, 32px) !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    opacity: 1 !important;
    letter-spacing: 0.3px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
}

#statsCounter .counterNumbers .star-icon,
#statsCounter .counterNumbers .stat-icon {
    color: #ffffff !important;
    font-size: 0.85em !important;
    text-shadow: none !important;
    margin-left: 2px !important;
}

#statsCounter .counterNumbers .stat-symbol,
#statsCounter .counterNumbers .stat-plus {
    font-size: 1em !important;
    font-weight: 600 !important;
    opacity: 1 !important;
    color: #ffffff !important;
}

#statsCounter .counterDescription {
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif !important;
    font-size: clamp(14px, 1.1vw, 14px) !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    opacity: 1 !important;
    letter-spacing: 1.5px;
    line-height: 1.4;
    text-transform: uppercase;
    margin-top: 6px;
    white-space: nowrap !important;
}

/* Subtle separator between counters */
#statsCounter .counterContent:not(:last-child)::after {
    content: '';
    position: absolute;
    right: clamp(-35px, -4.5vw, -60px);
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
}

@media (max-width: 992px) {
    #statsCounter {
        height: 95px !important;
        min-height: 95px !important;
        max-height: 95px !important;
    }
    
    #counterWrap {
        gap: clamp(30px, 5vw, 60px) !important;
    }
    
    #statsCounter .counterNumbers {
        font-size: clamp(20px, 2.5vw, 26px) !important;
    }
    
    #statsCounter .counterDescription {
        font-size: 14px !important;
        letter-spacing: 1.2px;
    }
    
    #statsCounter .counterContent:not(:last-child)::after {
        right: clamp(-20px, -3vw, -30px);
        height: 35px;
    }
}

@media (max-width: 768px) {
    #statsCounter {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        padding: 20px 15px !important;
    }
    
    #counterWrap {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px 24px !important;
    }
    
    #statsCounter .counterContent:not(:last-child)::after {
        display: none;
    }
    
    #statsCounter .counterNumbers {
        font-size: 20px !important;
    }
    
    #statsCounter .counterDescription {
        font-size: 14px !important;
        letter-spacing: 1px;
        white-space: normal !important;
        margin-top: 4px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE STATS COUNTER - Premium 2x2 Grid Layout (Compact)
   4 stats in a 2x2 grid for optimal mobile display
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    /* Force full width and remove any constraints */
    #statsCounter {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        padding: 18px 12px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        left: 0 !important;
        right: 0 !important;
    }
    
    #counterWrap {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        align-items: center !important;
        justify-items: center !important;
        gap: 12px 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
    
    #statsCounter .counterContent {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 6px 4px !important;
        position: relative !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }
    
    /* Remove separator on mobile - grid handles spacing */
    #statsCounter .counterContent:not(:last-child)::after {
        display: none !important;
    }
    
    #statsCounter .counterNumbers {
        font-size: 19px !important;
        font-weight: 600 !important;
        letter-spacing: -0.2px !important;
        line-height: 1.1 !important;
        margin-bottom: 3px !important;
        color: #ffffff !important;
    }
    
    #statsCounter .counterNumbers .star-icon,
    #statsCounter .counterNumbers .stat-icon {
        font-size: 0.8em !important;
        color: #ffffff !important;
    }
    
    #statsCounter .counterDescription {
        font-size: 14px !important;
        font-weight: 500 !important;
        letter-spacing: 1.2px !important;
        text-transform: uppercase !important;
        opacity: 0.9 !important;
        line-height: 1.2 !important;
        color: rgba(255,255,255,0.85) !important;
        white-space: nowrap !important;
        margin-top: 2px !important;
    }
}

/* Tablet breakpoint - 4 items in row with compact spacing */
@media (max-width: 768px) and (min-width: 481px) {
    #statsCounter {
        width: 100% !important;
        max-width: 100% !important;
        height: 85px !important;
        min-height: 85px !important;
        max-height: 85px !important;
        padding: 0 16px !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    #counterWrap {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: clamp(20px, 4vw, 40px) !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    
    #statsCounter .counterContent {
        flex: 0 0 auto !important;
        min-width: 0 !important;
        text-align: center !important;
    }
    
    #statsCounter .counterContent:not(:last-child)::after {
        display: none !important;
    }
    
    #statsCounter .counterNumbers {
        font-size: 18px !important;
        font-weight: 600 !important;
    }
    
    #statsCounter .counterDescription {
        font-size: 14px !important;
        letter-spacing: 1px !important;
        white-space: nowrap !important;
        margin-top: 4px !important;
    }
}
        
