/*her-services-section*/
.hero-services-section .hero-title {
  margin-bottom: 24px;
  line-height: 48px;
}
.hero-services-section .hero-title::after {
  margin: 0 auto;
}
.services-subtitle p,
.services-subtitle{
    font-size: 32px;
    line-height: 36px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 16px;
}
.hero-services-text,
.hero-services-text p{
    font-weight: 500;
    margin-bottom: 32px;
}

/* hero slider*/
.hero-services__item{
  border-radius: 16px;
  min-height: 312px;
  padding: 12px;
  color: #000;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-sizing: border-box;
}
.hero-services__grid .hero-services__item:nth-child(2n+1){
  background-color: #fff;
}
.hero-services__grid .hero-services__item:nth-child(2n){
  background-color: var(--primary-color);
}
.hero-services-section .swiper-pagination{
  position: static;
  margin: 0 auto;
  margin-top: 32px;
}
.hero-services__icon{
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-services__item h3{
  font-size: 20px;
  line-height: 24px;
  font-weight: 600;
  text-transform: uppercase;
}
.hero-services__item p{
  font-weight: 500;
}



@media (min-width: 767px) {
.hero-services-section .hero-title {
  text-align: center;
  line-height: 126px;
}
.services-subtitle p,
.services-subtitle{
    text-align: center;
}
.hero-services-text,
.hero-services-text p{
    text-align: center;
    margin-bottom: 56px;
    font-size: 24px;
}
.hero-services-section .swiper-pagination{
  display: none;
}
.hero-services__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.hero-services__item{
  min-height: 320px;
  border-radius: 24px;
  padding: 24px;
  justify-content: space-between;
}
.hero-services__icon{
  flex-direction: row;
  align-items: center;
  justify-content: start;
  gap: 24px;
  flex: unset;
}
.hero-services__icon img{
  width: 100px;
  height: 100px;
}
.hero-services__item h3{
  font-size: 32px;
  line-height: 42px;
}
.hero-services__item p{
  font-size: 24px;
}
}
@media (min-width: 992px) {
.hero-services__grid{
  grid-template-columns: 1fr 1fr;
}
.hero-services__item{
    min-height: 378px;
}
.hero-services__grid .hero-services__item:nth-child(3){
  grid-row: 2;
  grid-column: 2;
}
.hero-services__grid .hero-services__item:nth-child(4){
  grid-row: 2;
  grid-column: 1;
}
}

/*who-trusted-section*/
.who-trusted-section {
  overflow: hidden;
}
.who-trusted-section-title{
  font-size: 44px;
  line-height: 48px;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: #fff;
}
.who-trusted-section-title span{
  color: var(--primary-color);
}
.who-trusted-section-text{
  font-weight: 500;
  margin-bottom: 32px;
}
.who-trusted-container-content{
  display: flex;
  width: max-content;
  align-items: center;
  animation: scroll-left 24s linear infinite;
  transition: animation-play-state 0.3s;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.who-trusted-container-content a{
  padding: 8px 16px;
  display: block;
  font-size: 20px;
  margin-right: 24px;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.3s;

}
.who-trusted-container-content:hover{
  animation-play-state: paused;
}
.who-trusted-container-content a:hover{
  color: var(--primary-color);
}
@keyframes scroll-left{
0% {
    transform: translateX(0);
}
100% {
    transform: translateX(calc( -50% ));
}
}
@media (min-width: 767px) {
 .p-block.who-trusted-section{
  padding-bottom: 44px;
  }
.who-trusted-section-title{
  font-size: 104px;
  line-height: 112px;
  margin-bottom: 16px;
}
.who-trusted-section-text{
  margin-bottom: 56px;
  font-size: 24px;
}

.who-trusted-container-content a{
  font-size: 24px;
  line-height: 32px;
  padding: 20px 16px;
  margin-right: 88px;
}
}
@media (min-width: 1000px) {
.who-trusted-section-text{
  max-width: 50%;
}
}

/*see-works-section*/
.see-works-section.p-block {
  padding-top: 0;
}
.see-works-section .swiper-pagination{
  position: static;
  margin-top: 28px;
  width: 100%;
}
.see-works-section .swiper-pagination-bullet{
 width: calc(100% / 6);
 margin: 0 !important;
 border-radius: 0 !important;
 height: 4px;
 background-color: #7C7C7C !important;
 opacity: 0.6 !important;

}
.see-works-section .swiper-pagination-bullet:first-child{
border-top-left-radius: 4px !important;
border-bottom-left-radius: 4px !important;
}
.see-works-section .swiper-pagination-bullet:last-child{
border-top-right-radius: 4px !important;
border-bottom-right-radius: 4px !important;
}

.see-works-section .swiper-pagination-bullet-active{
   border-radius: 4px !important;
  background-color: #fff !important;
  opacity: 1 !important;
}

.see-works__slider{
  margin-top: 8px;
}
.see-works__item{
  box-sizing: border-box;
  border-radius: 16px;
  padding: 12px;
  overflow: hidden;
  color: #000;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.see-works__item-year{
  font-weight: 700;
  font-size: 20px;
  display: block;
  margin-bottom: 16px;
}
.see-works__item-title{
  font-weight: 500;
  font-size: 32px;
  line-height: 36px;
  margin-bottom: 8px;
}
.see-works__item-text{
  font-weight: 500;
}
.see-works__item-img{
  border-radius: 16px;
  height: 228px;
  overflow: hidden;
  object-fit: cover;
}
.see-works__item-container-second{
  position: relative;
}
.see-works__item-text-img{
  font-family: "Poppins", sans-serif;
  position: absolute;
  top: 12px;
  left: 12px;
  display: block;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  background-color: var(--primary-color);
  border-radius: 100px;
}
@media (min-width: 767px) {
    .see-works-section {
      overflow: hidden;
    }
  .see-works-section .swiper {
    overflow: visible;
  }
  .see-works__item{
    border-radius: 24px;
    padding: 32px;
  }
  .see-works__item-container-first{
    display: flex;
    flex-direction: column;
    justify-content: end;
  }
  .see-works__item{
    display: grid;
    grid-template-columns: 1fr 1fr;
  } 
  .see-works__item{
    background-color: transparent;
    color: #fff;
    transition: all 0.3s;
  }
  .see-works__item.swiper-slide-active{
    background-color: #fff;
    color: #000;
  }
  .see-works__item-year{
  font-size: 32px;
  margin-bottom: 24px;
}
.see-works__item-title{
  font-size:52px;
  line-height: 64px;
  margin-bottom: 16px;
}
.see-works__item-text{
  font-size: 24px;
}
.see-works__item-img {
    border-radius: 24px;
    height: 423px;
}
.see-works__item-text-img{
    padding: 16px 24px;
    font-size: 20px;
    top: 24px;
    left: 24px;
}
.see-works__slider{
  margin-top: 32px;
}
.see-works-section .swiper-pagination{
  margin-top: 46px;
}

}
@media (min-width: 1400px) {
    .see-works__item-img {
         min-height: 450px; 
    }
}

/*services-page-contact-section*/
.p-block.services-page-contact-section{
  padding-top: 0;
}
.services-page-contact-section .project-contact-section {
  padding: 0;
}
.services-page-contact-section .contact-info{
  background-image: url(https://backmut.portfolioserver.xyz/wp-content/themes/backmut/assets/img/services-page/services-contact-img.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
}
.services-page-contact-section .contact-info {
width: 100%;
min-height: 300px;
border-radius: 24px;
padding: 24px;
display: flex;
flex-direction: column;
position: relative;
}
.services-page-contact-section .social-block {
  margin-top: auto;
  justify-content: end;
}
.services-page-contact-section .contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    }
.hero-services-text {
    max-width: 998px;
    margin-inline: auto;
}
    
@media (max-width: 768px) {
    .services-page-contact-section .contact-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .services-page-contact-section .contact-info {
    padding: 24px 12px;
}
}
@media (min-width: 767px) {
  .services-page-contact-section  .form-title{
    font-size: 40px;
    line-height: 48px;
  }
  .services-page-contact-section .social-block {
  position: absolute;
  bottom: 24px;
  right: 24px;
  justify-content: end;
}
.services-page-contact-section .contact-info {
  justify-content: center;
}
}
