html {
    scroll-behavior: smooth;
}

:root {
    --primary: #042C5C;
    --secondary: #0F4C81;
    --light: #F9F9F9;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
}
p {
    margin: 0;
    padding: 0;
}

header {
    position: relative;
    background-image: url('../img/image-1.jpg');
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
    z-index: 1;
}

header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(4, 44, 92, 0.8); /* azul con 80% opacidad */
    z-index: 0;
}

header .container {
    position: relative;
    z-index: 1; /* encima del overlay */
}
.redes-header a {
    transition: all .5s;
}
.redes-header a:hover {
    border-color: #ffc107!important;
    color: #ffc107!important;
}

.menu-toggle {
    font-size: 28px;
    background: none;
    border: none;
    color: var(--primary);
}

.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 260px;
    height: 100%;
    background-color: white;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    padding: 30px 20px;
    transition: left 0.3s ease;
    z-index: 1050;
}

.sidebar.open {
    left: 0;
}

.sidebar .close-btn {
    font-size: 28px;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.sidebar a,
.sidebar span {
    display: block;
    padding: 12px 0;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.sidebar i {
    color: var(--primary);
}

.sidebar a:hover {
    color: var(--secondary);
}

a {
    text-decoration: none;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #25d366;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 50%;
    font-size: 24px;
    z-index: 1000;
    color: white;
    line-height: 2;
}

.telefono p {
    margin: 0;
    line-height: 1.2;
}


.slogan {
    position: relative;
}
.redes-header {
    position: absolute;
    right: 0;
    top: 44px;
}
.solucion {
    font-size: 40px;
    line-height: 1;
}


/* 
    quienes somos
*/
.quienes-somos {
    background: #f9f9f9;
}
.why-us {
    background: white;
    padding: 40px 20px;
    text-align: center;
    margin-top: -62px;
    z-index: 123;
    position: relative;
    border-radius: 10px;
}
/* 
    SERVICIOS
*/
#servicios {
    padding: 80px;
    .divider {
        border: solid 2px #ffc107;
        width: 50px;
        margin: 0 auto;
    }
}
.service-card {
    transition: all .2s;
}
.service-card:hover {
    background-color: #ffc107;
}
@media (max-width: 767.98px) {
    .border-card-one {
      border-bottom: none !important;
    }
    .border-card-dos {
      border: none !important;
    }
    .border-card-tres {
      border-bottom: none !important;
    }
    .border-card-cinco {
      border-left: none !important;
      border-right: none !important;
    }
  }
  @media (min-width: 768px) {
    .border-card-one {
      border-bottom: solid thin lightgrey !important;
    }
    .border-card-dos {
      border-bottom: solid thin lightgrey;
      border-left: solid thin lightgrey;
      border-right: solid thin lightgrey;
    }
    .border-card-tres {
      border-bottom: solid thin lightgrey;
    }
    .border-card-cinco {
      border-left: solid thin lightgrey;
      border-right: solid thin lightgrey;
    }
  }
/* 
    nuestro equipo
*/


/* 
    banner
*/
.banner {
    background-image: url('../img/image-1.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    position: relative;
    z-index: 1;
}
.banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(4, 44, 92, 0.8);
    z-index: 0;
}

/* 
    PARTNERS
*/
.partners img:hover {
    filter: grayscale(0%)!important;
}


/* 
    contacto
*/
 #contacto .icono {
    color: seagreen;
  }


  /* 
    footer
  */
.main-footer {
    position: relative;
    background-color: rgb(0, 32, 76);
    .container {
        position: static;
    }
    .scroll-to-top {
        position: fixed;
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        color: rgb(225, 161, 34);
        font-size: 13px;
        text-transform: uppercase;
        line-height: 38px;
        text-align: center;
        z-index: 100;
        cursor: pointer;
        display: none;
        box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 10px;
        background: rgb(255, 255, 255);
        border-radius: 50px;
        transition: 300ms;
    }
    .redes-footer a {
        color: white;
        transition: color 0.3s ease, border-color 0.3s ease;
        text-decoration: none;
        }

        .redes-footer a:hover {
        color: #ffc107;
        }
    .links-interes a {
        width: fit-content;
        font-size: 14px;
    }
    .links-interes a:hover {
        color: #ffc107!important;
    }
    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 10px 0;
    }
}


@media (max-width: 768px) {
    
    .main-links,
    .contact-box {
        display: none !important;
    }
    
    .menu-toggle {
        display: block;
    }
}

@media (min-width: 769px) {
    header {
        color: white;
    }
    
    header .main-links a {
        color: white !important;
    }
    
    header .contact-box i {
        color: white !important;
    }
    header .logo {
        color: white !important;
    }
    
    header .btn.btn-warning {
        color: #042C5C; /* opcional: texto azul sobre fondo amarillo */
    }
    .menu-toggle {
        display: none;
    }
    .solucion {
        font-size: 60px;
        line-height: 1;
    }
}




.fact-one {
    background-image: url(../img/fact-bg-1-1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.block-title__title {
    margin: 0;
    font-size: 44px;
    color: #333333;
    font-weight: bold;
    margin-top: -13px;
}
.block-title__text-one {
    margin: 0;
    color: #666666;
    font-size: 16px;
    line-height: 1.6em;
    font-style: italic;
    font-weight: bold;
    border-left: 3px solid #e23e4e;
    padding-left: 25px;
    margin-top: 25px;
}
.fact-one__list li {
    position: relative;
    padding-left: 25px;
    padding-right: 40px;
    padding-top: 10px;
}
.fact-one__list li:first-child {
    padding-top: 35px;
}
.fact-one__list li > i {
    font-size: 16px;
    font-weight: bold;
    color: #e0a965;
    position: absolute;
    top: 15px;
    left: 0px;
    -webkit-transition: all .4sease;
    transition: all .4sease;
}
.fact-one__list li:first-child > i {
    top: 40px;
}
.fact-one__list li h3 {
    margin: 0;
    color: #333333;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    -webkit-transition: all .4sease;
    transition: all .4sease;
}
.fact-one__list li p {
    margin: 0;
    font-size: 14px;
    line-height: 24px;
    font-weight: 300;
    color: #666666;
    -webkit-transition: all .4sease;
    transition: all .4sease;
}