.services-nav-section {
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 60px 0 85px;
}

.home-page .services-nav-section {
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 60px 0 85px;
  background-image: linear-gradient(
                      to bottom, 
                      rgba(0,0,0,0) 0%, 
                      rgba(0,0,0,1)
                    );
}

.home-page .home-section-heading {
  padding-bottom: 29px;
}

.home-page.services-nav-section {
  background-image: linear-gradient(
                     to bottom,
                     rgba(0, 0, 0, 0.1),
                     rgba(0, 0, 0, 0));
                    };
  padding-top: 0;
  padding-bottom: 0;
}

.services-nav-section .wrapper {
  position: relative;
  z-index: 1;
}

.services-nav-wrapper {
  padding: 15px;
  background-color: #fff;
  max-width: 940px;
  margin: 0 auto;
  box-shadow: 10px 10px 30px 5px rgba(0, 0, 0, 0.6);
}

.home-page .services-nav-wrapper {
  box-shadow: 0px 21px 54px 0 rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

/*.services-nav-wrapper::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 110%;
  z-index: -1;
  top: -5%;
  left: -15%;
  background-image: radial-gradient(
                      ellipse at center,
                      rgba(70, 0, 255, 0.5) 0%,
                      rgba(70, 0, 255, 0) 70%
                    );
}*/

.home-page.services-nav-section div.wrapper {
  position: relative;
  z-index: 1;
}

.home-page.services-nav-section .wrapper::before {
    content: '';
    position: absolute;
    width: 88%;
    height: 125%;
    z-index: -1;
    bottom: -46%;
    right: -25%;
}

.services-nav-container {
  position: relative;
}

.services-nav-items {
  display: flex;
  flex-direction: column;
  list-style: none;
  justify-content: space-evenly;
  padding: 0;
  margin: 0;
  counter-reset: services-counter;
  color: #000;
}

.services-nav-item {
  box-sizing: border-box;
  font-size: 24px;
  min-height: 22px;
}

.services-nav-item::after {
  content: '';
  height: 350px;
  width: 350px;
  display: block;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  position: absolute;
  top: 100%;
  left: 100%;
  transform: translate(-65%, -40%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s linear;
}


.services-nav-item.active::after {
  opacity: 1;
}

.services-nav-item:nth-child(1)::after {
  background-image: url('https://cdnssinc-prod.softserveinc.com/img/services/1.png');
}
.services-nav-item:nth-child(2)::after {
  background-image: url('https://cdnssinc-prod.softserveinc.com/img/services/2.png');
}
.services-nav-item:nth-child(3)::after {
  background-image: url('https://cdnssinc-prod.softserveinc.com/img/services/3.png');
}
.services-nav-item:nth-child(4)::after {
  background-image: url('https://cdnssinc-prod.softserveinc.com/img/services/4.png');
}
.services-nav-item:nth-child(5)::after {
  background-image: url('https://cdnssinc-prod.softserveinc.com/img/services/5.png');
}
.services-nav-item:nth-child(6)::after {
  background-image: url('https://cdnssinc-prod.softserveinc.com/img/services/6.png');
}
.services-nav-item:nth-child(7)::after {
  background-image: url('https://cdnssinc-prod.softserveinc.com/img/services/7.png');
}
.services-nav-item:nth-child(8)::after {
  background-image: url('https://cdnssinc-prod.softserveinc.com/img/services/8.png');
}
.services-nav-item:nth-child(9)::after {
  background-image: url('https://cdnssinc-prod.softserveinc.com/img/services/9.png');
}
.services-nav-item:nth-child(10)::after {
  background-image: url('https://cdnssinc-prod.softserveinc.com/img/services/10.png');
}

.services-nav-heading {
  font-size: inherit;
  text-transform: uppercase;
  position: relative;
  margin: 0 2em 0 2em;
}

.services-nav-link {
  opacity: 0.5;
  transition: opacity 0.3s;
}

.services-nav-link:hover {
  opacity: 1;
}

.services-nav-offer-ref,
.services-nav-link,
.services-nav-link:hover {
  color: inherit;
  text-decoration: none;
}

.services-nav-offer-ref:hover {
  color: inherit;
}

.services-nav-container .active .services-nav-link {
  font-size: 30px;
  opacity: 1;  
  line-height: 1;
  position: relative;
  cursor: default;
}

.services-nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -0.2em;
  width: 0;
  height: 0;
}

.services-nav-container .active .services-nav-link::before {
  border: 2px solid #e0e0e0;
  border-right: none;
  border-bottom: none;
  width: 15px;
  height: 90%;
  transition: width 0.3s, height 0.3s 0.3s;
}

.home-page .active .services-nav-link::before{
  border: 2px solid #bd16d9;
  border-right: none;
  border-bottom: none;
  width: 15px;
  height: 90%;
  transition: width 0.3s, height 0.3s 0.3s;
}

.services-nav-heading::before {
  content: "0" counter(services-counter);
  counter-increment: services-counter;
  position: absolute;
  right: 100%;
  top: 0;
  margin-right: 1em;
  opacity: 0.2;
}

.services-nav-item:nth-child(n+10) .services-nav-heading::before {
  content: counter(services-counter);
}

.services-nav-container .services-nav-panel {
  top: 0;
  right: 0;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.services-nav-container .active .services-nav-panel {
  visibility: visible;
}

.services-nav-panel-content {
  font-family: OpenSans;
}

.services-nav-offers {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: 'Biotif-Regular';
  font-size: 24px;
}

.services-nav-offer {
  margin-top: 10px;
  line-height: 1;
}#big-data-panel ul.services-nav-offers {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#big-data-panel li.services-nav-offer {
    width: 48%;
    padding: 15px;
    border: 2px solid #000;
}

.services-nav-ref.btn {
  margin: 20px auto 5px;
  display: block;
}

@media (max-width: 767px) {
  .services-nav-ref.btn {
    margin: 20px auto;
  }
}

.services-nav-controls {
  position: absolute;
  right: 60%;
  height: 100%;
  top: 0;
  padding: 0;
  margin: 0;
  margin-right: 7px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  list-style: none;
}


.services-nav-control-btn {
  width: 14px;
  height: 19px;
  overflow: hidden;
  display: block;
  background: transparent;
  border: none;
  border-radius: 0;
  text-indent: 100%;
  padding: 0;
  position: relative;
  opacity: 0.5;
  transition: opacity 0.3s;
  cursor: pointer;
}

.services-nav-control-btn:hover {
  opacity: 1;
}

.services-nav-control-btn:focus {
  outline: none;
}

.services-nav-control-btn::before {
  content: '';
  display: block;
  position: absolute;
  height: 100%;
  width: 100%;    
  background-image: url('https://cdnssinc-prod.softserveinc.com/img/your_journey/transform/arrow.svg');
}

.services-nav-prev-btn {
  transform: rotate(180deg);
}

.last-active .services-nav-next-btn,
.first-active .services-nav-prev-btn {
  display: none;
}

@media (min-width: 1025px) {
  
  .services-nav-container .active .services-nav-link {
    font-size: 38px;
  }
  
  .uk-ua .services-nav-container .active .services-nav-link {
    font-size: 30px;
  }
  
  .services-nav-panel-content {
    font-size: 18px;
  }

}

@media (min-width: 768px) {
  .services-nav-wrapper {
    padding: 50px 35px 40px 35px;
  }
  
  .uk-ua .services-nav-wrapper {
    padding: 45px 35px 45px 35px;
  }
  
  .services-nav-container {
    margin-bottom: 0 !important;
  }
  
  .services-nav-items {
    width: 40%;
    border-right: 2px solid #000;
  }
  
  .services-nav-panel {
    position: absolute;
    width: 60%;
    min-height: 100%;
    padding: 0 0 0 45px;
  }
}

@media (max-width: 767px) {  
  /*.services-nav-wrapper::before {
    width: 200%;
    top: 50%;
    height: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: radial-gradient(
      ellipse at center,
      rgba(70, 0, 255, 0.7) 0%,
      rgba(70, 0, 255, 0) 70%
    );
  }*/
  
  .home-page .services-nav-wrapper::before {
    background-image: none;
  }
  
  .services-nav-controls {
    display: none;
  }
  
  .services-nav-section {
    padding: 60px 0;
    padding-bottom: 55px;
  }
  .services-nav-item {
    padding-bottom: 20px;
  }
  
  .services-nav-item.active,
  .services-nav-item:last-child {
    padding-bottom: 0;
  
  }
  .services-nav-item::after {
    /*transform: translate(-70%, -85%);*/
    transform: translate(-63%, -73%);
  }
  
  .services-nav-container .active .services-nav-heading {
    padding-bottom: 20px;
  }

  .services-nav-panel {
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    padding-top: 20px;
    margin-bottom: 20px;
    visibility: hidden;
    position: absolute;
  }
  
  .services-nav-container .active .services-nav-panel {
    visibility: visible;
    position: static;
  }  
}
