.service-slider-outer {
    position: relative;
    margin-left: 0;
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
    overflow: visible;
    padding: 2rem 0;
}

.service-slider-track {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

.service-slider-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.service-slide {
    flex: 0 0 auto;
    width: calc(40% - 1rem); /* Adjusted to show partial third slide */
    min-width: 350px;
    aspect-ratio: 4/3; /* Taller aspect ratio */
    position: relative;
    overflow: hidden;
}

.service-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.service-slide:hover .service-slide-bg {
    transform: scale(1.05);
}

/* Navigation buttons */
.service-slider-nav {
    position: absolute;
    top: 0;
    right: calc(50vw - 50% + 2rem);
    z-index: 2;
    display: flex;
    gap: 0.5rem;
}

.service-slider-nav button {
    background: var(--accent);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    padding: 0;
}

.service-slider-nav button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.service-slider-nav button:hover {
    opacity: 0.8;
}

.service-slider-nav button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .service-slide {
        width: calc(60% - 1rem);
        min-width: 300px;
    }
}

@media (max-width: 768px) {
    .service-slide {
        width: calc(85% - 1rem);
        min-width: 250px;
    }
    
    .service-slider-nav {
        right: 1rem;
    }
} 