body {
  background-color: #021024;
  padding-top: 80px;
}
html {
  scroll-padding-top: 90px; /* Ajusta el desplazamiento de los anclajes */
}
.navbar {
  background-color: #021024;
  height: 80px;
  font-family: "Raleway", sans-serif;
  padding: 0.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* Añade sombra para profundidad */
}
.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  width: 20%;
  height: 20%;
  margin-right: -10px;
}

.navbar-brand {
  font-family: "Lato", sans-serif;
  font-weight: 500;
  color: #c1e8ff;
  font-size: 24px;
  transition: 0.3s color;
}
.navbar-brand:hover {
  color: #c1e8ff;
}
.navbar-brand::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: transparent;
  transition: background-color 0.3s ease;
}
.navbar-brand:hover::before {
  background-color: #c1e8ff;
}

.navbar-toggler:focus,
.btn-close:focus {
  box-shadow: none;
  outline: none;
}

.nav-link {
  color: #c1e8ff;
  font-weight: 500;
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #c1e8ff;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}
.nav-link:hover,
.nav-link.active {
  color: #c1e8ff;
  text-decoration: none;
  position: relative;
}
.offcanvas-body {
  background-color: #021024;
  color: #c1e8ff;
}

footer {
  font-family: "Lato", sans-serif;
  background-color: #021024;
  color: #c1e8ff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-top: 0.5px solid #c1e8ff;
  padding: 40px 20px;
}

footer h5 {
  margin-bottom: 10px;
}

footer .rights {
  margin-top: 10px;
}

footer a {
  color: #c1e8ff;
  text-decoration: none;
  margin-right: 10px;
  transition: all 0.3s ease;
  display: inline-block;
  padding: 3px 4px;
  border-radius: 4px;
}

footer a:hover {
  background: rgba(193, 232, 255, 0.1);
  transform: translateY(-2px);
}

.language-selector {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.flag {
  width: 40px; /* Ajusta el tamaño de las banderas */
  height: 30px;
  margin: 0 10px;
  transition: opacity 0.3s ease;
}

.flag:hover {
  opacity: 0.8; /* Efecto de hover para mejorar la experiencia */
}

@media (max-width: 768px) {
  footer {
    text-align: center;
  }

  footer a {
    display: block;
    margin-bottom: 10px;
  }
}
@media (max-width: 991px) {
  .logo {
    display: none;
  }
}

#microservicios {
  padding: 50px 0;
  color: #c1e8ff;
  font-family: "Raleway", sans-serif;
}

.titulo-seccion {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
}

.descripcion {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px;
}

.ventaja {
  background: #033352;
  padding: 20px;
  border-radius: 10px;
  margin: 15px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: 1px solid rgba(193, 232, 255, 0.2); /* Borde sutil */
}

.ventaja:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  border-color: rgba(193, 232, 255, 0.5);
}

.ventaja i {
  font-size: 40px;
  margin-bottom: 10px;
  color: #c1e8ff;
}

.ventaja h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.beneficios {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-top: 10px;
}

.beneficios li {
  font-size: 16px;
  margin-bottom: 8px;
  color: #c1e8ff;
  
}

#ejemplos-dashboard {
  background-color: #021024;
  color: #c1e8ff;
  padding: 50px 0;
  font-family: "Raleway", sans-serif;
}

.titulo-seccion {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
}

.descripcion {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px;
}

.carousel {
  position: relative;
  padding: 0 50px;
  background-color: transparent; /* Fondo transparente */
}

.carousel-inner {
  border-radius: 12px;
  overflow: hidden; /* Importante para que los bordes redondeados funcionen */
  background-color: transparent; /* Elimina cualquier fondo */
}

.carousel-item {
  text-align: center;
  background-color: transparent; /* Sin fondo */
}

.carousel-item img {
  height: 600px;
  width: auto; /* Cambiado de 100% a auto para mejor ajuste */
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* Mantiene la proporción */
  margin: 0 auto; /* Centra la imagen */
  display: block; /* Elimina espacio inferior */
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  padding: 3px;
}



/* Controles del carrusel (se mantienen igual) */
.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  opacity: 1;
  background-color: rgba(193, 232, 255, 0.9);
  border-radius: 50%;
  height: 70px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 -25px;
  transition: all 0.3s ease;
  border: 2px solid #052659;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: #c1e8ff;
}

.carousel-control-prev {
  left: 0;
}

.carousel-control-next {
  right: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: none;
  width: 2.5rem;
  height: 2.5rem;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23052659'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23052659'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Estilos para el caption */
.carousel-caption {
  color: #c1e8ff;
  padding: 20px;
  border-radius: 10px;
  margin-top: 10px;
  text-align: center;
  width: 100%;
  position: static;
  background: rgba(2, 16, 36, 0.8);
  backdrop-filter: blur(5px);
}

.carousel-caption h5 {
  font-size: 24px;
  margin-bottom: 10px;
}

.carousel-caption p {
  font-size: 16px;
  font-weight: normal;
}

.btn-cotizar {
  background-color: #052659;
  border: 2px solid #c1e8ff;
  color: #c1e8ff;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 12px 30px;
  font-size: 1.25rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-cotizar:hover {
  background-color: #c1e8ff;
  color: #021024;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(5, 38, 89, 0.3);
}

@media (max-width: 768px) {
  .titulo-seccion {
    font-size: 28px;
  }

  .descripcion {
    font-size: 16px;
    max-width: 95%; /* Aumenta el margen en pantallas más pequeñas */
  }

  .carousel-caption {
    font-size: 14px;
    padding: 10px;
  }

  .carousel-item img {
    height: 250px; /* Ajusta la altura para pantallas pequeñas */
    object-fit: contain; /* Mantiene la proporción de la imagen */
  }

  .carousel-item {
    padding: 0 10px; /* Reduce el margen lateral */
  }
}

@media (max-width: 576px) {
  .ventaja {
    margin: 10px 0;
  }
  
  .navbar-brand {
    font-size: 20px;
  }
}
