/* ===================================================================
   ARCHIVO: nosotros.css
   CONTIENE: Estilos exclusivos y específicos para la página Nosotros
   AUTOR: PC Puma Team
   FECHA: 10 de julio, 2025
   =================================================================== */

/* Aplicación explícita de Gotham para garantizar consistencia */
body, h1, h2, h3, h4, h5, h6, p, a, li, button, .btn {
  font-family: 'Gotham', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f7f9fc;
}

/* --- Hero Banner --- */
.hero-nosotros {
    padding: 4rem;
    background: linear-gradient(135deg, #002147, #005ba8);
    color: #ffffff;
    text-align: center;
}

.hero-nosotros h1 {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

/* --- Botones circulares de impacto --- */
.btn-circular {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid #e0e0e0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    text-decoration: none;
    margin: 0 10px;
}

.btn-circular:hover {
    background-color: #f0f6fb;
    transform: translateY(-5px);
    border-color: #005ba8;
    box-shadow: 0 8px 25px rgba(0,91,168,0.2);
}

.btn-circular .label {
    font-size: 0.85rem;
    margin-top: 8px;
    font-weight: 600;
    color: #333;
}

.btn-circular.activo {
    border: 4px solid #005ba8;
    background-color: #e6f0fa;
}

.btn-circular.activo .label {
    color: #005ba8;
}

.btn-circular i {
    font-size: 2.2rem;
    line-height: 1;
}

/* --- Tarjetas de contenido desplegables --- */
.card-impact {
    border-radius: 16px;
    background-color: #ffffff;
    box-shadow: 0 8px 30px rgba(0, 91, 168, 0.1);
    transition: all 0.5s ease;
    min-height: 150px;
    display: flex;
    align-items: center;
    border-left: 4px solid;
    padding: 1.5rem;
}

.card-impact p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
}

/* --- Tarjetas de Miembros del Equipo --- */
.team-member-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-10px);
}

.team-member-card .member-info {
    flex-grow: 1;
    padding: 1rem;
}

/* --- Línea del Tiempo (Timeline) --- */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #0056b3, #0d82d4, #fbc02d);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 1rem 2rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #005ba8;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px rgba(0,91,168,0.3);
}

.timeline-item:nth-child(odd)::before {
    right: -6px;
}

.timeline-item:nth-child(even)::before {
    left: -6px;
}

/* --- Canvas de fondos animados (exclusivo de "Nosotros") --- */
#left-bg, #right-bg {
    position: fixed;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

#left-bg { left: 0; }
#right-bg { right: 0; }

#left-canvas, #right-canvas {
    width: 100%;
    height: 100%;
}
/* --- Estilos para la Sección del Equipo (Versión 2) --- */

/* Tarjeta para los Jefes de Departamento */
.team-leader-card {
    background-color: #f8f9fa; /* Fondo ligeramente distinto */
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.team-leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 91, 168, 0.1);
    border-color: #005ba8;
}

.team-leader-card h5 {
    font-weight: 700;
    color: #003d73;
    font-size: 1.15rem;
}

/* Contenedor para cada área de equipo */
.team-area {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    height: 100%;
}

.team-area-title {
    font-weight: 700;
    color: #005ba8;
    text-align: center;
    border-bottom: 2px solid #fbc02d; /* Detalle dorado/amarillo */
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

/* Tarjeta individual de miembro del equipo (sin cambios de la v1) */
.team-member-card {
    background-color: #ffffff;
    padding: 1.5rem 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #f1f1f1;
}

.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 91, 168, 0.12);
}

.team-member-card .member-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-member-card h6 {
    font-weight: 500;
    color: #343a40;
}

.team-member-card .text-muted {
    font-size: 0.85rem;
    line-height: 1.4;
}
/* --- Estilos para la sección de Redes Sociales --- */
.social-icons-section {
  z-index: 10;
}

.social-icons-section .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #005BA8 !important; /* azul institucional */
  background: transparent;
  text-decoration: none;
  transition: transform 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.social-icons-section .social-icon i,
.social-icons-section .social-icon svg {
  font-size: 1.6rem;
  line-height: 1;
  color: inherit; /* hereda el color del enlace */
}

.social-icons-section .social-icon:hover,
.social-icons-section .social-icon:focus {
  color: #FFD700 !important; /* amarillo en hover */
  transform: scale(1.12);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  outline: none;
}

/* foco accesible */
.social-icons-section .social-icon:focus-visible {
  box-shadow: 0 0 0 4px rgba(0,47,108,0.18);
}

/* --- Tarjetas de contenido desplegables (MEJORADAS) --- */
.card-impact {
    border-radius: 16px;
    background-color: #ffffff;
    box-shadow: 0 8px 30px rgba(0, 91, 168, 0.1);
    border-left: 4px solid;
    padding: 1.5rem;
    opacity: 0; /* Inicia oculto */
    transform: translateY(10px); /* Ligeramente desplazado hacia abajo */
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out; /* Transición suave */
}

/* Cuando la tarjeta se muestra, se vuelve visible y sube a su posición */
.collapse.show .card-impact {
    opacity: 1;
    transform: translateY(0);
}

/* --- Estilos para la Navbar --- */
.navbar .nav-link {
  transition: color 0.3s ease, background-color 0.3s ease;
}

.navbar .nav-link:hover {
  color: #FFD700 !important; /* Amarillo institucional */
  background-color: rgba(255, 255, 255, 0.1);
}

.navbar .nav-link.active {
  font-weight: bold;
  border-bottom: 2px solid #FFD700; /* Indicador visual */
}
.social-icons-section {
  position: relative;
  z-index: 1;
}

/* --- Estilos para la Sección de Redes Sociales --- */
.social-section {
  background-color: #ffffff; /* Fondo blanco para la sección */
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 1.5rem 1rem;
  border-radius: 16px;
  background-color: #f8f9fa; /* Fondo gris claro para la tarjeta */
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
  height: 100%;
}

.social-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 91, 168, 0.12);
  border-color: #005BA8;
}

.social-card i {
  font-size: 2.5rem;
  color: #005BA8; /* Íconos en azul institucional */
  margin-bottom: 0.75rem;
}

.social-card span {
  font-weight: 600;
  color: #343a40; /* Texto oscuro para legibilidad */
}