
/* секция skills */
.section-title {
    font-weight: 700;
    font-size: 35px;
    position: relative;
    color: #090a0c;
    margin-bottom: 20px;
    padding-bottom: 20px;
    text-transform: uppercase;
  }
  .section-title::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    background: #FA8C16;
    width: 50px;
    height: 2px;
  }
.skills {
  padding: 50px 0 15px;
    width: 100%;
  }
  .skills .section-title {
    margin-bottom: 35px;
  }
.skills__icon img {
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}
  @media (max-width: 992px) {
    .skills {
      padding: 80px 0px;
    }
  }
  @media (max-width: 768px) {
    .skills {
      padding: 60px 0px;
    }
  }
 .skills__grid {
    width: 100%;
    position: relative;
  }


  .skills__block {
    overflow: hidden;
  }

  .skills__name {
    color: #090a0c;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 10px;
    padding-right: 40px;
  }
  .skills__roll {
    position: relative;
    height: 5px;
    background: #eee;
  }
  .skills__bar {
    position: relative;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #FA8C16;
    transition: width 1s ease;
  }
  .skills__bar span {
    position: absolute;
    bottom: 8px;
    right: 0;
    width: 36px;
    height: 30px;
    color: #555a64;
    font-weight: 400;
    line-height: 1.6;
    font-size: 14px;
  }
  .skills__bar_span {
    position: absolute;
    bottom: 5px;
    right: 0;
    width: 36px;
    height: 30px;
    color: #555a64;
    font-weight: 400;
    line-height: 1.6;
    font-size: 14px;
    text-align: right;
  }
  .skills__subGrid {
    overflow: hidden;
    padding: 30px;
  }
  .skills__item-Righ {
    width: 100%;
  }
  .skills__subItem {
    background: #ffffff;
    border-radius: 5px;
    -webkit-box-shadow: 0px 0px 11px 11px rgba(52, 59, 94, 0.1);
    box-shadow: 0px 0px 11px 11px rgba(52, 59, 94, 0.1);
    padding: 18px 6px;
    min-height: 167px;
    transition: .3s;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -ms-transition: .3s;
    -o-transition: .3s;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}
.skills__subItem:hover {
  background-color: #FDF9F5;
}
  .skills__subText {
    text-align: center;
    font-size: 16px;
    color: #090a0c;
    font-weight: 600;
    line-height: 1.2;
  }
  .skills .fas {
    color: #d9832e;
    font-weight: 900;
    font-size: 30px;
  }

  .skills__subItem {
    cursor: pointer;
}

.skills__subItem.active {
    background-color: #FDF9F5; /* Выделение активного таба */
}

/* .skills__block {
    display: none;
} */
.skills__slide.active .skills__block-slide {
  background-color: #fa8c1617;
  border: 1px solid #fa8c16;
}
.skills__block.active {
    display: grid;
}
.skills__block_grid {
  grid-template-columns: repeat(2, 1fr);
  column-gap: 30px;
  row-gap: 30px;
}
  /* секция skills */

  .section-title {
    font-weight: 700;
    font-size: 35px;
    position: relative;
    color: #090a0c;
    margin-bottom: 20px;
    padding-bottom: 20px;
    text-transform: uppercase;
}
.section-title::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    background: #FA8C16;
    width: 50px;
    height: 2px;
}

.skills__slider {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.skills__slider .swiper-slide {
    width: 100%;
    height: auto;
    flex-shrink: 0;
}
.skill_lines {
  display: grid;
  gap: 30px;
}
.skill_articles_wrapper {
  overflow: hidden;
}
@media (max-width: 992px) {
    .skills {
        padding: 25px 0px;
    }
}
@media (max-width: 610px) {
    .skills__block_grid {
      grid-template-columns: repeat(1, 1fr) !important;
    }
    .skill_articles_wrapper {
      display: none;
    }
    .skill_lines {
      grid-template-columns: repeat(1, 1fr) !important;
    }
}

.skills__block-slide {
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    background-color: white;
    overflow: hidden;
    /* box-shadow: 0px 0px 11px 11px rgba(52, 59, 94, 0.1); */
    border: 1px solid #dbe0e5;
    border-radius: 5px;
    transition: .3s;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -ms-transition: .3s;
    -o-transition: .3s;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.skills__block-slide:hover {
  background-color: #fa8c16;
}
.skills__block-slide:hover .skills__name_block_inner {
  color: #fff;
}
.active .skills__name_block_inner {
  color: #090a0c !important;
}
.skills__slide {
    /* padding: 20px; */
    position: relative;
}
.skills__img-block {
  margin-top: 20px;
  padding: 7px 7px 0;
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
}
@media (max-width: 768px) {
    .skills__img-block {
        flex: 0 0 120px;
    }
}
.skills__img-block img {
  /* width: 100%;
  object-fit: cover;
  height: 150px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px; */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.skills__name_block {
  text-align: center;
  padding: 7px;
  font-size: 14px;
  font-weight: 600;
  height: 60px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.skills__name_block_inner {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 43px;
}
.swiper-pagination-clickable .swiper-pagination-bullet {
  line-height: 14px;
}
.pagination-nav-wrapper {
  display: flex;
  justify-content: center;
  margin: 35px;
  align-items: center;
  max-height: 45px;
  overflow: hidden;
}
.skills .swiper-pagination-skills {
  margin: 0 20px;
  text-align: center;
}
.skills .block-btn {
    position: absolute;
    bottom: 55px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    display: flex;
    justify-content: space-between;
    z-index: 10;
}
@media (max-width: 768px) {
    .skills .block-btn {
        bottom: 36px;
    }
}

.skills .button-next-skills,
.skills .button-prev-skills {
    cursor: pointer;
    display: flex;
}
.skills .button-next-skills {
    transform: rotateY(180deg);
}

.skills .swiper-pagination-bullet {
    background-color: #555a64;
    width: 10px;
    height: 10px;
    margin: 0 3px;
}

.skills .swiper-pagination-bullet-active {
    transition: all 0.3s ease 0s;
    transform: scale(1.1);
}

.skills__position {
    font-size: 14px;
    color: #7A7A7A;
    font-weight: 600;
}

.skills__description {
    font-size: 14px;
    color: #7A7A7A;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 9;
    overflow: hidden;
    text-overflow: ellipsis;
}
