/* Estilo inicial */
.custom-navbar {
  background-color: transparent;
  transition: all 0.3s ease-in-out;
  padding: 0.3rem 1rem;  /* Antes: 0.5rem */
  min-height: 90px;      /* Antes: 140px */
}
.navbar-brand {
  display: flex;
  align-items: center;
}

.brand-txt {
  line-height: 1;
}
.custom-navbar .navbar-brand {
  position: relative;
  display: flex;
  align-items: center;
}

.custom-navbar .brand-img {
  width: 80px;
  transition: all 0.3s ease;
}

.custom-navbar .brand-txt {
  font-size: 2.5rem;
  font-weight: bold;
  color: #f5a425;
  margin-left: 10px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.custom-navbar .nav-link, .dropdown-item {
  color: #f5a425 !important;
  font-weight: bold;
  font-size: 1.2rem;
}
.custom-navbar .nav-link{
  margin-left: 0px;
}
.custom-navbar .nav-link:hover {
  background-color: #f5a425;
  color: #000 !important;
  border-radius: 5px;
  padding: 5px 10px;
}
.custom-navbar .dropdown-item:hover {
  background-color: #f5a425;
  color: #000 !important;
  border-radius: 5px;
  padding: 5px 10px;
}

/* Al hacer scroll */
.navbar-scrolled {
  background-color: #ffffff !important;
  padding: 0.2rem 1rem;  /* Antes: 0.5rem */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.785);
}

/* Al hacer scroll 
.navbar-scrolled .brand-img {
  width: 50px;
}

.navbar-scrolled .brand-txt {
  opacity: 1;
  visibility: visible;
  font-size: 1.5rem;
  color: #333;
}
  */
.navbar-scrolled .brand-img {
  width: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.navbar-scrolled .brand-txt {
  opacity: 1;
  visibility: visible;
  font-size: 1.5rem;
  color: #333;
}


/* Mostrar submenú automáticamente */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

/* Responsivo */
@media (max-width: 768px) {
  .custom-navbar .brand-txt {
    font-size: 1.2rem;
    margin-left: 8px;
    white-space: normal;
    text-align: center;
  }
  .navbar-brand {
    flex-direction: column;
    align-items: center;
  }
}
.navbar-collapse .contacto {
  background-color: #f5a425 !important;
  color: black !important;
  font-weight: bold;
}
/* -------------------- para el icono de whatsapp flotante--------------------------- */
.float{
	position:fixed;
	width:60px;
	height:60px;
	bottom:40px;
	right:40px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:30px;
	box-shadow: 2px 2px 3px #999;
  z-index:100;
}
.float:hover {
	text-decoration: none;
	color: #25d366;
  background-color:#fff;
}

.my-float{
	margin-top:16px;
}