/* --- TRUST SECTION CONTAINER --- */
.trust-section {
    background-color: var(--white);
    padding: 100px 0;
    border-top: 1px solid #eaeaea; /* Clean separator line */
}

/* Center the header text just for this section */
.text-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* --- COUNTER GRID LAYOUT --- */
.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 equal columns on desktop */
    gap: 40px;
    margin-top: 50px;
}

/* --- INDIVIDUAL COUNTER ITEMS --- */
.counter-item {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--light-bg); /* Very soft grey box */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: transform 0.3s ease;
}

.counter-item:hover {
    transform: translateY(-5px); /* Tiny lift effect on hover */
}

/* The Animated Numbers */
.counter-value {
    font-family: var(--font-heading);
    color: var(--primary-blue);
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: baseline;
}

/* Prefixes and Suffixes (like $ and %) */
.prefix, .suffix {
    font-size: 32px; /* Slightly smaller than the main number */
    font-weight: 700;
}

.prefix {
    margin-right: 2px;
}

.suffix {
    margin-left: 2px;
}

/* The Text Below the Numbers */
.counter-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 992px) {
    .counter-grid {
        grid-template-columns: repeat(2, 1fr); /* Drops to 2 columns on tablets */
    }
}

@media (max-width: 576px) {
    .counter-grid {
        grid-template-columns: 1fr; /* Drops to 1 column on small phones */
    }
    .counter-value {
        font-size: 40px;
    }
    .prefix, .suffix {
        font-size: 28px;
    }
}