﻿.home-page-content {
    background-color: white;
}

.video-section {
    position: relative;
    height: 800px; /* фиксированная высота */
    overflow: hidden;
    background-color: #000;
}

    .video-section video {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        transform: translate(-50%, -50%);
        object-fit: cover;
        z-index: 0;
    }

.content-overlay {
    position: relative;
    z-index: 1;
    color: white;
    display: flex;
    align-items: center;
    padding: 0 var(--padding-xm);
    height: 100%;
}

.main-title {
    font-size: 28px;
    line-height: 2.625rem;
    font-weight: bold;
    max-width: 350px;
    z-index: 2;
}

#canvas-container {
    position: absolute;
    left: 0;
}

#tags {
    display: none;
}

@media (min-width: 768px) {
    .video-section {
        height: 992px;
    }

    .main-title {
        font-size: 48px;
        line-height: 60px;
        max-width: 600px;
    }

    .content-overlay {
        padding: 0 var(--padding-sm);
    }
}

@media (min-width: 992px) {
    .video-section {
        height: 768px;
    }
}

@media (min-width: 1230px) {
    .video-section {
        height: 800px;
    }
}

@media (min-width: 1400px) {
    .video-section {
        height: 900px;
    }

    .main-title {
        font-size: 68px;
        line-height: 88px;
        max-width: 860px;
    }

    .content-overlay {
        padding: 0 var(--padding-md);
    }
}

@media (min-width: 1920px) {
    .video-section {
        height: 940px;
    }

    .content-overlay {
        padding: 0 var(--padding-xl);
    }
}

/*SECTIONS*/
.home-section {
    padding: 64px var(--padding-xm);
}

.cae-dots-wrapper {
    margin-bottom: 1rem;
}

.dark-section {
    color: white;
}

.purple-section {
    background-color: var(--bg-theme-light-color);
}

.home-section h2 {
    font-size: 28px;
    line-height: 42px;
    text-align: center;
    margin-bottom: 0;
    font-weight: bold;
}

.home-section h3 {
    font-size: 28px;
    line-height: 42px;
    margin-bottom: 0;
    font-weight: bold;
    margin-bottom: 1rem;
}

.home-section p {
    font-size: 18px;
    line-height: 30px;
    padding-bottom: 64px;
    margin-bottom: 0;
}

.home-section.dark-section p {
    color: var(--white-tran-text-color);
}

.home-section h4 {
    font-size: 28px;
    line-height: 42px;
    margin-bottom: 0;
    font-weight: bold;
    margin-bottom: 2rem;
    color: var(--white-tran-text-color);
}

.home-section .section-partition:not(:last-child) {
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .home-section {
        padding: 100px var(--padding-sm);
    }

        .home-section h2 {
            font-size: 32px;
            line-height: 50px;
        }

        .home-section h3 {
            font-size: 38px;
            line-height: 42px;
        }

        .home-section h4 {
            font-size: 38px;
            line-height: 42px;
        }
}

@media (min-width: 1400px) {
    .home-section {
        padding: 120px var(--padding-md) 160px var(--padding-md)
    }

        .home-section p {
            padding-bottom: 80px;
        }

        .home-section h4 {
            margin-bottom: 40px;
        }

        .home-section .section-partition:not(:last-child) {
            margin-bottom: 80px;
        }
}

@media (min-width: 1920px) {
    .home-section {
        padding: 120px var(--padding-xl) 160px var(--padding-xl)
    }
}

/*SECTION CARD*/
.section-card {
    border-radius: 12px;
    padding: 2rem;
}

    .section-card.blue-card {
        background-color: #00b1eb59;
    }

    .section-card.purple-card {
        background-color: #945FA459;
    }

    .section-card.green-card {
        background-color: #92C35659;
    }

    .section-card .section-card-title {
        font-size: 24px;
        line-height: 30px;
        font-weight: bold;
        margin-bottom: 24px;
    }

    .section-card .section-card-details {
        font-size: 14px;
        line-height: 22px;
        margin-bottom: 2rem;
    }

    .section-card .section-card-img {
        display: flex;
        justify-content: center;
        gap: 14px;
    }

        .section-card .section-card-img .card-img {
            width: 240px;
            height: 240px;
        }

.section-card-img-wrapper {
    perspective: 600px;
}

@media (max-width: 1229px) {
    .section-card:not(:last-child) {
        margin-bottom: 2rem;
    }
}

@media (min-width: 768px) and (max-width: 1229px) {
    .section-card {
        display: flex;
        gap: 2rem;
        justify-content: space-between;
    }

        .section-card .section-card-details {
            margin-bottom: 0;
        }
}

@media (min-width: 768px) {
    .section-card .section-card-details {
        font-size: 16px;
        line-height: 26px;
    }
}

@media (min-width: 1230px) {
    .section-card {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 2rem 2rem 40px;
    }

        .section-card .section-card-details {
            margin-bottom: 45px;
        }

        .section-card .section-card-img .card-img {
            width: 280px;
            height: 280px;
        }
}

@media (min-width: 1400px) {
    .section-card {
        padding: 2rem 2rem 60px;
    }

        .section-card .section-card-details {
            margin-bottom: 52px;
        }
}

/*DEV-CENTER*/
.dev-center-section .cae-dots-wrapper {
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) {
    .dev-center-section h2 {
        max-width: 600px;
        margin: auto;
    }
}

@media (min-width: 1230px) {
    .dev-center-section h2 {
        max-width: 876px;
    }
}

/*WHAT WE DO*/
.what-we-do-section {
    background-image: url(/images/what-we-do-bg.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-card-img.mobile-img img {
    height: 240px;
    width: 113px;
}

@media (min-width: 768px) {
    .what-we-do-section {
        background-image: url(/images/what-we-do-bg-768.webp);
    }
}

@media (min-width: 992px) {
    .what-we-do-section {
        background-image: url(/images/what-we-do-bg-992.webp);
    }
}

@media (min-width: 1230px) {
    .what-we-do-section {
        background-image: url(/images/what-we-do-bg-1230.webp);
    }

    .section-cards-wrapper.web-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .section-cards-wrapper.ai-ml-wrapper {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .what-we-do-desc {
        max-width: 771px;
    }

    .section-card-img.mobile-img img {
        height: 280px;
        width: 132px;
    }
}

@media (min-width: 1400px) {
    .what-we-do-section {
        background-image: url(/images/what-we-do-bg-1400.webp);
    }

    .what-we-do-desc {
        max-width: 610px;
    }
}

@media (min-width: 1920px) {
    .what-we-do-section {
        background-image: url(/images/what-we-do-bg-1920.webp);
    }
}

/*TECHNOLOGIES*/
.technologies-list ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    cursor: default;
}

    .technologies-list ul.technologies {
        font-size: 20px;
        color: var(--black-tran-text-color);
        line-height: 3rem;
        font-weight: bold;
    }

    .technologies-list ul.technologies-img {
        gap: 20px;
        margin-bottom: 0;
    }

        .technologies-list ul.technologies-img li img {
            height: 40px;
            width: 40px;
            opacity: 0.35;
            transition: opacity .15s ease-in-out;
        }

            .technologies-list ul.technologies-img li img.active {
                opacity: 1;
            }

.tech-item {
    color: var(--black-tran-text-color);
    transition: color 0.15s ease;
}

body:not(.touch-screen-device) .tech-item:hover,
body:not(.touch-screen-device) .tech-item.active {
    color: var(--text-hover-color);
}

.technologies-list ul.technologies-img li img:hover,
body.touch-screen-device .technologies-list ul.technologies-img li img {
    opacity: 1;
}

@media (min-width: 768px) {
    .technologies-list ul.technologies {
        font-size: 28px;
        line-height: 56px;
    }

    .technologies-list ul.technologies-img {
        gap: 30px;
    }

        .technologies-list ul.technologies-img li img {
            height: 50px;
            width: 50px;
        }
}

@media (max-width: 1229px) {
    .technologies-list ul {
        margin: 0 0 64px 0;
    }
}

@media (min-width: 1230px) {
    .technologies-list {
        display: grid;
        grid-template-columns: auto 38.5%;
        align-items: start;
        gap: 45px;
    }

    .technologies-img {
        min-width: 450px;
    }
}

@media (min-width: 1400px) {
    .technologies-list {
        grid-template-columns: auto 35.5%;
    }
}

@media (min-width: 1920px) {
    .technologies-list {
        grid-template-columns: auto 33.5%;
    }
}

/*NUMBERS*/
.numbers-section {
    background-image: url(/images/numbers-bg.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.numbers-block:not(:last-child) {
    margin-bottom: 64px;
}

.numbers-title {
    margin-bottom: 64px !important;
}

.number-block-value {
    font-size: 58px;
    font-weight: bold;
    line-height: 71px;
    width: 332px;
    border-bottom: 1px solid #ffffff4d;
    padding: 0 0 11px 0;
}

.number-block-desc {
    font-size: 18px;
    line-height: 30px;
    margin-top: 14px;
}

.numbers-img {
    display: none;
    background-image: url(/images/colleagues.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (min-width: 768px) {
    .numbers-section {
        background-image: url(/images/numbers-bg-768.webp);
    }

    .numbers-blocks {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    .numbers-block:not(:last-child) {
        margin-bottom: 0;
    }

    .number-block-value {
        width: unset;
    }
}

@media (min-width: 992px) {
    .numbers-section {
        background-image: url(/images/numbers-bg-992.webp);
    }
}

@media (min-width: 1230px) {
    .numbers-section {
        background-image: url(/images/numbers-bg-1230.webp);
    }

    .numbers-blocks {
        grid-template-columns: repeat(3, 1fr);
        gap: 99px;
        margin-right: 99px;
    }

    .number-block-desc {
        margin-top: 18px;
    }

    .number-block-value {
        padding: 0 0 16px 0;
    }

    .numbers-title {
        margin-bottom: 80px !important;
        padding-right: 30%;
    }

    .numbers-section-wrapper {
        display: grid;
        grid-template-columns: auto 23.67%;
    }

    .numbers-img {
        display: block;
        background-position-x: -33px;
        height: 320px;
    }
}

@media (min-width: 1400px) {
    .numbers-section {
        background-image: url(/images/numbers-bg-1400.webp);
        padding: 120px var(--padding-md);
    }

    .numbers-section-wrapper {
        grid-template-columns: auto 23.79%;
    }

    .numbers-blocks {
        gap: 105px;
        margin-right: 105px;
        margin-top: auto;
        margin-bottom: 40px;
    }

    .numbers-img {
        height: 360px;
        background-position-x: -36.5px;
    }

    .numbers-container {
        display: flex;
        flex-direction: column;
    }

    .numbers-container .cae-dots-wrapper {
        margin-top: 36px;
    }
}

@media (min-width: 1920px) {
    .numbers-section {
        background-image: url(/images/numbers-bg-1920.webp);
        padding: 120px var(--padding-xl);
    }

    .numbers-block {
        max-width: 270px;
    }

    .numbers-img {
        background-position-x: center;
    }
}

/*UNIQUE TEAM*/
.unique-team-section {
    overflow-x: hidden;
}

.unique-team-details {
    padding-bottom: 1rem !important;
}

.team-gallery-container {
    height: 496px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.team-gallery-wrapper {
    height: 100%;
    width: 100%;
    z-index: 1;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

    .team-gallery-wrapper::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }

.team-gallery {
    height: 100%;
    display: flex;
    width: 1408px;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    overflow: hidden;
}

    .team-gallery .item {
        height: 240px;
        width: 192px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

        .team-gallery .item.work-hard {
            width: 240px;
        }

    .team-gallery .wide {
        width: 448px;
    }

.team-gallery-1 {
    background-image: url(/images/team-gallery-1.webp);
}

.team-gallery-2 {
    background-image: url(/images/team-gallery-2.webp);
}

.team-gallery-3 {
    background-image: url(/images/team-gallery-3.webp);
}

.team-gallery-4 {
    background-image: url(/images/team-gallery-4.webp);
}

.team-gallery-5 {
    background-image: url(/images/team-gallery-5.webp);
}

.team-gallery-6 {
    background-image: url(/images/team-gallery-6.webp);
}

.work-hard {
    border-radius: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 1rem;
    text-align: center;
    color: white;
    font-size: 14px;
    align-self: center;
}

.ellipses {
    width: 594px;
    height: 383px;
    position: absolute;
    right: -29px;
    top: calc(-50% + 21px);
}

.ellipse {
    width: 100%;
    height: 100%;
    border: 2px solid;
    border-radius: 50%;
    position: absolute;
}

    .ellipse.green-theme {
        border-color: #92C356;
        transform: rotateZ(-17deg);
    }

    .ellipse.purple-theme {
        border-color: #945FA4;
        transform: rotateZ(-43deg);
    }

@media (max-width: 767px) {
    .team-gallery .team-gallery-1,
    .team-gallery .team-gallery-2,
    .team-gallery .team-gallery-3,
    .team-gallery .team-gallery-4 {
        margin-right: 16px;
    }
}

@media (min-width: 768px) {
    .unique-team-details {
        padding-bottom: 64px !important;
    }

    .team-gallery-container {
        height: 370px;
        width: calc(100% + var(--padding-sm) * 2);
        margin: 0 calc(var(--padding-sm) * -1);
    }

    .team-gallery {
        width: 3760px;
        flex-wrap: nowrap;
        gap: 20px;
    }

        .team-gallery .item {
            height: 370px;
            width: 320px;
        }

    .work-hard {
        border-radius: 185px;
        font-size: 18px;
        padding-top: 138px;
        padding-bottom: 120px;
    }

        .work-hard > div {
            max-width: 250px;
        }

    .team-gallery .item.work-hard {
        width: 370px;
    }

    .team-gallery .wide {
        width: 640px;
    }

    .item.work-hard.green-theme-bg {
        display: none;
    }

    .team-gallery .item.team-gallery-1 {
        order: 0;
    }

    .item.work-hard.blue-theme-bg {
        order: 1;
    }

    .team-gallery .item.team-gallery-2 {
        order: 2;
    }

    .team-gallery .item.team-gallery-3 {
        order: 3;
    }

    .team-gallery .item.team-gallery-4 {
        order: 4;
    }

    .item.work-hard.purple-theme-bg {
        order: 5;
    }

    .team-gallery .item.team-gallery-5 {
        order: 6;
    }

    .team-gallery .item.team-gallery-6 {
        order: 7;
    }
}

@media (min-width: 1230px) {
    .unique-team-details {
        max-width: 772px;
    }
}

@media (min-width: 1400px) {
    .team-gallery-container {
        width: calc(100% + var(--padding-md) * 2);
        margin: 0 calc(var(--padding-md) * -1);
    }
}

@media (max-width: 1919px) {
    .ellipses {
        display: none;
    }
}

@media (min-width: 1920px) {
    .team-gallery-container {
        width: calc(100% + var(--padding-xl) * 2);
        margin: 0 calc(var(--padding-xl) * -1);
    }
}

/*BENEFITS*/
