.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Equipo Actual */
.team-section {
    margin-bottom: 50px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
    color: #444;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background: #ff758c;
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}

.teamBox{
    width: 10rem;
    overflow: hidden;
    height: 12rem;
    justify-content: center;
    display: flex;
    align-items: center;
    border-radius: 1rem;
}
.teamDescription{
    line-height: 1.5
}

/* Tarjetas del Equipo Actual */
.current-team {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.team-member {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-items: center;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.team-member img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.team-member-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-member-content h3 {
    font-size: 1.5rem;
    color: #ff758c;
    margin: 0 0 5px 0;
}

.team-member-content p {
    font-size: 1rem;
    color: #666;
    margin: 5px 0;
}
/* Equipo Anterior */
.past-team {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.past-team>div>img {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.past-team>div>img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}
/* Responsive Design */
@media (max-width: 768px) {
    .team-member {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .team-member img {
        margin: 0 auto;
        width: 200px;
        height: auto;
    }

    .team-member-content {
        margin-top: 15px;
    }

    .team-member-content h3,
    .team-member-content p {
        margin: 5px 0;
    }
}
