.svc-container {
    width: 100%;
    font-family: inherit;
    position: relative;
}
.svc-section-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #000;
}
.svc-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.svc-carousel {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 10px;
    width: 100%;
}
.svc-carousel::-webkit-scrollbar {
    display: none;
}
.svc-item {
    position: relative;
    flex: 0 0 200px;
    height: 350px;
    border-radius: 4px;
    overflow: hidden;
    scroll-snap-align: start;
    display: block;
    text-decoration: none !important;
    background-color: #222;
}
.svc-item-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}
.svc-item:hover .svc-item-thumb {
    transform: scale(1.05);
}
.svc-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 15px 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 40%, transparent 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.svc-item-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 500;
}
.svc-play-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.svc-item-title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    color: #fff !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.svc-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #000;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s, background 0.2s;
    border-radius: 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}
.svc-nav-btn:hover {
    background: #333;
}
.svc-prev {
    left: -20px;
}
.svc-next {
    right: -20px;
}
@media (max-width: 768px) {
    .svc-nav-btn {
        width: 30px; height: 30px;
    }
    .svc-nav-btn svg {
        width: 20px; height: 20px;
    }
    .svc-item {
        flex: 0 0 160px;
        height: 280px;
    }
    .svc-item-title {
        font-size: 14px;
    }
    .svc-prev {
        left: 0;
    }
    .svc-next {
        right: 0;
    }
}

/* Modal CSS */
.svc-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
}
.svc-modal.svc-active {
    display: flex;
}
.svc-modal-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
}
.svc-modal-content {
    position: relative;
    width: 400px;
    max-width: 90%;
    height: 80vh;
    background: #000;
    z-index: 1;
    display: flex;
    flex-direction: column;
}
.svc-modal-close {
    position: absolute;
    top: 10px; right: 10px; /* changed from -40px because it might get cut off on mobile */
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: 1px solid #fff;
    width: 30px; height: 30px;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex; align-items: center; justify-content: center;
}
.svc-modal-nav {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
@media(max-width: 768px) {
    .svc-modal-nav {
        right: 10px;
    }
}
.svc-modal-nav button {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: flex; align-items: center; justify-content: center;
}
.svc-modal-nav button:hover {
    background: rgba(255,255,255,0.4);
}
.svc-modal-video-container {
    width: 100%; height: 100%;
    background: #000;
}
.svc-modal-video-container iframe,
.svc-modal-video-container video {
    width: 100%; height: 100%;
    border: none;
    outline: none;
}

