.hero-docentes {
  background: url('../img/docentes.jpg') center center / cover no-repeat;
  height: 60vh;
  position: relative;
}


.hero-docentes .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 60, 80, 0.6);
  z-index: 1;
}

.hero-docentes .container {
  position: relative;
  z-index: 2;
}

.docente-card {
  transition: transform 0.3s ease;
}

.docente-card:hover {
  transform: scale(1.03);
}

h3 {
  font-weight: 700;
}

section.bg-light {
  background-color: #f8f9fa;
}

@media (max-width: 768px) {
  img.img-fluid {
    max-height: 300px;
    object-fit: cover;
  }
}

.texto-justificado {
  text-align: justify;
  text-justify: inter-word;
}

.text-shadow {
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.icon-circle {
  width: 70px;
  height: 70px;
  background-color: #f8f9fa;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.4s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.hover-effect:hover .icon-circle {
  transform: scale(1.15) rotate(5deg);
}

.hover-effect:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
  transition: all 0.4s ease-in-out;
}

.titulo-efecto {
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.7);
  animation: pulseTitle 4s infinite;
}

.subtitulo-efecto {
  color: #ffffffcc;
  font-size: 1.3rem;
  animation: fadeInUp 2s;
}

/* Efecto de pulso suave al título */
@keyframes pulseTitle {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

/* Tarjetas con fondo temático y transición */
.card-valor {
  border-radius: 15px;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.card-valor:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.bg-azul {
  background: linear-gradient(135deg, #fbff00, #d8781f);
}

.bg-verde {
  background: linear-gradient(135deg, #a72872, #23b1c4);
}

.bg-rojo {
  background: linear-gradient(135deg, #8d0811, #38060b);
}

.text-shadow {
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.hero-docentes {
  height: 65vh;
  background-position: center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-docentes .overlay {
  background: rgba(0, 0, 0, 0.55);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.titulo-efecto {
  font-size: 3rem;
  color: #00e5ff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.subtitulo-efecto {
  font-size: 1.25rem;
  color: #ffc107;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.7);
}

/* RESPONSIVE: Mejora para móviles */
@media (max-width: 768px) {
  .hero-docentes {
    height: 45vh;
    background-position: center top;
  }

  .titulo-efecto {
    font-size: 3,50rem;
  }

  .subtitulo-efecto {
    font-size: 1.80rem;
  }
}

.text-justify {
  text-align: justify;
}
.card-body p {
  font-size: 0.95rem;
}






