/* Trainers Page Styles */
#trainers-hero {
    background: url('images/trainers-hero.jpg') no-repeat center center/cover;
    padding: 80px 20px;
    text-align: center;
    color: #1E293B;
}

.trainers-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 40px 20px;
}

.trainer-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 250px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    transform: translateY(20px) scale(1); /* initial scale 1 */
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    transition: transform 0.4s ease, box-shadow 0.4s ease; /* smooth scaling */
}

.trainer-card:hover {
    transform: translateY(0) scale(1.25); /* bigger scale */
    box-shadow: 0 15px 25px rgba(0,0,0,0.3);
}

.trainer-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: 20px;
}

.trainer-card h3 {
    margin: 15px 0 5px;
    font-size: 1.2rem;
}

.trainer-card p {
    margin-bottom: 10px;
    color: #666;
}

/* Learn More Button */
.trainer-card button {
    background: #ff9800;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 8px 10px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-bottom: 20px;
    width: 200px;
}

.trainer-card button:hover {
    background: #2c36c0;
}

/* may cause conflict

.card-row .container:hover {
    transform: scale(1.15);
    transition: transform 0.3s ease; 
    box-shadow: 0 15px 25px rgba(0,0,0,0.3);
}
*/


@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in { }
