/* Carousel Navigation Arrows */
.carousel-arrow {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--white);
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: var(--primary-color);
    transition: all var(--transition-base);
    margin: 0 8px;
}

.carousel-arrow:hover {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(236, 38, 143, 0.25);
}

.carousel-arrow:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(236, 38, 143, 0.3);
}

.prev-arrow {
    order: 1;
}

.next-arrow {
    order: 2;
}

/* Ensure arrows are positioned correctly in Gutenberg blocks */
.benefits-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.benefits-content {
    flex: 1;
}

.carousel-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.carousel-controls-left {
    display: flex;
    align-items: center;
}

.carousel-controls-right {
    display: flex;
    align-items: center;
}

.carousel-arrow svg {
    transition: transform 0.2s ease;
}

.carousel-arrow:hover svg {
    transform: scale(1.2);
}

.carousel-arrow:focus {
    box-shadow: 0 0 0 3px rgba(236, 38, 143, 0.3), 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* Carousel Slides */
.benefits-carousel .benefit-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.benefits-carousel .benefit-slide.active {
    display: block;
    opacity: 1;
}

/* Dot Navigation */
.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    background-color: rgba(150, 152, 154, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.carousel-dots .dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.carousel-dots .dot:hover {
    background-color: var(--primary-light);
}

.carousel-dots .dot:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(236, 38, 143, 0.3);
}

@media screen and (max-width: 768px) {
    
    .benefits-carousel{
        gap: 0;
        padding: 0;
    }
}