body {
    font-family:'sans Fallback' , sans-serif;

html{
    scroll-behavior: smooth;
}
}
section [ id]{
    scroll-margin-top: 120px;
}
 

   /* Navbar ... */
.navbar{
    top: 0;
    z-index: 1000;
    height: 70px;
    margin: 14px; 
    border-radius: 20px;
    padding: 0.5rem;
    /* background-color: #fff; */
     background-color: #0D1B2A;
    /* --bs-navbar-color: #e0e0e9;
    --bs-navbar-hover-color: #257BEB;*/
    --bs-navbar-active-color: #257BEB;
}

.navbar .nav-link.active {
  color: #257BEB;
}

.navbar .nav-link.active,
.navbar .nav-link.dropdown-toggle.active {
  color: #257BEB;
}

.navbar-nav{
    font-size: 19px;
}

.navbar-brand {
    font-weight: 500;
    color: #fff;

}

.login-button{
    background-color: #257beb;
    color: #fff;
    font-size: 16px;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s background-color;
}

.login-button:hover{
    background-color: #1a9fec;
     transform: scale(1.05);
    transition: 0.3s;
}

.navbar-toggler {
    border: none;
    font-size: 1.25rem;

}


.navbar-toggler:focus, .btn-close:focus {
    outline: none;
    box-shadow: none;
} 

.nav-link{
    color: #e0e0e9;
    font-weight: 500;
    position: relative;

}

.nav-link:hover, .nav-link.active {
    color: #257BEB;
    font-weight: 500;
}

/* animacion sombreado azul */
    .nav-link::before{
        content: "";
        position : absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0%;
        height: 3px;
        background-color: #257BEB;
        visibility: hidden;
        transition: 0.3s ease-in-out; 
    }

    .nav-link:hover::before, .nav-link.active::before{
        visibility: visible;
        width: 100%;
    }

    
.offcanvas {
    background-color: #0D1B2A ;
}

.offcanvas .nav-link {
    color: #ffffff ;
    padding: 12px 0;
    
}

.offcanvas .nav-link:hover {
    color: #257BEB ;
}

.offcanvas .btn-close {
    filter: brightness(0) invert(1);
}

.offcanvas .dropdown-menu {
    background-color: #0D1B2A;
}

.offcanvas .dropdown-item {
    color: #ffffff ;
}

.offcanvas .dropdown-item:hover {
    color: #257BEB ;
    background-color: rgba(37,123,235,0.1);
}

.offcanvas .dropdown-item.active,
.dropdown-menu .dropdown-item.active {
    color: #257BEB;
    background-color: rgba(37,123,235,0.1);
}


   /* <=============el hero===============> */
.hero-section{
    background: url(../img/SRniel.jpg) no-repeat center;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover; 
    width: 100%;
    background-position: center;
    position: relative; 
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
    left: 0;
}

.hero-section .container {
   min-height: 100vh;
   display: flex;
   flex-direction: column;
   z-index: 1;
   position: relative;
    justify-content: center; 
    padding-top: 80px;
    align-items: flex-start; 
}

/* h1 */
.hero-tittle {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 550;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 15px rgba(0,0,0,0.7);
    font-family: Lato, sans-serif;
} 

/* p */
.hero-subtitle {
    font-size: 1.3rem;           /* más pequeño en móvil */
    color: #ffffff;                            
    font-weight: 550;                          /* un poco más de grosor */
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 600px;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.8);
}
/* botones del hero */
.btn-C-oportunidad {
    background: #257beb;
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    display: inline-block;
    margin-right: 1rem; 
}

.btn-C-oportunidad:hover {
    background: #1a9fec;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212,175,55,0.4);
}

.btn-conoce-niel {
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.5);
    transition: all 0.3s;
    display: inline-block;
}

.btn-conoce-niel:hover {
    border-color: #D4AF37;
    color: #D4AF37;
} 

.banner {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    align-items: center;
    justify-items: center;
}

.banner > a {
    display: flex;
    justify-content: space-around;
}

.banner > a > img {
    max-width: 100%;
    max-height: 56px;
    object-fit: contain;
    display: block;
}



/* <----------------------------------> */
           /* responsive */
/* <----------------------------------> */

/* Botones En celular  */
@media (max-width: 768px){
    .hero-section{
        min-height: 70vh;
        background-position: 75% center;
        text-align: center;
        justify-items: center;
        align-items: center;
        text-align: center; 
    }
    .hero-subtitle {
    font-size: 1.1rem;
    }
    .hero-buttons {
        display: flex;
        flex-direction: column; 
        width: 100%;
        gap: 1rem;
    }

    .btn-C-oportunidad,
    .btn-conoce-niel {
        text-align: center;
        margin-right: 0;
            
    }
    .banner{
        grid-template-columns: repeat(5, minmax(140px, 1fr));
        overflow-x: auto;
        overflow-y: hidden;
        gap: 0.75rem;
        padding: 0.75rem 0.5rem;
        justify-items: stretch;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch; /* scroll suave en cel*/
    }

    .banner > a {
        min-width: 140px;
        scroll-snap-align: start;
    }

}

/* contacto css */

.contacto-section{
     background: #f8f9fa;
}
.contacto-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contacto-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.contacto-icono {
    min-width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.formulario{
    background: #ffffff;
    border: 1px solid #e8e8e8;
    padding: 30px;   
}

.form-label{
    padding-top: 15px;
}





    
    
