a {
    text-decoration: none;
    color: black;
}

highlight main {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}
.carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  background-color: #c8c8c885;
}

.carousel-item {
  flex: 0 0 100%;
  transition: transform 0.5s ease;
}

.carousel-item img {
  width: 100%;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  transform-origin: top left;
  font-size: 30px;
  cursor: pointer;
  color: #fff;
  text-decoration: none;
}

.carousel-prev:hover {
  transform: scale(1);
  border-radius: 10rem;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.363);
}
.carousel-next:hover {
  transform: scale(1);
  border-radius: 10rem;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.363);
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}
.highlight-title {
    text-align: center; 
    padding-top: 2rem; 
    margin-top: 1rem; 
    margin-bottom: 1rem;
    border-top: 0.1rem solid #c8c8c8; 
    width: 100%;
    font-size: 3rem;
  font-family: "Merriweather Sans", sans-serif;
}

.highlights {
  width: 60%;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto 3rem auto;
  justify-content: space-between;
  gap: 3rem;
}
.highlights p {
    font-size: 1.5rem;
  line-height: 2rem;
  text-align: justify;
    font-family: "Poppins", sans-serif;

}
.highlights h3 {
   font-size: 2rem;
    font-family: "Poppins", sans-serif;

}

.highlights-option {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.highlights-option img {
  width: 16rem;
  height: 16rem;
}
.highlights-option button {
  border: none;
  border-radius: 1rem;
  padding: 1rem;
  background-color: #1a6cc4;
  color: white;
}
.highlights-option button:hover {
  cursor: pointer;
}

.icons {
  width: 4rem;
}

.services {
  margin: 5rem auto 0 auto;
  width: 90%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  font-family: "Poppins", sans-serif;
  text-align: center;
  
  color: black;
}

.service {
      width: 28rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  border-radius: 5rem;
  gap: 1rem;
}
.service h2 {
    font-size: 2rem;
}
.service:hover {
  background-color: #a9a9a9;
}

.news-container {
  width: 100%;
  min-height: 40rem;
  background-color: #d8f4f4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  -webkit-box-shadow: 1px 9px 13px -7px rgba(0, 0, 0, 0.56);
  -moz-box-shadow: 1px 9px 13px -7px rgba(0, 0, 0, 0.56);
  box-shadow: 1px 9px 13px -7px rgba(0, 0, 0, 0.56);
}
.news-container h1 {
    font-size: 3rem;
  font-family: "Merriweather Sans", sans-serif;
}
.news {
  width: 80%;
  min-height: 55rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  gap: 3rem;
}
.new {
  width: 20rem;
  height: 32rem;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  cursor: pointer;
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  gap: 0.6rem;
  -webkit-box-shadow: 1px 0px 10px 0px rgba(0, 0, 0, 0.56);
  -moz-box-shadow: 1px 0px 10px 0px rgba(0, 0, 0, 0.56);
  box-shadow: 1px 0px 10px 0px rgba(0, 0, 0, 0.56);
}
.new:hover {
  transform: scale(120%);
  transition-property: transform;
}
.new h1 {
  font-size: 1.5rem;
  font-weight: bold;
  color: black;
  text-decoration: none;
}
.new p {
  font-size: 1rem;
}
.news-text {
  font-family: "Poppins", sans-serif;
  width: 100%;
  padding-inline: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.more-news {
  width: 90%;
  text-align: end;
}
.more-news h2 {
  font-family: "Poppins", sans-serif;
  color: #0075ff;
  font-size: 1.8rem;
  text-decoration: underline;
}

.beneficios {
  width: 100%;;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  margin-block: 3rem;
}
.beneficios h1 {
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  font-size: 4rem;
  text-align: center;
}
.beneficiarios-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 70%;
  gap: 4rem;
  margin: 0 auto;
}
.beneficiarios-home {
  width: 100%;
  max-height: 30rem;
}
.beneficiarios-home img {
  width: 100%;
  height: 100%;
}

.button {
  font-size: 1em;
  padding: 10px;
  color: #fff;
  border-radius: 20px/50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease-out;
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.close {
  color: white;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 25px;
  cursor: pointer;
}

@media screen and (max-width: 700px) {
  .popup {
    width: 70%;
  }
  .services {
    font-size: 1.2rem;
  }
  .icons {
    width: 3rem;
  }
  
}
@media screen and (max-width: 450px) {
  .highlights {
    justify-content: center;
  }
  .icons {
      width: 2.5rem;
  }
}



@media screen and (max-width: 325px) {
  .popup {
    font-size: 1.5rem;
  }
  .popup button {
    font-family: "Poppins", sans-serif;
    width: 10rem;
    font-size: 1.3rem;
  }
  .icons {
    width: 2rem;
  }
}

