.titulo-seccion {
  font-family: Nunito;
  font-weight: 800;
  font-size: 50px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  color: #004369 !important;
}

.tit-item-seccion {
  font-family: Nunito;
  font-weight: 900;
  font-size: 28px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  color: #fff;
}

.cont-item-seccion {
  font-family: Nunito;
  font-weight: 400;
  font-size: 24px !important;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  color: #fff;
}

.item-adaptacion {
  font-family: Nunito;
  font-weight: 700;
  font-size: 30px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
}

.cont-item-adaptacion {
  font-family: Nunito;
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: bottom;
  color: #545454 !important;
}

.img-nivel {
  width: 100% !important;
  border-top-left-radius: 20px !important;
  border-top-right-radius: 20px !important;
}

.nombre-nivel {
  font-family: Nunito;
  font-weight: 600;
  font-size: 30px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #F8942C !important;
}

.edad-nivel {
  font-family: Nunito;
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: right;
  vertical-align: middle;
  color: #3DB21A !important;
}

.cont-nivel {
  font-family: Nunito;
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: left !important;
  color: #545454 !important;
}

.hora-nivel {
  font-family: Nunito;
  font-weight: 400;
  font-size: 15px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  color: #004AAD !important;
}

.sub-title-nivel {
  font-family: Nunito;
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  color: #808080 !important;
}

.text-solicita {
  font-family: Preahvihear;
  font-weight: 400;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #FFDE00 !important;
}

.text-matriculate {
  font-family: Preahvihear;
  font-weight: 400;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #3DB21A !important;
}

.tit-footer {
  font-family: Nunito;
  font-weight: 700;
  font-size: 30px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #FFDE00 !important;
}

.fondo-actividades {
  background-image: url('/images/fondo1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.fondo-niveles {
  background-image: url('/images/fondo2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.titulo-grande {
  font-family: Nunito;
  font-weight: 700;
  font-size: 100px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  color: #fff !important;
}

.fondo-planadocente {
  background-image: url('/images/fondo3.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.nombre-docente {
  font-family: Nunito;
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  color: #545454 !important;
}

.esp-docente {
  font-family: Nunito;
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  color: #004AAD !important;
}

.tit-admision {
  font-family: Nunito;
  font-weight: 600;
  font-size: 30px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  color: #004369 !important;
}

#portfolio-flters {
  display: inline-flex;
  overflow-x: auto;
  justify-content: center;
  list-style: none;
  background: #004369 !important;
  border-radius: 20px !important;
}

@media (max-width: 768px) {
  #portfolio-flters {
    flex-direction: column;
    align-items: center;
  }

  #portfolio-flters .btn {
    white-space: normal !important;
  }
}

#portfolio-flters .btn {
  white-space: nowrap;
}

.btn-nosel {
  font-family: Nunito;
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  color: #fff;
}

.btn-nosel:hover {
  color: #fff;
}

.btn-nosel:active {
  color: #fff !important;
  border: none !important;
}

#portfolio-flters .btn.active {
  background-color: #F8942C;
  /* Color azul Bootstrap */
  color: white;
  border-color: #F8942C;
}

.portfolio-item>div {
  /* tus estilos aquí */
  border: 5px solid #FFDE00;
  border-radius: 10px;
}

.txt-fecha {
  font-family: Nunito;
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  color: #309910 !important;
}

.nav-link {
  color: #9E9E9E;
}

.nav-link.active {
  color: #004369 !important;
}

.nav-link:hover {
  color: #004369 !important;
}

@media (max-width: 768px) {
  .custom-col {
    width: 100% !important;
  }
}

@media (min-width: 769px) {
  .custom-col {
    width: 29% !important;
    max-width: 29% !important;
  }
}

@media (max-width: 767.98px) {
  .titulo-seccion {
    font-size: 25px;
    /* tamaño reducido para móviles */
  }
}

@media (max-width: 767.98px) {
  .titulo-grande {
    font-size: 50px;
    /* tamaño reducido para móviles */
  }
}

.item-blog {
  width: 25% !important;
}

@media (max-width: 767.98px) {
  .item-blog {
    width: 100% !important;
    padding-left: 1rem !important;
    /* opcional: ajusta según tu diseño */
    padding-right: 1rem !important;
    /* opcional: ajusta según tu diseño */
  }
}

@media (max-width: 768px) {
  .card-responsive {
    width: 100% !important;
  }
}

@media (min-width: 769px) {
  .card-responsive {
    width: 28% !important;
  }
}

.docente-card {
  width: 30% !important;
  background-color: #fff;
  border-radius: 20px;
  border: 2px solid #004AAD !important;
}

@media (max-width: 767.98px) {
  .docente-card {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

.tit-contacto {
  font-family: Nunito;
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #fff !important;
}

.cont-contacto {
  font-family: Nunito;
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #fff !important;
}




.image-container {
  position: relative;
}

.image-container .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-container:hover .overlay {
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 1;
}

.btn-svg {
  position: absolute;
  bottom: 10px;
  right: 10px;
  border: none;
  background-color: #F8942C;
  border-radius: 50%;
  padding: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-svg:hover {
  background-color: #F8942C;
}

.btn-svg img {
  width: 30px;
  height: 30px;
}

.btn-hover-grow {
  transition: transform 0.2s ease !important;
}

.btn-hover-grow:hover {
  transform: scale(1.25) !important;
  /* Expande en un 5% */
}

.btn-hover-grow-video {
  transition: transform 0.2s ease !important;
}

.btn-hover-grow-video:hover {
  transform: translate(-50%, -50%) scale(1.25) !important;
}

.btn-hover-grow-adm {
  transition: transform 0.2s ease !important;
}

.btn-hover-grow-adm:hover {
  border-color: #FFDE00 !important;
  transform: scale(1.08) !important;
}

.btn-hover-grow-platform {
  transition: transform 0.2s ease !important;
}

.btn-hover-grow-platform:hover {
  transform: translateY(-6px);
  /* sube 6px */
}

.btn-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  border: none;
  z-index: 1;
}

.tit-videos {
  font-family: Nunito;
  font-weight: 800;
  font-size: 50px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  color: #004369 !important;
}

/* Estilos para las flechas */
.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background-color: white;
  /* Fondo blanco */
  border-radius: 50%;
  /* Forma redonda */
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
  /* Un poco de transparencia */
}

/* Hover para mejor efecto */
.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

.videos-carousel.carousel-control-prev:hover,
.videos-carousel.carousel-control-next:hover {
  opacity: 1;
}

.videos-carousel.carousel-control-prev {
  left: 40px;
}

/* Separar las flechas de los bordes */
.carousel-control-prev {
  left: 40px;
  /* Ajusta la distancia desde el borde izquierdo */
}

.carousel-control-next {
  right: 40px;
  /* Ajusta la distancia desde el borde derecho */
}

.w-90 {
  width: 90% !important;
}

.transition {
  transition: transform 0.4s ease;
}

.images-acont-carousel {
  width: 50px;
  height: 50px;
  background-color: #A7A1A1;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.9;
  padding: 10px;
  z-index: 10;
  transition: background-color 0.3s ease;
}

/* Imagen blanca por defecto */
.images-acont-carousel .arrow-icon {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

/* Al hacer hover en el botón, cambia la flecha a azul */
.images-acont-carousel:hover .arrow-icon {
  filter: brightness(0) saturate(100%) sepia(100%) hue-rotate(190deg) saturate(400%) brightness(0.9);
  /* azul #004AAD */
}

.images-acont-carousel.carousel-control-prev:hover,
.images-acont-carousel.carousel-control-next:hover {
  opacity: 1;
}

.images-acont-carousel.carousel-control-prev {
  left: 40px;
}


/* Estilo base para ambos botones */
.videos-carousel {
  width: 50px;
  height: 50px;
  background-color: #A7A1A1;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.9;
  padding: 10px;
  z-index: 10;
  transition: background-color 0.3s ease;
}

#prevImgBtn {
  left: -30px;
}

#nextImgBtn {
  right: -30px;
}

/* Ajuste de posición */
#prevVideoBtn {
  left: -30px;
}

#nextVideoBtn {
  right: -30px;
}

/* Imagen blanca por defecto */
.videos-carousel .arrow-icon {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

/* Al hacer hover en el botón, cambia la flecha a azul */
.videos-carousel:hover .arrow-icon {
  filter: brightness(0) saturate(100%) sepia(100%) hue-rotate(190deg) saturate(400%) brightness(0.9);
  /* azul #004AAD */
}

.card-docente-border {
  width: 50%;
  height: 210px;
  overflow: hidden;
  border-radius: 20px;
  border: 3px solid #004AAD;
}

.item-img-card-docente {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25% !important;
}

.docente-card {
  background-color: transparent;
  transition: background-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* Animación de relleno desde abajo */
.docente-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background-color: #004AAD;
  /* Color final del fondo */
  z-index: 0;
  transition: height 0.4s ease;
}

.docente-card:hover::before {
  height: 100%;
}

/* Asegurar que el contenido esté encima del pseudo-elemento */
.docente-card>* {
  position: relative;
  z-index: 1;
}

/* Cambiar border de imagen */
.docente-card:hover .card-docente-border {
  border: 3px solid #FFDE00;
  transition: border 0.3s ease;
}

/* Cambiar color del nombre */
.docente-card:hover .nombre-docente {
  color: white !important;
  transition: color 0.3s ease;
}

/* Cambiar color de especialidad */
.docente-card:hover .esp-docente {
  color: #FFDE00 !important;
  transition: color 0.3s ease;
}

/* Desactiva arrastre con mouse o touch */
#carouselAdaptaciones {
  pointer-events: none;
}

/* Transición desde la derecha */
.carousel-item {
  transition: transform 0.8s ease-in-out;
}

.contenedor-imagen {
  position: relative;
  display: inline-block;
}

.contenedor-imagen img {
  display: block;
  max-width: 100%;
  height: auto;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20%;
  background: #004AADBF !important;
  color: white !important;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.contenedor-imagen:hover .overlay {
  opacity: 1;
}

.txt-subtitle {
  font-family: Nunito;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
}