/* ===================================
   Home Stats Section Styles
   ================================== */

/* Stats Section Container */
.stats-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #183544 0%, #e1c126 50%, #183544 100%);
}

/* Stats Title */
.stats-section h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #183544;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 3rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Stat Card */
.stat-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-top: 5px solid #e1c126;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(225, 193, 38, 0.1), transparent);
    transition: left 0.6s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(24, 53, 68, 0.15);
    border-top-color: #183544;
}

/* Stat Number */
.stat-number {
    font-family: 'Raleway', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: #183544;
    margin-bottom: 0.75rem;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.stat-card:hover .stat-number {
    color: #e1c126;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/* Stat Label */
.stat-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #54565a;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

/* Stat Icon (optional - for future enhancement) */
.stat-icon {
    font-size: 2.5rem;
    color: #e1c126;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.stat-card:hover .stat-icon {
    opacity: 1;
    transform: rotateY(360deg);
    transition: all 0.6s ease;
}

/* Responsive Design */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stats-section h2 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .stats-section {
        padding: 3rem 0;
    }
    
    .stats-section h2 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .stat-card {
        padding: 2rem 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2.25rem;
    }
}

/* Animation on scroll (optional - requires JS) */
.stat-card.animate-in {
    animation: statCardFadeIn 0.6s ease-out forwards;
}

@keyframes statCardFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for cards */
.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }
