@import "../components/header.css";
@import "../components/footer.css";
@import "../components/our-service.css";
@import "../components/conact-us.css";
@import "../components/statistic.css";
@import "../components/animationns.css";

body {
    overflow-x: hidden;
    position: relative;
}

.head-block {
    position: relative;
    padding: 240px 0 160px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    perspective: 500px;
    perspective-origin: center center;
}

.head-block:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    height: 190px;
    background: linear-gradient(transparent 0%, var(--bg-body) 100%);
    z-index: 10;
}

.head-block__smoke {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    opacity: 1;
    background-color: transparent;
}

.head-block__title {
    font-size: 90px;
    color: var(--text-white);
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.head-block__text {
    color: var(--text-gray);
    font-size: 24px;
    max-width: 930px;
    text-align: center;
    line-height: 140%;
    margin-bottom: 40px;

    position: relative;
    overflow: hidden;
}

.head-block__buttons {
    display: flex;
    gap: 20px;
}

.head-block__title--animated {
    height: 100px;
    font-size: 90px;
    position: relative;
    margin-bottom: 50px;
    text-align: center;

    transform-style: preserve-3d;
    animation: rotateText 12s infinite linear;
}

.text-3d {
    position: absolute;
    left: 0;
    top: 0;
    height: 100px;
    line-height: 90%;
    width: 100%;

    background: linear-gradient(90deg, #FEB02B 0%, #DD272C 25%, #9D3B8C 50%, #0096D3 74.85%, #06B457 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.text-3d.invisible {
    position: static;
    opacity: 0;
    pointer-events: none;
}

.text-3d--front {
    transform: translateZ(50px);
    opacity: 0;
    animation: text3dOpacity1 12s ease-in-out infinite;
}

.text-3d--top {
    transform: translateY(-60%) rotateX(90deg);
    opacity: 0;
    animation: text3dOpacity4 12s ease-in-out infinite;
}

.text-3d--bottom {
    transform: translateY(60%) rotateX(-90deg);
    opacity: 0;
    animation: text3dOpacity2 12s ease-in-out infinite;
}

.text-3d--back {
    transform: translateZ(-50px) rotateX(180deg);
    opacity: 0;
    animation: text3dOpacity3 12s ease-in-out infinite;
}

.head-block__title,
.head-block__title--animated,
.head-block__text,
.head-block__buttons {
    position: relative;
    z-index: 11;
}

.head-block__title,
.head-block__title--animated,
.head-block__text {
    /*pointer-events: none;*/
}

.service-cube-3d-animation .logo {
    display: none;
}

.service-cube-3d-animation {
    position: relative;
    overflow: hidden;
    min-width: 450px;
}

.service-cube-3d-animation video {
    width: 100%;
    height: 100%;
    scale: 1.8;
}

.section5 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 240px;
}

.section5__left-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 645px;
}

.section5__title {
    color: var(--text-white);
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section5__title span:nth-child(1) {
    background: linear-gradient(90deg, #DD272C -11.81%, #9D3B8C 50%, #0096D3 111.81%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section5__text {
    font-size: 18px;
    color: var(--text-gray-2);
    margin-bottom: 24px;
    font-weight: 400;
    line-height: 150%;
}

.service-cube-3d-animation {
    width: 455px;
    height: 412px;
}

.section4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 200px;
}

.section4__right-block {
    max-width: 570px;
}

.service-sphere-3d-animation {
    width: 550px;
    height: 550px;
    transform: scale(0.9);
    transform-origin: left center;
}


.service-sphere-3d-animation video {
    width: 100%;
    height: 100%;
    transform: scale(1.3);
}

.section4__title {
    font-size: 48px;
    line-height: 130%;
    font-weight: 600;
    text-transform: capitalize;
    color: var(--text-white);
    margin-bottom: 32px;
}

.section4__title span:nth-child(1) {
    background: linear-gradient(90deg, #FEB02B 0%, #DD272C 50%, #9D3B8C 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section4__title span:nth-child(2) {
    background: linear-gradient(90deg, #9D3B8C -10.95%, #0096D3 49.38%, #06B457 109.71%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section4__lists {
    display: flex;
    gap: 65px;
}

.section4__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.section4__list li {
    color: var(--text-white);
    font-size: 16px;
    font-weight: 600;
    line-height: 130%;
    text-transform: capitalize;
}

.section4__list li:first-child {
    color: var(--text-gray-2);
    margin-bottom: 8px;
}

.section7 {
    margin-bottom: 200px;
}

.section7__title {
    color: var(--text-white);
    font-size: 48px;
    font-weight: 600;
    line-height: 130%;
    text-transform: capitalize;
    margin-bottom: 16px;
    text-align: center;
}

.section7__title span {
    background: linear-gradient(90deg, #DD272C -11.81%, #9D3B8C 50%, #0096D3 111.81%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section7__text {
    font-size: 18px;
    line-height: 150%;
    text-align: center;
    margin: 0 auto 64px;
    color: var(--text-gray-2);
    max-width: 930px;
}

.section7__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.section7__list-item {
    position: relative;
    padding-left: 16px;
}

.section7__list-item:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 10px;
}

.section7__list-item:nth-child(1):before {
    background: linear-gradient(90deg, #FEB02B -37.5%, #DD272C 137.5%);
}

.section7__list-item:nth-child(2):before {
    background: linear-gradient(90deg, #DD272C -25%, #9D3B8C 125%);
}

.section7__list-item:nth-child(3):before {
    background: linear-gradient(90deg, #9D3B8C -50%, #0096D3 150%);
}

.section7__list-item:nth-child(4):before {
    background: linear-gradient(90deg, #0096D3 -25%, #06B457 125%);
}

.section7__list-item img {
    margin-bottom: 20px;
}

.section7__list-item h4 {
    color: var(--text-white);
    font-size: 20px;
    font-weight: 500;
    line-height: 130%;
    text-transform: capitalize;
    margin-bottom: 4px;
}

.section7__list-item p {
    color: var(--text-gray-2);
    font-size: 14px;
    font-weight: 300;
    line-height: 150%;
}

@media screen and (max-width: 1480px) {
    .head-block {
        padding: 200px 20px 140px;
    }

    .head-block__title,
    .head-block__title--animated {
        font-size: 72px;
    }

    .text-3d,
    .head-block__title--animated {
        height: 80px;
    }

    .head-block__title--animated {
        margin-bottom: 32px;
    }

    .head-block__text {
        font-size: 20px;
    }
}

@media screen and (max-width: 1024px) {
    .head-block {
        padding: 200px 20px 140px;
    }

    .head-block__title,
    .head-block__title--animated {
        font-size: 60px;
    }

    .text-3d,
    .head-block__title--animated {
        height: 70px;
    }

    .service-sphere-3d-animation {
        width: 400px;
        height: 470px;
        transform-origin: left center;
    }

    .section4 {
        margin-bottom: 120px;
    }

    .section4__title {
        font-size: 32px;
    }

    .section7__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 22px;
    }
}

@media screen and (max-width: 768px) {
    .head-block {
        padding: 136px 16px 120px;
    }

    .head-block__title,
    .head-block__title--animated {
        font-size: 48px;
    }

    .text-3d,
    .head-block__title--animated {
        height: 55px;
    }

    .head-block__title--animated {
        margin-bottom: 24px;
    }

    .head-block__text {
        font-size: 18px;
    }

    .head-block:after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        right: 0;
        height: 100px;
        background: linear-gradient(transparent 0%, var(--bg-body) 100%);
        z-index: 10;
        /*pointer-events: none;*/
    }

    .head-block__buttons {
        gap: 16px;
        max-width: 100%;
    }

    .section5 {
        flex-direction: column;
        align-items: center;
        position: relative;
        overflow-x: hidden;
        margin-bottom: 80px;
    }

    .section5__title {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .section5__text {
        font-size: 16px;
    }

    .section4 {
        flex-direction: column;
        margin-bottom: 120px;
    }

    .section4__title {
        padding-top: 90px;
        order: -1;
    }

    .section4__right-block {
        display: contents;
    }

    .section4__lists {
        width: 100%;
    }

    .service-cube-3d-animation,
    .service-sphere-3d-animation {
        pointer-events: none;
    }

    .service-cube-3d-animation {
        max-width: 400px;
        width: 100%;
        height: auto;
        min-width: auto;
    }

    .service-cube-3d-animation video {
        scale: 1.4;
    }

    .section7__text {
        font-size: 16px;
        margin-bottom: 48px;
    }

    .section7 {
        margin-bottom: 100px;
    }

    .section7__list-item img {
        width: 40px;
        height: 40px;
        margin-bottom: 20px;
    }

    .section7__list-item h4 {
        font-size: 18px;
        margin-bottom: 8px;
    }
}

@media screen and (max-width: 540px) {
    .service-cube-3d-animation {
    }

    .section5 {
        margin-bottom: 0;
    }

    .section5__left-block button {
        width: 100%;
    }

    .section7__list {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .service-sphere-3d-animation {
        width: 100%;
        height: auto;
        transform-origin: center;
        margin-bottom: 24px;
    }

    .section4__lists {
        gap: 16px;
    }

    .section4__list li {
        font-size: 14px;
    }
}

@media screen and (max-width: 380px) {
    .text-3d {
        font-size: 38px;
        height: 42px;
    }

    .head-block__title--animated {
        height: 40px;
        margin-block: 24px;
    }
}