.brands-section {
    background: #F6F8FB;
    padding-bottom: 65px;
    padding-top: 50px;
}

.brands-section .brands-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.brands-section .brands-container img {
    width: 100%;
    max-width: 185px;
}

.brands-section h4 {
    font-weight: 700;
    font-size: 30px;
    line-height: 37px;
    letter-spacing: 0.02em;
    color: #000000;
    width: 100%;
    display: block;
    text-align: center;
    margin-bottom: 29px;
}

@media only screen and (max-width: 1024px) {
    .brands-section .brands-container {
        max-width: 85%;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 768px) {
    .brands-section {
        background: none;
    }

    .brands-section h4 {
        position: relative;
        width: 60%;
        margin: 0 auto;
        margin-bottom: 70px;
    }

    .brands-section h4::after {
        content: "";
        position: absolute;
        width: 230px;
        height: 3px;
        background: #EE3235;
        bottom: -14px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1;
    }

    .brands-section .brands-container {
        flex-wrap: wrap;
        width: 90%;
        max-width: 100%;
        margin: 0 auto;
        justify-content: space-around;
        gap: 10px;
    }

    .brands-section .brands-container img {
        max-width: 150px;
    }

}