body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.container-relative {
  position: relative; /* Contenedor relativo para los elementos posicionados absolutamente */
  bottom: 45px;
}

.vermas{
    position: absolute;
    top: 90%;
    left: 55%;
    width: 16%;
    z-index: 10;
    background: #599ab7;
    margin-right: 60%;
    color: white;
    border: none;
    padding: 0px 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
    width: 148px;
    height: 41px;
}

.absolute-image {
    position: absolute;
    top: -297px;
    left: 80%;
    width: 20%;
    z-index: 10;
}

.container-relative2 {
  position: relative; /* Contenedor relativo para los elementos posicionados absolutamente */
  bottom: 45px;
}

.absolute-image2 {
    position: absolute;
    top: -167px;
    right: 84%;
    width: 16%;
    z-index: 10;
}

.BigImg-sectionNoti {
    width: 100%;
    height: 500px; 
    overflow: hidden; 
    position: relative;
}

.BigImg-sectionNoti img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}


.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.hero {
    position: relative;
    text-align: center;
    color: white;
}

.hero img {
    width: 100%;
    height: auto;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.btn {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.btn:hover {
    background-color: #0056b3;
}

/* Sección de estadísticas */
.stats {
    display: flex;
    justify-content: space-around;
    background: #002147;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.stat-box {
    width: 20%;
}

.stat-box h2 {
    font-size: 2rem;
    margin: 10px 0;
}

.stat-box p {
    font-size: 1.2rem;
}

/* Sección de Innovación */
.innovation {
    display: flex;
    align-items: center;
    background: white;
    padding: 50px 0;
}

.innovation img {
    width: 50%;
}

.innovation-content {
    width: 50%;
    padding: 20px;
}

.innovation-content h2 {
    color: #002147;
    font-size: 2.5rem;
}

.innovation-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.innovation-content .btn {
    background-color: #007bff;
}


/*SECCION QUE ESTA ENTRE LA VIÑETA ENTRE SLIDER Y DIV DE COLUMNAS */

.info-section {
    background-color: #040c2c; 
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 20px 0;
    margin: -80px auto 80px auto; /* Evita desbordamiento */
    position: relative;
    z-index: 10; 
    max-width: 80%; /* Limita el ancho */
}

.info-boxes {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Permite que los elementos pasen a una nueva línea si es necesario */
    gap: 10px;
}

.info-box {
    text-align: center;
    flex-grow: 1; 
    padding: 20px;
    font-size: 1.2rem;
    color: #1497b6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 150px; /* Evita que se compriman demasiado */
    flex-basis: 18%; /* Ajuste de tamaño automático */
}

.info-box:not(:last-child) {
    border-right: 2px solid #ddd; 
}

.info-box .icon-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 15px;
}

.info-box .icon-container i {
    font-size: 3rem;
    color: #1497b6;
    margin-right: 15px; 
}

.icon-container img.icon-img {
    width: 60px;       /* desired icon width */
    height: 60px;      /* desired icon height */
    object-fit: contain;
    margin-right: 10px; /* space between icon and text */
  }

.info-box .info-container {
    text-align: left; 
}

.info-box .number {
    font-size: 1rem;
    text-align: -webkit-left;
    justify-items: center;
}

.info-box .texthead {
    font-size: 1rem;
    text-align: -webkit-left;
    justify-items: center;
}

.info-box .description {
    font-size: 1rem;
    color: #fffbfb;
    text-align: -webkit-left;
    justify-items: center;
}

.info-box .read-more {
    color: #1497b6;
    text-decoration: none;
    margin-top: 15px;
    font-size: 12px;
}

@media (max-width: 768px) {

    .icon-container img.icon-img {
    width: 60px;       /* desired icon width */
    height: 60px;      /* desired icon height */
    object-fit: contain;
    margin-right: 10px; /* space between icon and text */
  }

  .vermas {
    position: absolute;
    top: 80%;
    left: 9%;
    width: 16%;
    z-index: 10;
    background: #599ab7;
    margin-right: 60%;
    color: white;
    border: none;
    padding: 0px 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
    width: 100px;
    height: 25px;
}

    .info-section {
        margin: -50px auto 50px auto;
        max-width: 90%;
        padding: 15px 0;
    }
    
    .info-box {
        flex-basis: 45%; 
        font-size: 1rem;
        padding: 15px;
        border-right: none; 
        border-bottom: 1px solid #ddd; 
    }
    
    .info-box:not(:last-child) {
        border-right: none; 
    }
}

/* Ajustes para móviles */
@media (max-width: 576px) {

    .icon-container img.icon-img {
    width: 60px;       /* desired icon width */
    height: 60px;      /* desired icon height */
    object-fit: contain;
    margin-right: 10px; /* space between icon and text */
  }

    .container-relative {
  position: relative; /* Contenedor relativo para los elementos posicionados absolutamente */
  bottom: 45px;
}

        .absolute-image {
        position: absolute;
        top: -80px;
        left: 67%;
        width: 33%;
        z-index: 10;
    }

        .container-relative2 {
  position: relative; /* Contenedor relativo para los elementos posicionados absolutamente */
  bottom: 45px;
}

        .absolute-image2 {
        position: absolute;
        top: -80px;
        left: 0%;
        width: 33%;
        z-index: 10;
    }

    .info-section {
        margin: -30px auto 30px auto;
        max-width: 95%;
        padding: 10px 0;
    }
    
    .info-box {
        flex-basis: 100%; 
        font-size: 0.9rem;
        padding: 10px;
        border: none; 
    }
    
    .info-boxes {
        gap: 15px; 
    }
    
    .info-box .icon-container i {
        font-size: 2rem; 
        margin-right: 10px;
    }
    
    .info-box .info-container {
        text-align: center;
    }

    .info-box .icon-container {
        display: block;
        align-items: center;
        justify-content: flex-start;
        margin-bottom: 15px;
    }

    .info-box .icon-container i {
        font-size: 3rem;
        color: #1497b6;
        margin-right: 0px; 
    }

    .info-box .info-container {
        text-align: left; 
    }

    .info-box .number {
        font-size: 1rem;
        text-align: -webkit-center;
        justify-items: center;
    }

    .info-box .texthead {
        font-size: 1rem;
        text-align: -webkit-center;
        justify-items: center;
    }

    .info-box .description {
        font-size: 1rem;
        color: #fffbfb;
        text-align: -webkit-center;
        justify-items: center;
    }


    .info-box:last-child {
         border-right: none; 
    }
}

@media (min-width: 577px) and (max-width: 1200px) {
  /* Posicionamiento e imágenes ajustadas */
  .absolute-image {
      position: absolute;
      top: -200px; /* Ajusta según convenga */
      left: 75%;
      width: 25%;
      z-index: 10;
  }
  
  .absolute-image2 {
      position: absolute;
      top: -120px; /* Ajusta según convenga */
      left: 0%;
      width: 20%;
      z-index: 10;
  }
  
  /* Reducir la altura de la sección grande si es necesario */
  .BigImg-sectionNoti {
      height: 400px;
  }
  
  /* Ajustes en la sección héroe */
  .hero-content h1 {
      font-size: 2.5rem;
  }
  
  .hero-content p {
      font-size: 1.3rem;
  }
  
  /* Sección de estadísticas: Se pueden apilar los elementos si es necesario */
  .stats {
      flex-direction: column;
      padding: 30px 0;
  }
  
  .stat-box {
      width: 100%;
      margin-bottom: 20px;
  }
  
  /* Sección de innovación: Si resulta necesario apilar la imagen y el contenido */
  .innovation {
      flex-direction: column;
      padding: 40px 0;
  }
  
  .innovation img,
  .innovation-content {
      width: 100%;
  }
  
  /* Ajuste en la sección de información */
  .info-section {
      margin: -40px auto 40px auto;
      max-width: 90%;
      padding: 15px 0;
  }
  
  .info-box {
      flex-basis: 45%;
      padding: 15px;
      font-size: 1rem;
  }
}