/* Navbar */
.navbar {
  background-color: #003366; 
  box-shadow: 0 4px 8px rgba(249, 249, 249, 0.1); 
  font-family: "Bree Serif", serif;
  font-weight: 400;
  object-fit: cover;
  position: fixed; 
  top: 0; 
  left: 0; 
  right: 0; 
  z-index: 1000; 
  padding: 7px 20px;
  transition: padding 0.3s ease-in-out; /* Animación para transición suave al cambiar tamaño */
}

.intro {
  width: 100%; 
  height: 600px; 
}

/* Ajustes para cuando el navbar colapsa o está en dispositivos pequeños */
@media (max-width: 768px) {
  .navbar {
    padding: 5px 10px; /* Menos padding en pantallas pequeñas */
  }

  .navbar-brand img {
    max-height: 75px; /* Limitar el tamaño de la imagen del logo */
      object-fit: cover;

  }
}

/* Body */
body {
  padding-top: 115px; /* Aumentamos un poco el espacio superior para evitar que el navbar tape el contenido */
  border-radius: 0; /* El border-radius del body lo cambiamos a 0 para evitar un borde curvado en el body */
  transition: padding-top 0.3s ease-in-out; /* Transición suave para padding-top */
  overflow-x: hidden;
}

/* Para evitar que el navbar cubra contenido en pantallas muy pequeñas */
@media (max-width: 576px) {
  body {
    padding-top: 118px; /* Ajuste adicional en pantallas muy pequeñas */
  }
}


.intro {
  width: 100%; 
  height: 600px; 
  object-fit: cover;
}

texto-docente

.bree-serif-regular {
font-family: "Bree Serif", serif;
font-weight: 400;
font-style: normal;
}


.container-noticias{
  font-family: "Bree Serif", serif;
  font-weight: 400;
  font-style: normal;
}


.navbar-brand img {
  height: 55px; 
  width: 110%;
  object-fit: contain;
}


.nav-link {
  color: white !important;
  font-size: 15px;
  font-weight: 500;
}
.nav-link:hover {
  color: #FFD700 !important; 
}

.navbar-toggler{

  color: #ffffff;
}

.navbar-toggler-icon {
  filter: invert(1);
}

.search-icon {
  color: white;
  font-size: 22px;
  cursor: pointer;
}
.search-panel {
  display: none;
  position: absolute;
  right: 0;
  top: 60px;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 300px;
  z-index: 9999;
  border-radius: 5px; 
  border: 1px solid #ddd; 
  font-family: "Bree Serif", serif;
  font-weight: 400;
  font-style: normal;
}
.search-panel input[type="search"] {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 10px;
  font-family: "Bree Serif", serif;
  font-weight: 400;
  font-style: normal;
}
.search-recommendations {
  list-style: none;
  padding: 0;
}
.search-recommendations li {
  padding: 8px 0;
  border-bottom: 1px solid #f1f1f1;
}
.search-recommendations li a {
  text-decoration: none;
  color: #333;
}
.search-recommendations li a:hover {
  color: #003366;
}

/* Estudios */

/* General Grid Styles */
.grid-img-container {
  position: relative;
  overflow: hidden;
  border-radius: 15px; 
  width: 80%;
  height: 80%;
  left: 10%;
  
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.grid-img {
  transition: transform 0.4s ease-in-out;
  border-radius: 15px;
}

.grid-img-container:hover .grid-img {
  transform: scale(1.1); 
}

.grid-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.6); 
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease-in-out; 
  border-radius: 15px; 
}

.grid-img-container:hover .grid-hover-overlay {
  opacity: 1; 
}

.grid-hover-overlay i {
  transition: transform 0.3s ease;
}

.grid-img-container:hover i {
  transform: rotate(360deg); 
}

h3 {
  margin-top: 20px;
  font-family: "Bree Serif", serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}

h3:hover {
  color: #ffc107; 
  transition: color 0.3s ease;
}

.grid-click-text {
  padding: 10px;
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-top: 10px;
}

.grid-img-container:active .grid-click-text {
  display: block; 
}

/* Responsivo */
@media (max-width: 768px) {
  .grid-img-container {
    margin-bottom: 20px; 
  }
}

/* Noticias */

.news-section {
  position: relative;
  background-color: #f8f9fa; 
}

.news-background {
  object-fit: cover;
  height: 100%;
  opacity: 0.4;
  z-index: -1;
}

/* Tarjetas */
.card {
  font-family: "Bree Serif", serif;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 15px; 
  overflow: hidden;
  width: 100%; 
  max-width: 380px; 
  margin: auto; 
}

.card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); 
}

.card-img-top {
  object-fit: cover;
  height: 200px; 
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

/* Botones */
.btn-warning {
  font-family: "Bree Serif", serif;
  background-color: #ffc107;
  border-color: #ffc107;
  color: #fff;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-warning:hover {
  background-color: #e0a800;
  transform: translateY(-3px); 
  font-family: "Bree Serif", serif;

}

.btn-danger {
  background-color: #dc3545;
  border-color: #dc3545;
  color: #fff;
  font-family: "Bree Serif", serif;
  margin: auto; 


}

.btn-danger:hover {
  background-color: #c82333;
}

h3 {
  font-family: "Bree Serif", serif;
  font-weight: bold;
  color: #333;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}


.h3-link {
  text-decoration: none; 
  color: #333; 
  transition: color 0.3s ease; 
}

.h3-link:hover {
  color: #ffc107; 
  text-decoration: underline; 
}


.container {
  padding-top: 60px;
  padding-bottom: 60px;
  max-width: 900px;

  font-family: "Bree Serif", serif;

}

.text-center {
  margin-top: 20px;
}

@media (max-width: 768px) {
  .card-img-top {
    height: 150px; 
  }
}

@media (max-width: 576px) {
  .container {
    padding: 30px 15px;
  }
}

#navbar-scroll {
  display: none; 
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1040;
  padding: 10px 0; 
  background-color: #ffffff;
  transition: top 0.3s;
}

#navbar-scroll .navbar-brand {
  font-size: 1.2rem; 
  font-weight: bold;
  color: #f1f1f1;
}

#navbar-scroll .nav-link {
  font-size: 1rem;
  padding: 8px 15px;
  transition: color 0.3s;
}

#navbar-scroll .nav-link:hover {
  color: #ffc107; 
}

.custom-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.custom-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.highlighted {
  position: relative;
}
.highlighted::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2); 
  z-index: 1;
}

/* Contacto*/
/* Navbar */
.navbar-brand .logo {
  width: 120px;
}

/* Carousel */
.carousel-caption h1, .carousel-caption p {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10px;
  border-radius: 10px;
}

/* Contact Cards */
.contact-card {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.contact-card:hover {
  transform: scale(1.05);
}

.contact-icon {
  width: 50px; /* Ajuste para pantallas pequeñas */
  height: auto;
  margin-bottom: 10px;
}

.contact-title {
  font-size: 1rem; /* Escala para pantallas pequeñas */
  font-weight: bold;
}

.map-card {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.map-title {
  font-weight: bold;
}

.mapacbta {
  width: 100%; /* Responsivo */
  height: 300px; /* Ajuste para pantallas pequeñas */
}

.carousel-caption {
  top: 1px;
}

@media (min-width: 768px) {
  .contact-icon {
    width: 50px; /* Ajuste para pantallas medianas */
  }

  .contact-title {
    font-size: 1.20rem; /* Ajuste para pantallas medianas */
  }

  .mapacbta {
    height: 450px; /* Altura mayor en pantallas grandes */
  }
}

@media (max-width: 768px) {
  .carousel-caption h1 {
    font-size: 1.5rem; /* Reduce el tamaño del título en pantallas pequeñas */
  }

  .carousel-caption p {
    font-size: 1rem; /* Ajusta el tamaño del párrafo */
  }
}

@media (max-width: 480px) {
  .carousel-caption h1 {
    font-size: 1.25rem; /* Reduce aún más el título en dispositivos muy pequeños */
  }

  .carousel-caption p {
    font-size: 0.9rem; /* Ajusta el tamaño del párrafo */
  }
}

@media (max-width: 283px) {
  .carousel-caption h1 {
    font-size: 1.05rem; /* Reduce aún más el título en dispositivos muy pequeños */
  }

  .carousel-caption p {
    font-size: 0.2rem; /* Ajusta el tamaño del párrafo */
  }
}


/* Contenedor de la imagen y texto */
.container-fluid {
  padding: 0;
}

.position-relative {
  position: relative;
}


/* texto intro */
h1.display-4 {
  font-family: 'Century Gothic', sans-serif;
  color: #6a4f38; /* Un color marrón suave para el texto */
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* Sombra suave para hacer el texto más legible */
  margin-bottom: 20px;
}

.texto-Anita {
  font-family: 'Arial', sans-serif;
  color: #4a3f35; /* Un tono marrón oscuro para mayor contraste */
  line-height: 1.6; /* Mejor interlineado para una lectura más cómoda */
  font-size: 1.1rem;
  margin-bottom: 15px;
}

strong {
  color: #d18a4e; /* Color dorado suave para los encabezados */
  font-weight: bold;
}

section {
  background-color: #f4f1e1; /* Fondo beige suave */
  padding: 10px 10px;
  border-radius: 2%;

}

/* Responsive y ajustes en pantallas pequeñas */
@media (max-width: 768px) {
  h1.display-4 {
    font-size: 2.5rem;
  }

  p {
    font-size: 1rem;
  }
}



/* modelos */
model-viewer {
  width: 100%;
  height: 400px;
  border-radius: 10px; /* Bordes más suaves */
  box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.15); /* Sombra sutil */
  background: linear-gradient(135deg, #f0f0f0, #d4eaff); /* Fondo pastel azul */
  border: 2px solid #007bff; /* Azul amigable */
  padding: 10px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Efecto al pasar el mouse */
model-viewer:hover {
  transform: scale(1.05);
  box-shadow: 0px 10px 20px rgba(0, 123, 255, 0.3);
}

/* Contenedor del modelo */
.highlighted {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #ffffff, #f8f9fa); /* Fondo claro */
  padding: 20px;
  border-radius: 15px;
}

/* Texto */
.custom-text {
  padding: 20px;
  font-family: "Arial", sans-serif;
  color: #333;
}

/* Botón */
.btn-dark {
  background-color: #007bff;
  border: none;
  padding: 10px 20px;
  font-size: 1.2rem;
  border-radius: 8px;
}

.btn-dark:hover {
  background-color: #0056b3;
}

@supports (-webkit-touch-callout: none) {
  body {
    -webkit-text-size-adjust: 100%; /* Previene zoom automático en iOS */
  }

  .navbar {
    padding: 10px 15px; /* Ajusta el padding de la barra de navegación */
  }
}


/* Exploracion apartado */
header {
  background-image: url('https://source.unsplash.com/1600x400/?students,school');
  background-size: cover;
  background-position: center;
  color: white;
}

.card1 {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  text-align: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.card1:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Borde superior de colores según la personalidad */
.card1.border-success { border-top: 5px solid #28a745; }
.card1.border-info { border-top: 5px solid #17a2b8; }
.card1.border-primary { border-top: 5px solid #007bff; }
.card1.border-warning { border-top: 5px solid #ffc107; }
.card1.border-dark { border-top: 5px solid #343a40; }
.card1.border-danger { border-top: 5px solid #dc3545; }

/* Iconos */
.card1 i {
  font-size: 3rem;
  margin-bottom: 15px;
}

/* Títulos */
.card-title {
  font-weight: bold;
  font-size: 1.3rem;
}

/* Texto */
.card-text {
  font-size: 1rem;
  color: #555;
}

/* Efecto de luz al pasar el mouse */
.card1:hover::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 10%, transparent 50%);
  transition: opacity 0.5s ease;
  opacity: 0;
}

.card1:hover::before {
  opacity: 1;
}

.cbta-header {
  background: linear-gradient(135deg, #4e73df, #1c3d87); /* Colores más vibrantes */
  color: white;
  padding: 50px 30px; /* Más espacio */
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.25); /* Sombra más suave */
  border-bottom: 4px solid #1e3a62; /* Color de borde más sutil */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); /* Sombra más pronunciada */
  font-family: 'Century Gothic', sans-serif; /* Fuente Century Gothic */
}

.cbta-section {
  background: #529ae1; /* Fondo más claro y cálido */
  padding: 60px 30px;
  border-radius: 12px; /* Bordes más redondeados */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  font-family: 'Century Gothic', sans-serif; /* Fuente Century Gothic */
}

.cbta-title {
  font-weight: 700;
  margin-bottom: 25px;
  text-transform: uppercase; /* Mayúsculas para un toque más formal */
  letter-spacing: 1px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1); /* Sombra más suave */
  color: #333; /* Color más oscuro para el título */
  font-family: 'Century Gothic', sans-serif; /* Fuente Century Gothic */
}

.cbta-text {
  font-size: 1.2rem;
  color: #ffffff; /* Color más suave para el texto */
  max-width: 850px;
  margin: 20px auto;
  text-align: center;
  line-height: 1.7; /* Espaciado mayor entre líneas */
  font-family: 'Century Gothic', sans-serif; /* Fuente Century Gothic */
  padding: 0 10px; /* Espacio interior */
}

.cbta-btn {
  background-color: #4e73df; /* Color de fondo azul */
  color: white;
  padding: 12px 25px;
  border-radius: 8px; /* Bordes redondeados */
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cbta-btn:hover {
  background-color: #465a86; /* Fondo más oscuro en hover */
  transform: translateY(-2px); /* Efecto de elevación */
}
/* 
responsivo en el logo */

@media (max-width: 768px) {
  .logo-img {
    max-width: 90%; /* Reduce el tamaño del logo en pantallas medianas */
    height: auto; /* Mantiene las proporciones */
    object-fit: contain;
    text-align: center;
  }
}

/* Responsividad para dispositivos móviles más pequeños */
@media (max-width: 480px) {
  .logo-img {
    max-width: 90%; /* Reduce aún más el tamaño del logo en pantallas pequeñas */
    height: auto; /* Mantiene las proporciones */
    position: relative;
    text-align: center;
    object-fit: contain;
  }
}


/* Ajuste para pantallas medianas (tablets y smartphones grandes) */
@media (max-width: 768px) {
  .contenido {
    padding: 20px; /* Reduce el padding en pantallas medianas */
  }
}

/* Ajuste para smartphones pequeños (iPhone SE, etc.) */
@media (max-width: 480px) {
  .contenido {
    padding: 15px; /* Reduce aún más el padding */
  }
}

/* Ajuste para dispositivos extra pequeños (iPhone mini, etc.) */
@media (max-width: 360px) {
  .contenido {
    padding: 10px; /* Padding mínimo para pantallas muy pequeñas */
  }
}

/* Estilo base para el botón */
.btn-animated {
  background-color: #44b7e8; /* Color verde */
  color: white;
  padding: 15px 30px;
  font-size: 1.1rem;
  border-radius: 50px; /* Bordes redondeados */
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
  transition: all 0.3s ease; /* Transición suave */
}

/* Efecto hover */
.btn-animated:hover {
  background-color: #ebb236; /* Color más oscuro al pasar el ratón */
  transform: translateY(-5px); /* Eleva el botón */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Añade sombra para el efecto de elevación */
}

/* Efecto de enfoque (foco) */
.btn-animated:focus {
  outline: none; /* Elimina el borde de enfoque por defecto */
  box-shadow: 0 0 10px rgba(81, 179, 224, 0.7); /* Añade un resplandor verde al hacer clic */
}

/* Animación de 'pulse' al hacer clic */
.btn-animated:active {
  transform: scale(0.95); /* Reduce ligeramente el tamaño */
  box-shadow: 0 0 8px rgba(226, 160, 27, 0.801); /* Efecto de sombra cuando se hace clic */
}

/* test */
.container1 {
  max-width: 600px;
  margin: 50px auto;
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeIn 1s forwards;
  text-align: center; /* Justificar texto */
}

/* Animación de entrada */
@keyframes fadeIn {
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Botón principal centrado */
.btn-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.btn {
  background: #ff9800;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
}

.btn:hover {
  background: #e68900;
  transform: scale(1.05);
}

/* Ocultar test al inicio */
.hidden {
  display: none;
}

/* Botones de respuestas */
.option-btn {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 12px;
  background: #eee;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(10px);
  opacity: 0;
  animation: slideUp 0.5s forwards;
  text-align: center;
}

.option-btn:hover {
  background: #ddd;
  transform: scale(1.05);
}

/* Animación de entrada de opciones */
@keyframes slideUp {
  to {
      transform: translateY(0);
      opacity: 1;
  }
}

/* Barra de progreso */
.progress {
  width: 100%;
  background: #ddd;
  height: 12px;
  border-radius: 10px;
  margin-top: 20px;
  overflow: hidden;
  position: relative;
}

/* Barra de progreso animada */
.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff9800, #e65100);
  transition: width 0.5s ease-in-out;
  position: relative;
}

/* Efecto de onda en la barra de progreso */
.progress-bar::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.3);
  animation: wave 2s infinite linear;
}

@keyframes wave {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Modal emergente */
.modal {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

/* Contenido del Modal */
.modal-content {
  background-color: white;
  padding: 30px;
  width: 50%;
  text-align: center;
  border-radius: 15px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
  animation: modalPop 0.5s ease-in-out;
  text-align: justify; /* Justificar texto */
} 

/* Animación del Modal */
@keyframes modalPop {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
  
}

/* Mostrar modal correctamente */
.show-modal {
  display: flex !important;
}


/* Docentes */
/* Contenedor */
.container2 {
  max-width: 1000px;
  margin: auto;
  padding: 40px; 
}

/* Estilos de la Card */
.docente-card {
  display: flex;
  flex-direction: column; /* Asegura que el contenido se apile bien */
  align-items: center; /* Centra el contenido dentro de la card */
  background: linear-gradient(135deg, #ffffff, #f0f0f0);
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 400px; /* Tamaño fijo */
  min-height: 230px;
  border: 2px solid transparent;
  overflow: hidden;
}

/* Efecto Hover */
.docente-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  border-color: #ffa500;
}

/* Imagen dentro de la Card */
.docente-card img {
  width: 130px;
  height: 130px;
  border-radius: 10px;
  object-fit: cover;
  border: 3px solid #ffa500;
  transition: transform 0.3s ease-in-out;
}

/* Efecto en la imagen */
.docente-card:hover img {
  transform: rotate(-5deg) scale(1.1);
}

/* Información */
.docente-info {
  flex: 1;
  padding: 0 15px;
}

.btn-expand:hover {
  background-color: #e68a00;
  transform: scale(1.1);
}

/* Estilo especial para invertir la card */
.docente-card.invertida {
  flex-direction: row-reverse; /* Invierte la dirección de los elementos */
  text-align: right;
}

.texto-docente {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 10px;
  background: linear-gradient(90deg, #ffa500, #ff7b00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 5px rgba(255, 123, 0, 0.4);
  position: relative;
  display: inline-block;
}

/* Línea decorativa debajo */
.contenedor-texto {
  display: flex;
  justify-content: center; /* Centra horizontalmente */
  align-items: center; /* Centra verticalmente */
}
.texto-docente::after {
  content: "";
  display: block;
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, #ffa500, #ff7b00);
  margin: 8px auto 0;
  border-radius: 5px;
}

/* Efecto hover */
.texto-docente:hover {
  transform: scale(1.05);
  transition: all 0.3s ease-in-out;
}


.modal-backdrop {
  display: none !important;
}

/* noticias pag */
.modal {
  display: none; /* Inicialmente oculto */
  position: fixed;
  z-index: 1; /* Asegura que el modal esté sobre el contenido */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4); /* Fondo oscuro semi-transparente */
  padding-top: 60px;
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


