
/* -----------------------SOFTWARE PRODUCT ENGINEERING------------------  */
.work-process__inner {
    background-color: rgba(255, 255, 255, 0.04);
    border-radius: 48px;
    position: relative;
}
.work-process__inner::before {
    position: absolute;
    content: '';
    background: url(../images/rd-work-curve-new.svg) left center / cover no-repeat; 
    width: 124px;
    height: 960px;
    top: 81px;
    left: 83px;
}
.work-process__item + .work-process__item {
    margin-top: 12px;
}
.work-process__item {
    border-radius: unset;
    align-items: center;
}
.work-process__item:first-child {
    border-radius: 16px 16px 0 0;
}
.work-process__item:last-child {
    border-radius: 0 0 16px 16px;
}
.work-process__item-image {
    margin-right: 48px;
    width: 96px;
    height: 96px;
    flex-shrink: 0;
    border-radius: 50%;
}
.work-process__item-contact {
    color: var(--add-text-bg-color);
    text-decoration: underline;
    cursor: pointer;
    transition: all .4s;
}
.work-process__item-contact:hover,
.work-process__item-contact:focus {
    color: var(--main-text-color);
    text-decoration-color: var(--main-text-color);
}
.main-software .work-process__inner::before {
    background: url(../images/rd-software-curve.svg) left center/cover no-repeat;
    width: 124px;
    height: 956px;
    top: 84px;
    left: 82px;
}
.software-work-process__item-contact {
    color: var(--add-text-bg-color);
    text-decoration: underline;
    cursor: pointer;
    transition: all .4s;
}
.software-work-process__item-contact:hover,
.software-work-process__item-contact:focus {
    color: var(--main-text-color);
    text-decoration-color: var(--main-text-color);
}
.software-advantages__list-item + .software-advantages__list-item {
    margin-top: 24px;
}
.software-advantages__list {
    column-count: 2;
    column-gap: 100px;
}


/* -----------------------CUSTOM SOFTWARE DEVELOPMENT COMPANY------------------ */
.custom-works__wrapper {
    background-color: rgba(0, 0, 0, 0.4);
    padding-top: 64px;
    padding-bottom: 64px;
}
.custom-works__inner-case {
    max-width: 524px;
    width: 100%;
    margin-right: 76px;
}
.custom-works__inner-image {
    max-width: 600px;
    max-height: 410px;
    width: 100%;
}
.custom-works__inner-image--aibly {
    max-height: 373px;
}
.custom-works__inner-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}
.custom-works__rewiew,
.custom-profit__item {
    align-items: center;
}
.custom-works__rewiew-text {
    max-width: 976px;
    width: 100%;
    margin-right: 48px;
    position: relative;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 36px;
    padding-right: 108px;
    border-radius: 16px;
    display: flex;
    font-size: 20px;
    line-height: 1.5;
    font-family: Roboto-Regular-Italic;    
    font-weight: 400;
}
.custom-works__rewiew-text::after {
    position: absolute;
    content: '';
    width: 16px;
    height: 32px;
    background: url(../images/rd-cust-soft-triangle-icon.svg) center / cover no-repeat;
    top: calc(50% - 16px);
    right: -16px;
}
.custom-works__rewiew-image {
    width: 176px;
    height: 50px;
}
.custom-works__rewiew-link {
    text-decoration: underline;
    margin-left: 30px;
}
.custom-works__review-before,
.custom-works__review-after {
    width: 46px;
    height: 34px;
    background-image: url(../images/rd-quotes.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top left;
    margin-right: 24px;
    flex-shrink: 0;
}
.custom-works__review-after { 
    transform: rotate(-180deg);
    margin-right: 0;
    margin-left: 24px;
    position: absolute;
    bottom: 36px;
    right: 36px;
}
.custom-achievements__inner-item {
    text-align: center;
    font-size: 18px;
    line-height: 1.5;
    font-family: Roboto-Regular;    
    font-weight: 400;
    padding: 42px 60px 48px;
}
.custom-achievements__inner-number {
    color: #ED1C24;
    font-family: Roboto-Bold;    
    font-weight: 700;
    font-size: 120px;
    line-height: 1;
    margin-bottom: 17px;
}
.custom-profit__item-image {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    border-radius: 50%;
    margin-right: 52px;
    box-shadow: 0px 24px 50px rgba(237, 28, 36, 0.08);
}
.custom-profit__item {
    border-radius: 32px;
    padding: 52px;
}
.custom-profit__item + .custom-profit__item {
    margin-top: 24px;
}
.custom-dev .team-work__item-img {
    margin-bottom: -7px;
}
.custom-dev .top-info__subtitle {
    max-width: unset;
}
.custom-technologies__web,
.custom-technologies__mobile,
.custom-technologies__desktop,
.custom-technologies__cloud {
    margin-bottom: 12px;
}
.custom-technologies__web-inner,
.custom-technologies__desktop-inner,
.custom-technologies__mobile-inner,
.custom-technologies__cloud-inner,
.custom-technologies__mobile-inner {
    display: grid;
    place-items: center;
    grid-template-columns: repeat(4, 1fr);    
}
.custom-technologies__desktop-inner {
    grid-template-columns: repeat(5, 1fr);  
}
.custom-technologies__mobile-inner,
.custom-technologies__cloud-inner,
.custom-technologies__mobile-inner {
    grid-template-columns: repeat(6, 1fr);  
}
.custom-technologies__image {
    min-height: 150px;
    padding: 36px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.custom-technologies__name {
    font-size: 20px;
    line-height: 1.172;
    font-family: Roboto-Regular;    
    font-weight: 400;
    margin-top: 18px;
}
.custom-technologies__image--net {
    padding-left: 38px;
    padding-right: 38px;
}
.custom-technologies__image--forms {
    padding-left: 33px;
    padding-right: 33px;
}
.about__inner {
    background-color: rgba(255, 255, 255, 0.04);
    border-radius: 48px;
    padding: 48px;
    position: relative;
}
.about__inner::after {
    position: absolute;
    content: '';
    background: url(../images/rd-custom-curve-new.svg) left top / cover no-repeat;
    top: 82px;
    left: 82px;
    width: 124px;
    height: 954px;
}
.about__inner-item {
    border-radius: unset;
    min-height: 192px;
}
.about__inner-item + .about__inner-item {   
    margin-top: 12px;
}
.about__inner-item-number {
    margin-right: 48px;
    max-width: 96px;
    width: 100%;
    height: 96px;    
    font-family: Roboto-Bold;
    font-weight: 700;
    font-size: 64px;
    line-height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
    flex-shrink: 0;
}
.about__inner-item-number::after {
    content: '';
    position: absolute;
    width: 96px;
    height: 96px;  
    border-radius: 50%;
    background-color: rgba(0,0,0,.4);
    top: 0;
    left: 0;
    z-index: -2;
}

.about__inner .about__inner-item:first-child {
    border-radius: 16px 16px 0 0;
}
.about__inner .about__inner-item:last-child {
    border-radius: 0 0 16px 16px;
}
.about__inner .about__inner-item:last-child::after {
    background-image: unset;
}

/* ----------START FAQ SECTION---------- */
.faq__item {
    background: var(--secondary-bg-color);
    border-radius: 16px;
}
.faq__item + .faq__item {
    margin-top: 14px;
}
.faq__item-question {
    display: flex;
    padding: 30px 40px;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 500;
    font-family: Roboto-Medium;
    transition: all .3s;  
    cursor: pointer;
}
.faq__item-question-icon {
    width: 28px;
    height: 16px;
    transition: all .3s;
    margin-left: auto;
}
.faq__item-answer {
    padding-left: 40px;
    padding-right: 146px;
    max-height: 0;
    visibility: hidden;
    overflow: hidden;
    font-weight: 400;
    font-family: Roboto-Regular;
    transition: all .3s;
}
.open .faq__item-question {
    color: #CE152F;
}
.open .faq__item-answer {
    visibility: visible;
    padding-bottom: 24px;
}
.open .faq__item-question-icon {
    transform: rotate(180deg) translateY(-5px);
}
.open .faq__item-question-icon svg path {
    stroke: #ce152f;
}

@media (max-width: 1250px) {
    .about__inner::after,
    .work-process__inner::before {  
        display: none;
    }
    .about__inner-item {
        min-height: unset;
        align-items: center;
    }
    .work-process__item, 
    .about__inner-item {
        align-items: flex-start;
        flex-direction: column;
        position: relative;
    }
    .about__inner-item-number,
    .work-process__item-image {
        margin-right: unset;
        margin-bottom: 40px;
        align-self: flex-start;
    }
    .about__inner-item-info,
    .work-process__item-info {
        position: relative;
        z-index: 2;
    }
    .about__inner-item-number::before,
    .work-process__item-image::before {
        position: absolute;
        content: '';
        width: 120px;
        height: 137px;
        top: -13px;
        left: -13px;
    }
    .about__inner-item-number--first::before,
    .work-process__item-image--first::before {
        background: url(../images/rd-process-circle-red.svg) left center / cover no-repeat;
        left: -12px;
    }
    .about__inner-item-number--second::before,
    .work-process__item-image--second::before {
        background: url(../images/rd-process-circle-yellow.svg) left center / cover no-repeat;
        top: -30px;
        height: 156px;
    }       
    .about__inner-item-number--third::before,
    .work-process__item-image--third::before {
        background: url(../images/rd-process-circle-green.svg) left center / cover no-repeat;
        top: -30px;
        height: 156px;
    }
    .about__inner-item-number--four::before,
    .work-process__item-image--four::before {
        background: url(../images/rd-process-circle-blue.svg) left center / cover no-repeat;
        top: -30px;
        height: 156px;
    }
    .about__inner-item-number--five::before,
    .work-process__item-image--five::before {
        background: url(../images/rd-process-circle-violet.svg) left center / cover no-repeat;
        top: -29px;
        left: -12px;
    }
    .work-process__item-image::before,
    .work-process__item-image--second::before,
    .work-process__item-image--third::before,
    .work-process__item-image--four::before,
    .work-process__item-image--five::before {
        top: 36px;
        left: 36px;
    }
    .work-process__item-image--second::before,
    .work-process__item-image--third::before,
    .work-process__item-image--four::before,
    .work-process__item-image--five::before {
        top: 18px;
    }
    .work-process__item-image--second::before,
    .work-process__item-image--third::before,
    .work-process__item-image--four::before {
        left: 35px;
    }
    .about__inner-item::before,
    .work-process__item::before {
        position: absolute;
        content: '';
        width: 2px;
        height: calc(100% - 123px);
        left: 96px;
        top: 162px;
        z-index: 1;
    }
    .about__inner-item--five::before,
    .work-process__item--five::before {
        display: none;
    }
    .about__inner-item--first::before,
    .work-process__item--first::before  {
        background: linear-gradient(to bottom, rgba(237, 28, 36, 1) 0%, rgba(237, 28, 36, 0.2) 20%, rgba(237, 28, 36, 0.2) 65%, rgba(255, 204, 17, 1) 85%);
        height: calc(100% - 122px);
    }
    .work-process__item--first::before  {
        height: calc(100% - 125px);
        top: 165px;
    }
    .about__inner-item--second::before,
    .work-process__item--second::before  {
         background: linear-gradient(to bottom, rgba(255, 204, 17, 1) 0%, rgba(255, 204, 17, 0.2) 20%, rgba(193, 255, 17, 0.2) 65%, rgba(193, 255, 17, 1) 85%);
         height: calc(100% - 126px);
         top: 165px;
    }
    .about__inner-item--third::before,
    .work-process__item--third::before {
        background: linear-gradient(to bottom, rgba(193, 255, 17, 1) 0%, rgba(193, 255, 17, 0.2) 20%, rgba(193, 255, 17, 0.2) 65%, rgba(28, 99, 237, 1) 85%);
        height: calc(100% - 125px);
        top: 165px;
    }
    .work-process__item--third::before {
        height: calc(100% - 126px);
        top: 165px;
    }
    .about__inner-item--four::before,
    .work-process__item--four::before {
        background: linear-gradient(to bottom, rgba(28, 99, 237, 1) 0%, rgba(28, 99, 237, 0.2) 20%, rgba(28, 99, 237, 0.2) 65%, rgba(93, 0, 212, 1) 85%);
    }
    .about__inner-item--four::before {
        top: 165px;    
    }
}

@media (max-width: 1220px) {
    .custom-technologies__mobile-inner, 
    .custom-technologies__cloud-inner, 
    .custom-technologies__mobile-inner,
    .custom-technologies__desktop-inner {
        grid-template-columns: repeat(3,1fr);
    }
}

@media (max-width: 1050px) {    
    .about__inner-item::before,
    .work-process__item::before {
        height: calc(100% - 123px);
        left: 72px;
        top: 139px;
    }
    .about__inner-item--second::before {
        height: calc(100% - 126px);
        top: 141px;
    }
    .work-process__item--second::before {
        height: calc(100% - 125px);
        top: 141px;
    }
    .about__inner-item--third::before,
    .work-process__item--third::before {
        height: calc(100% - 125px);
        top: 141px;
    }
    .about__inner-item--four::before {
        height: calc(100% - 124px);
        top: 141px;
    }
    .work-process__item--four::before {
        height: calc(100% - 126px);
        top: 142px;
    }
    .work-process__item-image::before, 
    .work-process__item-image--second::before,
    .work-process__item-image--third::before,
    .work-process__item-image--four::before,
    .work-process__item-image--five::before {
        top: 11px;
        left: 11px;
    }
    .work-process__item-image--first::before,
    .work-process__item-image--five::before {
        left: 12px;
    }
    .work-process__item-image--second::before,
    .work-process__item-image--third::before,
    .work-process__item-image--four::before,
    .work-process__item-image--five::before {
        top: -5px;
    }
    .custom-works__inner {
        flex-direction: column-reverse;
    }
    .custom-works__inner-case {
        max-width: unset;
        margin-right: unset;
        margin-top: 48px;
    }
    .custom-works__inner-image {
        align-self: center;
    }
    .custom-works__wrapper .custom-works__title {
        text-align: center;
    }
    .custom-works__link {
        margin: auto;
    }
    .custom-works__rewiew {
        flex-direction: column;
    }
    .custom-works__rewiew-text {
        margin-right: unset;
        margin-bottom: 48px;
    }
    .custom-works__rewiew-text::after {
        width: 16px;
        height: 32px;
        top: unset;
        right: calc(50% - 8px);
        bottom: -24px;
        transform: rotate(90deg);
    }
    .custom-achievements__inner {
        grid-template-columns: repeat(2,1fr);
    }
    .custom-achievements__inner-item:first-child {
        grid-column: 1 / 3;
    }
    .software-advantages__list {
        column-gap: 55px;
    }
    .faq__item-answer {
        padding-right: 60px;
    }   
    .faq__item-question-text {
        padding-right: 30px;
    }
}

@media (max-width: 880px) {
    .custom-partners__inner {
        grid-template-columns: repeat(1,1fr);
    }
    .custom-technologies__web-inner {
        grid-template-columns: repeat(3, 1fr);
    }
    .custom-services__info {
        grid-template-columns: repeat(1, 1fr);
    }
    .custom-services__list-item {
        width: 46%;
    }
}

@media (max-width: 785px) {
    .custom-technologies__desktop-inner .custom-technologies__image:last-child {
        grid-column: 1 / 3;
    }
    .custom-profit__item {
        padding: 24px;
    }
    .custom-technologies__desktop-inner {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 720px) {
    .custom-technologies__mobile-inner, 
    .custom-technologies__cloud-inner, 
    .custom-technologies__mobile-inner {
        grid-template-columns: repeat(2,1fr);
    }
    .software-advantages__list {
        column-count: 1;
        column-gap: unset;
    }
}

@media (max-width: 640px) {
    .about__inner {
        border-radius: unset;
        padding: 24px 12px;
        margin-left: -10px;
        margin-right: -10px;
    }
    .custom-profit__item  {
        align-items: flex-start;
        flex-direction: column;
    }
    .custom-profit__item-image {
        margin-right: unset;
        margin-bottom: 24px;
        width: 120px;
        height: 120px;
    } 
    .custom-profit__item-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .custom-works__rewiew-text {
        padding: 24px;
        padding-bottom: 84px;
        flex-direction: column;
    }
    .custom-works__review-before {
        margin-right: unset;
        margin-bottom: 24px;
    }
    .custom-works__review-after {
        bottom: 24px;
        right: 24px;
    }
    .custom-works__inner-case,
    .custom-works__rewiew-text {
        margin-top: 24px;
    }
    .custom-works__wrapper {
        padding-top: 24px;
        padding-bottom: 36px;
    }
    .custom-technologies__web-inner {
        grid-template-columns: repeat(2, 1fr);
    }
    .custom-technologies__image {
        padding: 36px 24px;
    }
    .custom-achievements__inner {
        grid-template-columns: repeat(1,1fr);
    }
    .custom-achievements__inner-item:first-child {
        grid-column: 1 / 2;
    }
    .custom-achievements__inner-item {
        padding: 18px 36px 24px;
    }
    .custom-profit__item + .custom-profit__item {
        margin-top: 12px;
    }
    .faq__item-question {
        padding: 30px;
    }
    .faq__item-answer {
        padding-left: 30px;
        padding-right: 30px;
    }   
}

@media (max-width: 590px) {
    .work-process__inner {
        border-radius: unset;
        padding: 12px;
        margin-left: -10px;
        margin-right: -10px;
    }
    .custom-services__list-item {
        width: 100%;
    }
    .custom-technologies__desktop-inner .custom-technologies__image {
        padding: 36px 6px;
    }
}

@media (max-width: 480px) {
    .custom-works__rewiew-text {
        font-size: 16px;
        margin-bottom: 24px;
    }
}

@media (max-width: 420px) {
    .custom-technologies__name {
        font-size: 18px;
        text-align: center;
    }
    .custom-achievements__inner-item {
        padding: 18px 24px 24px;
    }
}

@media (max-width: 370px) {
    .custom-technologies__image {
        padding: 36px 6px;
    }
    .custom-achievements__inner-number {
        font-size: 100px;
    }
}

@media (max-height: 800px) and (orientation: landscape) {
    .work-process__inner::before,
    .about__inner::after {  
        display: none;
    }
    .about__inner-item {
        min-height: unset;
        align-items: center;
    }
}