.sp-mb-30 {
    margin-bottom: 30px;
}

.zi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; /* adjust spacing as desired */
}

 @media (max-width: 600px) {
        .zi-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr)!important;
        gap: 20px; /* adjust spacing as desired */
    }
}


/* Ensure cards and images scale properly */
.zi-industry-card {
    width: 100%;
    min-width: 0; /* prevent overflow from long words */
}

.zi-card-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Optional: keep the impact bar items in a row */
.zi-impact-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: nowrap;
}

.zi-impact-divider {
    /* adjust if needed */
}


 .zi-industry-card {
        background: white;
        border-radius: 2rem;
        overflow: hidden;
        box-shadow: 0 20px 40px -20px rgba(23,71,158,0.3);
        transition: all 0.4s cubic-bezier(0.2, 0, 0, 1);
        border: 1px solid rgba(23,71,158,0.1);
        animation: zi-card-float 6s infinite ease-in-out;
    }

    .zi-industry-card:nth-child(1) { animation-delay: 0s; }
    .zi-industry-card:nth-child(2) { animation-delay: 0.15s; }
    .zi-industry-card:nth-child(3) { animation-delay: 0.3s; }
    .zi-industry-card:nth-child(4) { animation-delay: 0.45s; }

    @keyframes zi-card-float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-8px); }
    }

    .zi-industry-card:hover {
        transform: translateY(-12px) scale(1.02);
        border-color: rgba(225,27,34,0.3);
        box-shadow: 0 30px 60px -20px rgba(225,27,34,0.25);
        animation-play-state: paused;
    }

    .zi-card-image {
        position: relative;
        height: 240px;
        overflow: hidden;
    }

    .zi-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

    .zi-industry-card:hover .zi-card-image img {
        transform: scale(1.1);
    }

    .zi-image-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 100%);
        z-index: 2;
    }

    .zi-image-badge {
        position: absolute;
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, #17479e, #e11b22);
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.5rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        z-index: 5;
        animation: zi-badge-pulse 2s infinite;
    }

    @keyframes zi-badge-pulse {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.1); }
    }

    .zi-card-content {
        padding: 2rem 1.8rem;
    }

    .zi-industry-title {
        font-size: 18px;
        font-weight: 700;
        color: #0b1a33;
        margin-bottom: 0.8rem;
        line-height: 1.3;
        background: linear-gradient(135deg, #0b1a33, #17479e);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .zi-industry-desc {
        font-size: 0.95rem;
        color: #4a5b72;
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }

    .zi-industry-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .zi-industry-tags span {
        background: rgba(23,71,158,0.05);
        padding: 0.3rem 1rem;
        border-radius: 30px;
        font-size: 0.8rem;
        font-weight: 500;
        color: #17479e;
        border: 1px solid rgba(23,71,158,0.15);
        transition: all 0.3s ease;
    }

    .zi-industry-card:hover .zi-industry-tags span {
        background: rgba(225,27,34,0.05);
        border-color: rgba(225,27,34,0.2);
        color: #e11b22;
    }

    .zi-card-link {
        display: inline-flex;
        align-items: center;
        gap: 0.6rem;
        color: #17479e;
        font-weight: 600;
        font-size: 0.95rem;
        text-decoration: none;
        transition: all 0.3s ease;
        border-bottom: 2px solid transparent;
        padding-bottom: 0.2rem;
    }

    .zi-card-link i {
        transition: transform 0.3s ease;
    }

    .zi-industry-card:hover .zi-card-link {
        color: #e11b22;
        border-bottom-color: #e11b22;
    }

    .zi-industry-card:hover .zi-card-link i {
        transform: translateX(5px);
    }

    /* ----- IMPACT BAR ----- */
    .zi-impact-bar {
        display: flex;
        align-items: center;
        justify-content: space-around;
        background: white;
        border-radius: 60px;
        padding: 2rem 3rem;
        margin: 4rem 0;
        border: 1px solid rgba(23,71,158,0.15);
        box-shadow: 0 20px 40px -20px rgba(23,71,158,0.3);
        position: relative;
        z-index: 25;
        backdrop-filter: blur(10px);
        background: rgba(255,255,255,0.9);
    }

    .zi-impact-item {
        text-align: center;
    }

    .zi-impact-number {
        font-size: 2.5rem;
        font-weight: 800;
        background: linear-gradient(135deg, #17479e, #e11b22);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        line-height: 1.2;
        animation: zi-number-pulse 2s infinite;
    }

    @keyframes zi-number-pulse {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.05); }
    }

    .zi-impact-label {
        font-size: 0.95rem;
        color: #4a5b72;
        font-weight: 500;
    }

      .zi-impact-divider {
        width: 2px;
        height: 40px;
        background: linear-gradient(180deg, transparent, #e11b22, #17479e, transparent);
    }
