.sec-services {
  padding-bottom: 60px;
  margin-bottom: 100px;
  position: relative;
  overflow-x: clip;
}

.sec-services.mt-29.mb-58 {
  padding-bottom: 0 !important;
}

.sec-services:after {
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  width: 100%;
  z-index: -1;
  height: calc(100% + 443px);
  bottom: 0;
  background-size: cover;
  background-position: center bottom;
}

.sec-services .d-flex:nth-child(n + 4) {
  margin-top: 15px;
}

.services-item {
  width: 100%;
  min-height: 156px;
  display: flex;
  align-items: center;
  border-radius: 20px;
  color: var(--second-active-color) !important;
  font-weight: bold;
  padding: 10px 85px 10px 39px;
  letter-spacing: 0.2px;
  position: relative;
  z-index: 1;
  background: var(--main-color);
  background-repeat: no-repeat !important;
  background-position: center right 40px !important;
}

.services-item:before {
  content: '';
  position: absolute;
  right: 20px;
  bottom: -20px;
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-bottom: 40px solid transparent;
  border-top: 40px solid var(--active-color);
  border-top-right-radius: 20px;
  transform: rotate(90deg);
}

.services-item:hover::before {
  border-right-color: var(--main-color);
}

.services-item:hover {
  background: var(--second-active-color);
  text-decoration: underline !important;
  border: 1px solid var(--main-color);
}

.services-item:hover span {
  color: var(--main-color);
}

.services-item:hover:before {
  border-right-color: var(--second-active-color);
}

.services-item:hover:after {
  border-right-color: var(--main-color);
}

@media(min-width:1360px) and (max-width:1459.98px) {
  .sec-services {
    padding-bottom: 35px;
  }

  .services-item {
    min-height: 135px;
    padding: 10px 65px 10px 35px;
  }
}

@media(min-width:1200px) and (max-width:1359.98px) {
  .sec-services {
    padding-bottom: 40px;
  }

  .services-item {
    min-height: 130px;
    padding: 10px 64px 10px 33px;
    background-position: center right 30px !important;
  }
}

@media(min-width:992px) and (max-width:1199.98px) {
  .sec-services {
    padding-bottom: 25px;
  }

  .services-item {
    min-height: 130px;
    padding: 10px 45px 10px 20px;
    background-position: center right 25px !important;
  } 
}

@media(min-width:768px) and (max-width:991.98px) {
  .sec-services {
    padding-bottom: 20px;
  }

  .sec-services .d-flex:nth-child(n + 3) {
    margin-top: 15px;
  }

  .services-item {
    min-height: 115px;
    padding: 10px 50px 10px 30px;
    background-position: center right 25px !important;
  }
}

@media(max-width:767.98px) {
  .sec-services {
    padding-bottom: 0px;
  }

  .sec-services .d-flex:nth-child(n + 2) {
    margin-top: 15px;
  }

  .services-item {
    min-height: 100px;
    padding: 10px 45px 10px 30px;
    background-position: center right 25px !important
  }
}
@media (min-width:992px){
  .sec-breadcrumbs h1{
    font-size: 60px;
    font-style: normal;
    font-weight: 700;
    line-height: 69px;
    }
}

.minimalize-services {
  min-width: none;
  padding-right: 24px;
  padding-left: 24px;
  border-radius: 10px;
  border-width: 1px;
  min-height: 6rem;
}

.minimalize-services span {
  padding: 14px 24px;
}

.minimalize-services::before {
  border-top-right-radius: 10px;
}

.reverse-colors { 
  color: var(--main-color) !important;
  background: var(--second-active-color) !important;
  border: 1px solid #E6E7EB
}
.reverse-colors::before {
  border-top-color: var(--main-color) !important;
}
.reverse-colors span {
  color: #002B4F !important;
}
.reverse-colors:hover {
  background: var(--main-color) !important;
}
.reverse-colors:hover span {
  color: var(--second-active-color) !important;
}
.reverse-colors:hover::before {
  border-top-color: var(--text-color) !important;
}
.reverse-colors:hover::after {
  border-top-color: var(--text-color) !important;
}

