.customer-trust {
    padding: 50px 0 0;
    position: relative;
}

.customer-trust .container{
    max-width: 100%;
}

.trust-badge{
    width: auto;
    height: 47px;
    border-radius: 25px;
    border: 1px solid #2FBED280;
    background: #2FBED21A;
    box-shadow: 0px 2px 4px 0px #00000040, 0px 2px 15px 0px #00000040 inset;
    padding: 0 20px;

    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;

    font-weight: 600;
    font-size: 24px;
    line-height: 1.2;
    color: var(--text-primary);
    white-space: nowrap;

    z-index: 1;
    justify-self: center;
}

.customer-trust .badge-bg-img {
    position: absolute;
    top: 0;
    left: -23%;
    width: 130%;
    height: 100%;

    object-fit: cover;

    z-index: 0;
    pointer-events: none;
}

.customer-trust .section-title {
    text-align: center;
    font-weight: 700;
    font-size: 32px;
    color: #22418C;
    margin-bottom: 60px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto 50px;
}

.trust-card {
    border-radius: 25px;
    padding: 20px;

    background: linear-gradient(180deg, #22418C 0%, #3670AC 25%, #3297BF 60.58%, #2FBED2 98.08%);

    box-shadow: 1px 2px 5px 0px #00000040, 1px 2px 5px 0px #00000040 inset;

    display: flex;
    align-items: center;
    gap: 15px;
    max-height: 140px;

    color: #FFFFFF;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.3;
}

.trust-card__icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-card__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.trust-card__text {
    flex: 1;
    color: var(--text-primary);
}

.btn.btn-primary.btn-lg {
    padding: var(--space-md) 1.75rem;
    border-radius: 5px;
    font-size: var(--font-size-xxl);
    font-weight: 600;
    color: #FFFFFF;
    border: 2px solid transparent;
    background-clip: padding-box, border-box;
    box-shadow: 2px 2px 10px 3px #ffffff33;
    background: radial-gradient(167.66% 167.66% at 50% 50%, #2FBED2 0%, #18626C 100%);
}

@media (max-width: 1200px) {
    .trust-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .trust-grid {
        display: grid;
        grid-template-columns: repeat(12, 1fr);

        grid-template-areas:
      "a a a a a a b b b b b b"
      "c c c c c d d d d d d d";
    }

    .trust-grid > :nth-child(1) { grid-area: a; }
    .trust-grid > :nth-child(2) { grid-area: b; }
    .trust-grid > :nth-child(3) { grid-area: c; }
    .trust-grid > :nth-child(4) { grid-area: d; }

    .trust-card {
        text-align: center;
        display: grid;
        grid-template-columns: 25% 1fr;
        padding: 12px 5px;
        gap: 3px;
    }

    .trust-card__icon{
        width: 100%;
        height: 100%;
        max-height: 70px;
    }
}

@media (max-width: 600px) {
    .trust-card__icon{
        max-height: 60px;
    }
}

@media (max-width: 520px) {
    .trust-card__text{
        font-size: 10px;
    }
    .trust-card__icon{
        max-height: 45px;
    }
}