/* =========================================================
   BRANDS
========================================================= */

.brands{
    padding:80px 0;
    background:#f8f9fc;
}

.brands-header{
    text-align:center;
    margin-bottom:50px;
}

.brands-header h2{
    font-size:38px;
    color:#222;
    margin-bottom:15px;
}

.brands-header p{
    max-width:750px;
    margin:auto;
    color:#666;
    line-height:1.8;
    font-size:16px;
}

/* =========================================================
   BRAND GRID
========================================================= */

.brands-wrapper{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

/* =========================================================
   BRAND CARD
========================================================= */

.brand-card{
    background:#fff;
    padding:30px 20px;
    text-align:center;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.35s;
}

.brand-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,.12);
}

.brand-card img{
    width:120px;
    height:80px;
    object-fit:contain;
    margin-bottom:20px;
    transition:.4s;
}

.brand-card:hover img{
    transform:scale(1.08);
}

.brand-card h3{
    font-size:22px;
    color:#222;
    margin-bottom:10px;
}

.brand-card p{
    color:#666;
    font-size:15px;
    line-height:1.7;
    min-height:50px;
    margin-bottom:20px;
}

.brand-card a{
    display:inline-block;
    padding:12px 28px;
    background:#0d6efd;
    color:#fff;
    text-decoration:none;
    border-radius:50px;
    font-weight:600;
    transition:.3s;
}

.brand-card a:hover{
    background:#084298;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:1200px){

    .brands-wrapper{
        grid-template-columns:repeat(3,1fr);
    }

}

@media(max-width:992px){

    .brands{
        padding:70px 0;
    }

    .brands-wrapper{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:576px){

    .brands{
        padding:60px 0;
    }

    .brands-header h2{
        font-size:30px;
    }

    .brands-header p{
        font-size:15px;
    }

    .brands-wrapper{
        grid-template-columns:1fr;
        gap:20px;
    }

    .brand-card{
        padding:25px 20px;
    }

    .brand-card img{
        width:100px;
        height:70px;
    }

    .brand-card h3{
        font-size:20px;
    }

}