/* Modern Carousel with Clean Navigation */

/* Carousel Container */
.carousel-row {
    position: relative !important;
    margin: 60px 0 !important;
    padding: 0 !important;
}

/* Scroll Container */
.scroll-row {
    display: flex !important;
    gap: 24px !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    padding: 20px 0 40px 0 !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    margin-bottom: 20px !important;
}

.scroll-row::-webkit-scrollbar {
    display: none !important;
}

/* Navigation Controls - Clean Bottom Positioning */
.carousel-navigation {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    margin-top: 20px !important;
}

.row-nav {
    position: relative !important;
    width: 50px !important;
    height: 50px !important;
    background: var(--white) !important;
    border: 2px solid #ff6b9d !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 10 !important;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.2) !important;
    color: #ff6b9d !important;
    font-size: 1.125rem !important;
}

.row-nav:hover {
    background: #ff6b9d !important;
    color: white !important;
    transform: scale(1.1) !important;
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4) !important;
}

/* Remove absolute positioning */
.row-nav.prev,
.row-nav.next {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    top: auto !important;
}

/* Container - No special padding needed */
.featured-products .container {
    position: relative !important;
    overflow: visible !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Disabled State */
.row-nav:disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.row-nav:disabled:hover {
    background: var(--white) !important;
    color: #ff6b9d !important;
    transform: none !important;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.2) !important;
}

/* Responsive Design for Clean Navigation */
@media (max-width: 1024px) {
    .row-nav {
        width: 48px !important;
        height: 48px !important;
        font-size: 1rem !important;
    }
    
    .carousel-navigation {
        gap: 15px !important;
        margin-top: 15px !important;
    }
}

@media (max-width: 768px) {
    .row-nav {
        width: 44px !important;
        height: 44px !important;
        font-size: 0.95rem !important;
    }
    
    .carousel-navigation {
        gap: 12px !important;
        margin-top: 15px !important;
    }
    
    .scroll-row {
        padding: 15px 0 30px 0 !important;
        margin-bottom: 15px !important;
    }
}

@media (max-width: 480px) {
    .row-nav {
        width: 40px !important;
        height: 40px !important;
        font-size: 0.9rem !important;
    }
    
    .carousel-navigation {
        gap: 10px !important;
        margin-top: 10px !important;
    }
    
    .scroll-row {
        padding: 10px 0 25px 0 !important;
        margin-bottom: 10px !important;
    }
}

/* Ensure arrows are always visible */
.modern-services,
.modern-stories {
    overflow: visible !important;
}

.modern-services .container,
.modern-stories .container {
    overflow: visible !important;
}