body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  line-height: 1.6;
  color: #222;
}

header {
  background-color: #004080;
  color: white;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
}

section {
  padding: 20px;
}

.carousel-container {
  position: relative;
  width: 90%;
  max-width: 1000px;
  margin: auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-track {
  display: flex;
  transition: transform 0.8s ease-in-out;
}

.carousel-track img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
}

@media (min-width: 768px) {
  .carousel-container {
    height: 400px;
  }

  .carousel-track {
    height: 100%;
  }

  .carousel-track img {
    height: 100%;
  }
}
.menu-buttons {
  display: flex;
  align-items: center;
}

.menu-toggle.cerrar {
  display: none;
}

nav.mostrar ~ .cerrar {
  display: block;
}
@media (max-width: 767px) {
  .carousel-container {
    height: auto;
  }

  .carousel-track img {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

.texto-bienvenida {
  text-align: justify;
  font-size: 1.2rem;
  margin: 2em auto;
  max-width: 800px;
  padding: 0 20px;
}

.icono-contacto {
  vertical-align: middle;
  margin-right: 8px;
}

.mensaje-padres {
  text-align: justify;
  font-size: 1.2rem;
  margin: 2em auto;
  max-width: 700px;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-style: italic;
  line-height: 1.8;
  background-color: #fdf4e3;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #ddd;
}

.social-icons {
  text-align: center;
  margin-top: 30px;
}

.social-icons a {
  margin: 0 10px;
  text-decoration: none;
}

.social-icons img {
  width: 32px;
  height: 32px;
}

@media (max-width: 600px) {
  .social-icons img {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 0 2px #000);
  }

  .social-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
  }
}

html {
  scroll-behavior: smooth;
}

a {
  color: #0645ad;
  text-decoration: underline;
}

a:hover {
  color: #002a6d;
  text-decoration: none;
}

.oculto-seo {
  position: absolute;
  left: -9999px;
  top: -9999px;
  visibility: hidden;
}

.menu-toggle {
  display: none;
  background-color: transparent;
  border: none;
  font-size: 2rem;
  color: white;
  padding: 10px;
  cursor: pointer;
}

@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    background-color: #004080;
    padding: 10px;
  }

  nav.mostrar {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  nav a {
    padding: 10px 0;
    margin: 0;
    text-align: center;
  }
}
.menu-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
@media (max-width: 600px) {
  .texto-bienvenida {
    font-size: 1rem;
    padding: 0 10px;
  }
}
@media (max-width: 600px) {
  .texto-bienvenida {
    font-size: 1rem;
    padding: 0 15px;
    text-align: justify;
  }
}
.carousel-track {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.8s ease-in-out;
}

.carousel-track picture {
  flex: 0 0 100%;
}

.carousel-container img {
  display: block;
}
@media (min-width: 769px) {
  .menu-container {
    justify-content: center;
  }

  .menu-toggle {
    display: none !important;
  }

  nav {
    display: flex !important;
  }
}