.brands-section {
    padding: 60px 0;
}

.brands-main-title {
    font-size: 3rem;
    font-weight: 700;
    color: #272154;
    text-align: center;
    margin: 70px 0px;
}

.brands-section .row {
    row-gap: 40px;
}

.brands-section [class*="col-"] {
    display: flex;
}

.brands-card {
    width: 75%;
    height: 200px;
    margin: 0 auto;

    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;
    text-decoration: none;
    overflow: hidden;

    line-height: 0;
    box-sizing: border-box;

    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.brands-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.brands-card-logo {
    display: block;
    margin: 0 auto;

    max-width: 70%;
    max-height: 150px;
    width: auto;
    height: auto;

    object-fit: contain;
    object-position: center;

    transition: transform 0.4s ease;
}

.brands-card:hover .brands-card-logo {
    transform: scale(1.08);
}

@media (max-width: 768px) {
    .brands-card {
        height: 220px;
        padding: 25px;
    }

    .brands-card-logo {
        max-height: 110px;
    }
}