/* === Fuentes globales === */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@100;400;500;700;900&display=swap');

/* === Estilos Generales === */
body {
    font-family: "Raleway", sans-serif;
    background-color: rgb(248, 249, 241);
}

/* Clase especial para botones en color #34b2ba */
.btn-alternativa {
    background-color: #34b2ba;
    color: #fff;
    border: none;
    border-radius: 0;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
    padding: 10px 20px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-alternativa:hover {
    background-color: #2a8f98;
    color: #fff;
}

/* ... (todo el resto de tus reglas sin cambios) ... */


.card-img-resize {
    /* height: 350px; Ajusta la altura según necesites */
    object-fit: cover; /* Mantiene el aspecto de la imagen */
    width: 100%; /* Asegura que ocupe el ancho de la tarjeta */
}


h1 {
    font-weight: 700;
}

/* Navbar */
.navbar-nav .nav-link,
.navbar-brand {
    color: #fff !important;
}

/* Header */
header {
    background-color: #e50408;
}

/* Banner */
#banner {
    background-color: #e50408;
}

#banner h1 {
    font-size: 3.5rem;
    font-weight: 900;
}

#banner p {
    font-size: 1.5rem;
    font-weight: 400;
}

/* Central Section */
#central .lead {
    font-weight: 400;
}

/* Elecciones Section */
.elecciones-section .lead {
    font-weight: 400;
}



/* Configuración para mantener el footer al fondo */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* Contenedor principal */
body > * {
    flex: 1;
}

#footer {
    background-color: #f8f9fa; /* Color de fondo opcional */

    text-align: center;
    width: 100%; /* Asegura que el footer ocupe todo el ancho */
    margin: 0; /* Elimina cualquier margen */
    box-sizing: border-box; /* Asegura que el padding no afecte el ancho total */
}





.btn-alternativa-grande {
    padding: 1rem 2.5rem;
    font-size: 1.5rem;

    color: white;
    border: none;
    transition: background-color 0.3s ease;
}


/* Tarjetas y Cards */
body.row,
.card {
    background-color: #6455a4 !important;
    color: #fff;
    border: none;
    border-radius: 0; /* Quita los bordes redondeados */
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2); /* Añade sombra a las tarjetas */
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-link:hover {
    text-decoration: none;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Carousel */
.carousel {
    border: 10px solid #fff;
    box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.3);
}

/* Imagenes */
.adaptar-imagen {
    max-width: 50%;
    height: auto;
}

/* Texto y Colores */
.highlight {
    color: #6455a4;
    font-weight: 900;
}

/* Footer */
footer .social-icon {
    color: #ffffff !important;
    transition: color 0.3s;
}

footer .social-icon:hover {
    color: #3bc7cf !important;
}

footer .social-icons a {
    color: #fff;
    margin: 0 10px;
    font-size: 24px;
    transition: color 0.3s ease;
}



/* Responsivo para Footer en pantallas pequeñas */
@media (max-width: 576px) {
    footer .social-icons a {
        font-size: 20px;
    }
}



/* Estilo general para cada árbol de proyecto */
.project-tree {
    list-style-type: none;
    padding-left: 20px;
    margin-top: 15px;
    position: relative;
}

.project-tree li {
    position: relative;
    padding-left: 20px;
    margin: 0; /* Elimina el margen entre los elementos */
}


.project-tree li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10px; /* Centra la línea vertical */
    width: 2px;
    height: 100%;
    background-color:  #6455a4;
}

.project-tree li::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    width: 10px;
    height: 2px;
    background-color:  #6455a4;
}

/* Conecta la línea vertical del último elemento */
.project-tree li:last-child::before {
    height: 10px; /* Deja un pequeño espacio al final */
}

.project-tree span {
    display: inline-block;
    padding: 5px 10px;
    margin-left: 10px;
    border-radius: 5px;

    /* color: #007bff; */
    font-weight: normal;
}

/* Estilo para el título en la sección del Consejo Universitario */
.cu-title {
    font-size: 2.8rem;
    font-weight: bold;
}

/* Estilo para el texto introductorio en la sección del Consejo Universitario */
.cu-lead {
    font-size: 1.5rem;
    font-weight: 400;
}

/* Estilo para los elementos de lista en la sección del Consejo Universitario */
.cu-list li {
    font-size: 1.25rem;
}


#estructura-organizacional .card {
    border-radius: 10px;
}

#estructura-organizacional .bg-light {
    background-color: #e9f8f9 !important; /* tono suave en la línea de #34b2ba */
}

#estructura-organizacional h5 {
    color: #34b2ba;
    font-weight: 600;
    margin: 0;
}



