.custom-homes-swiper {
    position: relative;
    overflow: visible;
}

/* Hide slides on the left side */
.custom-homes-swiper .swiper-slide {
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Show slides that are in view or on the right */
.custom-homes-swiper .swiper-slide-active,
.custom-homes-swiper .swiper-slide-next {
    opacity: 1 !important;
    transform: translateX(0);
}

/* Far right slide with reduced opacity */
.custom-homes-swiper .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-next) {
    opacity: 0.6 !important;
    transform: translateX(0);
}

.slider-navigation-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    width: 100%
}

.custom-home-slide {
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.slide-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 527/550;
}

.slide-image-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.custom-home-slide:hover .slide-image img {
    transform: scale(1.05);
}

.slide-content {
    padding-top: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.slide-title {
    margin-bottom: 0.75rem;
}

/* Progress bar styling */
.swiper-pagination-progressbar {
    background: #33363C;
    height: 4px;
    border-radius: 2px;
    flex-grow: 1;
    position: relative!important;
}

.swiper-pagination-progressbar-fill {
    background: #F0CC6A!important;
    border-radius: 2px;
}

/* Navigation arrows */
.swiper-button-next,
.swiper-button-prev {
    color: #707070;
    background: transparent;
    width: 40px;
    height: 40px;
    position: static;
    margin: 0;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    display: none;
}

/* Custom navigation arrow styling */
.custom-nav-arrow {
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-nav-arrow svg {
    width: 30px;
    height: 30px;
    transition: all 0.3s ease;
}

.custom-nav-arrow:hover svg {
    transform: scale(1.1);
}

.custom-nav-arrow:hover svg g,
.custom-nav-arrow:hover svg path {
    stroke: #F0CC6A;
} 