.brand-card {
    transition: all 0.3s ease;
    padding: 25px;
}

.brand-card:hover {
    transform: translateY(-8px);
}

.brand-image-container {
    position: relative;
    width: 180px;
    height: 140px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    transition: all 0.3s ease;
}

.brand-card:hover .brand-image-container {
    transform: scale(1.08);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    border-color: #007bff;
}

.brand-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.brand-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.15) 0%, rgba(0, 123, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.brand-card:hover .brand-overlay {
    opacity: 1;
}

.brand-title {
    font-size: 1.8rem;
    line-height: 1.4;
    transition: color 0.3s ease;
    min-height: 3.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

.brand-card:hover .brand-title {
    color: #007bff !important;
}

/* تأثيرات responsive */
@media (max-width: 768px) {
    .brand-image-container {
        width: 150px;
        height: 120px;
        padding: 20px;
    }

    .brand-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .brand-image-container {
        width: 130px;
        height: 100px;
        padding: 18px;
    }

    .brand-title {
        font-size: 1rem;
        min-height: 2.8rem;
    }
}
