/* Custom styles */
/* Añadimos un padding-top en el body para que el slider no se esconda debajo del navbar */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding-top: 120px; /* Igual a la altura del navbar para que el contenido no quede oculto */
}

/* Ajustes del navbar sticky */
.navbar.fixed-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* Asegura que el navbar esté por encima de otros elementos */
}

.navbar {
  font-size: 1rem;
  background-color: #fff;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  height: 120px; /* Asegura espacio suficiente para el logo */
}

/* Ajustes en el contenedor de la navbar */
.navbar .container-fluid {
  padding-left: 1rem; /* Ajusta según necesites */
  padding-right: 1rem;
  margin-left: 0;
  margin-right: 0;
}

/* Para asegurar que el logo de la navbar esté alineado al borde */
.navbar-brand img {
  height: 100%;
  max-height: 120px;
  object-fit: contain;
  margin-left: 0;
}

/* Para el logo del header */
.navbar-brand {
  margin-left: 1rem; /* Elimina el margen izquierdo */
}

.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  margin: 0 10px;
  color: #333;
  text-decoration: none;
  border-right: 1px solid #ccc;
}

.nav-link:last-child {
  border-right: none;
}

.nav-link:hover {
  text-decoration: none;
}

.nav-link.active {
  font-weight: bold;
  color: #007bff;
}

.navbar-nav {
  margin-left: 2rem; /* Ajusta según necesites */
}

/* Espaciado entre los elementos en dispositivos móviles */
.navbar-nav .nav-link {
  margin: 0.5rem 0;
}

@media (max-width: 768px) {
  .navbar .container-fluid {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .navbar-nav {
    margin-left: 0;
    text-align: left;
  }
}
.navbar-toggler {
  border: none;
  outline: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' fill='black' class='bi bi-list' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M2.5 12.5A.5.5 0 0 1 3 13h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-5A.5.5 0 0 1 3 8h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-5A.5.5 0 0 1 3 3h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
  background-size: contain;
}

.collapse {
  text-align: center;
}

footer {
  background-color: #444;
  color: #fff;
  padding: 20px 80px;
  margin-top: auto;
}

/* Para el footer */
footer .container {
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
}

.footer-logo img {
  height: 100%;
  max-height: 120px;
  object-fit: contain;
  margin-left: 0;
}

.footer-contact {
  display: flex;
  align-items: center;
}

.footer-contact p {
  margin-left: 15px;
}

.footer-social a {
  color: #fff;
  margin-right: 10px;
  font-size: 1.5rem;
}

.footer-social a:hover {
  color: #ccc;
}

.footer-logo {
  margin-left: 0; /* Elimina el margen izquierdo */
}

.btn-wsp {
  position: fixed;
  width: 60px;
  height: 60px;
  line-height: 60px;
  bottom: 25px;
  right: 25px;
  background: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 0px;
  box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.3);
  z-index: 100;
  transition: all 300ms ease;
}

.btn-wsp img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Asegura que la imagen se ajuste al botón */
  border-radius: 50%; /* Opcional, para que la imagen también sea redonda */
}
.btn-wsp:hover {
  background: #20ba5a;
}
@media only screen and (min-width: 320px) and (max-width: 768px) {
  .btn-wsp {
    width: 60px;
    height: 60px;
    line-height: 63px;
  }
}
