.slider-container {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
    margin: 20px auto;
}

.slider {
    display: flex;
    width: fit-content;
    position: absolute;
    top: 0;
    left: 0;
}

.card {
    flex: 0 0 auto;
    width: 250px;
    margin: 15px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.fade-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 10;
    pointer-events: none;
}

.fade-left {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.fade-right {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.card-img {
    text-align: center;
    margin-bottom: 15px;
}

.card-img img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.card-content {
    text-align: center;
}

.card-content span {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
    font-weight: bold;
}

.card-content h3 {
    margin: 5px 0;
    color: #333;
    font-size: 18px;
}

.card-content p {
    font-size: 13px;
    color: #777;
    margin: 5px 0;
}

.card-description h4 {
    margin: 10px 0 5px;
    color: #444;
    font-size: 14px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.card-description p {
    font-size: 12px;
    line-height: 1.4;
    color: #666;
}

.controls {
    text-align: center;
    margin-top: 20px;
}

.controls button {
    margin: 0 10px;
    padding: 8px 16px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.controls button:hover {
    background: #0056b3;
}

.slider-paused {
    animation-play-state: paused;
}