/* Estilos para el navbar */
.navbar-brand img {
    max-width: 250px;
    height: auto;
}
.nav-link {
    color: purple !important;
    font-size: 20px;
}
.navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.search-input {
    width: 150px;
}

/* Fondo con gradiente */
.gradient-bg {
    background: linear-gradient(to right, #5592C7, #65398D);
}

/* Sección Hero */
#hero {
    height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden; /* Asegura que ::before no desborde */
}
#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/lambda-inversiones.jpg');
    background-size: cover;
    background-position: 3%;
    filter: brightness(50%); /* Oscurece la imagen */
    z-index: -1;
}


/* Contenido principal */
.main-content {
    font-size: 1.65rem;
    text-align: center;
    color: white;
    padding: 5%;
}

/* Secciones */
#services, #location {
    text-align: center;
    padding: 2% 0;
}
#services h2, #location h2 {
    color: white;
    font-size: 2.2rem;
}

/* Newsletter */
.newsletter {
    text-align: center;
    padding: 3%;
    color: white;
    background-color: rgb(63, 63, 63);
}

/* Footer */
footer {
    color: white;
}

/* Media Queries para dispositivos móviles */
@media (max-width: 767px) {
    .nav-link {
        font-size: 16px;
    }
    .navbar-brand img {
        max-width: 180px;
    }
    .main-content {
        font-size: 1.2rem;
    }
}


/* Botón de WhatsApp flotante */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 10px;
    z-index: 1000;
  }
  
  .whatsapp-float a img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .whatsapp-float a img:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
  }