.box-confiance {
    width: 100%;
    background-image: url("../images/step-background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps-sub-title {
    display: inline-block;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 21px;
    color: #d02129;
    text-align: center;
    margin-bottom: 20px;
}

.steps-main-title {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 50px;
    text-align: center;
    color: #444444;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.steps-main-title .brand {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 50px;
    color: var(--bs-neutral-main);
}

.steps-layout {
    max-width: 1320px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.steps-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* Stretch items to have equal height */
    position: relative;
}

.step-item {
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-image {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0; /* Keep image size stable */
}

.step-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.step-text {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 25px;
    color: #444444;
    text-align: center;
    margin: 0;
    flex-shrink: 0;
}

.step-description {
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
    color: #737373;
    margin-top: 10px;
    padding: 5px;
    flex-grow: 1; /* Take up extra space to push number down */
}

.steps-container::after {
    content: "";
    position: absolute;
    bottom: 20px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #27368b;
    z-index: 1;
    transform: translateY(50%);
}

.step-number {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    background: #27368b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 32px;
    color: #f1f7ff;
    position: relative;
    z-index: 2;
    flex-shrink: 0; /* Keep circle round */
}

/* Logo Grid Styles */
.logo-grid {
    width: 100%;
    padding: 0 150px;
}

@media (min-width: 1400px) {
    .logo-grid {
        padding: 0 100px;
    }
}

.logo-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-item {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.logo-item img {
    max-width: 280px;
    max-height: 110px;
    object-fit: contain;
}

@media (max-width: 991px) {
    .logo-grid {
        padding: 0 20px;
    }
    .logo-wrapper {
        gap: 30px;
    }
    .logo-item {
        height: 120px;
    }
    .logo-item img {
        max-width: 200px;
        max-height: 90px;
    }
}

@media (max-width: 575px) {
    .logo-wrapper {
        gap: 20px;
    }
    .logo-item {
        height: 100px;
    }
    .logo-item img {
        max-width: 150px;
        max-height: 70px;
    }
}
