/* HERO SECTION */

.hero {
  display: flex;
  flex-direction: row;
  color: #1B2634;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  justify-content: space-around;
  align-items: center;
  max-width: 1230px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.title__plataforma {
  font-size: 46px;
  line-height: 18px;
  border-bottom: 12px solid #CBD42F;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0
}

.title__circular {
  font-size: 58px;
  line-height: 50px;
  margin: 0;
  text-transform: uppercase;
}

.hero__info {
  display:flex;
  flex-direction: row;
  align-items: center;
}

.info__button {
  width: 65px;
  height: 65px;
  border: 2px solid #1B2634;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.info__col {
  gap: 50px;
  display: flex;
  flex-direction: column;
}

.info__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100px;
}

.info__button:hover {
  border-color: #CBD42F;
  color: #CBD42F;
}

.info__text {
  margin: 0px;
  font-size: 12px;
  font-weight: bold;
  color: #1B2634;
  text-align: center;
}

#hero__icons {
  font-size: 35px;
}

.info__col-middle {
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.info__middle {
  height: 210px;
  width: 210px;
  background-image: url('../images/arrows.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: flex;
  justify-content: center;
  align-items: center; 
  animation: rotation 4s infinite linear;
}

@keyframes rotation {
  from {
      transform: rotate(0deg);
  }
  to {
      transform: rotate(360deg);
  }
}

.info__middle-text {
  height: 160px;
  width: 160px;
  background-color: #ececec;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: -1;
  position: absolute;
  margin-bottom: 20px;
}

.middle__text {
  max-width: 80px;
  font-size: 14px;
  text-transform: uppercase;
  color: #1B2634;
  text-align: center;
  font-weight: 900;
}

.overlay {
  position: fixed;
  z-index: 5;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
}

.modal {
  background-color: #FFFFFF;
  width: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 15px;
  padding: 30px 55px 55px 55px;
  margin: 100px;
}

.modal__close__container {
  width: 100% !important;
  text-align: end;
}

#modal__close {
  cursor: pointer;
}

.modal__image {
  width: 100px;
  height: 100px;
  border: 2px solid #CBD42F;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#modal-text {
  font-size: 18px;
  text-align: left;
  line-height: 28px;
}

#modal-title {
  width: 370px;
  text-align: center;
  font-size: 32px;
  text-transform: uppercase;
  color: #1B2634;
}

#modal-icons {
  font-size: 55px;  
  color: #1B2634;
}

@media (max-width: 600px) {
  .modal {
    background-color: #FFFFFF;
    width: 240px !important; 
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 15px;
    padding: 30px 55px 55px 55px;
    margin: 100px;
  }

  .modal__image {
    width: 75px;
    height: 75px;
    border: 2px solid #CBD42F;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .modal__close__container {
    width: 120% !important;
    text-align: end;
  }
  
  #modal-text {
    font-size: 13px;
    text-align: left;
    line-height: 20px;
  }
  
  #modal-title {
    width: 370px;
    text-align: center;
    font-size: 26px;
    text-transform: uppercase;
    color: #1B2634;
  }
  
  #modal-icons {
    font-size: 35px;  
    color: #1B2634;
  }

  #modal__close {
    cursor: pointer;
    font-size: 30px;
  }
}

@media (max-width: 991px) {
  .hero {
    display: flex;
    flex-direction: column;
    color: #1B2634;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    justify-content: space-around;
    align-items: center;
  }

  .title__plataforma {
    width: 143px;
    font-size: 22px;
    line-height: 18px;
    border-bottom: 9px solid #CBD42F;
    text-transform: uppercase;
    font-weight: 500;
  }
  
  .title__circular {
    font-size: 38px;
    line-height: 50px;
    text-transform: uppercase;
  }

  .hero__title{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 35px;
  }

  .info__col-middle {
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    width: 170px;
  }
}

/* INFO SECTION */

.info {
  margin-top: 100px;
  background-color: #1A2533;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
}

.info__container {
  padding: 50px;
  padding-right: 150px;
  padding-left: 150px;
}

.container__text {
  font-size: 24px;
  line-height: 34px;
  margin: 0 0 35px;
  color: #FFFFFF;
}

.container__text a {
  color: #CBD42F;
  text-decoration: underline;
}

.container__text--strong {
  font-size: 32px;
  text-align: left;
  margin-bottom: 10px;
  color: #FFFFFF;
  font-weight: bold;
}

@media (max-width: 991px) {
  .info__container {
    padding: 50px;
    padding-right: 50px;
    padding-left: 50px;
  }
  .container__text {
    font-size: 20px;
    line-height: 34px;
    margin: 0 0 35px;
    color: #FFFFFF;
  }
  .container__text--strong {
    font-size: 20px;
    text-align: left;
    margin-bottom: 10px;
    color: #FFFFFF;
    font-weight: bold;
  }
}

/* IMPACT SECTION */

.impact {
  display: flex;
  padding-top: 50px;
  padding-bottom: 50px;
  justify-content: center;
  flex-direction: column;
}

.impact__title {
  display: flex;
  flex-direction: column;
  text-transform: uppercase;
  align-items: center;
}

.title__nosso {
  margin: 0;
  font-weight: 500;
}

.title__impacto {
  margin: 0;
  font-size: 32px;
  line-height: 36px;
  color: #1A2533;
}

.impact__data {
  padding-top: 80px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.data__row {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.row__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 170px;
  height: 250px;
  margin: 20px 0 20px 0;
}

.item__title__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.item__title {
  font-size: 30px;
  line-height: 40px;
  margin: 0 0 5px 0;
  text-align: center;
  font-weight: 500;
  display: flex;
  flex-direction: column;
}

.item__subtitle {
  font-size: 30px;
  line-height: 15px;
  border-bottom: 9px solid #CBD42F;
  margin: 0 0 10px 0; 
  width: fit-content;
}

.item__text {
  margin: 0 0 55px 0;
  text-align: center;
  text-align: center;
  line-height: 30px;
  font-size: 20px;
}

.impact__button-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.impact__button {
  background-color: transparent;
  border-style: solid;
  border-width: 1px;
  border-color: #1B2634;
  border-radius: 24px;
  width: 300px;
  height: 41px;
  margin-right: 15px;
  margin-left: 15px;
  color: #1B2634;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.impact__button:hover {
  color: #CBD42F;
  border-color: #CBD42F;
}

/* CAROUSEL SECTION */

.carousel {
  padding: 40px 0;
}

.carousel__title {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-transform: uppercase;
}

.title__nossos {
  margin: 0;
  font-weight: 500;
}

.title__parceiros {
  margin: 0;
  font-size: 32px;
  line-height: 36px;
  color: #1A2533;
}

.carousel__container {
  position: relative;
  width: 80%;
  margin: 30px auto;
  overflow: hidden;
}

.carousel__track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  padding-left: 20px;
}

.carousel__item {
  width: 170px;
  height: 170px;
  object-fit: contain;
  margin: 0 20px;
  flex: 0 0 auto;
  cursor: pointer;
}

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  z-index: 1;
  height: 100%;
}

.carousel__btn--prev { left: 0; }
.carousel__btn--next { right: 0; }

@media (max-width: 991px) {
  .carousel__track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    padding-left: 15%;
    padding-right: 250px;
  }
}

/* NEWS SECTION */

.news {
  display: flex;
  width: 100%;
  align-items: center;
  flex-direction: column;
}

.news__card-container {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}

.news__card {
  background-color: #1A2533;
  color: #DFE5EE;
  height: 460px;
  width: 300px;
  border-radius:24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.news__section__title {
  width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 0;
  font-weight: 500;
  text-transform: uppercase;
}

.news__section__title strong {
  margin: 0;
  font-size: 32px;
  line-height: 36px;
  color: #1A2533;
}

.card__image {
  width: 300px;
  height: 240px;
  border-radius: 24px;
}

.card__title {
  margin: 15px;
  font-weight: 500;
  font-size: 16px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card__text {
  text-align: left;
  height: 53px;
  width: 270px;
  margin: 0 15px 0 15px;
  font-size: 12px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.card__button-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card__button {
  background-color: transparent;
  border-style: solid;
  border-width: 1px;
  border-color: #DFE5EE;
  border-radius: 24px;
  width: 200px;
  height: 41px;
  margin-right: 15px;
  margin-left: 15px;
  color: #DFE5EE;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.card__button:hover {
  color: #CBD42F;
  border-color: #CBD42F;
}

@media (max-width: 991px) {
  .news__card-container {
    display: flex;
    justify-content: space-evenly;
    align-content: space-evenly;
    align-items: center;
    flex-direction: column;
    width: 100%;
    gap: 30px;
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

