/* ============================================
   ANIMATED STATISTICS SECTION
   ============================================ */

/* Stats Section Animation */
.stats-section {
    position: relative;
    overflow: hidden;
}

/* Stat Item Animation */
.stat-item {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-item.animated {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Staggered animation delay */
.stat-item:nth-child(1) {
    transition-delay: 0.1s;
}

.stat-item:nth-child(2) {
    transition-delay: 0.2s;
}

.stat-item:nth-child(3) {
    transition-delay: 0.3s;
}

.stat-item:nth-child(4) {
    transition-delay: 0.4s;
}

/* Stat Number Pulse Animation */
.stat-number {
    position: relative;
    display: inline-block;
}

.stat-number.counting {
    animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
        color: var(--luxury-champagne-gold, #d4af37);
    }
}

/* Hover Effect on Stat Items */
.stat-item:hover {
    transform: translateY(-5px) scale(1.05);
}

.stat-item:hover .stat-number {
    color: var(--luxury-champagne-gold, #d4af37);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* Glowing border effect on hover */
.stat-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
    pointer-events: none;
    z-index: -1;
}

.stat-item:hover::before {
    transform: translate(-50%, -50%) scale(1.5);
}