.brands-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 20px;
}
.brand-card {
    border: 1px solid #ccc;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    background: rgba(217, 217, 217, 0.00);
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25)!important;
    height: 300px;
}
.brand-card:hover {
    color: #111;
}
.brand-card img {
    width: 150px !important; /* Fixed width */
    height: 100px !important; /* Fixed height */
    object-fit: contain; /* Keeps aspect ratio without stretching */
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}
.brand-card:hover img {
    transform: scale(1.20);
}
.brand-card-title {
    color: #111;
    text-align: center;
    font-family: Corbel;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 10px;
}
.brand-card-counter {
    color: #383638;
    text-align: center;
    font-family: Corbel;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}


/* Responsive Design */
@media (max-width: 1200px) {
    .brands-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 cards per row */
        gap: 15px;
    }
    .brand-card {
        height: 280px;
    }
}

@media (max-width: 992px) {
    .brands-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
        gap: 15px;
    }
    .brand-card {
        height: 260px;
    }
    .brand-card-title {
        font-size: 20px;
    }
    .brand-card-counter {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
        gap: 10px;
    }
    .brand-card {
        height: 240px;
    }
    .brand-card-title {
        font-size: 18px;
    }
    .brand-card-counter {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .brands-grid {
        grid-template-columns: 1fr; /* 1 card per row */
        gap: 10px;
    }
    .brand-card {
        height: 220px;
    }
    .brand-card img {
        width: 120px !important;
        height: 80px !important;
    }
    .brand-card-title {
        font-size: 16px;
    }
    .brand-card-counter {
        font-size: 12px;
    }
}