.services-final { padding: 100px 0; background: #000; overflow: hidden; }

/* The Marquee Wrapper */
.marquee-wrapper {
    display: flex;
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.marquee-content {
    display: flex;
    width: max-content; /* Force width to cards */
    gap: 30px;
    animation: infinite-scroll 30s linear infinite;
}

/* Hover par scroll rukanay ke liye */
.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes infinite-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Bilkul half pe reset hoga */
}

/* Card Styling */
.s-card {
    width: 350px;
    height: 500px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    flex-shrink: 0;
    transition: 0.5s ease;
}

/* 3D-ish Effect on Hover */
.s-card:hover {
    transform: translateY(-15px) scale(1.05);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(212, 180, 153, 0.3);
}

.s-card img { width: 100%; height: 100%; object-fit: cover; }

.s-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 30px;
}

.s-overlay h3 { font-family: 'Syne'; color: #fff; font-size: 1.5rem; margin-bottom: 15px; }

.s-btn {
    border: 1px solid #d4b499; color: #d4b499; width: fit-content;
    padding: 8px 15px; text-decoration: none; font-size: 0.7rem; text-transform: uppercase;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .marquee-content {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2x2 Grid */
        width: 100%;
        animation: none; /* No scroll on mobile */
        gap: 15px;
        padding: 0 20px;
    }
    .s-card { width: 100%; height: 280px; }
    .s-card:nth-child(n+7) { display: none; } /* Duplicate hide on mobile */
}