*{
    margin: 0;
    padding: 0;
    box-sizing: 0;
}


/* menu */

header{
    background-image: url(/assets/images/fondo-banner.png);
    background-size: cover;
    background-position: center center;
    position: relative;   
}

.main-container{
    margin-left: 10%;
    margin-right: 10%;
}


.navbar {
    position: fixed !important;
    top: 0;
    width: 100% !important;
    background-color: transparent; /* Elimina el !important */
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.scrolled {
    background-color: #fff !important; 
    border-bottom: 2px solid rgba(0, 0, 0, 0.2) !important; 
}


.logo{
    margin-top: -40px;
    width: 120px;
    margin-bottom: -14px;
}


.navbar-nav{
    margin-left: auto !important;
}

.nav-superior{
    text-align: right;
    
}

.navbar.scrolled .nav-link {
    color: #002766 !important; /* Cambia el color del texto cuando la navbar tiene el fondo blanco */
}

.nav-superior a{
    color: #fff;
    margin-top: 50px;
    font-size: 18px;
}

.nav-superior a:hover{
    color: #fff;
}

.nav-link{
    color: #fff;
    font-size: 20px;
}

.nav-link:hover{
    color: #2292dd;
}

.navbar-toggler-icon{
    color: #e20a0a;
}

.banner{
    padding: 40px;
    width: 60%;
    margin-top: 10%;
    text-align: center;
    margin-left: auto;
}

.banner img{
    width: 50%;
}
.banner h2{
    color: #fff;
    font-size: 7rem;
    margin-bottom: 0;

   
}
.banner p{
    margin-top: -15px;
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 50px;
 
}

/* barra sub menu servicios */

.submenu-servicios{
    position: absolute;
    top: -50px;
    left: 20px;
    right: 20px;

}

.cont-menu {
    border-radius: 10px;
    top: 0;
    width: 60%;
    margin: 0 auto;
    background-color: #01548C;
    display: flex;
    text-align: center;
    justify-content: space-between;
    align-items: stretch; 
}

.box-men {
    border-right: 2px solid #044773;
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
    flex: 1; 
}


.no-bor {
    border: none;
}

.box-men img {
    width: 40% !important;
    margin-top: 10px;
}

.box-men h2 {
    color: #fff;
    width: 70%;
    margin: 10px auto;
    font-size: 20px;
    flex-grow: 1; 
    display: flex;
    align-items: center; 
    justify-content: center; 
}

#barra-servicios{
    position: relative;
}

/*nosotros*/

 #nosotros{
    background-image: url(/assets/images/fondo-nosotros.png);
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: 100px;
    margin-bottom: 100px;
  }

  .cont-nosotros{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px;
  }
  
  .izq-cont{
    width: 70%;
    padding: 20px;
  }
  
  .der-cont{
    width: 50%;
    padding: 20px;
    text-align: center;
  }
  
  .izq-cont h3{
    text-align: left;
    color:#002055;
    font-size: 40px;
    text-transform: uppercase;
    font-weight: 600;
    width: 100%;
   
    margin: 0px auto;
  }
  
  .izq-cont p{
    text-align: left;
    font-size: 20px;
    margin: 20px auto;
    width: 100%;
  }
  
  .der-cont img{
    margin: 0;
    width: 50%;
  }

  /*funciones agentes*/

  .agente{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cont-funciones{
    text-align: center;
    border-radius: 10px;
    background-size: cover;
    padding: 20px;
    color: #000000;
    font-size: 25px;
}

.funciones{
    text-align: center ;
    padding: 40px;
    color: #002055;
    font-size: 25px;
}
.grid-funciones{
    display: flex;
    text-align: center;
    justify-content: space-between;
}

.grid-funciones li{
    text-align: center;
}

.personas img{
   
    width: 100%;
}

.texto-agentes{
    text-align: center;
    border-radius: 10px;
    background-size: cover;
    padding: 20px;
    color: #000000;
    font-size: 25px;
}
/*actors*/
#contratacion{
    background-image: url(/assets/images/fondo-nosotros.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.actores{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    
}

.cont-actores{
    display: flex;
    
    align-items: center;
   
}

.box-actor{
    width: 100%;
}

.cont-actores h6{
    text-align: left;
    color: #000;
    font-size: 20px;
}

.cont-actores p{
    text-align: left;
    color: #000;
    font-size: 20px;
}

.cont-actores img{
    width: 100px;
    height: 100px;
    
}

/*servicios*/

#servicios{
    margin-top: 100px;
    background-color: #003A72;
    padding: 40px;
}

.cont-servicios{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
}

.item-serv{
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 20px;
    margin: 10px ;
}

.item-serv img{
    width: 100%;
    margin: 0 auto;
}

.cont-servicios button{
    background-color: transparent;
    color: #fff;
    padding: 2px;
    text-align: center;
    border: 2px solid;
    font-size: 20px;
    outline: none;
    width: 120px !important;
    margin: 10px auto;
    cursor: pointer;
}

.titulo-serv h5{
    color: #fff;
    text-align: center;
    font-size: 80px;
}

/*formulario*/
#contacto{
    background-image:url(/assets/images/fondo-contacto.png);
    background-size: cover;
    padding: 60px 60px 0 60px
}

 .formulario{
    display: flex;
    justify-content: space-between;
  }

.titulo-contacto h5{
    font-size: 60px;
    color: #fff;
    text-align: center;
  }

  input, select, textarea{
    
    width: 100%;
    border-bottom: 2px solid #fff !important;
    margin: 20px !important;
    border: none;
    background-color: transparent;
}

input::placeholder{
    color: #ffffff;
  }
  
  textarea::placeholder{
    color: #ffffff;
  }
  
  .controls{
    display: flex;
    justify-content: center;
    margin: 20px auto;
  }
  
  select{
    color: #ffffff;
  }
  
  .formulario button{
    background-color: transparent;
    color: #fff;
    padding: 2px;
    text-align: center;
    border: 2px solid;
    font-size: 20px;
    outline: none;
    width: 100px !important;
    margin: 10px auto;
    
  }

  .cont-der img{
    width: 120%;
  }

  option{
    color: #000;
}
  
/*--------------------------------
              Whatsapp
  --------------------------------*/
  .float{
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    left: 20px;
    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;
}

/*footer*/
footer{
    position: relative;
}

#footer{
    padding: 10px;
     background-color: #ffffff;
     background-size: cover;
     background-repeat: no-repeat;
  }
  
  .cont-foo{
     display: flex;
     justify-content:space-between;
     padding: 20px;
     align-items: center;
     position: relative;
  }
  
  .logo-footer img{
    width: 70%;
  }
  
  .enlaces h2{
     text-align: left;
     color: #000000;
     font-size: 40px;
  }
  
  li{
    list-style: none;
    text-align: left;
  }
  
  .enlaces{
     text-align: left;
     color: #000000;
     font-size: 25px;
     line-height: 2;
  }
  
  .enlaces .fa-play{
     color: #000000 !important;
  }
  
  .enlaces a{
     color: #000000;
  }
  .enlaces a:hover{
     color: #000000;
     text-decoration: none;
  }

  .ornament{
    position: absolute;
    right: 0;
    bottom: 0;
    width: 15%;
  }

  .whats h2{
    text-align: left;
    color: #000000;
    font-size: 40px;
  }
  
  .whats{
    text-align: left;
     color: #000000;
     font-size: 18px;
     line-height: 2;
  }

  .whats a{

    color: #000000;
}
    .whats a:hover{
    color: #000000;
    text-decoration: none;
    }
  /*creditos*/
  
  .creditos h6{
     color: #23232359;
     font-size: 14px;
     text-align: center;
  }
  .creditos a{
     text-decoration: none;
     color: #23232359;
  }
  .creditos a:hover{
     text-decoration: none;
  }


  @media (max-width: 300px){
    .navbar-toggler-icon{
        background: url(/assets/images/menu_icon.png) !important;
        background-repeat: no-repeat !important;
    }
    .navbar{
        background-color: #ffffff !important;
        height: fit-content;
        
    }
    .nav-link{
        color: #000;
    }
    .nav-superior{
        display: none;
    }
    .logo{
        margin: 0;
        width: 60px;
    }

    .main-container{
        margin-left: 5%;
        margin-right: 5%;
    }

    .banner{
        padding-top: 30%;
        height: fit-content;
    }
    .banner h2{
        font-size: 2rem;
    }
    .banner p{
        margin-top: 20px;
        font-size: 1.5rem;
        line-height: 0.9;
    }

    /* barra servicios */

    .submenu-servicios{
        position: unset;
    }

    .cont-menu{
        flex-direction: column;
        width: 100%;
        border-radius: 0px;
    }

    /* nosotros */
    #nosotros{
        margin-top: 0;
    }

    .cont-nosotros{
        padding: 10px;
        flex-direction: column;
    }

    .izq-cont{
        width: 100%;
    }
    
    .izq-cont h3{
        font-size: 2rem;
    }

    .der-cont{
        width: 100%;
    }

    .der-cont img{
        width: 100%;
    }

    .cont-funciones p{
        font-size: 20px;
        text-align: justify;
    }

    .grid-funciones{
        flex-direction: column;
        gap: 20px;
    }

    .grid-funciones li{
        font-size: 20px;

    }

    .actores{
        flex-direction: column;
    }

    .titulo-serv h5{
        font-size: 2rem;
    }

    .cont-servicios{
        grid-template-columns: repeat(2, 1fr);
    }

    .texto-agentes p{
        text-align: justify;
        font-size: 20px;
    }

    /* contacto */
    #contacto{
        padding: 10px 10px 0 10px;
    }

    .formulario{
        flex-direction: column;
        justify-content: center;
    }

    .cont-izq{
        width: 100%;

    }

    .titulo-contacto h5{
        font-size: 2rem;
        text-align: center;
    }

    .controls{
        flex-direction: column;
        margin: 0;
        width: 100%;
    }

    form{
        padding: 0;
    }

    .cont-der img{
        width: 100%;
    }
    input, select, textarea{
        margin: 0;
    }

    .g-recaptcha{
        transform: scale(0.8);
    }


    /* footer */
    .cont-foo{
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .logo-footer img{
        margin: 0 auto;
        width: 80%;
    }

    .enlaces h2{
        font-size: 2rem;
    }

    .enlaces li{
        font-size: 14px;
    }

    .whats a{
        font-size: 14px;
    }

    .ornament{
        display: none;
    }

  }

  @media (min-width: 320px) and (max-width:650px){
    .navbar-toggler-icon{
        background: url(/assets/images/menu_icon.png) !important;
        background-repeat: no-repeat !important;
    }
    .navbar{
        background-color: #ffffff !important;
    }
    .nav-link{
        color: #000;
    }
    .nav-superior{
        display: none;
    }
    .logo{
        margin: 0;
        width: 80px;
    }

    header{
        background-position: center;
    }

    .main-container{
        margin-left: 5%;
        margin-right: 5%;
    }

    .banner{
        padding-top: 30%;
        height: fit-content;

    }
    .banner h2{
        font-size: 2.5rem;
    }
    .banner p{
        margin-top: 20px;
        font-size: 2rem;
        line-height: 0.9;
    }

    /* barra servicios */

    .submenu-servicios{
        position: unset;
    }

    .cont-menu{
        flex-direction: column;
        width: 100%;
        border-radius: 0px;
    }

    /* nosotros */
    #nosotros{
        margin-top: 0;
    }

    .cont-nosotros{
        padding: 10px;
        flex-direction: column;
    }

    .izq-cont{
        width: 100%;
    }
    
    .izq-cont h3{
        font-size: 2rem;
    }

    .der-cont{
        width: 100%;
    }

    .der-cont img{
        width: 100%;
    }

    .cont-funciones p{
        font-size: 20px;
        text-align: justify;
    }

    .grid-funciones{
        flex-direction: column;
        gap: 20px;
    }

    .grid-funciones li{
        font-size: 20px;

    }

    .actores{
        flex-direction: column;
    }

    /* servicios */
    #servicios{
        padding: 10px;
    }
    .titulo-serv h5{
        font-size: 2rem;
    }

    
    .cont-servicios{
        padding: 0;
        grid-template-columns: repeat(2, 1fr);
    }

    .texto-agentes p{
        text-align: justify;
        font-size: 20px;
    }

    .item-serv img{
        width: 100%;
        
    }

    /* contacto */
    #contacto{
        padding: 10px 10px 0x 10px;
    }

    .formulario{
        flex-direction: column;
        justify-content: center;
    }

    .cont-izq{
        width: 100%;

    }

    .titulo-contacto h5{
        font-size: 2rem;
        text-align: center;
    }

    .controls{
        flex-direction: column;
        margin: 0;
        width: 100%;
    }

    form{
        padding: 0;
    }

    .cont-der img{
        width: 100%;
    }

    /* footer */
    .cont-foo{
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .logo-footer img{
        margin: 0 auto;
        width: 80%;
    }

    .enlaces h2{
        font-size: 2rem;
    }

    .enlaces li{
        font-size: 20px;
    }

    .whats a{
        font-size: 20px;
    }

    .ornament{
        display: none;
    }

    
  }

  @media (min-width: 767px) and (max-width: 1000px){
    .navbar-toggler-icon{
        background: url(/assets/images/menu_icon.png) !important;
        background-repeat: no-repeat !important;
    }
    .navbar{
        background-color: #ffffff !important;
    }
    .nav-link{
        color: #000;
    }
    .nav-superior{
        display: none;
    }
    .logo{
        margin: 0;
        width: 80px;
    }
    header{
        background-position: left;
    }

    .main-container{
        margin-left: 5%;
        margin-right: 5%;
    }

    .banner{
        padding-top: 20%;

    }
    .banner h2{
        font-size: 2.5rem;
    }
    .banner p{
        margin-top: 20px;
        font-size: 2rem;
        line-height: 0.9;
    }

    /* barra servicios */

    .submenu-servicios{
        position: unset;
    }

    .cont-menu{
        flex-direction: column;
        width: 100%;
        border-radius: 0px;
    }

    /* nosotros */
    #nosotros{
        margin-top: 0;
    }

    .cont-nosotros{
        padding: 10px;
        flex-direction: column;
    }

    .izq-cont{
        width: 100%;
    }
    
    .izq-cont h3{
        font-size: 2rem;
    }

    .der-cont{
        width: 100%;
    }

    .der-cont img{
        width: 100%;
    }

    .cont-funciones p{
        font-size: 20px;
        text-align: justify;
    }

    .grid-funciones{
        flex-direction: column;
        gap: 20px;
    }

    .grid-funciones li{
        font-size: 20px;

    }

    .actores{
        flex-direction: column;
    }

    /* servicios */
    #servicios{
        padding: 10px;
    }
    .titulo-serv h5{
        font-size: 2rem;
    }

    
    .cont-servicios{
        padding: 0;
        grid-template-columns: repeat(2, 1fr);
    }

    .texto-agentes p{
        text-align: justify;
        font-size: 20px;
    }

    .item-serv img{
        width: 100%;
        
    }

    .box-men h2{
        font-size: 25px;
    }

    /* contacto */
    #contacto{
        padding: 10px 10px 0x 10px;
    }

    .formulario{
        flex-direction: column;
        justify-content: center;
    }

    .cont-izq{
        width: 100%;

    }

    .titulo-contacto h5{
        font-size: 2rem;
        text-align: center;
    }

    .controls{
        flex-direction: column;
        margin: 0;
        width: 100%;
    }

    form{
        padding: 0;
    }

    .cont-der img{
        width: 100%;
    }

    /* footer */
    .cont-foo{
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .logo-footer img{
        margin: 0 auto;
        width: 80%;
    }

    .enlaces h2{
        font-size: 2rem;
    }

    .enlaces li{
        font-size: 20px;
    }

    .whats a{
        font-size: 20px;
    }

    .ornament{
        display: none;
    }

    
  }

  @media (min-width: 1050px) and (max-width: 1266px){
    .navbar-toggler-icon{
        background: url(/assets/images/menu_icon.png) !important;
        background-repeat: no-repeat !important;
    }
    .navbar{
        background-color: #ffffff !important;
    }
    .nav-link{
        color: #000;
    }
    .nav-superior{
        display: none;
    }
    .logo{
        margin: 0;
        width: 80px;
    }
    header{
        background-position: left;
    }

    .main-container{
        margin-left: 5%;
        margin-right: 5%;
    }

    .banner{
        padding: 20px;
        padding-top: 10%;

    }
    .banner h2{
        font-size: 3rem;
    }
    .banner p{
        margin-top: 20px;
        font-size: 3.5rem;
        line-height: 0.9;
    }

    /* barra servicios */

    .submenu-servicios{
        position: absolute;
    }

    .box-men h2{
        font-size: 18px;
    }

    .cont-menu{
        
        width: 100%;
        border-radius: 0px;
    }

    /* nosotros */
    #nosotros{
        margin-top: 100px;
    }

    .cont-nosotros{
        padding: 10px;
    }

    .izq-cont{
        width: 100%;
    }
    
    .izq-cont h3{
        font-size: 2rem;
    }

    .der-cont{
        width: 100%;
    }

    .der-cont img{
        width: 100%;
    }

    .cont-funciones p{
        font-size: 20px;
        
    }

    .grid-funciones{
       
        gap: 20px;
    }

    .grid-funciones li{
        font-size: 20px;

    }

   

    /* servicios */
    #servicios{
        padding: 10px;
    }
    .titulo-serv h5{
        font-size: 2rem;
    }

    
    .cont-servicios{
        padding: 0;
        grid-template-columns: repeat(4, 1fr);
    }

    .texto-agentes p{
        text-align: justify;
        font-size: 20px;
    }

    .item-serv img{
        width: 100%;
        
    }

    /* contacto */
    #contacto{
        padding: 10px 10px 0x 10px;
    }

    .formulario{
        
        justify-content: center;
    }

    .cont-izq{
        width: 60%;

    }

    .titulo-contacto h5{
        font-size: 3rem;
        text-align: center;
    }

    .controls{
        
        margin: 0;
        width: 100%;
    }

    form{
        padding: 0;
    }

    .cont-der img{
        width: 100%;
    }

    /* footer */
    .cont-foo{
        
        gap: 20px;
        text-align: center;
    }

    .logo-footer img{
        margin: 0 auto;
        width: 80%;
    }

    .enlaces h2{
        font-size: 2rem;
    }

    .creditos h6{
        font-size: 18px;
    }

    .enlaces li{
        font-size: 20px;
    }

    .whats a{
        font-size: 20px;
    }

    .ornament{
        display: none;
    }

    
  }

   @media (min-width: 1300px) and (max-width: 1600px){
    .navbar-toggler-icon{
        background: url(/assets/images/menu_icon.png) !important;
        background-repeat: no-repeat !important;
    }
    .navbar{
        background-color: #ffffff !important;
    }
    .nav-link{
        color: #000;
    }
    .nav-superior{
        display: none;
    }
    .logo{
        margin: 0;
    }
    header{
        background-position: left;
    }

    .main-container{
        margin-left: 5%;
        margin-right: 5%;
    }

    .banner{
        padding: 10px;

    }
    .banner h2{
        font-size: 3rem;
    }
    .banner p{
        margin-top: 20px;
        font-size: 3.5rem;
        line-height: 0.9;
    }

    /* barra servicios */

    .submenu-servicios{
        position: absolute;
    }

    .box-men h2{
        font-size: 18px;
    }

    .cont-menu{
        
        width: 100%;
        border-radius: 0px;
    }

    /* nosotros */
    #nosotros{
        margin-top: 100px;
    }

    .cont-nosotros{
        padding: 10px;
    }

    .izq-cont{
        width: 100%;
    }
    
    .izq-cont h3{
        font-size: 2rem;
    }

    .der-cont{
        width: 100%;
    }

    .der-cont img{
        width: 100%;
    }

    .cont-funciones p{
        font-size: 20px;
        
    }

    .grid-funciones{
       
        gap: 20px;
    }

    .grid-funciones li{
        font-size: 20px;

    }

   

    /* servicios */
    #servicios{
        padding: 10px;
    }
    .titulo-serv h5{
        font-size: 2rem;
    }

    
    .cont-servicios{
        padding: 0;
        grid-template-columns: repeat(4, 1fr);
    }

    .texto-agentes p{
        text-align: justify;
        font-size: 20px;
    }

    .item-serv img{
        width: 100%;
        
    }

    /* contacto */
    #contacto{
        padding: 10px 10px 0x 10px;
    }

    .formulario{
        
        justify-content: center;
    }

    .cont-izq{
        width: 60%;

    }

    .titulo-contacto h5{
        font-size: 3rem;
        text-align: center;
    }

    .controls{
        
        margin: 0;
        width: 100%;
    }

    form{
        padding: 0;
    }

    .cont-der img{
        width: 100%;
    }

    /* footer */
    .cont-foo{
        
        gap: 20px;
        text-align: center;
    }

    .logo-footer img{
        margin: 0 auto;
        width: 80%;
    }

    .enlaces h2{
        font-size: 2rem;
    }

    .creditos h6{
        font-size: 18px;
    }

    .enlaces li{
        font-size: 20px;
    }

    .whats a{
        font-size: 20px;
    }

    .ornament{
        display: none;
    }

    
  }