/* Variables para colores en el modo claro */
:root {
    --background-light: #f5f5f5;
    --card-background-light: #fafdfd;
    --modal-background-light: rgba(0, 0, 0, 0.7);
    --text-color-light: black;
    --cta-button-background-light: #0070B8;
}

/* Variables para colores en el modo oscuro */
.dark-mode {
    --background-light: #111;
    --card-background-light: #333;
    --modal-background-light: rgba(0, 0, 0, 0.7);
    --text-color-light: white;
    --cta-button-background-light: #0070B8;
}

/* Estilos para el equipo directivo */
#equipo-directivo {
    background-color: var(--background-light);
    padding: 40px 40px;
    color: var(--text-color-light);
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    justify-content: space-between;
}

.team-member {
    background-color: var(--card-background-light);
    padding: 20px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s;
    border-radius: 5px;
    color: var(--text-color-light);
}

.team-member:hover {
    transform: scale(1.05);
}

.team-member .imagen {
    width: 120px;
    height: 150px;
    border-radius: 50%;
}
/* Estilos para los modales */
.modalOfePrin {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--modal-background-light);
    overflow: auto;
}

.modal-content {
    background-color: var(--card-background-light);
    margin: 15% auto;
    padding: 20px;
    max-width: 600px;
    border-radius: 5px;
    position: relative;
    color: var(--text-color-light);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

/* Estilos para el bot¨Žn CTA */
.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: var(--cta-button-background-light);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #555;
}

.cajaBttn {
    margin-top: 50px;
}
