/* Stats Section */
.stats-section {
    background-color: rgba(30, 30, 30, 0.7);
    border-radius: 30px;
    padding: 50px;
    margin: 30px auto;
    width: 95%;
    position: relative;
}

.stats-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
}

.stats-header p {
    font-size: 18px;
    color: #cccccc;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.stats-header p::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #8eff54;
    margin: 25px auto 0;
    border-radius: 2px;
}

.stats-header .section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: nowrap;
}

.stats-header .section-title h2 {
    font-size: 32px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
}

.stats-header .title-tag {
    background: #8eff54;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 15px;
    margin-left: 0;
    margin-right: 0;
    letter-spacing: 1px;
    display: inline-block;
}

.stats-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1140px;
    margin: 0 auto;
}

.stat-item {
    background-color: rgba(25, 25, 25, 0.8);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(142, 255, 84, 0.2);
}

.stat-item:hover {
    background-color: rgba(35, 35, 35, 0.9);
    transform: translateY(-5px); /* Increased for consistency */
    border-color: rgba(142, 255, 84, 0.5);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #8eff54;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.4;
}

/* Media Queries */
@media (max-width: 768px) {
    .stats-section {
        padding: 30px;
    }

    .stats-content {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); /* Adjusted for better fit */
        gap: 15px;
    }

    .stat-item {
        padding: 20px;
    }

    .stat-number {
        font-size: 30px;
    }

    .stat-label {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .stats-content {
        grid-template-columns: 1fr;
        gap: 12px; /* Increased for readability */
    }

    .stat-item {
        padding: 18px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 13px;
    }
}

@media (max-width: 320px) {
    .stats-section {
        padding: 20px;
    }

    .stats-content {
        gap: 10px;
    }

    .stat-item {
        padding: 15px;
    }

    .stat-number {
        font-size: 26px;
    }

    .stat-label {
        font-size: 12px;
    }
}