.brand-showcase-fullwidth-wrapper-3ddf2e22 {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.brand-showcase-grid-3ddf2e22 {
    display: grid;
    grid-template-columns: repeat(var(--grid-cols, 3), 1fr);
    gap: 24px;
    width: 100%;
}

.brand-showcase-slider-wrapper-3ddf2e22 {
    position: relative;
    width: 100%;
    /* Ensure arrows don't cause overflow on mobile */
    max-width: 100%;
}

/* Fix elementor cutting off slider content */
.elementor-widget-brand_showcase_3ddf2e22 {
    overflow: visible;
}

/* Update swiper container styles */
.brand-showcase-slider-wrapper-3ddf2e22 .swiper-container {
    padding-bottom: 20px; /* Space for shadow */
    padding-top: 10px;
    margin-bottom: -20px;
    margin-top: -10px;
    width: 100%;
    /* Override Swiper's default overflow to visible so shadows show */
    overflow: visible; 
    clip-path: inset(-20px -20px -30px -20px); /* Keep shadow but hide excessive overflow */
}


.brand-card-3ddf2e22 {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: box-shadow 0.4s ease;
    cursor: pointer;
    /* Ensure no margin/padding interference within swiper */
    margin-bottom: 5px; 
}

.brand-card-3ddf2e22:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.bc-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

.brand-card-3ddf2e22:hover .bc-bg {
    transform: scale(1.08);
}

.bc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
    z-index: 2;
    transition: background 0.4s ease;
}

.bc-content {
    position: relative;
    z-index: 3;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bc-logo-wrap {
    display: flex;
    margin-bottom: auto; /* Pushes content below to the bottom */
}
.bc-logo-wrap.empty-logo-wrap {
    flex-grow: 1;
}

.bc-logo {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}

.bc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    margin-top: auto;
}

.bc-heading {
    margin: 0;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
}

.bc-badge {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

.bc-badge-top {
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 4;
}

/* Wrap the reveal area to prevent cutting off */
.bc-hover-reveal-wrap {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bc-hover-reveal {
    max-height: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
}

.brand-card-3ddf2e22:hover .bc-hover-reveal {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 5px;
}

.bc-description {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 15px 0;
}

.bc-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.bc-tag {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bc-button {
    display: block;
    width: 100%;
    background: #fff;
    color: #000;
    text-align: center;
    padding: 14px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s ease, color 0.3s ease;
}

.bc-button:hover {
    background: #f0f0f0;
    color: #000;
}

/* Swiper Navigation */
.bc-swiper-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: #fff;
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}
.bc-swiper-button:hover {
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
    background-color: #f5f5f5;
}
.bc-swiper-button-prev {
    left: -20px;
}
.bc-swiper-button-next {
    right: -20px;
}
.bc-swiper-button.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


@media (max-width: 767px) {
    .brand-showcase-grid-3ddf2e22 {
        grid-template-columns: 1fr;
    }
    .bc-swiper-button-prev { left: 10px; }
    .bc-swiper-button-next { right: 10px; }
}