@import url('https://cdn.jsdelivr.net/npm/fontsource-poppins@5.9.0/index.css');

.cabeza span{
    color: white;
    font-family: 'Poppins', sans-serif;
}
.navbar-nav .nav-item.active-inv .nav-link {
    text-decoration: underline #00266A 5px; /* Color naranja para el subrayado */
}
.redes-sociales a {
    color: white;
    margin: .65rem;
}
.navbar-nav a{
    color: #00266A;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
     margin-left: 30px;
}
.navbar-nav .nav-item.active .nav-link {
    text-decoration: underline #F59C1A 5px; /* Color naranja para el subrayado */
}
.nav-item .boton{
    background-color: #F59C1A;
    color: white;
    border-radius: 30px;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    box-sizing: border-box;
    width: auto;
    display: inline-block;
}
.carousel-inner .container h1{
    color: white;
    font-weight: bold;
}
.carousel-inner .container h1 span{
    color: #F59C1A;
}
.carousel-inner h3{
    color: white;
    text-align: start;
}
.btn-info{
    background-color: #F59C1A !important;
    color: white;
}
.btn-info1{
    background-color: #F59C1A !important;
    color: white;
    width: auto;
}
.texto-1{
    color: #3D4147;
    line-height: 1.5rem;
    font-size: 1.2rem;
}
.card-title{
    padding: 0 0 0 1rem;
    color: #00266A;
    font-weight: bold;
}
.card-text{
    color: #3D4147;
    text-align: justify;
    padding: 1rem;
}
.card a{
    color: #00266A;
    text-align: justify;
    padding: 1rem;
}
.card{
    width: 23rem;
    height:27rem;
}
.banner-a-info{
    margin-right: 10px;
    text-decoration: none !important;
    color: white;
    display: inline-block;
}

#seccion-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

#carouselExampleCaptions {
    margin-top: 5.3rem;
}

#carouselExampleCaptions .carousel-item{
    background-repeat: no-repeat;
    background-size: cover;
    height: 35vh;
}

#carouselExampleCaptions .carousel-item:nth-child(1){
    background-image: url('/img/newimg/img1.png');
    background-position: 100% 80%;
}

#carouselExampleCaptions .carousel-item:nth-child(2){
    background-image: url('/img/newimg/img2.png');
    background-position: 50% 100%;
}

#carouselExampleCaptions .carousel-item:nth-child(3){
    background-image: url('/img/newimg/img3.png');
    background-position: 80% 100%;
}

#carouselExampleCaptions .carousel-item:nth-child(4){
    background-image: url('/img/newimg/img4.png');
    background-position: 100% 50%;
    /* padding: -8rem 15rem; */
}

#carouselExampleCaptions .carousel-item:nth-child(5){
    background-image: url('/img/newimg/img5.png');
    background-position: 70% 30%;
}

#carouselExampleCaptions .carousel-item:nth-child(6){
    background-image: url('/img/newimg/reemplazo.jpg');
    background-position: 80% 100%;
}

.carousel-inner a{
    font-size: 11px;
}

@media (min-width: 576px) {
    #carouselExampleCaptions .carousel-item{
        height: 45vh;
    }
}

@media (min-width: 768px) {
    #carouselExampleCaptions .carousel-item{
        height: 50vh;
    }

    #carouselExampleCaptions .carousel-item:nth-child(2){
        background-position: 100% 20%;
    }

    .carousel-caption {
        justify-content: end !important;
        margin-bottom: 5rem;
    }
}

@media (min-width: 992px) {
    #carouselExampleCaptions .carousel-item{
        height: 55vh;
    }

    .counts .count-box p {
        font-size: 24px !important;
    }

    #carouselExampleCaptions {
        margin-top: 8rem;
    }
}

@media (min-width: 1200px) {
    #carouselExampleCaptions .carousel-item{
        height: 75vh;
    }

    #carouselExampleCaptions .carousel-item:nth-child(1){
        background-position: 50% 70%;
    }
    
    #carouselExampleCaptions .carousel-item:nth-child(2){
        background-position: 80% 30%;
    }
    
    #carouselExampleCaptions .carousel-item:nth-child(3){
        background-position: 90% 40%;
    }
    
    #carouselExampleCaptions .carousel-item:nth-child(4){
        background-position: 50% 50%;
        padding: -8rem 15rem;
    }
    
    #carouselExampleCaptions .carousel-item:nth-child(5){
        background-position: 70% 30%;
    }
    
    #carouselExampleCaptions .carousel-item:nth-child(6){
        background-position: 70% 40%;
    }
}

@media (min-width: 1400px) {
    #carouselExampleCaptions .carousel-item{
        height: 85vh;
    }

    #carouselExampleCaptions .carousel-item:nth-child(1){
        background-position: 50% 80%;
    }
    
    #carouselExampleCaptions .carousel-item:nth-child(2){
        background-position: 80% 50%;
    }
    
    #carouselExampleCaptions .carousel-item:nth-child(3){
        background-position: 90% 100%;
    }
    
    #carouselExampleCaptions .carousel-item:nth-child(4){
        background-position: 50% 50%;
        padding: -8rem 15rem;
    }
    
    #carouselExampleCaptions .carousel-item:nth-child(5){
        background-position: 70% 30%;
    }
    
    #carouselExampleCaptions .carousel-item:nth-child(6){
        background-position: 70% 30%;
    }

    .carousel-inner a{
        font-size: 14px;
    }
    
    .seccion-cards{
        margin-top: 200px !important;
    }

    .texto-1{
        line-height: 1.5rem;
    }

    .seccion-cards{
        padding-top: 100px;
    }
}

@media (max-width: 1285px) {
    .contenedor-video{
        display: none !important;
    }
    .banner-a-info{
        font-size: 1.3rem; 
        margin-right: 10px;
        text-decoration: none !important;
        color: white;
    }

    .img-background{
        height: 500px !important;
      }
      .contenedor-video1{
        display: block !important;
      }
      .contenedor-video1{
        line-height: 40px !important;
      }
      .contenedor-video1 iframe{
        height: 400px !important;
      }
}
.contenido5 h2{
    font-size: 2.2rem;
    font-weight: bold;
    color: #F59C1A;
}
.contenido5 span{
    color: #00266A;
}
.contenido5 p{ 
    text-align: justify;
}
.counts {
    background:transparent;
    padding: 70px 0 60px;
  }
  .counts .count-box {
    padding: 30px 30px 25px 30px;
    width: 100%;
    position: relative;
    text-align: center;
    background: transparent !important;
  }
  
  .counts .count-box i {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    background: #0b0d46;
    padding: 12px;
    color: transparent;
    border-radius: 50px;
  }
  .counts .count-box span {
    font-size: 46px;
    display: inline-block;
    font-weight: 600;
    color: #F59C1A;
    font-weight: bold;
  }
  
  .counts .count-box p {
    padding: 0;
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
  }

  .item img{
    height: 250px;
    width: 250px;
  }
  .cajasbordes{
    border-top: #00266A solid 5px;
  }
  .img-background{
    height: auto;
    background-image: url('/img/newimg/img12.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    /* background-color: #01276A; Fondo azul */
    /* opacity: .8;
    background-blend-mode: multiply; */
    border-radius: 45px;
    height: 680px;
  }
  .img-background p{
    font-size: 1.7rem;
  }
  .text-justify{
    text-align: justify;
  }
  .text-azul{
    font-size: 1.5rem;
    color: #00266A;
  }
  .btn-azul{
    color: white;
    background-color: #00266A;
    border-radius: 45px;
    padding: 10px;
  }
  .bg-form {
    position: relative;
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('/img/newimg/img8.png');
    background-position: 50% 23%;
    background-repeat: no-repeat;
    background-size: cover;
}

.container-fluid {
    position: relative; /* Ensure the container is relative for positioning ::before */
}

@media only screen and (max-width: 1366px) and (min-width: 1359px)  {
    #carouselExampleCaptions .carousel-item:nth-child(1){
        background-image: url('/img/newimg/img1.png');
        background-position: 100% 50% !important;
    }
    #carouselExampleCaptions .carousel-item:nth-child(3){
        background-image: url('/img/newimg/img3.png');
        background-position: 50% 50% !important;
    }
    #carouselExampleCaptions .carousel-item:nth-child(1){
        background-image: url('/img/newimg/img1.png');
        background-position: 100% 50% !important;
    }
    #carouselExampleCaptions .carousel-item:nth-child(6){
        background-image: url('/img/newimg/reemplazo.jpg');
        background-position: 50% 50%;
    }
    
    .iframevideo{
        min-width:800px !important;
        min-height:515px !important;
    }
    .video{
        transform: translateY(-100px) !important;
    }
    .banner p{
        font-size: 1.8rem;
        color: white;
    }
    .banner  span{
        color: #F59C1A;
    }
    .banner a{
        display: inline !important;
        font-size: 1.5rem;
    }
    .contenido-banner{
        max-width: fit-content !important;
    }
    .video p{
        text-align: justify;
    }
    .video h2{
        text-align: justify;
    }
   
    .caja2 iframe{
        border:15px white solid !important;
    }
    .caja2{
        transform: translateY(-100px);
    }
    .carousel-item .container{
        padding-top: 7rem;
    }
    .bg-form span{
        font-size: 32px; 
        white-space: nowrap;
    }
    .bg-form .btn{
        font-weight: bold;
        font-size:24px;
    }
    .seccion-5{
        padding: 100px;
    }
    .seccion-5 h4{
        font-size:40px;
        font-weight: bold;
    }
    .seccion-5 p{
        font-size: 17px;
    }

    .seccion-4-1 h2{
        font-size:54px;
        font-weight: bold;
        padding:  0 0 0 40px;
    }
    .seccion-4-1 p{
        padding: 10px 0 0 40px;
        font-size: 24x;
    }
    .seccion-4-1 a{
        margin: 20px;
        margin-left: 40px;
        font-size: 25px;
    }
    .seccion-4-2 h5{
        font-size: 24px;
    }
    .seccion-4-2 p{
        font-size: 14px;
    }
    .btn-info1{
        background-color: #F59C1A !important;
        color: white;
        width: auto;
        border-radius: 35px;
    }
    .cajasbordes{
        padding: 15px 0 15px 0;
        background-color: white;
        margin-bottom: 10px;
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }
    .contenido-1 h2{
        color: #00266A;
        font-weight: bold;
    }
    .contenido-1 span{
        color: #F59C1A;
    }
    .contenido-1 li{
        padding-bottom: 10px;
    }
    
}

@media (min-width: 1286px) {

}

@media (min-width: 1286px){
    .seccion-cards{
        margin-top: 640px !important;
    }    

    .texto-1{
        line-height: 1.5rem;
    }
    .bg-gris{
        background-color: #F4F4F4;
        margin: 0px 35px 0 35px;
    }
    .video p{
        text-align: justify;
        font-size: 0.8rem !important;
        padding-left: 2rem;
    }
    .video h2{
        text-align: justify;
        font-size: 1.8rem !important;
        padding-left: 2rem;
    }
    .caja1 img{
        position: absolute;
        height: 20rem !important;
        left: 10px;

    }
    .caja2 iframe{
        height: 20rem !important;
        width: 35rem !important;
        position: absolute;
        /* bottom: -100px; */
        right: -100px;
        border:15px white solid !important;
    }

    .caja1{
        position: relative !important;
    }

    .video p{
        text-align: justify;
        font-size: 1.2rem !important;
        padding-left: 2rem;
    }
    .video h2{
        text-align: justify;
        font-size: 1.8rem !important;
        padding-left: 2rem;
    }
    .caja1 img{
        position: absolute;
        height: 23rem !important;
        left: 0px;

    }
    .caja2 iframe{
        height: 25rem !important;
        width: 45rem !important;
        position: absolute;
        /* bottom: -100px; */
        right: 0px;
        border:15px white solid !important;
    }
    .contenedor-video:hover .caja2 iframe {
        transform: translateX(-400px);
        opacity: 1;
        animation: fadeInLeft 1.5s ease-out forwards;
        
    }
    .caja2 iframe {
        transition: transform 1s;
        transform: translate(-10px, 50px) !important;
    }
    
    .contenedor-video .caja1 img {
        opacity: 0;
    }
    .contenedor-video:hover .caja1 img {
        /* transform: translateX(400px);  */
        opacity: 1;
        animation:  fadeInRight 1.5s ease-out forwards;
    }
    .contenido-1 li{
        padding-bottom: 10px;
    }
    .video {
        
    }
 
}
@media only screen and (max-width: 1280px) and (min-width: 1151px){
   
    .contenedor-video{
     display: none;
    }
    .video p{
        text-align: justify;
        font-size: 1rem !important;
        padding-left: 2rem;
    }
    .video h2{
        text-align: justify;
        font-size: 1.8rem !important;
        padding-left: 2rem;
    }
    .caja1{
        position: relative;
        
    }

    .caja2{
        
        position: absolute;
        border:15px white solid ;
        bottom: 20px;
        right: 300px;
        transition-property: opacity, left;
        transition-duration: 3s, 5s;
    }
    .contenedor-video{
        height: 99vh;
    }
    .caja1{
        position: relative !important;
    }
    .contenedor-video{
        height: 60vh;
    }
    .video p{
        text-align: justify;
        font-size: 1.2rem !important;
        padding-left: 2rem;
    }
    .video h2{
        text-align: justify;
        font-size: 1.8rem !important;
        padding-left: 2rem;
    }
    .caja1 img{
        position: absolute;
        height: 23rem !important;
        left: -300px;

    }
    .caja2 iframe{
        height: 25rem !important;
        width: 45rem !important;
        position: absolute;
        bottom: -100px;
        right: -10px;
        border:15px white solid !important;
    }
    .contenedor-video .caja2 iframe {
        opacity: 0;
    }
    .contenedor-video:hover .caja2 iframe {
        transform: translateX(-400px);
        opacity: 1;
        animation: fadeInLeft 1.5s ease-out forwards;
        
    }
    .caja2 iframe {
        transition: transform 1s;
        transform: translateX(-100px);
    }
    
    .contenedor-video .caja1 img {
        opacity: 0;
    }
    .contenedor-video:hover .caja1 img {
        transform: translateX(400px); 
        opacity: 1;
        animation:  fadeInRight 1.5s ease-out forwards;
    }
    
}
@media only screen and (max-width: 1150px) and (min-width: 1024px){
    .contenedor-video{
        display: none !important;
    }
}
@media only screen and (max-width: 1023){
    .contenedor-video{
        display: none !important;
    }
}
.container-fluid img{
    max-height: 98vh !important;
    object-position: initial;

}
.contenedor-video{
    margin-top: 100px;
}
.contenido-banner p{
    color: white !important;
}
.contenido-banner h1{
    text-align: start;
    font-weight: bold;
}
.btn-info{
    background-color: #F59C1A !important;
    color: white;
    border-radius: 45px;
}
.banner-a-info{
    padding-left:10px ;
    text-decoration: none !important;
    color: white;

}
 


.carousel-indicators .active {
    background-color: white;
}
.bg-1{
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('/img/newimg/bginicio.png');
    background-position: 50% 23%;
    background-repeat: no-repeat;
    background-size: cover;
}


.card {
    transition: transform 0.5s ease-out, box-shadow 0.5s ease-out;;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.card:hover {
    transform: translateY(-40px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);

}
.carousel-indicators {
    position: absolute;
    bottom: 0;
    margin: 0;
    width: 100%;
    text-align: center;
}

.carousel-indicators button {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 4px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #6890b8;
    border: 1px solid #6890b8;
    border-radius: 10px;
}

.carousel-indicators .active {
    background-color: white;
}

.carousel-caption {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.cajasbordes h5{
    color: #00266A;
    font-weight: bold;
}
body {
    font-family: 'Poppins', sans-serif !important;
  }
@media (min-width: 768px) and (max-width: 991.98px) {
    .carousel-item .container{
        padding-top: 15rem;
    }
}
@media (min-width: 300px) and (max-width: 767px) {
    .carousel-item .container{
        padding-top: 15rem;
    }
}
.contenedor-video p{
    color: #00266A;
}
.contenedor-video h2{
    font-weight: bold;
}
@media only screen and (min-width: 1330px) {
    .iframevideo{
        min-width:800px !important;
        min-height:515px !important;
    }
    .video{
        transform: translateY(-70px) !important;
    }
    .seccion-5 p{
        font-size:17px ;
        text-align: justify;
    }
    .sseccion-5 h4{
        font-size: 44px !important;
        text-align: justify;
    }
    .contenido-banner{
        padding-top: 300px;
    }

    .contenedor-video h2{
        font-size: 3.4rem;
    }
    .contenedor-video p{
        font-size: 1.3rem;
    }
    .video h2{
        text-align: justify;
    }
   
    .caja2 iframe{
        border:15px white solid !important;
    }
    .caja2{
        transform: translateY(-100px);
    }
    .contenido-1 h2{
        color: #00266A;
        font-weight: bold;
    }
    .contenido-1 span{
        color: #F59C1A;
    } 
    .contenido-1 li{
        padding-bottom: 10px;
    }
    .cajasbordes{
        padding: 15px 0 15px 0;
        background-color: white;
        margin-bottom: 10px;
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }
    .seccion-5{
        padding: 100px;
    }
    .seccion-cards{
        /* margin-top: 600px; */
    }
}


@media (max-width: 991px) {
    .iframevideo{
        min-width:400px !important;
        min-height:300px !important;
    }
    
    .carousel-item .container{
        padding-top: 3rem;
    }
    .carousel-inner .container h1{
        font-size: 17px;
    }
    .carousel-inner h3{
        font-size: 14px;
    }
    
    .banner-a-info img{
        height: 1rem;
    }
    .btn-info{
        background-color: #F59C1A !important;
        color: white;
        border-radius: 15px;
    }
    .banner-a-info{
        padding-top:1rem ;
    }
    .btninfobanner{
        padding-top: .4rem;
    }
  }
@media (min-width: 992px) {
    
  }

