/* ===========================================
   Brands Parallax Section
=========================================== */

.me-brands-section{
    position: relative;
    margin: 90px calc(50% - 50vw) 0;
    padding: 120px 0;
    overflow: hidden;

    background-image:
        linear-gradient(rgba(8,25,45,.82), rgba(8,25,45,.82)),
        url("../images/bg-melektro.png");

    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* dodatni efekat */

.me-brands-section::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at top right,
        rgba(255,120,0,.18),
        transparent 35%);
    pointer-events:none;
}

/* unutrašnji sadržaj */

.me-brands-section > *{
    position:relative;
    z-index:2;
}

.me-brands-section .me-section-title{
    text-align:center;
    color:#fff;
    font-size:46px;
    font-weight:900;
    margin:0 0 18px;
    letter-spacing:-1px;
}

.me-brands-section .me-section-title:after{
    content:"";
    display:block;
    width:90px;
    height:4px;
    background:#d12427;
    margin:18px auto 0;
    border-radius:30px;
}

/* bela kartica */

.me-brands{
    max-width:1400px;
    margin:60px auto 0;
    padding:45px;
    background:#fff;
    border-radius:26px;
    box-shadow:
        0 35px 70px rgba(0,0,0,.25);
}

/* responsive */

@media(max-width:992px){

    .me-brands-section{

        margin:60px calc(50% - 50vw);

        padding:80px 20px;

        background-attachment:scroll;

    }

    .me-brands{

        margin-top:35px;

        padding:25px;

    }

    .me-brands-section .me-section-title{

        font-size:34px;

    }

}

.me-brands{
    margin:70px auto;
}

.me-section-head{
    text-align:center;
    margin-bottom:40px;
}

.me-section-head h2{
    margin:0 0 12px;
    font-size:34px;
    font-weight:900;
    color:#163252;
}

.me-section-head p{
    max-width:700px;
    margin:0 auto;
    color:#66788c;
    font-size:16px;
}

.me-brand-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
    gap:24px;
}

.me-brand-card{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:18px;
    min-height:220px;
    padding:30px 20px;
    background:#fff;
    border:1px solid #e4ebf3;
    border-radius:18px;
    text-decoration:none;
    transition:.25s;
    box-shadow:0 8px 22px rgba(0,0,0,.05);
}

.me-brand-card:hover{
    transform:translateY(-6px);
    border-color:#0b63b6;
    box-shadow:0 20px 45px rgba(11,99,182,.15);
}

.me-brand-card img{
    max-width:150px;
    max-height:75px;
    width:auto;
    height:auto;
    object-fit:contain;
    filter:grayscale(100%);
    transition:.3s;
}

.me-brand-card:hover img{
    filter:none;
    transform:scale(1.05);
}

.me-brand-card h4{
    margin:0;
    color:#1d2b3a;
    font-size:15px;
    font-weight:800;
    text-align:center;
    line-height:1.35;
}