﻿.stats-section {
    padding: 80px 20px;
    background: #f5f7fa;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #222;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* General Card Style */
.stat-card {
    border-radius: 20px;
    padding: 40px 25px;
    color: #fff;
    transition: all 0.4s ease-in-out;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

    .stat-card.animated {
        opacity: 1;
        transform: translateY(0);
    }

    .stat-card:hover {
        transform: translateY(-10px) scale(1.05);
        box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    }

.stat-icon {
    margin-bottom: 20px;
}

    .stat-icon img {
        width: 300px;
        height: 150px;
        object-fit: contain;
        transition: transform 0.3s ease;
    }

.stat-card:hover .stat-icon img {
    transform: rotate(10deg) scale(1.2);
}

.stat-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.stat-card p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Theme Colors */
.green-theme {
    background: linear-gradient(135deg, #43a047, #66bb6a);
}

    .green-theme:hover {
        background: linear-gradient(135deg, #2e7d32, #4caf50);
    }

.blue-theme {
    background: linear-gradient(135deg, #1e88e5, #42a5f5);
}

    .blue-theme:hover {
        background: linear-gradient(135deg, #1565c0, #2196f3);
    }

.orange-theme {
    background: linear-gradient(135deg, #fb8c00, #ffb74d);
}

    .orange-theme:hover {
        background: linear-gradient(135deg, #ef6c00, #ffa726);
    }
