/* Estilos generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f0f2f5;
  color: #333;
  line-height: 1.6;
}

/* Header */
.header {
  background: linear-gradient(90deg, #003366, #00509e);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 50px;
  margin-right: 10px;
}
.menu ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
.menu a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}
.menu a:hover {
  color: #ffcc00;
}

/* Slider */
.slider {
  position: relative;
  height: 300px;
  overflow: hidden;
}
.slides {
  display: flex;
  width: 300%;
  transition: transform 0.8s ease-in-out;
}
.slide {
  min-width: 100%;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  color: white;
  background: #003366;
}
.slide:nth-child(2) {
  background: #0074cc;
}
.slide:nth-child(3) {
  background: #0099cc;
}

/* Contenido */
.contenido {
  max-width: 900px;
  margin: 40px auto;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
}
.contenido h2 {
  color: #003366;
  margin-bottom: 15px;
}

/* Footer */
.footer {
  background: #003366;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 20px;
}
.slides { transition: transform 1.8s ease-in-out; }


.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto; /* para que la altura sea flexible y se ajuste al contenido */
}


@media (max-width: 640px) {
  .swiper-slide img {
    max-height: 200px;
  }
}



