
   /* Estilos Generales */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden; /* Evita scroll horizontal por la animación */
}



h1 {
    color: #004a7c; /* Azul oscuro similar al logo de UTP */
    text-align: center;
    margin-bottom: 20px;
}

h2 {
    color: #004a7c;
    text-align: center;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.01em;
    color: #252729;
    margin-bottom: 10px;
}

/* Sección de Introducción */
.intro-section {
    background-color: #ffffff;
    padding: 30px;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.281);
    text-align: center;
}

/* Estilos del Carrusel */
#myCarousel {
    margin-top: 40px;
    margin-bottom: 60px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

#myCarousel .item img {
    width: 100%;
    height: 550px;
    object-fit: cover;
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 5px;
    bottom: 20px;
}

.carousel-caption h3 {
    color: #fff;
    margin: 0 0 5px 0;
    font-size: 1.8em;
    text-align: center;
}

.carousel-caption p {
    color: #f0f0f0;
    margin: 0;
    font-size: 1.1em;
    text-align: center;
}



/*-------------------------------------------------- Estilos para los Equipos -----------------------------------*/
.team-group-card {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.507);
    text-align: center;
    margin-bottom: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-group-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px #083b64f8;
}

.team-group-card img.group-photo {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 0px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.team-group-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/*  unificado para todos los nombres de integrantes */
.team-group-card ul li {
    background-color: #e9f5ff; /* azul claro común para todos */
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.95em;
    color: #083f75; /* azul profundo para texto */
    font-weight: 500;
}



/* Scrolling   --------------------------- */
.scrolling-names-container {
    background-color: #083f75;
    color: #ffffff;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 50px;
    position: relative;
}

.scrolling-names {
    display: inline-block;
    padding-left: 100%;
    animation: scrollText 40s linear infinite;
}

.scrolling-names-container::before,
.scrolling-names-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.scrolling-names-container::before {
    left: 0;
    background: linear-gradient(to right, #004a7c, rgba(0, 74, 124, 0));
}

.scrolling-names-container::after {
    right: 0;
    background: linear-gradient(to left, #004a7c, rgba(0, 74, 124, 0));
}

@keyframes scrollText {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Espaciado entre grupos */
.grupo-label {
    margin: 0 40px;
    font-weight: bold;
}


/* NUEVO: Secciones lado a lado */
.advisors-cooperantes-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.advisors-section {
    flex: 1 1 300px;
    max-width: 500px;
}


/* Media Queries para responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.6em;
    }

    .team-group-card {
        padding: 15px;
    }

    .scrolling-names {
        animation-duration: 60s;
    }

      #breadcrumb {
        padding: 10px;
    }

    .breadcrumb {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .intro-section {
        padding: 20px;
    }

     .breadcrumb {
        font-size: 0.85em;
        text-align: left;
    }

    .breadcrumb-item {
        display: inline-block;
        max-width: 100%;
        word-break: break-word;
    }
}


