/* Swiper Slider Customizations */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 6px;
    background-color: var(--primary-color);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 20; /* Ensure buttons are above gradients */
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

/* Specific styling for Experiences Slider */
.experiences-slider .swiper-slide {
    height: auto;
    padding-bottom: 20px; /* Space for shadow */
}

/* Ensure cards inside slider have consistent height */
.experiences-slider .card {
    height: 100%;
}

/* Gradient Overlays on Sides */
.experiences-slider:before,
.experiences-slider:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px; /* Adjust width as needed */
    z-index: 10;
    pointer-events: none; /* Allow clicks through gradients */
}

.experiences-slider:before {
    left: 0;
    background: linear-gradient(to right, rgba(17,17,17,1) 0%, rgba(17,17,17,0) 100%);
}

.experiences-slider:after {
    right: 0;
    background: linear-gradient(to left, rgba(17,17,17,1) 0%, rgba(17,17,17,0) 100%);
}

/* Responsive adjustments for gradients */
@media (max-width: 768px) {
    .experiences-slider:before,
    .experiences-slider:after {
        width: 60px; /* Smaller gradient on mobile */
    }
}
