/* -----------------------Artificial Intelligence development services------------------  */ 
.main-artificial .top-image {
	display: flex;
	width: 96px;
	height: 96px;
	padding: 12px 16px 12px 15px;
	justify-content: center;
	align-items: center;
}
.custom-info__link {
    background-color: var(--add-text-bg-color);
    color: var(--main-text-color);
    border-color: transparent;
}
.custom-info__link:hover,
.custom-info__link:focus,
.custom-info__link:active {
    color: var(--add-text-bg-color);
    background-color: var(--main-text-color);
}
.artificial-business__item-number {
    color: var(--add-text-bg-color);
}
.artificial-services__item {
    display: flex;
    padding: 48px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    border-radius: 16px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.artificial-services__item--ecommerce {
    background-image: url(../images/rd-ai-services-img-1.webp);
}
.artificial-services__item--healthcare {
    background-image: url(../images/rd-ai-services-img-2.webp);
}
.artificial-services__item--automation {
    background-image: url(../images/rd-ai-services-img-3.webp);
}
.artificial-services__item--fintech {
    background-image: url(../images/rd-ai-services-img-4.webp);
}
.artificial-services__item--transportation {
    background-image: url(../images/rd-ai-services-img-5.webp);
}
.artificial-services__item--hospitality {
    background-image: url(../images/rd-ai-services-img-6.webp);
}
.artificial-services__item--construction {
    background-image: url(../images/rd-ai-services-img-7.webp);
}
.artificial-services__item--education {
    background-image: url(../images/rd-ai-services-img-8.webp);
}
.artificial-services__item--intelligence {
    background-image: url(../images/rd-ai-services-img-9.webp);
}
.artificial-details__inner {
    background-color: rgba(255,255,255,0.04);
}
.artificial-details__item + .artificial-details__item {
    margin-top: 12px;
}
.artificial-details__item {
    gap: 48px;
    border-radius: unset;
    position: relative;
}
.artificial-details__item--first {
    border-radius: 16px 16px 0 0;
}
.artificial-details__item--five {
    border-radius: 0 0 16px 16px;
}
.artificial-details__item::after {
    position: absolute;
    content: '';
    width: 2px;
    height: calc(100% - 126px);
    left: 96px;
    top: 165px;
    z-index: 1;
}
.artificial-details__item--first::after {
    background: linear-gradient(to bottom, rgba(237, 28, 36, 1) 0%, rgba(255, 204, 17, 0.6) 35%, rgba(255, 204, 17, 0.6) 65%, rgba(255, 204, 17, 1) 85%);
    height: calc(100% - 124px);
    top: 163px;
}
.artificial-details__item--second::after {
    background: linear-gradient(to bottom, rgba(255, 204, 17, 1) 0%, rgba(255, 204, 17, 0.6) 20%, rgba(255, 204, 17, 0.6) 65%, rgba(193, 255, 17, 1) 85%);
    height: calc(100% - 123px);
    top: 163px;
}
.artificial-details__item--third::after {
    background: linear-gradient(to bottom, rgba(193, 255, 17, 1) 0%, rgba(193, 255, 17, 0.6) 35%, rgba(28, 99, 237, 0.6) 65%, rgba(28, 99, 237, 1) 85%);
    height: calc(100% - 124px);
    top: 163px;
}
.artificial-details__item--four::after {
    background: linear-gradient(to bottom, rgba(28, 99, 237, 1) 0%, rgba(28, 99, 237, 0.6) 35%, rgba(93, 0, 212, 0.6) 65%, rgba(93, 0, 212, 1) 85%);
    height: calc(100% - 122px);
    top: 162px;
}
.artificial-details__item-image {
    width: 96px;
    height: 96px;
    position: relative;
    flex-shrink: 0;
}
.artificial-details__item-image::before {
    position: absolute;
    content: '';
    width: 120px;
    height: 137px;
    top: -13px;
    left: -13px;
}
.artificial-details__item-image--first::before {
    background: url(../images/rd-process-circle-red.svg) left center / cover no-repeat;
    left: -12px;
}
.artificial-details__item-image--second::before {
    background: url(../images/rd-yellow-half-circle.svg) left center / cover no-repeat;
    left: -10px;
    top: -22px;
}
.artificial-details__item-image--third::before {
    background: url(../images/rd-process-circle-green-ai.svg) left center / cover no-repeat;
    left: -12px;
    top: -21px;
}
.artificial-details__item-image--four::before {
    background: url(../images/rd-process-circle-blue-ai.svg) left center / cover no-repeat;
    left: -10px;
    top: -22px;
}
.artificial-details__item-image--five::before {
    background: url(../images/rd-process-circle-violet.svg) left center / cover no-repeat;
    left: -12px;
    top: -28px;
}

.main-artificial .blogposts__items {
    margin-bottom: unset;
}

@media (max-width: 1050px) {
    .artificial-services__item {
        padding: 24px;
    }
    .artificial-details__item::after {
        left: 72px;
        top: 139px;
    }
}

@media (max-width: 785px) {
    .artificial-details__item {
        gap: 40px;
        flex-direction: column;
    }
    .artificial-details__item-info {
        position: relative;
        z-index: 2;
    }
    .artificial-details__item--first::after {
        background: linear-gradient(to bottom, rgba(237, 28, 36, 1) 0%, rgba(255, 204, 17, 0.2) 35%, rgba(255, 204, 17, 0.2) 65%, rgba(255, 204, 17, 1) 85%);
    }
    .artificial-details__item--second::after {
        background: linear-gradient(to bottom, rgba(255, 204, 17, 1) 0%, rgba(255, 204, 17, 0.2) 20%, rgba(255, 204, 17, 0.2) 65%, rgba(193, 255, 17, 1) 85%);
        height: calc(100% - 122px);
        top: 138px;
    }
    .artificial-details__item--third::after {
        background: linear-gradient(to bottom, rgba(193, 255, 17, 1) 0%, rgba(193, 255, 17, 0.2) 35%, rgba(28, 99, 237, 0.2) 65%, rgba(28, 99, 237, 1) 85%);
    }
    .artificial-details__item--four::after {
        background: linear-gradient(to bottom, rgba(28, 99, 237, 1) 0%, rgba(28, 99, 237, 0.2) 35%, rgba(93, 0, 212, 0.2) 65%, rgba(93, 0, 212, 1) 85%);
        height: calc(100% - 122px);
        top: 138px;
    }
    .artificial-details__item-image--second::before,
    .artificial-details__item-image--four::before {
    	transform: rotate(180deg);
        left: -12px;
    }
}

@media (max-width: 640px) {
    .artificial-details__inner {
        margin-left: -10px;
        margin-right: -10px;
        border-radius: unset;
        padding: 24px 12px;
    }
    .main-artificial .top-image {
    	display: none;
    }
    .main-artificial .custom-info__subtitle {
    	margin-bottom: 48px;
    }
}

@media (max-height: 800px) and (orientation: landscape) {
    .artificial-details__item::after {
        left: 72px;
        top: 139px;
    }
}