/* Carousel container */
.carousel-main {
    position: relative;
}

/* Remove snap-x for custom smooth scrolling */
.carousel-items.solution-list {
    scroll-snap-type: none !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: auto;
}

.carousel-items.solution-list::-webkit-scrollbar {
    display: none;
}

/* Navigation buttons - VISIBLE by default */
#left-btn, #right-btn {
    height: 60px;
    width: 60px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    padding: 0 15px;
    border-radius: 50%;
    color: #fff;
    border: 1px solid var(--snd-banana);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    z-index: 10;
    /* Remove opacity: 0 - arrows now visible */
}

#left-btn:hover, #right-btn:hover,
#left-btn:focus, #right-btn:focus {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

#left-btn:active, #right-btn:active {
    transform: translateY(-50%) scale(0.95);
}

#left-btn i, #right-btn i {
    color: #fff;
    transition: transform 300ms;
}

/* #left-btn:hover i {
    transform: translateX(-2px);
}

#right-btn:hover i {
    transform: translateX(2px);
} */

#left-btn {
    left: calc(-50vw - -50% + 15px);
}

#right-btn {
    right: calc(-50vw - -50% + 15px);
}

/* Smooth card hover effect */
.carousel-item {
    transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* .carousel-item:hover {
    transform: translateY(-4px);
} */

/* Mobile adjustments */
@media(max-width: 767px) {
    #left-btn, #right-btn {
        height: 50px;
        width: 50px;
        padding: 0 12px;
    }
    
    .hero .carousel-main #left-btn,
    .hero .carousel-main #right-btn {
        top: calc(1rem + 40px);
    }
}

/* Desktop adjustments */
@media(min-width: 768px) {
    .hero .carousel-main #left-btn,
    .hero .carousel-main #right-btn {
        top: calc(1rem + 55px);
    }
}