/* Estilos para la sección de Staff */
.staff {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.staff-title {
    text-align: center;
    margin-bottom: 60px;
}

.staff-title h2 {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 53px;
    font-weight: 300;
    color: #5d6862;
    margin: 0 0 40px 0;
    text-transform: uppercase;
    position: relative;
}

.staff-title h2:before {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    width: 40px;
    height: 2px;
    margin: 0 auto;
    background: #575051;
}

.staff-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.staff-card {
    width: 375px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staff-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.staff-image {
    width: 375px;
    height: 375px;
    overflow: hidden;
}

.staff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.staff-card:hover .staff-image img {
    transform: scale(1.05);
}

.staff-info {
    padding: 25px;
    text-align: center;
}

.staff-name {
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.staff-position {
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    color: #4F2987;
    margin-bottom: 20px;
}

.staff-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.staff-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #333;
    transition: all 0.3s ease;
}

.staff-social a:hover {
    background-color: #4F2987;
    color: white;
}

/* Estilos responsivos */
@media (min-width: 1200px) {
    .staff-container {
        flex-wrap: nowrap;
    }
    
    .staff-card {
        flex: 1;
    }
}

@media (max-width: 1199px) {
    .staff-container {
        padding: 0 20px;
    }
    
    .staff-card {
        width: calc(50% - 15px);
        max-width: 375px;
    }
    
    .staff-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
    }
}

@media (max-width: 768px) {
    .staff-card {
        width: 100%;
        max-width: 375px;
    }
}

@media (max-width: 480px) {
    .staff-card {
        width: 280px;
        flex: 0 0 auto;
    }
    
    .staff-image {
        width: 280px;
        height: 280px;
    }
}