.divider-orange{
    width: 120px;
    height: 5px;
    background-color: #ff5c1b;
    margin-bottom: 2.5rem;
    margin-top: 1rem;
     animation: growDivider 1s ease-in forwards;
}
.divider-orange-txt{
    width: 120px;
    height: 5px;
    background-color: #ff5c1b;
    margin-bottom: 2.5rem;
    margin-top: 0.5rem;
    animation: growDivider 1s ease-in forwards;
}

@keyframes growDivider {
  from {
    width: 0;
  }
  to {
    width: 25%;
  }
}

.about-history {
  color: white;
  font-family: 'Roboto', sans-serif;
  padding: 4rem 2rem;
  margin-top: 18rem;
}

.container-n {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.text-block {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.text-block .box {
  background-color: #0c1b2a;
  border-radius: 20px;
  padding: 7rem;
}

.text-block h2 {
  font-size: 3rem;
  margin-bottom: 2.5rem;
  line-height: 1.2;
}

.text-block p {
  font-size: 1.8rem;
  line-height: 1.7;
  font-weight: 300;
}

.highlight {
  color: #FF5200;
  font-weight: bold;
  font-size: 3rem;
}

.image-block img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  height: 400px;
}

/* Responsive ajustes para pantallas grandes */
@media (min-width: 992px) {
  .text-block {
    flex-direction: row;
    justify-content: space-between;
  }

  .text-block .box {
    width: 48%;
  }

  .image-block img {
    max-height: 600px;
  }
}

.mision-vision {
  display: flex;
  justify-content: space-around;
  background-color: #2e4a5e;
  color: white;
  padding: 60px 20px;
  margin: 10rem 0;
  flex-wrap: wrap;
  text-align: center;
}

.mision-vision .item {
  max-width: 400px;
  padding: 20px;
}

.mision-vision .icono {
  width: 60px;
  height: auto;
  margin-bottom: 40px;
}

.mision-vision h3 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.mision-vision p {
  font-size: 1.6rem;
  line-height: 1.6;
  font-weight: 300;
}



.servicios-n {
  background-color: #263648;
  color: #ffffff;
  padding: 8rem 2rem;
  margin: 5rem 0;
  text-align: center;
}

.servicio-n h2 {
  font-size: 6rem;
  margin: 2rem 0 6rem 0;
}

.servicios-n h2 span {
  font-weight: 700;
}

.servicios-n h2 strong {
  color: #ff6a00;
  font-weight: 700;
}

.servicios-n-row {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.servicio-n-item {
  flex: 1 1 400px;
  max-width: 440px;
  min-width: 380px;
  display: flex;
}

.servicio-n-box {
  background: transparent;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  border-radius: 1rem;
  text-align: center;
  height: 100%;
  width: 100%;
}

.servicio-n-box img {
  width: 90px;
  max-height: 90px; /* <- limita la altura */
  object-fit: contain; /* <- mantiene la proporción sin recorte */
  margin-bottom: 3rem;
}


.servicio-n-box h3 {
  font-size: 3rem;
  padding: 0 6rem;
  margin-bottom: 2rem;
  min-height: 4.8rem; /* asegura que todos los h3 tengan la misma altura */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.servicio-n-box p {
  font-size: 1.6rem;
  line-height: 1.5;
  color: #e0e0e0;
  flex-grow: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  min-height: 8rem; /* ajusta según lo que necesites */
  margin-bottom: 3rem;
}

/* Responsivo extra opcional */
@media (max-width: 768px) {
  .servicios-n h2 {
    font-size: 4rem;
  }

  .servicio-n-box h3 {
    min-height: auto;
  }

  .servicio-n-box p {
    min-height: auto;
  }
  .servicios-n-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}
}



        .header{
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-content: space-between;
            align-items: center;
            width: 100%;
        }
        .img-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: auto;
            width: 30rem;
        }

        .img-header img {
            max-width: 100%;
            max-height: 100%;
            object-fit: cover;
        }

        @media only screen and (min-width: 767px) {
            .img-header {
                padding: 3rem 3rem 0 3rem;
            }
        }
        @media only screen and (min-width: 1300px) {
            .header{
                justify-content: space-around;
            }
        }
        @media only screen and (max-width: 767px) {
            .img-header{
                width: 15rem;
            }
        }

        .sectionf1{
            display: flex;
            justify-content: space-around;
            flex-direction: column;
            flex-wrap: wrap;
            max-width: 1200px;
            margin: 0 auto;
            margin-top: 10rem;
            margin-bottom: 20rem;
        }
        .containerf1{
            display: flex;
            justify-content: center;
            flex-direction: column;
            align-items: center;
            margin-top: 1rem;
            flex-wrap: wrap;
        }

        .sectionC4{
            display: flex;
            justify-content: space-around;
            flex-direction: column;
            margin-top: 2rem;
            flex-wrap: wrap;
        }
        .containerC4{
            display: flex;
            justify-content: space-around;
            flex-direction: column;
            margin-top: 7rem;
            flex-wrap: wrap;
        }
        .container-infoC4{
            font-size: 16px;
            padding: 5rem 5rem 2rem 5rem;
            text-align: justify;
        }
        .container-infoC4 p{
            font-size: 16px;
            text-align: justify;
        }
        .container-infoC4 p strong{
            font-size: 16px;
            text-align: justify;
        }
        @media only screen and (max-width: 768px) {
        .container-infoC4 {
            padding: 5rem 0 2rem 0;
        }
    }
    .resources {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45vw;
    padding: 0 4rem 0 4rem;
}
@media only screen and (max-width: 768px) {
        .resources {
            width: 100vw;
            display: block;
        }
    }
    .resourcesimg{
            display: flex;
            justify-content: space-around;
            flex-direction: column;
            margin-top: 2rem;
            flex-wrap: wrap;
        }
    .resourcesimg-container {
        display: flex;
        justify-content: center;
        margin: 5rem 5rem 0 5rem;
        }
        .resourcesimg-container img {
        width: 30vw; 
        border-radius: 50px;
        height: auto; 
        }
        @media only screen and (max-width: 1024px) {
            .resourcesimg-container img{
            width: 50vw;
        }
    }
        @media only screen and (max-width: 1024px) {
            .resourcesimg-container img{
            width: 100%;
        }
    }
        @media only screen and (max-width: 576px) {
            .resourcesimg-container {
        margin: 0;
        }
    }

        .autores{
            display: flex;
            justify-content: space-around;
            align-items: center;
            background-color: #dddddd;
            border-radius: 16px;
            flex-wrap: wrap;
        }
        .autores-info{
            padding: 4rem 4rem;
            background-color: #263648;
            color: #ffffff;
            border-radius: 0 0 16px 16px;
        }
        .autores-info p{
            font-size: 16px;
            line-height: 1.6;
        }
        .name-container{
            background-color: #263648;
            width: 100%;
            border-radius: 16px 16px 0 0;
        }
        .name{
            font-family: "Roboto", sans-serif;
            font-weight: 600;
            margin: 5rem 3rem 5rem 3rem;
            font-size: 32px !important;
            color: #f4f4f4;
            text-align: center !important;
        }

        @media only screen and (max-width: 1024px) {
            .name{
            text-align: center !important;
        }
    }