/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa;
    color: #212529;
}

/* Navbar */
.navbar-brand img {
    border: 2px solid #fff;
}

/* Navbar Styles */
.navbar {
    padding: 1rem 0;
    border-bottom: 2px solid #e9ecef;
    /* Línea sutil */
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    /* Espaciado entre los elementos del menú */
}

.nav-link {
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: capitalize;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar-nav .nav-link:hover {
    color: #0d6efd; /* Color azul Bootstrap para hover */
  }
  

/* Footer */
footer {
    background-color: #343a40;
    color: #fff;
}

a {
    text-decoration: none;
}


/* color de nav var azul fuerte */
.bg-primary {
    background-color: #123460 !important;
}

.hero-content {
    background: rgba(0, 0, 0, 0.5);
    /* Overlay oscuro */
    padding: 20px 40px;
    border-radius: 10px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 0;
}

/* Información e imagen de abajo */
.info-section {
    background: #f5f9ff;
    /* Fondo claro */
    padding: 40px 0;
}

.info-text {
    flex: 1;
    padding: 20px;
    max-width: 50%;
}

.info-text h2 {
    font-size: 1.8rem;
    color: #0056b3;
    margin-bottom: 1rem;
}

.info-text p {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}

.info-image {
    flex: 1;
    padding: 20px;
    max-width: 50%;
    text-align: center;
}

.info-image img {
    max-width: 80%;
    height: auto;
}
/* IMPORTANTE PARA EL NAV VAR IGUAL A TODOS*/
.container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid; /*Cambia a grid, para que el titulo quede centrado*/
    flex-wrap: wrap;
  }

.hero-consultores {
    background-image: url('../Imagenes/ejemplo.jpg');
    /* Cambia esto por la ruta de tu imagen */
    background-size: cover;
    /* Ajusta la imagen para que cubra todo el contenedor */
    background-position: center;
    /* Centra la imagen */
    background-repeat: no-repeat;
    /* Evita que la imagen se repita */
    height: 300px;
    /* Ajusta el alto según lo que necesites */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    /* Para que el texto sea legible */
    text-align: center;
    /* Centra el texto */
    padding: 20px;
    position: relative;
}

.hero-content {
    background: rgba(0, 0, 0, 0.5);
    /* Fondo oscuro semitransparente para mejorar la legibilidad del texto */
    padding: 20px;
    border-radius: 10px;
    /* Bordes redondeados */
}

/* Botón de WhatsApp flotante */
.whatsapp-float {
    position: fixed;
    right: 30px;
    bottom: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 40px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

.whatsapp-float a {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
}