/* --- Team Section Styles --- */
.team-section {
    padding: 80px 0;
    background-color: #ffffff;
    text-align: center;
}

.section-header {
    margin-bottom: 50px;
}

.section-header .subtitle {
    color: #3e62e1;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-header .title {
    color: #0e2245;
    font-size: 42px;
    font-weight: 800;
    margin-top: 10px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.team-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 5px; /* Bordes suaves según la imagen */
    padding: 25px;
    transition: 0.3s ease;
}

.team-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.team-card .image-container {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.team-card .image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.team-card:hover img {
    transform: scale(1.05);
}

.team-card h3 {
    color: #0e2245;
    font-size: 22px;
    margin-bottom: 5px;
}

.team-card p {
    color: #3e62e1;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Iconos Sociales en Círculos Lavanda */
.social-circles {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-circles a {
    width: 40px;
    height: 40px;
    background-color: #e8ecff; /* Color lavanda suave de la imagen */
    color: #3e62e1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s;
}

.social-circles a:hover {
    background-color: #3e62e1;
    color: #fff;
}

/* Paginación */
.team-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background-color: #3e62e1;
    width: 10px; /* Un poco más grande el activo */
    height: 10px;
}