/* ===========================
   IMPACT STRIP — COLORED ACCENT CARDS
=========================== */
.impact-strip {
    --c1: #3C78B4;
    --c2: #00783C;
    --c3: #E85D04;
    --c4: #7B2D8B;
    --c5: #0077B6;

    background: #F0F4FA;
    padding: 80px 0;
    position: relative;
}


/* Subtle diagonal stripe pattern */
.impact-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(60, 120, 180, 0.03) 0px,
        rgba(60, 120, 180, 0.03) 1px,
        transparent 1px,
        transparent 20px
    );
    pointer-events: none;
}

/* ── Grid ── */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 1;
}

/* ── Per-item accent color assignment ── */
.impact-item:nth-child(1) { --item-color: var(--c1); }
.impact-item:nth-child(2) { --item-color: var(--c2); }
.impact-item:nth-child(3) { --item-color: var(--c3); }
.impact-item:nth-child(4) { --item-color: var(--c4); }
.impact-item:nth-child(5) { --item-color: var(--c5); }

/* ── Each card ── */
.impact-item {
    background: #F0F4FA;
    border-radius: 8px;
    padding: 32px 20px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    cursor: default;
}

/* Top accent bar */
.impact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--item-color, #3C78B4);
    border-radius: 20px 20px 0 0;
}

/* Background circle decoration — bottom-right */
.impact-item::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--item-color, #3C78B4) 8%, transparent);
    pointer-events: none;
}

.impact-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px color-mix(in srgb, var(--item-color, #3C78B4) 20%, transparent);
    border-color: color-mix(in srgb, var(--item-color, #3C78B4) 30%, transparent);
}

/* ── Icon wrapper ── */
.impact-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--item-color, #3C78B4) 12%, transparent);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.impact-item:hover .impact-icon {
    background: color-mix(in srgb, var(--item-color, #3C78B4) 20%, transparent);
}

.impact-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--item-color, #3C78B4);
    fill: none;
    stroke-width: 1.6;
    display: block;
}

/* ── Counter number ── */
.impact-number {
    font-size: 40px;
    font-weight: 800;
    color: var(--item-color, #3C78B4);
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -1.5px;
    font-family: 'Inter', sans-serif;
    display: block;
}

/* "+" suffix */
.impact-plus {
    font-size: 28px;
    font-weight: 800;
    color: var(--item-color, #3C78B4);
    font-family: 'Inter', sans-serif;
    display: inline;
    opacity: 0.75;
}

/* ── Label ── */
.impact-label {
    font-size: 12px;
    font-weight: 600;
    color: #6B7280;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.4;
    margin-top: 0;
}

/* ===========================
   RESPONSIVE — landscape
=========================== */
@media (max-width: 1024px) and (orientation: landscape) {
    .impact-strip { padding: 60px 0; }

    .impact-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
        padding: 0 20px;
    }

    .impact-item { padding: 24px 16px; }

    .impact-number { font-size: 32px; }
}

/* ===========================
   RESPONSIVE — portrait
=========================== */
@media (max-width: 1024px) and (orientation: portrait) {
    .impact-strip { padding: 48px 0; }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 16px;
    }

    .impact-item { padding: 20px 14px; }

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

    /* Odd last item spans full width */
    .impact-item:last-child:nth-child(odd) {
        grid-column: span 2;
    }
}

/* ── Staggered Fade-In Animation ── */
@keyframes impactFadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

.impact-item {
    opacity: 0;
    transform: translateY(40px);
}

.impact-item.animated {
    animation: impactFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.impact-item:nth-child(1).animated { animation-delay: 0.0s; }
.impact-item:nth-child(2).animated { animation-delay: 0.25s; }
.impact-item:nth-child(3).animated { animation-delay: 0.50s; }
.impact-item:nth-child(4).animated { animation-delay: 0.75s; }
.impact-item:nth-child(5).animated { animation-delay: 1.00s; }

impact-strip {
  padding-bottom: 50px !important;
  padding-top: 50px !important;
}