/* Estilos base */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
}

/* Encabezado */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 20px;
  background-color: white;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  max-width: 150px;
  height: auto;
}

/* Ícono menú móvil */
.menu-icon {
  display: none;
  cursor: pointer;
  width: 30px;
  position: absolute;
  right: 20px;
  top: 15px;
}

/* Barra de navegación */
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #2196f3;
  padding: 10px 0;
  animation: fadeInDown 0.5s;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-links ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-links ul li {
  padding: 10px 25px;
}

.nav-links ul li a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links ul li a:hover {
  color: #ffcc00;
}

/* Separadores entre items del menú */
.nav-links ul li:not(:last-child)::after {
  content: '|';
  padding-left: 10px;
  padding-right: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}

/* Estilos responsive del menú */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #2196f3;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links ul {
    flex-direction: column;
    margin: 0;
    padding: 0;
  }
  .nav-links ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    width: 100%;
  }
  .nav-links ul li:not(:last-child)::after {
    content: '';
  }
}

/* Sección Hero */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #1a0350 0%, #a3d9ff 100%);
  padding: 60px 20px;
    animation: fadeIn 1.5s;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: rgb(255, 230, 1);
  font-weight: extra-bold;
  font-size: auto;
  animation: slideDown 1.5s ease-in-out;
}
/* Efecto de desplazamiento desde arriba hacia abajo */
@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-50px); /* Comienza arriba */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* Finaliza en su lugar original */
  }
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: rgb(255, 255, 255);
}

/* Contenedor responsivo del video */
.video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  padding-bottom: 56.25%; /* Relación de aspecto 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  margin-top: 20px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}


@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Sección About */
.about {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about h2 {
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  position: relative;
  margin-bottom: 20px;
  color:  #2196f3;
}

.about p {
  font-size: 18px;
  line-height: 1.6;
  color: rgb(0, 0, 0)
}

/* Sección Benefits */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 40px;
  background-color: rgb(255, 230, 1);
  max-width: 1200px;
  margin: 0 auto;
}

.benefit {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.benefit:hover {
  transform: scale(1.03);
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

/* Secciones varias */
.convenios {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.convenios h2,
.pagos h2,
.matricula h2,
.contacto h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #2196f3;
  font-size: 28px;
}

.convenios p,
.pagos p,
.matricula p,
.contacto p {
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
}

/* Sección CTA */
.cta {
  text-align: center;
  padding: 50px 20px;
  background-color: #2196f3;
  color: white;
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  margin: 40px auto;
  max-width: 800px;
}

.cta h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.cta p {
  font-size: 18px;
  margin-bottom: 20px;
}

.cta-button {
  display: inline-block;
  background-color: #ffb703;
  color: #222;
  padding: 15px 25px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s, transform 0.2s ease-in-out;
}

.cta-button:hover {
  background-color: #ff9800;
  transform: scale(1.05);
}

/* Modal (formulario) */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 800px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  position: relative;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

/* Galería */
.galeria {
  text-align: center;
  padding: 40px;
  background-color: #f1f1f1;
}

.galeria h2 {
  margin-bottom: 20px;
  color: #2196f3;
}

/* Contenedor del carrusel */
.carousel-wrapper {
  overflow: hidden;
  width: 100%;
  max-width: 800px;
  position: relative;
}

.gallery-container {
  display: flex;
  gap: 15px;
  animation: carrusel 15s linear infinite;
}

/* Animación del carrusel */
@keyframes carrusel {
  0% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(0);
  }
  40% {
    transform: translateX(-100%);
  }
  60% {
    transform: translateX(-200%);
  }
  80% {
    transform: translateX(-300%);
  }
  100% {
    transform: translateX(0);
  }
}

.gallery-container img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.gallery-container img:hover {
  transform: scale(1.05);
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}

/* Modal */
.modal {
  display: none; /* Oculto por defecto */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
}

.modal .close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}


/* Modal */
.modal {
  display: none; /* Oculto por defecto */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
}

.modal .close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

.galeria h2 {
  margin-bottom: 20px;
  color: #2196f3;
}

.gallery-container {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.gallery-container img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.gallery-container img:hover {
  transform: scale(1.05);
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}

/* Testimonios */
.testimonios {
  text-align: center;
  padding: 40px;
  background-color: #ffffff;
}

.testimonios h2 {
  margin-bottom: 20px;
  color: #2196f3;
}

.testimonial-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px;
  justify-content: center;
}

.testimonial {
  background: linear-gradient(135deg, #ffffff 5%, #e3f7ff 100%);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  width: 300px;
  flex: none;
  transition: transform 0.3s ease-in-out;
}

.testimonial:hover {
  transform: scale(1.05);
}

/* Mapa */
.mapa {
  text-align: center;
  padding: 40px;
  background-color: #f1f1f1;
}

.mapa h2 {
  font-size: 28px;
  color: #2196f3;
  margin-bottom: 10px;
}

.mapa p {
  font-size: 18px;
  color: #666;
  margin-bottom: 20px;
}

.map-container {
  width: 90%;
  max-width: 800px;
  margin: auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

/* Pie de página */
/* Imagen del pie */
.footer-image {
    padding: 0;
}

.footer-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s;
}

.social-icons img:hover {
    transform: scale(1.1);
}

/* Responsividad */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .button {
        width: 90%;
        text-align: center;
    }

    .footer-image img {
        max-width: 90%;
    }
}

/* Estilos del carrusel */
.carousel-inner img {
  border-radius: 10px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
}

.carousel-indicators li {
  background-color: #2196f3;
}

.carousel-indicators .active {
  background-color: #ffb703;
}

.menu-lateral {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100%;
  background-color: #f1f1f1;
  padding: 20px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
  z-index: 2000;
}

.menu-lateral ul {
  list-style: none;
  padding: 0;
}

.menu-lateral ul li {
  padding: 15px 0;
}

.menu-lateral ul li a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
}

.menu-lateral ul li a:hover {
  color: #0077B6;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
}

.menu-logo {
  display: block;
  width: 40%;
  max-width: 150px;
  margin: 10px auto;
  border-radius: 10px;
  object-fit: contain;
}

/* Botón WhatsApp */
.boton-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #098b39, #20e440, #128C7E);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
  z-index: 999;
}

.boton-whatsapp img {
  width: 35px;
  height: 35px;
}

.boton-whatsapp:hover {
  transform: scale(1.1);
}

/* Evita la selección de texto en toda la página */
body {
  -webkit-user-select: none; /* Safari y Chrome */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* Internet Explorer/Edge */
  user-select: none;         /* Estándar */
}

/* Pie de página */
footer {
  padding: 30px 20px;
  background-color: #062863;
  color: white;
  text-align: center;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.footer-logo-img {
  max-width: 120px;
  border-radius: 10px;
}

.footer-content {
  font-size: 16px;
}

.footer-text {
  margin: 5px 0;
}

.footer-link {
  color: #ffb703;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icons img {
  width: 35px;
  height: 35px;
  transition: transform 0.3s;
}

.social-icons img:hover {
  transform: scale(1.1);
}

.copyright {
font-size: 1.5vw; /* Escala automáticamente según el ancho de la pantalla */
text-align: center;
color: #666;
}


.cv {
    font-family: 'Poppins', sans-serif;
    padding: 40px;
    background-color: #f4f4f4;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.cv2 {
    font-family: 'Poppins', sans-serif;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}
.cv h1 {
    color: #2196f3;
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
}

.cv h2 {
    color: #062863;
    font-size: 28px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.cv p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

.cv ul {
    margin: 10px 0;
    padding-left: 20px;
}

.cv ul li {
    font-size: 18px;
    color: #444;
    margin-bottom: 8px;
}

.cv ol {
    padding-left: 20px;
}

.cv ol li {
    font-size: 18px;
    color: #444;
    margin-bottom: 8px;
}

.cv a {
    color: #0077B6;
    text-decoration: none;
}

.cv a:hover {
    text-decoration: underline;
}

.cv p1 {
        line-height: 1.8;
        text-align: justify;
        color: #ffffff;
    }

.cv h5 {
    color: #ffffff;
    font-size: 28px;
    margin-top: 20px;
    margin-bottom: 10px;
}