body {
    font-family: Arial, sans-serif;
    text-align: center;
}

/* 🏷️ Título principal */
.title {
    margin-top: 150px;
    font-size: 40px;
    margin-bottom: 100px;
}

/* 🎛️ Menú desplegable */
.role-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
}

/* 🎛️ Contenedor del select */
.select-container {
    position: relative;
    width: 350px;
}

/* 🎛️ Botón del menú */
.select-btn {
    width: 100%;
    padding: 15px 30px;
    font-size: 20px;
    cursor: pointer;
    border: none;
    background: linear-gradient(145deg, #007BFF, #0056b3);
    color: black;
    border-radius: 30px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.1);
    transition: background 0.3s, box-shadow 0.3s;
}

/* 📜 Menú desplegable */
.select-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    max-height: 250px; /* 📌 Muestra hasta 5 opciones antes de hacer scroll */
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

/* ⬇️ Animación de despliegue */
.select-container.open .select-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* 📜 Opciones del menú */
.select-option {
    padding: 15px;
    font-size: 18px;
    color: black;
    cursor: pointer;
    transition: background 0.2s;
}

.select-option:hover {
    background: #f0f0f0;
}

/* 🎚️ Scroll personalizado */
.select-menu::-webkit-scrollbar {
    width: 8px;
}

.select-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.select-menu::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.select-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* 📦 Contenedor de tarjetas */
.team-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 30px;
    margin-bottom: 100px;
}

/* 🔳 Tarjetas */
.team-card {
    background: rgb(12, 12, 12);
    width: 40%;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* 🟩 Nombre */
.team-card h3 {
    background-color: #202020;
    color: white;
    padding: 10px;
    font-size: 18px;
    text-align: center;
    border-radius: 5px;
    margin-bottom: 10px;
}

/* 📸 Contenedor de imagen y descripción */
.info-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 🟦 Imagen */
.team-card img {
    width: 160px;
    height: 160px;
    background: #666;
    border-radius: 10px;
    object-fit: cover;
    margin-right: 15px;
}

/* 🟥 Descripción */
.team-card p {
    background-color: #202020;
    color: white;
    padding: 30px;
    font-size: 15px;

    margin: 0px 0px;
    flex: 1;
    border-radius: 5px;
    text-align: left;
}

/* ✅ A partir de 1140px, las tarjetas se apilan */
@media (max-width: 1170px) {
    .team-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .team-card {
        width: 70%; /* Se mantiene el diseño, solo se apilan */
    }
}

/* ✅ Modo móvil (Menos de 768px) */
@media (max-width: 768px) {
    .team-card {
        width: 90%;
    }
}

/* ✅ En menos de 480px, imagen arriba y descripción abajo */
@media (max-width: 550px) {
    .team-card {
        width: 95%; /* Reduce el margen lateral */
        padding: 20px; /* Reduce el padding del cuadro */
    }

    .info-content {
        flex-direction: column;
        align-items: center;
    }

    .team-card img {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .team-card p {
        text-align: center;
        padding: 10px; /* Reduce el margen del texto */
    }
}

.see-more {
    color: #287b8a;  /* Azul vibrante */
    font-weight: bold; /* Texto en negrita */
    text-decoration: none; /* Sin subrayado */
}