@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://cdn-uicons.flaticon.com/2.3.0/uicons-solid-rounded/css/uicons-solid-rounded.css");
@import url("https://fonts.googleapis.com/css2?family=Playwrite+MX:wght@100..400&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
html {
  scroll-behavior: smooth;
}
body {
  width: 100%;
  overflow-x: hidden;
}
.container {
  margin: auto;
}
.elementor-heading-title {
  color: #1d1d1b;
  font-family: "Montserrat", sans-serif;
  font-size: 35px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 20px 0;
}
/* Header Top Bar */
.wrapper .multi_color_border {
  width: 100%;
  height: 5px;
  background: linear-gradient(
    to right,
    #333972 0%,
    #b61313 15%,
    #002dbf 35%,
    #b61313 50%,
    #0013bf 75%,
    #706f6f 100%
  );
}


.wrapper .top_nav {
  width: 100%;
  height: 50px;
  background: #333972;
  padding: 0 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wrapper .top_nav .left {
/*   width: 100%; */
  display: flex;
  align-items: center;
}
.wrapper .top_nav .right ul {
  display: flex;
}
.wrapper .top_nav .right ul li {
  color: #fff;
  letter-spacing: 2px;
}
.wrapper .top_nav .right ul li a {
  display: flex;
  align-items: center;
  justify-content: center; 
  gap: 8px; 
  color: #fff;
  font-size: 15px;
  text-decoration: none;
}
.wrapper .top_nav .right ul li a i {
  margin-right: 10px;
  font-size: 18px;
  vertical-align: middle;
}
.marquee {
  width: 100%;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
}
.marquee div {
  animation: animate 10s linear infinite;
  padding-left: 100%;
  display: inline-block;
  color: #fff;
}
@keyframes animate {
  100% {
    transform: translate(-100%, 0);
  }
}
@media (max-width: 768px) {
  .wrapper {
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    margin: 0;
  }
  .left,
  .right {
    width: 100%;
    text-align: center;
  }
  .left {
    margin-left: -80px;
  }
  .right {
    text-align: right;
    margin-top: 10px;
  }
  .right ul {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  .right ul li {
    margin-left: 0;
    margin-bottom: 10px;
  }
  .right ul li:first-child {
    display: none;
  }
  .right ul li:last-child {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .right ul li:last-child a {
    display: flex;
    align-items: center;
    gap: 5px;
  }
}
/*header*/
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
}
.header {
  position: relative;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 99;
}
.header.active .header-main {
  position: fixed;
  top: 0;
  left: 0; /* Asegura que el header inicie en el borde izquierdo */
  width: 100vw; /* Ocupa todo el ancho de la pantalla */
  height: 80px;
  z-index: 999;
  background: #333972;
}
.header-main {
  position: fixed;
  left: 0; /* Asegura que el header inicie en el borde izquierdo */
  width: 100vw; /* Ocupa todo el ancho de la pantalla */
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.5s ease;
}

.logo {
  width: 150px; /* Ajusta el tamaño según prefieras */
  height: auto; /* Mantiene la proporción del logo */
}
.realseimg{
  width: 40%; /* Ajusta el tamaño según prefieras */
  height: auto; /* Mantiene la proporción del logo */

}
.header-main .logo {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
}
.header .logo img {
  margin-left: -100px;
}
.header .nav-menu {
  padding: 0 10px;
  text-decoration: none;
}
.header .menu > .menu-item {
  align-items: center;
  display: inline-block;
  position: relative;
}
.header .menu > .menu-item > a {
  display: block;
  padding: 12px 5px;
  font-size: 15px;
  color: #fff;
  text-transform: capitalize;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.header .menu > .menu-item > a .plus {
  display: inline-block;
  height: 12px; /* Tamaño del círculo */
  width: 12px; /* Tamaño del círculo */
  position: relative;
  margin-left: 5px; /* Espacio entre el texto y el círculo */
  border: 2px solid red; /* Contorno inicial */
  border-radius: 50%; /* Hace que sea un círculo */
  transition: background-color 0.3s, border-color 0.3s; /* Transiciones suaves */
}

/* Efecto al pasar el mouse */
.header .menu > .menu-item:hover > a .plus,
.header .menu > .menu-item.selected > a .plus {
  background-color: red; /* Llena el círculo de rojo */
  border-color: red; /* Cambia el color del contorno a rojo */
}

/* Efecto para marcar la opción principal */
.header .menu > .menu-item.selected > a,
.header .menu > .menu-item.selected > a .plus {
  color: #e91e63; /* Cambia el color del texto de la opción principal */
}

.header .menu > .menu-item > a .plus:after {
  transform: translate(-50%, -50%) rotate(-90deg);
}
.header .menu > .menu-item > .sub-menu > .menu-item > a:hover,
.header .menu > .menu-item:hover > a {
  color: #e91e63;
}
.header .menu > .menu-item > .sub-menu {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  width: 220px;
  position: absolute;
  left: 0;
  top: 100%;
  background-color: #ffffff;
  padding: 10px 0;
  border-top: 3px solid #e91e63;
  transform: translateY(10px);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}
@media (min-width: 992px) {
  .header .menu > .menu-item-has-children:hover > .sub-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .header .menu > .menu-item-has-children:hover > a .plus:after {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}
.header .menu > .menu-item > .sub-menu > .menu-item {
  display: block;
}
.header .menu > .menu-item > .sub-menu > .menu-item > a {
  display: block;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #000000;
  transition: all 0.3s ease;
  text-transform: capitalize;
}
.header .open-nav-menu {
  height: 34px;
  width: 40px;
  margin-right: 20px; /* Cambiado para mover más a la derecha */
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  right: 20px; /* Ajuste adicional para alinear bien a la derecha */
}
.header .open-nav-menu span {
  display: block;
  height: 3px;
  width: 24px;
  background-color: #fff;
  position: relative;
}
.header .open-nav-menu span:before,
.header .open-nav-menu span:after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  box-sizing: border-box;
}
.header .open-nav-menu span:before {
  top: -7px;
}
.header .open-nav-menu span:after {
  top: 7px;
}
.header .close-nav-menu {
  height: 40px;
  width: 40px;
  background-color: #ffffff;
  margin: 0 0 15px 15px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}
.header .close-nav-menu img {
  width: 16px;
}
.header .menu-overlay {
  position: fixed;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.5);
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}
/* Header Responsive */
@media (max-width: 991px) {
  .header .menu-overlay.active {
    visibility: visible;
    opacity: 1;
  }
  .header .nav-menu {
    position: fixed;
    right: -280px;
    visibility: hidden;
    width: 280px;
    height: 100%;
    top: 0;
    overflow-y: auto;
    background-color: #222222;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.5s ease;
  }
  .header .nav-menu.open {
    visibility: visible;
    right: 0px;
  }
  .header .logo img {
    margin-left: -100px;
  }
  .header .menu > .menu-item {
    display: block;
    margin: 0;
  }
  .header .menu > .menu-item-has-children > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .header .menu > .menu-item > a {
    color: #ffffff;
    padding: 12px 15px;
    border-bottom: 1px solid #333333;
  }
  .header .menu > .menu-item:first-child > a {
    border-top: 1px solid #333333;
  }
  .header .menu > .menu-item > a .plus:before,
  .header .menu > .menu-item > a .plus:after {
    background-color: #ffffff;
  }
  .header .menu > .menu-item-has-children.active > a .plus:after {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  .header .menu > .menu-item > .sub-menu {
    width: 100%;
    position: relative;
    opacity: 1;
    visibility: visible;
    border: none;
    background-color: transparent;
    box-shadow: none;
    transform: translateY(0px);
    padding: 0px;
    left: auto;
    top: auto;
    max-height: 0;
    overflow: hidden;
  }
  .header .menu > .menu-item > .sub-menu > .menu-item > a {
    padding: 12px 45px;
    color: #ffffff;
    border-bottom: 1px solid #333333;
  }
  .header .close-nav-menu,
  .header .open-nav-menu {
    display: flex;
  }
}
/* Backgrund img */
.background {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.background img {
  z-index: 000;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 800px;
  object-fit: cover;
}
.img-navigation {
  max-width: 100%;
}
.img-slide {
  display: none;
  width: 100%;
}
.img-slide.active {
  display: block;
}
.slider-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2rem;
  font-weight: bold;
  border-radius: 10px;
  text-align: center;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  background-color: rgba(0, 0, 0, 0.37); /* Color negro con 50% de opacidad */
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.slider-text.show {
  opacity: 1;
}
/* Section About */
.about-us {
  display: flex;
  flex-wrap: wrap;
  min-height: 616px;
}
.img-about,
.about-text {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-about {
  flex-basis: 50%;
}
.img-about img {
  max-width: 100%;
  height: auto;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4); /* Sombra más destacada */
  border-radius: 8px; /* Opcional: redondear bordes */
}
.about-text {
  flex-basis: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: justify;
  padding: 60px;
  background-color: #eff0f0;
}
.about-text h2,
.about-text p,
.about-text .btn {
  margin-bottom: 20px;
}
.about-text .btn {
  align-self: flex-start;
}
.btn {
  display: inline-block;
  padding: 13px;
  background: #e30613;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: 5px;
  transition: all 0.5s ease;
  cursor: pointer;
}
.btn:hover {
  transform: translate(10px);
  border: 2px solid #333972;
  background: #333972;
  color: #fff;
}
@media (max-width: 768px) {
  .about-us {
    flex-direction: column;
    height: auto;
  }
  .img-about,
  .about-text {
    flex-basis: 100%;
    width: 100%;
  }
  .about-text {
    padding: 20px;
    text-align: left;
  }
  .about-text h2,
  .about-text p,
  .about-text .btn {
    margin-bottom: 10px;
  }
  .about-text .btn {
    align-self: center;
  }
}
/* Section About2 */
.about-us-reverse {
  display: flex;
  flex-wrap: wrap;
  min-height: 616px;
  margin-top: 150px;
}

.about-us-reverse .about-text,
.about-us-reverse .img-about {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-us-reverse .about-text {
  flex-basis: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: justify;
  padding: 60px;
  background-color: #eff0f0;
}

.about-us-reverse .img-about {
  flex-basis: 50%;
}

.about-us-reverse .img-about img {
  max-width: 100%;
  height: auto;
}

/* Estilos para los elementos de texto */
.about-us-reverse .about-text h2,
.about-us-reverse .about-text p,
.about-us-reverse .about-text .btn {
  margin-bottom: 20px;
}

.about-us-reverse .about-text .btn {
  align-self: flex-start;
}

/* Botón */
.btn {
  display: inline-block;
  padding: 13px;
  background: #e30613;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: 5px;
  transition: all 0.5s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translate(10px);
  border: 2px solid #333972;
  background: #333972;
  color: #fff;
}

/* Responsivo */
@media (max-width: 768px) {
  .about-us-reverse {
    flex-direction: column;
    height: auto;
  }
  
  .about-us-reverse .img-about,
  .about-us-reverse .about-text {
    flex-basis: 100%;
    width: 100%;
  }

  .about-us-reverse .about-text {
    padding: 20px;
    text-align: left;
  }

  .about-us-reverse .about-text h2,
  .about-us-reverse .about-text p,
  .about-us-reverse .about-text .btn {
    margin-bottom: 10px;
  }

  .about-us-reverse .about-text .btn {
    align-self: center;
  }
}

/* ENGLISH TEXT */
.title-english {
  width: 100%;
  text-align: center;
}
.elemento-englis-title {
  font-family: "Montserrat", sans-serif;
  font-size: 30px;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0;
}
.left-half {
  color: #333972;
}
.right-half {
  color: #b61313;
}
/* MESSAGE SECTION */
.hero-section {
  width: 100%;
  max-width: 1950px;
  height: 250px;
  background: linear-gradient(45deg, #333972, #b61313);
  overflow: hidden;
  position: relative;
  margin-top: -4px;
}
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 25px;
  text-align: center;
  padding: 20px;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .hero-section {
    padding: 20px;
  }
  .hero-text {
    font-size: 16px;
    width: 80%;
    max-width: 300px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}
/* Img Banner */
.motivational {
  display: flex;
  justify-content: center;
  align-items: center;
}
.img-container {
  max-width: 100%;
  overflow: hidden;
}
.img-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
/* Section Description */
.heading-des {
  text-align: center;
  color: #fff;
  margin-bottom: 20px;
}

.description2 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: #f8f9fa;
}

.descrip-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px; /* Añadido espacio entre las columnas */
  width: 100%;
  max-width: 1200px; /* Limitar el ancho máximo */
}

.descrip-container .boxDescription {
  position: relative;
  width: 100%;
  height: 300px; /* Ajusté la altura para un mejor espacio */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 8px; /* Bordes redondeados */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.descrip-container .boxDescription .icon-descrip {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 15px;
  border-radius: 8px; /* Borde redondeado en los iconos */
}

.descrip-container .boxDescription .icon-descrip iconify-icon {
  font-size: 6em; /* Iconos más grandes */
  color: #fff;
}

.descrip-container .boxDescription .content-description {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  color: #fff;
  font-weight: 500;
  font-size: 1.1rem; /* Aumenté el tamaño de la fuente */
}

.boxDescription:nth-child(1) .icon-descrip {
  background: #1c3261;
}

.boxDescription:nth-child(2) .icon-descrip {
  background: #e8bd72;
}

.boxDescription:nth-child(3) .icon-descrip {
  background: #00d084;
}

.boxDescription:nth-child(4) .icon-descrip {
  background: #cf2e2e;
}

@media screen and (max-width: 1200px) {
  .descrip-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 992px) {
  .descrip-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .descrip-container {
    grid-template-columns: 1fr;
  }
}

/* Section Counter */
.counter {
  width: 100%;
  margin: auto;
  display: flex;
  justify-content: center;
  position: relative;
}
.container-counter {
  width: 28vmin;
  height: 20vmin;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 1em 0;
  position: relative;
  font-size: 16px;
}
.container-counter span.num {
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 3em;
}
.container-counter span.text-count {
  color: #fff;
  font-size: 1em;
  text-align: center;
  padding: 0.7em 0;
  font-weight: 400;
  line-height: 0;
}
.counter .background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(39, 52, 165, 0.5);
}
.counter.parallax-section {
  background-image: url("../img/inicio.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
@media screen and (max-width: 1024px) {
  .counter {
    width: 100%;
    gap: 15px;
  }
  .container-counter {
    height: 25vmin;
    width: 26vmin;
    font-size: 12px;
  }
  .parallax-section {
    background-attachment: scroll;
  }
}
@media screen and (max-width: 768px) {
  .counter {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
  }
  .container-counter {
    width: calc(50% - 40px);
    height: 30vmin;
    font-size: 14px;
  }
  .parallax-section {
    background-attachment: scroll;
  }
}
@media screen and (max-width: 480px) {
  .counter {
    gap: 15px;
  }
  .container-counter {
    width: 100%;
    height: 25vmin;
    font-size: 8px;
  }
}
/* SPACE */
.space-all {
  margin-bottom: 60px;
}
/* Section Family */
.gallery {
  width: 100%;
  height: 30vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.element-images.swiper {
  width: calc(60% - 20%);
  height: calc(30vh - 2rem);
  border-radius: 8px;
}
.swiper-slide {
  width: 50%;
  height: 50%;
  object-fit: cover;
  object-position: center;
  margin-top: 50px;
}
.pagination_ {
  position: absolute;
  width: calc(60% - 10%);
}
.pagination_ div[class^="swiper-button"]::after {
  display: none;
}
/* Footer */
.img-footer {
  width: 300px; /* Ajusta el tamaño según prefieras */
  height: auto; /* Mantiene la proporción de la imagen */
}
footer {
  position: relative;
  width: 100%;
  background-color: #010033;
  bottom: 0;
  left: 0;
}
footer .footer {
  max-width: 1250px;
  margin: auto;
  padding: 30px 40px 40px 20px;
}
footer .footer .line-footer {
  width: 100%;
  display: flex;
  justify-content: space-around;
}
footer .footer .line-footer .box-footer {
  width: calc(100% / 2 - 10px);
}
.footer .line-footer .box-footer .link_name {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  position: relative;
}
.line-footer .box-footer .link_name::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 50px;
  background-color: #fff;
}
.footer .line-footer .box-footer li {
  margin: 6px 0;
  list-style: none;
}
.footer .line-footer .box-footer li a {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  opacity: 0.8;
}
.footer .line-footer .box-footer li a:hover {
  opacity: 1;
  text-decoration: underline;
}
.footer .line-footer .box-footer .text-footer {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  opacity: 0.8;
  line-height: 2;
}
.footer .line-footer .box-footer a {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  opacity: 0.8;
}
.box-img {
  width: 100%;
  text-align: center;
}
.footer .line-footer .box-img .footer-icons a {
  display: inline-block;
  margin: 0 10px;
  font-size: 30px;
  color: #fff;
  transition: color 0.3s;
}
.footer .line-footer .box-img .footer-icons a:hover {
  color: #ddd;
}
@media (max-width: 900px) {
  footer .footer .line-footer {
    flex-wrap: wrap;
  }
}
@media (max-width: 700px) {
  footer .footer .line-footer .box-footer {
    width: calc(100% / 1 - 10px);
  }
}
/* Top-Bottom */
#top-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  font-size: 30px;
  width: 50px;
  height: 50px;
  background: #b61313;
  color: white;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: bottom 200ms, transform 200ms;
  z-index: 9999;
}
#top-top:hover {
  bottom: 35px;
}
#top-top.show {
  transform: scale(1);
}
/* Page History */
.imghistoria{
  width: 40%; /* Ajusta el tamaño según prefieras */
  height: auto
}
.history {
  margin-top: 250px;
  background: #fdfdfd;
}
.imgex2,
.contentHis {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.6s ease-out;
}
.imgex2.reveal,
.contentHis.reveal {
  opacity: 1;
  transform: translateY(0);
}
.row-his {
  width: 90%;
  max-width: 1500px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 50px;
  overflow-x: hidden;
  padding: 5rem 0;
  margin-top: -120px;
}
.row-his .imgex2 img {
  margin-left: 160px;
}
.row-his .imgHis h2 {
  justify-content: center;
  text-align: center;
  align-content: center;
  font-size: 30px;
  font: 500;
  margin-top: -25px;
}
.row-his .contentHis {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.row-his .contentHis p {
  font-size: 18px;
  line-height: 25px;
  padding-bottom: 25px;
  font-family: "Embed Code";
}
.row-his .cruz-img {
  width: 70%;
}
@media (max-width: 991px) {
  .row-his {
    grid-template-columns: 1fr;
    grid-gap: 50px;
  }
  .row-his .contentHis {
    padding-left: 0;
  }
  .row-his .contentHis p {
    margin-left: 30px;
  }
  .row-his .imgex2 img {
    margin-left: 230px;
  }
}
@media (max-width: 768px) {
  .row-his {
    width: 90%;
  }
  .row-his .contentHis p {
    margin-left: 30px;
    font-size: 16px;
    line-height: 24px;
  }
  .row-his .imgex2 img {
    margin-left: 60px;
  }
}
@media (max-width: 575px) {
  .row-his .contentHis p {
    margin-left: 30px;
    font-size: 15px;
    line-height: 22px;
  }
  .row-his .imgex2 img {
    margin-left: 0;
    margin-top: 100px;
  }
}
/* Mision - Vision */
.mision-vision {
  display: grid;
  grid-template-rows: repeat(2, auto);
  margin-top: 119px;
}
.mision,
.vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.contenido-all {
  padding: 15% 40px;
}
.mision-vision .icons-vi {
  display: flex;
}
.mision-vision .icons-vi a {
  position: relative;
  width: 60px;
  height: 60px;
  justify-content: center;
  text-align: center;
  align-content: center;
  text-decoration: none;
  background: black;
  color: white;
  margin: 0 10px;
  border-radius: 50%;
  cursor: pointer;
}
.mision-vision .icons-vi a i {
  font-size: 30px;
  line-height: 80px;
  margin-top: -5px;
  display: inline-block;
  position: relative;
}
.mision-vision .icons-vi a:hover {
  background: transparent;
  border: 2px solid #b61313;
  border-radius: 50%;
  color: #b61313;
}
.imagen-all {
  display: flex;
  justify-content: center;
  align-items: center;
}
.imagen-all img {
  max-width: 100%;
  height: auto;
}
.contenido-all h2 {
  padding: 10px;
  font-size: 24px;
  margin-top: 10px;
  margin-bottom: 5px;
}
.contenido-all p {
  padding: 10px;
  font-size: 16px;
  line-height: 1.5;
}
.mision .imagen-all {
  grid-column: 2;
}
.vision .imagen-all {
  grid-column: 1;
}
@media screen and (max-width: 768px) {
  .mision-vision {
    margin-top: 0;
  }
  .mision,
  .vision {
    grid-template-columns: 1fr;
  }
  .mision .imagen-all,
  .vision .imagen-all {
    grid-column: 1;
  }
  .mision-vision .icons-vi a i {
    margin-top: -5px;
  }
}
/* Sticky Social Buttons */
/* Sticky Social Buttons */
ul.social {
  list-style: none;
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 1000;
}

.social .social-li {
  margin: 10px 0;
}

.social .social-li .social-a {
  text-decoration: none;
  color: #fff;
  height: 60px;
  line-height: 60px;
  display: flex;
}

/* Icono de cada red */
.social .social-li .social-a span:nth-child(2) {
  width: 60px;
  height: 100%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
}

/* Texto animado */
.social .social-li .social-a span:nth-child(1) {
  width: 0;
  height: 100%;
  font-size: 17px;
  font-weight: 500;
  text-transform: uppercase;
  padding-left: 0;
  letter-spacing: 2px;
  overflow: hidden;
  border-radius: 0 50px 50px 0;
  transition: 0.3s ease;
}

.social .social-li:hover span:nth-child(1) {
  width: 180px;
  padding-left: 20px;
}

/* Colores específicos para cada red */
.social .facebook .social-a span:nth-child(1),
.social .facebook .social-a span:nth-child(2) {
  background: #1877f2; /* Facebook color */
}

.social .instagram .social-a span:nth-child(1),
.social .instagram .social-a span:nth-child(2) {
  background: #e4405f; /* Instagram color */
}

.social .tiktok .social-a span:nth-child(1),
.social .tiktok .social-a span:nth-child(2) {
  background: #010101; /* TikTok color */
}

.social .whatsapp .social-a span:nth-child(1),
.social .whatsapp .social-a span:nth-child(2) {
  background: #25D366; /* WhatsApp color */
}

/* Section Values */
.container-values {
  position: relative;
  width: 1300px;
  display: flex;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
  margin: 0 auto;
}
.container-values .card-values {
  position: relative;
  height: 200px;
  border: 2px solid #333972;
  display: flex;
  width: calc(33.33% - 80px);
  box-sizing: border-box;
  margin-bottom: 40px;
  margin-right: 80px;
}
.container-values .card-values .imgValue {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #333972;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: 0.5s ease-in-out;
}
.container-values .card-values:hover .imgValue {
  width: 150px;
  height: 150px;
  left: -75px;
  top: calc(50% - 75px);
  transition: 0.5s ease-in-out;
}
.container-values .card-values:hover .imgValue::before {
  visibility: hidden;
}
.container-values .card-values .imgValue::before {
  content: attr(data-text);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 40px;
  color: rgba(255, 255, 255, 0.09);
  font-weight: 700;
}
.container-values .card-values .imgValue img {
  max-width: 100px;
  transition: 0.5s ease-in-out;
}
.container-values .card-values:hover .imgValue img {
  max-width: 75px;
}
.container-values .card-values .content-values {
  position: absolute;
  right: 0;
  width: calc(100% - 60px);
  height: 100%;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
@media (max-width: 992px) {
  .container-values {
    width: 100%;
  }
  .container-values .card-values {
    width: calc(50% - 20px);
    margin: 20px;
  }
}
@media (max-width: 576px) {
  .container-values .card-values {
    width: calc(100% - 20px);
    margin: 10px;
  }
  .container-values .card-values:hover .imgValue {
    width: 150px;
    height: 150px;
    left: -10px;
    top: calc(50% - 75px);
    transition: 0.5s ease-in-out;
  }
  .container-values .card-values .content-values h3 {
    margin-left: 70px;
    font-size: 16px;
  }
  .container-values .card-values .content-values p {
    text-align: center;
    font-size: 12px;
    margin-left: 70px;
  }
}
/* Section Directores */
.imges{
  width: 30%; /* Ajusta el tamaño según prefieras */
  height: auto;
}
.directors {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 119px;
}
.row-dir {
  width: 90%;
  max-width: 1500px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 50px;
  overflow-x: hidden;
  padding: 5rem 0;
}
.row-dir .imgdir h2 {
  justify-content: center;
  text-align: center;
  align-content: center;
  font-size: 30px;
  font: 500;
  margin-top: -25px;
}
.row-dir .imgex2 .ie-img {
  margin-left: 200px;
}
.timeline {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 9%;
  position: relative;
}
.timeline .timeline-row {
  display: flex;
}
.timeline-row .time-box {
  position: relative;
  border-left: 2px solid #b61313;
}
.time-box .time-content {
  position: relative;
  padding-left: 27px;
}
.time-box .time-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10.5px;
  width: 20px;
  height: 20px;
  background: #b61313;
  border-radius: 50%;
}
.time-content .content-10 {
  padding: 24px;
  border: 2px solid #b61313;
  border-radius: 8px;
  margin-bottom: 32px;
}
.time-content .content-10 .year {
  font-size: 16px;
}
.time-content .content-10 .year i {
  margin-right: 8px;
}
.time-content .content-10 h3 {
  font-size: 19px;
  margin: 8px 0;
}
.time-content .content-10 p {
  font-size: 16px;
}
.animate {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  animation: show-right 1s ease forwards;
  animation-delay: calc(0.5s * var(--i));
}
@keyframes show-right {
  100% {
    width: 0;
  }
}
@media (max-width: 991px) {
  .row-dir {
    grid-template-columns: 1fr;
    grid-gap: 50px;
    padding: 3rem 0;
    padding-left: 0;
  }
}
@media (max-width: 768px) {
  .row-dir {
    width: 90%;
  }
}
@media (max-width: 575px) {
  .row-dir .imgdir h2 {
    font-size: 24px;
    margin-top: -15px;
  }
  .time-box .time-content {
    padding-left: 20px;
  }
  .time-box .time-content::before {
    left: -8px;
    width: 16px;
    height: 16px;
  }
  .time-content .content-10 {
    padding: 16px;
    margin-bottom: 24px;
  }
  .time-content .content-10 .year {
    font-size: 14px;
  }
  .time-content .content-10 h3 {
    font-size: 16px;
  }
  .time-content .content-10 p {
    font-size: 14px;
  }
}
/* Section Student */
.student {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.row-stu {
  width: 90%;
  max-width: 1500px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 50px;
  overflow-x: hidden;
  padding: 5rem 0;
}
.row-stu .imgstu {
  overflow: hidden;
  margin-left: 150px;
}
.row-stu .imgstu img {
  object-fit: cover;
}
.row-stu .text-stu h3 {
  font-size: 35px;
}
.text-stu h3::after {
  content: "";
  display: block;
  position: relative;
  height: 5px;
  width: 250px;
  background-color: #000;
  margin-top: 15px;
}
.row-stu .text-stu p {
  font-size: 16px;
  margin: 20px auto;
}
.table-student {
  width: 100%;
  max-width: 1000px;
  justify-content: center;
  align-items: center;
}
.table-student .tex-h2 h2 {
  font-size: 30px;
  word-spacing: 0.2rem;
  text-transform: uppercase;
}
.tabla-hover {
  border-collapse: collapse;
  width: 100%;
  margin: 20px 10px;
  background-color: rgb(242, 242, 242);
}
.tabla-hover th,
.tabla-hover td {
  border: 1px solid transparent;
  padding: 12px 8px;
  text-align: left;
}
.tabla-hover th {
  background-color: #010033;
  cursor: pointer;
  color: #fff;
  text-transform: uppercase;
}
.tabla-hover th:hover {
  background-color: #b61313;
}
@media (max-width: 991px) {
  .row-stu .text-stu h3 {
    font-size: 25px;
  }
  .text-stu h3::after {
    content: "";
    display: block;
    position: relative;
    height: 5px;
    width: 150px;
    background-color: #000;
    margin-top: 15px;
  }
  .row-stu .text-stu p {
    font-size: 14px;
    margin: 20px auto;
  }
  .text-stu h3 {
    font-size: 18px;
  }
  .text-stu p {
    font-size: 12px;
  }
  .table-student .tex-h2 h2 {
    font-size: 25px;
    word-spacing: 0.2rem;
    text-transform: uppercase;
    justify-content: center;
    padding: 20px;
  }
  .tabla-hover {
    margin: 20px 20px;
  }
  .row-stu .imgstu {
    overflow: hidden;
    margin-left: 0;
  }
}
@media (max-width: 768px) {
  .row-stu {
    width: 90%;
  }
  .table-student .tex-h2 h2 {
    font-size: 25px;
    word-spacing: 0.2rem;
    text-transform: uppercase;
    justify-content: center;
    padding: 20px;
  }
  .row-stu .imgstu {
    margin-top: 50px;
    margin-left: -110px;
  }
}
@media (max-width: 575px) {
  .text-stu h3 {
    font-size: 18px;
  }
  .text-stu p {
    font-size: 12px;
  }
  .table-student .tex-h2 h2 {
    font-size: 25px;
    word-spacing: 0.2rem;
    text-transform: uppercase;
    justify-content: center;
    padding: 20px;
  }
  .row-stu .imgstu {
    margin-top: 50px;
    margin-left: 0;
  }
  .row-stu {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: start;
  }
}
/* EXALUMNOS */
.ex-alumnos {
  text-align: center;
}
.column {
  width: 40%;
  display: inline-block;
  vertical-align: top;
  margin: 10px;
}
.column {
  margin: 10px;
}
.imgex {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.text-ex {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.text-ex h3 {
  position: relative;
  font-size: 30px;
}
.text-ex h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50%;
  border-bottom: 5px solid black;
  margin: -10px auto;
}
.text-ex p {
  margin: 30px 1em 0 170px;
}
.text-ex img {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 800px;
  margin-top: 40px;
}
.contenedor-imagen {
  position: relative;
  left: -100%;
  width: 100%;
  max-width: 100%;
  height: auto;
  overflow: hidden;
  animation: slideIn 1s forwards;
}
@keyframes slideIn {
  0% {
    left: -100%;
  }
  100% {
    left: 0;
  }
}
.tabla-hover {
  width: 100%;
  border-collapse: collapse;
  background-color: rgb(242, 242, 242);
}
.tabla-hover th,
.tabla-hover td {
  border: 1px solid transparent;
  padding: 8px;
  text-align: left;
}
.tabla-hover th {
  background-color: #333972;
  cursor: pointer;
  color: #fff;
  text-transform: uppercase;
}
.tabla-hover th:hover {
  background-color: #e30613 !important;
}
.small {
  width: 25%;
}
.small2 {
  width: 15px;
}
.small3 {
  width: 100px;
}
@media (max-width: 968px) {
  .text-ex p {
    margin: 30px 1em 0 90px;
  }
}
@media (max-width: 768px) {
  .ex-alumnos {
    flex-direction: column;
  }
  .column {
    width: 100%;
  }
  .text-ex {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: start;
  }
  .text-ex br {
    display: none;
  }
  .text-ex h3 {
    position: relative;
    font-size: 30px;
  }
  .text-ex h3::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50%;
    border-bottom: 5px solid black;
    margin: -10px auto;
  }
  .text-ex p {
    margin: 30px 200px 0 auto;
  }
  .tabla-hover {
    width: 90%;
  }
}
@media (max-width: 468px) {
  .imgex img {
    margin-top: 100px;
    margin-left: -130px;
  }
  .text-ex h3 {
    position: relative;
    font-size: 25px;
    margin-left: 50px;
  }
  .text-ex h3::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50%;
    border-bottom: 5px solid black;
    margin: -10px auto;
  }
  .text-ex p {
    margin: 30px 1em 0 50px;
  }
  .text-ex p br {
    display: none;
  }
  .tabla-hover {
    width: 90%;
  }
  .text-ex img {
    margin-left: 20px;
  }
}
/* TEACHER */
.teacher {
  text-align: center;
  margin-top: 200px;
}
.column {
  width: 40%;
  display: inline-block;
  vertical-align: top;
  margin: 10px;
}
.column {
  margin: 10px;
}
.imgtech {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.text-tech {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.text-tech h3 {
  position: relative;
  font-size: 30px;
}
.text-tech h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50%;
  border-bottom: 5px solid black;
  margin: -10px auto;
}
.text-tech p {
  margin-top: 30px;
  margin-left: 205px;
}
.teacher .column section {
  width: 700px;
  padding: 40px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.teacher .column section summary {
  background: #333972;
  color: white;
  padding: 15px;
  cursor: pointer;
  text-align: start;
}
.p-acordeon p {
  padding: 10px;
  font-size: 15px;
  font-weight: 400;
  line-height: 22.5px;
  text-align: start;
}
details .p-acordeon p:last-child::after {
  content: "";
  display: block;
  border-bottom: 1px solid #ccc;
  margin-top: 5px;
}
@media (max-width: 968px) {
  .techaer {
    flex-direction: column;
  }
  .column {
    width: 100%;
  }
  .text-tech {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .text-tech h3 {
    position: relative;
    font-size: 30px;
  }
  .text-tech h3::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50%;
    border-bottom: 5px solid black;
    margin: -10px auto;
  }
  .text-tech p {
    max-width: 100%;
    margin: 30px auto;
    padding: 0 30px;
    white-space: normal;
    line-height: 1.5;
  }
  .teacher .column section {
    width: 85%;
    padding: 0;
    margin: auto;
  }
}
@media (max-width: 768px) {
  .techaer {
    flex-direction: column;
  }
  .column {
    width: 100%;
  }
  .text-tech {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .text-tech h3 {
    position: relative;
    font-size: 30px;
  }
  .text-tech h3::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50%;
    border-bottom: 5px solid black;
    margin: -10px auto;
  }
  .text-tech p {
    max-width: 100%;
    margin: 30px auto;
    padding: 0 30px;
    white-space: normal;
    line-height: 1.5;
  }
  .teacher .column section {
    width: 85%;
    padding: 0;
    margin: auto;
  }
}
@media (max-width: 468px) {
  .imgtech img {
    margin-top: 50px;
  }
}
/* RELEASE */
.release {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 50px auto;
  max-width: 1200px; /* Limita el ancho máximo */
  margin-top: 200px;
}

.release-header {
  display: flex;
  flex: 1 1 100%;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.release-img-container {
  flex: 0 0 100px;
  text-align: center;
}

.release-img {
  max-width: 100px;
  height: auto;
}

.release-info {
  flex: 1 1 calc(50% - 20px);
  text-align: center;
}


.release-info h3 {
  margin: 10px 0;
  font-size: 1.5rem; /* Tamaño del título aumentado */
  color: #333972; /* Color más destacado */
}

.release-info samp {
  font-size: 1rem;
  color: #515fff;
  display: block;
  margin-top: 5px;
}

.release-content {
  flex: 1 1 100%;
}

.release-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 20px; /* Separación entre header y tabla */
}

.release-table thead th {
  background-color: #333972;
  color: white;
  padding: 15px;
  text-align: left;
  font-size: 1rem;
}

.release-table tbody tr {
  border-bottom: 1px solid #ddd;
}

.release-table tbody tr:last-child {
  border-bottom: none;
}

.release-table tbody td {
  padding: 15px;
  font-size: 0.9rem;
  color: #555;
}

.release-table tbody td a {
  text-decoration: none;
  color: #515fff;
  font-weight: bold;
}

.release-table tbody td a:hover {
  color: #333972;
  text-decoration: underline;
}

/* Responsivo */
@media (max-width: 768px) {
  .release-header {
    flex-direction: column;
    text-align: center;
  }

  .release-info {
    flex: 1 1 100%;
  }
}

/* CALENDERIACIÓN */
.schedule {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 200px;
}
.row-sche {
  width: 90%;
  max-width: 1500px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 50px;
  overflow-x: hidden;
  padding: 5rem 0;
}
.table-schedule {
  width: 100%;
  max-width: 1000px;
  justify-content: center;
  align-items: center;
}
.tabla-hover-schedule {
  border-collapse: collapse;
  width: 100%;
  margin: 20px 10px;
  background-color: rgb(242, 242, 242);
}
.tabla-hover-schedule th,
.tabla-hover-schedule td {
  border: 1px solid transparent;
  padding: 12px 8px;
  text-align: left;
}
.tabla-hover-schedule th {
  background-color: #010033;
  cursor: pointer;
  color: #fff;
  text-transform: uppercase;
}
.tabla-hover-schedule th:hover {
  background-color: #b61313;
}
@media (max-width: 991px) {
  .row-sche {
    grid-template-columns: 1fr;
    grid-gap: 50px;
    padding: 3rem 0;
    padding-left: 0;
  }
  .tabla-hover-schedule {
    width: 90%;
  }
}
@media (max-width: 768px) {
  .row-sche {
    width: 90%;
  }
  .tabla-hover-schedule {
    width: 90%;
  }
}
@media (max-width: 575px) {
  .tabla-hover-schedule {
    width: 90%;
  }
}
/* SECTION ADMISION */
.admission {
  text-align: center;
}
.column {
  width: 40%;
  display: inline-block;
  vertical-align: top;
  margin: 10px;
}
.column {
  margin: 10px;
}
.imgadmi {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.text-admi {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.text-admi h3 {
  position: relative;
  font-size: 30px;
}
.text-admi h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50%;
  border-bottom: 5px solid black;
  margin: -10px auto;
}
.text-admi-p p {
  padding: 25px 20px 4px 0;
  color: #333;
}
.text-link-admi .btn-admi {
  display: block;
  color: #000;
  padding: 25px 20px 4px 0;
  font-size: 16px;
  font-weight: 400;
  background: none;
  border: none;
  cursor: pointer;
  margin-bottom: 10px;
}
.text-link-admi .btn-admi::after {
  content: "";
  height: 2px;
  width: 0%;
  background-color: #fff;
  display: block;
  transition: 0.5s ease-in-out;
}
.text-link-admi .btn-admi:hover::after {
  content: "";
  height: 2px;
  width: 100%;
  background-color: #000;
  display: block;
}
.text-link-admi .btn-admi i {
  margin-left: 10px;
}
.text-link-admi .btn-admi a {
  color: #000;
}
.btn-admi:hover .fa-arrow-right {
  transform: translateX(10px);
  transition: transform 0.3s ease;
}
.download-admi h2 {
  display: block;
  color: #000;
  padding: 25px 20px 4px 0;
  font-size: 20px;
  font-weight: 700;
  text-align: start;
}
.download-admi p {
  display: block;
  color: #333;
  padding: 25px 20px 4px 0;
  font-size: 16px;
  font-weight: 400;
  text-align: start;
}
.download-admi p a {
  color: #000;
  padding: 25px 20px 4px 0;
  font-size: 16px;
  font-weight: 700;
  background: none;
  border: none;
  cursor: pointer;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .admission {
    flex-direction: column;
  }
  .column {
    width: 100%;
  }
  .text-admi {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: start;
  }
  .text-admi h3 {
    position: relative;
    font-size: 30px;
  }
  .text-admi h3::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50%;
    border-bottom: 5px solid black;
    margin: -10px auto;
  }
  .text-admi p {
    margin-top: 30px;
    margin-left: -5px;
    font-size: 14px;
    white-space: nowrap;
  }
  .imgadmi {
    margin-top: 60px;
  }
}
/* SECTION PROFILE */
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.row-profi {
  width: 90%;
  max-width: 1500px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 50px;
  overflow-x: hidden;
  padding: 5rem 0;
}
.row-profi .imgprofi {
  overflow: hidden;
}
.row-profi .imgprofi img {
  width: 100%;
  object-fit: cover;
  transition: 0.3s;
}
.row-profi .imgprofi img:hover {
  transform: scale(1.25);
}
.row-profi .text-profi h3 {
  font-size: 35px;
}
.text-profi h3::after {
  content: "";
  display: block;
  position: relative;
  height: 5px;
  width: 250px;
  background-color: #000;
  margin-top: 15px;
}
.row-profi .text-profi p {
  font-size: 16px;
  margin: 20px auto;
}
.row-profile {
  width: 100%;
  margin: 4% auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: #333;
}
.col-profile {
  flex-basis: 25%;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.col-profile img {
  width: 100%;
  cursor: pointer;
  transition: 1s;
}
.col-profile:hover img {
  transform: scale(1.1);
}
.col-profile h3 {
  color: #fff;
}
.col-profile p {
  margin: 10px 10px;
  color: #fff;
}
@media (max-width: 991px) {
  .row-profi {
    grid-template-columns: 1fr;
    grid-gap: 50px;
    padding: 3rem 0;
    padding-left: 0;
  }
}
@media (max-width: 768px) {
  .row-profi {
    width: 90%;
  }
  .row-profile {
    width: 95%;
  }
  .col-profile {
    flex-basis: 50%;
  }
  .row-profile .col-profile:nth-child(1) {
    order: 1;
  }
  .row-profile .col-profile:nth-child(2) {
    order: 2;
  }
  .row-profile .col-profile:nth-child(3) {
    order: 5;
  }
  .row-profile .col-profile:nth-child(4) {
    order: 6;
  }
  .row-profile .col-profile:nth-child(5) {
    order: 3;
  }
  .row-profile .col-profile:nth-child(6) {
    order: 4;
  }
  .row-profile .col-profile:nth-child(7) {
    order: 7;
  }
  .row-profile .col-profile:nth-child(8) {
    order: 8;
  }
  .row-profile .col-profile:nth-child(9) {
    order: 9;
  }
  .row-profile .col-profile:nth-child(10) {
    order: 10;
  }
  .row-profile .col-profile:nth-child(11) {
    order: 12;
  }
  .row-profile .col-profile:nth-child(12) {
    order: 11;
  }
}
@media (max-width: 575px) {
  .profile {
    margin-top: -300px;
  }
}
/* SECTION SONG */
.songs {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  transform-style: preserve-3d;
  perspective: 1000px;
}
.songs .book {
  position: relative;
  width: 383px;
  height: 567px;
  box-shadow: 20px 20px 20px rgba(0, 0, 0, 0.2);
  transform-style: preserve-3d;
  transition: 0.5s;
}
.songs .book:hover {
  transform: rotateY(35deg);
  box-shadow: 0px 20px 20px rgba(0, 0, 0, 0.2);
}
.songs .book:active {
  transform: rotateY(180deg);
}
.songs .book::before {
  content: "";
  position: absolute;
  width: 60px;
  height: 100%;
  transform-origin: left;
  background: url("../img/side.jpg");
  background-position: center;
  transform: rotateY(90deg);
}
.songs .book::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  transform-origin: center;
  background: url("../img/back.jpg");
  background-position: center;
  transform: rotateY(180deg) translateZ(60px);
}
.songs .book img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* SECTION INFORMATION */
/* Estilo base del libro */
.img-libro {
  width: 100%; /* Asegura que ocupe todo el ancho disponible */
  max-width: 300px; /* Tamaño máximo para evitar que se agrande demasiado */
  height: auto; /* Mantén la proporción de la imagen */
  margin: 1rem auto; /* Centra la imagen y agrega espacio alrededor */
  border-radius: 0.5rem; /* Esquinas redondeadas */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra para darle profundidad */
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Efecto al interactuar */
}

.img-libro:hover {
  transform: scale(1.05); /* Agranda un poco al pasar el ratón */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Aumenta la sombra en hover */
}


.book-page {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 0.5rem;
  transition: transform 0.5s ease-in-out;
}

/* Página izquierda y derecha del libro */
.book-page.page-left {
  transform-origin: left center;
}

.book-page.page-right {
  transform-origin: right center;
}

/* Contenido de cada página */
.page-content {
  padding: 1rem;
  font-size: 1rem;
  text-align: justify;
}

.page-content img {
  max-width: 100%;
  height: auto;
  margin: 0 auto 1rem;
}

/* Botones para pasar páginas */
.page-controls {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

.page-controls button {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  background-color: #515fff;
  color: white;
  border: none;
  border-radius: 0.3rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-controls button:hover {
  background-color: #3c3fcf;
}

.books-information {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
}
.information {
  position: relative;
  width: 66rem;
  height: 45rem;
  padding: 2rem;
  perspective: 250rem;
  animation: show-animate 2s forwards;
}
@keyframes show-animate {
  0%,
  30% {
    opacity: 0;
    transform: rotate(-20deg);
  }
  100% {
    opacity: 1;
    transform: rotate(0deg);
  }
}
.books {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: #333972;
  box-shadow: #1d1d1b;
  border-top-left-radius: 0.6rem;
  border-bottom-right-radius: 0.6rem;
  transform-origin: right;
}
.books.books-left {
  z-index: -1;
}
.books.books-right {
  z-index: 100;
  transition: transform 1s cubic-bezier(0.645, 0.045, 0.355, 0.1);
}
.books.books-right.turn {
  transform: rotateY(180deg);
}
.books-start {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  perspective: 250rem;
}
.books-start .book-page {
  position: absolute;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, #fff, #ddd);
  box-shadow: 0 0 0.6rem rgba(0, 0, 0, 0.1);
  display: flex;
  padding: 2rem;
}
.book-page.page-left {
  padding: -0.6rem 0.6rem 6rem rgba(13, 15, 92, 0.1);
}
.informations {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.informations img {
  max-width: 290px;
  margin-bottom: 0.8rem;
}
.informations h1 {
  font-size: 2.7rem;
  line-height: 1;
}
.informations h3 {
  font-size: 1.5rem;
}
.informations .social-information {
  margin: 0.6rem 0 0.8rem;
}
.informations .social-information a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: 0.125rem solid #b61313;
  border-radius: 50%;
  font-size: 1.3rem;
  color: #b61313;
  margin: 0 0.2rem;
  transition: 0.5s;
}
.informations .social-information a:hover {
  background: #b61313;
  color: #fff;
}
.informations p {
  text-align: justify;
}
.book-page.page-right {
  position: absolute;
  right: 0;
  transform-style: preserve-3d;
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.645, 0.045, 0.355, 0.1);
}
.book-page.page-right.turn {
  transform: rotateY(-180deg);
}
.book-page .page-front,
.book-page .page-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #fff, #ddd);
  padding: 1.5rem 2rem;
}
.book-page .page-front {
  transform: rotateY(0deg) translateZ(1px);
}
.book-page .page-back {
  transform: rotateY(180deg) translateZ(1px);
}
.title-inicial {
  text-align: center;
}
.workeduc-box {
  border-left: 0.125rem solid #010033;
}
.workeduc-box .workeduc-content {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 1.2rem;
}
.workeduc-box .workeduc-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: -0.65rem;
  width: 1.2rem;
  height: 1.2rem;
  background: #010033;
  border-radius: 50%;
}
.page-front h3 {
  text-align: center;
  font-size: 1.2rem;
}
.page-front h4 {
  font-size: 1rem;
  margin-left: 6px;
}
.workeduc-content p {
  font-size: 0.8rem;
}
.number-page {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
}
.nextprev-btn {
  position: absolute; /* Flotar dentro del contenedor */
  top: 50%; /* Centrado verticalmente */
  right: -1rem; /* Ajusta este valor para mover más a la derecha */
  transform: translateY(-50%); /* Centrar el botón verticalmente */
  width: 3rem; /* Tamaño del botón */
  height: 3rem; /* Tamaño del botón */
  cursor: pointer;
  font-size: 2.5rem; /* Tamaño del ícono */
  color: #fff;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%; /* Botón circular */
  background-color: #333972; /* Fondo del botón */
  z-index: 1000; /* Asegurarse de que flote sobre otros elementos */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra para destacar */
}

.nextprev-btn:hover {
  color: #333972; /* Cambiar color del ícono en hover */
  background-color: #e0e0e0; /* Cambiar fondo en hover */
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Más sombra en hover */
}


.nextprev-btn.back {
  left: -1rem;
}
.information-box .img-box-info {
  display: flex;
  flex-direction: column;
  width: 90%;
  height: 250px;
  padding: 30px;
}
.information-box .img-box-info img {
  flex-direction: column;
  width: 100%;
  justify-content: center;
}
/* Ajustes para pantallas pequeñas (móviles) */
@media (max-width: 768px) {
  .books {
    max-width: 90%;
    margin: auto;
  }
  .page-content {
    font-size: 0.9rem;
  }
  .nextprev-btn {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 2rem;
  }
}

/* Ajustes para pantallas muy pequeñas */
@media (max-width: 480px) {
  .page-content {
    font-size: 0.8rem; /* Reduce más el texto */
    padding: 0.5rem;
  }

  .page-controls button {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
  }
}

/* Blog Section */
/* Imagen */
img {
  max-width: 100%;
}

/* Contenedor Principal */
.article-containers {
  width: 100%;
  font-size: 1rem;
  line-height: 1.5;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f7f8fa;
  padding: 2rem 0;
}

/* Contenedor del Artículo */
.article-all {
  max-width: 1024px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Tarjeta del Artículo */
.article-card {
  width: 17.5rem;
  height: 100%;
  background-color: #fff;
  border-radius: 1.25rem;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  /* Aseguramos que la tarjeta tenga la misma altura */
  min-height: 20rem;
}

/* Hover en la tarjeta */
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.15);
}

/* Imagen del Artículo */
.article-img {
  width: 100%;
  height: auto;
  border-radius: 1.25rem 1.25rem 0 0;
  object-fit: cover;
}

/* Contenido del Artículo */
.article-content {
  padding: 1.5rem;
  text-align: left;
  flex-grow: 1; /* Asegura que el contenido ocupe el espacio restante */
}

/* Categoría */
.card-category {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
  display: inline-block;
}

/* Título de la tarjeta */
.card-title {
  margin: 0.8rem 0;
  color: #b61313;
  font-size: 1.25rem;
  font-weight: bold;
  transition: color 0.3s ease;
}

.card-title:hover {
  color: #8a1010;
}

/* Descripción */
.card-except {
  margin: 0;
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}


/* Botones de Navegación del Swiper */
.swiper-button-prev,
.swiper-button-next {
  background-color: #333972;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  color: #fff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  content: "";
}

.swiper-button-next::after {
  content: "➤";
  font-size: 1.25rem;
}

.swiper-button-prev::after {
  content: "➤";
  rotate: 180deg;
  font-size: 1.25rem;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: #252b6b;
}

/* Posición de los Botones del Swiper */
.swiper-button-next {
  right: 10px;
}

.swiper-button-prev {
  left: 10px;
}

/* Paginación del Swiper */
.swiper-pagination-bullet {
  background-color: #333972;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

/* Responsive para Tablets y Dispositivos Más Pequeños */
@media (max-width: 829px) {
  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }
}

@media (max-width: 600px) {
  .article-card {
    width: 100%;
  }
}

/* Filterable gallery images */
.filterable {
  margin: 20px auto;
  max-width: 1200px;
  height: auto;
  padding: 10px;
}
.filterable .gallery-filterable {
  display: flex;
}
.gallery-filterable .items-filterable {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: flex-start;
}
.gallery-filterable .items-filterable .item-1 {
  padding: 7px 25px;
  font-size: 18px;
  font-weight: 500;
  margin: 5px;
  white-space: nowrap;
  background-color: #fff;
  border-radius: 4px;
  flex-grow: 1;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.gallery-filterable .items-filterable .active,
.gallery-filterable .items-filterable .item-1:hover {
  color: #fff;
  background: #b61313;
}
.images-filterable {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
}
.images-filterable .img-2 {
  padding: 7px;
  width: calc(100% / 3);
}
.images-filterable .img-2.hide {
  display: none;
}
.images-filterable .img-2.show {
  animation: animate2 0.4s ease;
}
@keyframes animate2 {
  0% {
    transform: scale(0.5);
  }
  100% {
    transform: scale(1);
  }
}
.images-filterable .img-2 span {
  display: flex;
  width: 100%;
  overflow: hidden;
}
.images-filterable .img-2 img {
  width: 100%;
  vertical-align: middle;
  transition: all 0.4s ease;
}
.images-filterable .img-2:hover img {
  transform: scale(1.1);
}
.preview-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: #fff;
  max-width: 700px;
  width: 100%;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  border-radius: 3px;
  padding: 0 5px 5px 5px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
}
.preview-box.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
  transition: all 0.3s ease;
}
.preview-box .details-box {
  display: flex;
  align-items: center;
  padding: 13px 15px 13px 10px;
  justify-content: space-between;
}
.preview-box .details-box .title2 {
  display: flex;
  font-size: 18px;
  font-weight: 400;
}
.details-box .title2 p {
  margin-left: 5px;
  font-weight: 500;
}
.details-box .icon3 {
  color: #333972;
  font-size: 20px;
  cursor: pointer;
}
.preview-box .image-box {
  display: flex;
  width: 100%;
}
.preview-box .image-box img {
  width: 100%;
  border-radius: 0 0 3px 3px;
}
.shadow-filterable {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 2;
  display: none;
  background: rgba(0, 0, 0, 0.4);
}
.shadow-filterable.show {
  display: block;
}
@media (max-width: 1000px) {
  .images-filterable .img-2 {
    width: calc(100% / 2);
  }
}
@media (max-width: 700px) {
  .gallery-filterable .items-filterable {
    max-width: 600px;
  }
  .gallery-filterable .items-filterable .item-1 {
    padding: 7px 15px;
  }
  .filterable {
    margin-top: 60px;
  }
}
@media (max-width: 600px) {
  .gallery-filterable .items-filterable {
    flex-wrap: wrap;
    justify-content: center;
  }
  .gallery-filterable .items-filterable .item-1 {
    margin: 5px;
  }
  .images-filterable .img-2 {
    width: 100%;
  }
}
/* SECTION NEWSPAPER */
.newspaper {
  min-height: 100vh;
}
.newspaper-container {
  position: relative;
  max-width: 1350px;
  width: 100%;
  padding: 20px;
  margin: 50px auto;
}
.filter_buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
button {
  padding: 10px 20px;
  font-size: 18px;
  background: #ccc;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}
button.active2 {
  background: #deb600;
}
.blog-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  margin: 0 auto;
}
.blogitem {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 3px rgba(0, 0, 0, 0.1);
}
.blogitem.hide {
  display: none;
}
.blogitem .thumb img {
  width: 100%;
  height: auto;
}
.blog-info {
  padding: 0 15px 15px 15px;
}
.blog-info .blog-ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: flex;
  gap: 20px;
}
.blog-info .blog-ul .blog-li {
  font-size: 14px;
  text-transform: uppercase;
  padding-right: 16px;
  color: #666;
  display: flex;
  align-items: center;
  font-weight: 500;
  position: relative;
}
.blog-info .blog-ul .blog-li a {
  text-decoration: none;
  color: #666;
}
.last-meta::after {
  display: none;
}
.blog-info .blog-h2 {
  font-size: 18px;
  color: #0e0e0e;
  line-height: 30px;
  margin: 0 0 10px;
}
.blog-info .blog-h2 a {
  text-decoration: none;
  color: #0e0e0e;
}
.blog-h2 a:hover {
  color: #deb600;
}
.blog-info .read-more {
  text-transform: capitalize;
  display: inline-block;
  color: #0e0e0e;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}
.blog-info .read-more i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  background: #0e0e0e;
  border-radius: 50%;
  font-size: 16px;
  color: #fff;
  margin-right: 8px;
  transition: 0.3s;
}
.blog-info .read-more:hover {
  color: #deb600;
}
.blog-info .read-more:hover i {
  background: #deb600;
}
@media (max-width: 768px) {
  .blog-wrap {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
  }
  .blog-h2 {
    font-size: 18px;
  }
  .blog-li {
    font-size: 13px;
  }
  .blog-info a {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .blog-wrap {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }
  .blog-li {
    font-size: 12px;
  }
  .blog-info a {
    font-size: 18px;
  }
}
/* Section Contact */
.contact-conteiner {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact {
  width: 100%;
  background: #eff0f0;
  padding: 30px 60px 40px 40px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
.contact .contact-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.contact .contact-content .left-contact {
  width: 35%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  position: relative;
}
.contact-content .left-contact::before {
  content: "";
  position: absolute;
  height: 80%;
  width: 2px;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  background: #afafb6;
}
.contact-content .left-contact .details {
  margin: 14px;
  text-align: center;
}
.contact-content .left-contact i {
  font-size: 30px;
  color: #b61313;
  margin-bottom: 10px;
}
.contact-content .left-contact .details .topic {
  font-size: 18px;
  font-weight: 500;
}
.contact-content .left-contact .details .text-one,
.contact-content .left-contact .details .text-two {
  font-size: 14px;
  color: #afafb6;
}
.contact .contact-content .right-contact {
  width: 65%;
  margin-left: 75px;
}
.contact-content .right-contact .topic-text {
  font-size: 23px;
  font-weight: 600;
  color: #b61313;
}
.right-contact .input-box {
  height: 50px;
  width: 100%;
  margin: 12px 0;
}
.right-contact .input-box input,
.right-contact .input-box textarea {
  height: 100%;
  width: 100%;
  border: none;
  font-size: 16px;
  background: #fff;
  border-radius: 6px;
  padding: 0 15px;
  resize: none;
}
.right-contact .message-box {
  min-height: 110px;
}
.right-contact .button {
  display: inline-block;
  margin-top: 6px;
}
.right-contact .button input[type="button"] {
  color: #fff;
  font-size: 18px;
  outline: none;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  background: #b61313;
  cursor: pointer;
  transition: all 0.3s ease;
}
.button input[type="button"]:hover {
  background: #333972;
}
@media (max-width: 952px) {
  .contact {
    width: 100%;
    padding: 30px 35px 40px 35px;
  }
}
@media (max-width: 820px) {
  .contact {
    margin: 40px 0;
  }
  .contact .contact-content {
    flex-direction: column-reverse;
  }
  .contact .contact-content .left-contact {
    width: 100%;
    flex-direction: row;
    margin-top: 40px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .contact .contact-content .left-contact::before {
    display: none;
  }
  .contact .contact-content .right-contact {
    width: 100%;
    margin-left: 0;
  }
}
/* Contenedor principal */
.slider-container {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 100px;
  overflow: hidden;
}

/* Contenedor de imágenes */
.slider-images {
  display: flex;
  align-items: center;
  gap: 16px; /* Reducido para pantallas pequeñas */
}

.slider-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

/* Estilo para cada imagen */
.slider-img {
  width: 60px; /* Ajustado para pantallas pequeñas */
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  transition: 0.7s ease;
}

.slider-images .slider-img:first-child,
.slider-images .slider-img:last-child {
  height: 320px; /* Ajustado */
}

.slider-images .slider-img:nth-child(1),
.slider-images .slider-img:nth-child(5) {
  height: 400px; /* Ajustado */
}

.slider-images .slider-img:nth-child(2),
.slider-images .slider-img:nth-child(4) {
  height: 500px; /* Ajustado */
}

.slider-images .slider-img:nth-child(3) {
  height: 600px; /* Ajustado */
}

/* Estilo del texto sobre la imagen */
.slider-images .slider-img h1 {
  font-size: 28px; /* Reducido */
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  position: absolute;
  top: 50%;
  left: -30%;
  transform: rotate(270deg);
  transition: 0.7s ease;
}

/* Detalles adicionales */
.details-slider {
  position: absolute;
  bottom: 20px; /* Ajustado */
  left: 20px; /* Ajustado */
}

.details-slider h2 {
  font-size: 20px; /* Reducido */
  font-weight: 700;
  line-height: 32px; /* Ajustado */
  color: #fff;
  text-transform: uppercase;
  display: none;
}

.details-slider p {
  font-size: 16px; /* Reducido */
  font-weight: 700;
  line-height: 28px; /* Ajustado */
  color: #fff;
  text-transform: uppercase;
  display: none;
}

/* Estilo para la imagen activa */
.slider-img.active5 {
  width: 600px !important; /* Ajustado */
  height: 550px !important; /* Ajustado */
}

.slider-img.active5 h1 {
  display: none;
}

.slider-img.active5 .details-slider p,
.slider-img.active5 .details-slider h2 {
  display: block;
}

/* Media Queries para responsividad */
@media (max-width: 768px) {
  .slider-images {
    gap: 8px; /* Más pequeño */
  }

  .slider-img {
    width: 50px;
  }

  .slider-images .slider-img:first-child,
  .slider-images .slider-img:last-child {
    height: 250px;
  }

  .slider-images .slider-img:nth-child(1),
  .slider-images .slider-img:nth-child(5) {
    height: 300px;
  }

  .slider-images .slider-img:nth-child(2),
  .slider-images .slider-img:nth-child(4) {
    height: 350px;
  }

  .slider-images .slider-img:nth-child(3) {
    height: 400px;
  }

  .slider-img.active5 {
    width: 400px !important;
    height: 450px !important;
  }

  .details-slider h2 {
    font-size: 16px;
    line-height: 24px;
  }

  .details-slider p {
    font-size: 14px;
    line-height: 20px;
  }
}

/* Gallery docente */
.tech {
  box-sizing: border-box;
}
.container-docent {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 8%;
}
.gallery-docent {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 30px;
}
.gallery-docent {
  width: 100%;
}

/* Estilos para la ventana modal */
.modal-container {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal-content {
  margin: 15% auto;
  padding: 20px;
  width: 80%;
  max-width: 600px;
  position: relative;
  text-align: center;
}
.modal-content img {
  max-width: 100%;
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
/* Section Contact2 */
.contact2 {
  background: #eff0f0;
  margin-top: -150px;
}
.contactNow {
  position: relative;
  width: 100%;
  padding: 40px 100px;
}
.contactNow .title-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
}
.contactNow .title-contact h2 {
  color: #b61313;
  font-weight: 500;
}
.form {
  grid-area: form;
}
.info {
  grid-area: info;
}
.map {
  grid-area: map;
}
.contactTwo {
  padding: 40px;
  background: #fff;
  box-shadow: 0 5px 35px rgba(0, 0, 0, 0.15);
}
.box-contactUs {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 5fr 4fr;
  grid-template-areas: "form info" "form map";
  grid-gap: 20px;
  margin-top: 20px;
}
.contactTwo h3 {
  color: #333972;
  font-weight: 500;
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.formBox {
  position: relative;
  width: 100%;
}
.formBox .rowContact {
  display: flex;
  gap: 20px;
}
.inputBox2 {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  width: 50%;
}
.formBox .row100 .inputBox2 {
  width: 100%;
}
.inputBox2 span {
  color: #b61313;
  margin-top: 10px;
  margin-bottom: 5px;
  font-weight: 500;
}
.inputBox2 input {
  padding: 10px;
  font-size: 1.1em;
  outline: none;
  border: 1px solid #333;
}
.inputBox2 textarea {
  padding: 10px;
  font-size: 1.1em;
  outline: none;
  border: 1px solid #333;
  resize: none;
  min-height: 220px;
  margin-bottom: 10px;
}
.inputBox2 input[type="submit"] {
  background: #deb600;
  border: none;
  font-size: 1.1em;
  max-width: 120px;
  font-weight: 500;
  cursor: pointer;
  padding: 14px 15px;
}
.inputBox2 ::placeholder {
  color: #999;
}
.info {
  background: #333972;
}
.info h3 {
  color: #fff;
}
.info .infoBox div {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.info .infoBox div span {
  min-width: 40px;
  height: 40px;
  color: #fff;
  background: #b61313;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  border-radius: 50%;
  margin-right: 15px;
}
.info .infoBox div p {
  color: #fff;
  font-size: 1.1em;
}
.info .infoBox div a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1em;
}
.sci {
  margin-top: 40px;
  display: flex;
}
.sci li {
  list-style: none;
  margin-right: 15px;
}
.sci li a {
  color: #fff;
  font-size: 2em;
  color: #ccc;
}
.sci li a:hover {
  color: #fff;
}
.map {
  padding: 0;
}
.map iframe {
  width: 100%;
  height: 100%;
}
@media (max-width: 991px) {
  .contact2 {
    background: #b61313;
  }
  .contactNow {
    padding: 20px;
  }
  .box-contactUs {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: "form" "info" "map";
  }
  .formBox .rowContact {
    display: flex;
    gap: 0;
    flex-direction: column;
  }
  .inputBox2 {
    width: 100%;
  }
  .map {
    min-height: 300px;
  }
  .ontactTwo {
    padding: 30px;
  }
  .contactNow .title-contact h2 {
    margin-top: 80px;
  }
}
/* 
---------------------------------------------
Courses Style
--------------------------------------------- 
*/

/* Estructura general */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-size: 2.5em;
  color: #333972;
}

/* Cuadrícula de eventos */
.event_box {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.events_item {
  background-color: #f1f0fe;
  border-radius: 25px;
  width: calc(33.333% - 20px); /* Ajuste del ancho para 3 columnas */
  margin-bottom: 30px;
  overflow: hidden;
  transition: transform 0.3s;
}

.events_item:hover {
  transform: translateY(-10px);
}

.events_item .thumb {
  position: relative;
  overflow: hidden;
  border-radius: 25px;
}

.events_item .thumb img {
  width: 100%; /* Asegura que ocupe todo el ancho del contenedor */
  height: 200px; /* Ajusta esta altura según tu diseño */
  object-fit: cover; /* Mantiene proporción y llena el contenedor */
  border-radius: 25px; /* Alineado con el diseño del contenedor */
}

.events_item .thumb .category {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: rgba(250, 250, 250, 0.95);
  color: #333972;
  padding: 8px 20px;
  font-size: 14px;
  border-radius: 25px;
}

.events_item .thumb span.price {
  position: absolute;
  right: -30px;
  top: -50px;
  background-color: rgba(36, 13, 167, 0.651);
  width: 130px;
  height: 130px;
  border-radius: 50%;
  display: inline-block;
  transition: all .3s;
}

.events_item .thumb span.price h6 {
  margin-top: 72px;
  margin-left: 22px;
  font-size: 28px;
  text-transform: uppercase;
  color: #fff;
  font-weight: 700;
}

.events_item .thumb span.price em {
  font-size: 18px;
  font-weight: 500;
  font-style: normal;
  vertical-align: top;
}

/* Contenido de la tarjeta */
.events_item .down-content {
  padding: 20px 30px 25px;
  text-align: center;
}

.events_item .down-content .author {
  color: #333972;
  font-size: 15px;
  margin-bottom: 6px;
}

.events_item .down-content h4 {
  font-size: 22px;
  color: #333;
  margin: 0;
}

.events_item:hover .thumb .price {
  transform: scale(1.2);
}

/* Responsividad */
@media (max-width: 992px) {
  .events_item {
    width: calc(50% - 20px);
  }
}

@media (max-width: 576px) {
  .events_item {
    width: 100%;
  }
}
/*----------CURSOS-------*/
.card-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 2rem;
}

.card {
  display: flex;
  background-color: #f5f5f5; /* Color de fondo más suave */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); /* Sombra más sutil */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 250px; /* Altura mínima para hacer las tarjetas más largas */
}

.card:hover {
  transform: translateY(-5px); /* Efecto de elevación en hover */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-content {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-title {
  font-size: 1.5rem;
  color: #2a008a; /* Azul violeta como color principal */
  margin-bottom: 0.75rem;
  font-weight: bold;
}

.card-text {
  font-size: 1rem;
  color: #333333; /* Gris oscuro para el texto */
  margin-bottom: 1.25rem;
}

.card-btn {
  align-self: start;
  padding: 0.5rem 1.25rem;
  background-color: #b61313;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background-color 0.3s ease;
}

.card-btn:hover {
  background-color: #2a008a; /* Color ligeramente más oscuro en hover */
}

.card-image {
  flex: 1;
  max-width: 50%;
  min-width: 180px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

/* Responsivo para pantallas pequeñas */
@media (max-width: 768px) {
  .card-section {
    grid-template-columns: 1fr;
  }

  .card {
    flex-direction: column;
  }

  .card-image {
    max-width: 100%;
    height: 250px;
  }
}
/*--------CALENDARIO-----*/

.calendar-section {
  text-align: center;
  padding: 20px;
  margin-top: 200px;
}

/* Contenedor del calendario */
.calendar-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h2 {
  margin: 0;
  font-size: 1.5rem;
}

button {
  background: #333972;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}

button:hover {
  background: #515fff;
}

/* Días de la semana y días del calendario */
.days-of-week, .days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.days-of-week span {
  text-align: center;
  font-weight: bold;
  color: #555;
}

.days div {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  position: relative;
}

.days div.event {
  background: #00bfa5;
  color: white;
  font-weight: bold;
}

.days div:hover {
  background: #ddd;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 400px;
}

.modal-content h2 {
  margin: 0 0 10px;
  color: #333972;
}

#close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}

#close-modal:hover {
  color: #b61313;
}
/*BANER*/
.full-width-banner {
  width: 100vw;
  height: 50vh;
  overflow: hidden;
}

.banner-overlay {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(50%); /* Oscurece la imagen */
}

.banner-text {
  position: absolute;
  color: white;
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  text-align: center;
}
/*-----SECCIONES ---*/
/* Card Section */
.card-sections {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Image Section */
.image-section img {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Details Section */
.details-section {
  flex: 1;
  padding: 20px;
}

.details-section h2 {
  font-size: 2rem;
  color: #2a008a;
  margin-bottom: 10px;
  border-bottom: 2px solid #b61313;
  display: inline-block;
}

.details-section p {
  margin: 10px 0;
  line-height: 1.6;
  color: #555;
}

.details-section h3 {
  font-size: 1.5rem;
  color: #2a008a;
  display: inline-block;
  border-bottom: 2px solid #b61313;
  margin-top: 20px;
}

/* Modules List */
.modules ul {
  list-style: none;
  padding: 0;
}

.modules ul li {
  margin: 10px 0;
  padding-left: 20px;
  position: relative;
  color: #333;
}

.modules ul li::before {
  content: "✔";
  color: #b61313;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .card-section {
    flex-direction: column;
  }

  .image-section img {
    max-width: 100%;
  }

  .details-section {
    padding: 10px;
  }
}
.horario-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.horario-container {
  margin-top: 150px; /* Margen superior */

  max-width: 800px; /* Limita el ancho */
  width: 100%;
}

.horario-img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}