
.clients-section,
.testimonials-section {
  position: relative;
  min-height: 100vh;
  height: auto;
  display: flex;
}

  .clients-section {
    height: 100vh;
  }

@media (min-width: 1024px) {
  .testimonials-section {
    height: 100vh;
  }
}

@media (max-width: 767px) {
  .testimonials-section {
    height: auto;
  }
}
/*add slider-clients-wrapper*/
.slider-client-wrapper,
.page-section .testemonials-wrapper,
.page-section .clients-wrapper {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding-top: 60px;
  padding-bottom: 20px;
}
.page-section .testemonials-wrapper {
  box-sizing: border-box;
}

/*added*/
.slider-client-wrapper,
.clients-wrapper {
  position: relative;
}

.static-client-items-list li:nth-child(4) img{
  height: 100%;
}

@media screen and (min-width: 1024px) {
  section:nth-child(7) {
    min-height: 100vh;
  }
  
  .page-section .slider-clients-wrapper {
    display: none;
  }
  .clients-section, .testimonials-section 
   .static-clients-wrapper .clients-items-wrapper {
     align-items: normal;
  }
  
  
  .static-clients-wrapper {
    display: block;
    padding-top: 80px;
   
    min-width: 920px;
    margin: 0 auto;
  }
  
   .static-clients-wrapper .clients-items-wrapper {
    align-items: normal;
    max-width: 940px;
    width: 100%;
    margin: 0 0 0 -43px;
  }
  
  .static-clients-wrapper .clients-items-wrapper .triggered .client-item {
    display: flex;
    justify-content: center;
  }
   .static-clients-wrapper .client-item {
    width: 25.5%;
    max-height: 35%;
  }
  
  
}

@media screen and (min-width: 767px) and (max-width: 1023px) {
  section:nth-child(7) {
    min-height: 140vh;
  }
  .page-section .slider-clients-wrapper {
    display: none;
  }
  
  .static-clients-wrapper {
    display: block;
    width: 100%;
    padding-top: 80px;
  }
  
  .static-clients-wrapper .clients-items-wrapper {
     min-width: none;
     align-items: normal;
      width: 100%;
  }
 
  
 .static-clients-wrapper .static-client-items-list{
    align-content: center;
    justify-content: space-evenly;
  }
  
  .static-clients-wrapper .client-item {
    width: 35.5%;
     max-height: 25%;
  }
  
}



@media screen and (max-width: 766px) {
  .page-section .slider-clients-wrapper {
    padding-top: 70px;
    display: block;
    padding-bottom: 61px;
  }
  
  .static-clients-wrapper {
    display: none;
  }
}

.testemonials-items-list {
  width: 100%;
}

.static-client-items-list,
.testemonials-items-list,
.client-items-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-grow: 1;
}

.clients-items-wrapper {
  position: relative;
}

.client-item {
  padding: 20px 0;
  transform: scale(0);
  opacity: 0;
}

.triggered .client-item {
  transform: scale(1);
  opacity: 1;
  transition: opacity 0.2s, transform 0.2s;
}

.client-logo-wrapper {
  text-align: center;
}

.client-logo {
  max-width: 84.5%;
  width: 100%;
  height: auto;
}

.testemonials-items-list {
  margin: 0 -10px;
  justify-content: space-between;
  position: relative;
}

.testemonial-item {
  padding: 10px;
  box-sizing: border-box;
  flex-basis: 33.33%;
  max-width: 300px;
}

.triggered .testemonial-wrapper {
  max-width: 300px;
  opacity: 1;
  transition: transform 1s, opacity 1s;
}

.testemonial-wrapper {
  opacity: 0;
  transition: none;
}

.triggered .testemonial-1 {
  transform: translateY(-30px);
  transition-delay: 100ms;
}

.triggered .testemonial-2 {
  transform: translateY(50px);
  transition-delay: 200ms;
}

.triggered .testemonial-3 {
  transform: translateY(0);
  transition-delay: 300ms;
}

.testemonial-1 {
  transform: translateY(-120px);
}

.testemonial-2 {
  transform: translateY(150px);
}

.testemonial-3 {
  transform: translateY(-100px);
}


.testemonial-heading {
  padding-top: 30px;
  font-family: OpenSans;
  font-size: 16px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: left;
  /*color: #fff;*/
}

.testemonial-company {
  font-weight: bold;
}

.logos-btn-items {
  position: absolute;
  top: 50%;
  left: 0;
  width: 80%;
  left: 10%;
  list-style: none;
  margin: 0;
  padding: 0;
}


.logos-btn-item {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}


.logos-btn-item:first-child {
  right: 100%;
  transform: translateX(-18px);
}
.logos-btn-item:last-child {
  left: 100%;
  transform: translateX(18px);
}

.logos-switcher,
.logo-btn {
  display: inline-block;
  text-indent: 100%;
  overflow: hidden;
  padding: 0;
  border: none;
  cursor: pointer;
  opacity: 0.4;
  background-color: transparent;
}

.logos-switcher {
  position: relative;
  height: 10px;
  width: 10px;
  margin-left: 10px;
  transition: transform 0.3s;
}

.logos-switcher::before {
  content: '';
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  background-color: #000;
  transform: translate(-50%, -50%);
}

.logos-switcher.active {
  opacity: 1;
}


.logos-switcher:first-child {
  margin-left: 0;
}

.logo-btn {
  overflow: hidden;
  position: relative;
  transition: opacity 0.3s;
  width: 30px;
  height: 20px;
  background-color: transparent;
}


.logo-btn::before {
  content: '';
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 20px;
  background: url('https://cdnssinc-prod.softserveinc.com/img/your_journey/transform/arrow.svg') 50% 50%/auto 100% no-repeat;
}


.logo-btn-next::before {
  transform: translate(-50%, -50%) rotate(-90deg);
}

.logo-btn-prev::before {
  transform: translate(-50%, -50%) rotate(90deg);
}


@media (pointer: fine), (-moz-touch-enabled: 0) {
  
  .logos-switcher:hover {
    transform: scale(1.5);
  }
  
  .logos-switcher.active:hover {
    transform: none;
  }

  .logo-btn:hover {
    opacity: 1;
  }
}


.logos-switcher:focus,
.logos-switcher:active,
.logo-btn:focus,
.logo-btn:active {
  outline: none;
  box-shadow: none;
}

.slide-switchers-container {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
}

  .client-logo-wrapper {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
  }

  .client-wrapper {
    height: 100%;
  }
  
  .clients-items-wrapper {
    overflow: hidden;
    height: 100%;
    width: 80%;
    display: flex;
    margin:0 auto;
    align-items: center;
  }
  .static-client-items-list,
  .client-items-list {
    flex-direction: column;
    height: 80%;
    align-content: flex-start;
    justify-content: flex-start;
    transition: transform 0.5s;
  }
  
  .client-item {
    flex-basis: 32.33%;
    max-height: 25%;
    padding: 0;
    width: 33.33%;
  }


@media (min-width: 1024px) and (max-height: 767px) {
  .client-item {
    flex-basis: 32.33%;
    max-height: 33.33%;
    width: 33.33%;
  }
}


@media (max-width: 1023px) {
  .client-item {
    flex-basis: 33.33%;
    max-height: 33.33%;
    width: 50%;
  }

  .testemonials-items-list {
    max-width: 620px;
    margin: 0 auto;
    flex-wrap: wrap;
  }

  .testemonial-item {
    flex-basis: 50%;
  }
  
  .testemonial-item:nth-child(2n-1) {
    padding-left: 0
  }  
  .testemonial-item:nth-child(2n) {
    padding-right: 0
  }  
  
  .testemonial-1,
  .testemonial-2 {
    transform: translateY(0) !important;
  }
  .testemonial-heading {
    padding-top: 10px;
    margin-bottom: 25px;
  }
}

@media (max-width: 560px) {
  .client-item {
    flex-basis: 50%;
    max-height: 50%;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .logos-btn-items {
      display: none
  }
  .clients-items-wrapper {
    width: 100%;
  }
  
  .testemonial-item {
    flex-basis: 100%;
    padding: 0;
  }  
  .testemonial-heading {
    margin-bottom: 40px;
  }
  .testemonial-wrapper {
    /*margin: 0 auto;*/
  }
}

@media (min-height: 481px) and (max-height: 540px) {
  #partners {
    min-height: 600px;
    height: 600px;
  }
  #partners .static-client-items-list {
    height: auto;
  }  
  #partners .static-clients-wrapper {
    padding-bottom: 40px;
  }
}


@media (min-height: 481px) and (max-height: 540px) and (min-width: 768px) and (max-width: 1022px) {
  #partners .client-logo {
    width: 66%;
  }
  #partners .static-clients-wrapper {
    padding-bottom: 80px;
  }
}

@media (min-height: 481px) and (max-height: 620px) and (min-width: 660px) and (max-width: 767px) {
  #partners .client-items-list {
    height: 92%;
  }  
  #partners .client-logo {
    width: 72%;
  }
}
