.swiper-slide {
    width: min-content !important;
    flex-shrink: 0; /* Prevent shrinking */
    transition: transform 0.3s ease;
    opacity: 0.8; /* Slightly dim non-active slides */
}

.swiper-slide-active {
    opacity: 1; /* Full opacity for active slides */
}




.swiper-button-prev,
.swiper-button-next {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-pagination {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    height: 4px;
}

.swiper-button-prev:disabled,
.swiper-button-next:disabled {
    display: none;
}
.cards.swiper {
    position: relative;
}


/* .swiper-button-next,
.swiper-button-prev {
    position: absolute !important;
    top: -80px  !important; /* Move buttons above the slider */
    right: 20px  !important; /* Align buttons to the right */
    z-index: 10  !important; /* Ensure buttons are on top */
    background-color: #d38c37  !important; /* Optional: Add background color for visibility */
    color: #fff; /* Optional: Change text/icon color */
    padding: 10px 15px; /* Optional: Add padding for better clickability */
    border-radius: 4px; /* Optional: Add rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add a shadow */
} */

.swiper-button-prev {
    margin-right: 50px; /* Adjust spacing between Prev and Next buttons */
}

@media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        top: -60px; /* Adjust top position for smaller screens */
        right: 10px; /* Adjust right position */
    }
}

