.budi-scroll-sync-showcase__wrapper {
    background: #fff;
}

.budi-scroll-sync-showcase__image-container {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.budi-scroll-sync-showcase__image-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
    transform: translateY(20px);
}

.budi-scroll-sync-showcase__image-item.budi-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.budi-scroll-sync-showcase__image {
    width: 100%;
    max-width: 530px;
    height: auto;
}

.budi-scroll-sync-showcase__slide-content {
    gap: 20px;
    position: relative;
}

.budi-scroll-sync-showcase__slide-content::after {
    content: '';
    position: absolute;
    top: 80px;
    left: 40px;
    width: 2px;
    height: 100%;
    background-color: #F5F5F5;
    z-index: 1;
}

.budi-scroll-sync-showcase__icon {
    position: relative;
    z-index: 2;
}

.budi-scroll-sync-showcase__icon-inner {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    background-color: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.budi-scroll-sync-showcase__icon::before {
    content: '';
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    background-color: #fff;
    position: absolute;
    top: -10px;
    left: -10px;
    z-index: 1;
}

.budi-scroll-sync-showcase__icon img {
    position: relative;
    z-index: 2;
}

.budi-scroll-sync-showcase__slide:last-child .budi-scroll-sync-showcase__icon::after {
    display: none;
}

.budi-scroll-sync-showcase__icon-img {
    height: auto;
}

.budi-scroll-sync-showcase__slide-content-inner {
    flex: 1;
}

.budi-scroll-sync-showcase__title {
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.budi-scroll-sync-showcase__button {
    margin-top: 20px;
}

.budi-scroll-sync-showcase__button .btn {
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.budi-scroll-sync-showcase__slider-container {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.budi-scroll-sync-showcase__slider {
    height: 100%;
}

.budi-scroll-sync-showcase__slide.swiper-slide-active .budi-scroll-sync-showcase__title {
    color: var(--color-sub);
}

/* Mobile Static Content */
.budi-scroll-sync-showcase__mobile-content {
    padding: 0;
}

.budi-scroll-sync-showcase__mobile-item {
    padding-bottom: 40px;
}

.budi-scroll-sync-showcase__mobile-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.budi-scroll-sync-showcase__mobile-item .budi-scroll-sync-showcase__slide-image {
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 991px) {

    .budi-scroll-sync-showcase__image-container {
        min-height: 400px;
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {

    .budi-scroll-sync-showcase__slider-container {
        height: 700px;
    }

    .budi-scroll-sync-showcase__image-container {
        min-height: 300px;
        margin-bottom: 30px;
    }

    .budi-scroll-sync-showcase__description {
        margin-bottom: 23px;
    }

    .budi-scroll-sync-showcase__image {
        width: 110%;
        margin-left: -10%;
    }

    .budi-scroll-sync-showcase__slider-container::after {
        content: '';
        position: absolute;
        bottom: -20px;
        left: 0;
        right: 0;
        margin: 0 auto;
        width: 100%;
        height: 250px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0) -27.39%, #FFFFFF 72.41%);
        z-index: 1;
    }

    .budi-scroll-sync-showcase__icon-inner{
        width: 60px;
        height: 60px;
    }

    .budi-scroll-sync-showcase__icon img{
        width: 25px;
    }

    .budi-scroll-sync-showcase__slide-content::after{
        top: 60px;
        left: 30px;
    }

    /* Mobile specific adjustments */

    .budi-scroll-sync-showcase__mobile-item .budi-scroll-sync-showcase__slide-image {
        margin-top: 25px;
    }
}

/* Animation for image transitions */
.budi-scroll-sync-showcase__image-item {
    transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s ease;
}

.budi-scroll-sync-showcase__image-item.budi-active {
    transition-delay: 0.1s;
}

/* Custom scrollbar for the slider */
.budi-scroll-sync-showcase__slider .swiper-scrollbar {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.budi-scroll-sync-showcase__slider .swiper-scrollbar-drag {
    background: #007bff;
    border-radius: 10px;
}