/* === 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;
}

/* === Ajuste para mantener el footer al fondo (Opción 1 - Flexbox) === */
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

/* El contenido principal debe ir dentro de <main> */
main {
    flex: 1 0 auto;
}

/* Footer fijo al final visualmente */
#footer {
    flex: 0 0 auto;
    background-color: #f8f9fa; /* color opcional */
    text-align: center;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

/* --- Fin del bloque de footer --- */

.card-img-resize {
    object-fit: cover;
    width: 100%;
}

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;
}

.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;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
}

.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;
}

.project-tree li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10px;
    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;
}

.project-tree li:last-child::before {
    height: 10px;
}

.project-tree span {
    display: inline-block;
    padding: 5px 10px;
    margin-left: 10px;
    border-radius: 5px;
    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 */
#estructura-organizacional .card {
    border-radius: 10px;
}

#estructura-organizacional .bg-light {
    background-color: #e9f8f9 !important;
}

#estructura-organizacional h5 {
    color: #34b2ba;
    font-weight: 600;
    margin: 0;
}
