.needs {
  padding-top: 120px;
  padding-bottom: 120px;
}

.section-needs-white {
  background: #fff;
}

.needs-title {
  text-align: center;
  margin-top: 0;
  margin-bottom: 65px;
}

.needs-subtitle {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 160%;
  text-align: center;
  color: #1b2788;
  margin: 0;
}

.needs-btn__wrap {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 35px;
}

.needs-box__wrap {
  margin-top: 90px;
}

.needs-item__text {
  display: none;
}
.needs-item h4 {
  margin: 0;
  position: relative;
  font-weight: 600;
  display: flex;
  align-items: center;
  font-size: 18px;
  font-family: "Plus Jakarta Sans";
  text-transform: inherit;
  line-height: 1.2;
  color: rgba(0, 0, 0, 0.87);
  padding: 15px 20px;
  gap: 12px;
  cursor: pointer;
}

.needs-item {
  background: white;
  box-shadow: 0px 8px 24px rgb(0 0 0 / 12%);
  border-radius: 4px;
  margin-bottom: 10px;
}
.needs-item p {
  margin: 0;
  width: 90%;
  padding-bottom: 20px;
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: #212121;
}
.needs-box__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  position: relative;
}
.needs-item__text {
  padding: 0px 0px 15px 63px;
}

.needs-item__text a {
  font-family: "Plus Jakarta Sans";
  font-weight: 400;
  font-size: 18px;
  line-height: 33px;
  color: #000000;
  line-height: 1.2;
}

.needs-item.active .needs-item__text {
  display: block;
}

.needs-img__wrap {
  position: relative;
}
.needs-box__wrap.needs-box__wrap--second.needs-akordeon-2 .needs-img__wrap {
  width: 100%;
}
.needs-img__wrap .needs-img:first-child {
  display: block;
}
.needs-img {
  display: none;
  position: absolute;
  top: 5%;
}

.needs-img img {
  max-width: 600px;
  width: 100%;
  object-fit: contain;
  height: 500px;
}

.needs-item h4:after {
  position: absolute;
  right: 25px;
  content: "";
  background: url("../../img/icons/arrow-down.svg");
  width: 10px;
  height: 10px;
  z-index: 1;
  background-repeat: no-repeat;
  background-size: contain;
  top: 0;
  bottom: 0;
  margin: auto;
  transition: linear 0.2s all;
}
.needs-item h4.active:after {
  transform: rotate(180deg);
  transition: linear 0.2s all;
}
.needs-item__text a {
  display: flex;
  align-items: center;
  gap: 10px;
}
.needs-item__text img {
  transform: rotate(-90deg);
  position: relative;
  top: 2px;
}

.needs-item-6 {
  opacity: 0.6;
}
.needs-item-7 {
  opacity: 0.25;
}
.needs-item.needs-item-7.active {
  opacity: 1;
}
.needs-item.needs-item-6.active {
  opacity: 1;
}

.needs-box__wrap--second .needs-item__text {
  padding: 0 30px 30px 30px;
}
.needs-box__wrap--second .needs-item h4 {
  padding: 20px 30px 20px 30px;
}

p.needs-btn__small-text {
  text-align: center;
  color: #0000007a;
  font-size: 16px;
  margin: 0;
  padding-top: 9px;
}
.needs-box__wrap--second {
  align-items: center;
}

.needs-box__wrap--second .needs-img__wrap {
  height: 470px;
}

@media only screen and (max-width: 899px) {
  .needs-akordeon-1 .needs-img img,
  .needs-akordeon-2 .needs-img img,
  .needs-akordeon-3 .needs-img img {
    height: 380px;
  }

  .needs-akordeon-1 .needs-img,
  .needs-akordeon-2 .needs-img,
  .needs-akordeon-3 .needs-img {
    position: absolute;
  }

  .needs-box__wrap.needs-akordeon-1 .needs-img__wrap,
  .needs-box__wrap.needs-akordeon-2 .needs-img__wrap,
  .needs-box__wrap.needs-akordeon-3 .needs-img__wrap {
    height: 400px;
    position: relative;
    display: flex;
    justify-content: center;
  }

  .needs-img img {
    height: auto;
  }

  .needs-title {
    margin-bottom: 10px;
  }

  .needs-box__wrap {
    display: flex;
    flex-direction: column-reverse;
    margin-top: 0;
    gap: 0;
  }

  .needs-img {
    position: relative;
    text-align: center;
    top: 0;
    margin-top: 15px;
  }
}

@media only screen and (max-width: 599px) {
  .needs-item-6 {
    opacity: 1;
  }
  .needs-item-7 {
    opacity: 1;
  }

  .needs-title {
    font-size: 30px;
  }
  .needs-item h4 {
    font-size: 18px;
  }
  .needs-item p {
    font-size: 16px;
  }
  .needs-item__text a {
    font-size: 16px;
  }
  .needs-item__text {
    padding: 0px 0px 15px 23px;
  }
}

@media only screen and (max-width: 499px) {
  .needs {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .needs-akordeon-1 .needs-img img,
  .needs-akordeon-2 .needs-img img,
  .needs-akordeon-3 .needs-img img {
    height: 250px;
  }

  .needs-box__wrap.needs-akordeon-1 .needs-img__wrap,
  .needs-box__wrap.needs-akordeon-2 .needs-img__wrap,
  .needs-box__wrap.needs-akordeon-3 .needs-img__wrap {
    height: 300px;
  }
}
