﻿/* ===== STAFF SLIDER COMPONENT ONLY ===== */

.ssc-section {
    padding: 80px 0;
    background: #f5f7fb;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
}

.ssc-container {
    width: 95%;
    margin: auto;
}

.ssc-title {
    text-align: center;
    margin-bottom: 50px;
}

    .ssc-title h2 {
        font-size: 36px;
        color: #1a2a6c;
        font-weight: 700;
    }

    .ssc-title p {
        color: #666;
    }

/* Slider */
.ssc-slider {
    overflow: hidden;
    position: relative;
}

.ssc-track {
    display: flex;
    gap: 30px;
    width: max-content;
}

/* Card */
.ssc-card {
    width: 260px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    flex-shrink: 0;
    transition: .4s;
}

    .ssc-card:hover {
        transform: translateY(-8px);
    }

/* Image */
.ssc-img-wrap {
    width: 100%;
    height: 260px;
    overflow: hidden;
}

    .ssc-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Info BELOW IMAGE (FIXED ISSUE) */
.ssc-info {
    padding: 18px 15px 22px;
    text-align: center;
}

    .ssc-info h3 {
        font-size: 18px;
        color: #1a2a6c;
        margin-bottom: 4px;
    }

    .ssc-info p {
        color: #ff7b00;
        font-weight: 600;
        margin-bottom: 6px;
    }

    .ssc-info span {
        font-size: 13px;
        color: #666;
    }

/* Mobile */
@media(max-width:768px) {
    .ssc-card {
        width: 200px;
    }

    .ssc-img-wrap {
        height: 200px;
    }
}
/* ===== AUTO SCROLL ANIMATION ===== */

.ssc-track {
    animation: ssc-scroll 35s linear infinite;
}

/* pause on hover (nice UX) */
.ssc-slider:hover .ssc-track {
    animation-play-state: paused;
}

@keyframes ssc-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}