.our-service-sec{
    background: var(--color-blue-gradient);
}
.our-service-sec .custom-container{
    padding-bottom: 0;
}
.service-wrap{
    display: flex;
}
.service-wrap .services{
    position: relative;
    flex: 0.7;
    border-right: 1px solid var(--color-A7A9AC);
    padding-top: 144px;
    padding-bottom: 98px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s ease;
}
.service-wrap .services.open{
    border-color:var(--color-45970F);
} 
.service-wrap .services.open{
    flex: 4;
}
.service-inner{
    position: relative;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
}

.service-inner .services-content {
    /* flex-basis: 95%; */
}
.service-wrap > .services:not(:first-child) .service-inner .services-content{
    padding-left: 20px;
}

.service-inner .right-side img{
    width: 378.5px;
    height: 725px;
}
.services-content .row .left-side{
    flex-basis: 40%;
    width: 610px;
}
.services-content .row .right-side{
    flex-basis: 38%;
}



 .service-header-wrap{
    position: absolute;
    /* width: 100%; */
    /* rotate: -90deg; */
    right: 48px;
    bottom: 8%;
    /* display: flex; */
    align-items: center;
    gap: 35px;
    height: 0;
    width: 0;
}
.service-header-wrap > .service-title{
    transform: rotate(-90deg);
    /*rotate: -90deg;*/
    text-wrap: nowrap;
}
.service-header-wrap > .service-title .small-font{
    margin-top: -240px;
    display: block;
}
.service-inner img{
    width: 100%;
}

.service-header-wrap .service-title{
    color:var(--color-A7A9AC);
    font-size: 45px;

}
.service-header-wrap .service-title span.big-font{
    font-size: 145px !important;
    font-weight: 200;
}
.service-header-wrap .service-title span.small-font{
    flex-basis: 100%;
    font-weight: 300;
}


.service-parah{
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.service-parah p{
    color:var(--color-white-sec);
    font-size: 20px;
    line-height: 24px;
}
.service-parah p:first-child{
    font-weight: 700;
    padding-right: 20px;
}


.services.open .service-header-wrap .service-title span,
.services:hover .service-header-wrap .service-title span{
    font-weight: 700 !important;
    color:var(--color-45970F);
}

.services-content .row .left-side{
    transform: translateX(104%) translateZ(0);
    opacity: 0;
    transition: transform 0.5s ease 1s, opacity 0.5s ease 1s; 
}
.services-content .row .right-side img{
    display: block;
    margin: 0 auto;
    opacity: 0;
    transform: translateX(50%);
    transition: opacity 0.5s ease 1s, transform 0.5s ease 1s;
}

.services.open .services-content .row .left-side{
    transform: translateX(0%) translateZ(0);
    opacity: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.services.open .services-content .row .right-side img{
    opacity: 1;
    transform: translateX(0%);
    transition-delay: 0s;
}

.services  .service-inner .services-content > .row{
    visibility: hidden;
    display: none;
    transition: opacity 0.5s ease;
}

.services.open  .service-inner .services-content > .row{
    visibility: visible;
    display: flex;
    flex-wrap: nowrap;
    transition: opacity 0.5s ease;
}

/**arrow*/
.arrow-group{
    position: absolute;
    top: 60px;
    right: 0;
    transform: rotate(-45deg);
}
.arrow--l-r {
    width: 72px;
    height: 1.25rem;
    display: inline-block;
    position: relative;
    margin: 0 1rem;
  }
  .services.open .arrow--l-r span:nth-child(4) {
    transform: rotate(-45deg);
    width: 48px !important;
    
  }
 
  .services:not(.open) .arrow--l-r span:nth-child(2) {
    transform: rotate(45deg);
    width: 48px !important;
  }
  .arrow--l-r span {
    position: absolute;
    height: 0.1rem;
    background-color: #A7A9AC;
    transition: transform 0.2s ease;
  }
  .services.open .arrow--l-r span {
    background-color: var(--color-45970F);
  }
  .arrow--l-r span:nth-child(1),
  .arrow--l-r span:nth-child(2),
  .arrow--l-r span:nth-child(4),
  .arrow--l-r span:nth-child(5) {
    width:72px;
    top: 0.625rem;
  }
  .arrow--l-r span:nth-child(1) {
    right: 0;
    transform-origin: bottom right;
  }
  .arrow--l-r span:nth-child(2) {
    right: 0;
    transform-origin: top right;
  }
  .arrow--l-r span:nth-child(3) {
    width: 72px;
    top: 0.625rem;
  }
  .arrow--l-r span:nth-child(4) {
    left: 0;
    transform-origin: bottom left;
  }
  .arrow--l-r span:nth-child(5) {
    left: 0;
    transform-origin: top left;
  }
@media(max-width:1365px){
    .service-inner .right-side img {
        width: 299.5px;
        height: 558px;
        object-fit: cover;
    }
    .service-header-wrap .service-title {
        font-size: 33px;
    }
    .service-header-wrap .service-title span.big-font {
        font-size: 110px !important;
    }
    .service-header-wrap > .service-title .small-font {
        margin-top: -245px;
    }
    
}

@media(max-width:1250px){
    .services-content .row .left-side {
        flex-basis: 35%;
    }
}

@media(min-width:1160px){
    .services.open .arrow--l-r span:nth-child(5) {
        transform: rotate(45deg);
        width: 48px !important;
      
      }
      .services:not(.open) .arrow--l-r span:nth-child(1) {
        transform: rotate(-45deg);
        width: 48px !important;
      }
}
@media(max-width:1160px){
    .arrow--l-r,
    .arrow--l-r span:nth-child(1),
    .arrow--l-r span:nth-child(2),
    .arrow--l-r span:nth-child(4),
    .arrow--l-r span:nth-child(5),
    .arrow--l-r span:nth-child(3){
        width: 50px;
    }
    .arrow-group {
        top: unset;
        right: -20px;
        bottom: 13px;
        transform: rotate(-137deg);
    }
    .services.open .arrow--l-r span:nth-child(1) {
        transform: rotate(-45deg);
        width: 35px !important;
        
      }
      .services.open .arrow--l-r span:nth-child(2) {
        transform: rotate(45deg);
        width: 35px !important;
      }

      .services.open .arrow--l-r span:nth-child(4),
      .services.open .arrow--l-r span:nth-child(5)
      {
        display: none
      }
      .services:not(.open) .arrow--l-r span:nth-child(1) {
        transform: rotate(-45deg);
        width: 35px !important;
      }
      .services:not(.open) .arrow--l-r span:nth-child(2) {
        transform: rotate(45deg);
        width: 35px !important;
      }
    .service-wrap{
        flex-direction: column;
    }
    .service-inner{
        display: block;
    }
    .service-header-wrap{
        position: unset;
        width: unset;
        height: unset;
        display: flex;
    }
    .service-header-wrap > .service-title{
        transform: none;
        /*rotate: unset;*/
    }
    .service-wrap .services {
        border-right: unset;
        border-bottom: 1px solid var(--color-A7A9AC);
    }
   
    .service-header-wrap > .service-title .small-font{
        margin: unset;
        text-wrap: wrap;
    }
    .service-wrap .services{
        padding-top: 40px;
        padding-bottom: 0;
    }
    .service-wrap{
        padding-bottom: 105px;
    }
    .services-content .left-side,
    .services-content .right-side{
        margin-bottom: 45px;
        flex-basis: 50% !important;
    }
}

@media(max-width:767px){

    .services .service-inner .services-content > .row{
        flex-direction: column-reverse;
        gap: 42.27px !important;
    }
    .service-inner .right-side img {
        width: 358px;
        height: 485px;
        object-fit: cover;
        max-width: 100%;

    }
    .service-header-wrap .service-title span.big-font {
        font-size: 85px !important;
        line-height: 85px !important;
    }
    .service-header-wrap .service-title {
        font-size: 26px;
        line-height: 23px;
        margin-bottom: -17px;
    }
    .service-wrap > .services:not(:first-child) .service-inner .services-content {
        padding-left: 0px;
    }
    .service-header-wrap{
        gap: 20px;
    }
    .services-content .right-side {
        margin-bottom: 0px;
    }
    .services-content .row .left-side{
        width: 100%;
    }
    .service-wrap .services{
        overflow: unset !important;
    }
}

@media(max-width:415px){
    .service-header-wrap .service-title span.big-font {
        font-size: 51px !important;
        line-height: 70px !important;
    }
    .service-header-wrap .service-title {
        font-size: 19px;
        line-height: 23px;
    }
    .service-header-wrap .service-title:last-child{
        width: 60%;
    }
}