/* navbar.css */

/* Apply the 'Inter' font to the navbar */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500&display=swap');

/* Change the font and weight of the navbar items */
.navbar-nav .nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

/* Add spacing between each navbar item */
.navbar-nav .nav-item {
  margin-right: 20px; /* Adjust this value to your liking */
}

/* Remove the triangle icon on the dropdown */
.navbar-nav .nav-item.dropdown .nav-link::after {
  display: none; /* Remove the default triangle */
}

/* Center navbar items */
.navbar .container-fluid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .col-logo, .navbar .col-empty {
  flex: 1;
  display: flex;
  align-items: center;
}

.navbar .col-nav {
  flex: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Center each navbar item individually */
.navbar-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative; /* Permite que el dropdown se posicione bien */
}

.navbar-nav .nav-item {
  display: flex;
  align-items: center;
}

/* Ajustar la posición del dropdown */
.nav-item.dropdown .dropdown-menu {
  display: none; /* Mantenerlo oculto por defecto */
  position: absolute;
  top: 100%; /* Lo coloca justo debajo del botón */
  left: 0; /* Asegura que quede alineado con el enlace */
  background-color: #f8f9fa;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 10px;
  min-width: 200px; /* Ajustar el ancho mínimo para que no se deforme */
}

/* Mostrar el dropdown en hover */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

/* Asegurar que el dropdown no suba incorrectamente */
.navbar {
  position: relative; /* Asegurar que el navbar sea el contexto de posicionamiento */
}


@media (max-width: 991.98px) { /* Mobile y tablets en modo mobile */
  .navbar-nav .nav-link {
    padding-left: 0;
    padding-right: 0;
    margin: 0;
  }

  .navbar-nav .nav-item {
    padding-left: 0;
    padding-right: 0;
    margin: 0;
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}
