/* All Industries page */
.all-industries-page {
    padding: 64px 0 76px;
    background: #f7f9fc;
}

.industries-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.industries-heading {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.industries-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #1769aa;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.industries-heading h1 {
    margin: 0 0 13px;
    color: #172b45;
    font-size: clamp(30px, 4vw, 43px);
    line-height: 1.15;
    font-weight: 750;
}

.industries-heading h1 span {
    color: #1674bd;
}

.industries-heading p {
    max-width: 690px;
    margin: 0 auto;
    color: #64748b;
    font-size: 15px;
    line-height: 1.75;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.industry-card {
    min-height: 205px;
    display: flex;
    flex-direction: column;
    padding: 21px 20px 18px;
    background: #fff;
    border: 1px solid #e5ebf2;
    border-radius: 13px;
    box-shadow: 0 5px 18px rgba(24, 48, 78, .045);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.industry-card:hover {
    transform: translateY(-4px);
    border-color: #b8d8f1;
    box-shadow: 0 12px 26px rgba(24, 83, 130, .10);
}

.industry-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.industry-number {
    color: #8b9bad;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.industry-mark {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    color: #1674bd;
    background: #edf6fd;
    border-radius: 8px;
}

.industry-mark svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.industry-card h2 {
    margin: 0 0 8px;
    color: #1d3048;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
}

.industry-card p {
    margin: 0 0 17px;
    color: #68788c;
    font-size: 13px;
    line-height: 1.6;
}

.industry-view-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: auto;
    color: #126eaf;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.industry-view-link span {
    font-size: 17px;
    line-height: 1;
    transition: transform .2s ease;
}

.industry-card:hover .industry-view-link span {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .industries-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .all-industries-page {
        padding: 44px 0 54px;
    }

    .industries-container {
        width: min(100% - 28px, 600px);
    }

    .industries-heading {
        margin-bottom: 27px;
    }

    .industries-heading p {
        font-size: 14px;
    }

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

    .industry-card {
        min-height: 205px;
        padding: 16px 14px 15px;
        border-radius: 11px;
    }

    .industry-card-top {
        margin-bottom: 13px;
    }

    .industry-card h2 {
        font-size: 15px;
    }

    .industry-card p {
        font-size: 12px;
        line-height: 1.5;
    }

    .industry-view-link {
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .industries-grid {
        grid-template-columns: 1fr;
    }

    .industry-card {
        min-height: 0;
    }
}
