﻿

/* --- home statistics --- */
.home-impact {
    background-color: #050a18;
    padding: 4rem 0;
    color: #ffffff;
    font-family: system-ui, -apple-system, sans-serif;
}

.home-impact .hi-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.home-impact .hi-header-group {
    text-align: center;
    margin-bottom: 3rem;
}

.home-impact .hi-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
}

.home-impact .hi-header-line {
    width: 50px;
    height: 3px;
    background-color: #e63946;
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

/* --- Grid Layout --- */
.home-impact .hi-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem; /* Reduced gap for better mobile fit */
    justify-content: center;
}

.home-impact .hi-col {
    /* Desktop: 4 columns */
    flex: 1 1 calc(25% - 1rem);
    display: flex;
    min-width: 140px; /* Lower min-width to allow 2-col on small screens */
}

/* --- Card Design --- */
.home-impact .hi-metric-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem 1rem;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

    .home-impact .hi-metric-card:hover {
        transform: translateY(-8px);
        background-color: rgba(255, 255, 255, 0.08);
        border-color: #e63946;
    }

/* --- Icons & Numbers --- */
.home-impact .hi-icon-box {
    font-size: 2.2rem;
    color: #00e5ff;
    margin-bottom: 1rem;
}

.home-impact .hi-counter-display {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.home-impact .hi-metric-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a0aec0;
    margin: 0;
    font-weight: 600;
}

/* --- Responsive Design --- */

/* Tablets and Phones (2 Columns) */
@media (max-width: 992px) {
    .home-impact .hi-col {
        flex: 1 1 calc(50% - 1rem);
    }
}

/* Small Phones Adjustments */
@media (max-width: 480px) {
    .home-impact .hi-section-title {
        font-size: 1.8rem;
    }

    .home-impact .hi-counter-display {
        font-size: 2rem; /* Shrink text slightly so it fits 2-col */
    }

    .home-impact .hi-metric-label {
        font-size: 0.65rem;
    }

    .home-impact .hi-metric-card {
        padding: 1.5rem 0.5rem;
    }
}


