/* ========================================================
   SLIDE-UP PREMIUM OVERLAY CARDS SECTION
   ======================================================== */

.brands-section {
    padding: 80px 0; /* Desktop Padding: 80px */
}

/* Badge styling */
.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #F8F9FA;
    padding: 6px 18px;
    border-radius: 50px;
    border: 1px solid #E2E8F0;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: #ed2227;
    border-radius: 50%;
}

.badge-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #111111;
}

.text-red {
    color: #ed2227 !important;
}

/* Card Container */
.brand-card-container {
    position: relative;
    height: 480px;
    border-radius: 16px;
    overflow: hidden;
    background-color: #111111;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.brand-card-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(237, 34, 39, 0.2);
}

/* Background Image with Zoom Effect */
.brand-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.6s ease;
    filter: brightness(0.85);
}

.brand-card-container:hover .brand-card-img {
    transform: scale(1.08);
    filter: brightness(0.35);
}

/* Base Gradient Overlay */
.brand-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(17, 17, 17, 0.95) 100%);
    z-index: 1;
}

/* Content Area */
.brand-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 35px 30px;
    z-index: 2;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.brand-category-badge {
    background: #ed2227;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 12px;
}

.brand-title {
    font-size: 34px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.brand-tagline {
    font-size: 14px;
    color: #DDDDDD;
    line-height: 1.6;
    margin-bottom: 0;
    transition: opacity 0.3s ease;
}

/* Detailed Services Revealed on Hover */
.brand-hover-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease 0.1s, margin-top 0.4s ease;
}

.brand-card-container:hover .brand-hover-details {
    max-height: 250px;
    opacity: 1;
    margin-top: 20px;
}

.brand-service-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.brand-service-list li {
    font-size: 13.5px;
    color: #EEEEEE;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.btn-card-action {
    background: linear-gradient(135deg, #ed2227 0%, #990B0F 100%);
    color: #FFFFFF !important;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-card-action:hover {
    box-shadow: 0 8px 20px rgba(237, 34, 39, 0.5);
    transform: translateY(-2px);
}

/* ========================================================
   MOBILE RESPONSIVE ADJUSTMENTS (PADDING 30px)
   ======================================================== */

@media (max-width: 767.98px) {
    .brands-section {
        padding: 30px 0 !important; /* Mobile Padding: 30px */
    }

    .brand-card-container {
        height: 420px;
    }

    .brand-card-content {
        padding: 25px 20px;
    }

    .brand-title {
        font-size: 28px;
    }
}