
/* RESET GENERAL Y FUENTE    */


/* Elimina márgenes y paddings por defecto en todos los elementos */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* Modelo de caja más fácil de controlar */
}

/* Fuente general del sitio */
body {
  font-family: 'Segoe UI', sans-serif;
}


/* ENCABEZADO / HEADER       */


header {
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Sombra sutil */
  position: relative;
}

/* Estilo base para los enlaces */
a {
  color: #0077B6; /* Celeste */
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s; /* Transición suave al pasar el mouse */
}

/* Color del enlace cuando el mouse pasa encima */
a:hover {
  color: #03045E; /* Azul oscuro */
}

/* Contenedor principal del encabezado */
header .header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 15px;
}

/* Tamaño del logo */
.header-wrapper .logo {
  height: 60px;
  width: auto;
}

/* Redes sociales parte superior */
.social-sup-icon {
  display: flex;
  margin: 10px 5px;
  flex-wrap: wrap;
}

/* Iconos de redes sociales */
.iconSup {
  color: #0077B6;
  font-size: 32px;
  display: inline-block;
  margin: 0px;
  transition: 0.5s;
}

.iconSup:hover {
  transform: translateY(-10px); /* Efecto flotante */
}

.icon-sup-elem {
  list-style: none;
}

/* Menú de navegación principal */
.main-nav ul {
  list-style: none;
  display: flex;
}

/* Espaciado entre ítems del menú */
.main-nav li {
  margin: 15px;
}

/* Ícono de búsqueda */
.search-icon {
  display: flex;
  align-items: center;
}

/* Estilo del ícono principal (como lupa) */
.iconMain {
  font-size: 30px;
  color: #0077B6;
  transition: 0.3s;
}

.iconMain:hover {
  color: #03045E;
}

/* Botón de inicio de sesión */
.btn-login {
  padding: 0.75rem;
  background: #6c63ff;
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-login:hover {
  background: #03045E;
  color: white;
}

.icon-main-elem {
  color: #000000;
  font-size: 32px;
  transition: 0.5s;
}



/* CARRUSEL DE IMÁGENES      */


.slider {
  width: 100%;
  height: 400px;
  overflow: hidden; /* Oculta lo que está fuera del carrusel */
}

figure {
  position: relative;
  left: 0;
  width: 400%; /* 4 veces el ancho para mostrar 3 slides */
  animation: 10s slide infinite; /* Animación infinita */
}

.slide {
  position: relative;
  width: 25%; /* 1 de cada 4 slides ocupa 25% */
  float: left;
}

.slide img {
  width: 100%;
  height: 400px;
}

/* Animación de desplazamiento lateral de las imágenes */
@keyframes slide {
  0%, 10% {
    left: 0;
  }
  20%, 40% {
    left: -100%;
  }
  50%, 70% {
    left: -200%;
  }
  80%, 85% {
    left: -100%;
  }
  93%, 1000% {
    left: 0;
  }
}



/* TARJETAS INFORMATIVAS     */


/* Secciones como "Solutions" y "Culture" */
.information, .information1 {
  display: flex;
  justify-content: space-around;
  padding: 40px;
  max-width: 1200px;
  margin: auto;
  gap: 20px;
}

/* Imágenes dentro de las tarjetas */
.information img, .information1 img {
  width: 150px;
  height: 150px;
}

/* Tarjeta individual */
.card, .information-item {
  text-align: center;
  flex: 1;
  max-width: 30%;
}

.information h3 {
  color: #003566;
}



/* SECCIÓN DE NOTICIAS       */


.media-section {
  padding: 40px;
  background: #F5F5F5; /* Gris claro */
}

.media-section h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #003566;
}

.media-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  align-items: stretch; /* Misma altura en todas */
}

.media-card {
  background: white;
  padding: 15px;
  box-shadow: 0 0 5px rgba(0, 0, 0, .1);
  width: 30%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.5s;
}

.media-card img {
  width: 100%;
  height: 180px;
  border-radius: 5px;
  object-fit: cover;
  margin-bottom: 10px;
}

.media-card iframe {
  width: 100%;
  height: 180px;
  border-radius: 5px;
  margin-bottom: 10px;
}

.media-card:hover {
  background: #f0f8ff;
  transform: translateY(-10px); /* efecto flotante */
}


/* PIE DE PÁGINA / FOOTER    */


.footer {
  position: relative;
  width: 100%;
  background: #003566;
  min-height: 100px;
  padding: 20px 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Íconos sociales alineados */
.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 5px;
  flex-wrap: wrap;
}

.icon-elem {
  list-style: none;
}

/* Estilo de íconos */
.icon {
  color: white;
  font-size: 32px;
  display: inline-block;
  margin: 0 10px;
  transition: 0.5s;
}

.icon:hover {
  transform: translateY(-10px); /* efecto flotante */
}

/* Menú inferior del footer */
.menu {
  display: flex;
  justify-content: center;
  margin: 10px 0;
  flex-wrap: wrap;
}

.menu-elem {
  list-style: none;
}

.menu-icon {
  color: white;
  font-size: 20px;
  margin: 5px 10px;
  opacity: 0.5;
  transition: 0.3s;
}

.menu-icon:hover {
  opacity: 1;
}

/* Texto final del footer */
.text {
  color: white;
  text-align: center;
  margin-top: 15px;
  margin-bottom: 10px;
  font-size: 20px;
}
