/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f8f9fa;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Section Container */
.trainers-section {
    width: 100%;
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Header Styles */
.header-content {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-description {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Slider Container */
.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.slider-track {
    display: flex;
    gap: 20px;
    width: fit-content;
    animation: scroll 50s linear infinite;
}

/* Trainer Card */
.trainer-card {
    position: relative;
    width: 216px;
    height: 321px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: block;
    text-decoration: none;
}

.trainer-card:hover {
    transform: translateY(-8px);
}

.trainer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.trainer-card:hover .trainer-image {
    transform: scale(1.05);
}

/* Scroll Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-216px * 10 - 20px * 10));
    }
}

/* Pause animation on hover */
.slider-container:hover .slider-track {
    animation-play-state: paused;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .section-title {
        font-size: 40px;
    }

    .section-description {
        font-size: 16px;
    }

    .trainer-card {
        width: 180px;
        height: 267px;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-180px * 10 - 20px * 10));
        }
    }
}

@media (max-width: 768px) {
    .trainers-section {
        padding: 60px 0;
    }

    .header-content {
        padding: 0 20px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-description {
        font-size: 15px;
    }

    .trainer-card {
        width: 150px;
        height: 223px;
    }

    .slider-track {
        gap: 16px;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-150px * 10 - 16px * 10));
        }
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-description {
        font-size: 14px;
    }

    .trainer-card {
        width: 120px;
        height: 178px;
    }

    .slider-track {
        gap: 10px;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-120px * 10 - 10px * 10));
        }
    }
}
