/* HERO */
:root {
  --background: #0E5945;
  --green: #6EF4A4;
}

.costumers__content p,
.costumers__content h1,
.costumers__content h2 {
  font-family: "Inter", sans-serif;
}

.text--green {
  color: var(--primary-green);
  font-weight: 600;
}

.hero {
  padding: 15rem 0 5rem;
  background: var(--fourth-blue);
  overflow: hidden;
}

.hero-box {
  display: flex;
  gap: 7rem;
}

.hero-text>h1 {
  font-size: 5.9rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--white);
  margin-bottom: 2.8rem;
}

.hero-text>h1 span {
  color: var(--green);
}

.hero-text>p {
  font-size: 1.6rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 4.3rem;
}

.hero-text>img {
  width: 1.4rem;
  height: 2.4rem;
}

#start-now {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  width: 43.4rem;
}

.start-now-btn {
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  background-color: var(--green);
  color: var(--background);
  text-transform: uppercase;
  padding: 1.5rem 3rem;
  border-radius: 12.2rem;
  margin-right: 2.7rem;
  white-space: nowrap;
  min-width: 198px;
}

.start-now-btn:hover {
  background-color: var(--primary-green);
}

.sales-call {
  display: flex;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;
  gap: 1rem;
}

#start-now>.sales-call>a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--third-green);
}

#start-now>.sales-call>svg path {
  stroke: var(--third-green);
}

.hero-img {
  display: flex;
  gap: 4.3rem;
}

.hero-img-column-1 {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 5.1rem;
}

.hero-img-column-2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5.1rem;
}

.first,
.second-up,
.second-down,
.third-up {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.6rem;
}

.first {
  height: 14.7rem;
  width: max-content;
  padding: 0;
}

.second-up {
  background: #FFF;
  height: 15.8rem;
}

.second-down {
  height: 23.59rem;
  width: max-content;
  padding: 0;
}

.third-up {
  background: #FFF;
  height: 19.76rem;
  width: max-content;
  padding: 0 6rem;
}


@media (max-width: 1100px) {
  .third-down,
  .third-up,
  .second-down,
  .second-up,
  .first {
    height: 15rem;
    width: 15rem;
  }

  .first,
  .second-up,
  .second-down,
  .third-up {
    padding: 0 4rem;
  }

  .first,
  .second-down {
    padding: 0;
  }

  .hero-box {
    justify-content: space-between;
    gap:0;
  }

  .hero-text {
    width: 50%;
  }

  .hero-img,
  .hero-img-column-1,
  .hero-img-column-2 {
    gap: 3rem;
  }
}

@media (max-width: 991px) {
  .hero-text h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 833px) {
  .hero {
    padding: 11.6rem 0 6rem;
  }

  .hero-box {
    flex-direction: column;
  }

  .hero-text {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .hero-text h1 {
    font-size: 5.9rem;
  }

  .hero-text>p {
    font-size: 1.4rem;
  }

  .hero-img {
    display: none;
  }
}

@media (max-width: 700px) {
  .hero-text h1 {
   font-size: 3.2rem;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 4rem;
   }

  .start-now-btn {
    margin-right: 0;
  }
}

@media (max-width: 425px) {
  .hero-text {
    width: 88%;
  }
}

@media (max-width: 375px) {
  .hero {
    padding: 15rem 0 6rem;
  }
  .hero-text {
    width: 100%;
  }

  .hero-text>p {
    font-size: 1.59rem;
  }
}

@media (max-width: 320px) {
  .hero-text>h1 {
    font-size: 3.6rem;
  }
}

/* TESTIMONIALS */

.testimonials {
  padding: 0rem 0 12.8rem;
}

.testimonials-box {
  display: flex;
  gap: 7.6rem;
}

.testimonials-box-header {
  display: flex;
  align-items: center;
}

.buttons-slider {
  display: flex;
  gap: 1rem;
}

.buttons-slider button,
.buttons-slider-cases button {
  width: 5rem;
  height: 5rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2rem;
  border: 1px solid var(--primary-green);
}

.previous-testimonial,
.next-testimonial,
.btn-prev-cases,
.btn-next-cases {
  background-color: var(--white);
}

.buttons-slider button>img,
.buttons-slider-cases button>img {
  width: 1rem;
  height: 1rem;
}

.testimonials-box-slider {
  overflow: hidden;
}

.testimonial-box {
  border: 1px solid var(--primary-green);
}

.testimonial {
  padding: 3.2rem 5.6rem 3.2rem 3.2rem;
  height: 33.48rem;
  position: relative;
}

.header-testimonial {
  position: absolute;
  bottom: 3.2rem;
}

.header-avatar-info h2 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--primary-green);
  margin-bottom: 0.6rem;
}

.header-avatar-info p {
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--grey-medium);
}

.testimonial>p {
  font-size: 3rem;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: -0.015em;
}

@media (max-width: 1080px) {
  .testimonial>p {
    font-size: 2.6rem;
  }
}

@media (max-width: 610px) {
  .testimonials-box {
    flex-direction: column-reverse;
  }

  .testimonials-box-header {
    justify-content: center;
  }

  .testimonial>p {
    font-size: 2.4rem;
  }

  .header-avatar-info h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 435px) {
  .testimonial {
    height: 29rem;
    padding: 3.2rem;
  }
}

@media (max-width: 395px) {
  .testimonial>p {
    font-size: 2rem;
  }
}

@media (max-width: 330px) {
  .testimonial {
    height: 25rem;
  }

  .testimonial>p {
    font-size: 1.6rem;
  }
}

/* BANNER */

.banner-box {
  padding: 0 0 9.9rem;
}

.banner-box p {
  font-size: 3.4rem;
  font-weight: 500;
  line-height: 4.1rem;
  text-align: center;
  color: var(--grey-dark);
}

.banner-box p.text--green {
  color: var(--primary-green);
}

#numero-notas {
  display: flex;
  justify-content: center;
  align-items: center;
  width: max-content;
  background-color: #1EC781;
  padding: 3rem 1.5rem 3rem 3rem;
  margin: 2.4rem auto;
  overflow: hidden;
  transition: all 1s ease-in;
}

.digit {
  position: relative;
  text-align: center;
  color: var(--white);
  font-size: 5rem;
  border: 1px solid transparent;
  font-weight: 600;
  line-height: 104.3%;
  letter-spacing: 0.33em;
}

.digit.roll-in {
  animation: digitRollIn ease-in 0.75s forwards;
  color: #4CF481;
}

.digit.roll-out {
  animation: digitRollOut ease-in 0.75s forwards;
}

@keyframes digitRollIn {
  from {
    bottom: -5rem;
  }
  to {
    bottom: 0;
  }
}

@keyframes digitRollOut {
  from {
    bottom: 0;
  }
  to {
    bottom: 5rem;
  }
}

@media (max-width: 768px) {
  .banner-box p {
    font-size: 3rem;
  }

  .banner-box div p {
    font-size: 6rem;
  }
}

@media (max-width: 575px) {
  .banner-box p {
    font-size: 2.8rem;
  }

  .banner-box div {
    padding: 3rem 0 3rem 1rem;
  }

  .banner-box div p {
    font-size: 4rem;
  }
}

@media (max-width: 381px) {
  .banner-box div p {
    font-size: 3.6rem;
  }

  .banner-box p {
    font-size: 2rem;
  }
}

@media (max-width: 350px) {
  .banner-box div p {
    font-size: 3rem;
  }
}

/* CASES */

.cases {
  background-color: var(--light-blue);
  padding: 10rem 0 13rem;
  position: relative;
}

.cases-box h1 {
  font-size: 3.5rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--grey-dark);
  margin-bottom: 5rem;
}

.case-box {
  background-color: var(--white);
  max-width: 46%;
  border-radius: 1.6rem;
}

.case-box .image-top {
  height: 20rem;
  object-fit: cover;
  border-radius: 1.6rem;
}

.case-box-content {
  padding: 4.3rem 6rem 5.4rem;
}

.case-box-content header {
  height: 9.4rem;
  display: flex;
  align-items: center;
}

.case-box-content img {
  max-width: 15rem;
  object-fit: cover;
}

.case-box-content img[alt="Nordweg"] {
  max-width: 22rem;
}

.case-box-content p {
  font-size: 2rem;
  color: var(--grey-dark);
  margin-bottom: 2rem;
  line-height: 125%;
}

.case-box-content .podiapp {
  width: 90%;
}

.case-box-content .nordweg {
  width: 70%;
}

.case-box-content a {
  font-weight: 600;
  font-size: 2rem;
  transition: all 500ms;
}

.case-box-content a:hover {
  opacity: 0.5;
}

.previous-testimonial,
.next-testimonial {
  width: 5rem;
  height: 5rem;
  border-radius: initial;
  color: var(--grey-light);
  opacity: 1;
  background: var(--white);
  padding: 1.5rem 2rem;
  border: 1px solid var(--grey-light);
}

.swiper-pagination-bullet-active {
  color: var(--white);
  background: var(--primary-green);
}

.cases-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6rem;
  justify-content: space-between;
}

.cases-slider {
  position: relative;
  /* padding-bottom: 13rem; */
}

.buttons-slider-cases {
  display: flex;
  gap: 1rem;
  align-items: center;
  width: max-content;
  position: absolute;
  left: calc((111.2rem / 2) - 11rem);
  margin-top: 10.5rem;
}

.swiper-pagination {
  position: initial !important;
}

.previous-testimonial,
.next-testimonial {
  display: flex;
  gap: 1rem;
}

@media (max-width: 991px) {
  .cases-box h1 {
    font-size: 3.5rem;
  }

  .case-box-content p {
    font-size: 1.6rem;
  }
}

@media (max-width: 833px) {
  .cases-box h1 {
    font-size: 5.9rem;
  }
}

@media (max-width: 790px) {
  .cases-container {
    justify-content: center;
  }

  .case-box {
    max-width: 70%;
  }
}

@media (max-width: 700px) {
  .cases-box h1 {
    font-size: 3.2rem;
  }

  .case-box-content .nordweg,
  .case-box-content .podiapp {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .cases-box h1 {
    font-size: 4rem;
  }

  .case-box {
    max-width: 100%;
  }

  .case-box-content {
    padding: 4.3rem 4rem 5.4rem;
  }
}

@media (max-width: 330px) {
  .cases-box h1 {
    font-size: 3.6rem;
  }

  .case-box-content:first-of-type {
    padding: 4.3rem 3rem 5.4rem 4rem;
  }
}

/* STATS BUTTONS SLIDER */

#pages {
  display: flex;
  align-items: center;
  justify-content: center;
}

#pages>.swiper-pagination-bullet {
  width: 1rem;
  height: 1rem;
  margin: 0.5rem;
}

#pages>.swiper-pagination-bullet-active {
  background: var(--primary-green);
}