.body-web{
  position: relative;
}



.absolute-menu-secundario{
  position: fixed;
  bottom: 0;
  z-index: 9;
  width: 100%;
}


.absolute-menu-secundario{
  display: none;
 
}


.menu-secundario{
  background-color: #fff;
    padding: 10px;
    width: 100%;
    display: flex
;
    justify-content: space-around;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

.item-menu-secundario{
      display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.menu-secundario a{
  text-decoration: none;
}

.svg-menu-secundario{
  width: 25px;
  height: 25px;
}

.svg-menu-secundario svg{
  width: 100%;
}

.span-menu-secundario span{ 
font-size: 10px;
font-weight: 500;
color: #575756;
}

.banners {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flecha-izquierda-banner {
  position: absolute;
  left: 20px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  background-color: rgb(245, 245, 245, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.flecha-izquierda-banner svg {
  width: 30%;
  height: 100%;
}

.flecha-derecha-banner {
  position: absolute;
  right: 20px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  background-color: rgb(245, 245, 245, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.flecha-derecha-banner svg {
  width: 30%;
  height: 100%;
}

/* Contenedor del carrusel, se usa flex para alinear las imágenes horizontalmente */
.div-banner {
  display: flex;
  flex-direction: row; /* Alineamos las imágenes en una fila horizontal */
  width: 100%;
  transition: transform 1s ease-in-out; /* Animación para el deslizamiento */
}
.banners-mobile {
  display: none;
}
/* Estilo para cada imagen de banner */
.img-banner {
  width: 100%; /* Cada imagen ocupará un 100% del ancho del contenedor */
  display: block; /* Las imágenes se mostrarán de forma continua */
  cursor: pointer;
}

/* Ocultar los banners que no deben ser visibles */
.img-banner.hidden {
  display: none;
}

.img-banner-2 {
  width: 100%; /* Cada imagen ocupará un 100% del ancho del contenedor */
  display: block; /* Las imágenes se mostrarán de forma continua */
  cursor: pointer;
}

/* Ocultar los banners que no deben ser visibles */
.img-banner-2.hidden {
  display: none;
}

/* Asegura que las imágenes ocupen todo el espacio del contenedor */
.img-banner img {
  width: 100%;
  height: auto; /* Mantiene la proporción de las imágenes */
}

.img-banner-2 img {
  width: 100%;
  height: auto; /* Mantiene la proporción de las imágenes */
}

/* Banner visible, sin modificaciones */
.img-banner.active {
  display: block;
}

.img-banner-2.active {
  display: block;
}

.div-convenios {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-direction: column;
  padding: 25px;
}
.div-convenios h4 {
  font-size: 38px;
  color: #575756;
  font-weight: 600;
  margin: 0;
  margin-bottom: 1rem;
}

.lista-convenios {
  display: flex; /* Usamos Flexbox para organizar los elementos en fila */
  justify-content: space-between; /* Espacio uniforme entre los elementos */
  align-items: center; /* Alineación vertical centrada */
  gap: 20px; /* Espacio entre las cajas (puedes ajustar este valor) */
  flex-wrap: wrap; /* Permite que los elementos se ajusten si la pantalla es pequeña */
  padding: 0px 20px;
}

/* Estilo de cada caja que contiene una imagen */
.caja-convenio {
  flex: 1 1 20%; /* Hace que cada imagen ocupe el mismo espacio (30% del contenedor) */
  display: flex;
  justify-content: center; /* Centra la imagen dentro de la caja */
  align-items: center; /* Alinea la imagen verticalmente en el centro */
}

/* Asegurarse de que las imágenes se ajusten bien sin perder calidad */
.caja-convenio img {
  max-width: 100%; /* La imagen puede ajustarse al 100% del contenedor */
  height: auto; /* Mantiene la proporción de la imagen */
  object-fit: contain; /* Asegura que la imagen se adapte sin recortarse */
}

h1 {
  font-size: 55px !important;
  color: #0e2b6d;
  text-align: center;
  font-weight: 700 !important;
}

.div-cursos {
  padding: 90px 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.div-cursos h1 span {
  color: #18a74f;
}
.container-derecha-modalidad h1 {
  text-align: start;
}
.container-derecha-modalidad h1 span {
  color: #18a74f;
}
.galeria-container h1 span {
  color: #18a74f;
}
.parrafo-central-curso p {
  color: #575756;
  text-align: center;
  font-weight: 400;
  margin-bottom: 3rem;
  font-size: 16px;
}

.parrafo-central-curso-testimonios p {
  color: #fff;
  margin-bottom: 2rem;
}

.lista-cursos {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.card-cursos {
  display: grid; /* Usamos CSS Grid */
  grid-template-columns: repeat(3, 1fr); /* Tres columnas iguales */
  gap: 58px; /* Espacio entre las tarjetas */
  padding: 20px 0px;
}

/* Estilo para cada tarjeta */
.curso-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items:center;
  gap: 30px;
}

.card-info-curso {
  border-radius: 25px;

  display: flex;
  flex-direction: column;

  height: auto;
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 1px 1px 5px gray;
  position: relative;
}

.card-info-curso:hover {
  cursor: pointer;
}

.card-imagen {
  position: relative;
  overflow: hidden;
  border-radius: 20px 20px 20px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-imagen img {
  width: 100%; /* La imagen ocupará todo el ancho del contenedor */
  height: 100%; /* La imagen ocupará todo el alto del contenedor */
  object-fit: cover; /* La imagen cubrirá el área sin distorsionarse */
}

.card-imagen-eleccion {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fondo-verde-imagen {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #18a74f;
  border-radius: 50%;
  box-shadow: 5px 5px 0 #f2f3f5;
}

.fondo-verde-imagen svg {
  width: 50%;
}

.card-gradient {
  position: absolute; /* Lo posiciona sobre la imagen */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(14, 43, 109, 0) 0%,
    rgba(14, 43, 109, 1) 100%
  );
  pointer-events: none; /* No interfiere con otros eventos */
}

.card-watermark {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: auto;
}

.card-watermark img {
  width: 100%; /* La imagen de la marca de agua ocupará el tamaño definido */
  height: auto; /* Mantiene la relación de aspecto */
  object-fit: contain; /* Asegura que la imagen se ajuste sin distorsión */
}

.card-text {
  padding: 5px 20px;
}
.card-text p {
  font-size: 18px;
  color: #575756;
  font-weight: 700;

  margin: 0px;
}

.card-text span {
  color: #fec922;
}

.card-tipo-curso {
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-tipo-curso span {
  text-align: center;
  font-weight: 600;
  font-size: 17px;
  color: #333333;
  background: #fec922;
  padding: 2px 20px;
  border-radius: 20px;
  margin: 5px 0px;
}

.card-modalidad-curso {

     width: 30%;
    padding: 5px 20px;
}
.card-modalidad-curso img{
  width: 100%;
}
.card-logo-curso {
  position: absolute;
  z-index: 2;
  top: 15px;
  left: 13px;
  width: 20%;
}

.info-fecha-inicio {
  background: #0e2b6d;
  width: 65%;
  border-radius: 0px 50px 50px 0px;
}

.info-fecha-inicio span {
  font-weight: 600;
}
.curso-info {
  padding: 5px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.curso-info svg {
  width: 30px;
}

.ir-cursos {
  text-decoration: none;
}

.card-info-curso.activo {
  cursor: pointer;
background-color: #E8EAEB;

  transform: scale(1.1) !important;
}
.card-info-curso.activo .caja-mas-informacion{
  background-color: #18A74F;
}
.card-info-curso.activo .caja-mas-informacion p{
 color: #fff;
}

.card-info-curso.activo .caja-antes p{
  color: #575756;
  font-weight: 500;
}
.card-info-curso.activo .info-fecha-inicio {
  background: #14A74F;
}

.card-info-curso.activo .card-gradient {
  background: linear-gradient(
    to bottom,
    rgba(14, 43, 109, 0) 0%,
    rgba(14, 43, 109, 1) 100%
  );
}

.curso-info p {
  margin: 0px;

  color: #6f6f6e;
  font-weight: 400;
  font-size: 15px;
}

.info-fecha-inicio p {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}
.card-info-curso.activo .info-fecha-inicio p {
  font-weight: 600;
}
.curso-info span {
  font-weight: 600;
}

.card-pie {
  padding: 0px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.caja-inversion {
  padding: 5px 10px;
  border-radius: 20px;
}

.caja-inversion p {
  margin: 0px;
  font-weight: 600;
  color: #575756;
  font-size: 18px;
}

.caja-antes p {
  font-weight: 500;
  color: #b3b3b3;
  font-size: 14px;
  text-decoration: line-through;
}

.caja-mas-informacion {
  background: #f2f2f2;
  padding: 10px 92px;
  border-radius: 20px;
  cursor: pointer;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0px 20px 20px 20px;
}

.caja-mas-informacion p {
  margin: 0px;
  font-weight: 700;
  color: #575756;
  font-size: 14px;
  text-align: center;
}

.mas-programas {
  border: 1px solid #18a74f;
  padding: 10px 35px;
  border-radius: 20px;
  margin: 2.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
  position: relative;
   overflow: hidden; /* importante para recortar el pseudo-elemento */
  z-index: 0;
}

.mas-programas p {
  margin: 0px;
  font-weight: 600;
  color: #18a74f;
  font-size: 18px;
}

.div-fondo-marca {
  width: 100%;
  height: auto;
  background-image: url("https://capedu.edu.pe/img/newWeb/marca-agua-gris.png");
  background-size: 30%; /* La imagen cubre todo el div */
  background-position: right; /* Alinea la imagen a la derecha */
  background-repeat: no-repeat; /* No repite la imagen */
}

.div-elegir-capedu {
  background: #ffffff;
  padding: 90px 0px;
  padding-bottom: 180px;
}
.div-elegir-capedu  h1{
  margin-bottom: 2rem;
}
.container-elegir-capedu h1 span {
  color: #18a74f;

}

.card-elecciones {
  display: grid; /* Usamos CSS Grid */
  grid-template-columns: repeat(4, 1fr); /* Tres columnas iguales */
  gap: 30px; /* Espacio entre las tarjetas */
}

.card-elecciones .card-info-curso {
  border-radius: 25px 25px 25px 0px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: none;
  background: #fff;
}

.card-cuerpo-eleccion {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.card-cuerpo-eleccion h6 {
  color: #575756;
  font-weight: 600;
  font-size: 17px;
  text-align: center;
}

.card-cuerpo-eleccion p {
  color: #575756;
  font-weight: 400;
  font-size: 16px;
  text-align: center;
}

.eleccion-card {
  display: flex;
  flex-direction: column;

  justify-content: center;
  gap: 20px;
  align-items:inherit;
}

.div-number span {
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #18a74f;
  color: #fff;
  font-size: 30px;
  font-weight: 600;
}

.div-conocenos {
  padding: 20px 0px;
}

.container-conocenos {
  display: flex;
  justify-content: space-between; /* Asegura que los dos lados tengan espacio equitativo */
}
.conocenos-derecho {
  display: flex;
}

.conocenos-izquierdo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.conocenos-izquierdo,
.conocenos-derecho {
  flex: 1; /* Esto asegura que ambos lados ocupen el mismo espacio */
  padding: 10px; /* Ajusta el padding según tus necesidades */
}

.year-div {
  background: #fec922;
  padding: 0px 20px;
  border-radius: 20px;
}
.year-div p {
  margin: 0px;
  font-size: 69px;
  font-weight: 700;
  color: #0e2b6d;
  text-align: center;
}

.year-parrafo p {
  margin: 0px;
  font-size: 49px;
  font-weight: 700;
  color: #333333;
  line-height: 3.2rem;
}

.boton-year {
  background: #fec922;
  padding: 6px 20px;
  border-radius: 20px;
  width: 25%;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.boton-year:hover {
  transform: scale(1.1) !important;
}
.boton-year p {
  margin: 0px;
  font-size: 20px;
  font-weight: 700;
  color: #333333;
  text-align: center;
}

.container-video {
  position: relative;
}

.container-video img {
  width: 100%; /* Asegura que la imagen ocupe todo el espacio disponible en el lado derecho */
  height: auto; /* Mantiene la relación de aspecto de la imagen */
}

.container-video-2 img {
  width: 100%; /* Asegura que la imagen ocupe todo el espacio disponible en el lado derecho */
  height: auto; /* Mantiene la relación de aspecto de la imagen */
}

.imagen-absolute {
  position: absolute;
  z-index: 1;
  top: 4rem;
  right: -11rem;
  width: 50% !important;
}
.div-contador-capedu {
      position: relative;
    width: 100%;
    height: 400px;
    background-image: url(https://capedu.edu.pe/img/newWeb/bannercontador.png);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    color: white;
    display: flex
;
    align-items: center;
    justify-content: center;
}

.div-contador-capedu::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(14, 43, 109, 0.9);
}


.img-profesor {
  width: 390px;
}
.flex-contenido-contador {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.img-profesor img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.contador-div {
  position: relative;
    z-index: 1;
    display: flex
;
    align-items: center;
   height: 100%;
   justify-content: space-around;
  
}

.container-contador{
  height: 100%;
}

.title-contador span {
  color: #fff;
  font-size: 38px;
  font-weight: 700;
  line-height:2rem;
}

.fotografia-div {
  display: flex;
  justify-content: flex-end;
  height: 100%;
  flex-direction: column;
}

.card-contador {
  display: grid; /* Usamos CSS Grid */
  grid-template-columns: repeat(3, 1fr); /* Tres columnas iguales */
  gap: 50px; /* Espacio entre las tarjetas */
}

.card-svg-contador {
  width: 110px;
  height: 110px;
  background-color: #18a74f;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 25px 25px 25px 0px;
}

.card-svg-contador::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  width: 100%;
  height: 100%;
  border-radius: 25px 25px 25px 0px;
  border: 1px solid #fff;

  z-index: -1;
}

.card-svg-contador svg {
  width: 50%;
  height: 100%;
  object-fit: contain;
}

.card-cuerpo-contador {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  z-index: 0;
}

.card-cuerpo-contador h6 {
  color: #fff;
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  font-variant-numeric: tabular-nums; /* Fija ancho de dígitos */
  display: inline-block;
  min-width: 8ch; /* Asegura espacio para +25 000 */
  white-space: nowrap; /* Evita salto de línea */
}

.card-cuerpo-contador p {
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
}

.img-card-contador {
  position: absolute; /* Para que esté fuera del flujo normal del documento */
  top: -67%; /* Mueve la imagen hacia arriba, ajusta el valor para tu preferencia */
  left: 50%;
  transform: translateX(-50%) !important;
  width: 40%; /* Ajusta el tamaño según lo necesites */
  z-index: 1;
}

.img-card-contador img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.div-alumnos {

  max-width: 1700px !important;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.div-alumnos h1 {
  color: #fff;
}
.div-alumnos h1 span {
  color: #18a74f;
}

.lista-testimonios {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  position: relative;
}

.caja-estrellas {
  display: flex;
  gap: 5px;
  align-items: center;
  
}

.caja-estrellas svg {
  width: 22px;
  height: 22px;
}
.caja-testimonio {
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 30px;
  border-radius: 30px 30px 30px 0px;
  gap: 10px;
  width: 363px;
  height: 393px;
  border-bottom: 8px solid #18A74F;
  position: relative;
}
.absolute-globo{
  position: absolute;
     top: -20px;
    right: -20px;
}

.caja-testimonio-foto {
  width: 77px;
  height: 77px;
  border-radius: 50%;

  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.caja-testimonio-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.caja-testimonio-perfil {
  display: flex;
  align-items: center;
  gap: 10px;
}

.caja-testimonio-datos p {
  font-size: 16px;
  margin: 0px;
  font-weight: 600;
  color: #575756;
}

.caja-testimonio-datos span {
  font-size: 14px;
  margin: 0px;
  font-weight: 400;
  color: #575756;
}

.caja-testimonio-mensaje p {
  font-size: 14px;
  margin: 0px;
  font-weight: 400;
  color: #575756;

}

.circulo-fecha-testimonio {
  width: 160px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border: 2.5px solid #18a74f;
  cursor: pointer;
}

.circulo-fecha-testimonio svg {
  width: 30%;
  height: 100%;
  object-fit: cover;
}

.caja-testimonio-prev,
.caja-testimonio-des {
  filter: blur(3.5px);
}

.caja-testimonio-principal {
  transform: scale(1.1) !important;
}

.modalidad-button {
  background-color: #18a74f;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 10px;
  max-width: max-content;
  cursor: pointer;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.modalidad-button span {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
}

.modalidad-button:hover{
  cursor: pointer;
}

.modalidad-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;             /* lo hacemos enorme para cubrir todo */
  aspect-ratio: 1 / 1;     /* 🔥 asegura que sea un círculo perfecto */
  background: #0e2b6d;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;             /* detrás del texto */
  pointer-events: none;
  will-change: transform;
}

.modalidad-button:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.modalidad-button:hover span{
  color: #fff;
}



.caja-modalidad {
  position: relative;
  width: 400px; /* ajusta al tamaño que quieras */
  height: auto;
  overflow: hidden;
  border-radius: 50px 50px 0px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.caja-modalidad img {
  width: 100%;
}
.card-gradient-modalidad {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #18a74f96;
}

.descripcion-absolute {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
}

.svg-modalidad {
  width: 50px;
}

.svg-modalidad svg {
  width: 100%;
}

.texto-modalidad span {
  font-weight: 600;
  font-size: 18px;
  color: #fff;
}

.parrafo-modalidad p {
  font-weight: 400;
  font-size: 16px;
  color: #fff;
  text-align: center;
  margin: 0;
}

.flex-modalidad {
  display: flex;
  gap: 30px;
  align-items: center;
}
.container-derecha-modalidad p {
  color: #575756;
  font-size: 16px;
  font-weight: 400;
}

.img-animados {
  width: 510px;
}

.img-animados img {
  width: 100%;
}

.container-derecha-modalidad {
  display: flex;
}

.flecha-izquierda-modalidad,
.flecha-derecha-modalidad {
  width: 10px;
  cursor: pointer;
}

.flecha-izquierda-modalidad svg,
.flecha-derecha-modalidad svg {
  width: 100%;
}

.container-izquierda-modalidad {
  display: flex;
  align-items: center;
  gap: 20px;
}

.conjunto-izquierda {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.modalidades-estudio,
.convenios {
  padding: 90px 0px;
}

.barra-tipo-curso {
  position: absolute;
  z-index: 2;
  right: -25px;
  top: 40px;
}

.span-tipo {
  background-color: #e20919;
  border-radius: 20px 20px 0px 20px;
  max-width: 135px;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 33px;
}

.span-tipo span {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 10px;
  text-align: center;
}

.docentes-background {
  position: relative;
  width: 100%;
  height: 833px;
  background-image: url("https://capedu.edu.pe/img/newWeb/docentesimg.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.docentes-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  background-color: rgba(14, 43, 109, 0.9);
}
.docentes-principales-div {
  position: relative;
  z-index: 1; /* Asegura que el contenido esté por encima del pseudo-elemento */

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.docentes-principales-div h1 {
  color: #fff;
  font-size: 55px;
  text-align: center;
  font-weight: 700;
}

.docentes-principales-div p {
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  margin: 0;
}

.cards-docentes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 90px;
  margin-top: 70px;
}

.card-docente {
  border-radius: 35px 35px 35px 0px;
  background-color: #fff;
  width: 320px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  padding: 20px;
  gap: 5px;
  position: relative;
  
}

.card-docente:hover{
  cursor: pointer;
}

.foto-docente {
  width: 283px;
  height: 283px;
  border-radius: 20px 20px 20px 0px;
}

.foto-docente img {
  width: 100%;
  height: 100%;
  border-radius: 20px 20px 20px 0px;
}

.info-docente p {
  color: #575756;
  font-size: 14px;
  font-weight: 600;
  margin: 0px;
  text-align: start;
}

.year-experiencia {
  background-color: #18a74f;
  padding: 3px 20px;
  border-radius: 20px;
}

.year-experiencia span {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
}

.absolute-avatar {
  position: absolute;
  top: -30px;
  right: -50px;
}

.foto-avatar {
  width: 112px;
  height: 112px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.img-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  overflow: hidden;
}

.img-avatar img {
  width: 100%;
  height: 100%;
}

.ver-mas-docentes {
  width: max-content;
  border: 1px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 35px;
  border-radius: 50px;
  margin-top: 20px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.ver-mas-docentes::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;             /* lo hacemos enorme para cubrir todo */
  aspect-ratio: 1 / 1;     /* 🔥 asegura que sea un círculo perfecto */
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;             /* detrás del texto */
  pointer-events: none;
  will-change: transform;
}

.ver-mas-docentes:hover::before {
  transform: translate(-50%, -50%) scale(1);
}
.ver-mas-docentes:hover{
  border: none;
  cursor: pointer;
}



.ver-mas-docentes span {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}
.ver-mas-docentes:hover span{
  color: #0e2b6d;
}

.caja-convenio:hover{
  cursor: pointer;
}

.div-galeria {
  padding: 80px 0px;
}

.galeria-masonry {
  column-count: 3;
  column-gap: 15px; /* espacio horizontal entre columnas */
  padding: 15px;
  box-sizing: border-box;
}

.foto-galeria {
  break-inside: avoid;
  margin-bottom: 15px;
  width: 356px;
}

.foto-galeria img {
  width: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

/* tus estilos personalizados por orden */
.estilo-a img {
  border-radius: 30px 30px 30px 0px;
  height: 265px;
}

.estilo-b img {
  border-radius: 30px 30px 30px 0px;

  height: 446px;
}

.estilo-c img {
  border-radius: 30px 30px 30px 0px;
  height: 356px;
}


.arrow-galeria svg {
  width: 100%;
}

.flex-galeria {
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonios-background {
  position: relative;
  width: 100%;
  height: 833px;
  background-image: url(https://capedu.edu.pe/img/newWeb/backgroundtestimonios.jpg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonios-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(14, 43, 109, 0.9);
}

.globo-verde{
  width: 56px;
  height: 56px;
  background-color: #18A74F;
  border-radius: 50% 50% 50% 0%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.globo-verde svg{
  width:50%;
}

.docente-absolute-imagen{
       position: absolute;
    z-index: 2;
    bottom: 0;
 right: 9rem;
}

.container-imagen-docente{
  width: 352px;
}

.container-imagen-docente img{
  width: 100%;
}

.cambia-slide-verde{
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #18A74F;
  cursor: pointer;
  transition: width .25s ease, border-radius .25s ease; /* ← suaviza */
}

/* ya lo tienes */
.cambia-slide-verde.active{
  width: 40px;
  border-radius: 15px;
}

/* opcional: respeta accesibilidad */
@media (prefers-reduced-motion: reduce){
  .cambia-slide-verde{ transition: none; }
}


.div-arrow-slides{
    position: relative;
    z-index: 2;
    margin-top: 2rem;
    display: flex
;
    gap: 10px;
}


.card-anim:hover .eleccion-card .fondo-verde-imagen  {
    transform: rotateY(360deg);
  transition: transform 0.6s ease; /* ajusta duración si lo deseas */
}

.contador-card:hover .card-svg-contador::before{
left: 0;
top: 0;
 transition: transform 0.6s ease;
}

.container-vivo-item{
  display: flex;
 justify-content: space-between;
 align-items: center;
}
.card-imagen-curso::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
    transform: skew(-25deg);
    z-index: 2;
}

.card-info-curso:hover .card-imagen-curso::before {
    animation: hoverShine 1.2s ease forwards;
}

.card-info-curso:hover {
       border-right: 5px solid #14A74F;
    border-bottom: 5px solid #14A74F;
}

.card-info-curso:hover .caja-mas-informacion{
  background-color: #18A74F;
}


.card-info-curso:hover .caja-mas-informacion p{
  color:#fff;
}

@keyframes hoverShine {
    0% {
        left: -100%;
    }
    100% {
        left: 125%;
    }
}


.mas-programas::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;             /* lo hacemos enorme para cubrir todo */
  aspect-ratio: 1 / 1;     /* 🔥 asegura que sea un círculo perfecto */
  background: #14A74F;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;             /* detrás del texto */
  pointer-events: none;
  will-change: transform;
}

.mas-programas:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.mas-programas:hover p{
  color: #fff;
}

.lista-circulos, .lista-circulos-eleccion, .lista-circulos-docentes{
  display: none;
}
.circulo-verde{
  background: rgba(24, 167, 79, 0.35);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  cursor: pointer;
}

.circulo-blanco{
  background: rgba(255, 255, 255, 0.35);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  cursor: pointer;
}
.circulo-verde.active{
  background: rgba(24, 167, 79, 1);

  transform: scale(1.15);
}
.circulo-blanco.active{
  background: rgba(255, 255, 255, 1);

  transform: scale(1.15);
}


.item-menu-secundario:hover .cls-menusecundario{
   fill:#18A74F
}
.item-menu-secundario:hover .cls-menusecundario2{
   stroke:#18A74F
}


.item-menu-secundario:hover .span-menu-secundario span{
  color:#18A74F;
  font-weight: 700;
}

.arrow-galeria{
  display: none;
  width: 15px;
  height: 15px;
}

@media (min-width: 1510px) and (max-width: 1700px) {
  .docente-absolute-imagen{
     
 right: 0rem;
}
}
@media (min-width: 768px) and (max-width: 1510px) {
  .container-imagen-docente {
    width: 285px;
}
  .docente-absolute-imagen{
     
 right: 0rem;
}
}


@media (min-width: 768px) and (max-width: 1280px) {
  .caja-modalidad{
    width: 330px;
  }

  h1{
    font-size: 32px !important;
  }

  p{
    font-size: 14px !important;
  }

  .card-cuerpo-eleccion h6{
    font-size: 15px;
  }
  .modalidad-button span{
    font-size: 14px
  }
  .img-animados{
    width: 338px;
  }
  .div-convenios h4{
    font-size: 32px;
  }
  .title-contador span{
    font-size: 32px;
  }
  .ver-mas-docentes span{
    font-size: 14px;
  }


}

@media (max-width: 991px){


 .banners-web {
    display: none;
  }
  .banners-mobile {
    display: flex;
  }
.flecha-izquierda-banner  {
    position: absolute;
    left: 5px;
    width: 40px;
    height: 40px;

}
.flecha-derecha-banner{
 position: absolute;
    right: 5px;
    width: 40px;
    height: 40px;
}
.div-cursos .parrafo-central-curso{
  display: none;
}
h1{
  font-size: 20px !important;
}

p{
  font-size: 14px !important;
}

.card-info-curso.activo{
    transform: scale(1) !important;
}

.span-tipo span{
  font-size: 12px;
}

.span-tipo{
  width: 105px;
}
.barra-tipo-curso{
  right: -2px;
}
.card-cursos{
  grid-template-columns: repeat(1, 1fr);
}
.lista-circulos, .lista-circulos-eleccion, .lista-circulos-docentes{
  display: flex;
  gap: 10px;
  
}

  .card-cursos{ touch-action: pan-y; } /* permite desplazar vertical y evita “arrastres” raros */
  .card-cursos{ grid-template-columns: 1fr; }
  .card-cursos > a.ir-cursos{ display:none; }
  .card-cursos > a.ir-cursos.is-current{ display:block; }


 .card-elecciones{ touch-action: pan-y; grid-template-columns: 1fr; }
  .card-elecciones > .card-anim{ display: none; }
  .card-elecciones > .card-anim.is-current{ display: block; }

.container-elegir-capedu{
  display: flex
;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.mas-programas{
  margin-top: 1rem;
}

.div-cursos{
  padding-bottom: 1rem;
}
.div-elegir-capedu{
  padding:20px;
}



.fotografia-div,.title-contador{
  display:none;
}
.card-contador {
    display: grid
;
    grid-template-columns: repeat(1, 1fr);
    gap: 0px;
}

.div-contador-capedu{

   background: url(https://capedu.edu.pe/img/newWeb/contadormovil.png)
              no-repeat left center / cover; /* <— enfoca el lado izquierdo */
              height: 480px;
}

.contador-card{
  flex-direction: row;
}

.img-animados{
  display: none;
}

.container-derecha-modalidad p{
  display: none;
}
.modalidad-button{
  display: none;
}

.flex-modalidad{
  flex-direction: column-reverse;
}

.caja-modalidad{
  width: auto;
}

.container-derecha-modalidad h1{
  text-align: center;
}

.docentes-principales-div p{
  display: none;
}

.ver-mas-docentes{
  padding: 3px 35px;
  margin-top: 5px;
}
.ver-mas-docentes span{
  font-size: 14px;
}
 .cards-docentes{ touch-action: pan-y; grid-template-columns: 1fr; }
  .cards-docentes > .card-docente{ display: none; }
  .cards-docentes > .card-docente.is-current{ display: block; }

  .absolute-avatar{
    right: -10px;
  }

  .docentes-principales-div{
    gap: 15px;
  }

  .docentes-background{
    height: auto;
    padding:30px 0px;
  }
  .div-convenios h4{
    font-size: 20px;
    text-align: center;
  }

  .caja-convenio{
        flex: 1 1 100%;
  }

  .docente-absolute-imagen,.parrafo-central-curso-testimonios{
    display: none;
  }

  .caja-testimonio{
    width: 300px;
    height: 350px;
  }

  .testimonios-background{
    height: 600px;
  }

  .galeria-container .parrafo-central-curso{
    display: none;
  }

 
  .absolute-menu-secundario{
    display: flex;
  }

  .card-info-curso:hover {
    border-right: none;
    border-bottom: none;
}
 .card-anim:hover .eleccion-card .fondo-verde-imagen  {
    transform: none !important;
    transition: none !important;
  }
.contador-card:hover .card-svg-contador::before {
    left: 10px !important;
    top: 10px !important;
    transition: none !important;
  }
  .card-svg-contador::before {
    display: none;
  }

  .info-docente p{
    display: flex;
  }

  .galeria-masonry {
  column-count: 1 ;
  column-gap: 15px; /* espacio horizontal entre columnas */
  padding: 15px;
  box-sizing: border-box;
}
.arrow-galeria{
  display: flex;
}
.flex-galeria{
  justify-content: space-between;
}

.div-elegir-capedu h1{
  margin-bottom: 0.5rem;
}

.div-cursos{
  padding:20px 0px;
}

.mas-programas{
  margin:0.5rem;
}



.card-docente{
  width: auto;
}

.foto-docente{
  width: 210px;
  height: 210px;
}

.img-avatar {
    width: 80px;
    height: 80px;
}

.foto-avatar {
    width: 100px;
    height: 100px;
}
.cards-docentes{
  margin-top: 5px;
}

.lista-convenios{
  padding:0 50px;
}
    .testimonios-background {
        height: auto;
        padding: 30px;
    }

    .img-logo img{
     max-width: 130px !important;
    }

    .foto-galeria{
      width: auto;
    }
    
      .foto-galeria img{
    height: 265px !important;
    }
    
    .card-info-curso  p{
        font-size:12px !important;
    }
    
        .card-info-curso svg{
            width:15px;
        }
        
        .card-info-curso .curso-card{
            padding:10px;
        }
        
        .fondo-verde-imagen svg{
            width:50% !important;
        }
        
        .card-cursos{
            padding:5px 0px 10px;
        }
}


