.services {
    padding: 90px 0;
    background: #f5f7fa;
    color: #172033;
}

.services .container {
    display: block;
    width: min(1200px, calc(100% - 40px));
    height: auto;
    margin: 0 auto;
}

.section-heading {
    max-width: 960px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-heading span {
    display: inline-block;
    margin-bottom: 12px;
    color: #f39c12;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

.section-heading h2 {
    margin-bottom: 16px;
    color: #082544;
    font-size: 42px;
    line-height: 1.25;
}

.section-heading p {
    color: #607080;
    font-size: 17px;
    line-height: 1.8;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;

}

.service-card {
    min-width: 0;
    padding: 34px 28px;
    background: #ffffff;
    border: 1px solid #e4eaf0;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(8, 37, 68, 0.08);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(8, 37, 68, 0.16);
}

.service-icon {
    display: flex;
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    align-items: center;
    justify-content: center;
    background: #f5b82e;
    border-radius: 12px;
    font-size: 28px;
}

.service-card h3 {
    margin-bottom: 14px;
    color: #082544;
    font-size: 22px;
    line-height: 1.35;
}

.service-card p {
    margin: 0;
    color: #607080;
    font-size: 15px;
    line-height: 1.75;
}

@media (max-width: 1050px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .services {
        padding: 65px 0;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }
}