/*****************************************************/

/* hero banner */
.hero_banner {
    height: var(--target-height);
    position: relative;

    --init-height: max(100vh, 800px);
    --target-height: 420px;

    --image-show-size: 243px;
    --image-show-position-y: 240px;
    --image-show-position-x: calc(50vw - calc(var(--image-show-size) / 2));
}

.hero_banner-wrap {
    position: absolute;
    width: 100%;
    height: var(--init-height);
    max-height: var(--init-height);
    transition: max-height 0.8s;
    transition-timing-function: cubic-bezier(0, 0, 0.18, 1);
    overflow: hidden;
}
.hero_banner.start-animate .hero_banner-wrap {
    max-height: var(--target-height);
}
.hero_banner-wrap {
    background: url(/wp-content/uploads/sdfsdf-1.jpg) center center;
    background-size: cover;
}
.hero_banner .image_show {
    position: absolute;
    width: var(--image-show-size);
    height: var(--image-show-size);
    top: var(--image-show-position-y);
    /*left: var(--image-show-position-x);*/
    left: 0;
    right: 0;
    margin: auto;
    overflow: hidden;
    z-index: 20;
}
.hero_banner .image_show > div {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}
.hero_banner .theme_img_shape {
    --image_shape_side_distance: 50px;
    --image_shape_size: 343px;
    z-index: 30;

    width: var(--image_shape_size);
    height: var(--image_shape_size);
    position: absolute;
    top: calc(var(--image-show-position-y) - var(--image_shape_side_distance));
    left: 0;
    right: 0;
}
.hero_banner .theme_img_shape svg {
    width: var(--image_shape_size);
    height: var(--image_shape_size);
    fill: var(--theme-blue);
    transform: scale(0.7);
    transition: transform 1.5s;
    transition-timing-function: cubic-bezier(0.13, 0.48, 0.2, 1);
}
.hero_banner.start-animate .theme_img_shape svg {
    transform: rotate(-90deg) scale(1);
}
@media (max-width: 767px) {
    .hero_banner {
        --init-height: 320px;
        --target-height: 138px;

        --image-show-size: 164px;
        --image-show-position-y: 65px;
    }
    .hero_banner .theme_img_shape {
        --image_shape_side_distance: 33px;
        --image_shape_size: 230px;
    }
}

/* solutions section */
.solutions {
    padding-top: 11.5rem; /* 184px */
    padding-bottom: 6rem; /* 96px */
}
#solutions_title {
    max-width: 395px;
    margin-bottom: 86px;
}
.solutions_item .theme_content_box-description {
    min-height: 90px;
}
.solutions_item:nth-child(1) .theme_img_shape svg {
    fill: var(--theme-purple);
}
.solutions_item:nth-child(2) .theme_img_shape svg {
    fill: var(--theme-green);
}
.solutions_item:nth-child(3) .theme_img_shape svg {
    fill: var(--theme-blue);
}
@media (min-width: 900px) {
    .solutions {
        background: url("../svg/side_decoration.svg") no-repeat top right;
        position: relative;
        z-index: 10;
    }
    .solutions_items {
        display: grid;
        grid-template-columns: repeat(3, 231px);
        grid-row-gap: 5em;
        justify-content: space-between;
    }
}
@media (max-width: 899px) {
}
@media (max-width: 767px) {
    .solutions {
        padding-bottom: 48px;
    }
    #solutions_title {
        max-width: 259px;
        margin-bottom: 75px;
    }
    .solutions_item {
        max-width: 231px;
        margin: auto;
    }
    .solutions_item .theme_content_box-title,
    .solutions_item .theme_content_box-description {
        padding-right: 10px;
    }
    .solutions .slider-indicators {
        margin-top: 70px;
    }
}

/* what we do section */
.what_we_do {
    padding-top: 6.25em; /* 100px */
}
#what_we_do-title {
    max-width: 26rem;
    margin-bottom: 11rem; /* 176px */
}
.what_we_do-item {
    min-height: 428px;
    position: relative;
}
.what_we_do-item:before {
    content: "";
    position: absolute;
    left: 0;
    z-index: -1;
    width: min(30%, 425px);
    aspect-ratio: auto 425 / 613;
    background: url("../svg/side_decoration_2.svg") no-repeat;
    background-size: contain;
    bottom: 10%;
}
.what_we_do-item:nth-child(even):before {
    left: auto;
    right: 0;
    transform: scaleX(-1);
}
.what_we_do-item-index {
    color: var(--theme-grey);
}
@media (min-width: 1441px) {
    .what_we_do-item-container .img_wrap {
        --item-container-width: 1440px;
        --item-container-empty-side-width: calc(calc(100vw - var(--item-container-width)) / 2);

        position: relative;
        left: calc(var(--item-container-empty-side-width) * -1);
    }

    .what_we_do-item:nth-child(even) .what_we_do-item-container .img_wrap {
        left: auto;
        right: calc(var(--item-container-empty-side-width) * -1);
    }
}
@media (min-width: 900px) {
    .what_we_do-item-title {
        max-width: 12em;
    }
    .what_we_do-item p {
        padding-left: calc(2.25rem + 1px + 2.25rem + 19px);
        max-width: 31em;
    }
}
@media (min-width: 768px) {
    .what_we_do-item-container {
        max-width: 1440px;
        display: grid;
        grid-template-columns: auto 55%;
    }
    .what_we_do-item:nth-child(odd) .what_we_do-item-container {
        grid-template-columns: 55% auto;
    }
    .what_we_do-item:nth-child(odd) .what_we_do-item-container .img_wrap {
        order: -1;
    }

    .what_we_do-item-head {
        display: flex;
        align-items: end;
        margin-bottom: 2.75rem; /* 44px */
    }
    .what_we_do-item-index {
        padding-right: 2.25rem; /* 36px */
        border-right: 1px solid var(--theme-blue-2);
        min-height: 200px;
        min-width: 19px;
    }
    .what_we_do-item-title {
        padding-left: 2.25rem; /* 36px */
    }
}
@media (max-width: 767px) {
    .what_we_do {
        padding: 70px 0 60px;
    }
    #what_we_do-title {
        max-width: 243px;
        margin-bottom: 95px;
    }
    .what_we_do-item:not(:last-child) {
        margin-bottom: 86px;
    }
    .what_we_do-item-head {
        padding-left: 30px;
        border-left: 1px solid var(--theme-blue-2);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 126px;
        max-width: 271px;
        margin-bottom: 46px;
    }
    .what_we_do-item p {
        font-size: 0.875em;
        font-weight: 300;
        margin-bottom: 138px;
    }
    .what_we_do-item:before {
        width: 65%;
        bottom: 0;
    }
}

/* join banner */
@media (max-width: 767px) {
    #join_banner-title {
        max-width: 280px;
    }
}

/* trusted by section */
.trusted_by {
    padding: 5.375rem 0 6rem; /* 86px 96px */
}
#trusted_by-title {
    max-width: 32rem;
    margin-bottom: 7.625rem;
}
.trusted_by-gallery {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    /*grid-column-gap: 22.4%;*/
    grid-column-gap: 11.5%;
    grid-row-gap: 7.5rem;
    text-align: center;
}
.trusted_by-item img {
    width: auto;
    height: auto;
    max-height: 100px;
    max-width: 200px;
}
@media (max-width: 767px) {
    .trusted_by {
        padding: 64px 0 88px;
    }
    #trusted_by-title {
        max-width: 242px;
        margin-bottom: 90px;
    }
    .trusted_by-gallery {
        display: grid;
        grid-row-gap: 48px;
    }
}

/* technology section */
#technology-title {
    max-width: 6.8em;
    margin-bottom: 5.625rem;
}
.technology-items {
    display: grid;
}

.theme_content_box-title {
    color: #1F2845;
}
.technology-item .theme_content_box-title {
    max-width: 187px;
}
.technology-item .theme_content_box-description {
    font-size: 1em;
}
@media (min-width: 768px) {
    .technology {
        padding: 5.625rem 0 10.625rem;
        background: url("../svg/side_decoration_4.svg") no-repeat bottom -5px left 50px;
    }
    .technology-items {
        grid-template-columns: repeat(2, 39.5%);
        justify-content: space-between;
    }
}
@media (max-width: 767px) {
    .technology {
        padding: 52px 0 84px;
    }
    #technology-title {
        margin-bottom: 53px;
    }
    .technology-items {
        grid-gap: 64px;
    }
}

/* focusing section */
.focusing-header p {
    max-width: 489px;
    font-weight: 300;
    line-height: 1.4em;
    color: var(--theme-black);
}
.focusing-item .theme_content_box-index {
    margin-top: 0;
}
.focusing-item .theme_content_box-description {
    font-size: 1em;
    margin-bottom: 0;
    overflow: hidden;
    max-width: 220px;
}
.focusing-gallery {
    --image-shape-size: min(343px, calc(100vw - calc(var(--theme-container-padding) * 2)));
    --image-size: 245px;

    position: relative;
}
.focusing-gallery-slider.swiffy-slider {
    width: var(--image-size) !important;
    height: var(--image-size);
    margin: auto;
}
.focusing-gallery .theme_img_shape {
    position: absolute;
    width: var(--image-shape-size);
    height: var(--image-shape-size);
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.focusing-gallery .theme_img_shape svg {
    width: 100%;
    height: 100%;
    transition: transform 0.5s;
    transition-timing-function: cubic-bezier(0.18, 0.89, 0.32, 1.1);
}
.focusing-gallery .theme_img_shape[data-index="0"] svg {
    fill: var(--theme-blue);
    transform: rotate(0deg);
}
.focusing-gallery .theme_img_shape[data-index="1"] svg {
    fill: var(--theme-green);
    transform: rotate(90deg);
}
.focusing-gallery .theme_img_shape[data-index="2"] svg {
    fill: var(--theme-purple);
    transform: rotate(180deg);
}
.focusing-gallery .theme_img_shape[data-index="3"] svg {
    fill: var(--theme-blue);
    transform: rotate(270deg);
}
.focusing-gallery .theme_img_shape[data-index="4"] svg {
    fill: var(--theme-green);
    transform: rotate(360deg);
}
.focusing-gallery .theme_img_shape[data-index="5"] svg {
    fill: var(--theme-purple);
    transform: rotate(450deg);
}
@media (min-width: 768px) {
    .focusing {
        padding: 6.75rem 0 9.125rem; /* 108px 146px */
    }
    .focusing-header {
        display: flex;
        flex-direction: column;
        margin-bottom: 87px;
        gap: 43px;
    }
    #focusing-title {
        max-width: 534px;
    }
    .focusing-items {
        display: grid;
        align-items: center;
        grid-template-columns: 220px auto 240px;
        gap: 4em;
    }
    .focusing-item:not(:last-child) {
        margin-bottom: 46px;
    }
    .focusing-item .theme_content_box-index,
    .focusing-item .theme_content_box-title {
        transition: color 0.3s ease-in-out;
    }
    .focusing-item:not(.active) .theme_content_box-title:after {
        transition: background-color 0.3s ease-in-out;
    }
    .focusing-item:not(.active) .theme_content_box-index,
    .focusing-item:not(.active) .theme_content_box-title {
        color: var(--theme-grey-400);
    }
    .focusing-item:not(.active) .theme_content_box-title:after {
        background-color: var(--theme-grey-800);
    }
    .focusing-items.js-initialized .focusing-item .theme_content_box-description {
        max-height: 0;
        transition: max-height 0.3s ease-in-out;
    }
    .focusing-items.js-initialized .focusing-item.active .theme_content_box-description {
        max-height: var(--js-description-height);
    }
}
@media (max-width: 767px) {
    .focusing {
        padding: 57px 0 100px;
    }
    .focusing-header {
        max-width: 303px;
        margin-bottom: 55px;
    }
    #focusing-title {
        margin-bottom: 48px;
    }
    .focusing-items .wrap:last-child {
        display: none;
    }
    .focusing-item {
        max-width: 239px;
        margin: auto;
    }
    .focusing-items .slider-indicators {
        margin-top: 50px;
    }
    .focusing-gallery {
        margin-top: 113px;
    }
}

/* vision banner */
.vision_banner .container {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
}
.vision_banner h3 {
    max-width: 610px;
	font-weight: 500;
}
@media (max-width: 767px) {
    .vision_banner h3 {
        font-size: 1.5em;
        /*max-width: 240px;*/
    }
}

/* testimonials section */
.testimonials {
    padding: 109px 0 157px;
}

/* tweets section */
.tweet-item {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    min-height: 467px;
    padding: 44px;
}
.tweet-item:before {
    content: "";
    width: 24px;
    height: 24px;
    background: url("../svg/twitter-blue.svg") no-repeat center;
    background-size: cover;
    display: block;
    margin-bottom: 36px;
}
.tweet-item-head {
    display: flex;
    gap: 22px;
}
.tweet-item-head img {
    width: 73px;
    height: 73px;
    object-fit: cover;
}
.tweet-item-head .title {
    max-width: calc(100% - 73px - 22px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.4em;
}
.tweet-item-head .title .name {
    font-weight: bold;
}
.tweet-item-head .title .tag_name {
    color: var(--theme-grey-700);
}
.tweet-item-content {
    margin: 24px 0;
    color: #000;
}
.tweet-item-meta {
    margin-top: auto;
}
.tweet-item-meta .date {
    display: block;
    color: var(--theme-grey-700);
}
.tweet-item-meta a {
    display: inline-block;
    font-weight: 500;
    color: var(--theme-blue);
    text-decoration: none;
    margin-top: 1em;
}
.tweet-item-meta a:hover {
    color: var(--theme-blue-2);
}
@media (min-width: 768px) {
    .tweets {
        padding: 110px 0 157px;
    }
    #tweets-title {
        max-width: 453px;
        margin-bottom: 109px;
    }
    .tweets-items {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1em;
    }
}
@media (max-width: 767px) {
    .tweets {
        padding: 90px 0 58px;
    }
    #tweets-title {
        margin-bottom: 87px;
    }
}
