/*
 * Impact Numbers Secondary Block Styles
 * Based on the about-platform section from about.html
 * Copied exactly from EverSmith-HTML-PAGE/assets/css/styles.css
 */

/* CSS Variables */
:root {
    --smith-teal: #0097a7;
    --smith-teal-dark: #00585f;
    --smith-teal-light: #e9f7f8;
    --smith-navy: #193e6e;
    --smith-orange: #e57440;
    --smith-grey: #5b6571;
    --smith-black: #0e1625;
    --smith-white: #ffffff;
}

/* Main block container */
.impact-numbers-secondary-block {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
    padding: 100px 80px;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

/* Background image with dark overlay */
.impact-numbers-secondary-bg {
    position: absolute;
    inset: 0;
    background-color: #193e6e;
}

.impact-numbers-secondary-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: none;
    transform-origin: center center;
}

.impact-numbers-secondary-overlay {
    position: absolute;
    inset: 0;
    background: rgba(25, 62, 110, 0.8);
}

/* Header */
.impact-numbers-secondary-header {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 944px;
    text-align: center;
}

/* Stats grid with 2 rows of 3 cards each */
.impact-numbers-secondary-grid {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
    max-width: 1280px;
}

.impact-numbers-secondary-row {
    display: flex;
    gap: 32px;
    width: 100%;
}

.impact-numbers-secondary-card {
    flex: 1 0 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 40px 24px;
    min-height: 242px;
    border-radius: 8px;
    background: #f6fbfc;
    box-shadow: 0px 4px 5px -1px rgba(0, 88, 95, 0.12);
    backdrop-filter: blur(21px);
}

.impact-numbers-secondary-stat {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: 38px;
    line-height: 1.2;
    color: #0097a7;
}

.impact-numbers-secondary-desc {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--smith-grey);
}

/* ============================================================
   Responsive breakpoints
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
    .impact-numbers-secondary-block {
        padding: 64px 32px;
        gap: 40px;
    }

    .impact-numbers-secondary-row {
        flex-wrap: wrap;
    }

    .impact-numbers-secondary-card {
        flex: 1 1 calc(50% - 16px);
        min-width: 280px;
        min-height: auto;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .impact-numbers-secondary-block {
        padding: 48px 20px;
        gap: 32px;
    }

    .impact-numbers-secondary-grid,
    .impact-numbers-secondary-row {
        flex-direction: column;
        gap: 16px;
    }

    .impact-numbers-secondary-card {
        flex: 1 1 100%;
        min-width: auto;
        min-height: auto;
    }

    .impact-numbers-secondary-stat {
        font-size: 32px;
    }
}
